214 points · by spetz · 10y ago · 282 comments
I watch movies on my laptop while I exercise. One day I was about to start exercising and Windows was like "Would you like to update now or in 10 minutes?" And I was like "I'm going to watch my movie," and set back my system clock, and surprisingly, it worked.
(I find this experience funny because moving back the clock was a knee-jerk reaction and it actually worked)
A while ago I reported that the pw field in W10 gave away a lot of entropy easily (basically ctrl+arrow keys stopped between every character class so if your password was: newr..!VYIV you could in five seconds conclude that the password contains of 4 chars of something, then 3 chars of something else, then 4 characters of something other than the second group.)
Whoever handled it concluded that it was absolutely "interesting" but not a security issue so no bounty for me :-/
And good luck fixing that, especially if your hard-drive is encrypted.
So I'll go with powering down shouldn't hurt it.
It wasn't however update related. The user went to shutdown, the computer said "no" (apps are open, blah blah) and the user held the power button down.
Usually. I see enough students who mess up their machines due to hard poweroffs during updates to say that sometimes it does not work out.
In the folder %Windows%\System32\Tasks\Microsoft\Windows\UpdateOrchestrator remove write permissions for all users from the reboot file.
https://techjourney.net/permanently-disable-prevent-automati...
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.
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.
My friend said "how much did you pay for Windows 10." I said "nothing, it's free update." then he said "There you go."
You paid for the original system that you updated from. If you are outside the 30-day window (which you are, because the free offer is over for more than 30 days), you cannot go back to the old system.
So you didn't get the system for free, you exchanged it for the old one. Just the act of the exchange was free, which does not make the system free.
Newly bought Windows 10 licenses are not free either.
And I could even use SELinux so even as root, couldn't kill it. That's what "System" is, right?
/grrrr
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.
http://www.windowscentral.com/how-set-ethernet-connection-me...
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.
The best you can hope for here is that you can do the bulk of your C# development on a "rogue" Linux machine or VM, and then do some final testing and bug-fixing on Windows, since it's going to be deployed on Windows with customers (internal or external) who use Windows.
i predominantly work in java; and while windows is the "official" development environment (more by default than by decree) there weren't any objections or policies against using linux, as nothing in the workflow is tied to a single platform. (hooray!)
Of course you'll have to remember to turn it on to check for updates, but that's no different from using manual updates in past versions of Windows. The only downside is that certain things, i.e. Add/remove features might not work 100% while the service is disabled.
It took the better part of 10 minutes to apply updates. Thankfully it was nothing pressing I was going on the switch. I have disabled auto updates with a registry hack. Microsoft isn't serious about Windows and is now treating it like an OS used for petty un-important work
http://betanews.com/2016/06/09/control-when-windows-10-insta...
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???
There is a general selection of games I play but can only play on windows. In general I settle for the Mac graphics stack proforming on par with Windows.
This is amazing because Windows 10 is barely more than a year old!
Recently I bought a pretty expensive ASUS laptop, 2K and it comes with Home edition. At this point I can buy an upgrade license from MS for about $100 or buy a full retail Windows 10 license for > $200.
Note that the use of "we" (instead of "Windows") is a tad unusual, and maybe a little ominous, for Microsoft.
I'd love to have the annoying old windows update nag box with the postpone button back.
I've had these forced reboots happen a couple times and it's disruptive but that's about it. The most disruptive was when I was working on a project and stopped for dinner then never came back and left my desktop on overnight. The next day I discovered that my computer had rebooted and was at the login prompt.
I can see how this would really suck for applications that do not respect the shutdown notification that Windows broadcasts but even the Arduino IDE dutifully saved my work.
I suspect that over time app developers will pay more attention to OS level event notifications and we'll get to a point similar to Mobile or even MacOS where apps can be halted and resumed at will. Personally that sounds like heaven.
Well actually......twice in the past seven days I had updates installed during my "work hours" and it still went ahead and did the 20 minute reboot warning thing during the same specified work hours in the same day.
It sounds like heaven to have the capability. It sounds like hell to be forced to use it just because the computer's doing something you didn't ask it to.
I think about my browser not restoring tabs after crashing and I shudder because that happens at least once a week. Notepad++ has had this saved state functionality for a while and I take advantage of it quite a bit. I think it would be great if every application did it. Most core Apple applications can resume after reboot.
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?
The approach they've taken of making things mandatory is clearly not universally popular but most of the arguments about it tend to ignore the fact that it was designed to solve a very real problem which affected millions of people.
I am surprised to be asked by adults to think of a solution to a broken laptop given two whole hours in which to find a solution. (Hint: borrow somebody else's laptop.)
End to end tech checks (including your software stack) is just part of respecting your audience.
I think some people run into surprise software updates because they do demonstrations on a virtual machine. I don't think that's a good idea, but if you're going to present on VM images, it's just good practice to test out your environment before you present on it.
Note: I'm not making any statement here about how I think software updates should be installed or how Windows works. I've blogged about controlling Windows Updates over the years, here's a post from a decade ago: https://weblogs.asp.net/jongalloway/438009. This comment is about how I make sure, as a developer and presenter, that software updates don't affect my presentations.
Disclaimer: Microsoft employee, Nazgûl
What about non-tech savvy people who expect a computer to work like an appliance and "the bloody uupdate broke my presentation software".
The problem with the world today is there are too many bloody software dwvelopers, too many who seem so keen on sacrificing stability and compatibility with "The Next Thing".
As someone who works with computers and machines in a fabrication shop that, CNC machines that have never had a software update but they still work day in day out, and UI element that don't move or disappear on a weekly basis, I have to say my personal experience of smartphones and computers (Mac, Windows, Linux) is this: OH MY FUCKING GOD WHY DID THEY CHANGE THAT. WHY DOES IT DO THAT. STOP CHANGING EVERYTHING ALL THE TIME.
Yep, computers are huge piles of black-box shit to the average person, who expects their computer to be more like an appliance.
Wouldn't two hours be too short to fix any problems caused by the update?
OK, it's possible to work around if you take special care. No one should have to pay that much attention to their update schedule.
> Keep your OS up to date and, surprisingly enough, you won't have any problems caused by it being not up to date.
The problem isn't caused by the machine being not up to date. It's caused by Microsoft requiring forced updates. The computer doing something disruptive that I didn't ask it to do is something that I associate with malicious software; it shouldn't be something that I expect from my OS.
> 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?
They do. I typically have 2 weeks of warning, and the chance to update anytime within that time period. I am warned repeatedly as the day approaches that the computer will restart on its own. Patch sets are released monthly, so it's not particularly onerous.
That sounds like an even bigger time sink than the whole "find a new Debian derivative because Unity breaks the alt key, and systemd breaks everything else" thing.
I am baffled... so silent crashes and the illusion of working is a plus... really?
I hope I am missing something
- If you're doing multi-platform software, don't use platform specific libraries.
- If you're doing multi-platform software, test on all your target OSes.
Use any OS that makes you productive.
ex:
microsoft/dotnet:latest is a debian based image[1]
microsoft/dotnet:core is a debian based image[2]
[0] - https://hub.docker.com/r/microsoft/dotnet/
[1] - https://github.com/dotnet/dotnet-docker/blob/master/1.0.0-pr...
[2] - https://github.com/dotnet/dotnet-docker/blob/master/1.0/debi...
When we migrated all of our .NET development to Linux where I work, I thought I'd have to at least keep a Windows VM around so I could continue using LinqPad, but the csharp REPL has pretty much sufficed for everything I do on a regular basis.
Ha, right here is why "the year of the Linux desktop" will never happen. It's basically a kit car. Some people may find it "not that difficult" to weld a chassis together and rebuild an engine, but it's never going to be mainstream.
UEFI is a mess to deal with because Microsoft wanted to lock users. Yes, this will prevent Linux on the desktop. That doesn't mean it will never happen.
Most of those guides you mention were half-assing it at the time of writing. There have been good reasons to still boot through the BIOS CSM even when a system has EFI, but for the most part those reasons have faded or been entirely eliminated over time: older graphics cards that lack the necessary firmware are less common, 32-bit EFI on 64-bit hardware is extremely rare and since kernel 3.15 isn't a problem any more.
Obligatory Wikipedia reference: https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_In...
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.
>> but it's never going to be mainstream
UEFI is painless on every distribution but vanilla Arch/Gentoo/Debian installs. Anyone using (k/x/l)ubuntu probably didn't even notice UEFI just works.
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.
Is the Mint installer unable to deal with UEFI?
* No logitech mouse support = severely disabled experience. I can't use any of the extra mouse buttons in the way I want on my Performance MX. And yes I did spend several hours trying to get it to work but it seems that the button mapping works only for keyboard commands and even that I couldn't make work. And never could make the mouse wheel move at what I consider to be fast enough. Very frustrating.
* While it supposedly exists, I could not make f.lux work. This essentially prevents me from using my computer at all at night.
* The ridiculous amount of times I have to type in my password (and use sudo) is really user unfriendly. Yes I'm sure there's way to disable this or even use root but the average non developer user is going to be hugely turned off by this.
* Node is really, really good on Mint. A full stack MERN/gulp application took 10 seconds(!) to yarn. On windows it would take 2-3 minutes. And chrome just seems much faster for dev. While working on a multiplayer game with 5 windows open (MultiLogin) all of which are connected to livereload, it is about twice as fast for reloads vs windows and a bit faster than macos/macbook pro. Gulp itself takes about 20 seconds to start up on windows the first time is instant here.
So in the end there's just no way I'm going to use Mint for every day use i.e. websurfing and of course gaming. I'll switch to it when I want to do serious heads-down dev.. maybe. To be honest the fact that its a bit faster for node probably won't be a good enough incentive to go through the hassle of setting up a dual boot.
I'd recommend using redshift instead (http://jonls.dk/redshift/). It's free software and does basically the same thing as f.lux.
sudo apt-get install redshift-gtkAlso the sudo point I completely disagree with. It comes down to security or convenience, and it's a damned shame that people pick convenience.
I think the real problem is that the Right Way(tm) to do things is completely non obvious to a linux novice. Looking back on my times starting out with linux (ubuntu 6.06), I remember a lot of similar frustrations. Really, there is no middle ground, you are either a novice or an expert, and bridging that gap is super challenging. The only real useful advice I ever received was to 1) learn the CLI, and don't assume that it is antiquated, 2) use linux for real tasks, don't just follow tutorials, and 3) If something isn't working the way you want it to, there is probably a way to change it.
Hopefully the author will use his frustrations as a learning experience, rather than a reason to leave the platform. The linux community could use more people like him.
For those new to Linux: this can be done as simple as "sudo su -". More details here: http://askubuntu.com/questions/376199/sudo-su-vs-sudo-i-vs-s...
That said, -in my book using root except for updates is often a sign that someone misunderstood or that something is misconfigured or something.
I can't see Unicode characters properly over SSH, because it claims my locale is "POSIX". I'd like to fix it the right way, is it:
http://askubuntu.com/questions/162391/how-do-i-fix-my-locale...
- locale-gen; dpkg-reconfigure locales, with 293 upvotes and 96 "didn't work for me"
- setting the environment variables in /etc/environment, with 225 upvotes
- setting them in /etc/default/locale, with 70 upvotes
- exporting them from .bashrc on a per-user basis, with 70 upvotes
- editing ssh_config and removing the option to SendEnv, with 53 upvotes
- Install the language-pack-en-base, 23 upvotes
- exporting environment variables from /etc/bash.bashrc, on a system-wide basis, 9 upvotes
- exporting them from /etc/profile or .bash_profile, for 6 upvotes
OR
http://askubuntu.com/questions/770309/cannot-permanently-cha...
- localectl set-locale, from systemd
OR
http://serverfault.com/questions/626346/ssh-locale-wrong
- UsePAM directive in sshd_config, which turns on Pluggable Authentication Modules and in a sneaky and ridiculous rider, also turns on 'session module processing for all authentication types', and disable locale setting if you disable PAM
OR
https://serverfault.com/questions/475925/how-to-fix-putty-sh...
- change /etc/pam.d to make the pam_lsass.so 'optional' instead of 'sufficient'
How many of those are 'obvious' to an expert?
I think it's easier now.
Also, the "expert" level on windows… it's mindbogling complex.
Make sure you support vendors that support linux, I have no logitech devices in my home for this reason.
>>>While it supposedly exists, I could not make f.lux work.
Redshift, much better
>>> The ridiculous amount of times I have to type in my password (and use sudo) is really user unfriendly.
You should only have to type the password if you are attempting to access a area outside of the users control, this should be limited to administrative functions like installing software, or changing system wide settings. Sounds like you have a configuration issue or at attempting to do things that SHOULD be locked down and SHOULD require elevation and are complaining because linux is more secure than windows
One of the reasons windows is terrible at security is because every time they attempt to add security they give people a simple "click yes" way to bypass it rendering it useless
Hardware support can be a genuine issue. The fault lies with Logictech in this case. If I was an arrogant Linux-head, I'd probably say that your time is better spent configuring i3/emacs/vim than getting their latest shiny toy working.
Granted, that's not n00b friendly or anything, but it is a pretty quick solution and you only have to do it once. Just make sure you have a real root login and/or use visudo to perform the edits to avoid accidentally locking yourself out of admin access if you screw up the syntax.
And at least we have a choice, thanks to the thousands of faceless individuals who have contributed to make it possible.
There's a reason sudo exists. Superuser-do. It keeps automated malware and other bad things from happening without authorization.
redshift-gtk does what flux does.
The whole installation process would just be one line. The same if you want to install, VSCode, Atom, Android Studio, etc.
For developers Arch is the best operating system since sliced bread.
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 the time was Microsoft's Unity so that was what I had worked with for ~5 years. After a week or so of research and deliberation I decided to go with Autofac and found it to be really easy to set up and use. For me it hit the sweet spot between built in functionality and performance.
It works just as well in Core. As such, it's usually the first package I install in a new Core project.
My current work jumps between .net and linux frequently. I've been lured by the notion of all work on a single OS. It is certainly possible. And I take a shot at it every 6 months or so. So far it still brings more hassle than practical benefit for me.
Tools make all the difference in efficiency. And if youre short on time and working on C#/SqlServer/F# then nothing currently gets the job done faster than the older/boring tech (for me that's visualstudio/vsvim/resharper on windows 7).
But I agree that SqlServer on linux + project rider may be enough to make practical cross-platform environment for my needs.
This is a great conversation and worth checking in on every few months
But honestly, spend a weekend learning Gimp. It's a pain, yes I know, but I'm really glad that I did. The official tutorials are wonderful. You'll be able to do so much more, and do it so much better, and even a bit quicker than you could in Paint.NET that you'll wind up preferring Gimp even in Windows.
Just be sure to use single-window mode.
GDI actually exists for Linux (at least for Mono), but it's not really something you want to use in production.
Windows Forms doesn't exist (yet). IIRC that's what paint.net uses, so you're out of luck.
Third party toolkits like GTK#, wx.NET or QtSharp will work on both OSes.
https://blog.getpaint.net/2007/12/04/freeware-authors-beware...
So, what is upsetting you here, really?
Back in 2006, when I switched to Ubuntu, I used to be the one complaining that developers pretended Redhat = Linux. If I had to choose, I'd pick .deb over .rpm any day.
FWIW, Gentoo offers Pinta in the portage tree:
* media-gfx/pinta
Available versions: 1.6-r2 **9999
Homepage: http://pinta-project.com
Description: Simple Painting for Gtk
so you could even download the source and rebuild on your own, should you need rpm's that desperately.it's also on pacman https://www.archlinux.org/packages/community/any/pinta/
Beyond that it's closed source, so it would require the Paint.NET developers to port it to Linux.
Wine is probably going to be your best bet.
There are only some open-source libraries but they are very new.
Let Krita be your new friend. https://krita.org/en/
I use four graphics tools in Linux.
1) Inkscape (Vector paint program) I also use it on Windows though I have a Adobe license
2) Gimp (My go to raster image editor)
3) Krita my go to paint program and not really for raster image editing
4) Aftershot Pro - My raw image and editing tool for quick photo edits
Krita is more comparable to Corel Paint then to Photoshop or Gimp.
I'm wondering why a Nano Server plus additional libraries could not host a complete asp.net 4.6 runtime, possibly leaving out components that need the GDI.
The instructions are pretty simple. You have to toggle one setting. Done -http://www.tenforums.com/tutorials/8013-windows-update-autom...
Maybe take a look at the last paragraph:
> To sum up – I’m not trying to say that Windows is not so good for the software development. For example, the Visual Studio will be probably hard to beat for many years amongst many other great tools. My point is that if you’re not tied up to some specific technology which is not cross platform (which usually means for the Windows users only), you might want to give a try to some other environment. It’s always a good thing to try out something new, hone skills and broaden your horizons.
I actually like the Automatic Update feature. I don't need to remember to run updates myself all the time. That said, I've been bitten by an hour-long unusable computer scenario and it's been a bummer, to say the least.
Would you kindly provide a citation for that statement?
I've been programming on Windows for twenty years in various corporations - never had a problem getting Admin rights on my own machine... I'm now a consultant and I visit many, many, many job sites - and I just don't see it being a problem.
Furthermore - Linux wouldn't solve the problem for those rare people who can't control their settings anyway. So, what's your point?
In many cases you're stuck as a "Power User" or whatever group policy the IT department deems sufficient for you to run Visual Studio (or IntelliJ etc). Been there done that twice in my career.
Plus I wasn't really opposed to safety updates as such, and wouldn't want to take the burden of remembering about them upon myself - it's just the arrogant, disruptive manner in which they are delivered that never sat well with me (if with anybody...)
How does VSCode deal with things like running unit tests?
dotnet test (https://docs.microsoft.com/en-us/dotnet/articles/core/tools/...)
dotnet watch test (https://github.com/aspnet/DotNetTools/tree/dev/src/Microsoft...)
Checkout this project for making WPF cross platform.
cant wait to see the next gen of sloppy shell scripts, yay