HNHacker News
TopNewBestAskShowJobs

ripley12

1,572 karma · joined April 24, 2015

reillywood.com
submissionscomments
ripley12··on How SQLite Helps You Do ACID
> After that, 510 bytes are used for the SHARED lock. A byte range is used here to accommodate older Windows versions with mandatory locks.

I was curious how old, and... wow, that code is for Windows versions that predate the NT kernel (Win95/98/ME). I'm surprised that it's still around, but the comment does a great job of explaining it.

https://github.com/sqlite/sqlite/blob/3cf46ee508e97b46736a26...

ripley12··on Marc Andreessen says he’s for new housing, but records tell a different story
Absolutely none of those things affect the basic, true premise that more homes (i.e. supply) -> lower prices.
ripley12··on “Code” 2nd Edition Now Available
Ah, that's unfortunate. My (wild, speculative) guess is that he's left that part of his career behind, after he was burned by the Windows team dropping the ball on native development multiple times.
ripley12··on “Code” 2nd Edition Now Available
It's not especially related to Code, but Charles is one of the all-time greats in Windows programming.

I'd love to hear his thoughts on the current state of Windows: what's going well, what should be done differently.

ripley12··on Marc Andreessen says he’s for new housing, but records tell a different story
Density is just a side effect of building more homes (housing supply goes up in a given area -> density goes up). The effect of supply on price is, well, unambiguous.
ripley12··on Marc Andreessen says he’s for new housing, but records tell a different story
A single spoonful won’t fill me, so why bother eating?
ripley12··on Programming languages endorsed for server-side use at Meta
clap adds about 300kb with my usual release mode profile (lto = true, opt-level = 'z', panic = 'abort', strip = true). Bigger than I would like but for most projects I'm OK taking the binary size hit for nicer ergonomics and more features than argh.
ripley12··on Programming languages endorsed for server-side use at Meta
> Does anyone really think there is an advantage Rust brings here over everything else -- Golang, Python etc.

Yes! IMO building CLI tools is one of Rust's sweet spots for a few reasons:

- Rust is great at building small, fast, statically linked executables. Python and a lot of other languages are not.

- Rust has excellent cross-platform support. The stdlib and crate ecosystem do a remarkable job of building abstractions that work across *nix OSs and That Other OS. Go's Windows support is relatively mediocre IMO.

- The `clap` arg parser is great

Ultimately I think the proof is the large number of very high-quality CLI tools written in Rust (things like bat, ripgrep, fd, watchexec). They were kind of a gateway drug for me; I first got into Rust because so many of my favourite CLI tools were written in it, and I wanted to compile/tweak them.

ripley12··on Ask HN: Can I see your cheatsheet?
On a related note: has anyone used a good tool for using/inserting these kinds of custom snippets? It would be neat to have a snippet manager with quick search bound to a keypress.
ripley12··on The SQLite Code of Ethics
> I’ve felt welcome to contribute to every other open source project out there

This is strange to me, because... we're not welcome in every other open source project. Many open source projects are maintained by a single person or a small team and are not particularly interested in accepting changes from outsiders. SQLite is one of those; they generally don't accept contributions.

ripley12··on The SQLite Code of Ethics
SQLite generally doesn't accept contributions. "Open-Source, not Open-Contribution" https://www.sqlite.org/copyright.html
ripley12··on The SQLite Code of Ethics
I'm not religious but I've always liked this; it's fun to think of the SQLite developers as a small monastery. If monasteries can produce beer for the world (see: the Trappists), why not software?
ripley12··on Mold/macOS is 11 times faster than the Apple's default linker to link Chrome
Apple and Microsoft should really throw some money at Rui; Mold is a massive improvement to developer experience, and the sooner it's ported to their platforms the better.

I find myself defaulting to Linux for Rust development these days, mostly because Mold makes the inner loop of development so much faster.

ripley12··on Cross-compiling binaries for Windows is easier than building natively
That post by Scott Hunter was a way to save face after Liuson backed down. It is absolutely not truthful about the original reason for removing dotnet watch, and was widely criticized as such at the time. Please trust me on this; the whole dotnet watch drama consumed my life for a good week when it happened.

If you want a source from the .NET team, Miguel de Icaza has since quit Microsoft and is able to be more open about what's going on: https://twitter.com/migueldeicaza/status/1537178691218046976

Even during the dotnet watch drama, he was willing to endorse a very critical take at odds with the public line: https://twitter.com/migueldeicaza/status/1451902388290392073

ripley12··on Internet Archive opens Vancouver headquarters, meeting space for the tech world
> The article says 500K people work in tech.

