HNHacker News
TopNewBestAskShowJobs

nyanpasu64

3,935 karma · joined March 24, 2020

trans rights are human rights

denying self-determination is the root of hierarchy and fascism

submissionscomments
nyanpasu64··on Exact Polygonal Filtering: Using Green's Theorem and Clipping for Anti-Aliasing
Would DLP projectors which distribute color over time (a color wheel) or multiple light sources combined with dichroic filters, produce uniform squares of color?
nyanpasu64··on Exact Polygonal Filtering: Using Green's Theorem and Clipping for Anti-Aliasing
I wonder if the ideas behind GIMP's new nonlinear resampling filters (NoHalo and LoHalo, and eventually more https://graphicdesign.stackexchange.com/q/138059) may translate to vector rasterization in some form (though here we're translating continuous to discrete, not discrete to continuous to a differently spaced discrete).
nyanpasu64··on Show HN: Pixeltune, a nicer chiptune and VGM player
Is it possible to loop a song infinitely? This is a standard feature for chiptune emulation playback programs (vgmstream, GEP, foobar2000, Audacious, Droidsound-E, etc.).
nyanpasu64··on How the SNES Graphics System Works
Near lived to see the PPU decapped, may we build a cycle-accurate PPU emulator in their honor.
nyanpasu64··on The effect of CRTs on pixel art
I think one factor is that the PS2 generally outputs 480i signals with scanlines shifting vertically every frame to fill gaps (so you don't see them unless you're tracking a vertically moving object), while many CRT shaders default to simulating a progressive signal with fixed scanline gaps.
nyanpasu64··on The effect of CRTs on pixel art
I find that LCD monitors can display incoming image data on the panel as it's being received (taking slow-motion video captures of a LCD next to a CRT both fed with a VGA distribution amp), but HDTVs generally add one or more frames of latency from image processing (for the TVs I've used, even in game mode). It's possible speedrunners still like CRT TVs because they don't suffer from pixel transition time (possibly lower on gaming and especially OLED monitors), don't require (often laggy) transcoding/scaling 480i/p video to VGA or HDMI, or because they generally don't have the off-chance that a particular monitor has image processing lag.

Also the game famous for competitive CRT tournaments is Melee rather than Brawl.

nyanpasu64··on The effect of CRTs on pixel art
Dithering certainly existed prior to CRTs, but CRTs have a unique property of scanline gaps for vertical sharpening and scanlines/composite video bandwidth for horizontal smoothing. I've found documentation of pixel artists taking CRT television properties into account, even when designing art on higher-resolution (CRT) computer monitors: https://www.tumblr.com/vgdensetsu/179656817318/designing-2d-...

> we know that many developers, graphic designers as well as programmers, used that technique, from Kazuko Shibuya (Square) and Akira Yasuda (Capcom) to the developers behind Thunder Force IV (1992) who used many CRTs to take into account the specifities of each kind of screen.

> “It’s a technique where by slightly changing the color of surrounding pixels, to the human eye it looks like the pixels move by around 0.5 pixels.” explains Kazuhiro Tanaka, graphic designer on Metal Slug (1996). His colleague Yasuyuki Oda adds that "Back in the old days, we'd say [to our artists] "add 0.5 of a pixel", and have them draw in the pixels by taking scanlines into account. But with the modern Full HD monitor, the pixels comes out too clearly and too perfectly that you can't have that same taste."

nyanpasu64··on The effect of CRTs on pixel art
As I understand, the OSSC Pro is significantly cheaper for most of the feature set, while the RT5x and OSSC provide varying feature sets (the OSSC only has a line buffer, not framebuffer, which affects the resolutions it can output).
nyanpasu64··on The effect of CRTs on pixel art
I'm guessing the blur in the SMRPG Peach screenshot comes from a combination of an out-of-focus camera shot of phosphors, and possibly an older 2-PPU SNES's slow color transitions due to flawed silicon design. I don't see any composite artifacts but don't know if the image is RGB or S-Video.

> When it comes to computer screens, there are always two resolutions involved: the one produced by the computer, such as 320x200, and the dot pitch, or "dots per inch", of the screen proper.

The fun thing about CRTs is that there's always more things affecting resolution, like spot size (PVMs/BVMs and their narrow spots made interlacing more obvious) and amplifier bandwidth (if you run at a high enough hsync rate, you can get horizontal blur because the electron gun changes brightness slower than once per phosphor).

As I understand, 320x200/240 on a VGA monitor is actually line-doubled because VGA cards and displays can't take hsync rates below 30 kHz. This can be seen in your Duke Nukem 3D screenshot if you watch the source video, switch to 4K resolution, and zoom into the HUD or main screen. Line-doubling affects the appearance of pixel art in complex ways (taking it partway to how a LCD would look with blocky pixels, you've said later in the article it looks "basically as crisp and blocky").

Even among VGA monitors, the same resolution can look different; my newer VX720 has sharper focus (a smaller spot size) with visible gaps at 640x480 (and even faint gaps up to 1024x768), while I didn't see any scanline gaps in the Scandisk section of the video, even when I could make out phosphors.

nyanpasu64··on How to debug your battery design
Can you use energy batteries to recharge power batteries which handle transients, or install them in parallel?
nyanpasu64··on Windows recovery environment and bootable USB creator in 200kb
It's sad that so many projects simply stopped updating a decade or more ago... the first 90% of work is building a USB loader and the second 90% is maintaining it, and neither the author nor I want to figure it out. I read online that SNEEK lets you screenshot games... it doesn't work (wrong filesystem? neek2o and sneek have a different feature set?). Also god all those Exception (DSI) and learning a decade later they were segfaults... yummy memory-unsafe embedded programming.

