HNHacker News
TopNewBestAskShowJobs

leguminous

532 karma · joined December 1, 2018

submissionscomments
leguminous··on A 17th-century font in a 21st-century thesis
I assume the author picked up the quotation mark habit from LaTeX. Backticks and apostrophes (single or double) get rendered as proper left and right quotation marks. It's also possible this was copy+pasted from a LaTeX source and they forgot to fix the quotation marks.

The italics on the page are also missing, for me at least. I am seeing them as obliques. The upright roman face is tilted, rather than using the separate set of italic glyphs. Some systems do this if the italic glyphs can't be found or something is misconfigured.

leguminous··on Pixel-Perfect retro gaming on LCD 480p EDTVs
The problem with a solution like this is that you are limited to square pixels. Not all games and systems used square pixels, because CRTs didn't really _have_ pixels, only scanlines. Their vertical resolution was discrete, but their horizontal resolution was continuous as they displayed an analog signal.

For example, most SNES games ran at 256x224 (and were slightly letterboxed to fit the roughly 240 lines on a 4:3 NTSC CRT, though the border generally disappeared in the overscan area). The pixels were taller than they were wide.

Kirby's Dreamland 3 on the SNES ran at 512x224. Pixels were much wider than they were tall.

The original Doom ran at 320x200 in VGA mode 13h. It was not letterboxed but displayed in 4:3 on CRT monitors, so pixels were narrower than they were tall.

leguminous··on NHTSA: Car crashes cost Americans $340B
I'm not an economist, but this sort of situation has been considered since the 1800's and is sometimes known as the broken window fallacy:

https://en.m.wikipedia.org/wiki/Parable_of_the_broken_window

Basically, society is better off using that money for something actually productive, rather than just repairing damage.

> Whence we arrive at this unexpected conclusion: "Society loses the value of things which are uselessly destroyed;" and we must assent to a maxim which will make the hair of protectionists stand on end – To break, to spoil, to waste, is not to encourage national labour; or, more briefly, "destruction is not profit."

leguminous··on Tell HN: Cloudflare verification is breaking the internet
I use Firefox on Fedora as well, but with Xfinity (IPv6 support and no CGNAT). I have to solve a lot of CAPTCHAs, but it always lets me through.
leguminous··on Intel exiting its longtime server business
Intel actually exited the SSD (and NAND flash) business. It was sold to SK Hynix and renamed to Solidigm.
leguminous··on Sex worker-led payment platform shuts down after being cut off by processor
RJ Reynolds is a tobacco company.

EDIT: Never mind. I see that the previous poster had confused the two and linked to the consumer products company, not the tobacco company.

leguminous··on Apartment rents fall as new supply hits market
I just want to point out that, in the US, it is illegal to not rent to families. More specifically, it is illegal to discriminate based on familial status. Whether anyone is actually enforcing that in a particular area may be a different matter.
leguminous··on ECC RAM should be a human right
What's really annoying is that the current generation of Intel CPUs support ECC, they just don't implement it in consumer chipsets. You can get working ECC with a W680 motherboard, but those are very expensive and availability is slim.
leguminous··on The CPSC is on a mission that has nothing to do with safety
My own anecdotal experience is that in America, very few homes have hoods that vent to outside the building. I have lived in one LEED certified apartment building that had one, and even that had issues with the exhaust backing up because they needed to clean the exterior grille (it vented next to the dryer vent). In single family homes I have generally seen them in high end subdivisions or custom builds. I believe the code in some areas is getting stricter and they are starting to become more common, but they seem rare in existing housing stock.

I see a lot of recirculating range hoods, but they do nothing for combustion products. They only trap some of the aerosolized grease from frying and sautéing.

leguminous··on The CPSC is on a mission that has nothing to do with safety
What kills the efficiency of gas stoves is not converting gas to heat, it's getting the heat into the pan. Induction stoves heat the pan directly. Gas stoves heat the air, which then has to heat the pan. Inductions stoves can be 90% efficient while gas is more like 40% [1]. Even if your electric company is using gas to generate electricity, generation and transmission losses can be low enough that you'd actually use less gas to power an induction stove than a gas stove.

What complicates things somewhat is that the extra energy goes into heating your house (if it is not effectively removed by a venting range hood). In the winter you may not be concerned about that, but in the summer it means you would spend more on air conditioning.

[1] https://www.aceee.org/files/proceedings/2014/data/papers/9-7...

leguminous··on The CPSC is on a mission that has nothing to do with safety
> Most of the problems with indoor pollution can almost certainly be more cheaply mediated by adding building codes requiring venting range hoods.

I would guess that adding range hoods is more expensive than switching everyone to electric stoves. Existing structures often have no provisions for venting to the outside and would often require very expensive retrofits. It would require opening up the ceiling to add ductwork, potentially building soffits if there isn't enough room in the ceiling, placing a vent in the exterior, etc. Range hoods above a certain CFM also require provisions for make-up air. In new construction, obviously the costs are different, but the cost difference between a gas and electric stove is also minimal.

