Readit News logoReadit News

Deleted Comment

flakes commented on Google unkills JPEG XL?   tonisagrista.com/blog/202... · Posted by u/speckx
m348e912 · 13 days ago
A full-resolution, maximum-size JPEG XL image (1,073,741,823 × 1,073,741,824):

Uncompressed: 3.5–7 exabytes Realistically compressed: Tens to hundreds of petabytes

Thats a serious high-res image

flakes · 12 days ago
A selfie at that resolution would be some sort of super-resolution microscopy.
flakes commented on The HTTP Query Method   ietf.org/archive/id/draft... · Posted by u/Ivoah
vbezhenar · 14 days ago
You can just use body with GET. QUERY is redundant.
flakes · 14 days ago
You can, and that is mentioned in RFC 9110... along with the cons for doing so.

> Although request message framing is independent of the method used, content received in a GET request has no generally defined semantics, cannot alter the meaning or target of the request, and might lead some implementations to reject the request and close the connection because of its potential as a request smuggling attack (Section 11.2 of [HTTP/1.1]). A client SHOULD NOT generate content in a GET request unless it is made directly to an origin server that has previously indicated, in or out of band, that such a request has a purpose and will be adequately supported. An origin server SHOULD NOT rely on private agreements to receive content, since participants in HTTP communication are often unaware of intermediaries along the request chain.

QUERY is a new option to help avoid some of those downsides.

https://www.rfc-editor.org/rfc/rfc9110.html#section-9.3.1

flakes commented on Bazzite: Operating System for Linux gaming   bazzite.gg/... · Posted by u/doener
mikepurvis · 14 days ago
Even better, doing so allows GitHub to insert a source snippet if you paste a link like that into an issue or comment.
flakes · 14 days ago
Yeah, I just always used the context windows to set permalink. Saves me a step now!
flakes commented on The HTTP Query Method   ietf.org/archive/id/draft... · Posted by u/Ivoah
arp242 · 14 days ago
The situations where I've wished for GET to be able to have a (typically JSON) body were all in situations where the request isn't "user visible" in the first place. That is: API calls, SPA apps, ajax requests, that sort of thing. Not something people are really supposed to bookmark or call directly.

If today you're doing some JS-fu to make an ajax GET request then you already need to do something to have permalinks (if desired).

Completely worth bringing up and thinking about, but unless I'm missing something I don't think a QUERY verb will change all that much here?

flakes · 14 days ago
> unless I'm missing something I don't think a QUERY verb will change all that much here?

The semantics are important. GET APIs are expected to be safe, idempotent, and cache-friendly. When you are unable to use GET for technical reasons and move to POST, suddenly none of the infrastructure (like routers, gateways, or generic http libs) can make these assumptions about your API. For example, many tools will not attempt to put retry logic around POST calls, because they cannot be sure that retrying is safe.

Having the QUERY verb allows us to overcome the technical limitations of GET without having to drop the safety expectations.

flakes commented on Bazzite: Operating System for Linux gaming   bazzite.gg/... · Posted by u/doener
thegeekpirate · 14 days ago
Press "y" before linking to a Github file/line to ensure it stays accurate https://github.com/ublue-os/bazzite/blob/5e8f61a56ca3da02778...
flakes · 14 days ago
I had no idea there was a hotkey for that. Thank you!
flakes commented on Rectal oxygen delivery might soon be a real medical treatment   arstechnica.com/science/2... · Posted by u/zdw
flakes · 2 months ago
Another great post from Arse Technica
flakes commented on Apple M5 chip   apple.com/newsroom/2025/1... · Posted by u/mihau
flakes · 2 months ago
What does “4x the peak GPU compute performance” mean here? No latency difference, but higher throughput? The footnote was not at all helpful

> Performance tests are conducted using specific computer systems and reflect the approximate performance of MacBook Pro.

flakes commented on macOS Tahoe   apple.com/os/macos/... · Posted by u/Wingy
pdntspa · 3 months ago
As a fellow dev, command line shit is a pain in the ass sometimes. I grew up as a Windows kid, visual browsing for stuff is sometimes the only way to fly. I absolutely loathe the amount of brute-force memorization that is required to operate a command-line efficiently. It took YEARS to memorize simple linux shit

Everyone talks about how CLI is supposedly way more efficient. It is way more efficient to THEM. And now we are stuck in a hell where a good deal of functionality is only accessible if you want and are able to memorize the arcane nonsense that are command names, or the design-by-committee naming choices of moronic PMs who can't stop lapping up whatever bullshit marketing tells them to

flakes · 3 months ago
> I absolutely loathe the amount of brute-force memorization that is required to operate a command-line efficiently. It took YEARS to memorize simple linux shit

Not to invalidate your experience, but you shouldn’t need to memorize too much to use the common command line tools (although it does always help to have more experience using them).

I recommend always keeping a second terminal session open, purely for referencing man pages. You should be able to see most options easily, or be able to grep for the instructions you need.

The tight integration between documentation within the CLI, coupled to the exact software version you have installed, helps immensely when invoking CLI tools.

For the common linux tooling, found in most distros (e.g. coreutils or common busybox ops) the documentation in man pages is quite excellent.

flakes commented on Google's Liquid Cooling   chipsandcheese.com/p/goog... · Posted by u/giuliomagnifico
flakes · 4 months ago
> In theory, a PC builder could try exchanging heat to a toilet tank, allowing for highly efficient cooling with each flush.

The future is here.

u/flakes

KarmaCake day664August 11, 2023View Original