Hacker Newsnew | past | comments | ask | show | jobs | submit | hrydgard's commentslogin

More than half the article is AI slop. Sad.


A fun fact about ChatGPT and its ilk is the final RL polishing of the responses was outsourced to Nigeria and other places with cheap labor, so the patterns you’re picking up in the article aren’t that the author sounds like ChatGPT, it’s that ChatGPT sounds like the author.

Same reason the southern accent has overlaps with west African dialects.


This is just AI slop explaining the very basics of what a pixel/fragment shader is. The usecase is not particularly useful. Doesn't belong on HN.


Got taught this one in Sweden in the early 90s. Not too surprising though, as much of the Swedish school system used to be modeled on DDR...


Maybe a cache coherency issue, where data written by the CPU is not visible to the GPU, without some kind of explicit cache line invalidation, maybe on both sides? Caveat, I don't know much about the memory system on the XBox but this is a typical issue with homebrew code on consoles.


Yeah i thought about it and you can sync the GPU and CPU (basically wait until the GPU stops doing anything) and even bruteforcing a sync before and after every register change it didn't solve things :-/.

It might still be something i'm doing wrong GPU-wise, but these flickers happen with static geometry (the memory for which is allocated at init) -seemingly- because of "damaged" transformation matrices (modelview and projection) passed to the vertex shader. The matrices are inlined in the push buffer (i.e. become part of it) that contains the commands to setup the render state before the command that draws primitives using them, so basically it is impossible for the GPU to "miss" them :-P.


Or you just go ahead and forget that big endian ever existed. It's not coming back.


it’s little-endian protocols that require that you juggle your struct fields.

plus, there are still big-endian protocols that will stay for a long time. for example, MIDI clip files in MIDI 2.0 are big-endian.


Well, it is what is done on several tiler architectures, and it generally works just fine. Normally your computations of the position aren't really intertwined with the computation of the other outputs, so dead code elimination does a good job.


BC1-3 are like that, but BC7 is far, far more complex. The search space is huge.


It works just fine and is natively ARM, since a year or so.


Great, thanks for the feedback.


What about implementations? libpng seems pretty dead, 1.7 has been in development forever but 1.6 is still considered the stable version. Is there a current "canonical" png C/C++ library?


I mean, if the spec has been stable for two decades then maybe there just hasn't been much to fix? Especially since PNG is a relatively simple image format.


Seems that logic does not apply to jpeg though.


For modern C/C++ PNG implementations, consider lodepng (header-only), stb_image/stb_image_write (single-file), or libspng (active fork focused on performance and security) as more actively maintained alternatives to libpng.


libpng updates are either already landed or nearly landed.


Parody account


Video is real though


How do you know?


It's the same video that is used at [1]. It likely originated from an unnamed Indian news website.

[1] https://www.wsj.com/world/india/air-india-plane-carrying-242...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: