Wth is “Fixing memory leaks using pointers”?
I have never Googled “how to center div 2025” because the last time I had to center a div was in 2024. I’ve never asked ChatGPT to fix a syntax error because I use Copilot. Exiting Vim is basically the only thing I know how to do in Vim, but I can do it. And my bug fixin’ is generally one-for-one.
On the flip side, I can write some code without StackOverflow and AI. Writing a game in Assembly, these days, is for a specific kind of hobbyist or absolute fools. Languages using pointers are mostly for specific types of application and completely irrelevant for most programmers these days – and the overwhelming bulk of us are better for it. And writing code by hand is an incredible talent and skill, but again, essentially useless these days.
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.
I know someone that still uses ed for all their code editing.
Similar energy:
deleted by creator
Honestly, CSS is a fucking joke and its 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.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.
Oh no, I was never a programmer in the past.
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?
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.
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’
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:
–
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.
The
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.
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.tar -eXtract Ze Vucking File
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
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"
It is sticky and pretty much ruins clothes.
I’m 2 from the top, 3 from the bottom.
my friend there are only 2 rows
I read that as he created a game in assembly, and can’t quit vim. Whether technically or sexually is up to OP to say. And what’s the game?
People have been hm unable to quit vim since before I was born.
I swore up & down that I’d learn at least two ways of exiting VIM. I even went through basic training to learn all the shortcuts, but it interfered with my regular workflow, so I dropped it “for a bit”. It’s been a year and I can’t remember a damn thing.
Some say they are still trapped there, to this day…
May the :helpgrep be ever on their side
Yeah OK, but back then, an office suite was like 500 LOC.
The fact that the div center search needs a year on it got me lol
Loving my nearly frontend free development life. I use Stackoverflow or Google maybe 2-3 times a month these days, not sure if I qualify for the upper row :(
Okay but how do u center a div in 2025
It’s not about the center, it’s about the friends we made along the way.
2050: people still wondering how to center a div because html and CSS is a nightmare.
maybe the div is already where it’s meant to be
Make your web page in GIMP, export to PNG,
<img>
.If using plain CSS, usually it’s enough to set
width
appropriately, andmargin-left
andmargin-right
toauto
.If using a Modern Frontend/CSS Framework, then may God have mercy on your poor soul.
(Seriously I just started a new project with TailwindCSS and I’m so confused. But not entirely desperate yet.)
I’m doing a small hobby project (a ladder/ranking system for playing beer sports with my community), and I tried out Tailwind.
I gave up and loaded Bootstrap instead, but I will probably end up just writing all the CSS myself.
Seems so silly to have 15 CSS classes on a single DOM element…
Who’s saying you’re using the frameworks correctly?
Shouldn’t they be designed in an intuitive manner that makes misuse more difficult than regular use?
Otherwise, why even bother using them? It’s like now you need to know all the ins and outs of CSS and a trendy framework that will lock you into their ecosystem.
Kidding aside, I think the popular frameworks these days are incredibly well made. Frontend web has always been hell, and if your job is producing functional web GUIs, you can’t do it on a large scale without them.
Based on my own experience developing GUIs, I’ve reached the conclusion that creating them through code is obsolete.
We should be focusing on developing GUIs to develop GUIs, like Godot, instead of ‘frameworks’ that make an obsolete method of doing things even more cumbersome and complex.
w-... mx-auto
, replace the 3 dots with your desired width value, and that’s it with tailwindSo what is the point of these frameworks if they make it harder?
I think they exist because of ignorance.
People who don’t understand how to do a task will usually choose the wrong tools for that task.
If someone is trying to cover up their lack of knowledge, they will usually make things more complicated than they need to be.
Generally I find many these frameworks will make some complicated things simple, but the cost is some things that were once simple are now complicated. They can be great if you just need the things they simplify - or in other words can stick to what they were intended for, but my favorite way of keeping things simple is to avoid using complicated and heavy frameworks.
If you spend a lot of time on a single framework, you will transcend and become a sort of frontend diety, growing multiple extra limbs allowing you to type in CSS classes faster than any mere mortal
Until everyone moves over to the next thing and you start from 0 again. Web dev is a nightmare.
What’s sad is that web development is only a nightmare so websites can be worse.
I genuinely believe it’s part of the concerted effort by the cabal to make us accept a ‘new normal.’
They don’t want an environment where anyone feels like they can make a website. They want us to believe we need to spend years studying before we can do anything, and even then we can only do what our bosses tell us to.
This is a bit of a stretch I think…
Web development is complicated because it’s indredibly poorly “designed” from the beginning, and doing a full redo is impossible.
It is 100x easier today than it was in 2006 when I started.
It’s easier today to make a website that would be ‘acceptable’ in 2006.
If you define what you mean by centering I’ll give you a straight answer.
Vertically? Horizontally? Center the text or the entire box? Compared to the viewport, the parent container or the entire page?
“Centering” isn’t as straight forward as you’d think, and what you actually want usually depends on the situation.
Nah, just flex them boxes
Yeah that works if you wanna center a box of content it relative to the parent container, either horizontally or vertically. For other situations we’ve got different tools
Fuck it, align=‘center’. That’ll center it horizontally relative to some context and if that’s not good enough then you should have been more precise in your request.
Ask the browser nicely while using please and thanks.
Depends if you’re centering the div or the things in the div. Which has probably been the main issue since CSS was invented.
While centering div, you add one to 2023.
What threw me was having to set a width.
Same way you did it in 2024 but it’s easier because the springgirdles have been replaced with rotated manglebrackets.
You count half the pixels and put them in a margin-left
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.
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.