Readit News logoReadit News
superjan commented on I used to know how to write in Japanese   aethermug.com/posts/i-use... · Posted by u/mrcgnc
taeric · 12 days ago
This is an area where the modern insistence that English isn't phonetic baffles me.
superjan · 12 days ago
It’s probably more phonetic than Chinese but significantly less phonetic than Dutch.
superjan commented on SIMD Binary Heap Operations   0x80.pl/notesen/2025-01-1... · Posted by u/ryandotsmith
superjan · 13 days ago
i have wasted several weeks worth of evenings on vectorizing heaps (4ary heaps: with SIMD, you’re not limited to binary heaps). It did not provide any speedup. I’d expect that halving heap depth would help but no. Still don’t know why.
superjan commented on Consider using Zstandard and/or LZ4 instead of Deflate   github.com/w3c/png/issues... · Posted by u/marklit
adgjlsfhk1 · 22 days ago
this isn't necessarily true. zstd uses an ans which is a type of arithmetic coding which is very efficient to decode
superjan · 21 days ago
Nice to learn about. It’s good to know the field has progressed, however the context focused on JPEG, where my point does apply.
superjan commented on Consider using Zstandard and/or LZ4 instead of Deflate   github.com/w3c/png/issues... · Posted by u/marklit
jchw · 22 days ago
Believe it or not, last I checked, many browsers and some other software (file managers, etc.) still couldn't do anything with JPEG files that have arithmetic coding. Apparently, although I haven't tried this myself, Adobe Photoshop also specifically doesn't support it.
superjan · 22 days ago
Arithmetic coding decodes 1 bit at a time, usually in such a way that you can’t do two bits or more with SIMD instructions. So it will be slow and energy inefficient.
superjan commented on Genie 3: A new frontier for world models   deepmind.google/discover/... · Posted by u/bradleyg223
superjan · 22 days ago
There are very few people visible in the demo’s. I suppose that is harder?
superjan commented on The Rubik's Cube Perfect Scramble (2024)   solutionslookingforproble... · Posted by u/notagoodidea
fastaguy88 · 25 days ago
This is an interesting insight. The OP's constraint that no two adjacent squares are the same color ensures non-randomness. (Which reminds us why people are so bad at producing "random" sequences.)
superjan · 25 days ago
Yeah, it’s a funny coincidence that all those constraints to make it look random produces exactly one solution. I guess the OP knows this is not ‘random’ in the mathematical sense.
superjan commented on The Rubik's Cube Perfect Scramble (2024)   solutionslookingforproble... · Posted by u/notagoodidea
superjan · 25 days ago
I want to flip coins so randomly that I never see the same face twice in a row.
superjan commented on I designed my own fast game streaming video codec – PyroWave   themaister.net/blog/2025/... · Posted by u/Bogdanp
robterrell · a month ago
Isn't the use of the H.264 motion vector to preserve bit when there is a camera pan? A pan is a case where every pixel in the frame will change, but maybe doesn't have to.
superjan · a month ago
Yes, or when a character moves across the screen. They are quite fine grained. However, when the decoder reads the motion vectors from the bitstream, it is typically not supposed to attach meaning to them: they could point to a patch that is not the same patch in the previous scene, but looks similar enough to serve as a starting point.
superjan commented on I designed my own fast game streaming video codec – PyroWave   themaister.net/blog/2025/... · Posted by u/Bogdanp
superjan · a month ago
I love this. The widely used standards for video compression are focused on compression efficiency, which is important if you’re netflix or youtube, but sometimes latency and low complexity is more important. Even if only to play around and learn how a video codec actually works.
superjan commented on LibreOffice slams Microsoft for locking in Office users w/ complex file formats   neowin.net/news/libreoffi... · Posted by u/bundie
cahaya · a month ago
I can confirm. When trying convert simple Word sentences and tables to e.g. Markdown/HTML from a Word XML you need a PhD in XML edge cases and nested garbage.
superjan · a month ago
Well, it is not pretty to see how the sausage gets made, but extracting formatted text from docx is absolutely doable, no PhD involved. Source: I have done it as a little sidequest because it was useful to audit a set of word documents.

u/superjan

KarmaCake day1110July 16, 2017View Original