560
centerDiv.js (lemmy.blahaj.zone)
submitted 1 week ago* (last edited 6 days ago) by [email protected] to c/[email protected]
top 50 comments
sorted by: hot top new old
[-] [email protected] 37 points 6 days ago
[-] [email protected] 6 points 6 days ago

That was wonderful, thank you for sharing. When it's done well, I really enjoy this style of prose.

[-] [email protected] 1 points 6 days ago

I'm totally going to bookmark this & also I'm going to insert this as well. https://www.htmlhobbyist.com/

[-] [email protected] 1 points 6 days ago

I had to resize my browser window in order to read that how dare you not simply read my mind and select my preferred column width instead

99% of users, probably

[-] [email protected] 1 points 5 days ago
[-] [email protected] 1 points 5 days ago
[-] [email protected] 1 points 5 days ago

You can't just hold control and scroll the mouse wheel?

[-] [email protected] 2 points 5 days ago

I don't like reading big text. I'd rather have small text in a smaller area

[-] [email protected] 22 points 6 days ago

I worked with some pretty dumb people who mocked me for years as the guy who couldn't design a UI to save my life because the product I inherited was designed by someone in the 1990s. it wasn't pretty but it was functional.

any time a UI request came in for the new product and I would try to take it, the PM would pull it and give it to someone else. "oh, their skillset is better suited for UI/UX." I was told.

I got fed up with it and designed my online portfolio. used it to showcase my work and skills even documented my process from mockups to design iteration and final products.

I then posted on linkedin my new portfolio and listed myself as open to connect. within a day the PM made a point to pull up my portfolio on standup and asked me where I got the template. told them, "no template. as you can see in the documentation I designed it from scratch using HTML5 CSS3 and JavaScript. I also included the js packages I used."

they were stunned and immediately started to shuffle some UI tickets my way. I just said, "sorry, my skillset is better served for backend requests."

I quit two months later after a few interviews that seemed to go well. I hated that shithole.

moral of the story? don't discourage people from taking on tasks they aren't obviously suited for. they might just surprise you.

[-] [email protected] 7 points 6 days ago

I agree with your final take, but why would you want to take frontend tickets if you can also do backend work?

[-] [email protected] 11 points 6 days ago

Raw spite. If you're upset enough to build a whole LinkedIn profile, you've already mentally moved on to the next company.

[-] [email protected] 2 points 6 days ago

With me too, my employer has to start worrying once I put my current position into my linkedin profile.

[-] [email protected] 8 points 6 days ago

change of pace, mostly. I also like the challenge. when I'm not challenged at work I lose interest easily and can spiral into not doing my job. so it's nice to break up a long running project with some new bugs or tasks that are unrelated.

[-] [email protected] 2 points 5 days ago

Why not? Both needs skills to accomplish very well.

I'm not a frontend guy, but I like to mess with frontend stuff once in a while!

Flex is so fun!

Managing css masterfully is a skill in itself!

[-] [email protected] 9 points 6 days ago

Wait until you see what they do to avoid learning SQL or Regex or JSON Pointer or XPath.

[-] [email protected] 1 points 3 days ago

TBF to regex, it's completely unreadable. I love the magic that can be done with it, but by God, it needs syntax highlighting. Something may do this, but I've never seen anything that does.

[-] [email protected] 1 points 2 days ago

You get used to it sooner than you'd think. There are libraries to convert between regex and English. Maybe it deserves a Unicode code block like APL?

[-] [email protected] 2 points 5 days ago

Wait until you see when they refuse to learn anything but SQL.

[-] [email protected] 1 points 5 days ago

Not something I've encountered.

[-] [email protected] 2 points 6 days ago

Ugh, i've had to write some Selenium tests where I had to come up with weird ass Xpaths because not a single fucking element had an ID and over half would spawn something in a different div

[-] [email protected] 9 points 6 days ago

I was so pleased when a brief for a thing at work was "no frameworks".

[-] [email protected] 4 points 6 days ago

React sucks and is way way way overdone and ill die on that hill

[-] [email protected] 4 points 6 days ago

Damn that's some spicy takes lol.

[-] [email protected] 1 points 6 days ago

I use plain HTML along tachyons.io, it's pretty neat.

[-] [email protected] 3 points 6 days ago

On mobile the header has overlapping content- not the worst but shows very little attention to detail for a CSS toolkit :(

[-] [email protected] 1 points 6 days ago

Wait till you see what they do for a bit of concurrency

[-] [email protected] 66 points 1 week ago* (last edited 1 week ago)
div {
  display: grid;
  place-content: center;
}

We've come a long way...

[-] [email protected] 10 points 6 days ago

The collective man-hours this would have saved people, if we had it back in 1999, would be staggering.

[-] [email protected] 7 points 6 days ago

You misspelled nesting tables

[-] [email protected] 2 points 6 days ago

My man right here. Y'all ever want to code some HTML emails? Nested tables as far as the eye can see!

[-] [email protected] 29 points 1 week ago

Oh yes please. But not JavaScript. I use Rust frameworks to avoid all three!

[-] [email protected] 4 points 6 days ago

Flutter like a butterfly, sting like a Dart.

[-] [email protected] 17 points 1 week ago

Eww Rust! I hate memory safe languages, I love torturing myself with C

load more comments (8 replies)
load more comments (3 replies)
[-] [email protected] 19 points 1 week ago

JavaScript frameworks are invented because pure HTML and CSS suck for dynamically loaded pages, and vanilla JavaScript suck in general.

[-] [email protected] 4 points 6 days ago

It's still Javascript.

[-] [email protected] 32 points 1 week ago

Most pages don’t need dynamic loading.

[-] [email protected] 5 points 6 days ago

My menus need to be dynamically reloaded!

load more comments (1 replies)
[-] [email protected] 27 points 1 week ago

Dynamically loading pages suck too.

[-] [email protected] 12 points 1 week ago

JavaScript frameworks actually exist for two reasons, one, vanilla JavaScript lacks ease of use (does not suck and I don't care who disagrees) and two, people love over engineering the fuck out of technology. See: technology since the iPhone came out. We have advanced systems around the world spinning up processes to make up for the fact that touch screens are hard to type accurately on.

[-] [email protected] 2 points 6 days ago

people love over engineering the fuck out of technology

Exhibit A: 2.85 Million packages, as of mid-2023

[-] [email protected] 1 points 6 days ago

Unless those are mostly overly complicated, it doesn't speak to what I'm saying. But I guess it means people like doing their own engineering better than relying on others

load more comments (3 replies)
[-] [email protected] 11 points 1 week ago

OP, I don't think you've correctly linked to the post (when I visit the linked webpage, the browser tries to download an ActivityPub activity instead of showing the post in the Mastodon web UI). Please replace the link with this one.

[-] [email protected] 2 points 6 days ago

got it, my bad

load more comments
view more: next ›
this post was submitted on 12 Jun 2025
560 points (98.8% liked)

Programmer Humor

24287 readers
712 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS