Better HN
topnewbestaskshowjobs
Log inSign up

mrob

11,421 karma · joined Dec 2, 2014 (11y ago) · 3,351 submissions

Submissions

comment 23h ago · link · parent

>almost no pixels have value 0

"Almost no pixels" is very different from "no pixels". Only the very darkest parts of the image should be 0 or you lose shadow detail. But those very darkest parts are intended to be as close to black as possible.

comment 1d ago · link · parent

>every film and photo they've ever viewed has deliberately had raised black levels?

Not true at all, and easily confirmed with any graphics editor. Perhaps you are confusing "TV levels" encoding ([16, 235] for 8 bit) with raised black levels. This is a artifact of a historical implementation detail of analog NTSC television, where "blacker than black" values were used to encode blanking signals, not actual raised black levels. The minimum TV level is intended to be remapped to 0 for display on computers ("PC levels")

>That's because deep black doesn't look good at all. It's also completely unnatural. Your brain doesn't see absence of light as #000 black. Close your eyes and check if you don't believe it.

The non-zero black level of my eyes has no relation to the ideal black level of my monitor. One problem being unavoidable does not justify adding additional problems. In my and many other people's opinions, the deeper the black the better it looks. I've seen OLED displays, and the blacks look obviously better. That doesn't make up for all the other problems of OLED, but I'm not going to pretend LCD is "better" in this regard because being technically worse is somehow artistically better.

There's a whole genre of painting based around very deep blacks:

https://en.wikipedia.org/wiki/Chiaroscuro

comment 1d ago · link · parent

Can you buy OLED monitors without PWM flicker? I've never seen one. Until then, I'll stick with LCD.

comment 1d ago · link · parent

Considering all the human effort that's already gone into it, it seems likely that any P = NP result will involve a galactic algorithm with no practical use.

comment 1d ago · link · parent

While it's no Link's Awakening or Wario Land, Exodus: Journey to the Promised Land is above average for a Gameboy game. A lot of bad games were officially licensed for that platform.

comment 1d ago · link · parent

Goats are ritually clean, so the Bible claims God ordered Noah to take seven pairs.

comment 2d ago · link · parent

I'm going by the ArchWiki:

https://wiki.archlinux.org/title/Swap#Swappiness

"There is a common misconception that swappiness affects the memory threshold or prevents using swap space, but it only affects the preference for freeing up file pages over swap."

As I understand it, Linux does not preemptively evict idle anonymous or file-backed pages, only as a response to memory pressure.

comment 3d ago · link · parent

As I understand it, swappiness controls priority for evicting anonymous vs. file-backed pages. Both are equally effective at reducing memory pressure, and both are effectively "swapping". But if I'm using swap on zram then reading file-backed pages from files is slower than swapping from compressed ram.

comment 5d ago · link · parent

I think this problem is avoided with swap on zram by setting swappiness high enough (>100). Theoretically, 200 would be best, although I'm reluctant to set it to an extreme value because I don't know how well tested that is. I was previously running swappiness=160. I increased it to 180 and I'll see if I notice any difference.

comment 5d ago · link · parent

I want instant access to my rarely used pages just as much as my frequently used pages. It's only pointless to keep in RAM if it's literally never used. If we knew how to identify those pages we could just avoid allocating them in the first place.

comment 5d ago · link · parent

We had functionally complete GUIs in the 90s. If something takes more than a few milliseconds to respond after 3 decades of hardware progress there's definitely something wrong.

comment 5d ago · link · parent

Maximum swappiness is 200. Setting it higher than 100 is possibly a good idea when using zram.

comment 5d ago · link · parent

Agreed. IMO, zswap is the one that requires a "highly specific reason", while zram (with lz4) should be enabled by default.

comment 5d ago · link · parent

I never want to swap to disk. If I'm ever in that situation, it means I did something wrong, so I want my userspace OOM killer to trigger and inform me of my mistake immediately instead of wasting time and SSD endurance delaying the inevitable. But zram with lz4 compression is effectively free RAM in most circumstances, so there's little reason not to enable it.

comment 5d ago · link · parent

A UI should be reactive rather than proactive. Any state changes should be explicitly requested by the user, who naturally knows what they requested, making "informative" animations redundant.

However, there is one legitimate use for UI animations: making it easier for spectators to follow what's happening. Spectators aren't the ones making the requests, so they can be confused if things happen too fast. Most computer use is not done for the benefit of spectators, so animations should be disabled by default, but it's beneficial to have the option of enabling them.

comment 5d ago · link · parent

The vast majority of designers prefer animations. Without animations, there would be less jobs for designers. But I haven't seen any evidence that ordinary people prefer animations. Most ordinary people aren't even aware that it's possible to turn animations off, because the designers make this difficult.

comment 1w ago · link · parent

sRGB intentionally deviates from CRT characteristics to improve fidelity of colors close to black. The difference is small but noticeable in a side-by-side comparison:

https://en.wikipedia.org/wiki/SRGB#Transfer_function_(%22gam...

