spartanatreyu

joined 2 years ago
[–] spartanatreyu 28 points 2 months ago (15 children)

There are only two genders...

Except for: <giant list of genetic, epigenetic, developmental, etc... things that happen with human beings>.

Not to mention all the other things that happen with other living things

[–] spartanatreyu 1 points 2 months ago

Well... Assuming that it's not using bits of typescript that will be deprecated in TS 6 and removed in TS 7 (the native go implementation)

[–] spartanatreyu 3 points 2 months ago (3 children)

Bruh, Russia is famous for their bot farms

[–] spartanatreyu 2 points 2 months ago

We got momentary gusts of 135km/h

Only me and one other person I know on the coast didn't lose power. Phones came back on Saturday afternoon, and internet came back this morning.

Today was the first day I've been out since Thursday, there's a lot of damage.

Trees have had thick branches pulled and twisted off. A house just up the road had it's roof peeled off. A building down the road the other way had it's roof pushed down and in. A building the next block over has a shattered window. There's a whirlybird on the footpath outside and I'm not sure where from. A tree grazed my bedroom window which bent the window frame out, braking branches along the way (but the window survived).

Can't get into work today due to floods.

At least now I can cross "experience a cyclone" off my bucket list.

Also I learnt where birds go during bad storms. The answer is inside hedge bushes along the ground.

[–] spartanatreyu 3 points 2 months ago

This is why you're meant to comment your code.

Your code tells you "what", your comments tell you "why".

Here's a good review of comments in the redis codebase: https://antirez.com/news/124

[–] spartanatreyu 2 points 2 months ago (1 children)

When the keyboard becomes both columnar/ortholinear (AKA: keys are in up/down straight lines) and when it also becomes staggered (AKA: each column is ,moved up or down slightly so it matches the length of your fingers), then I am buying a framework so hard.

[–] spartanatreyu 5 points 3 months ago

and those who prevent history from being taught, want to lift themselves up at the expense of others

[–] spartanatreyu 5 points 3 months ago* (last edited 3 months ago)

Typescript has made the js ecosystem better.

Tailwind is the epitome of someone trying to make one tool that does everything then tries to sell you on buying only that one tool. As the old saying goes: When all you have is a hammer, everything looks like a nail. Sure you can hammer a screw into a wall, but if you used the right tool for the job to begin with, you could also unscrew the screw and replace it later without needing to fill the old hole or make another hole in the wall.

Tailwind exists purely because developers keep trying to learn CSS the wrong way from people who don't know how to use it, then get frustrated when it doesn't work out.

The problem is that when you're starting out, you don't know the difference between good and bad teachers.

[–] spartanatreyu 3 points 4 months ago (1 children)

I would advise against using pixels for margin/padding since it'll have issues for users who have different zoom/text sizes than you do.

Stick to rem for margin and padding.

If you're still early days with css, it's worth pointing out that you should use a "css reset" file. It will solve problems for you that you don't even know exist yet.

[–] spartanatreyu 1 points 4 months ago

I'm more of a Deno person myself, but I like a good chunk of what's here.

[–] spartanatreyu 4 points 4 months ago

How the fuck has JavaScript lasted three years, let alone 30?

Because it's easier to constantly improve an existing standard than getting the major players to work together to agree on a new standard.

And also because JS has come a long way. Its runtimes are way faster than they have any right to be, and it's hacky enough that you can warp it into almost any workflow you want.

[–] spartanatreyu 2 points 4 months ago

The more windows falls down the enshittification spiral, the more likely the EU will get pissed at Microsoft and fund Linux environments where it's needed.

view more: ‹ prev next ›