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.
Wait, let
is to introduce local
s but local
is to introduce variables available in the whole file?
…so local
creates global variables? What?
…and local
creates constant values?
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.
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.
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.
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.
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!?
What do you mean unseasoned, they have salt on them. smh
Perfectly good boiled potatoes and stew.
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.
“speak-singing” is a thing some people do to work around language issues, apparently it’s an entirely different part of the brain.
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.
Oh, I know the experience pretty well. The fun fun fun of having something stuck at 98% for a week or more :D
I was thinking, if the creator themselves would seed their stuff it could work - although I admit it’d have to have some kind of seed schedule and maybe some heuristic to see which videos were still available or not. There’d be problems with bandwidth, but I think it would at least allow a decentralised video network to exist, even if it would feel a bit more like watching anime in year 2010.
And yeah, fair point. I don’t really do live streams so I didn’t think about them. Honestly don’t know what a solution for that even could be, in terms of “everyone hosts a little bit to spread the load and price”.
Don’t really think it’d be that big of a mess for premiers, but then again I don’t see a big issue in waiting a day to get good content. Y’all are spoiled with cdns and social media /s :D! In my experience torrents propagate pretty quickly so it could still work. Think the bigger issue would be the fact that people have preference for different resolutions, so you’d end up with massive torrent downloads that have 4k, 2k, 1080p, 720p, etc. Or multiple torrent files for different resolution. The worst outcome would of course be “creator just dumps 8k 60fps content on the network and tells you good luck”.
Either way, I won’t pretend like torrent net could match the service of youtube right now - but I do think it could actually make a video network actually work, without prohibitive costs for the hosters and subscriptions for the basic users. It’d still be nice to support creators and the trackers but those aren’t as big of an ask as “host hundreds of 4k videos per creator forever”.
[edit] as a last minute thought - I think I know another reason why torrents may not work so well. You’d have to have an app or a browser extension to use them, which limits the accessibility compared to “open url and watch”.
I feel like the true decentralised approach to video that may work… Are torrents. Don’t know if PeerTube works that way, but if you’re allowing people to eat your bandwidth with direct streaming, you’re gonna run into problems sooner or later.
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.
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.