HNHacker News
TopNewBestAskShowJobs

ripley12

1,572 karma · joined April 24, 2015

reillywood.com
submissionscomments
ripley12··on Nushell: Introduction to a new kind of shell
I don't think we're going to be able to compete with PowerShell's bajillions of developer-hours invested in deep Windows integration. But we are looking at revamping the Nu language to make it much more pleasant+powerful as a scripting language.

What kinds of features are you looking for in the stdlib?

ripley12··on Nushell: Introduction to a new kind of shell
> I do think it's missing some important output redirection functionality. You can workaround by using "complete" but that feels non-ideal.

Yeah, this is a very fair criticism. We're working on it :)

ripley12··on Nushell: Introduction to a new kind of shell
I'm one of the Nushell developers, and one of the main reasons I joined the project was that I couldn't find a cross-platform shell I was happy with.

PowerShell has a _lot_ of baggage. I don't like a lot of their design decisions (ex: the super verbose naming, the continue-on-error default that makes scripting a pain), and it's unlikely that those decisions will ever be revisited.

I tried pretty seriously to use PowerShell as my daily driver on Linux and macOS 2 years ago and was disappointed. Too many rough edges and Windows-first features.

PowerShell's startup performance is also pretty rough; I was seeing startup times around 2s after some minor profile customization.

I think Nushell addresses all of those points well; it's got nice concise syntax, solid support for Mac/Windows/Linux, and instant startup times. On the other hand, Nushell's less polished+stable than PowerShell; we're still making breaking changes to the syntax+commands.

ripley12··on Nushell: Introduction to a new kind of shell
> can _definitely_ say it won't be capable of the same automations we use.

Anything in particular you think would be difficult/impossible in Nushell?

(I'm one of the Nushell developers, might be able to help or put features on the roadmap)

ripley12··on Nushell: Introduction to a new kind of shell
We (Nushell core team) think it's a Windows Terminal bug, please upvote the issue: https://github.com/microsoft/terminal/issues/13710
ripley12··on Nushell: Introduction to a new kind of shell
Some reasons I prefer Nushell over PowerShell:

- less verbose syntax

- better cross-platform support (PowerShell is technically cross-platform, but it has some baggage from its Windows-first history)

- way faster to start up

I'm a little biased (I'm a member of the Nushell core team), but those are all things that drew me to start contributing to Nushell.

On the other hand, Nushell is certainly less mature+stable than PowerShell.

ripley12··on 98.css – design system for building faithful recreations of Windows 98 UIs
> Not a surprise that they didn’t use XAML for any other big application

UWP/WinUI/Metro uses XAML and Microsoft was very committed to that for a while. UWP didn't really pan out, but that was for reasons other than XAML and WinUI IMO.

ripley12··on 98.css – design system for building faithful recreations of Windows 98 UIs
What WPF mess are you talking about? Aside from Visual Studio, I can't think of many first-party GUIs that are written in WPF.
ripley12··on Microsoft has started layoffs today
Not sure, but I've been experiencing dramatically worse load times on Twitter in the last month or so.
ripley12··on “You meant to install ripgrep”
crates.io is a little bare-bones sometimes.

I usually use lib.rs instead: https://lib.rs/crates/rg

That has a link to source: https://docs.rs/crate/rg/0.1.0/source/

And here's the Rust code: https://docs.rs/crate/rg/0.1.0/source/src/main.rs

ripley12··on Terminal.Gui: A Cross Platform Terminal UI Toolkit for .NET
Trying to give you a fairly complete answer: It's a .NET library, the prerequisites are the same as any .NET library.

If you want to write code in .NET you will need to install the .NET SDK.

If you just want to run an application written in .NET... it depends. Apps can be shipped with a built-in .NET runtime ("self-contained"), which makes them bigger on disk but they don't need any prerequisites installed. Apps can also be shipped without a .NET runtime ("framework-dependent"), in which case the user needs to have a shared runtime installed to run the app.

ripley12··on Taildrop
I've been using this for months and it's generally pretty good. The UX isn't completely polished yet (as mentioned in the docs), but it's great for simple use cases like "I want to send a photo from my phone to a computer."
ripley12··on The Little Typer (2018)
Hmm, I don't think so. This book is about dependent types, The Little Schemer is more about introducing Lisp/Scheme fundamentals.

FWIW I found The Little Schemer remarkably devoid of essential context; I found myself wondering "that's interesting, but why is it important?" far too often.

ripley12··on Why modern software is slow
I don't work at MS, but there's a few potential things going on:

Voice Recorder is pretty old, it got a big revamp/renaming ("Sound Recorder") in Windows 11. Problems might be fixed now?

