Live data from Hacker News

.NET on Linux – bye, Windows 10

piotrgankiewicz.com

61–70 of 290 posts

Re: .NET on Linux – bye, Windows 10

#61

Earlier quoted context omitted.

If your using Windows 10 Professional or above, you can change the Local Group Policy to prompt you for both downloading and installing updates. For lower versions (like "Home"), there is a way to tell it that your connection is "Metered" and then updated won't be downloaded automatically; but that's not an official method to prevent updates.

For public information: Wired connections cannot be set as "metered". Only wireless ones.

I didn't realise that, thanks.

Re: .NET on Linux – bye, Windows 10

#62
post #57
post #24

Earlier quoted context omitted.

"The year of the Linux desktop" already happened, but in the meantime desktop got so small that you can put it in your pocket. It never would have been happened without commercialization of the Linux desktop (Android), so your kit car analogy holds.

Good luck running desktop GNU/Linux stuff properly on Android/Linux. The set of APIs exposed to the NDK is so constrained that Google can replace the Linux kernel with something else and only OEMs writing drivers will notice.

It's really not too bad with root. Although the permissions and selinux stuff will trip you up a lot.

Re: .NET on Linux – bye, Windows 10

#64
post #37

I've been spending some time putting together a framework for .NET Core API/platform development. The main problem with it currently is the lack of compatible libraries - I've had issues with DI containers, cloud provider libraries, AOP frameworks and more. Not to mention EF Core is still way off in terms of production viability. ASP.NET Core is very tasty as a plus.. and there's always Mono to fill the gap in terms…

I've discovered Autofac has good support for CoreCLR. Plus it's well designed and powerful.

Re: .NET on Linux – bye, Windows 10

#65
post #26
post #25

Earlier quoted context omitted.

> Ha, right here is why "the year of the Linux desktop" will never happen. I've been using Linux desktops almost exclusively for more than a decade. Both my PC laptops have UEFI enabled and both installed Linux (Ubuntu and Fedora) off a USB stick with no tweaking, so, it may be too complex for you, but most developers I know don't share the same personal issues.

I believe you and your parent are talking about different categories of users. >> but it's never going to be mainstream

My mom uses Ubuntu (but, in all fairness, I installed it for her)

Re: .NET on Linux – bye, Windows 10

#66
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...

Yeah, however no EF LINQ support, correct? So you'd have to write all the queries manually.

Re: .NET on Linux – bye, Windows 10

#67
post #42

Earlier quoted context omitted.

Paint.Net is good, indeed. Let Krita be your new friend. https://krita.org/en/

Would be nice if I didn't need the half the KDE desktop for it.

What difference does that make? You don't have to run KDE (heck, I use it on windows). Yes its UI is a separate library from the specific program - any well-factored program will do the same, whether it exposes the separation or not.

Re: .NET on Linux – bye, Windows 10

#68
post #49
post #48

Earlier quoted context omitted.

Trying to upgrade an operating system is almost always a good way to ensure you're going to have a bad time. Copy any files you care about off, wipe the disk, and install from scratch. This is also usually worth doing with an OEM machine, to get rid of all the crap and weirdly configured partitions they set them up with.

I agree but I'm mildly surprised when an upgrading OSX or Linux instead of a fresh install always works fine.

I had a spectaculr Ubuntu LTS upgrade failure on a server earlier this year because I had inadvertently left a terminal open running a command with 'su'.

It transpires that the sudo binary cannot be upgraded when su is active, so the entire upgrade cascade-failed and left me with a broken and unbootable system. Had to start from bare-metal.

Re: .NET on Linux – bye, Windows 10

#69
post #47
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.

Group policy editor. You can configure it to not update while anyone is logged in, only manual, at a set time, etc. It's just not in any of the "usual" settings menues. Likely rationalized by average users not disabling security updates by accident or something.

I love that group policy! It will still force a restart about every 9 days with that enabled, but it's much better than daily restarts.

Re: .NET on Linux – bye, Windows 10

#70
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.

Twice I've been bit by the unexpected updates during shutdown during a power failure. At home my UPS is only good for 5 minutes, so I want to shut down as soon as the power goes down. I do that, and Windows starts on "Installing 17 updates", with absolutely no way for me to intervene. And powering down in the middle of OS updates has to be about the worst possible time for it.
Post reply on HN