skysight-inc/HackerNews huggingface dataset:
virtualenv isn't made redundant by Vagrant at all; I use them together all the time. The remote server I deploy to is completely different from my development machine, so I use Vagrant to simulate the remote environment. Since I'm on shared hosting, though, I use virtualenv to make sure that my app isn't depending on shared modules that are out of my control. It's also a LOT more reliable than trying to deal with a userdir python build or pip --user, where you'll probably end up fiddling with envvars anyway, except worse because you'll be doing it by hand instead of through a script.
That's one of the elements of the essay I disagreed with.

To me, with power comes the need for transparency. The greater the power (wealth, government, corporate, etc.), the greater the mandate for transparency.

Your average Joe minding his own business? Not so much.

Edit: Parent post, since deleted, had commented on this passage in the article:

"But there is a paradox here. Because many of those who are shocked by the extraordinary extent of the secret surveillance - radical journalists, cyber-revolutionaries, internet libertarians - are also argueing for total transparency of information."
I tried oDesk last year. There are so many people that are only willing to pay <$5US/hour for a developer (and I even saw listings like "Non-negociable!!".

After getting through all of this, the clients left over that are even willing to pay a decent wage expect way too much. Developer, designer, and product manager for one fee.

I can't tell you how many potential clients I turned down because of this.

I gave this up and found a decent part-time contracting gig on craigslist.

Odesk should be renamed to: "unrealistic expectations"
WoW is a terrible example due to the latency mitigation factors built into the game: you can only cast spells every so often, and then you have a global cool down between spells. You could totally do it on an ipad or some such if the control scheme was a bit better optimized for it.
I know you know :) Just wanted to say that there's a difference in the way both were written, and that I personally found the Renesys piece more interesting. I don't think all readers will have the time to read two long pieces on the same subject, so a bit of context helps.
I'm interested mainly in tech articles (libraries, software projects) that I might use. Restricting to articles that contain (or link to) python or js code could be very useful for me.

I'm also interested in particular industries and "topics" which could be identified using standard topic modelling techniques (e.g. LDA, which is used by getprismatic)
And it's actually not too far away from full time employee rates.
How could this be helping in debugging? I'm curious!
Well this sucks. I was going to pay for the test this weekend.

Anyone have any idea how useful the health data is without the 23andme interpretation? I'm guessing it will be basically useless.
The video looks interesting but in real world practice, I don't know if I'd personally ever have this kind of problem. Honestly I think it sounds nice on paper but I'm clearly not the target audience.
Surely half an hour a day doesn't make a lot of difference? Many people spend more on their commute.
The funny thing is that for the PS you don't even need to be an insider, as Sony makes many of their papers freely available.
How To Virtually Unite Remote Teams With RFID, Arduino, And Beer
That someone in Minsk may well be US operative working at huge IBM facility in Minsk.
Their interpretations were based on poorly proven associations between genes and disease-outcomes. I bet with the info you could look up on wikipedia/google scholar much of what you needed to know. But it depends on the format of this data dump.
An idea that drastically needs to be implemented (and implemented well). I hope that Spotify can accomplish what they set out to do and put one more nail in the coffin of an industry that currently under-values artists.
Where HTTPS
Related discussion https://news.ycombinator.com/item?id=6773889
> In fact, before they could accept or refuse the app's terms of agreement, the FTC said Brightest Flashlight was already collecting and sending information.

Somewhat OT, but I could've sworn Google does this on new Android installs. I updated my Nexus 4 via CM a few days back to 4.3, and as I went into the account settings to turn off Google sync (contacts, Gmail, calendar etc.) I saw the sync icons spinning for all of them. I don't recollect allowing Google to sync any of my data.