The native development story on Windows is in shambles. UWP and WinRT have a ton of baggage but there isn't a great replacement for them yet. Many bundled apps were written in UWP when it seemed like it was the future, and now they're in an awkward not-quite-unmaintained place.

I see the trace is spending a lot of time in the Windows.Storage.* namespace and... there be dragons. Filesystem access from UWP apps is awful, it has several usability and performance shortcomings. Would not surprise me if that's a platform issue and not a Voice Recorder issue.

ripley12··on Why modern software is slow
It's part of the UWP sandboxing system ("AppContainer"). UWP apps chat with the Runtime Broker for potentially insecure operations like opening the common file open dialog or printing.

There's a bit more info about it on page 709 of Windows Internals 7th Edition (Part 1).

ripley12··on Why modern software is slow
> without the slightest bit of quality assurance or adherence to the basic practices of the art.

You really don't do your argument any favours with exaggerations like this.

ripley12··on Why modern software is slow
The way Casey handled this issue was... not good. He's been a jerk about it and generally dragged this whole dumb argument on way longer than needed (I can't believe we're still talking about it).

He was right, but he does not seem remotely pleasant to work with and has been remarkably adversarial. Hasn't exactly fostered a "let's hire him as a consultant" relationship.

ripley12··on It's time to halt starting any new projects in C/C++
I feel the same way about Sysinternals tools. They give me a warm fuzzy feeling, I think acquiring+maintaining Sysinternals is one of the best things Microsoft's ever done.

The way they expose OS internals in a powerful-but-user-friendly way is delightful and empowering. I still remember the first time I used procmon; it felt like a veil was removed from my eyes, suddenly I could trivially see everything processes were doing!

Sysinternals represents an idealized Windows to me: an OS for power users with a GUI-first culture that differentiates it from Unix. Windows itself might not live up to that dream anymore, but at least we have Sysinternals.

ripley12··on Blocking Kiwifarms
Are you for real? It takes 30s on KF to realize that the whole purpose is harassment. It has entire subforums targeting individuals. The quality of the moderation is not the issue here.
ripley12··on Blocking Kiwifarms
Yeah, those comments are either extremely ignorant or disingenuous. It takes about 30s of browsing KF to realize that it is coordinated harassment - there are entire subforums devoted to harassing one individual person with thousands and thousands of messages each.

It's one of the most awful places I've ever seen on the internet, and I have zero respect for the people who try to launder large-scale harassment into "it's just free speech!"

ripley12··on Tauri vs. Electron – Real world application
Man, there are a lot of incorrect statements in this.

MS keeps the evergreen bootstrapper URL stable specifically so you can download it programmatically, it’s not fragile. And if you choose to ship the evergreen bootstrapper yourself, you don’t have to update it.

The WebView2 runtime ships with Windows 11, major applications like Office, and they’re currently rolling it out to most Windows 10 installs.

ripley12··on Tauri vs. Electron – Real world application
It’s trivial, check the README on Mold’a GitHub repo.
ripley12··on Win32 Is the Only Stable ABI on Linux?
IIRC yes but you have to opt into it with a manifest (or an API call).
ripley12··on Will Bun JavaScript Take Node's Crown
A small game is not even remotely comparable to an average programming language.
ripley12··on Will Bun JavaScript Take Node's Crown
> it's a lot of additional work

FWIW, I have been remarkably impressed with Rust for this. The stdlib and package ecosystem are unusually good at building abstractions that work across *nix and Windows, and so the average command line tool written in Rust usually has good Windows support.

Of course, the additional work hasn't really gone away - it's just been relegated to libraries unusually effectively :)

ripley12··on Will Bun JavaScript Take Node's Crown
Games, security, finance, and a mindboggling number of companies writing line-of-business software. "Dark matter developers" is a term I've heard used for some of the latter: https://www.hanselman.com/blog/dark-matter-developers-the-un...

I would generally say that native Windows development is in decline, but it's a long slow decline and it's starting from an incredibly high base.

"a rounding-error of zero" is so wildly incorrect that it is very clear you are in a bubble of sorts.

ripley12··on Will Bun JavaScript Take Node's Crown
> I'm not sure how Win devs actually work these days on non-Win applications in any productive capacity.

WSL. It's trivial to drop into Linux for development these days.

That said, I generally haven't had issues with Node on native Windows.

ripley12··on Will Bun JavaScript Take Node's Crown
I was with you until "it takes like 2-3 hours at most to add Windows support to a programming language..."

C'mon.

ripley12··on Walking Tokyo for Seven Days
I’ve walked Tokyo a lot, and I think you’re drawing an odd conclusion from a sample size of 1.
ripley12··on How SQLite Helps You Do ACID
True, I misspoke; I was clumsily trying to describe the time before the NT kernel was used in consumer versions of Windows.
← PreviousPage 7 of 17Next →