The OFFICIAL programming thread
-
I guess we can close this thread now or just leave it open to the bots?
-
@Kilemall said in The OFFICIAL programming thread:
@Hog said in The OFFICIAL programming thread:
@Kilemall probably good for going back and playing your back log of steam games from five years ago that used to require a desktop PC to play though.
Oh ya, probably good for most titles right now actually.
It’s time to replace my gaming desktop that’s something like 11 years old, I’d like to play Star Citizen and I figure something is gonna go screwy with China and Taiwan so better to buy while it’s a semi normalized supply chain.
The thing that’s balking me are these video cards priced for the crypto boom that are just incremental money grabs.
I’ve been studying them heavily. I’m never the type to go for the 1100+ card, more the 4070 card level, but that’s 600 (fast dropping to 550), but one of the reasons my machines last so long is putting emphasis on cooling and reasonable power draw.
So I was thinking of going AMD 6700 which is a cut below 4070 but is good enough for now, putting the money into CPU and memory and cooling/power, and just planning to upgrade the video card in 3-4 years where I will end up with something more powerful anyway.
I could guess wrong though and video cards spike cause AI boom.
Not sure about right now but earlier this year/late in 2022 it was kinda a good time to buy a GPU.
-
I blame Hog.
-
@Gators1 about 40% of the work I’ve been doing for the last year and a half is optimizing horrendous code.
The first one I was tasked with was an app that was taking 6+ minutes to load in production. It was a hella stressful task because I’d never done that kind of programming before so it was pretty much learning a new language and the dev tools. The business were fed up with dealing with other outsourced IT resources that were in over their head so I came into it with time pressure and no goodwill left.
Anyway, I got it down to a few seconds so it paid off and is probably one of the reasons why I’ve still got work there.
-
@Gators1 said in The OFFICIAL programming thread:
I blame Hog.
Pretty simple, cost of programming goes down with automated gen tools and no incentive to optimize and hardware horsepower can make your shit product tolerable.
-
-
-
-
This made me laugh. In 2012, someone wrote an example for the smallest possible window manager you could write. If you don’t know what a window manager is, think the part of Windows that does the actual windows. Anyway, he did it in only 50 lines of C code. It is barely usable but works as a proof of concept and the author hasn’t touched it since.
Then 8 years later, someone raises an issue on the GitHub repo reporting that, when using this window manager, right-click in Firefox is broken:
-
Oops
-
Tits?
-
Passwordz
-
Boring
-
Could be passwordz to porn collections?
-
Reminds me, I read yesterday that the guy is who was responsible for Mali’s top level domain “.ml” is some guy in Europe who had a ten year contract for it that finished yesterday. Over ten years he has gotten thousands of emails meant for US military email addresses that end in “.mil”. Since his contract finished yesterday, now the government of Mali are going to be getting them.
-
“This private method you wrote that I’ve just went ahead and made public doesn’t work the way I want it to when I call it from outside of the class”
Are you fucking kidding me? The reason it was private to begin with was that it has baked in assumptions about how it is used from within the owner class that you aren’t even using. That’s the whole fucking purpose of visibility to begin with - to signify what can be safely reused / called from outside of the class and what can’t.
/rant
-
@Hog said in The OFFICIAL programming thread:
“This private method you wrote that I’ve just went ahead and made public doesn’t work the way I want it to when I call it from outside of the class”
Are you fucking kidding me? The reason it was private to begin with was that it has baked in assumptions about how it is used from within the owner class that you aren’t even using. That’s the whole fucking purpose of visibility to begin with - to signify what can be safely reused / called from outside of the class and what can’t.
/rant
Coworker or random internet idiot?
-
@Gators1 said in The OFFICIAL programming thread:
@Hog said in The OFFICIAL programming thread:
“This private method you wrote that I’ve just went ahead and made public doesn’t work the way I want it to when I call it from outside of the class”
Are you fucking kidding me? The reason it was private to begin with was that it has baked in assumptions about how it is used from within the owner class that you aren’t even using. That’s the whole fucking purpose of visibility to begin with - to signify what can be safely reused / called from outside of the class and what can’t.
/rant
Coworker or random internet idiot?
An coworker provided by one of the big management services companies.
I wouldn’t have been so pissed but he changed code I’ve written that I’m still responsible for (ie it hasn’t been through QA yet) and it was a really dumb and reckless change. Encapsulation and visibility is like Object Oriented programming 101.
-
@Hog said in The OFFICIAL programming thread:
@Gators1 said in The OFFICIAL programming thread:
@Hog said in The OFFICIAL programming thread:
“This private method you wrote that I’ve just went ahead and made public doesn’t work the way I want it to when I call it from outside of the class”
Are you fucking kidding me? The reason it was private to begin with was that it has baked in assumptions about how it is used from within the owner class that you aren’t even using. That’s the whole fucking purpose of visibility to begin with - to signify what can be safely reused / called from outside of the class and what can’t.
/rant
Coworker or random internet idiot?
An coworker provided by one of the big management services companies.
I wouldn’t have been so pissed but he changed code I’ve written that I’m still responsible for (ie it hasn’t been through QA yet) and it was a really dumb and reckless change. Encapsulation and visibility is like Object Oriented programming 101.
Even i know that and I have never written a class in my life.
-
@Gators1 would you move to Hyderabad and take an Indian salary? We’re hiring.

Computer Speed Gains Erased By Modern Software
