The_Decryptor

joined 1 month ago
[–] The_Decryptor@aussie.zone 5 points 4 days ago

Hmm, for me it just says "This item is not available for purchase in your region", not sure I know that currency.

[–] The_Decryptor@aussie.zone 5 points 1 week ago

There are different kinds of solar power generation, the photovoltaic panels that generate electricity directly that we all know and love, and thermal solar. You'll commonly see a small-scaled version of this used on homes as a hot water system.

Scale it up though and you've got a system that can generate energy 24/7, as long as you've got enough thermal mass, and sunlight.

[–] The_Decryptor@aussie.zone 3 points 1 week ago (1 children)

What you see in stuff like Google Maps or OpenStreetMap isn't plain Mercator, it's a variant called "Web Mercator"

And the US DoD doesn't like it because it introduces even more deviations than plain Mercator.

[–] The_Decryptor@aussie.zone 3 points 1 week ago

I quite liked the locale in FC5, but the (nearly?) unavoidable captures the game would force on you when you did too much open world stuff annoyed the hell out of me.

Then I had the ending spoiled for me and I just got too annoyed at the story planners and never touched it again.

[–] The_Decryptor@aussie.zone 7 points 2 weeks ago* (last edited 2 weeks ago)

Then don’t get me started about how the www subdomain itself no longer makes sense. I get that the system was designed long before HTTP and the WWW took over the internet as basically the default, but if we had known that in advance it would’ve made sense to not try to push www in front of all website domains throughout the 90"s and early 2000’s.

I have never understood why you can delegate a subdomain but not the root domain, I doubt it was a technical issue because they added support for it recently via SVCB records (But maybe technical concerns were actually fixed in the decades since)

[–] The_Decryptor@aussie.zone 1 points 2 weeks ago

Chromium had it behind a flag for a while, but if there were security or serious enough performance concerns then it would make sense to remove it and wait for the jpeg-xl encoder/decoder situation to change.

Adobe announced they were supporting it (in Camera Raw), that's when the Chrome team announced they were removing it (due to a "lack of industry interest")

[–] The_Decryptor@aussie.zone 5 points 2 weeks ago

They're "file like" in the sense that they're exposed as an fd, but they're not exposed via the filesystem at all (Unlike e.g. unix sockets), and the existing API is just mapped over the sockets one (i.e. write() instead of send(), read() instead of recv()). There's also a difference in how you create them, you open() a file, but connect() a socket, etc.

(As an aside, it turns out Bash has its own virtual file-based wrapper around sockets, so you can do things like cat a remote port with Bash, something you can do natively in Plan 9)

Really it just shows that "everything is a file" didn't stand up in practice, there's more stuff that needs special treatment than doesn't (e.g. Interacting with TTYs also has special APIs). It makes more sense to have a better dedicated API than a generic catch-all one.

[–] The_Decryptor@aussie.zone 14 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

RFC 3339 is a simplified profile of 8601 that only covers YYYY-MM-DD style formatting, if you only ever use that format and avoid the things like "2024-W36" they're mostly interchangeable.

[–] The_Decryptor@aussie.zone 11 points 2 weeks ago (2 children)

Plan 9 even extended the "everything is a file" philosophy to networking, unlike everybody else that used sockets instead.

[–] The_Decryptor@aussie.zone 7 points 2 weeks ago* (last edited 2 weeks ago)

Existing JPEG files (which are the vast, vast majority of images currently on the web and in people’s own libraries/catalogs) can be losslessly compressed even further with zero loss of quality. This alone means that there’s benefits to adoption, if nothing else for archival and serving old stuff.

Funny thing is, there was talk on the Chrome bug tracker of using just this ability transparently at the HTTP layer (like gzip/brotli compression), but they're so set on pushing their AVIF format that they backed away from it.

[–] The_Decryptor@aussie.zone 10 points 2 weeks ago

For a game I don't think it's the end of the world, but you could end up in a situation where the first check passed, then you go to use the file and that fails, so you end up having to handle the "can't use file" case twice anyway. But for something like showing a "Continue" menu item you obviously need to check that there's an existing save to begin with before loading it.

In general checking first leads to race conditions known as "time-of-check to time-of-use", the pitfalls of which can vary greatly, but realistically aren't a problem for a lot of cases.

view more: next ›