comment 1w ago · link · parent

>CRT phosphors have sustain

Other than some old monochrome CRTs, all CRT phosphors decay too fast to prevent flicker. You get some softening of the trailing edges of the phantom array images, but they're not actually blurred together like on a sample-and-hold display. And even the fastest CRTs have fairly low refresh rates, making it more obvious.

comment 1w ago · link · parent

The problem isn't the flicker directly (240Hz is above the flicker fusion threshold), it's the phantom array effect when you move your eyes. Static images transform into a series of overlapping images, and this can be annoying and distracting. It's visible well into the kilohertz depending on how strong your saccadic masking is. I can personally see PWM up to about 10kHz (tested using a strobing LED).

AFAIK, all OLED displays have PWM flicker, and for this reason I stick with LCD, where flicker-free displays are available (although PWM flicker is present in some LCD displays too).

comment 1w ago · link · parent

A total lack of realism is the defining feature of the franchise. Real-life spies do their utmost to avoid spectacular action sequences.

comment 1w ago · link · parent

The ball often jumps off the playfield in real pinball. It's not uncommon for it to jump high enough to hit the glass. You'll never get an accurate simulation if you simulate it in 2D.

comment 1w ago · link · parent

Measles is an airborne virus with extremely high infectivity, R0 estimated between 12 and 18, but it doesn't usually kill you.

Rabies infection is more difficult, but if you do get infected it's practically guaranteed to kill you without vaccination. It's likely possible to design viruses to resist vaccination too, e.g. splicing in human proteins to disguise them from the immune system, or using parts from a virus like HIV where we've failed to make a vaccine.

But the combination of both high infectivity and high lethality is an evolutionary dead end. Any virus that wipes out its host goes extinct too. A human-designed virus doesn't have this limitation. Look at what we've done with selective breeding in agriculture to see how much can be achieved when you optimize for things other than reproductive fitness. I'm certain that the range of physically possible viruses contains things far worse than anything naturally occurring.

Consider also that if somebody can automate virus design, they can scale it up and design hundreds of different ones. If they release them all at once humanity won't stand a chance.

comment 1w ago · link · parent

Evolution cannot optimize for maximum harm. Natural viruses only evolved to reproduce, with the harm just a side effect. Humans can combine features of multiple natural viruses. There's no obvious reason why we couldn't make something with both the infectivity of measles and the lethality of rabies, as well as resistance to all known antivirals. If something like that gets out it's probably civilization ending.

comment 2w ago · link · parent

In genre fiction, plot is usually most important, closely followed by setting, with characterization less important (stock characters are acceptable), and prose merely functional. Some genres swap the importance of plot and setting, e.g. fantasy follows the influence of Tolkien and highly values setting.

In literary fiction, the order of importance is reversed. Prose quality is paramount, closely followed by characterization, with setting existing only to serve the characters, and plot hardly relevant at all.

This on the surface makes for boring works, but prose quality actually has the highest skill ceiling of all, both for writers and readers. "Quality" in this sense means "skillfully using words in the manner of literary fiction", which is difficult to detect if you don't read it, but it's a real thing. As appealing as it to assume it's all a big scam, the best literary fiction writers really are better, and the readers can tell, just like you can detect AI slop at the other end of the scale. I imagine if you put enough effort in it's even possible to enjoy reading Finnegans Wake (the final boss of literary fiction).

Plot/setting/character have real life as a reference, making them easier to master.

comment 2w ago · link · parent

In Firefox settings menu:

Accessibility, Fonts, Advanced Settings, Allow pages to choose their own fonts.

Presumably other browsers let you do the same. I don't usually allow pages to choose their own fonts, but I turned it on specially just for this page and it looks like a normal pixel font to me.

comment 2w ago · link · parent

I recently installed "dvdisaster" from Debian. The provided version has the GUI disabled, on the grounds that it's written in GTK2. It's just a single-line configuration change, so I recompiled with the GUI enabled.

It's been a long time since I last used GTK2. I was shocked at how much faster it feels than GTK3/GTK4 apps. Load time is almost instant on my old computer, and no perceptible latency anywhere. There's no arbitrary 60fps frame rate cap like with more recent GTK versions (while running on Xorg). There are no annoying animations. GTK2 was already perfect and everything since then has been a downgrade.

comment 2w ago · link · parent

Agreed. I see it as the successor to the angular style of the Lamborghini Countach, which far more people are willing to admit looks cool.

comment 2w ago · link · parent

It was advertised as a match vs. Deep Blue. In an time before SaaS and automatic online updates, this would be understood to mean a single immutable system like any other software product. If they change it mid-match then it's a match vs. the team of Deep Blue + IBM programmers.

comment 3w ago · link · parent

Lots of new USB DVD drives are available from brands I've never heard of. But the availability of Bluray drives is so low I suspect they're only new old stock.

comment 3w ago · link · parent

Creating a centralized log is monitoring. It doesn't need write access to the defrost setting.
12345
112