Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phoboslab
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
phoboslab
4y ago
Curiosity mostly. As stated in the article, Opus is excellent and better than QOA in every way except in complexity (and as a result, performance). A possible application for QOA is games, where you need to play dozens of audio files immedi
32.
▲
by
phoboslab
4y ago
Traditional ADPCM is not terrible, it's just "meh". Compare: - Original, 4039kb: https://phoboslab.org/files/qoa-samples/adpcm_comp/orig.wav - MS ADPCM, 1022kb: https://phoboslab.org
33.
▲
Ladybird (SerenityOS Browser) Now Passes the Acid2 Test
(twitter.com)
4 points
by
phoboslab
4y ago
|
0 comments
34.
▲
by
phoboslab
4y ago
While what you're saying is true - QOI performs badly with some types of images - I want to push back on the notion that the demo images have been "carefully selected" to tell a narrative. TFA alleges the same. This is absol
35.
▲
by
phoboslab
4y ago
I first encountered this in the Flac source[1]. They do the bit twiddling a bit differently than in this article: uval = (val<<1) ^ (val>>31); Variations of this have probably been used countless of times in other libra
36.
▲
by
phoboslab
4y ago
Very true. Apple has removed several of my games (all working perfectly fine) because, well, they felt like it: > Since this app hasn’t been updated within the last three years [...] it has been removed from the App Store
37.
▲
by
phoboslab
4y ago
True. I'd put it on the same level as connecting XLR cables. MiniDiscs (and to a lesser extent) UMDs were maybe the last examples of such satisfying mechanics. We are moving towards a solid state future where no user interaction direct
38.
▲
by
phoboslab
4y ago
> What is Krebs' false positive rate? You only ever hear about it when he gets high profile cases wrong. When my project was targeted by him, he ended up going down some conspiracy rabbit hole and doxed all the wrong people. This fo
39.
▲
by
phoboslab
4y ago
Pardon my ignorance: Are messages sent through this guaranteed to arrive in order?
40.
▲
by
phoboslab
4y ago
This repo says how it relates to other implementations but curiously fails to mention what "expect" actually is. So for everyone as ignorant as myself, I guess it's referring to this[1]: > Expect is a tool for automating i
41.
▲
by
phoboslab
4y ago
You can get some IDE support with a simple preprocessor macro[1]. It's a crutch, but at least you don't need to stuff the shader into multiple "strings" or have string continuations (\) at the end of every line. Plus you
42.
▲
by
phoboslab
4y ago
> MPEG is not free. A license is required for using MPEG. For MPEG-1 this is not true anymore. All patents have expired. It's also far less computationally expensive and easier to implement/integrate than more modern codecs. Th
43.
▲
by
phoboslab
4y ago
> Square Enix says the transaction (which was only $300 million) "enables the launch of new businesses by moving forward with investments in fields including blockchain, AI, and the cloud." ~ https://twitter.com/
44.
▲
by
phoboslab
5y ago
Doesn’t seem like an official release, but really cool either way. Time to dig in and see what I got wrong in my 2015 reverse engineering[1] of the data format! [1] https://phoboslab.org/log/2015/04/reverse-en
45.
▲
by
phoboslab
5y ago
Sorry to rain on your parade, but this looks seriously over-engineered. There are 71 files in this github repo (6914 after `npm install`) for something that requires ~100 lines of code. Related: here's some PHP code I wrote 14 years ag
46.
▲
by
phoboslab
5y ago
Co-founder of https://topchef.de here (bootstrapped whitelabel online ordering provider, focusing on the German market). We felt the same. It's truly amazing how bad the UX of many competitor apps is and how little business
47.
▲
by
phoboslab
5y ago
A while ago I published pagenode[1] which powers my own blog[2] and some of my other sites. It sits somewhere in between a CMS-"library" and a static site generator, with all content stored in markdown files. It comes in as single
48.
▲
by
phoboslab
5y ago
Don't expect too much of QOI. I wanted a simple format that allows you to load/save images quickly, without dealing with the complexity of JPEG or PNG. Even BMP, TIFF and other "legacy" formats are way more complicated t
49.
▲
by
phoboslab
5y ago
After trying a lot of different calculators, I just settled on this little shell script to launch/raise a nodejs repl with FN+Backpspace: if [ $(xdotool search --name "calc repl") ]; then xdotool search --name "ca
50.
▲
by
phoboslab
5y ago
What exactly do you mean with "edge cases"? For what it's worth, the decoder has been fuzzed[1] and the benchmark suite[2] with 2800 images en-/ and decodes without losing any pixels, as checked by qoibench[3]. [1] http
51.
▲
by
phoboslab
5y ago
Sorry, I see how my previous comment was misleading. To clarify: No, QOI is not doing that. QOI stores RGBA as R,G,B,A because it is big endian. Little endian would imply that RGBA is stored as A,B,G,R. Which was my argument against using L
52.
▲
by
phoboslab
5y ago
Well, it's easier to read in a hex editor and seemed like the right thing to do for a "wire format". The only places where it matters is the header's width/height and order of RGB(A) data. Storing RGBA as ABGR is no
53.
▲
by
phoboslab
5y ago
No, the encoder checks if the color at the hashed value really matches before storing the QOI_INDEX. There's probably better ways to hash it, but this just seemed "good enough".
54.
▲
by
phoboslab
5y ago
I should probably fix that. Is there a clever way to unpack a 5bit signed int other than treating it as unsigned and subtracting 16?
55.
▲
by
phoboslab
5y ago
Thanks, fixed! I'll probably investigate "resetting" the stream to allow for multithreaded en-/decode when I try to roll this into a video codec.
56.
▲
by
phoboslab
5y ago
Fair points. I would argue that for most people a simple master-slave setup with manual failover will produce far fewer headaches than a "serverless" architecture. When you are big enough to worry about the other issues, you surel
57.
▲
by
phoboslab
5y ago
> If you’ve created a database before, you probably had to estimate how many servers to use based on the expected traffic. The answer is "one". If you have less than 10k req/s you shouldn't even start to think about m
58.
▲
by
phoboslab
5y ago
The linked vsync-tester[1] is very cool. But it's sad to see that (at least on my system) nothing has changed since 2012[2] - Firefox still misses frames; Chrome consistently lags an extra frame. [1] https://www.vsynctester.
59.
▲
by
phoboslab
5y ago
I used TrenchBroom[1] to build the levels. It was initially created to build Quake maps but now supports many derivative games like Half-Life, too. I can't speak highly enough of it; it's really really good! [1] https://
60.
▲
by
phoboslab
5y ago
For what it's worth, the original 13kb JS only version[1] does not have these problems. I was confused for a second why this game made its way to HN again (there's a making of for the game itself from 2018[2]). This seems to be a
More ›