GTG3000

joined 2 years ago
[–] GTG3000 9 points 3 months 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 2 points 3 months ago (1 children)

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 2 points 3 months ago* (last edited 3 months ago) (3 children)

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 5 points 3 months 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 1 points 3 months ago

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

[–] GTG3000 1 points 3 months 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 2 points 3 months ago (5 children)

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

[–] GTG3000 6 points 3 months ago (1 children)

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

[–] GTG3000 1 points 3 months ago* (last edited 3 months ago)

Wait, let is to introduce locals but local is to introduce variables available in the whole file?

...so local creates global variables? What?

...and local creates constant values?

[–] GTG3000 0 points 3 months 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 7 points 3 months 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 4 points 3 months 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.

view more: next ›