[-] GTG3000@programming.dev 9 points 2 days ago

Man, the variable scoping thing is insidious. It will never not be weird to me that ifs and loops don't actually create a new scope.

And then you try to do a closure and it tells you you didn't import anything yet.

[-] GTG3000@programming.dev 2 points 3 days ago

It depends, but the place I'm staying at right now has it hooked up to hot and cold water with one of those sliding plate faucet handles.

[-] GTG3000@programming.dev 2 points 3 days ago* (last edited 3 days ago)

I think they're called "hygienic showers" and it's basically a small showerhead with a thumb button on the end to turn on/off. They're getting pretty trendy with new construction flats.

The only downside is that they tend to drip a bit after you return them to the cradle.

[-] GTG3000@programming.dev 5 points 4 days ago

I get what you mean, but from the way you wrote it, I am now imagining someone slurping the crab in the kitchen for you :D

[-] GTG3000@programming.dev 1 points 4 days ago

Watching youtubers play the souls games is pretty fun, although they do skip all the tedious bits.

[-] GTG3000@programming.dev 1 points 4 days ago

Dunno about ugly, it has some gorgeous views, but I agree about tedious and boring.

The wow factor of finding new places did NOT offset the tiresome enemies that followed.

[-] GTG3000@programming.dev 2 points 4 days ago

A simple spray hose next to the toilet is so great. Not only for use as a bidet but also for cleaning

[-] GTG3000@programming.dev 6 points 4 days ago

Personally, I prefer duplicate keys to be eaten by the parser but I can see how it'd be beneficial to prevent them.

[-] GTG3000@programming.dev 0 points 1 week ago

Yeah, I remember when I was trying to parse XML into some lua tables and it forever stumped me how to represent something like

<thing important_param=10 other_param="abracadabra"> stuff </thing>

You just have to have different ways to turn different tags into stuff in your program and that's a huge amount of overhead to think about when all I want is a hash map and maybe an array.

[-] GTG3000@programming.dev 7 points 1 week ago

It's inconsistent and annoying. Expressive, yes. Gets it's job done, yes. Absolute nightmare of a spec, YES.

The fact that JSON is a subset of YAML should tell you everything about how bloated the spec is. And of course there's the "no" funny things.

Personally, my favourite way to write configs was using lua (because it was already part of the project so why not), but JSON does fine.

[-] GTG3000@programming.dev 4 points 1 week ago

Genuinely, why? Personally, I'm happy to eat basically same meals for a few days before they get boring, and you can vary your sandwiches a lot of you so desire.

[-] GTG3000@programming.dev 1 points 1 month ago

I used to use FTP for file transfer, nowadays I just start up a HTTPS server on the source machine and grab stuff from there.

view more: next ›

GTG3000

joined 1 year ago