Hope that the behavior is enum and indexed. …and that the table doesn’t have to many columns …and there aren’t many nice people …god damn it just select only what you need and use limit
This actually gave me an idea. Over break I wanted to practice dB design and entity framework. Designing a database and interface for santa to track kids naughty or nice could be a fun/interesting way of doing it.
I think you would have a table of “activities” with a value of how good/bad each is. So like cleaning your room would be +5 but crying in a store because mommy wouldn’t buy you a toy would be - 15. Then you have a table for children and each child starts with 0 in January and then for each activity the child does there naughty/nice value gers adjusted. December 24 Santa runs a query on the dB and gets a list of every child with a positive value.
Keep in mind I currently feel sick and put about 5 minutes of thought into thus.
Actually I think there should be a intermediary table as a history of activities of each child. Like child table is I’d, name, age, address, and naughty/nice value, activities would be Id, description, and good/bad value. Then a history table of ID, child_id, activity_id. So santa can recalculate a child’s naughty/nice value to “check it twice”
Just FYI, LinqPad is a really neat tool for messing around with EFCore. I use it all the time for testing ideas or doing quick tasks that I don’t want to spin up a new project for.
What if the ignorances of the plenty curled up within the masses. But if the time was taken to count, in the end all that is forced will become infinity.
Interview: write an optimized o log something reverse binary linked list quick sort to extract a cake recipe out of an object with an array list of football teams by hand and explain it like it’s the only code you’ve been writing all your life
Yeah, you either work extra hours or you work during the meetings or both or you get de-skilled pretty quickly unless you work open source, second job or personal projects in the non-work hours. Otherwise, you can treat it like BS job but your skills will become BS and you will have to get better at lying and or potentially go into management with that level of experience. RN I’m unemployed and I’d gladly take any position, even if I’m qualified for senior, and I don’t care if I have to work extra hours to keep up and this is coming from someone who has been actively organizing on the job at my last two tech jobs.
There is another way. Push back. Decline meeting invites along with a note “Thanks for the invite but I don’t think I’m needed at this one am I?” 90% of the time people don’t even read your decline reason. Or just leave yourself tentative till the last minute unless you really believe you need to be there.
Far too many devs seem to think you can’t decline meetings and yet spend their time descoping development work because we’re too busy… When it comes to annual reviews / your next contracting gig, the guy / gal who got the work done is the door who’s door is knocked on.
If you’re a senior engineer, then you should have a team of juniors doing most of the coding. Your job is to architect, peer review, meet with stakeholders, etc… At least that has been my experience. Unless you are on one of those small teams with all senior engineers and then you have to do all of the above, and the coding too. I’ve had that experience as well.
This is precisely why I don’t actively seek promotions. Not only are there very few paths for someone to move up with my skill set, but if I do, I won’t be doing what I enjoy doing anymore. I just want to find the medium where I can make enough to live off of and also just do my work most of the time.
programmerhumor
Hot
This magazine is from a federated server and may be incomplete. Browse more on the original instance.