skysight-inc/HackerNews huggingface dataset:
I think the best questions are technical questions that give the employer insight into the scope of my skill set. For instance, my previous employer asked what "idempotent" meant. Prima facie, this might seem pedantic. But, if you think about it, "idempotent" is quite frequently used by people who work in REST APIs, which infers that I probably have been reading about REST APIs or HTTP concepts in general or at least people's blogs about REST APIs, etc.

Next, he asked me what the first argument to a Django view was. This was a pretty basic question, but if I hadn't known the answer, it would be instantly clear that I didn't have actual experience in Django, and if I did have experience in Django, the question wouldn't seem like trickery.

I like this sort of questioning, because it reminds me of the year I decided to homeschool (in high school). The tests were on the honor system of course (you could easily cheat without a teach sitting right there), so the tests' questions would be about intricate details in a large (30+ pages) text, that you couldn't possibly know without reading every last line. You could try to find the piece of text for each question, but it was quicker to just read the whole text. Guess what. I read 100% of every text book I had (I would have cheated otherwise, and then missed things like The Walden, etc. :)
If they sent correct 834 EDI transactions (http://www.1edisource.com/learn-about-edi/transaction-sets/t...) to the insurers they may well be ahead of Healthcare.gov.
> It is incredible how much wasted effort went into Pink, Taligent, and Copland...

Indeed. I remember reading Robert X. Cringely's book "Accidental Empires" (http://en.wikipedia.org/wiki/Accidental_Empires) back at that time, and in one chapter he looked over the Pink/Taligent/Copland debacle and predicted that no company would ever write a general-purpose operating system from scratch again, because doing so had just become too complicated.

That seemed pretty far-fetched to me at the time, but it turned out he was more or less right. OS X is NeXTSTEP is Mach/BSD; Windows is NT; Android is Linux/Java. Every major OS project these days starts by picking up some earlier project and using it as a base. And those who tried to defy the prediction (cough Be cough) found out that it was true the hard way.
Israeli Tunnel hit by cyberattack, experts say.
Ask HN: Would you like to get an USEFUL startup/business articles collection?
I have build an archive of the most useful articles from the successful founders/entrepreneurs/mentors and I would like to share it with the rest of the world. Is this a right way to do that?
Actually they have invented a supplement to OCR software that will work for the characters that OCR is not certain about. The world`s best OCR software would be software that recognizes when it should pass off a patch of text to this new AI engine to decode.
There are lots of ways to do this.

https://gist.github.com/tomtheisen/7203110
fantastic! I would be rightfully impressed and amused!
It certainly would be useful to do some sort of programmatic analysis of speeches mapped over time. Sentiment analysis. Repeated phrases. Cross-reference with others' phrases to see who's saying the same things at the same times.

Oh well. I guess you can print it out really nicely. And it's "portable"!
Ah, clever! But I think >> does constitute division!
Are botnets getting expensive or do they suck to send spam nowadays?
Design Decisions for Scaling Your High Traffic Feeds
What would the constitution look like?
And it's need a power convector. Yes, it's fake. Russia trying to find a reason to block goods from China.
Yeah, it's killed after a timeout and restarted when a new request comes in. Which is why when you revisit an old Heroku app it takes a long time to load.
I can't recommend Githug highly enough for learning git: https://github.com/Gazler/githug
When Andreas Gal talked about this at the recent mozsummit, he specifically mentioned this use case.
Three degrees of separation: breaking down the NSA's 'hops' surveillance method
Your Facebook network can predict breakups in the next 60 days
Making Robots More Like Us
> But "Open Web Apps" focuses only on JS and HTML - that is not very friendly as well.

How so? You can compile pretty much anything to JS...
". . . the iPhone 4S is equipped with a 5x digital zoom, not optical zoom."
http://www.imore.com/iphone-4s-8mp-camera-hands

Other sources I looked at said that some phones do have optical, but it's generally tough due to the depth needed.
Second Tesla Model S fire sparked by crash in Mexico
The syntax highlighting is 90% of why I use it, everything else is gravy.
Exercises that Reduce Cellulite
Google's interview antics are one of the many reasons I'll never work for them. For one, I write business software, and am not great a some of their math-related questions (met some of their recruiters at PyCon 2011 in ATL, and they had a quiz question for the convention). Secondly, their puzzles are very "skull and bones"-esque, in a pretentious way.

TL;DR

IMHO, Google's hiring antics are the reason their software is all so terrible, despite having pockets deeper than the abyss. The only reason they're on top of the world is because they're a marketing company. Their software is undeniably bad.
I find that to be exactly true. The really surprising thing is that a college degree or experience at a big company doesn't necessarily tell you what you can learn from just walking through some very basic code.
Yes, in Argentina we have different dollar/peso parities, the most popular are
"Dólar blue" $9,93 per dollar.
"Dólar tarjeta" (Credit card, +20% over official exchange rate) 5.89*1,20=$7,068 per dollar.
"Conta con Liqui" (local stock market and Wall Street arbitrage) $9,35 per dollar.
No doubt, if you are into carpentry however you would call it a "header" rather than a plank :-) The more salient bit though is that the header has to be able to support the weight that the missing wall underneath it would have supported, had that wall been there. Since we're building with concrete (in this hypothetical example) you're looking at a lot of weight. That puts you in the 4 x 12 category of header, maybe two if you are doing a longer space. But that has an issue that concrete doesn't adhere to wood (which is why they make forms out of it) and so now you're looking at a more engineered beam that you can have concrete form around. Except that isn't really very strong unless it is prestressed (which is what they do with the concrete under bridges and roadways, and for that you really want to pull some iron through it which you release after it solidifies (the iron trys to contract and it keeps pressure (aka stress) on the concrete). So now you are 3D printing part of the building, then pausing so that your ironworkers can set up some rebar for the door and window headers, and then you put that concrete in and they come back and trim those. (this looks better than the threaded rod through the concrete with nuts on both sides to add the compression.

My point is not that the problems are not addressable, they are, rather its that "3D Printing" and "Homes" isn't a good fit yet given what we know. This neither invalidates 3D printing as a pretty revolutionary way to manufacture, nor the notion that there might be better ways to build homes, just that this particular thought experiment is a pre-mature at best, and potentially forever impractical.
Another way (using flip-flops):

a=b=c=(1..100).each do |num|
print num, ?\r,
("Fizz" unless (a = !a) .. (a = !a)),
("Buzz" unless (b = !b) ... !((c = !c) .. (c = !c))),
?\n
end
American Academy of Pediatrics suggesting limiting kids' computer use to 2 hours
The actual effort put in the article is reduced by this title. There are so many ways you can do this without using modulo and division. The article solved this using bit manipulation that is the main point.
They do this in parts of Europe, but I think this is more due to laws that make the hotspot operator liable for user conduct.
As someone with a decade in the film industry, I think you should try writing a script or take a part-time role as a production assistant to get a better understanding of how the industry works. You're generalizing from your content preferences to a mass audience, which is usually a drastic mistake, and ignoring the fact that lots of informative/thoughtful/message-y films (and TV shows) already exist, but that most of them don't find an audience - either because they're boring (sad, but true), or because they don't have enough money for decent production quality and marketing. A lot of people go to the movies because they enjoy spectacle, which costs.
AIRO automatically tracks nutrition intake (and stress, exercise & sleep)
Yeah, I guess that helps a little since Scala's for comprehensions let you mix monads. (Which, for the record, Haskell's otherwise similar do notation doesn't seem to allow.)
I love this answer. It's like "yes I know and hate fizzbuzz, also you don't know crap", but in code.

Poetry.

In python:

from itertools import *
fizz = cycle(["", "", "fizz"])
buzz = cycle([""] * 4 + ["buzz"])
fizzbuzz = izip(fizz, buzz, xrange(1,100))
print "\n".join(map(lambda (x,y,z): x+y if x or y else str(z), fizzbuzz))

(bugs found by marekmroz fixed)

Can you do [1,2,3] * 4 in haskell as well ?
Don't pretend that Gandi is unique. Even if such specific language isn't in their legalese blob, Godaddy has arbitrarily yanked domains many times. And I'm betting that most low margin registrars would simply turn tail if threatened with expensive lawsuits.
Can you explain "probabilistic key-value store?" Would it be that each gene has some defined probability of belonging to a given organism, or is it probabilistic in the sense of having a defined error rate as BFs do?
The current code on Android relies on putting shortcuts on the Android homescreen, which has exactly the kind of shortcomings you mention. It was pretty easy to implement, but now we have to go back and do it right.
Yeah, I knew it was linkbait.

But the treatment of foreign nationals in the U.S. (bona fide, or suspected) is so pitiful, across the board, that the issue still merits attention even if our attention is distracted somewhat by the occasional buried lead.
About #2: Irons already have electronics in them, typically a microcontroller + sensor + LED(s) + input buttons + of course the heating element.
The Apps and Games image takes me back.

I remember Cannon Fodder giving my Mac SE nVIR. :(
Yes. It seems the term hacker = entrepreneur with some type of technical knowledge. Which is ok.
Ask HN:What is a personal or biz web utility that is needed/not yet dominated?
I have spent the last year learning how to create a web application and now that I am capable, I am having difficulty finding a utility that would be worth the time investment to create it. All the obvious ones exist and are controlled by a major player and I have no means to compete with my part time involvement. I'm not looking for 'the next big thing' as much as a usefull utility that could development into a livable income's worth of paying customers. Note: I am talking about a web only application. I am unfamiliar with android/iphone.
I heard from an unnamed Google employee once about very similar responsibility-laden abilities with the massive number of images Google has access too.

In particular, a conversation about recognition algorithms for sorting pornography at the age-level was brought up. Now, I know this has been covered on here before, but what a massive amount of incriminating information must be kept in those servers.

I really would like to be able to have access to facial model information for my hypothetical advertising company. Can you imagine if I could, for instance, find out what primary five face shapes people in Iowa find trustworthy, with a high (enough) level of accuracy? I'd pay a whole lot for that, hypothetically.
> "Note that you shouldn't use the algorithm in practice"

You certainly can:

1. Run the randomized algorithm

2. If if the usual way takes too long (more than O(n) for whatever constant factor makes sense to you), just stop doing more work and switch to the deterministic algorithm

Now you get the best of both speeds, within a small constant factor (like 2).
Map reduce word count with chopchop-js
Canonical map reduce word count example in javascript, using chopchop-js. chopchop-js is a utility library for dealing transparently with synchronous and asynchronous processes.
How about an MBA?
jgalt was intentionally giving selfish reasons for people to not go into HFT. Apparently he doesn't share with you the premise that people ought to work on whatever "advances mankind."
> a custom per-device one-day-only password

Pretty common in Europe.
Particle effects in JavaScript
It makes you human.
Sher.ly Makes It Easy To Build Your Own Cloud
s/Obama/United States/g, aka "me and thee" (if you're a U.S. citizen).

The bigger point is that the way this country treats foreign nationals, actual or perceived, reflects on all of us, not just on whoever happens to be Chief Executive at the moment.

EDIT: "actual or perceived"
> You can even see it in the imaged on the amazon product page he linked.

Olive oil is listed under "Other ingredients" on that bottle. I presume that means it's not the main ingredient.

According to http://ndb.nal.usda.gov/ndb/foods/show/631?fg=&man=&lfacet=&... olive oil contains no vitamin D.
This Isn't Capitalism, It's Growthism, and It's Bad for Us
I Think you are getting down-voted by misunderstanding what the parent was saying.

The parent is talking about mapping out WiFi and Cell data through a city. Mapping out it's radio spectrum spatially. Not a traditional human usable map such as a street map, road conditions, or whatever else you may be thinking.
Would it make more sense to look at it as similar to a poker game? Relatively little economic value is created or destroyed in ultra-short time scales, so the players in that game are essentially playing against each other (minus some small cut taken by the casino).

The ‘good’ players thrive until they reach maximum size for their niche. The ‘bad’ players leave the business. Customers such as long term investors, institutional money, etc, benefit through narrowed spreads and reduced transaction costs.

You could call it a vicious, dog-eat-dog business, but the dogs aren’t really a threat to anybody else.
Narcissistic Design -- Stuart Halloway on how to make code needlessly complex
Here's the AfD for Nimrod:

http://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion...

Note that at the time this was submitted, all the sourcing for the article came from either web pages from the project itself, or forum posts.
That sys.stdout.write usage is interesting.

Any reason for not just using print?
Or if you want all of them on the same line, you can put a comma at the end of print, like...

for q in range(10):
print q,
I'm pretty sure that kyro was being sarcastic.
No, some very certainly are crazy, and are likely the product of mental illness. See: The Queen is a lizard.

It's a shame that "The CIA is making shit up again" and "The CIA shot somebody" gets mixed in with "The Queen is a Lizard", and "The CIA orchestrated an absurdly needlessly complex plot to shoot somebody from all sorts of bizarre angles in broad daylight in plain view of the public, when shooting them from one angle would have sufficed."

I mean seriously, if you tell me that the CIA goaded Oswald into doing it, then had Oswald killed, that is something I'd consider plausible. I see no proof for it, but it is something that could have happened; I'm not going to say for sure that it didn't, because I don't know that it didn't. When people start ranting about magic bullets and multiple shooters though, that is an express-line into crazy-town. It's just making shit up, and I don't understand why. Was "The CIA had Oswald do it" not a fun enough plot or something?

Yeah yeah, "The CIA had to be sure, so they had a backup sniper." Fine. Why the hell would that second sniper not be in the book depository as well?
LastPass, Amazon Prime, di.fm, AWS free tier (learning)
It's more like the car manufacturer is providing updates and bug fixes for your car, which then renders your windshield wipers or some other significant feature useless, and this problem occurs for a large number of users, then attempting to use the support forums provided by the manufacturer only to find the manufacturer not only does not respond to posts but also deletes useful posts, and also does not provide an easy way for users to downgrade so it fixes the problem.

If the only solution is to purchase a better warranty, then it seems that creates a perverse incentive for Apple to break devices which each upgrade, and only provide fixes and service to people who pay more money, in order to bilk customers to maximize profits.

I wouldn't consider this an ethical or honest way to do business with users. It is a completely valid criticism of a way of doing business.

For emphasis, this isn't a unique user-created problem, this is a problem that is originated with Apple.

It's also issues like this that will ensure that my current and first set of Apple devices will be my last Apple devices.
That's the problem, you see.

They didn't "determine" that she was a citizen of Colombia. They just took what she said, and basically said to themselves, in so many words: "Well, she is brown-skinned, you know. Plus she was caught shoplifting -- typical wetback. Meanwhile, we're facing a lot of pressure from upstairs to cut down on the number of illegal entires. So what the heck, let's deport her!"

For more info on her story, see:

http://colorlines.com/archives/2012/01/how_did_jakadrien_turner_a_us_citizen_get_deported.html
How Much Data Will Humans Create & Store This Year(2011)?
Does staring into two bright 24" monitors 8h per day help?
.say for (('' xx 2, 'Fizz') xx * Z~ ('' xx 4, 'Buzz') xx *) Z|| 1 .. 100;

Yet another way, this time in Perl 6. It generates two infinite lists, one containing two empty strings and Fizz repeated forever. Second contains four empty strings and Buzz repeated forever. They are concatenated. Next, everything is zipped with `1..100` range using `||` operator. The `||` operator returns first argument if it's true, false otherwise. Because the range is finite, the list ends.

Functional programming for the win.
True, though we didn't seem to have it this year, not sure why. Also, the farther you get from the beach the thinner it gets.
(Disclaimer: I work for Mashape). I just added this to Mashape - https://www.mashape.com/community/joshua-beckman#!documentat...
I did extensive research on this about 2 years ago for Android. Holding long standing connections is much more efficient than using multiple HTTP requests, polling included.

The reason being mainly the session negotiation and teardown required for making multiple requests, and the fact that the antenna required a higher energy state for creating a new connection compared to keeping an existing connection open.
One of the problems with that 5.6 number, is how tilted down it is by larger slower growth companies carrying much lower ratios. Some examples:

Facebook: 20 | Workday: 40 | LinkedIn: 27 | Yelp: 30 | Pandora: 9 | RetailMeNot: 12 | Salesforce: 10 | Splunk: 25 | Rocket Fuel: 15 | HomeAway: 8 | Baidu: 15 | Priceline: 10 | Sina.com: 10 | Youku: 11

Twitter: 15? ($650m in expected sales or whatever, $10b assumed valuation)

So is there a bubble in a certain class of tech companies? I think frothy is the right word for now. The valuations are clearly very high, but not 1999 high. Right now it reminds me a lot more of 2005 > 2007.
I'm not digging their increasing emphasis on git.
One line version in Perl:

perl -e 'print $_ + 1 . " " . ((("") x 2, "Fizz") x 34)[$_] . ((("") x 4, "Buzz") x 20)[$_] . "\n" foreach (0..99)'

Edit: unnecessary complexity removed.
I live in Houston, and have problems with SAD. Even though I absolutely love fall/winter and colder temperatures, I've been very in-the-dumps lately as our local weather transitions to what counts as "winter" here. Need to start taking VitD again.

For reference, I grew up in southwestern Oklahoma (far enough north to have snow and winters where the cold/ice was a problem), and lived in Austin from 1996-2005.
Startups have the same success rate as ivy league applicants.
It caused a hell of a storm because someone decided to organize a witch hunt against the guy, resulting in an extremely embarrassing HN thread in which a bunch of HN people who should have known better decided to spend an evening insulting someone they didn't know.

When you understand Wikipedia's charter, it's easy to understand why new programming languages are a tricky thing to write about: there are a lot of them, and most of them are not encyclopedia-notable. The arguments in favor of them all seem to involve relitigating the entire charter of Wikipedia to make room for new programming languages.
> First thing that comes to mind is that no one would suspect an iron. ...

That's very Monty Python.
Dedicated therapy lights are expensive. Big halogen work lights are cheap, and brutally bright.

http://www.northerntool.com/shop/tools/product_200596299_200...
it could be great replacement to iGoogle which is going away very soon. But more widgets would be needed. BTW, having custom IFRAMES would be great.
Learning to Code in This Generation
This is more of an exercise than a question but...

When we interview some database people, we would ask them to whiteboard a database for a fake golf tournament we were having.
What this did was force the interviewee to ask questions if they don't know golf (such as how many rounds are played, how many players, how does scoring work...etc) which tells us two things: Can they get info from a customer (internal or external) and how do they do hierarchies in data models.