HN user

JoshTriplett

50,786 karma

Email: josh@joshtriplett.org

Fediverse: https://social.joshtriplett.org/@josh

Twitter: @josh_triplett

GitHub Sponsors: https://github.com/sponsors/joshtriplett/

Homepage: https://joshtriplett.org

FOSS developer. Rust Project developer on the language, library, and Cargo teams.

Posts800
Comments10,093
View on HN
compilade.net 8d ago

How to pack ternary numbers in 8-bit bytes

JoshTriplett
107pts50
devblogs.microsoft.com 3mo ago

It rather involved being on the other side of this airtight hatchway (2006)

JoshTriplett
5pts1
tenstorrent.com 6mo ago

TT-Ascalon – RISC-V CPU

JoshTriplett
5pts0
uapi-group.org 8mo ago

`dlopen()` Metadata for ELF Files

JoshTriplett
3pts1
iotic.com 8mo ago

Avería: The Average Font (2011)

JoshTriplett
233pts50
fightchatcontrol.eu 9mo ago

Fight Chat Control – Protect Digital Privacy in the EU

JoshTriplett
3pts2
max-inden.de 9mo ago

Fast UDP I/O for Firefox in Rust – Max Inden

JoshTriplett
5pts0
babelmark.github.io 11mo ago

Babelmark3 – Compare Markdown Implementations

JoshTriplett
3pts0
bsky.app 11mo ago

UK government states that 'safety' act is about influence over public discourse

JoshTriplett
202pts286
www.techdirt.com 11mo ago

The UK's Online Safety Act Is the Privacy-Crushing Failure Everyone Warned About

JoshTriplett
11pts0
en.wikipedia.org 1y ago

Preparedness Paradox

JoshTriplett
5pts1
www.rtems.org 1y ago

Rtems DevKitPro/LibOGC Copying of Code Without Attribution

JoshTriplett
1pts1
gyrovague.com 1y ago

Crashes Only on Wednesdays (2015)

JoshTriplett
2pts0
github.com 1y ago

BoringSSL is now Apache 2.0, like OpenSSL

JoshTriplett
2pts1
ziplyfiber.com 1y ago

Bell Canada to Acquire Ziply Fiber

JoshTriplett
2pts0
www.lieffcabraser.com 1y ago

Academic Journal Publishers Antitrust Litigation

JoshTriplett
3pts0
gizmodo.com 1y ago

CMG pitch deck on listening to your conversations to target ads

JoshTriplett
27pts5
flyingcarcomputer.com 2y ago

Strategy for EU Bootstrapping Hardware Startups: Don't Sell to Anyone in EU

JoshTriplett
44pts29
www.aprilcools.club 2y ago

April Cools' Club

JoshTriplett
4pts0
blog.rust-lang.org 2y ago

Changes to `u128`/`i128` layout in Rust 1.77 and 1.78

JoshTriplett
20pts2
joeyh.name 2y ago

Thread Patterns

JoshTriplett
3pts1
en.wikipedia.org 2y ago

Noether's Theorem

JoshTriplett
9pts0
xol.io 2y ago

Vcc: The Vulkan Clang Compiler

JoshTriplett
15pts1
foundation.rust-lang.org 2y ago

Improving Supply Chain Security for Rust Through Artifact Signing

JoshTriplett
5pts2
cordcuttersnews.com 2y ago

Ziply Fiber Launches 50 Gbps Fiber Internet Service

JoshTriplett
2pts0
roalddahl.fandom.com 2y ago

The Great Automatic Grammatizator (Roald Dahl, 1954)

JoshTriplett
3pts1
siderea.dreamwidth.org 2y ago

The Asshole Filter

JoshTriplett
6pts1
headrush.typepad.com 3y ago

Don't make the Demo look Done

JoshTriplett
2pts0
techxplore.com 3y ago

Chance discovery could extend batteries: replace tape that causes self‑discharge

JoshTriplett
3pts0
cohost.org 3y ago

How to destroy a certificate authority in one month

JoshTriplett
276pts151

I use "| while read" as well, because it works well in a pipeline and handles embedded spaces. It doesn't handle embedded newlines, but in practice, real files have embedded spaces, while embedded newlines only happen in test cases and exploits. (You can do actual NUL-delimited reads with `-d ''`, but for a quick command-line operation that's generally not necessary, and if you're going to be that careful you probably also need `-r`.)

It's cute. But the reaction time on some of the controls is so awful. If I click and drag the slider control back and forth, it lags behind the mouse cursor substantially. It should feel like it's stuck to the mouse cursor like glue.

By contrast, most of the other controls do seem to stick to the cursor, such as jelly-resizable.

Also, the "Placeholder" control seems to fail to actually make the placeholder disappear when clicked in.

It's fascinating that you are attempting to portray a comment as authoritarian that is arguing people should not enforce their false beliefs on others and should not restrict their bodily autonomy. It's literally an argument against being authoritarian.

Kimi Work 2 days ago

As opposed to all the shameless copying of all the training data without any respect for its licenses or attribution?

"You're trying to kidnap what I've rightfully stolen!"

