The OFFICIAL programming thread
-
-
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.
-
@Hog said in The OFFICIAL programming thread:
@Gators1 would you move to Hyderabad and take an Indian salary? We’re hiring.
That explains it. Working with offshore has made me racis against Indians.
-
@Gators1 said in The OFFICIAL programming thread:
@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.
So you admit you have no class.
-
@Gators1 said in The OFFICIAL programming thread:
@Hog said in The OFFICIAL programming thread:
@Gators1 would you move to Hyderabad and take an Indian salary? We’re hiring.
That explains it. Working with offshore has made me racis against Indians.
Been working with Indian outsource since the 90s. Some are very good, most are overspecialized and thus useless outside of the one thing they do. It’s mostly programming by human wave attack.
-
I’m starting to talk to the AI like it’s a person. Have to roll out a POC using Spark and I don’t know Spark and the guys that should be doing it are dumb as fuck so it’s on me and have been leaning hard on GPT. Threw it some code I couldn’t figure out and it told me my dumb ass had the wrong variable in there. So I was like “my bad GPT” and then it started giving me a pep talk trying to tell me I am not an idiot and everyone does that shit and programming is hard yo. Was kind of funny. It’s pretty cool that it remembers the overall context of the project even though I am asking generic questions about syntax and stuff. When it gives me a response it’s kind of figuring out how I am using it and throws my project variable names in the example. It’s been better than googling, but still makes a bunch of mistakes, but you just have to paste in the error and it usually gets a good answer in a try or two. It’s nowhere near good enough though to do a full program, just fills in the blanks.
-
The enshittification of GitHub has begun. This “For you” list is 65% of the start up page:

There’s no way to disable it.
There are literally over 350 million repositories on GitHub. At any given time and depending on what I’m working on, I’m probably interested in 2, maybe 3 max. You can’t get me to “engage” more with GitHub by shoving completely random fucking projects in my face. What’s rune-rs? What about Svelte-js? I’ve never used it, how could I possibly give a shit that they’ve released version 4.1.1?
If I sound annoyed, it’s not because I have to click something extra to see anything relevant. It’s that I’m offended that the world including tech is being taken over by utter fucking morons.
-
@Hog said in The OFFICIAL programming thread:
The enshittification of GitHub has begun. This “For you” list is 65% of the start up page:

There’s no way to disable it.
There are literally over 350 million repositories on GitHub. At any given time and depending on what I’m working on, I’m probably interested in 2, maybe 3 max. You can’t get me to “engage” more with GitHub by shoving completely random fucking projects in my face. What’s rune-rs? What about Svelte-js? I’ve never used it, how I could I possibly give a shit that they’ve released version 4.1.1?
If I sound annoyed, it’s not because I have to click something extra to see anything relevant. It’s that I’m offended that the world including tech is being taken over by utter fucking morons.
Monetization….
-
@Jam said in The OFFICIAL programming thread:
This should help all you programmers log into your favorite apps . . .