Of course I subsequently turned off sync for all Google services.
It would have been great if you have integrated "arrows keys" to navigate across the years.
Nelson Mandela dies aged 95
Replied to wrong parent?
Much has been made lately about how HN comment quality is declining, but it seems to me that we're still the civilest, most on-topic bunch around. As exhibit A I submit the fact that this thread has not devolved into a silly Theological pissing contest and is instead still relevant to the OP. Touche, HN, touche.
Eventifier : When they started
Considering the adoption of llvm and clang came with a freezing of the version of gcc used/distributed by Apple to a version before a particularly notable GPL version (among other GNU projects being similarly frozen, like bash) was applied to it, it would take a hell of an alternate explanation to dislodge the notion that Apple's endorsement of the project wasn't significantly related to licensing.
Microsoft, FBI, Europol & partners disrupt ZeroAccess botnet
Since they're still going to provide the data to new users, I wonder if some of their interpretations could be recreated and published by existing users who still have access to the interpretations.
>the late 1900s saw tremendous busts, despite a gold-backed currency

You made a typeo.

but yeah. I'm not sure why the hard-currency folks think that a commodity-backed currency will result in a more stable economy. Boom and Bust is the natural state of capitalism, and perhaps the natural state of human society, at least in times of dramatic technological change.
No, that is pure FUD. 23andme provides a confidence assessment for the associations and risks. Here is a screenshot from their site: https://dl.dropboxusercontent.com/u/49805/confidence.png
http://www.reddit.com/r/explainlikeimfive/comments/1s6ymm/ne...
A test driven development process in Django
Total War: Rome II Coming To Linux "Early Next Year"
You can get the basically same report running Promethease on 23andMe data dump. There is a website even providing automatic 23andMe data import using 23andMe's API.
BBC covered it here, saying the redacted version I linked to was published by SOCA last year: http://www.bbc.co.uk/news/uk-politics-23493112
Why pip?

pip uninstall psycopg2

or

pip install --upgrade psycopg2

But I guess with easy_install you can fake it by running with -m and then deleting the errant egg files in lib and bin files. That's pretty easy, I guess.

Oh but hey, you know what you can do instead? Setup a virtualenv, easy_install everything and when it gets hopelessly out of date or munged, you can just delete the virtualenv directory and start again.

Snark aside, I would agree with the OP that the "feature" of installing via arbitrary URLs is an anti-pattern and encourages lazy development. Of course, not every package we build can be posted to a public package library, so there's always that issue with easy_install too. Sigh, what a mess we have. Good thing I'm still able to get work done with these tools :)
Yeah they can: They are both the first black elected leader of their respective countries.

Not in terms of worthiness. If Obama was exactly the same in every way but was 100% white, he never would have even made congressman let alone either term of presidency. He was pushed through on racism (non-white people voting blindly for him because the other guy was white), political correctness, the power of persuasive marketing (of lies) and the attitude of affirmative action.