I found that ModMii leaked some global variables from a (failed) SNEEK install to a system menu mod('s help file), and being written in Batch certainly explains things...

nyanpasu64··on A cheap barcode scanner helped fix CrowdStrike'd Windows PCs in a flash
IIRC SDIO sources drivers from various motherboard, peripheral, and prebuilt/laptop vendors (not always the same company that made your laptop!), and does not always pick the latest/best version or the right driver for a peripheral. Personally I use it when I can't find a driver myself, and it often finds a working driver (but possibly not always).
nyanpasu64··on Cure for male pattern baldness given boost by sugar discovery
Sorry for bringing it up.
nyanpasu64··on Cure for male pattern baldness given boost by sugar discovery
Alternatively it might be worth trying sublingual, turning pills into stickies for extended-release direct absorption (https://stickies.neocities.org/stickies though I suspect the author dosed low), or switching/supplementing with other routes of administration (you mentioned injections).
nyanpasu64··on Postgres major version upgrades with minimal downtime
Why doesn't postgres automatically (or with one-click confirmation) update all databases on startup when it discovers databases from a previous major version?
nyanpasu64··on Foliate: Read e-books in style, navigate with ease
A Kindle is a physical device and a tab is a tablet (I initially thought it was browser tab)? My family sat/stepped on two Kindles (crushing the screens to oblivion) growing up and nobody has dared buy another one since; I don't know if it's time to reconsider.
nyanpasu64··on My daughter (7 years old) used HTML to make a website
:( Cloudflare automatically adds client-side JS analytics in pages it serves, unless you opt out: https://community.cloudflare.com/t/how-to-remove-analytics-t...

Though uBlock Origin blocks the JS tracker already.

nyanpasu64··on XLSTMTime: Long-Term Time Series Forecasting with xLSTM
I misread this as XSLT :')
nyanpasu64··on WebVM is a server-less virtual Linux environment running client-side
Can we port Adobe Flash to WebVM to avoid having to pay for "CheerpX for Flash"?
nyanpasu64··on Real-time audio programming 101: time waits for nothing (2011)
For context switch timestamps would I be using something like perf on Linux?

Would buffer level checking entail, eg. checking snd_pcm_avail() when my audio code begins and ends (assuming I'm talking directly to hardware rather than PipeWire)? Dunno if PipeWire has a similar API considering it's a delay-based audio daemon and probably checking snd_pcm_avail when a client requests would slow it down.

nyanpasu64··on Real-time audio programming 101: time waits for nothing (2011)
How do you measure scheduling jitter of audio drivers and userspace? I hear real-time priority or kernels improve latency? (There was some controversy about Ubuntu Studio or something switching to RT kernels with more missed deadlines than RT-PREEMPT, but I don't know how to quantify this stuff.)
nyanpasu64··on Real-time audio programming 101: time waits for nothing (2011)
Is it still the case that cpal doesn't support "synchronous" duplex audio where the program inputs audio from a source and outputs it to a sink (either with feedback or outputting unrelated audio), with an integer number of periods (as little as 2) of software-level latency if you copy source buffers to the sink? Last time I used it, each stream is opened in input or output mode and opening both does not run with any guaranteed timing relation.
nyanpasu64··on A New Age of Materials Is Dawning, for Everything from Smartphones to Missiles
I looked it up on Wikipedia (https://en.wikipedia.org/wiki/Bakelite) which said:

> Because molded Bakelite incorporated fillers to give it strength, it tended to be made in concealing dark colors.[9]

nyanpasu64··on State of Text Rendering 2024
I think the author could've used "Publish to web" instead of preview mode, for a more accessible article view with better font rendering and keyboard control (though it changes image size and breaks right-aligned text).
nyanpasu64··on Ladybird Web Browser becomes a non-profit with $1M from GitHub Founder
The AI-generated laptop images with incoherent logo and keys are the cherry on the soullessness.
nyanpasu64··on A Git story: Not so fun this time
FYI Mercurial's developer is now known as Olivia Mackall; sadly the Google infobox has failed to pick up the updated information.
nyanpasu64··on How Cathode Ray Tubes Work [video]
The input signal combines video amplitudes (positive voltages) and sync pulses (negative voltages) which tell the CRT when to move the beam around. Technically composite video is AC-coupled so I'm not sure how sync pulses are actually identified (but video brightness is relative to the porch voltage right after a sync pulse). Not sure if antenna TV RF signals are DC or AC coupled.
nyanpasu64··on The biggest CRT ever made: Sony's PVM-4300
My assumption is that IDTV is deinterlacing a 480i signal to 480p, which is shown on a CRT running at 31khz (though I don't know what algorithms it would use to deinterlace).
nyanpasu64··on The biggest CRT ever made: Sony's PVM-4300
My impression is that projection TVs reflect/diffuse even more of ambient light than regular CRTs, making black areas of the image look gray (regular CRTs already reflect more light than LCD-like monitors, though CRTs could be tinted to improve contrast at the cost of brightness).
nyanpasu64··on Bouba/kiki effect
Sometimes you have to be the Kiki to keep the other Kikis from walking over you.
← PreviousPage 6 of 34Next →