HNHacker News
TopNewBestAskShowJobs

ripley12

1,572 karma · joined April 24, 2015

reillywood.com
submissionscomments
ripley12··on Nushell.sh ls | where size > 10mb | sort-by modified
Don't think we've had any requests for those, but we'd welcome contributions if someone wants to make it happen.

For now, Homebrew works if you want a cross-distro way to install Nu on x64 Linux.

ripley12··on Nushell.sh ls | where size > 10mb | sort-by modified
I think Nu generally plays nicely with other CLI tools and data sources. For example if you've got an external executable that emits JSON, all it takes is `from json` to convert that output to a Nushell table.
ripley12··on Nushell.sh ls | where size > 10mb | sort-by modified
I'm of the opinion that structured data is something PowerShell got 100% right; people tend to dislike PowerShell for other reasons (verbosity, startup time, Windows-first history).
ripley12··on Nushell.sh ls | where size > 10mb | sort-by modified
Recycling my comment from last time this came up. 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 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. And if Windows administration is your main use case, PowerShell can't really be beat.

ripley12··on The Registers of Rust
Premature optimization, etc. etc.

I tend to follow a "clone first, figure out lifetimes later if profiling shows that it would be worthwhile" rule. If I always did the optimal thing with lifetimes, I'd never actually finish anything.

ripley12··on WPF Begins Its Long Goodbye
Yeah, it's fair to say that the ceiling for what can be developed is higher in WPF.

I'm unsure what problems with DPI scaling you're referring to. Last time I was working on a WinForms app (admittedly not an especially big one) I think I just needed to set the DPI awareness in the manifest and it worked OK. https://learn.microsoft.com/en-us/dotnet/desktop/winforms/hi...

ripley12··on WPF Begins Its Long Goodbye
> Windows 11 Theming

I would bet good money that a theming overhaul won't happen this year or next. WPF's currently staffed by a skeleton crew, and they have not demonstrated an ability to deliver features anywhere near that size.

ripley12··on WPF Begins Its Long Goodbye
I've wondered about this a lot. My understanding is that VS is still on .NET Framework WPF too; it will take some effort to move it onto .NET Core WPF.

My wild speculation: they'll put some effort into a .NET Core WPF migration and also build out some new features piecemeal in web UI.

ripley12··on WPF Begins Its Long Goodbye
Thanks for your feedback. I'll add more sparkles.
ripley12··on WPF Begins Its Long Goodbye
There are no great options. I've written a bit about this: https://www.reillywood.com/blog/windows-ui-frameworks/

tl;dr: WinForms is well supported if you don't need it to be pretty. WPF is complex but mature. WinUI 3 might be ready someday but it's not there yet.

I don't want to suggest Electron, but there are valid reasons why people use it...

ripley12··on WPF Begins Its Long Goodbye
> I’d argue WPF is a lot easier even for simple apps.

I could not disagree more. That might be true for you, if you are a person who has already spent a long time learning WPF. It is not true in general; WPF is complex.

ripley12··on Curl has been delisted from Microsoft NuGet
NuGet has always been a bit of a Wild West. Looks like curl was uploaded to NuGet by some rando and not maintained.

In a past life where I had to deal with a lot of .NET libraries from awful enterprisey vendors, it was often easier to pull down versions uploaded to NuGet by 3rd parties than use the official installers. In retrospect this was pretty dumb of me from a security perspective...

ripley12··on Show HN: Sail a historical full-rigged ship in real global weather
I'm reading the Aubrey-Maturin books and found this sail diagram quite helpful: https://www.reddit.com/r/AubreyMaturinSeries/comments/j3vn05...
ripley12··on 95% of Bay Area Cities Lost Zoning Authority
It doesn't take 30 years for new housing to have an impact. New homes immediately affect the price+availability of existing homes, because when someone moves into a shiny new home they free up the place where they were living before.
ripley12··on Homebrew 4.0.0
I feel the same way about Linux - big thanks to the Homebrew team.
ripley12··on Biggest Barrier to Biking Is a Fear of Cars
> Making cars more expensive to own and operate is an inflationary force that disproportionately afflicts the poor

No it isn't. I think you know the answer to the question "are transit riders more or less affluent than drivers on average?"

> And those twee little bicycle-lane-only traffic lights? Cute, right? Those are basically tombstones for your local art scene, because that whole block is 'going Vanhattan' (portmanteau of 'Vancouver' and 'Manhattan').

Please name one place where this has occurred in Vancouver (which I am intimately familiar with).

