skysight-inc/HackerNews huggingface dataset:
I'm not sure that Social Security and the like for older people is such a bad thing, it seems logical. You can't expect people to work in old age and nobody would want to insure their healthcare without government support. Young people have their youth, energy and the ability and time to work for themselves and save money. Old people do not. I see nothing extravagant about the size of SS payments. Medicare does need to be reigned in, of course. I would say add asset tests to SS, but those are so easily skirted that they'd be unenforceable.

The real ripoffs of the young generation:

* The cost of education caused by free-flowing credit to students

* Housing price inflation by foreign and domestic cash investors, mortgage tax deductions, 30-year mortgages, federal reserve actions creating asset bubbles (not US exclusive, in fact the problem is worse in commonwealth countries like Australia thanks to negative gearing and lack of property taxes)

* Obscenely low taxes on wealth and capital gains

* Absurd amount of defense spending

Young people also bear responsibility to:
* Manage money better

* Live within means

* Encourage discussion of serious issues like those above on social media without being labeled as "crazy" for doing so; stop sharing useless BuzzFeed garbage and burying yourselves in Instagram all the time.

* Stop going so far in debt for clearly useless degrees and then wondering why the world is so unfair when you can't make money with it

* Don't glorify urban living to a fault, blowing money at bars for binge drinking well after college, spending too much on rent to be in a "trendy" area. You shouldn't have an iPhone, iPad, and MacBook and spend $1500/mo to live with 4 roommates, latte for breakfast ($4), buy all your lunches ($10), get dinner at the Whole Foods hot bar ($15) when you make $40k, then complain when you're 30 with a negative net worth!
Proof that the .com bubble is back.
Create an array of 250 booleans. Go through the list 3 times. First all the 1 digit numbers, then the 2 and 3 digit numbers. Set the array entry for the resulting numbers to true. The entry that is false is the missing number.
Or even statistical sampling.
If a company using PHP decides to switch to a different stack, chances are their developers will just need training, not retraining.
good god. do they have your dog hostage?
Just a couple of questions.

Do you think there would still be many scholarships that a 30-something white male, going to school for a second BS, a MS, or a Doctorate would qualify for? I'm just about finished with my BS, which was largely funded by the GI bill, but I'm trying to make plans for when that money runs out.

I honestly don't know where to start when it comes to looking for scholarships, do you have any resources that you could share?

One of the ideas that I've toyed with is trying to fill the gaps in my Information Systems degree by taking calculus, physics, possibly algorithms, and then trying to apply to Georgia Tech's super-cheap CS Master's program. Info systems is more of a business degree than I expected, when I really want to do software development in the long run.
You're right of course, it was a poor analogy for exactly the reason you cite. What I was probably thinking of was the somewhat related trope: "society is to blame" for the actions of a criminal. It may be that many criminals have shitty childhoods, but plenty of people who have shitty childhoods aren't criminals. The Mac team may not have invented the Mac from nothing, just as Intel didn't invent the transistor, but insofar as they did recycle old ideas, what they created was markedly better in many ways than what they received, and that's how we measure innovation (I think).
"Will it make us money?" and describing this as "our plight" are wrong-headed and hilarious, but par for the course in a city where the mayor doesn't see the beauty in such art.
This is purely ad hominem and doesn't actually refute any of the author's arguments.
Android encompasses all economic classes than iOS.

Of course, you cannot make money on the poor as much as on the rich.

