• 21 Posts
  • 601 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle
  • Management often views software engineers more like machines that spit out code rather than actual engineers who design software. I can’t tell you how many projects I’ve been on where someone up the ladder is unhappy with the time estimate given to complete a feature so they either bring on a contractor or pull a team from another project

    Invariably, the additional “help” makes a giant cluster fuck and the people who are actually familiar with the code are now stuck having to scrutinize every PR and fix a ton of defects rather than contributing to feature development. Then the feature takes twice as long to develop as originally estimated. Management scratches their head, shrugs it off, and repeats the same mistake the next time.


  • I’ve heard it called a “suicide plug”. A common use for them is back feeding power from a generator into your homes electrical panel during extended power outages.

    It can technically work but comes with major safety risks such as:

    • Giving yourself a nasty shock.
    • Electrical fire.
    • Electrocuting anyone who comes in contact with the power line, i.e. a lineman who might assume the line is de-energized.
    • Blowing up your generator when the power comes back on.

    The proper way to do it would be to have a transfer switch and generator plug installed. The transfer switch guarantees that when you’re running on gen power, you’re not back feeding through the transformer out to the power line.





  • First One:

    Big ASP.Net Core Web API that passed through several different contract developer teams before being finally brought in house.

    The first team created this janky repository pattern on top of Entity Framework Core. Why? I have no idea. My guess is that they just didn’t know how to use it even though it’s a reasonably well documented ORM.

    The next team abandoned EFCore entirely, switched to Dapper, left the old stuff in place, and managed to cram 80% of the new business logic into stored procedures. There were things being done in sprocs that had absolutely no business being done there, much less being offloaded to the database.

    By the time it got to me, the data layer was a nightmarish disaster of unecesary repo classes, duplicates entities, and untestable SQL procedures, some of which were hundreds of lines long.

    “Why are all our queries running so slow?”

    We’ll see guys, it’s like this. When your shoving a bunch of telemetry into a stored procedure to run calculations on it, and none of that data is even stored in this database, it’s going to consume resources on the database server, thereby slowing down all the other queries running on it.

    Second One:

    Web app that generates PDF reports. Problem was it generated them on-the-fly, every time the PDF was requested instead of generating it once and storing it in blob storage and it was sllloowwwww. 30 seconds to generate a 5 page document. There were a list of poor decisions that led to that, but I digress.

    Product owner wants the PDF’s to be publicly available to users can share links to them. One of the other teams implements the feature and it’s slated for release. One day, my curiosity gets the best of me and I wonder, “what happens if I send a bunch of document requests at once?” I made it to 20 before the application ground to a halt.

    I send a quick write up to the scrum Master who schedules a meeting to go over my findings. All the managers keep trying to blow it off like it’s not a big deal cause “who would do something like that?” Meanwhile, I’m trying to explain to them that it’s not even malicious actors that we have to be concerned about. Literally 20 users can’t request reports at the same time without crashing the app. That’s a big problem.

    They never did fix it properly. Ended up killing the product off which was fine because it was a pile of garbage.






  • From the AP:

    Greene, in a more than 10-minute video posted online, explained her decision and said she’s “always been despised in Washington, D.C., and just never fit in.”

    That’s because you’re a complete shithead.

    In her video Friday, she underscored her longtime loyalty to Trump except on a few issues, and said it was “unfair and wrong” that he attacked her for disagreeing.

    “Loyalty should be a two-way street and we should be able to vote our conscience and represent our district’s interest, because our job title is literally ‘representative,’” she said.

    Lol. Trump loyal? That’s hilarious.










  • Growing up comes in stages, some of which are difficult for both parents and children to navigate.

    When your kids are little, you’re the center of their universe and they are dependent on you for everything.

    They grow up and become more independent. It’s a natural process as they prepare for adulthood. Their desire for autonomy develops without the benefit of experience. That can lead to conflicts.

    Some of it is hard to take. Especially when your kid is telling you that “you don’t know what you’re talking about” or “I don’t need your help.” It makes you feel angry in the moment because it’s disrespectful and dismissive of your own experience. When I’m standing there, glowering angrily, I’m trying to think of what to say that doesn’t make things worse. Meanwhile, in my head I’m thinking, “Listen you little shit. You don’t know anything about anything. If you want to disregard what I’m telling you, fine. You can learn that you’re wrong the hard way.”

    Then it makes you sad because you know that they will, in fact, have to learn the hard way. The hard way is painful. You know because you learned that way too when you were that age. But we learn from our own mistakes. Not from those of our parents. At least not when we’re young.

    Love is not a feeling. Love has feelings connected to it but at its core, love is an act.

    I loved my kids when they were adorable newborns. And when they screamed half the night and had explosive diarrhea.

    When they come running, excited to see me and wanting to play. And when they’re being naughty little shits whom I’ve told to stop doing something seven times already.

    When they’re telling me I’m a jerk because I won’t let them go to some party at some shithead from schools house because I know there will be drugs and alcohol involved. And when they need a hug because their boyfriend/girlfriend broke up with them or they’re just having a rough day.

    Love means trying to do what’s best for them whether you’re happy, disappointed, or angry with them. Whether you like them or not. And there are definitely moments when you will NOT like your kids. But you still love them and want them to have a good life.