GTG3000

joined 2 years ago
[–] GTG3000@programming.dev 1 points 6 months ago

You can make it mutable really easy, too, if you need to for some reason. Most stuff you need is available off flathub, but some applications you may want have to be installed the old-fashioned way.

[–] GTG3000@programming.dev 1 points 6 months ago

This is kinda my experience. If there's an extension keeping track of schema and linting, it's alright.

If you're doing it by hand, well, good luck.

My personal favourite way to make configs is lua. But that's neither here nor there.

[–] GTG3000@programming.dev 9 points 9 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@programming.dev 2 points 9 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@programming.dev 2 points 9 months ago* (last edited 9 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@programming.dev 5 points 9 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@programming.dev 1 points 9 months ago

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

[–] GTG3000@programming.dev 1 points 9 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@programming.dev 2 points 9 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@programming.dev 5 points 9 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@programming.dev 1 points 10 months ago* (last edited 10 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@programming.dev 0 points 10 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.

view more: ‹ prev next ›