HNHacker News
TopNewBestAskShowJobs

tdicola

3,510 karma · joined July 22, 2011

submissionscomments
tdicola··on MS Python: How to deal with the pain of “unable to find vcvarsall.bat”
Yeah I've used those VMs and it's nice but they're only valid for 90 days and IMHO the licensing is kind of murky (it says they're only for testing IE). You also don't have a choice of 32bit vs. 64bit VM (I've noticed the win 7 VM is 32 bit, the win 10 VM is 64 bit for example). There really should just be 100% free for any use VMs that never expire for library maintainers to use.
tdicola··on MS Python: How to deal with the pain of “unable to find vcvarsall.bat”
This is a very odd blog post in my opinion coming from MS. It acknowledges the pain of dealing with source distributions on Windows and gives excellent advice on how to overcome the issues. However I think it really misses the forest through the trees.

If MS was really serious about Python being a first class citizen on Windows then fix the root problem which the post acknowledges, ".... Because Windows has a different culture, most people do not have (or need) a compiler." Why doesn't Visual C++ express come installed or as a super easy to install dependency on Windows? Howabout MS pushing to change the culture of Windows to one where compiling from source isn't a big deal and is as easy as it is on Linux?

Also it's super helpful that this post lays out where to find precompiled versions of Python packages for Windows, but again it's something if MS were really serious about they would step up their game significantly. Why is it that some random person, Christoph Gohlke (and as a side note many thanks to them, they have undoubtedly helped thousands of people), is the maintainer of one of the most important resources for Python users on Windows? How about MS steps up and dedicates resources to ensuring precompiled and tested python binary packages are available for all packages?