Obama is no leader or unifier. Every other word out of his mouth is a lie. Mandela is worthy of credit for the skills he possessed. Obama is a giant social and traditional media, speech writers and teleprompters induced fraud.
Elaborate question
Facebook Credits Could Have Been Bigger Than Bitcoin. Four Reasons Why.
You can run the raw data through a 3rd party tool like Promethease (http://snpedia.com/index.php/Promethease) while you wait for the FDA kerfuffle to work itself out. YMMV though.
I keep a few disposable plastic bags in my bike bag for this kind of situation. They're almost weightless, and balled up take up very little space.
This seems to be the nuclear option. As a (now fortunate) previous purchaser of 23andme, I still have my health information. The information is really valuable, and considering the price ($99!) it is cheaper than a lot of standard medical exams and bloodwork. Obviously not a replacement for any of those things, but it's amazing they can offer DNA health results for so little.

The FDA seems to be mostly concerned that the results of 23andme could be misinterpreted, or wrong. As far as I am aware, 23andme was advertising the health assessment as the first step in prevention - not a one stop shop for diagnosis. I am not very impressed with the FDA.
How the commonwealth remembers men when they die, and that too for a day or two.
It doesn't have to be that way. In BlackBerry phones, the app access is very granular, e.g. I can choose to run Google Maps but deny the app's access to my location.
Why Netflix Search Sucks
Yes, for the mendelian ones that can be inferred in a relatively straightforward way from the raw data. Not really, for the more complicated risk assessments.
When you fork a process, your application's contract with the kernel is such: existing pages will be made accessible in both the parent and the child; these pages may or may not be shared between both sides -- if they are, then the first modification to a shared page will cause an attempt to allocate a copy for that process; execution flow will continue from the same point on both sides. That's pretty much the extent of it (ignoring parentage issues for the process tree). The key thing here is the 'attempt' part -- nothing is guaranteed. The kernel has never committed to giving you new pages, just the old ones.

I don't personally see this as an overcommit, since the contract for fork() on Linux doesn't ever guarantee memory in the way that you'd expect it to. But in all honesty, it's probably just a matter of terminology at the end of the day, since the behavior (write to memory -> process gets eaten) is effectively the same.

Edit: Though I should note, all of the overcommit-like behavior only happens if you are using COW pages. If you do an actual copy on fork, you can fail with ENOMEM and handle that just like a non-overcommitting alloc. So even in the non-pedantic case, fork() really doesn't require overcommit, it's just vastly less performant if you don't use COW.
I agree. Trying noninvasive but inaccurate tests before accurate but invasive tests is just par for the course. 23andMe is certainly noninvasive, and as far as I can tell more accurate than most such preliminary tests.
Read the Pure VPN Review and find out if its good enough
"we need a new journalism to explain what is really going on."

I think I've summed it up nicely in my essay the monopoly:
http://www.lettersfrompeter.com/the-monopoly/

Picks up right where he leaves off.
Where HTTPS Fails
I've read Jeff Moser's article "The First Few Seconds of an HTTPS Connection" (http://www.moserware.com/2009/06/first-few-milliseconds-of-https.html) which describes in detail the exchanges made by client and server to establish a data channel that both agree is secure.

Viewing this interaction as an instructive web security problem, where does HTTPS most often fail? Where does it seldom fail? If I wanted to act as a malicious user or host, what would I do? How might the protocol be improved?

If you know of some good resources on the subject or a better place to ask these types of questions, do tell. I'm not asking "How do I break into Amazon", I rather find the best way to learn about something is to watch it fail catastrophically.
New comments tend to be placed at or near the top so they're given just enough visibility to be read and voted on. The top comment doesn't necessarily mean it's the most popular.
I expect an inlined interface or virtual call to be the same as an inlined non-virtual call. But since the CLR (4.5, Windows 7 x64, using 32 or 64-bit codegen) won't emit an inlined virtual/interface call for int Add(int, int) -- it's slower.

In my simple program doing a loop, calling an Add function on an interface, it is definitely making a function call each time. It unrolls 4 times, and loads the function pointer once per iteration - I'd have though it would only load it once overall. Loop is 89 bytes. There is no conditional inside the loop to check for the type.[1]

If I change it to not use the interface (don't cast to the interface type), it's unrolled and inlined. Loop is 34 bytes.[2]

It's the same on 32-bit, except there's no unrolling. The non-virtual loop body is 2 instructions (inc, add). The interface has a push, 3 movs and a call. The virtual one requires two extra movs (to load the function pointer - with an interface the address is embedded as a literal).

Shrug. Maybe it still doesn't work with value types? I started it without VS then broke in with the debugger to get the disassembly.

The loop is doing "y = x.Add(y, i)" where y is a local.

Edit: Aha! Using an interface method (not virtual) and strings, I was able to get inlining. I guess the CLR is still weak in dealing with value types.

1: Start of the loop using an interface:

lea r8d,[rdi-1]
mov rbx,qword ptr [FFEEFE60h]
mov edx,eax
mov rcx,rsi ; rsi is the object pointer
lea r11,[FFEEFE60h] ; I am embarrassed to admit I don't know what r11 is doing
call rbx ; just does lea eax[rdx+r8], ret
; similarly 3 more times then loop

2: Without using the interface, the loop body:

lea eax,[r8-1] ; r8's the counter
add ecx,eax
lea edx,[rcx+r8]
lea ecx,[rdx+rax]
lea eax,[r8+2]
add ecx,eax
; then loop
If you think that's dumb, here are a couple of petitions you can sign:

http://www.change.org/petitions/fda-administrator-margaret-h...

https://petitions.whitehouse.gov/petition/overrule-fdas-deci...
I bought 23andMe ages ago and haven't sent in my test yet. Because I purchased it quite a while ago, will I still be able to get all the info? If not, I'm gonna be pretty disappointed.
Understanding and Preventing Overflow (I Had Too Much to Add Last Night)
Yeah, you should be OK.
I think my favorite part of it had to be the readme for using it with decorators:

@fuckit
def func():
problem_solved

That has to be the best piece of code I have ever seen.
typeo

Fixed. Thanks.

As for commdity/specie currencies, I like to point to the history of devaluation of the Roman Denarious (from 99% pure to around 4% silver) or of Adam Smith's very long exploration of devaluation of each of the three metalic standards of British currency (copper, silver, and gold -- no wonder pre-decimalised denominations were so confusing).
> And our reaction is always the same - shock and horror

And more importantly, nothing significant ever happens.

It all continues and we think "it's gonna be ok", "they will do something, I mean, they have to, right?", "I mean, we're not in a sci-fi movie or anything"...

As far as I've understood, back when I was in school, this is exactly the attitude/mood/behavior/culture which gave the Nazis a chance to become what they became.
Developing indie games and working in the games industry in general is a terrible way to make money. I went to university with someone who is working for one of the big game studios. He get's around half what you would expect to get building enterprise applications and regularly works long hours. Not everything is about making money though, it was his dream to work in the games industry, he loves what he does and is happy doing it.
Is there any way to export all existing test results and not just the raw data?
Government, once again, deciding they know what is best for you. I really hope people are paying attention and vote with their intelligence during the next several elections. We need less government. Everywhere. Not more.
Is this realy a bug?
> Out of interest, your bio says that these days you're largely management. Would you ever pay someone to come for an interview? Do you think you'd be able to sell it within your organisation?

No, and I'd never try to do the practice that started the entire thread of getting somebody to work on my production code for free for a day either.

It's probably illegal in both of our jurisdictions number one, opens you up to unbelievable liabilities number two if you don't hire the person (at least in the U.S.), and is just outright unethical. It keeps popping up here from time to time though and it makes me wonder about two things

1) What kind of people does HN attract that are in hiring positions?

2) What kind of abuse do engineers take for granted that they'd be willing to entertain the idea?

> I think we're agreed that by the time you got to doing any extended technical interview you'd have gone through a fair bit - the company would have seen CVs, the candidate would have done research. There would have been a shorter first interview where both sides could ask questions.

Personally, I've been very far along in interview processes before one side or the other decided to pull the plug. I've even been as far as starting to fill out initial employment paperwork before pulling out after finding out something about my future employer that hadn't been made clear to me during the earlier interview processes (in that case, I found out the people who I interviewed with were not going to be my supervisors. And after meeting him, I found him to be unsavory and that was that).

I think we're probably talking about different subjects, I was referring to the rotten idea of grinding a day of slave labor out of candidates the OP brought up while it looks like you're focused on appropriate compensation for people's time during long interview processes. If I'm the one who got off track then I apologize.
Has anybody here used conda[1] for anything significant/serious yet? I've been using it in passing for my side and small projects but I'm still not convinced I want to go whole hog yet.

Regardless, my experience with it so far has been... ideal. It really makes building environments and linking/unlinking packages a breeze. I haven't needed it for building my own packages yet, so we'll see how that goes.

[1] http://docs.continuum.io/conda/
And no one has problems with their privacy policy?
Why China barred banks from bitcoin transactions
I'd say "Rest in a necklace, Madiba".

It completely escapes me how sane people can so seriously worship cannibals like Mandela.
Depends where in India you live.
Real estate is not cheap in Mumbai.
Yes, in PDF form: https://www.23andme.com/user/report/health/
Since they are discontinuing their interpretation of the data, they should just open source the interpretation engine and dataset. People still have to pay the $99 for the tests to get the data to interpret, so it wouldn't harm their business. It would keep their service out of the FDA's crosshairs, while keeping the service as useful as ever. In fact, it would likely improve it over what it will become with this latest development.
Nobody denies that it's an attractive API, but the problems I've seen are in companies at scale. You won't run into insurmountable problems at first, only later when performance matters.
Erm... depends where you are :-)
Matt Yglesias hates cars and loves density. So what else is new?
I'm going to go out on a limb and guess that you haven't yet discovered application templates? If you have, then feel free to disregard this message.

