Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fleabitdev
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
fleabitdev
16d ago
Experienced software developer, looking for freelance work or full-time employment. Location: UK Remote: Yes (or hybrid within the UK) Willing to relocate: No Resume/CV: By request Email: (my username) at protonma
2.
▲
by
fleabitdev
4mo ago
Wikimedia Commons has this feature. Editors can manually bless certain combinations of traits as "subcategories". For example, https://commons.wikimedia.org/wiki/Category:Paintings_of_cas... contains the subc
3.
▲
by
fleabitdev
5mo ago
Good catch - looks like it's a PNG image, with an alpha channel for the rounded corners, and a subtle gradient in the background. The gradient is rendered with dithering, to prevent colour banding. The dither pattern is random, which i
4.
▲
by
fleabitdev
6mo ago
As I understand it, very small neural networks have already been incorporated into both VVC and AV2 for intra prediction. You're correct that this strategy is limited by decoding performance, especially when predicting large blocks. In
5.
▲
by
fleabitdev
6mo ago
JPEG XL achieves about half the bitrate of an equal-quality JPEG, even at lower quality levels. That's a real achievement, but the complexity cost is high; I'd estimate that JPEG XL decoders are at least ten times more complex tha
6.
▲
by
fleabitdev
6mo ago
I only recently learned that JPEG and MPEG-1 were designed for near-lossless compression, so the massive bitrate reductions which came further down the road had nothing to do with the original design. "Inelegant" is the right word
7.
▲
by
fleabitdev
6mo ago
Both formats are DCT-based (except for lossless JPEG XL). JPEG 2000's use of the DWT was unusual; in general, still-image lossy compression research has spent the last 35 years iteratively improving on JPEG's design. This is partl
8.
▲
by
fleabitdev
6mo ago
The discrete wavelet transform (DWT) compresses an image by repeatedly downscaling it, and storing the information which was lost during downscaling. Here's an image which has been downscaled twice, with its difference images (residual
9.
▲
by
fleabitdev
7mo ago
I'd describe that as a trend, rather than a consensus. It wasn't an entirely bad idea, because comments carry a high maintenance cost. They usually need to be rewritten when nearby code is edited, and they sometimes need to be rew
10.
▲
by
fleabitdev
7mo ago
You've rediscovered a state-of-the-art technique, currently used by JPEG XL, AV1, and the HEVC range extensions. It's called "chroma from luma" or "cross-component prediction". This technique has a weakness: th
11.
▲
by
fleabitdev
8mo ago
There was a constraint - since 2009, the Joint Photographic Experts Group had published JPEG XR, JPEG XT and JPEG XS, and they were probably reluctant to break that naming scheme. They're running out of good options, but I hope they st
12.
▲
by
fleabitdev
9mo ago
The rods are only active in low-light conditions; they're fully active under the moon and stars, or partially active under a dim street light. Under normal lighting conditions, every rod is fully saturated, so they make no contribution
13.
▲
by
fleabitdev
9mo ago
Protanopia and protanomaly shift luminance perception away from the longest wavelengths of visible light, which causes highly-saturated red colours to appear dark or black. Deuteranopia and deuteranomaly don't have this effect. [1] Blu
14.
▲
by
fleabitdev
10mo ago
I'd be very interested in hearing alternative estimates, but here's my working: The lowest cost I could find to rent a server SSD was US$5 per TB-month, and it's often much higher. If we assume that markets are efficient (or
15.
▲
by
fleabitdev
10mo ago
Isn't it a little reductive to look at basic infrastructure costs? I used Hetzner as a surrogate for the raw cost of bandwidth, plus overheads. If you need to serve data outside Europe, the budget tier of BunnyCDN is four times more ex
16.
▲
by
fleabitdev
10mo ago
In this case, the bug was 131 GB of wasted disk space after installation. Because the waste came from duplicate files, it should have had little impact on download size (unless there's a separate bug in the installer...) This is why th
17.
▲
by
fleabitdev
10mo ago
Back of the envelope, in the two years since the game was released, this single bug has wasted at least US$10,000,000 of hardware resources. That's a conservative estimate (20% of people who own the game keep it installed, the marginal
18.
▲
by
fleabitdev
10mo ago
If you set out to build a practical UI from first principles using 1995 technology, I think you'd end up with something a lot like Windows 95. It's like a checklist of all the things we should be doing. Luminance contrast is used
19.
▲
by
fleabitdev
10mo ago
That could be made to work by stacking a transparent OLED panel in front of a transparent LCD panel. The LCD would absorb light, and the OLED would emit light. I just tried to search for some examples, but I can't find any. Maybe the d
20.
▲
by
fleabitdev
11mo ago
Interesting approach. It doesn't even introduce an extra rounding error, because converting from 32-bit XYB to RGB should be similar to converting from 8-bit YUV to RGB. However, when decoding an 8-bit-quality image as 10-bit or 12-bit
21.
▲
by
fleabitdev
11mo ago
Emulators also struggle to faithfully reproduce artwork for the Game Boy Color and the original Game Boy Advance. Those consoles used non-backlit LCD displays with a low contrast ratio, a small colour gamut, and some ghosting between frames
22.
▲
by
fleabitdev
11mo ago
I'd like to see a fantasy console which comes with built-in CRT emulation. Some of the features of CRT displays seem artistically interesting, especially the steeper gamma, soft pixel edges, and lightness-dependent bloom; it would be g
23.
▲
by
fleabitdev
1y ago
try-finally is leaky in JavaScript, in any case. If your `try` block contains an `await` point, its finaliser may never run. The browser also has the right to stop running your tab’s process partway through a JavaScript callback without run
24.
▲
by
fleabitdev
1y ago
I'm not an expert, but in the worst case, you might need to decode dense 4x4-pixel blocks which each depend on fully-decoded neighbouring blocks to their west, northwest, north and northeast. This would limit you to processing `frame_h
25.
▲
by
fleabitdev
1y ago
Happy to hear that they've introduced video encoders and decoders based on compute shaders. The only video codecs widely supported in hardware are H.264, H.265 and AV1, so cross-platform acceleration for other codecs will be very nice
26.
▲
by
fleabitdev
1y ago
Reactivity works by replaying code when its inputs have changed. Events can make this very expensive and impractical, because to properly replay event-driven code, you'd need to replay every event it's ever received. When we repla
27.
▲
by
fleabitdev
1y ago
Interesting fact: the 50ms to 100ms grace period only works at the very beginning of a user interaction. You get that grace period when the user clicks a button, but when they're typing in text, continually scrolling, clicking to inter
28.
▲
by
fleabitdev
1y ago
I was also surprised to read this, because Linear has always felt a little sluggish to me. I just profiled it to double-check. On an M4 MacBook Pro, clicking between the "Inbox" and "My issues" tabs takes about 100ms to
29.
▲
by
fleabitdev
1y ago
I can see some real advantages to this layout. There are only two key shapes rather than twelve, so transposing at sight would become much easier. A printed stave would span sixteen semitones rather than thirteen. The hand positions for cho
30.
▲
by
fleabitdev
1y ago
I've wondered whether photorealism creates its own demand. Players spend hours in high-realism game worlds, their eyes adjust, and game worlds from ten years ago suddenly feel wrong; not just old-fashioned, but fake. This is also true
More ›