- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
Wth is “Fixing memory leaks using pointers”?
Similar energy:
deleted by creator
Honestly, CSS is a fucking joke and it’s solely to blame for why centering something isn’t always straightforward.
By the way, this picture is a crock of shit for people who aren’t programmers. Anyone who is a programmer will not take it seriously because programming is so much more about helping others instead of shaming them.
Stackoverflow: exists solely from the urge of developers to help developers, and since ExpertsExchange was paid dogshit.
This meme: pisses on its whole purpose.Stackoverflow is for senior devs to clown on junior devs. It’s the inverse of helping juniors.
CSS is amazing, if you know how to use it 😉
Everybody complaining about css like “but it doesn’t do what I want if to do without me investing a minute into why”.
Ironically, it’s oh so often the RTFM crowd.
Nah, it’s not that bad.
In 10 years with continued AI use? Yep.I’m thankful for AI. It guarantees my job as developer will continue to exist to repair all future AI-damage.
I started with C++ and went to Java to .NET to Javascript and now to Terraform.
I know this is all a joke but there’s something definitely different with the ones above and the ones below. There’s a bit of satisfaction you can get sometimes when you’re working with memory directly and getting faster feedback (yes, there’s more math back then and it wasn’t easy to look stuff up, for sure). However, there’s new challenges nowadays … there’s so many layers on top of layers. I feel as though Stack Overflow and ChatGPT are so needed because the error messages and things we give are obfuscated or unclear (not always any library author’s fault as there’s compatibility issues, etc)
We’re doing serverless stuff at my current company and none of our devs run code locally. They have to upload it using CDK or Serverless Framework to run on the cloud. We don’t use SST so we can’t set breakpoints but like that’s a lot of crap inbetween just running your code already. Not even getting into the libraries and transpilers and stuff we use. I spent like a few weeks over Christmas to get our devs to run the code locally. Guess what? None of them use it because they’re so use to uploading it. I was like, "you can put breakpoints in it! you can have nodemon and it instant reloads! nope, none of them care … "
First learning is last learning.
Same reason we still do
console.log("FUCK")
.First learning is last learning.
I’ll be the dumb one to ask: what do you mean? Is this that making a mistake that costs a lot is the best teacher, because you only have to mess it up once to learn it forever?
Pretty sure they mean people don’t learn something again when they already learned it. Once you learn how to do something, willingness to learn it again but a different way dries up, and so you stick to bad habits as long as they ‘work’
It’s a mantra about teaching people and then expecting them to forget it. Doesn’t work. They’ll default to what they already know.
My freshman English teacher got married in October and I called her by her maiden name the entire year.
Like all programming mantras, it’s not universally true, but it’s annoyingly reliable. It reflects the shape of the human brain.
I can’t remember some syntax unless I do it at least 100 times. I often look up stuff that I have already done before and know because of my goldfish memory.
I still want to get into coding the OG manual way (because I enjoy pain and disappointment apparently) but now it seems like a waste of time since vibe coders and 13 year olds already are lightyears ahead of me. Also I have no reason to learn it, all apps are already built xD
all apps are already built
Couldn’t be further from the truth. You also have to consider competition.
Can’t think of anything that could serve a major need right now, but I absolutely identified things in my life where I could use a preexisting tool to accomplish my goal, but it’s much less hassle for me to use the one I made for myself. You don’t have to transform the world, sometimes you can help yourself with a minor inconvenience and then put it out there for anyone who might find themselves with the same inconvenience.
True. But it seems like it’s way too late to start learning any programming now. Plus it’s saturated. I’ll learn it on the side for fun but it’ll probably never be a viable job for me
I’m in the same boat. I used to be an amateur front and back end web developer. Almost made a text based RPG in middle school. I had to stop when shit got crazy in high school and college, but I don’t feel like any programming is worth my time right now. I’m focusing on gardening and maybe some cooking. You know, human activities that we can still enjoy.
Yeahh exactly. AI has pretty much ruined computer based fun now. Which in some ways is good, we should all learn physical hobbies again and not be reliant on tech. I still enjoy my hobby desktop computers though, I just enjoy learning how it really works under the surface.
I know someone that still uses ed for all their code editing.
Oh no, I was never a programmer in the past.
I recently learned you can’t put a form into another form
deleted by creator
Removed by mod
I’ve never asked ChatGPT to fix a syntax error because I use Copilot
If you are going to be this pedantic, I’ll have you know Copilot is a ChatGPT model in a Microsoft skin.
Love the shoutout to Margaret Hamilton
Removed by mod
“Creates a whole game in assembly” is probably referring to roller coaster tycoon, which was written by a man. (lots of other games were written in asm, like many NES games, but I’d wager RCT was what they were alluding to)
That was my immediate thought. There were many that came before RCT, but it has the distinction of being (possibly) one of the last in an industry that had already moved on to higher-level languages to do merely half as much.
No, I don’t think so. It’s true that many of the earliest programmers were female, but there were very few of them, and that was a long time ago.
In a way, Ada Lovelace was the first programmer, but she never even touched a computer. The first programmers who did anything similar to today’s programming were from Grace Hopper’s era in the 1950s.
In the late 1960s there were a lot of women working in computer programming relative to the size of the field, but the field was still tiny, only tens of thousands globally. By the 1970s it was already a majority male profession so the number of women was already down to only about 22.5%.
That means that for 50 years, a time when the number of programmers increased by orders of magnitude, the programmers were mostly male.
Depends how far you go back. The top half is pretty representative of the professional dev team I was in in 1992.
We need to bring back 2010-2012 rage comic memes. All we needed was a badly cut-out blonde wig to trans Derp’s gender.
The glory days of Derp and Derpina
Obligatory Grace Hopper
So were “computers”. It used to be a job, delegated mostly to women. The JD is doing calculations day in and day out.
The moon landing by hand wouldn’t have been as funny without the over the top body builders first.
Removed by mod
Removed by mod
The large initial percentage of female coders was due to computer having been a female job, because secretary was. Their role within companies didn’t change, what changed is that they were using machines to do the computing instead of doing it by hand.
We’re kinda lucky to have the woke trifecta (Ada, Grace, Alan) (first programmer (woman), inventor of compilers (woman), absolute unit (gay)) to keep the chuds at bay. Even if we weren’t all socially inept nerds (or pretending to be so to bosses) there’s only so much you can do, culturally, if the population is growing exponentially. Uncle Bob (yes I know he’s a chud) did the maths at some point IIRC it was something like the number of programmers doubling every two years. Which also means that at any one point in time roughly 2/3rds of programmers have no idea what they’re doing, which explains the javascript ecosystem.
You can throw Margaret Hamilton in there, who was in charge of the software team that landed people on the moon. The picture of her standing next to a printout of the Apollo guidance software is iconic.
At first I thought this was the Wicked Witch of the West’s actress and thought she must have been multitalented. Then I looked it up to verify. Nope, same name, different women.
If you want famous actresses who contributed to technology, you want Hedy Lamarr:
At the beginning of World War II, along with George Antheil, Lamarr co-invented a radio guidance system for Allied torpedoes that used spread spectrum and frequency hopping technology to defeat the threat of radio jamming by the Axis powers.
Removed by mod
Removed by mod
I feel very confident in my understanding of random 8 bit CPUs and their support chips, but asking me to center a div is like this xkcd.
tar --help
(joke)
YOU FOOL! THE ACTUAL COMMAND WAStar -?
That dash looks an awful lot like an em-dash
Normal:
-
Em:
–
That reminds me of this Elle Cordova short: https://youtube.com/shorts/ky0YOo7_Y0o
I’ve never understood why people are so intimidated by tar
One reason is that tar supports both traditional style args “tar tf <filename.tar>” and unix-style args “tar -tf <filename.tar>” but there are subtle differences in how they work.
Literally the only time I’ve ever run into that is when I was trying to manipulate the path it extracted to. In 99% of cases I’m doing tf, xf, or cf plus flags for the compression type, etc, and those differences are irrelevant.
I used something recently where it wasn’t possible to use the traditional-style args. I think it was a “diff”, which meant I needed a “-f”. It wasn’t a big deal, but, occasionally it does happen.
I’m not saying it doesn’t happen. This thread started because I said I’ve never understood why people talk like tar is some indecipherable black magic. Common tasks are easy and there’s a man page for everything else.
tar -eXtract Ze Vucking File
I was about to say
tar -CompressZeVuckingFile
; great mnemonic and I use it every time!Thanks! This will definitely help me to remember it from now on.
Me 6 months from now:
tar -EZVF
Me in 6 months "
how to install winzip using terminal"
Nobody wants to deliberately use the wrong compression type when extracting, so modern tar will figure out the compression itself if you just point it at a file. So
tar -xf filename
works on almost anything. You don’t need to remember which flag to use on a.tar.bz2
file and which one for a.tar.xz
file.That doesn’t give me a memorable mnemonic though.
tar -eXtract File
yeah, but then how am I supposed to remember “tar” ? :P
Tape ARchive -eXtract File
It is sticky and pretty much ruins clothes.
It is “backwards” from some other commands — usually you run copy/rsync/link from source to destination, but with tar the destination (tarball) is specified before the source (directory/files).
That, and the flags not needing dashes always just throws me for a loop.
And the icing on the cake is that I don’t use tar for tarring that often, so I lose all muscle memory (untaring a tgz or tar.bz2 is frequent enough that I can usually get that right at least…).
I almost never create a tarball, so I have to look up the syntax for that. Which is as simple as
man tar
. But as far as extracting it almost couldn’t be easier,tar xf <tarball>
and call it a day. Or if you want to list the contents without extracting,tar tf <tarball>
. Unless you’re using an ancient version of tar, it will detect and handle whatever compression format you’re using without you having to remember if you needz
orJ
or whatever.It can be easier if you’re used to the dash before the arguments; it’s optional but you can put them:
tar -cf # Compress File tar -xf # Xtract File
I got tired of looking up the options for each possible combination of archiving + compression, so today I have a “magic” bash function that can extract almost any format.
Then for compressing, I only use
zip
, which doesn’t need any args other than the archive name and the thing you’re compressing. It needs-r
when recursing on dirs, but unlike “eXtract” and “Ze”, that’s a good mnemonic.
Hey now. Searching stack overflow circia 2011 to 2018 was an Art. You had to know enough to find the correct question that wasn’t deleted because a mod thought it was a duplicate of another question
Also to find the actual correct answer three comments down because the one that was voted highest worked, but was actually a really shit way to do the thing being asked
I often found the correct answers in the comments of an answer
Still do.
After a while you got know which stack overflow questions were a waste of time, and you used that knowledge for years.
Before that you had to hang out on flipside or other gamedev sites and show your worthiness before begging for information.
I was so proud when they shared the DS hack (basically a homebrew SDK made by trial and error by some people) so that I could make small games on it.