Venting hoods would solve a lot more problems, though. Cooking on an electric stove or in an electric oven still generates a lot of particulates that I'd rather not subject everyone in the house to. Not to mention making everything smell like whatever I'm cooking for the next day. Personally, I'd rather have induction and a venting range hood.

> The fact that (as far as I have understood, can't find the link) the vast majority of US homes do not have a hood that vents to the outside is crazy. This should be the default for all new construction.

I agree and I think we are starting to see some areas move in this direction. But even if it was mandated today, most people wouldn't have venting range hoods for decades to come because they live in older buildings. I think we need incentives to retrofit buildings with better ventilation.

leguminous··on Usbc.wtf – an article and quiz to find the right USB-C cable
Maybe someone who understands the specs better can add more information, but as far as I can tell from Wikipedia, USB4 supports DP in two different ways: tunneling and alternate mode.

When tunneling, you are limited to DP 1.4a and wouldn't be able to do 8k/60Hz without compression (which is also optional, I believe). In alternate mode, which essentially runs DP over the USB cable without wrapping the protocol, you can use DP 2.0 and should be able to do 8k/60Hz. 8k/60Hz requires more than 25.92 Gbit/s (which is what you get in DP 1.4 HBR3, 32.40 Gbit/s including the encoding symbols), so I assume the alternate mode is not actually limited to the 40 Gbit/s bandwidth of USB4. Because it is unidirectional, I believe it can use up to 80 GBit/s.

It looks like Thunderbolt 3 only supports DP 1.4 (optionally, only 1.2 is mandatory), and you'd be limited to the same speeds as tunneling in USB4.

Honestly, if we are confused about this then I have no idea how the general public can be expected to know what their ports are capable of.

leguminous··on French startup unveils new residential thermo-acoustic heat pump
I'm curious, where did you get a heat pump that uses R744? As far as I know, none of the major manufacturers offer one for residential use. I'm also curious about how well it works for you.
leguminous··on How Southwest Airlines melted down
What would be a more resilient mode of transportation? Few people would take a train from Chicago to Miami, for example. That's something like 1200 miles (2000km). Traveling from LA to NYC is like traveling from Lisbon to Moscow (2500mi/4000km by air).

The US should definitely have more rail--and higher speed rail--but that is only practical in select areas with enough population density. Many of the people in those areas could drive to where rail would service.

leguminous··on Non-ECC memory corrupted my hard drive image [video]
Checksums don't save you from memory corruption. If your data gets corrupted in memory, you will just end up checksumming and committing bad data. Or your checksum could get corrupted, and you commit a checksum that doesn't match your data. Checksums are more useful for safeguarding against disk or network corruption (although you shouldn't have network corruption issues over TLS or SSH).

Apparently Ryzen 7000 cpus can use ECC. I've heard reports that AMD needs to release an AGESA update, though, and ECC DDR5 memory availability is terrible. I'm hopeful that the situation will improve, because I also want to update my desktop. I've been using ECC memory since losing a filesystem on a desktop when a DIMM went bad.

leguminous··on A shader for sharp pixels (2017)
It might also be worth noting that the SNES used non-square pixels. CRTs didn't really have a discrete horizontal resolution, so they could stretch the 8:7 image about 17% horizontally to 4:3. In other words, each pixel had a 7:6 aspect ratio. On an LCD, it's difficult to do this and still get all the pixels in the grid without any blurring or wobble. Even if you choose the vertical resolution as an exact multiple of 224, the horizontal resolution often won't be quite right. I believe 896x672 is the smallest resolution that will work exactly (for displaying 256x224 with 7:6 pixels).
leguminous··on Gzip exceptions, but only on hot or rainy days
I noticed this when I was playing guitar and using my laptop at the same time. The strings and bridge on an electric guitar are grounded. When I had my arm touching the bridge and I put my hand on the MacBook's case, I would get a mild shock.

I measured the voltage difference and, if I recall correctly, it was something like 20V. I started using the 3-prong adapter and haven't had any more issues.

leguminous··on Ask HN: Can competitors catch up to Apple Silicon?
Intel's stated TDPs are not accurate representations of how much power a chip actually uses. You can see in some of these Blender benchmarks the 12900k hitting >230W average:

https://www.tomshardware.com/reviews/intel-core-i9-12900k-an...

It's very workload-dependent, so it's difficult to say how much power a chip will draw in general. It's clear that Intel is still a bit of an energy hog, though.

leguminous··on Robertson vs. Torx screw drives (2021)
Pretty much the only place you see Pozidriv in the US is Ikea furniture. Almost nobody realizes that it's different from Phillips, which results in some mildly frustrating experiences putting together furniture with the wrong screwdriver. I bought some Pozidriv bits just for Ikea stuff and they work much better.

Another similar situation is bicycle derailleurs. Many older Shimano derailleurs have JIS adjustment screws. They are just similar enough to Phillips that it seems like it's working, but it's very easy to damage the screw head. I have heard that they moved to Torx recently.

leguminous··on No Refrigerant Left Behind
Venting R600A (isobutane) isn't really the problem. This stuff gets vented from things like backpacking stoves fairly regularly. R410A is what's used in most modern HVAC equipment and it has a GWP of around 4000 (it's complicated because it's a mix of two refrigerants). 3000g of R410A might be in a small to moderate-sized system.
leguminous··on Contra Wirecutter on the IKEA air purifier
Wirecutter seems to make a big deal of the fact that the IKEA purifier doesn't use a "true HEPA" filter. As far as I can tell, neither does the Blueair purifier that is one of their top picks. Blueair claims to use "HEPASilent Ultra," while carefully avoiding claiming that their filter meets HEPA standards.

> HealthProtect™ is equipped with HEPASilent Ultra™, our most advanced filtration technology ever. Every component is uniquely designed in Sweden to provide the maximum performance and energy efficiency. This patent-pending technology combines electrostatic and mechanical filtration to remove 99%⁴ of bacteria and remove dust, pollen, dander, mold, VOCs, and odors. HEPASilent Ultra™ delivers 50% more clean air⁵, uses 55% less energy and has a 10% lower noise than traditional true HEPA filtration⁶.

https://www.blueair.com/sg/healthprotect-family-page.html

As an aside, for air purifiers and some other items I've found the energy star site useful:

https://www.energystar.gov/productfinder/product/certified-r...

There are actual measurements and you can sort by several categories. The manufacturers submit the measurements themselves, but the tests are at least supposed to be standardized. And they actually display the wattage used by each purifier. The electricity running costs can make up a large portion of the total cost of ownership of an air purifier if you have it running consistently.

leguminous··on Firefox DNS-over-HTTPS
I used to have Spectrum "community wifi" (their service for apartment buildings). They were doing this as of last year. They even spoofed responses from root servers, which utterly broke things like `dig +trace`.
leguminous··on Adafruit requires 2FA to prevent bots buying out Raspberry Pi
As far as I know, you can place a backorder with Newark or Allied.
leguminous··on Tell HN: Gnome on Wayland Is Amazing
I don't know a lot about the graphical stack, window servers, etc. All of my professional work has been on systems with no graphical components. I am trying to understand what you are pointing out. Is it that there is no separate "Wayland service" in the way that there is an Xorg service? That Wayland is just a protocol? Is using Mutter as a Wayland display server not "GNOME on Wayland," even if there is no separate service running?
leguminous··on Tell HN: Gnome on Wayland Is Amazing
I had to go back to GNOME on Xorg. GNOME on Wayland won't run my 4k display at a consistent 60Hz, which results in horrible issues in games and emulators, as well as massive numbers of dropped frames in 50/60Hz videos. It is set to run at 60Hz in the display settings, but actually seems to run somewhere in the 50s.

The easiest way to see this is checking the "stats for nerds" while watching a 60fps YouTube video and noting the persistent dropped frames. glxgears also doesn't maintain a consistent framerate.

This doesn't happen in Sway, so I can only assume there is some bug in Mutter that has persisted across several versions of GNOME and Fedora. So Wayland might be great, but my experience with GNOME on it has not been.

leguminous··on AMD Fires Back with 7 New Chips
The differences between the 5600 and 5500 are interesting. The $199 5600 has 6 cores, 32MB of L3, no GPU, and uses the chiplet packaging. The $159 5500 has 6 cores, 16MB of L3, a disabled/fused off GPU, and is one larger, monolithic die.

I thought the chiplet packaging was supposed to result in lower costs due to better yields on smaller dies? I guess the extra cache takes up more than enough die space to make up for that?

leguminous··on Newer TP-Link Routers send large volumes of requests to Avira servers
A Raspberry Pi 4 can route at gigabit speeds, even with a USB3 nic.[1]

There is also a router board for a CM4 module that adds a second nic through PCIe.[2] The nics still aren't super nice but they are more than good enough for a home router.

The problem is that you can't actually buy a Raspberry Pi right now due to supply chain issues, and that may not change for a while.

[1] https://forum.openwrt.org/t/rpi4-routing-performance-numbers...

[2] https://www.dfrobot.com/product-2242.html

leguminous··on New York City bans natural gas in new buildings
> until a new type of electric heating is invented/popularized, there will be higher costs

I wouldn't be surprised if electric heat pumps were already cheaper to operate than gas furnaces in many places. Especially in temperate areas like Menlo Park. They are being installed all over the American south.

In areas where people want air conditioning anyway, upgrading to a unit that heats as well is a minor expense.

leguminous··on The FDA wants you to be able to buy a hearing aid without a prescription
Optometrists treat infection and disease, and can work in hospitals as well. My fiancée is an optometrist who did her residency in a hospital and has worked in hospital systems.
leguminous··on Decoding AVIF: Deep dive with cats and imgproxy
I have had the same thought. Why not do away with chroma subsampling and just compress the chroma planes more heavily than the luma plane? Does heavy compression perform worse than just throwing away 3/4 of the data?
← PreviousPage 2 of 4Next →