HNHacker News
TopNewBestAskShowJobs

ripley12

1,572 karma · joined April 24, 2015

reillywood.com
submissionscomments
ripley12··on Djinn Split Keyboard
> the function-or-media switch is atrocious

It's so bad. It's unfortunate because it's otherwise a pretty great keyboard; I'd love something similar with an Fn row.

ripley12··on .NET 6 vs .NET 5 speedup
It looks like you're not using the new dynamic PGO functionality (the OP is). I've seen throughput gains of ~15% from that.
ripley12··on Joy.js – make happy little programs (2017)
This is lovely. I really like that you can adjust numeric values by clicking and dragging and the visualization updates in real time; reminds me of the demos from Bret Victor's Inventing on Principle.
ripley12··on C# 10 new feature CallerArgumentExpression
Seems like a handy feature for things like test frameworks.

There's more detail in the official C# docs: https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...

And in the GitHub issue for the feature: https://github.com/dotnet/csharplang/issues/287

ripley12··on C# 10 new feature CallerArgumentExpression
> so if you mistype the parameter name in the decoration, there's no warning

Mistyping the parameter name results in the following compiler warning, thankfully:

CS8963 The CallerArgumentExpressionAttribute applied to parameter 'conditionExpression' will have no effect. It is applied with an invalid parameter name.

ripley12··on .NET 6 Released
You may want to take a look at Chromely and its WebView2 offshoot EdgeSharp:

https://github.com/chromelyapps/Chromely https://github.com/webview2/EdgeSharp

