Live data from Hacker News

.NET on Linux – bye, Windows 10

piotrgankiewicz.com

121–130 of 290 posts

Re: .NET on Linux – bye, Windows 10

#121
post #33

Earlier quoted context omitted.

You could use MySQL? It has full EF7 support AFAIK.

After years MySQL still not implemented async for their .NET driver, only slow cheap wrappers. However, PostgreSQL has full async support in their free .NET driver...

I've developed a fully async, independent, MIT-licensed MySQL ADO.NET provider for .NET and .NET Core: https://github.com/mysql-net/MySqlConnector

Re: .NET on Linux – bye, Windows 10

#122
post #94

Earlier quoted context omitted.

WHY is it just a Ubuntu release and no RPM? I really HATE when developers go Ubuntu = Linux

It's packagers of RPM distros that should build RPMs. Upstream can't be expected to release packages for every distro (if any).

> Upstream can't be expected to release packages for every distro (if any).

This isn't provide distro specific packages this is provide the one extra file over macOS and Windows.

Also this is for the health of the Linux environment.

That is why we have RPM and Deb they work for MANY distros and if your outside that then the source is there for aa build. One day appimage, flatpak or Snap will make this easier.

Re: .NET on Linux – bye, Windows 10

#123
post #30

The real story here is the forced updates. How do people who are planning demos and presentations handle this? It's my worst nightmare.

The updates drove me away from Windows 10 years ago.

I still have a windows machine for occasional games. What drives me nuts is "Install Updates and Shut Down" leads to a 15 minute boot time. WTF? I thought all that was supposed to finish before the computer turned off???

Re: .NET on Linux – bye, Windows 10

#124
post #82
post #30

The real story here is the forced updates. How do people who are planning demos and presentations handle this? It's my worst nightmare.

I'm glad I'm not the only one that was mad about that. My PC just shut off and started doing updates, in the middle of the day. My friend said "how much did you pay for Windows 10." I said "nothing, it's free update." then he said "There you go."

XBox One is expensive, and has a ridiculous amount of updating.

Re: .NET on Linux – bye, Windows 10

#125
post #81
post #73

Earlier quoted context omitted.

It will simply roll back the half-finished updates and retry the next shutdown. Those things are done transactional. Powering down won't hurt it.

You mean pulling the plug instead of shutting down normally? I suppose that'd work but usually you only realize that Windows wants to update _after_ you hit the shutdown button. And powering the machine down in this state will likely result in an unbootable machine. And good luck fixing that, especially if your hard-drive is encrypted.

What version of Windows do you use? My desktop uses the latest version of 10 (AFAIK) and the shut down button reads something like "Shut Down and Install Updates" when Windows wants to install an update. I also remember 7 having a little orange icon next to the shut down button when it was going to install an update.

Granted, I don't think there's a way to properly shut down without the update in an I-have-five-minutes scenario. But it does, at least, warn you.

Re: .NET on Linux – bye, Windows 10

#127
post #30

The real story here is the forced updates. How do people who are planning demos and presentations handle this? It's my worst nightmare.

This is indeed the worst. By itself it is enough to make me want to switch.

It's not the only thing, though. Win 10 is a decent OS in most ways, but there are too many places where it does things that I don't want and I can't (easily?) change.

I use Windows because I do C# development for a living. For now, it's not practical for me to switch, but maybe it will be in a few years. I'm hoping so.

Really stupid to drive developers off of your OS, Microsoft.

Re: .NET on Linux – bye, Windows 10

#128
post #126

I'm in a similar boat but using Project Rider on OSX. It generally works without issue but is far from ready for general use. How does VSCode deal with things like running unit tests?

I'm sure you can create tasks for running commands like:

dotnet test (https://docs.microsoft.com/en-us/dotnet/articles/core/tools/...)

dotnet watch test (https://github.com/aspnet/DotNetTools/tree/dev/src/Microsoft...)

Re: .NET on Linux – bye, Windows 10

#129
post #30

The real story here is the forced updates. How do people who are planning demos and presentations handle this? It's my worst nightmare.

>The real story here is the forced updates. How do people who are planning demos and presentations handle this? It's my worst nightmare.

Manually run the update check every 2-3 days and run it again two hours before the presentation. Any updates that come out in that two hour window will allow you at least one delay.

Come on, folks, this isn't exactly rocket science here. Keep your OS up to date and, surprisingly enough, you won't have any problems caused by it being not up to date.

EDIT: May I also remind everyone that your corporate IT security policy almost certainly requires you to keep the OS on your work PCs up to date?

Re: .NET on Linux – bye, Windows 10

#130
post #81
post #73

Earlier quoted context omitted.

It will simply roll back the half-finished updates and retry the next shutdown. Those things are done transactional. Powering down won't hurt it.

You mean pulling the plug instead of shutting down normally? I suppose that'd work but usually you only realize that Windows wants to update _after_ you hit the shutdown button. And powering the machine down in this state will likely result in an unbootable machine. And good luck fixing that, especially if your hard-drive is encrypted.

For what it's worth, I regularly "pull the virtual plug" on my Win10 VM during updates because fuck you it's time to go home, and I've never had it fail to boot the day after. It's obviously an unacceptable solution to the problem, but it's at least not disastrously fatal in most cases.
Post reply on HN