If you've got a bunch of project boilerplate, you can start a new, empty project, configure it to your boilerplate scenario, and then save that as a template for future projects.

Then, the next time you start a new Django app, you'd do something like this:

virtualenv project_name; cd project_name;
. ./bin/activate
django-admin.py startproject --template=/Users/username/Django-templates/boilerplate project_name
pip install -r project_name/requirements.txt
Couldn't help but notice the mixture of genders in the log messages after the whole libuv hubbub over the weekend. Pretty straightforward slides.
This is an interesting rewrite of history.
Chris gave a presentation at Apple and told them he could make a better compiler[1], and they hired him to work on LLVM (plus started to grow his team) well before they decided to stop contributing to GCC. There used to be parallel teams, each with about the same number of people. Hell, for a while, the LLVM team had less.

Apple was frustrated they couldn't get what they wanted out of GCC, and were getting patches and designs constantly rejected. This, combined with getting control over their destiny, and having serious needs for a modular compiler frontend for XCode (and their design for a compiler server/etc for GCC got shot down), plus Chris demonstrating good performance results + trajectory, led to them choosing LLVM.

But what do I know - I was there, in both communities, talking to the people who were involved in these decisions.

Realistically, if the SVP/VP in charge of Apple's developer tools had decided GCC was still the way to go, they would be working on GCC, GPLv3 policy or not.