ripley12··on .NET 6 Released
Yeah, starts closer to 12MB for a trimmed console app in .NET 6. It works really well (I've been distributing one for a few months now).
ripley12··on .NET 6 Released
WinForms support in .NET 5 and 6 is great. It's getting a lot more attention than WPF (which is owned by the Windows team), and it's likely that in .NET 7 it will be trimmable and maybe even AOT-compatible.
ripley12··on .NET 6 Released
Disagree. .NET 5 and 6 previews have been remarkably solid+stable for me.
ripley12··on .NET 6 Released
Something like 60MB if the application is not trimmed. Closer to 10MB if the application can be trimmed.
ripley12··on Why SQLite does not use Git (2018)
I can’t recall where, but I think I heard Richard Hipp say that developing Fossil helps the SQLite developers dogfood SQLite. There’s certainly some synergy between the projects.
ripley12··on Microsoft’s Edge browser is now available on Linux
That's interesting, thanks for the context.
ripley12··on US Army delays $22B augmented reality goggle program
Yeah, there are certain divisions/teams/products within Microsoft where I have to work really hard to read between the lines of their PR gobbledygook. Basically the further away from Developer Division, the harder they are to understand.
ripley12··on US Army delays $22B augmented reality goggle program
I also get the impression that HoloLens is in a particularly awkward spot right now. It was built on/for a tech stack (Windows Core OS and UWP) that is more-or-less dead now, so there is a great deal of uncertainty about its future.
ripley12··on Julia Liuson promoted to President of the MSFT DevDiv, which now includes GitHub
> Julia is pretty well regarded by people under her.

Not the impression I got after the hot reload disaster. I'm the person who raised the initial GitHub issue, and I talked to a handful of people high up in DevDiv off-the-record at the time.

People were very unhappy with the decision internally, concerns were raised, and she still went ahead with a decision that showed very poor judgment.

ripley12··on Microsoft’s Edge browser is now available on Linux
I don't think Microsoft owns Electron...
ripley12··on Microsoft’s Edge browser is now available on Linux
I'm not particularly interested in a Microsoft-branded Chrome variant on Linux. But this is interesting as a stepping stone toward WebView2 on Linux, which will give Electron some serious competition: https://github.com/MicrosoftEdge/WebView2Feedback/issues/645...
ripley12··on Heroes of Might and Magic V – Hammers of Bait and Switch
As others have noted, Process Monitor (ProcMon for short). It’s a really excellent no-nonsense GUI tool. This is a good overview of how to use it: https://www.youtube.com/watch?v=pjKNx41Ubxw
ripley12··on Microsoft's UWP = Unwanted Windows Platform?
> There is tons of Microsoft software that cannot even be packaged via MSIX (Office, Visual Studio)

Yup. Office tried MSIX for a little while and then gave up because it broke many things, including the software I work on professionally. It's a mess.

ripley12··on Microsoft's UWP = Unwanted Windows Platform?
I've spent a lot of time trying to make MSIX sideloading work (and it is how I "distribute" my app to myself and friends). Unfortunately it's not nearly good enough for broad distribution of applications.

It's poorly documented and unreliable compared to tried-and-true installation mechanisms like MSI and Inno Setup. I've had MSIX installations fail on nearly-fresh Windows 10 installs with zero useful information presented to the user or logged in the event log.

Don't even get me started on the registry+filesystem virtualization; I've seen it cause bugs in multiple first-party applications when they're installed via the Store.

ripley12··on Microsoft's UWP = Unwanted Windows Platform?
I'm probably the only person who started learning UWP in 2020; when the pandemic hit and I suddenly had a lot of time on my hands, I spent months building a UWP application for my own use.

I think this is the right call on Microsoft's part. UWP has been semi-abandoned for a while now and it's nice to get some clarity on its future (or lack thereof).

UWP had many pain points (the .NET Native compiler, installation, filesystem access, sandboxing, longstanding XAML limitations), but it wasn't all bad. You can tell that the Windows team spent a lot of effort trying to make UWP/WinRT/WinUI successful, and it's a little sad that most developers never got to see the good parts of UWP. Among other things, UWP made it remarkably easy to build interfaces that "just work" with both touch input and keyboard+mouse.

It's unfortunate that UWP was hobbled from the start with so many restrictions. I think it would have seen much more adoption if it had been built with an escape hatch from the draconian distribution+sandboxing requirements.

ripley12··on Microsoft .NET Devs Anonymously Responds to Microsoft .NET Leadership
I get the impression that virtually everyone in Developer Division understands this - except senior leadership.
ripley12··on Can we trust Microsoft with open source?
The especially wild thing is that this decision mostly harms .NET in VS Code – another Microsoft product.

Rider’s implemented hot reload on their own, so this isn’t helping against Visual Studio’s main commercial competition.

ripley12··on Microsoft removes hot reload from open source .NET, locks it to Visual Studio
Not hyperbole.

If .NET is going to stay relevant in the long run, it needs a better reputation for cross-platform development and much better tooling outside of Visual Studio. Newcomers to the language expect it to work well in VS Code, and they are frequently disappointed.

This decision moves .NET backward in areas it already needs to do better in, and to add insult to injury it does so by deleting already-working code.

ripley12··on Microsoft removes hot reload from open source .NET, locks it to Visual Studio
I'm the author of that issue. I think I can be a little more frank here: this is a horrifically short-sighted decision that has me scared for the future of .NET. I have a tremendous amount of respect for the .NET team, and I'm very certain they're not the ones behind this.

I've been incredibly impressed by the hot reload solution that the .NET team has delivered. It's worked remarkably well in preview across multiple platforms and technologies. I've built my own hooks into the hot reload feature, and I've used it to get a tight feedback loop in many different kinds of applications. It's awesome.

I was so excited to be able to point to that feature and say "yes, .NET has a great developer experience - even outside Visual Studio". I haven't always been able to do that. And now... it's going away as a broadly available feature, so that some bean counter can use it to drive usage of a legacy IDE (I love Visual Studio, but let's not kid ourselves about where the future lies).

Immediate feedback (i.e. a fast inner loop) isn't a niche feature - it's an essential element of any creative activity (see: Bret Victor). They are crippling .NET and it hurts to see it.

ripley12··on It takes a PhD to develop that
My sympathies to you and the rest of the WT team. I think you’re doing a bang-up job under difficult platform constraints (that most people don’t appreciate), and the amount of vitriol spilled over this one interaction has been really disappointing.

Just remember that there’s a huge number of people who appreciate the work you’re doing to modernize terminal experiences on Windows (nearly 78k GitHub stars!)

ripley12··on Making bracket pair colorization faster
WebView2 will be coming to macOS then Linux in the not-so-distant future: https://github.com/MicrosoftEdge/WebView2Feedback/issues/645...

I'm not aware of any public plans to move VS Code to WebView2, but I would be surprised if it doesn't happen eventually.

ripley12··on Sysz – An fzf terminal UI for systemctl
If you have trouble running this, try updating fzf. TIL that my package manager's version of fzf is 4 years old, and that did not play nicely with some of the features used by Sysz.
ripley12··on .NET 6 Release Candidate 1
Good stuff. There's also a new Visual Studio 2022 release out today, it has dramatically improved integration with the new .NET 6 hot reload feature.

Between hot reload and the improvements to make C# simpler and less verbose, I'm really excited for this release.

ripley12··on Minimal APIs at a glance in .NET 6
Same! Your Simple Programs proposal in that area is really great: https://github.com/dotnet/designs/pull/213

I am really looking forward to the day when I can use C# for all my scripting needs instead of Bash/Python/PowerShell. We’re getting there.

← PreviousPage 12 of 17Next →