The OFFICIAL programming thread
-
@Pakoon said in The OFFICIAL programming thread:
@Gators1 said in The OFFICIAL programming thread:
Might be useful for non-Asian pro programmers.
Cool. MacOS has had that feature since 2005 or something like that.
Yes, but I am not willing to become a communist to have that capability. Better to learn Python and stick with FREEDOM!!!
-
-
Programmers are dicks
-
@Gators1 I probably would have stopped at 15 minutes in Python (the first optimized version) and thought that’s acceptable for a throwaway project and moved on with my life. I can’t imagine running his original code for over a month without stopping to think maybe I could optimize it a little and bring it down to maybe an hour or two instead of waiting all that time for it to finish.
-
This post is deleted! -

-
@Hog said in The OFFICIAL programming thread:
@Gators1 I probably would have stopped at 15 minutes in Python (the first optimized version) and thought that’s acceptable for a throwaway project and moved on with my life. I can’t imagine running his original code for over a month without stopping to think maybe I could optimize it a little and bring it down to maybe an hour or two instead of waiting all that time for it to finish.
One big improvement we could do in mainframes at a systems/batch level was optimize buffers and blocking factors. Nowadays just stick DCB=blksize=0 and defaults on buffers and done.
-
@Tazz said in The OFFICIAL programming thread:

Mainframes literally do that with no problem, assuming you don’t jack up basic settings.
-
Unless I’m gaming, the second I hear the fan spin up I’m in task manager trying to workout what parasite process is stealing my precious CPU cycles and causing CPU utilization to go over 10%. It is invariably some fucking Microsoft feature that I never asked for and never use.
-

This fucking dialog only gives you the option to turn notifications on or be hassled again in a couple of weeks. Where’s my option for “even if our sun has long since died and the universe is on the cusp of heat death, I don’t want to be asked again to turn notifications on”.
Pushy cunts.
-
-
Dude is pretty funny.
-

Damn. I measure the success of many tasks by how many lines of code I’ve deleted. It’s not uncommon for a pull request of mine to have a negative net lines of code.
In addition to the slackers, if they had any, Elon’s fired anyone who frequently refactors and writes short, elegant and performant routines and he’s probably kept the ones that just increase the companies technical debt each year they are employed.
-
I don’t think he can really be that stupid…
-
@tigger said in The OFFICIAL programming thread:
I don’t think he can really be that stupid…
IBM used to do it apparently. But it was decades ago I think.
This would be code from a star performer at Twitter according to Elon.
console .log( [ "H", "e", "l", "l", "o", " ", "W", "o", "r", "l", "d" ] .join("") ); -
@Hog Sounds like BS. I didn’t see anyone report on that other than one TNNish site that said Musk asked them to “print out their code”. Who the fuck prints anymore and definitely you wouldn’t review code that way. That guy’s Twitter is locked too so maybe he got some backlash? Musk has AI engineers at Tesla, software engineers at SpaceX and probably tons at his other companies. He’s also a micromanager so he more than most other people out there would understand the ins and outs of software engineering.
I minimize my code as well. Like when I can’t figure out how to do something I get pissed off and put the entire thing in the trash and tell my company that the task is impossible based on the data they collect .
-
@Hog said in The OFFICIAL programming thread:
@tigger said in The OFFICIAL programming thread:
I don’t think he can really be that stupid…
IBM used to do it apparently. But it was decades ago I think.
This would be code from a star performer at Twitter according to Elon.
console .log( [ "H", "e", "l", "l", "o", " ", "W", "o", "r", "l", "d" ] .join("") );I had a SQL developer working for me in PR that always wrote his statements in 1 long ass line that went like four or five screens off to the right. I kept yelling at him to format it, but he never did. It was funny too because if I asked him something about his logic, he would know basically exactly how many screens to scroll over to find the bit I asked for.
-
@tigger said in The OFFICIAL programming thread:
I don’t think he can really be that stupid…
I bet if he were a Trump supporter you wouldn’t have said that!
[read the above as tongue-in-cheek]
Ah, but . . .
https://www.axios.com/2022/11/03/musk-trump-twitter-management-style
There are a number of articles circulating comparing ‘Trumpian’ and ‘Muskian’ approaches to style and problem-solving.
-
@Gators1 said in The OFFICIAL programming thread:
@Hog said in The OFFICIAL programming thread:
@tigger said in The OFFICIAL programming thread:
I don’t think he can really be that stupid…
IBM used to do it apparently. But it was decades ago I think.
This would be code from a star performer at Twitter according to Elon.
console .log( [ "H", "e", "l", "l", "o", " ", "W", "o", "r", "l", "d" ] .join("") );I had a SQL developer working for me in PR that always wrote his statements in 1 long ass line that went like four or five screens off to the right. I kept yelling at him to format it, but he never did. It was funny too because if I asked him something about his logic, he would know basically exactly how many screens to scroll over to find the bit I asked for.
Maybe he would’ve formatted it if you asked nicely instead of yelling at him!
-
He should have been formatting without me having to ask or yell, but he was a lazy ass millennial. Dude was IMing all day with his womenz and would quickly alt tab back to his IDE when I walked in. I would have got rid of him but my boss loved him for some reason so we subsidized.