Is there a study anywhere that given the same economic bracket (e.g. people who make $75K a year), that user will pay more because he/she is on iOS?
Just intuitively. Geometrically... Maybe it's from playing online games. I would kite it one direction, then escape in the other. The natural way to do that is a J shape.
Apparently you need "What is the speed of the ISS" to get an answer, though if you're looking for related links, you get http://issondemand.com/ as the first result, which is less... stellar than the result google provides
Clarification - your app can only be possible on Android because it's a widget app which Apple doesn't allow. So it makes sense you're Android only. Some paid apps like yours do well on Android (congrats) but I am really referencing bigger products / services.
I'll say it every time this comes up: you develop iOS first because all of your investors have iPhones. When they all have Androids, you'll develop for that first.
The real difference between blacks in nature and on the screen is about relative darkness. Dark values appear much darker next to a very light value (true everywhere). For example, you can make a dark gray look black by surrounding it with bright white. (Look up Josef Albers if you want to learn more about that.)

The thing about screens is that they are very bright, unnaturally bright compared to other things you see daily, because they are light emitting instead of reflecting. (They are very purposefully brighter than your surroundings so that you can still read them even if the room you are in is bright.) That means that when you put a bright white next to a dark black on the screen you're going to get a much higher contrast ratio than the same values in print. Yes, technically you could achieve the same values in print if you wanted to, but the fact is people interact with those higher ratios much less frequently.

So, yes, if you really want, you can make this your conclusion:

> Use black if you want to - it won't be pure black, it will simply be the darkest you can get.

But that's a pretty useless conclusion for anyone who wants to learn about what's going on. Instead, realize that in most cases the pure black you're using in an interface will feel unnaturally dominant, and will actually do more harm than good if you don't purposefully mean for it to be pure black.
This data would suggest otherwise[0]. It is the company with the second shortest tenure from the report, with an average of only 1.0 years.

[0] http://www.businessinsider.com/companies-ranked-by-turnover-...
A few years ago it was reported at being 20-25%. http://searchengineland.com/google-25-of-queries-are-new-add...
No, was just stating the fact?
I'm sure there are faster ways but a quick and dirty approach would be to count how many of each digit are in the input string, then compare to the expected result, which is easy to figure out. This will tell you what digits are missing from the input. There will be at most 3 of them, then just search the input for the possible valid combinations of those digits, as soon as you find one that is missing, you're done.
Given the relative rarity of human excellence, less good than the converse, on balance; were it otherwise, what you rightly call 'excellence' would be merely commonplace.
no spaces.

but you can get the formula by imagining the numbers as piles of pennies and then completing them to make a square and then splitting down the diagonal

*
**
***

*..
**.
***

\.. \
*\. + \
**\ \

where a \ is half a penny. so * = \\

so it's 1/2 * n * n (ie half the square) plus an extra 1/2 for each one on the diagonal.

so it's n * n/2 + n/2 = (n+1) * n/2
I'm a huge fan of NoSQL in general, and document databases in particular. However, I think this is nuts. :) NoSQL is about making tradeoffs; you give up some of the strengths of a traditional RDBMS but in return you get some unique advantages. The problem is, you aren't taking advantage of any of those advantages with a blog...are you?

I really don't see how MongoDB beats Postgres for running a basic blog. And while it doesn't prove anything, I note that Ghost (which has been getting a lot of press as a new, shiny, node.js based blogging platform) is backed by SQLite of all things. Why is it obvious that they should have used a document database instead? What advantages do you think that would have given them? Because of the top of my head I can't think of one.
Thanks for the recommendation. I will watch that. My bottom line is have I learned anything from Banksy? No I haven't. I'll watch it and report back.
This would have been better with the title "Bitcoin Trust and Authentication Explained"
Gerrymandering probably isn't as dominant a factor as people think: http://www.bloomberg.com/news/2013-10-09/gerrymandering-didn...

That story is based on 2009 research: http://www.jstor.org/stable/25548144?seq=2

Admitting that gerrymandering isn't the problem puts the solution further out of reach, unfortunately. Generational change is slow and painful.
> But at the end of the day, it's still graffiti, still vandalism

It's not vandalism if the owners of the buildings are happy to have the piece.

If I scrub a brick wall clean, is it vandalism? No.

If I glue a solid pound of gold to a brick wall and the building owner takes it, is it vandalism? No.

