GTG3000

joined 1 year ago
[–] [email protected] 9 points 2 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.

[–] [email protected] 2 points 2 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.

[–] [email protected] 2 points 2 months ago* (last edited 2 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.

[–] [email protected] 5 points 2 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

[–] [email protected] 1 points 2 months ago

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

[–] [email protected] 1 points 2 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.

[–] [email protected] 2 points 2 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

[–] [email protected] 5 points 2 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.

[–] [email protected] 1 points 2 months ago* (last edited 2 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?

[–] [email protected] 0 points 2 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.

[–] [email protected] 7 points 2 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.

[–] [email protected] 4 points 2 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 ›