Personally, I prefer duplicate keys to be eaten by the parser but I can see how it’d be beneficial to prevent them.
Personally, I prefer duplicate keys to be eaten by the parser but I can see how it’d be beneficial to prevent them.
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.
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.
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.
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.
Anything an API returns should just look like 1720533944.963659
.
There’s no reason to store dates as anything other than UTC. User-side, sure, timezones are useful. Server doesn’t have to know.
It makes gray look red because it’s similar luminosity. White still looks white.
…I was gonna say it took until it was shrunk down to the thumbnail to see red, but nope, it actually has red in it in the thumbnail.
Guess this is specific to how often you see cans of coca-cola?
Here, I put the image through a ditherer (only available colours are black, cyan, white). I don’t see any red at all now.
[edit}
Actually, that “red” is mostly just gray so I played myself here. Still, the luminosity must be closer to red before I detect it as red, white doesn’t do it.
There are usually plenty of choices for ISPs here, actually. But switching between them isn’t likely to give me IPv6 since either they share a magistral or the hardware is just plain old. That, and IPv6 is just not a thing anyone markets.
…and with the current fuckery going on, I doubt many of them have budget for big upgrades. Or maybe even access to hardware to buy.
Yeah, here in Russia the ISPs and IT infrastructure guys seem to be treating IPv6 like it has cooties. I can’t find an article (and it’d be in russian anyway) but as far back as 2022, if you get IPv6 you can expect a variety of issues with it, ranging from “you need to reboot your router every once in a while” to “you technically have v6 but good luck actually browsing v6 internet”.
And of course, why would they give you a stable IP when they can charge for it :T. At least it’s only a third the price of a stable IPv4.
My current ISP technically provides v6 according to their site - but my connection doesn’t have it, and since there’s nothing about it in the years-old contract, I’d need to redo that if I want to complain.
Imagine actually having ipv6 available through your ISP.
…and ever if my ISP actually provided one, getting a static one costs money so there’s no difference in the end.
Well, kinda-sorta. I’ve yet to hit ip block when browsing without a VPN, but VPNs and proxies definitely are getting blocked pretty consistently.
And seeing how wonderful the situation here is right now, I’m pretty familiar with VPNs at this point.
Yeah, I guess that’s a local slang.
Yeah, I just checked, getting a static IPv6 here in Russia from my ISP costs ~.4 eur per month. IPv4 is ~1 eur, so you get a discount if you go for v6! Oh and despite my ISP saying they support v6, connection I got doesn’t have it at all. Probably whatever hardware they got in my house doesn’t know what it is.
Mordor itself, Russia. Technically, most ISPs support IPv6 here but as I said each has something weird in config that makes using it… Fun. I don’t remember specifics since I’m mostly looking at it from consumer side, but I could try finding the article (in russian) that talked about it.
My current connection doesn’t have IPv6 at all according to https://ipv6-test.com/, although I’m not 100% if it’s because of provider or Cisco AnyConnect blocking shit.
When you when you sign up for internet here, you get a dynamic IP, it’s been that way for… As long as I can remember, really. Definitely more than ten years. I know in Moscow people used to get white IPs way back when, but that’s long gone. Not really a problem since most people don’t host anything.
From what I understand about the providers, they really don’t like it when you’re generating outbound traffic. Sure it’s advertised to be symmetrical, but the actual hardware they place here can get bogged down if you start hosting a popular site (or seeding too much).
And of course, if they can charge you for a static IP then defaulting to dynamic is imperative, isn’t it? Pretty sure they’d try that with IPv6 too just to keep the income stream.
Regardless, the actual issue with IPv6 around here seems to be that the providers either don’t know how to or don’t care to implement it properly. Sure I can tick on “IPv6” in my router, but that doesn’t mean I have an unbroken chain or routing hardware that supports it connecting me to the great internet.
I mean, at least over here, a white IP has been a paid service for as long as I can remember. Absolute majority of people don’t need a static IP, which is why we haven’t had internet “breaking” because of IPv4 running out.
“Everyone is using IPv6”
It’s barely supported. Most providers here “offer IPv6”, but each has a different gotcha to actually using it, if it works at all and they didn’t just route you through hardware that doesn’t know what it is.
I feel like it’s a little disingenuous to call it “Doom Tech” when it’s modern GZDoom with proper full 3D and shit.
But it is true that it’s way more systemic than anything AAA in the genre.
Man, the variable scoping thing is insidious. It will never not be weird to me that
if
s 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.