We don't need to argue about whether it is in fact murder

That's exactly the problem: we do. Not here, specifically, but if someone's false beliefs have grown to the point that they are hurting others over them, they need to be stopped.

Very much appreciating the sentiment in the article.

Is it just me, or is there some kind of unusual photo editing going on in the photo at the bottom of the article? Something looks uncanny valley, related to the bottom of the box on the left side of the photo, and related to the background. Did some kind of "erase background" mechanism go wrong here?

I always hated how the "Login" button is smaller on every website than the "Sign Up" button.

I always assumed that was because it's the least common flow. Once you've signed up, you're logged in, so the only time you should ever need the "login" button is on a new computer, or after logging out to switch accounts, or if the service offers a "remember me" checkbox (don't do that) and doesn't check it by default (definitely don't do that), or if the user genuinely wants to not be remembered (e.g. they used private browsing).

If you're having to use "login" on any regular basis, something in the overall flow needs improving.

Many people want surveillance on other people that they're afraid of, or have been told to be afraid of. Some openly want to try to establish that asymmetry. Others are willing to unthinkingly submit to surveillance themselves as long as it surveils their perceived enemies.

No, and this is one of the first things that tends to come up in any guides on how to read more quickly: reading without internally vocalizing, in order to not limit reading to the speed of vocalizing.

Some people can switch back and forth between both readily, and use them for different purposes. Some people read only in one or the other mode.

Yes, exactly. And USB enumeration has the advantage of being extremely standard and making it easy to extend by adding additional devices rather than changing the data stream to the existing devices.

Emphatically not. I want the head unit to act as a dumb terminal for the phone. My first instinct would be a USB-C docking station supporting DisplayPort video, various interesting USB devices, and a descriptor that makes it clear it's a car's head unit so the device can intelligently offer a car-specific experience.

there are companies with amazing software experience

I don't want an amazing software experience. I want an unsurprising experience, ideally the one I already have.

The only thing better than Android Auto would be to just provide a standardized port (and perhaps a wireless standard) for a combination of video output, audio output, touchscreen input, and charging, with optional standardized sensor inputs. Then you wouldn't need two different standards (Android Auto and Apple Carplay), just one, which would also work with any new device that came along to break that duopoly.

Someone in auto industry decided that plugging device, and dependency on core functionality of the car to 3rd party device, that might be lost, have battery died, used for something else, etc is a good way to save money and not do proper software.

On the contrary, having cars stop trying to provide a bespoke more-proprietary outdated piece of software you have less control over, probably have surreptitious telemetry reporting back from, and might have to pay a subscription fee for, and instead just delegate to the smartphone you already have, is a huge and surprising win.

It's good that there are some companies, that ban android/apple car since that's an ugly experience for the user.

It's a terrible user-hostile loss when cars do that, typically because they want to maintain more control or try to extract more revenue from the user.

If you don't want to use it, don't use it; there's nothing forcing you to do so.

People with bad takes like that give homeschooling a terrible name, and make it easier for those regularly trying to dismantle it. It's an excellent tool for responsible parents, and a horrible weapon in the hands of zealots.

I am thankful to have had extensive access to technology as a (homeschooled) kid, and parents who encouraged curiosity.

Destroy "optimize for engagement" social media, which harms everyone, and stop pretending like this is some problem that only harms children.

I’m convinced that updating so much more often is worse, not better.

The issue of cooldowns aside (which is about delaying updates, not reducing their frequency): you're going to have the same set of problems when you update, whether you do it frequently or infrequently. The difference is that if you update frequently, you'll have a smaller set of updates (so it's easier to debug) and you'll have more opportunity to report issues upstream and fix them in a timely fashion.

It's the same underlying problem as CI and build time. Most people abandoned the concept of projects that take so long to build you can only do testing once a week, because CI that runs on every PR provides a much better experience. This is the same lesson applied to updates.

I'm aware of why it happens, but the net effect is the same. No device powered by AA/AAA is in practice going to be able to detect battery charge level correctly. Combine that with the annoyance of separate chargers versus integrated USB-C, and the result is that I never want to use non-integrated rechargeable batteries. (In practice, I also prefer to avoid devices that use AA/AAA/etc at all, for some of the same reasons.)

I do wish more devices supported hot-swappable rechargeable battery packs. My headset does that.

But in the absence of that, I'll take USB-C and the ability to charge while actively using. I find that useful even for wireless gamepads, because then I can attach them to a generic charger on one side of the room, and not run a cable across the room to the console/TV area, because the communication is still wireless and only the power isn't.

On mobile it's rare for apps other than web browsers

One more reason I'd rather have a site than an app: because I can open multiple copies, open a link in a new tab, open different installations of the same site, and all the other things that browsers automatically support.

I'd much rather keep rechargeable AA(A)s on hand for that kind of stuff.

https://www.amazon.com/s?k=rechargeable+aa+batteries+usb+c

But in practice, I greatly prefer devices with integrated batteries, because they're more likely to be able to give me useful feedback about the battery level (e.g. a reliable low-battery indicator), rather than just winding down, or having a low-battery indicator with only a passing correlation to reality.