Live data from Hacker News

.NET on Linux – bye, Windows 10

piotrgankiewicz.com

101–110 of 290 posts

Re: .NET on Linux – bye, Windows 10

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

In Win 10 Anniversary Update you can specify active hours, when you use the device and it shall not be rebooted. Also, there's a setting for custom restart time.

http://betanews.com/2016/06/09/control-when-windows-10-insta...

Re: .NET on Linux – bye, Windows 10

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

Windows updates fall into various categories in how they are deployed (this also causes variations in whether you need a restart or not). The overwhelming vast majority of updates nowadays are deployed in a rather safe mode where nothing on the system is changed during install until at the very end effectively a switch is made to the newly-deployed components. Those updates tend to not care very much, or at all, about sudden power loss. The next start notices there's an unfinished update and either finishes it, or rolls back and you can try again.

Re: .NET on Linux – bye, Windows 10

#104

Earlier quoted context omitted.

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

I can attest to how well designed Autofac is. I had to decide on which DI framework to use on a small front end WPF application that I worked on at a job last year (the app had a lot of singleton classes that were impossible to unit test hence why I needed to introduce a DI framework). I'd come from a job where larger framework choices had been made years prior by senior developers and their framework of choice at th…

And I, too! After discovering Autofac, I've not looked back. Before, I'd tried various DI frameworks, and always left thinking "I totally do not get what why people like this DI stuff". Then, Autofac. Everything just works. But - it's also powerful enough that if I need to do something really clever and/or complex, I can, and it invariably works.

It works just as well in Core. As such, it's usually the first package I install in a new Core project.

Re: .NET on Linux – bye, Windows 10

#105
post #67
post #42

Earlier quoted context omitted.

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.

> What difference does that make?

• It's more packages I need to download. Doubly annoying because 95% of the packages are just "thin wrapper around foo, because we're too hipster to use libraries directly like peasants".

• It installs system-wide services I have to disable/mask just so other programs don't mistakenly use them because they think I run KDE and they have to integrate into it.

• Oh wait, I can't disable some of these, because Krita itself needs them and now I need to figure out how to make them play nice with my desktop aaaaaarggghhhh

Re: .NET on Linux – bye, Windows 10

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

The kdelibs situation has improved a lot in the last couple of years. The team has worked hard to split out the frameworks and libraries from the desktop and apps themselves, so now you only need like 1/5 the KDE desktop.

It's worth taking another look if that was something that put you off in the past.

Re: .NET on Linux – bye, Windows 10

#107
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."

Most no-cost Linux-class OS/WM's don't shut themselves down for updates.

Re: .NET on Linux – bye, Windows 10

#108
post #59

Earlier quoted context omitted.

I suppose I'm hoping for a point in the near future where AR/VR type glasses (or something like that) can be used with high enough fidelity and resolution to replace my desktop, physically. Coupled with virtualization and a good keyboard, I think the PC form factor could be fully obviated.

Waiting for Apple or someone to introduce "Retina VR"? The issue is, if you double the pixel density you quadruple the amount of work on the GPU. Few current graphics cards would be able to smoothly render content that high-res, yet.

Even if they were (2D rendering isn't that bad), we'd struggle to transmit it (neither HDMI nor DisplayPort could handle 16K or whatever we need for crisp enough VR rendering).

Re: .NET on Linux – bye, Windows 10

#109
post #69
post #47

Earlier quoted context omitted.

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.

This seems a tad depressing...ever heard the Malcolm X quote: "If you stick a knife nine inches into my back and pull it out three inches, that is not progress"?

And yes I am completely aware that Windows 10 updates are in no way comparable to the civil rights movement and I am in no way making any such comparison.

I am just quoting a witty man.

Re: .NET on Linux – bye, Windows 10

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

In Win 10 Anniversary Update you can specify active hours, when you use the device and it shall not be rebooted. Also, there's a setting for custom restart time. http://betanews.com/2016/06/09/control-when-windows-10-insta...

I found out the hard way that you may only specify up to 12 hours as active, in one period. So, if like me, you use the computer in the morning and again in the evening, you are SOL.
Post reply on HN