If I have a work painted on my property that draws crowds and will probably have a "market value" of a lot of money, and I'd rather have the work have been painted than not exist, is it vandalism? No.

If I'd be happy or even would actively desire to have a Banksy piece painted on my property, is it vandalism when it does happen? No.
A very good point. The federal government was supposed to have states create their own exchanges, but yes, this it seems like the commercial space could handle some of this.
I'm sure they are storing term volume indefinitely, considering google.com/trends.
Doesn't this just come down to "because we are better programmers?"

I do like the statically linked compile unit. So much so that I confess I have issues contemplating the OSGI world of Java many times.
One measure of "newness" is if the top 10 results are the same as other queries. After all, if two queries produce the same list of results, then aren't they the effectively the same query? I doubt that's what's being used here, though.
I think you can only access the subsidies if you buy through healthcare.gov
Enums and statistics module. Yay !
I don't think this post fits well with the HN guidelines - http://ycombinator.com/newswelcome.html

It seems superficial and cynical, and doesn't seem to have anything useful to say. (Also, the post is tagged as 'Industry News'...??)
Another really good one to watch is "Bomb It" on Netflix/iTunes. The sequel is out soon.
So I see a number of replies that say 'add the list up' but there is no list. There are no spaces, you would have to add in the spaces yourself which is an extremely difficult problem.

Since there are no spaces in the list:
1) I would count the instances of didgits 0-9
2) compare those counts to the counts produced by the complete set of didgets
3) The ones that fell below in count are the didgits in the missing number
4) Count the instances of the permutations of your missing didgets
5) compare those counts to the counts from the full list
6) Done.
Being a great developer can mean many things. There are many kinds of trees and they grow different, and produce different fruits and nuts. The question is how you grow and maximize what you can do.

I would suggest a couple of things.

- the first habit great developers of all stripes must cultivate is self-introspection and an effort to solve problems of one's own coding style and approach.

- the second habit of a great developer is to focus on producing great documentation for your code. This is important because it helps you see the code from a less immediate and more long-term perspective.

Those two habits are the most important (and most frequently missing!) habits regarding development of development skills I can think of.

In my experience if you are deeply introspective of your own code quality and your documentation approach, you will develop a clear vision of problems that will make you a part of breakthroughs you hadn't foreseen.
For what position?

I worked for Amazon, and looked over the list of allowed/prohibited interview questions on the internal wiki. I did not see any of these question. Furthermore, they are against asking puzzle-type and behavioral questions.
All of the core Scipy Stack is ported, though if you use more specialist libraries, they may be missing. The main pain point in switching is with unicode, which is mostly not an issue for scientific/numberical code. Watch out, though, for integer division: now 1/2==0.5 (not 0).
My quick take on it is that you have to generate a list of all the 1-tuples, 2-tuples and 3-tuples in that very long string, along with the start and end indexes of each tuple.

Then you find a set of tuples which cover 1-250 (missing one number) and which don't overlap.

You can start by filtering out all the 3-tuples which are over 250.

I might use a hash table to put together a list of all duplicates. Any hash table entry with no duplicates has to be right. Use the indexes that have been removed from the "eligible" pool to remove tuples from the hash table. Iterate.

Of course it's entirely possible that iterating like that could still leave you without a solution. At which point a guess has to be made and to continue solving. If said guess is bad, backtrack and make a different guess.

