News for hackers. Stuff that matters.
Re:Microsoft 365 Outage by OkGoDoIt on Monday September 28, 2020 @06:53PM (#24622095)
I'm assuming this is related: I can't do any development using Visual Studio 2019 at the moment because it calls home to verify the license and it is currently unable to log me in to to verify my license. So VS is basically bricked for me until this gets fixed :-(

Screenshot: https://rog.gy/ss/3b14f7a2ac.png

Re:Microsoft 365 Outage by koyote on Monday September 28, 2020 @07:25PM (#24622365)
That is awful and why I have always been very sceptical of software moving to the cloud.

Just yesterday I had a similar issue with Resharper, where our local licence server was down for the day. Luckily I was able to enable a 30-day trial. (and I guess Resharper isn't that mandatory to get work done)

Re:Microsoft 365 Outage by OkGoDoIt on Monday September 28, 2020 @08:18PM (#24622758)
It used to be you bought a key to unlock it permanently, but nowadays it ties your license to your Microsoft account. There’s a link to “unlock with a product key“, but I have no idea how you get one of those. I hate renting software rather than owning it, but also VS2019 is where I’m most productive so I put up with it.

This isn’t even the first time this has happened. I do most of my development on my desktop computer, sometimes I go long stretches without using my laptop. More than once I opened up my laptop on a flight to try and get some coding work done, but surprise, license is expired and I don’t have any connectivity to renew it. Absolutely ridiculous.

Re:Microsoft 365 Outage by DevoidSimo on Tuesday September 29, 2020 @07:22AM (#24626323)
You used to be able to get keys for all windows software through an MSDN account. No idea if that's still the case, would have been around 2017 last time I had one.
Re:Microsoft 365 Outage by andi999 on Monday September 28, 2020 @09:31PM (#24623304)
Whats the difference for you between VS2017 and VS2019?
Re:Microsoft 365 Outage by AlotOfReading on Tuesday September 29, 2020 @12:45AM (#24624220)
Time travel (reverse) debugging is a killer feature and only available for 2019 onwards. Prior to that you have to use their "IntelliTrace" stuff, which isn't nearly as good.
Re:Microsoft 365 Outage by orloffm on Tuesday September 29, 2020 @06:55AM (#24626155)
Also small things around .net core stuff - better UI for project settings, built-in converter for packages.config etc.
Re:Microsoft 365 Outage by retox on Tuesday September 29, 2020 @08:00AM (#24626615)
>small things around .net core stuff

I don't think you can target core 3.0+ at all in VS2017, and only 3.1 is supported now. What that means for security updates I don't know.

Re:Microsoft 365 Outage by simonblack on Monday September 28, 2020 @07:45PM (#24622527)
I have always been very sceptical of software moving to the cloud.

Me too. After a disastrous episode with DropBox while travelling in foreign countries nearly a decade ago, I instituted my own File Server that's accessible via the Internet. All of my data is 'safe at home' with daily backups.

Re:Microsoft 365 Outage by drevil-v2 on Monday September 28, 2020 @08:05PM (#24622668)
How do you secure it from unwanted access? I have been wanting to do something similar but I am unsure of the best practices
Re:Microsoft 365 Outage by jve on Tuesday September 29, 2020 @01:23AM (#24624400)
After setting up HTTPS, always being updated, introduce port knocking for HTTPS port : https://www.digitalocean.com/community/tutorials/how-to-use-...

Its less of a hassle to use something like nginx reverse proxy docker container in front of your web services, as it comes preconfigured with some best practices regarding TLS. (TLS1.2+ only by default) https://hub.docker.com/r/jwilder/nginx-proxy

If you use docker, be sure to google around how to manage firewall with containers (must use DOCKER-USER chain instead of INPUT)

Ofcourse, you will get a bit involved in setup step if you choose to tie nginx proxy, letsenccrypt and nextcloud containers. But search engine is your friend.

Re:Microsoft 365 Outage by microtherion on Monday September 28, 2020 @09:13PM (#24623189)
Not sure if it's a "best practice", but you can get a fairly Dropbox'ish experience by running a nextcloud/owncloud instance. It even comes in docker containers, so setup is quite simple.
Re:Microsoft 365 Outage by Jedd on Monday September 28, 2020 @09:09PM (#24623164)
Either sftp/ssh with key-only logins (ie. no passwords), or Syncthing (depending on the volume of data, rate of changes, speed and costs of your network transits)

I now keep my primary 'work' and 'private' collections (10-30g each) and a large shared set (350g) synced across desktop & laptop, and also 3 off-site archive servers, using Syncthing. This includes a literal satellite connection for one site.

[0] https://syncthing.net/

Re:Microsoft 365 Outage by raxxorrax on Tuesday September 29, 2020 @04:50AM (#24625405)
You could take a look at nextcloud. Seems promising, but I have just rudimentary experience. Does what I want though.
Re:Microsoft 365 Outage by tiagobraw on Monday September 28, 2020 @08:10PM (#24622702)
build a home vpn with self signed certificates
Re:Microsoft 365 Outage by benhurmarcel on Tuesday September 29, 2020 @04:30AM (#24625315)
> a disastrous episode with DropBox while travelling in foreign countries nearly a decade ago

What was that? They cut your access because you logged from a different IP?

Re:Microsoft 365 Outage by simonblack on Tuesday September 29, 2020 @07:35PM (#24634319)
It was probably my fault in configuration, however the idea was to have a DropBox whereby I could put in files while travelling with my laptop and those files would be taken up with my home server.

Except that it worked in reverse. My laptop was 'emptier' than the home server, so the home server's files were deleted to match the laptop. Hundreds of megabytes of files were destroyed before I managed to stop it.

On top of that, I only had a 2 gig per month quota for internet access while travelling, and all the DropBox activity soon exhausted that in days.

On later trips my own home server coped very well, with less overall unwanted activity.

Re:Microsoft 365 Outage by markus_zhang on Monday September 28, 2020 @08:06PM (#24622679)
Me too. Got a few instances of similar situations with Datagrip and really wish we had local license instead of license server.
Re:Microsoft 365 Outage by darthg0d on Monday September 28, 2020 @09:41PM (#24623357)
All JetBrains products support using a license key instead of using the JetBrains account.
Re:Microsoft 365 Outage by tonyedgecombe on Tuesday September 29, 2020 @02:51AM (#24624805)
If you logon to the JetBrains site you can download an activation code for offline use.
Re:Microsoft 365 Outage by neolog on Monday September 28, 2020 @07:49PM (#24622556)
> That is awful and why I have always been very sceptical of software moving to the cloud.

Because you're less likely to brick your IDE than Microsoft is?

Re:Microsoft 365 Outage by rgovostes on Monday September 28, 2020 @07:54PM (#24622586)
Yes? I have never heard the concept of "bricking your IDE" before. How badly could you mess up and not be able to reset it? If your IDE can break dramatically without an obvious method to revert to a good state, consider a different IDE.
Re:Microsoft 365 Outage by koyote on Monday September 28, 2020 @07:53PM (#24622580)
I don't think I've ever 'bricked' my IDE. How does one go about bricking an IDE?
Re:Microsoft 365 Outage by sixdimensional on Monday September 28, 2020 @08:02PM (#24622647)
Welcome to Visual Studio, the home of updates that take hours to install and sometimes end up bricking your IDE.

To be fair, that hasn't happened in a pretty long time for me - but in the earlier days it was commonplace. It used to be bleeding edge features that would do it, other times it was just because they took so long, that interrupting the process of upgrading or installing caused a mess. Or installing the newest version alongside the older version, etc.

Visual Studio is a massive and complex creature (much like other "big IDEs", such as Eclipse) - although it has become much more streamlined in more recent releases - considering how complex it is.

EDIT: To be clear, problems often involved corruption of registry values, library/DLL hell, small database or configuration files and caches, etc. that happened with Visual Studio in the scenarios above.

Re:Microsoft 365 Outage by sixdimensional on Monday September 28, 2020 @08:21PM (#24622778)
I've been using it since Visual Studio .NET 2003.. so we as developers didn't all have virtual machines, image-based backups or things like Docker/Vagrant back in late 2003/early 2004.

Yes, since the inception of these kinds of tools, recovery from these corruptions became easier by restoring from an image. Still, in the early days, you could burn a lot of time doing anything of these things!

Re:Microsoft 365 Outage by koyote on Monday September 28, 2020 @08:11PM (#24622710)
Yeah I have been using VS for nearly a decade now but I've never 'bricked' it.

Sure, sometimes installing new versions alongside old versions could cause issues. But that's a managed process that one team member would do before the whole team migrated and any issues would be worked out during that stage. (one of our old upgrade steps was to install 2015 before 2013 because doing it the other way around would break something in 2013; 2013 still being needed for some projects).

I have never been in the situation where the entire company (or even entire team) was locked out of their IDE.

Re:Microsoft 365 Outage by ironman1478 on Monday September 28, 2020 @08:12PM (#24622718)
Just to back this up, I've also bricked my VS installation multiple times when I worked in that environment. However, some of that was self inflicted when I was trying to figure out how to restore older sub versions of vs 2019 before they started publishing the manifests publicly.

Also, while this isn't bricking the IDE, you can definitely ruin solutions & project files in a very hard to debug way if you ever need to manually update those files.

Re:Microsoft 365 Outage by pixl97 on Monday September 28, 2020 @08:14PM (#24622735)
* click *

Restores operating system image in a few minutes.

Re:Microsoft 365 Outage by dragonwriter on Monday September 28, 2020 @08:26PM (#24622810)
> I don't think I've ever 'bricked' my IDE. How does one go about bricking an IDE?

Visual Studio major version updates (uninstall old plus install new) used to be a good way to do that and often wreak havoc on the overall stability of your system as well. At least, on a system where you didn't want to strip it to fresh OS install as an intermediate step.

Re:Microsoft 365 Outage by rwbhn on Monday September 28, 2020 @09:11PM (#24623175)
Haven't bricked emacs yet :-)
Re:Microsoft 365 Outage by immigrantsheep on Monday September 28, 2020 @07:14PM (#24622262)
Funnily enough the community/free version works without issues. That really sucks if you're a paying customer.
Re:Microsoft 365 Outage by takeda on Monday September 28, 2020 @08:07PM (#24622684)
not that surprising, since it probably doesn't have to phone home.
Re:Microsoft 365 Outage by bleepblorp on Monday September 28, 2020 @08:19PM (#24622767)
It does, but seemingly not as frequently. The community version seems to phone home every few months.

Now, the pirated version never phones home and always works even when MS decides to steal your products back.

Re:Microsoft 365 Outage by orloffm on Tuesday September 29, 2020 @06:57AM (#24626174)
Community needs to re-update your license every 30 days, so it would also stop working for someone who had that period ending during the outage.
Re:Microsoft 365 Outage by fendy3002 on Monday September 28, 2020 @07:14PM (#24622270)
Woah that must be suck! Online license validation can backfire like drm did: you cannot use offline feature without online service available.
Re:Microsoft 365 Outage by takeda on Monday September 28, 2020 @08:09PM (#24622691)
isn't it pretty much the same thing?
Re:Microsoft 365 Outage by partiallypro on Monday September 28, 2020 @07:25PM (#24622358)
That's strange, I assume it doesn't work when you aren't connected to the internet either?
Re:Microsoft 365 Outage by OkGoDoIt on Monday September 28, 2020 @08:14PM (#24622730)
It revalidates the license every 30 days, and I haven’t used it in a few days. Apparently I just got unlucky with my timing.
Re:Microsoft 365 Outage by taf2 on Monday September 28, 2020 @08:05PM (#24622669)
Question does the compiler at the cli also phone home or is it just the IDE?
Re:Microsoft 365 Outage by OkGoDoIt on Monday September 28, 2020 @08:21PM (#24622779)
The compiler and the .net platform in general are all accessible without a paid license or internet connection, and actually there’s a free edition of visual studio you can use without a paid license as well. But downloading and installing a fresh copy of Visual Studio Community Edition would take a while and I don’t feel like dealing with that hassle right now. I assume this will be fixed by tomorrow.
Re:Microsoft 365 Outage by william_T on Monday September 28, 2020 @07:25PM (#24622366)
yup its authentication. So 365 is one of many top level MS services not accepting new sessions.
[dead]
Re:Microsoft 365 Outage by dang on Tuesday September 29, 2020 @03:15AM (#24624953)
Please don't post flamewar comments or cross into personal attack. We're trying for something different here.

https://news.ycombinator.com/newsguidelines.html