ripley12··on Last Flight Out
100%. I would describe the subject matter as "dysfunctional office politics in Antarctica", which doesn't sound fascinating but it really is!
ripley12··on Excel Functions in F# Language
I mean... sorta. It's not easy to write a Office add-in just using the C API, and when I tried a year or two ago the only example code I could find was like 20 years old and all documentation was heavily pushing people toward the newer JS-based add-ins.

I quit that job because the extensibility story for Excel was so painful (but they had good business reasons for being in the space), sigh.

ripley12··on Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?
Ahh, streaming. This is an area I've been working on; there are still lots of places where we collect data when we should stream it instead. In general, if you think "that should be able to stream" but it doesn't, that's probably a bug and worth filing an issue.

I can reproduce your issue, I suspect that `filter` is collecting its input when it shouldn't. It's not totally clear why from looking at the code.

If you can file an issue that would be appreciated, if not I'll try to do so later today. We have a tag for streaming issues: https://github.com/nushell/nushell/issues?q=is%3Aissue+is%3A...

ripley12··on Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?
I'm not sure when we'll be ready for 1.0 (at which point we will commit to stability in the language etc.), but I would guess 1-2 years based on the work we want to do and the pace of contributions.

Not sure about Debian. We generally rely on the community for distro packaging. Right now Homebrew is the easiest way to install Nu on most Linux distros.

ripley12··on Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?
I spent 3 years using Fish before switching back to zsh (and later Nushell, which I ended up working on).

Fish is a wonderful, mature project, but for me it wasn't quite ambitious enough. It breaks from POSIX just often enough to cause friction when adapting instructions written for POSIX shells, but not enough to make CLI UX significantly better than a POSIX shell. Also, scripting often seems like an afterthought in Fish.

ripley12··on Ask HN: Are alternative (oil, nu, etc.) shells usable as daily drivers?
I would say interactive use is good. Not hard to configure prompts.

Stability (in the sense of not crashing) is decent, it's been a long time since I've crashed Nushell. We do get the occasional crashing bug filed but most of those are in areas like our completion engine rather than interacting with external tools.

OTOH, command design and language are not entirely stable; we are still pre-1.0 and we do make breaking changes fairly often.

(I work on Nushell)

ripley12··on Update to the .NET language strategy
It has been for a very long time, and that's a reasonable approach IMO.

I say this as someone without most of the usual prejudice against VB; I used to work in a large codebase that was half VB.NET and half C#, and didn't mind VB. VB was a little more verbose for some things, but after getting used to the syntax the developer experience was basically the same in each language (yes, with a few small exceptions like XML literals).

Ultimately, that's the problem with VB; it's not different enough from C# to really justify significant investments in 2023. There are some die-hards who really like the VB syntax but they're growing ever rarer.

ripley12··on Hackers weaponize Microsoft Visual Studio add-ins to push malware
Terribly written headline. These are Office add-ins, Visual Studio just happens to be part of the name because <insert joke about Microsoft naming here>.
ripley12··on Okta to Cut 300 Jobs Citing Overhiring, ‘Execution Challenges’
Okta gave me a verbal offer in November, and retracted it after 3 weeks of “we’ll get final approval any day now, promise!”

Left a bad taste in my mouth, doubly so because I turned down another offer assuming that Okta would come through.

ripley12··on Why Go and Not Rust? (2019)
As I understand it (heard second-hand from someone in the know), the CockroachDB people regret that language choice and that’s why Materialize (which employs a bunch of ex-Cockroach people) uses Rust.

I generally think a garbage collector makes sense for 99% of programs out there, but databases often need a bit more control over memory management for performance reasons.

ripley12··on Microsoft has laid off entire teams behind Virtual, Mixed Reality, and HoloLens
> running on heavily modified Android

What? No it doesn't, HoloLens 2 runs "Windows Holographic" which is based on Windows Core OS.

ripley12··on Microsoft has laid off entire teams behind Virtual, Mixed Reality, and HoloLens
I was considering getting into HoloLens development a few years ago. It seemed like they were still pushing developers toward UWP even when UWP was obviously nearly dead, and that killed any interest I had.

Did the developer story for HoloLens ever get better or did it just die a slow death?

ripley12··on 🥺: the best sudo replacement
It's the Windows key and the period (".") key, not the Windows key and the plus key ("+").
ripley12··on Job Hunting in 2022
Yeah, you can also pay to do system design interviewing practice. I did a few paid system design interviews last year (interviewing.io) and found it helpful before a few FAANG interviews.
← PreviousPage 5 of 17Next →