Obviously it's harder to implement than to outline. And I've probably missed a bunch of optimization.
oh, good point. thanks (although i think "no spaces" was in there from the start, it wasn't an edit...)
It's not a serious post... but I have interviewed with Amazon and their questions are a big part of why I don't work there. (The other reason is that when I asked people what they were working on, they all said they were rewriting all the Perl code in Java "because Amazon is a Java company" - apparently that was the biggest business need at the time)

Rather than go into great detail on why I don't like their questions, I'm going to pick out one that stands out as an example. It starts:

"Suppose I want to <description of some user story>, so I want you to design a system that <vague description of an implementation method>."

Okay, I'm thinking, done this before a lot of times, it's bland but not an unreasonable way to find out how somebody approaches problems. But they haven't finished talking, and they add one more sentence:

"Make sure you show me the objects and classes that your system will use."

This is the point when I try not to let my disappointment and irritation show. It's not just that they've completely prejudiced the question, by forcing it down one particular design path, it's that they've made it clear this is not a test of my ability to design systems, it's a test of my ability to mimic their design of the system. Worse yet, in one stroke this destroys any hope of finding out how the candidate thinks; instead, it just measures how well they can think along certain lines.

I don't have a problem with object-oriented designs - I'd probably have done things that way anyway. But I do have a problem with companies that hire based on conformity to groupthink. I don't want to work with a group of people who were selected based on their performance at this kind of question.
Cmon grow up short tenures don't prove that its a bad company to work at, then in your opinion google is also not an appropriate company to work for.
My TLDR for the post was "I don't like programming"
I found this interesting to compare/contrast:

"For $41 million — what Citibank paid to sponsor the program for five years — our city bikes became Citi Bikes. To make certain you don’t forget this fact, a Citi Bike sign hangs in front of the handlebars, Citi Bike is printed twice on the frame, and a Citi Bike billboard drapes the rear wheel on both sides. The font is the familiar Citibank font and the Citibank signature decoration floats over the “t.” There is no way to see a Citi Bike without thinking Citibank. The 6,000 bikes so far rolled out, of a possible 10,000, and their signs are a Day-Glo cobalt blue that you see on banks. Nobody wears this color. Nobody paints his or her apartment this color. This blue is bank blue."

http://www.nytimes.com/2013/10/20/opinion/sunday/color-me-bl...?
Can't just do that right away since you have to parse the string first:

...11123...

Is that a 1, an 11, a 12, a 112, a 123?
Anyone with a "whole network" who remotely knows what hes doing wont be using a router like that

Which router would he use?
Congratualations! It's also the first release with code I wrote (the dis.Bytecode class).
Social Security is simple: we take 4% of GDP and cut checks to old people. Whatever the economy's like 40 years from now, you can always take 4% and cut checks to old people. Nobody ever worries about paying for the military 40 years from now.

As for health care costs, all America has to do is copy literally any other rich country's health care system. They all cost half as much or less per capita.
> I have been witness to a number of startups who went Android first and found success.

Can you cite some examples?
They can't afford you for free. It would cost them so much more to vet you than using one of their usual "pre-approved" government contractors, it wouldn't even be worth their considering. Even if that could be done, no one would be willing to take responsibility for giving you access. The system is designed (or has evolved) specifically to diffuse this sort of responsibility. It would be impossible to focus it sharply enough to allow you to do this.

The code is broken, but not the broken part of this system.
Hmm. I think data showing hiring vs time for companies would be more relevant than average tenure of an employee.

i.e. The faster a company grows, the less likely/harder it is to maintain culture and enforce hiring/recruiting standards - I can see how that may lead to shitty interview questions.
I'm an atheist, but I enjoyed these stories. I think I understood this one, so I'll attempt to explain.

God is asking him why he didn't just relax and be true to himself. If the rabbi wasn't so worried about living up to the examples set by others, he could have fulfilled his own potential.
سوبر شوب
http://supshp.com/showthread.php?t=2120
This post is unfortunately incorrect.

> If, say, there’s 50 computers in the network and you’re only connected to 5 who happen to be attackers, they could tell you that you only have 5 coins instead of 20.

No node ever "tells" any information to another. They only pass blocks, blocks either are valid or invalid. If they are valid and part of the main chain, they are the truth. No node ever communicates the balance of a wallet directly, that's the local nodes responsibility.

There is no trust in Bitcoin, that's the entire point.
> Surely it would be necessary to read the documentation of a database before rolling it out to production?

You buy a car. It comes with brakes disabled because for whatever reasons that also lets it get to a higher top speed. You are expected to read you car owner manual and on page 54 you find that you have to hold "enable brakes" button under the console for 10 seconds to turn on your brakes. Would it vex you that people might be slightly critical of that car. Clearly they are silly for not reading their car manual until page 54.

That "feature" is not something that should be discovered by reading docs or when you get a crash and then load a backup from another week and still get a crash and then you start hitting your head on your desk.

Anything calling itself a "database" should not have shipped with those default settings _ever_. If they did they might have gotten away with it in my book by having a big flashing red warning on the front or download page. I don't remember one.
This is not a tautology. Every "healthy" person will someday die and will often develop cancer or heart disease or have a stroke or have one of thousands of rarer medical conditions. If any supplements actually worked they would prolong life or reduce the occurrence of any of these diseases. All of these out comes can be measured in a properly designed study. So far there is no reliable evidence that supplements help with any of these outcomes.
The thing I'm looking forward to in Python 3.4 is that you should be able to follow the wise advice about how to handle text in the modern era:

"Text is always Unicode. Read it in as UTF-8. Write it out as UTF-8. Everything in between just works."

This was not true up through 3.2, because Unicode in Python <= 3.2 was an abstraction that leaked some very unfortunate implementation details. There was the chance that you were on a "narrow build" of Python, where Unicode characters in memory were fixed to be two bytes long, so you couldn't perform most operations on characters outside the Basic Multilingual Plane. You could kind of fake it sometimes, but it meant you had to be thinking about "okay, how is this text really represented in memory" all the time, and explicitly coding around the fact that two different installations of Python with the same version number have different behavior.

Python 3.3 switched to a flexible string representation that eliminated the need for narrow and wide builds. However, operations in this representation weren't tested well enough for non-BMP characters, so running something like text.lower() on arbitrary text could now give you a SystemError (http://bugs.python.org/issue18183).

With that bug fixed in Python 3.4, that removes the last thing I know of standing in the way of Unicode just working.
I'm skeptical of your numbers. See the graph here:

http://www.washingtonpost.com/blogs/wonkblog/wp/2012/09/19/h...

Regardless, you seem to be upset that we have a progressive tax system, where the rich proportionally pay more. That seems fine to me. Paying for "what you use" is a terrible standard. The whole thing has to get paid for.
A conundrum that would tickle my (geologist) dad no end was that some of the earlier estimates of the age of the universe were lower than some of the older rocks found on the earth.

The article mentions red-shift of galaxies, it allows us to estimate their speed. One of the older scientific estimates of the age of the universe was based on "reverse" extrapolating those values.
Which OOP PL purists specifically think language-supported external polymorphism is an anti-pattern? Do you have any citations?
Hmmm ... I'd say the fact that you're concerned about it means you'll have a long successful career. Ninety-nine percent of software development is the ability to be persistence and unwavering in pursuit of your goal (working software). The other trait that every great developer I've met has is that they're always learning. It's the people that think their education stopped when they graduated from college who won't make it in this field.
Get a book about compilers. Write a little compiler from scratch. Go around telling everybody about the compiler you wrote. It'll make you feel really smart! Trust me, it works!
I'm reasonably sure that critics weren't exactly enamored of Pollock during his lifetime.
That's the trouble with anarchism and its fellows: you can start from whatever set of premises you like, but sooner or later, you always find yourself either mired in irrelevance or earnestly explaining how, in order to bring about a better world for everyone, it is absolutely necessary and morally imperative to murder millions of people and build mountains out of their skulls, which is okay, because it's not everyone but just the bad people, and if they weren't bad people then you wouldn't have to murder them, so it's all their fault really, and it's easy to tell how bad they are by the way you're murdering them.
I wasn't at Startup School, but these are excellent notes