News for hackers. Stuff that matters.
Re:Python past, present, and future with Guido van Rossum [a... by yokohummer7 on Thursday February 23, 2017 @07:08AM (#13713248)
Might be an off-topic, but recently I learned that Windows does come with a C# compiler. It's included in the .NET runtime, which is installed by default nowadays. This might be useful if you're extremely lazy to install any language implementation. It is quite amazing since even Ubuntu doesn't ship a C/C++ compiler by default.
Re:Python past, present, and future with Guido van Rossum [a... by omegaham on Thursday February 23, 2017 @07:52AM (#13713456)
I learned this when my boss was wringing his hands over an Excel job that was too complicated to do comfortably in VBA. I'm not allowed to install anything on the computers because I'm a flunky technician.

I started poking around the C:\Windows directory to see if there was something that I could use, and I found C:\Windows\Windows.NET\

"Wait a second - C# is .NET, right?"

A hundred lines of C# later, I had a solution for my boss where you drag the CSV onto the program and it spits out another CSV. I would've liked to have the ability to grab an Excel file, but that requires installing another library... can't do it.

Re:Python past, present, and future with Guido van Rossum [a... by ue_ on Thursday February 23, 2017 @07:23AM (#13713326)
I'm surprised Ubuntu doesn't come with gcc.
Re:Python past, present, and future with Guido van Rossum [a... by fnord123 on Thursday February 23, 2017 @08:16AM (#13713549)
You type in 'sudo apt-get install build-essentials' and you have it. I don't what the process on Windows these days but you used to have to find visual studio install media, install it, and reboot two or three times.
Re:Python past, present, and future with Guido van Rossum [a... by dagw on Thursday February 23, 2017 @10:13AM (#13714479)
I don't what the process on Windows these days

1) Go to visualstudio.com

2) click Downloads

if you want the full IDE:

3) choose between downloading free version of a trial of the professional version

if you just want the command line tools

3) scroll down until you find C++ Build Tools and download that

4) double click the file you just downloaded.

5) Done

Re:Python past, present, and future with Guido van Rossum [a... by dragonwriter on Thursday February 23, 2017 @11:23AM (#13715105)
Yeah, visual studio now installs decently.

Uninstall or upgrade is still a nightmare, but installing it on a PC which has never had it isn't bad.

Re:Python past, present, and future with Guido van Rossum [a... by fnord123 on Thursday February 23, 2017 @10:40AM (#13714727)
No more reboots?
Re:Python past, present, and future with Guido van Rossum [a... by dagw on Friday February 24, 2017 @03:16AM (#13721975)
Not that I can recall, at least not on Windows 10.
Re:Python past, present, and future with Guido van Rossum [a... by cgravill on Thursday February 23, 2017 @11:19AM (#13715081)
It'd be great to have it built-in but you can get https://chocolatey.org and MinGW pretty easily:

  iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
restart prompt, then:

  choco install mingw
(no machine reboots, disclaimer: I work at MSR, nothing related to this)