Finally I think the message that people should bug Python library owners to get windows wheels up is very poor advice. Library maintainers have enough to deal with and piling on more frivolous issues won't help. What if the maintainers don't even have Windows machines to build binary packages with (and again, why doesn't MS step up to provide them with said Windows machines/licenses)? Badgering the maintainers isn't going to make things better. If MS is serious about python on Windows they need to step up their support and make the platform better.

tdicola··on Ask HN: How do detect a crappy boss / toxic environment when interviewing?
Assuming you're doing a typical full day interview loop pay attention to the first few interviewers, they're likely more of the junior employees. Ask them lots of questions about the work environment, boss, etc. Obviously don't come out and ask 'is your boss an asshole?', have more subtle questions like 'what's the work/life balance like?'.
tdicola··on Bash on Ubuntu on Windows
So will the bash prompt not see any tools like windows python in the windows system path? That seems like an odd decision if so.
tdicola··on Bash on Ubuntu on Windows
Linux docker? I doubt it--there's a lot of low level kernel stuff docker needs like creating a chroot. That said MS has been working on a docker version for Windows. I dunno if they ever released many details on what exactly it is though, it's been a while since I've much from them on it.
tdicola··on Bash on Ubuntu on Windows
Install git (the real git from https://git-scm.com/, not a fancy GUI) and use the git bash shell today. It runs msys and has a full set of Linux utilities like ls, etc.
tdicola··on Bash on Ubuntu on Windows
If anything it's going to make it worse. When you type python in a command prompt which version is going to run, the windows version or the Ubuntu version? Even worse when you pip install a package what pip are you running, windows or Ubuntu?

Python on Windows is painful mostly because of the amount of binary packages that have to be compiled since distributing binary packages hasn't been in vogue until only recently with Python. You can save a ton of trouble using something like Anaconda, or honestly just run a Linux VM. If you're compiling numpy you're doing something wrong IMHO--use a prebuilt version that's optimized for your processor (ideally using Intel's commercial compiler with full SSE, etc. optimizations).

tdicola··on Seattle is putting up $50B for transit
Even if the cars drive themselves there's still not enough lanes to let them flow right now, much less in 20+ years. There was a study done that found Seattle's needs _22_ lanes of highway to meet the current demand. However because of how the highway system was originally built through the city we're stuck with 6-8 lanes at best. We need mass transit to get cars off the roads and reduce traffic.
tdicola··on Seattle is putting up $50B for transit
Ehh, Seattle and Washington's government isn't any better than other cities and states. You just don't hear about the junk going on unless you live in the state. Our state funding for education is a complete joke and the state congress refuses to give funding that was mandated by the state supreme court (http://www.seattletimes.com/seattle-news/education/supreme-c...). The right side of the state (towards Idaho) is much, much different than the Seattle area and is always at odds with what Seattle wants. For every awesome transit project there are many other quagmires like our Bertha big dig that's been spinning its wheels and wasting money for years now.
tdicola··on Native Mac Notifications Comes to Chrome Stable
Absolutely not. This is an echo chamber of people interested in technology and startups. To extrapolate out to the broader entire web user audience is a massive logical fallacy. I would hope that's obvious to almost anyone.
tdicola··on Native Mac Notifications Comes to Chrome Stable
I'm not asking that notifications be completely removed from the spec. I'm pointing out that popping a distracting dialog when you visit the root of a domain is a poor design decision that should be re-evaluated. We don't do it for SSL, RSS, favorites, and plenty of other information about a site. I don't see why web notifications are so important they need to distract people immediately upon visiting the site.
tdicola··on Native Mac Notifications Comes to Chrome Stable
You keep suggesting this in replies but I don't know if you're actually serious or not. Disabling Javascript will break the vast majority of websites today from even rendering. Asking users to break rendering of the web just to stop annoying notification permission requests is silly.
tdicola··on Native Mac Notifications Comes to Chrome Stable
> If people didn't want web notifications, they wouldn't have been explicitly added in to the specs.

Web standards aren't a democratic process that all the web users vote on. They're defined by a consortium of companies each with their own special interests and agendas. Pop-ups were allowed by web standards and we've gone out of our way to build tools to prevent them.

tdicola··on Native Mac Notifications Comes to Chrome Stable
When you visit an SSL encrypted website a little lock icon appears. It used to be when you visited a site with an RSS feed a little RSS icon would light up. I see no reason why notifications shouldn't be exactly the same. Give some ambient/unobtrusive notification of the capability. Don't force me to stop what I'm doing and make some decision for something completely orthogonal to what I'm currently doing.
tdicola··on Native Mac Notifications Comes to Chrome Stable
> Most people want them.

Source?

tdicola··on Native Mac Notifications Comes to Chrome Stable
Why does it have to assume when I vist a site I want the distraction at all? How about we put it in a setting or other page I have to explicitly visit and opt in to receive notifications. Just like signing up for emails, etc...
tdicola··on Native Mac Notifications Comes to Chrome Stable
Awesome, now how about we make this default to on just like we default on pop up blockers etc?
tdicola··on Native Mac Notifications Comes to Chrome Stable
I don't, I like having long stretches of time without distractions. Then I can choose when I want to catch up on mails and when I want to get to work. Please let me keep browsing the web like this too.
tdicola··on Native Mac Notifications Comes to Chrome Stable
Because I'm old enough to have seen stupid trends like this come and go. I like to browse the web on my terms and not be bombarded by useless information. I know it's a crazy concept for some young people these days but sometimes people don't want any interruptions or distractions like real time notifications. If anything notifications should be entirely opt in where you explicitly go to a page on a website and turn it on--not spamming every time you visit to ask if you want to turn them on.
tdicola··on Native Mac Notifications Comes to Chrome Stable
Yeah it's the principle of the thing though, when I'm browsing around and constantly getting yelled out (dialog pop ups, etc.) to subscribe to notifications it's really no different than the bad old days of pop ups and pop unders. If a site wants to be a jerk and spam alert dialogs that's fine and they might trick me once but I'll never visit the site again. However with notifications it's junk that every website feels they need to have and is almost unavoidable these days.
tdicola··on Native Mac Notifications Comes to Chrome Stable
I agree entirely. Maybe we'll be lucky and they rip the feature entirely out soon like the app launcher no one wanted: http://blog.chromium.org/2016/03/retiring-chrome-app-launche...
tdicola··on Native Mac Notifications Comes to Chrome Stable
Asking permission is spamming IMHO.
tdicola··on The Secret Tesla Motors Master Plan (2006)
> Normal people do not spend $35-40k on a car. We're still talking about a high-end vehicle.

I don't think you've been car shopping much recently. 'Economy' cars like the Honda Civic, Mazda 3, Toyota Camry, etc. can easily push up against $30k with a few options. For some real sticker shock look at minivans, a Honda Odyssey can easily hit $40k-50k out the door.

With a five year loan or a three year lease and a bit of trade in from a previous car you can easily be driving a $35k car for just a few hundred bucks a month.

tdicola··on The TSA Randomizer App Cost $336k
Their manager will have a stern talking to them about how 'this isn't how we operate' and 'you broke protocol' and 'made everyone look bad'. They'd be reassigned to the most boring and menial tasks until they quit.
tdicola··on The Future of Game Development on Windows [video]
Why would Microsoft be sued, what law specifically would they be breaking?
tdicola··on Visual C++ for Linux Development
Oh weird, huh this must be more fallout from the canceling of Astoria that they're spinning off into a standalone thing.
tdicola··on Visual C++ for Linux Development
It's not super clear but I think that step is actually installing g++, etc. on the Linux host (and in reality they probably mean you should apt-get install build-essential and not just g++, gdb, etc. individually). It's having you install openssh-server which wouldn't really make sense on the client/development PC. Also for ARM you'd need a gcc cross compiler installed and I didn't see any mention of that.
tdicola··on Visual C++ for Linux Development
I'm curious is it using MSBuild as the build system on a Linux machine, or does it integrate with existing makefile, CMake, autotools, etc. style projects? It seems like a total nonstarter to expect Linux developers to switch to MSBuild.
tdicola··on Ubuntu on Windows
Completely different. Git bash is based on msys which is a suite of Linux/Unix tools ported to compile and run natively on Windows. This is taking actual Linux programs and running them as-is on Windows. Wherever the Linux programs make system calls to the Linux kernel, etc. there is a shim layer from MS that translates those calls into Windows system calls. It's not going to be 100% perfect compatibility with every app, but will probably support a lot more stuff than msys.
tdicola··on Ubuntu on Windows
I'm with you. Interesting novelty, but I would absolutely not bank on doing anything missions critical with this. Wait 5 years for the excitement to die down and lets see if the team stuck maintaining this is even going to be around anymore. Are they committing to keeping the syscall translation layer up to date with changes in later kernels, etc? Or is this going to turn into another 'You can run Android apps on Windows!' announcement that fizzles out after they realize how much work they've gotten into...
← PreviousPage 4 of 34Next →