News for hackers. Stuff that matters.

jongalloway2

Re:Show HN: Perfect Bluetooth MIDI for Windows on Friday May 01, 2026 @03:53PM (#47979407)
Why so mean? You can look at all of the commits and see that the same dev who has been writing these drivers and apps pretty much single handedly has been making commits on the site for the past few years. https://github.com/microsoft/MIDI/commits/main/docs

You can even PR fixes if you want to show off your web dev skills.

I've been doing this lately, building a Godot game with Copilot CLI. I'm using Godot MCP Pro which can automate interactions and screenshots, and have the whole game script in a markdown doc. I was happily surprised when I asked for a walkthrough and it all just worked, found and fixed some regressions while I was sleeping.
Re:Microsoft Dependency Has Risks on Thursday June 26, 2025 @04:24PM (#44390935)
dotnet build

https://tonybaloney.github.io/CSnakes/getting-started/#build...

What's with the "just copy it" thing? Nobody does that, we use NuGet packages, GitHub Actions, SDK supported containers, reproducible cross-platform builds from command line, etc.

edit: I'm sure some people use file/copy, but you sure don't have to. That stopped being a common thing 10+ years ago with cross-platform .NET.

Re:Microsoft Dependency Has Risks on Thursday June 26, 2025 @03:16PM (#44390411)
CSnakes integrates Python into .NET apps - https://tonybaloney.github.io/CSnakes/

https://www.youtube.com/watch?v=DqoxHNH9Iwo shows adding an LLM

There are several ways to manage migrations depending on the team structure and dev practices: SQL scripts, command line, bundles (single-file executables), and in-app. The team recommends SQL scripts since they can be reviewed, tuned, and managed by a DBA but take your pick. https://learn.microsoft.com/ef/core/managing-schemas/migrati...

Re:Stay Gold, America on Tuesday January 07, 2025 @06:38PM (#42629067)
The post specifically calls out wealth concentration (e.g. becoming wealthier than one's fellows) as a major problem, and the donations are focused on working against that. Review the list of dentations, as you may have missed that these are organizations that help people in need rather than, say, recent examples of billionaires buying votes.
Re:.NET Blazor on Tuesday November 21, 2023 @01:19PM (#38367667)
Presentation from .NET Conf 2023 last week with some of the new stuff: https://www.youtube.com/watch?v=N1weyWS_pL0
Install size depends on the features you pick when you install. Web / service / library development is small, desktop / mobile / C++ gets bigger as the toolchains + sdks + emulators are big. If your VS install is 30 GB and that's a problem, run the installer, click modify, and uncheck stuff you're not using. A lot of devs check off everything "just in case" but since you can add other features when you need them, it's better to start with what you know you'll use.
Re:Arm64 Visual Studio – Visual Studio Blog on Sunday September 04, 2022 @02:45PM (#32716339)
Visual Studio for Mac has run natively on M1 (without Rosetta) since the May 22 release of Visual Studio 2022 for Mac v17.0 - https://devblogs.microsoft.com/visualstudio/visual-studio-20...

The installer is a separate binary and currently still requires Rosetta. There's an update due out very soon (a few weeks) that will remove the Rosetta requirement. The team prioritized getting the application fully native before the installer since you spend a lot more time running the app than the installer.

Also it's important to know that Visual Studio for Mac isn't the exact same application as Visual Studio (Windows). Visual Studio is 25 years old and has some Windows specific features that don't make sense on macOS. Also, Visual Studio for Mac is optimized to integrate with macOS features (e.g. accessibility and themeing). There's a lot of code shared between the editor, project system, debuggers, etc., and we try to balance making them as similar as possible while following the macOS app guidelines and conventions.

Disclaimer: I'm on the .NET team at Microsoft, and work with the Visual Studio for Mac team a lot.

Re:DTrace-on-Windows on Friday August 19, 2022 @03:42PM (#32525224)
There is the Blazor Hybrid option with .NET MAUI. You write your UI using Razor (HTML + C#) and can use native controls and features when needed. As a .NET dev who prefers HTML to XAML, this feels more natural to me for a lot of apps.

https://docs.microsoft.com/aspnet/core/blazor/hybrid/tutoria...

Re:The Mesozoic terminated in boreal spring on Wednesday February 23, 2022 @01:33PM (#30444556)
There's a really clear minute summary video by the first author on this paper: https://www.youtube.com/watch?v=jdshml5515o
Re:Microsoft Exchange stops passing mail due to bug on 1/1/22 on Saturday January 01, 2022 @03:37PM (#29762459)
F# has Units of Measure: https://docs.microsoft.com/en-us/dotnet/fsharp/language-refe...

There are libraries that implement this concept in other programming languages (C++, Java, C#, etc.)

Re:.NET 6 Released on Monday November 08, 2021 @12:44PM (#29151910)
For high level, you can start at https://dotnet.microsoft.com/ which has links to learning resources for different topics.

There's also a 40 page e-book ".NET for Java developers" here: https://aka.ms/dotnet-forjavadevs

Re:Vscode.dev on Wednesday October 20, 2021 @08:47PM (#28938854)
A little oversimplified - Visual Studio Community can be used to develop commercial software, with restrictions to (summarizing) 5 conccurrent users in non-enterprise organizations. https://visualstudio.microsoft.com/license-terms/mlt031819/
Re:Performance Improvements in .NET 6 on Friday August 20, 2021 @04:06PM (#28250788)
Thanks for letting me know, I'll check in with friends in docs and try to get this sorted out. Sorry for the frustration.
Re:Performance Improvements in .NET 6 on Friday August 20, 2021 @01:09AM (#28242844)
Hi, I'm on the .NET community team. Here's what we see as the happy path for .NET:

- .NET website (https://dot.net) - High level info on different workloads, 5 minute in-browser tutorials, links to live shows and community

- MS Learn (https://aka.ms/mslearn-dotnet) - Interactive tutorials with learning paths built from 30ish minute learning tutorials

- Docs (https://aka.ms/msdocs-dotnet) - More in-depth documentation on specific tasks and features, e.g. API documentation, performance optimization, security guidance, etc.

While you can go directly to any of them, the dot.net site will link you to Learn modules that will link you to docs, so hopefully you can start on the dot.net site and it will help you find the right place.

One thing I really like (and I'm totally biased because I've helped set it up) is https://live.dot.net. Those are all our live shows with the PM and dev teams. We've got a show every day of the week, and there's always really good Q&A in the chat.

Re:I can't stand developing for Safari anymore on Wednesday June 23, 2021 @03:41PM (#27609084)
Here's a really simple example of something that would benefit standard websites, not just complex web applications: image lazy loading.

<img src="..." loading=lazy>

Sure you can handle this with JavaScript, etc. The point is that this is one of countless papercuts - standard, useful behaviors that work everywhere but Safari.

https://web.dev/browser-level-image-lazy-loading/ https://caniuse.com/loading-lazy-attr

I think this is a good partnership. One of the goals of open source software foundations is to eliminate risks due to dependency on a small developer team. In this case, HIBP is a fantastic resource being maintained, and paid for, by one developer. That's not good for the maintainer, it's not good for the community, and it's risky to the community. If the sole developer wins a spot on the next flight to Mars or time travels to A.D. 802,701, the code becomes unmaintained and the site hosting payment expires. Software foundations governed by rotating teams and aren't dependant on a single individual. This is an example of something that's relatively low investment for an established software foundation - some legal fees and discounted cloud hosting from a sponsor - and benefits the whole community.
Brief mention in the post, but FYI to the thread - .NET Foundation is an independant non-profit (501c6) foundation that supports the .NET open source community. It's run by a community elected board and funded by member donations and a diverse group of corporate sponsors. This is a great example of the kind of work they do to support the community.

Disclaimer: I was on staff at .NET Foundation 2016-2019.

Re:C# 9 top-level programs and target-typed expressions on Tuesday March 30, 2021 @10:22PM (#26642869)
How so? .NET is 2-4x faster than Scala in benchmarks (https://www.techempower.com/benchmarks/#section=data-r20&hw=...). Do you just prefer the syntax and language features?
Save Theme should prompt to name if it's Untitled.

It's not super obvious that every theme is created as Untitled and rename icon only shows when you hover over the title.

Older »