❗️
The 80.000-line monster: How our entire company lived in a single server.js https://www.reddit.com/r/programminghorror/comments/1n4y7xd/the_80000line_monster_how_our_entire_company/ #JavaScript #DailyWTF #ProgrammingHorror
❗️
The 80.000-line monster: How our entire company lived in a single server.js https://www.reddit.com/r/programminghorror/comments/1n4y7xd/the_80000line_monster_how_our_entire_company/ #JavaScript #DailyWTF #ProgrammingHorror
This probably isn't a surprise to anyone here, but I had a #slack revelation this past week:
Our workplace uses Slack; not company-wide -- just for a very small number of technical staff. Paid business license and everything.
Did you know that you can't get a list of channels that exist in the workspace without an upper subscription tier?
Let me say that again: The administrator of a paid slack workspace can't get a list of the channels in their own workspace unless they upgrade subscriptions.
What the actual fuck.
Deliberately not calling API functions that you're supposed to.
To gain speed at application exit.
I'm just dumbfounded by this. What the actual frick?
This all is fine and dandy if your library is guaranteed to link to libc malloc that gets released at app exit. But this is assuming quite a bit about how shared libraries work. Not every platform has linkage like this in both ways. Ours doesn't and as a result XZ utilities leak memory on every invocation. It would be fine if the API would be used correctly, but the XZ utilities *themselves* opt out from calling the lzma_end() function "to be faster" at application exit. You'd think the authors would realize that this is not very speed critical, esp since you've just spent millions cycles more compressing or decompressing.
#dailywtf #development #programming
EDIT: I don't want to entirely rewrite history, so I will keep the body of the post as-is. However, I want to add that my intention wasn't to discredit the XZ Utils project. I appreciate the project and everyone involved greatly. This particular issue is mostly because of the specific weirdness of our own platform and cannot really be considered fault of the liblzma.
Just went to the grocery and they gave me a senior discount.
Alphabetical order makes sense in many places but not for a list of date ranges for summer camps. 🤦🏻♂️
(took me a bit to understand what was happening)
Solicitor: If I can ask, what are your objections to hearing me out on <insert product here>?
Me: Well, it is somewhat because I don't necessarily trust people who don't pay attention to posted signs, like the "No Solicitation" sign that's right over here...
Solicitor: 😡
"You know, there are many women who are loud, but there are not many women who are loud and also smart!" - explained the guy yelling loudly into his phone in the middle of a restaurant.