No, it doesn't.

ripley12··on Cross-compiling binaries for Windows is easier than building natively
> This is not even true.

It is absolutely true. The CLI-first `dotnet watch` was pretty much done (I was using it in preview for months beforehand), and it was cut to promote hot reload as a Visual Studio feature.

Source: I'm the person who raised the initial GitHub issue about the dotnet watch change, and I talked to multiple Developer Division employees off the record. It was a deeply unpopular move that came from the top (Julia Liuson).

ripley12··on Ask HN: Best dev tool pitches of all time?
This. Bret Victor’s Inventing on Principle talk changed my life.

And the funny thing is, he’s not pitching a tool or even his own specific principles; it’s largely a talk about how you can work toward a cause of your own choosing. But Bret’s principle and the tools he built to demonstrate it are so compelling that they’ve lived in my head rent-free for years.

ripley12··on Internet Archive opens Vancouver headquarters, meeting space for the tech world
Your link does not seem to support that assertion. I am very doubtful that a quarter of BC’s workers are in the technology sector, however you define it.
ripley12··on Tauri 1.0 – Electron Alternative Powered by Rust
Depends on the linker, no? My understanding is that mold is able to parallelize much better than the the default Rust linker.
ripley12··on Is there a maximum size for Windows clipboard data?
It's interesting how The Old New Thing is clearly a passion project for Raymond, but it's also an essential part of Windows documentation. I've run into a lot of situations where Raymond's blog is way more useful than the official docs.
ripley12··on Terminal.Gui – Cross Platform Terminal UI Toolkit for .NET
I write a lot of .NET software that runs on Linux and for console apps, startup is generally comparable to Go - the impact of the JIT on startup times is greatly exaggerated in my experience.

I'm less familiar with startup times for ASP.NET services, maybe that's the difference.

ripley12··on Terminal.Gui – Cross Platform Terminal UI Toolkit for .NET
FWIW, whenever I've profiled startup of .NET apps the JIT is pretty fast to start up.

The only times I've noticed slow startup on recent .NET versions is with WPF apps, and that seems to be mostly because WPF does so much work on startup.

ripley12··on Book review: The Little Typer (2021)
> The narrative is really just the glue around a well-designed series of incremental problems.

I felt like The Little Schemer should have given those (nicely incremental) problems more real-world context. I worked my way through it and was frequently left wondering "OK, that's clever - but why should I care?"

Clearly a lot of people find the book useful, I might be the odd one out, but I was mostly left scratching my head.

ripley12··on The new and upgraded Framework Laptop
Things are fine on Linux even without Thread Director support. I've been running Fedora 36 (kernel v5.17) on a 12900K for a few months now without any noticeable issues.
ripley12··on D1: Our SQL database
I'm not sure why you concluded that SQLite is the problem when you built a "really cool distributed database" with Kafka. Distributed databases are complicated, Kafka's complicated.

If you're saying that a replicated Postgres setup would be simpler than what you're built, I agree; but SQLite+Litestream probably would be too.

ripley12··on Rust is hard, yes, but does it matter?
This fits with my recent experience. I've spent the last 2 months working on a large open-source Rust project, and it's been mostly easy; I make self-contained changes that fit into the existing architecture and I don't have to think too much about lifetimes or the borrow checker. But when I go off-track and work on my own Rust projects, things get a lot harder.
ripley12··on I'm all-in on server-side SQLite
You can use SQLite in strict mode if you prefer. https://www.sqlite.org/stricttables.html
ripley12··on PowerToys – open-source Windows utilities
The Sysinternals suite is incredible; acquiring Sysinternals and maintaining the tools is one of the best things the Windows team has ever done.

I don't love everything about Windows these days, and I've mostly switched away from it. But Process Explorer and Process Monitor are a lovely reminder that it's still a powerful OS, and tools don't have to be text-first to cater to power users.

ripley12··on PowerToys – open-source Windows utilities
PowerToys is able to grow, experiment and evolve much more quickly as a standalone application because shipping something inside Windows is hard. The OS has a very long support and compatibility guarantee that makes it extremely difficult to iterate and ship features quickly. The .NET team is pretty open about how being coupled to Windows for a long time held .NET back.

Also, my understanding is that PowerToys is sort of an incubator; successful experiments may eventually make it into Windows itself.

ripley12··on Jonathan Blow on how Microsoft responded to Windows Terminal suggestions
It's gone on for almost a year now. Some initial response was warranted but IMO continuing to bring this up is reflecting poorly on Casey at this point.
← PreviousPage 8 of 17Next →