Policies are not an end unto themselves.

All of this is completely orthogonal to the freezing of the GCC version. They could get what they wanted out of it in the pre-GPLv3 versions, given their future plans were LLVM based anyway, so they didn't make an exception for GCC when they banned GPLv3.

Of course, I'm not going to claim that apple didn't do other things more for licensing reasons, which a lot of can be explained by the desire to be able to share code between OS X and IOS in some places (and eventually, in a lot of places), and GPLv3 would have disastrous effects if they messed up. They calculated the eng cost, came up with "we have good alternatives, and can rewrite the rest", and did that, and banned GPLv3. However, they were making exceptions for years for certain pieces of software already.
So if you had chosen any other example than LLVM, i'd probably agree with you. LLVM is just not a great example of "commercial pushback against GPL".

Apple's dropping of Samba would be a good example, since that is directly the reason they dropped Samba.

[1] One of my GCC friends walked out of this presentation complaining that he was selling them a bill of goods. Of course, he turned out to be wrong, but ...
> it's reliable in the sense that it doesn't crash, and also reliable in the sense that it handles minor failures gracefully.

This is an incomplete definition of reliability. It seems that the author is only considering programs which work as advertised when used as intended.

Most software is written optimistically, i.e., the "good path" is tested most. As soon as you start feeding the program with invalid input, it is no longer reliable, as witnessed by the myriad of low-level security bugs (stemming from the nature of C) in virtually every nontrivial C program ever written.

Now, would you rather have your program crash (be "unreliable" by the author's definition) or end up running arbitrary code injected by an attacker?

(Security exploits are the most prominent example; many programs will do something weird when fed unexpected input.)