GTG3000

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

[–] GTG3000@programming.dev 7 points 10 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@programming.dev 4 points 10 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.

[–] GTG3000@programming.dev 1 points 11 months 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.

[–] GTG3000@programming.dev 2 points 11 months ago (1 children)

Well, it was a spur-of-the-moment sort of thing when I went and looked at their site and it just had a bunch of names with no numbers there under the book art.

Went and checked now and site looks entirely different, and I can clearly see the issue numbers. I don't know, maybe I hallucinated it.

[–] GTG3000@programming.dev 2 points 11 months ago (3 children)

Yeah. I tried getting into comics once and got a multi-gigabyte archive of deadpool stuff.

...couldn't make heads or tails of it.

Actually couldn't get into IDW sonic/transformers for the same reason. WHERE DO I START!?

[–] GTG3000@programming.dev 7 points 11 months ago

What do you mean unseasoned, they have salt on them. smh

Perfectly good boiled potatoes and stew.

[–] GTG3000@programming.dev 7 points 11 months ago (1 children)

Yeah, it's pretty difficult to find energy for personal programming stuff when your dayjob is programming stuff.

Gotta get up from the PC for a bit.

[–] GTG3000@programming.dev 3 points 11 months ago

Chernobyl isn't safe safe, it's just safe enough for wildlife to survive there, possibly with lowered life span and quality of life.

Also, there's a decent danger of radioactive dust coming off the book if it's handled. It may not be that radioactive, but if it clings to you, or you breathe it in, it will do considerably more damage than if it was all one solid rock that made geiger counters click.

[–] GTG3000@programming.dev 7 points 11 months ago

"speak-singing" is a thing some people do to work around language issues, apparently it's an entirely different part of the brain.

view more: ‹ prev next ›