skysight-inc/HackerNews huggingface dataset:
Why not? That's only a couple page views a second. Around $50/m can get you a gig of RAM. Use some for memcached, spend the rest running Nginx or Lighttpd.
It's happened more than once that I've seen (and had to explain) why putting while loops inside while loops (once saw a one code snippet with 4 nested whiles!) is going to run fine on your dev box with 5 rows in the database but is going to be excruciatingly slow if you move it to production and data starts pouring in.

Granted, in some of the cases the person did have a college degree and should've known how big-Oh applied here but must've been asleep in class.
We reap the code we sow
Don’t Make Me Write HTML
The Optimal Team Size is Five
I wonder why I get a vote down for this comment.

Programming 2.0 is happening as open source development. Just because I presented my point in a casual way does not mean my comment is meaningless and negative to the community.
10% may not be the "correct" standard, but I have seen police arrest and search people with zero evidence.
wow. this severely disappoints me. i've never posted or really read reddit ever. i tried to be a little clever in my response (operative word: tried) and get crushed. if i would've rephrased my response it would've likely gone unnoticed.

this anti-reddit fervor that has been developing over the last few months seems to have converted itself into a "no fun allowed" atmosphere, and that just plain sucks. that is not how a community works.
Read "The Deadly Fuze" by Ralph Belknap Baldwin for the story behind the VT fuze development. It's a great engineering story.

http://www.amazon.com/deadly-fuze-secret-weapon-World/dp/089...
Shocker: AT&T Wants To Keep Sitting On Its Golden Egg (The iPhone)
Lying through silence is still lying.
Ants inhabit 'world without sex'
I can only assume you and your wife aren't black folk. If so, you may have had a very different experience.
Larry King and Ashton Kutcher - Twitter-Off
It's kind of odd to see the EFF using such linkbait tactics. The comments on this thread are much more informative than the article.
This site could easily make $10k/mo+ with ads.
Everybody is cheaper than Verisign. There are dozens of SSL certificate providers recognized by browsers. GeoTrust and their many resellers, RapidSSL, etc. GoDaddy resells for a couple of different SSL providers, and they offer a chained certificate for practically free. It's what we use, and we've never had anyone hesitate to shop with us (chained certificates have a slightly longer chain of trust, since you've got a third party in the chain...but no big deal...nobody understands how that works, anyway, and the browser doesn't complain about it as long as you configure the server correctly).
Why would you use a blind search rather than A*? It's not hard (edit: actually, maybe it is) to come up with a heuristic for this problem.

Also, your memo table wouldn't work for large vectors...

Edit 2: Even worse, the branching factor of that search tree would be O(n!).
Tell HN: Don't forget to file your taxes, or extension.
$17,000 door on saw horse desk.
a) Is it working? If not, why?
b) Do you think you know how to do it better?

If yes to both then do it. If no to a) then you'd want to be fairly confident that they got it wrong in some way and didn't just prove it to be a bad idea.
I couldn't follow that part of the document, but it sounded like he accessed the email account of his roommate (or someone else). That can be held to be illegal. In fact, if they can claim a $5,000 damage amount, it's a federal crime.

As for MAC address, they can be changed. Mine's been DE:AD:BE:EF:CA:FE for years. Not that I think the kid sounds like he'd bother to do that. He could easily swap NICs though.
I think the popularity of this article has more in common with the popularity of the "how to care for your introvert" article. Basically the group is trying to define itself, and persecution is one of those very common rallying points. People with beautiful and misunderstood introverted abilities are being singled out by the man. If you enjoy this kind of thing there are sites like reddit which are perfect for expressing it.
HN has very little user specific content in it's hot pages. Also, since it's mostly time based, there's a lot of locality. It should cache like mad.

My guessing math puts it at 300MB for the hot data set (1000 100kb pages, 20k 10kb users). With 10 page views per unique, 90% hit rate on the page/user cache and 20% of page views being writes I'd guess average is less than 1 iop a second. Even at high peak to average ratios it's likely within what a single sata disk can do.

I'd say it might be a little tight on a 512MB vps, but possible if you optimized carefully. On a reasonable dedicated machine it should run very well without any particular effort paid to optimization beyond basic caching.
Yahoo to cut hundreds of jobs
NO! It's thousands of intellectual and social bonding experiences happening among the minds that will shape the next two generations. The density of the network means that you can collaborators easily, and that's the benefit of college.

College might be an onion in the varnish, so to speak, but when you talk about "I went to Harvard", you're not talking about visiting the buildings, but being part of the great intellectual conversation, and that's the key point.
i bet it has something to do with needing to register/login to read an article.
Apple: Macbook Air isn't suitable for simultaneous use of Xcode and external display
I draw a parallel of what John Maeda is saying of punctuation to that of research: basic versus applied.

Basic research is naturally exploratory, taking winding roads, many of which do not end at any obvious fruitful conclusion. Academia (or independent wealth) is the most nurturing environment for basic research, but from what I've been reading and hearing over the years, that is changing as academia behaves more like business.

Applied research, on the other hand, is focused with deadlines and products in mind. It has the benefit of basic research to pool together concrete concepts and strategies for new technologies and products.

Some few companies can afford to do basic research, most can't or won't. That's why we need academia to do it. If they don't, who will?
This shit shouldn't be posted to Hacker News. Please read the guidelines.
A movie recommendation service that actually works
I guess it's Pandora's HGP for movies, which is cute, but presenting me with buckets doesn't really work.

http://nanocrowd.com/genre/nanogenre/id/3629 - The Iron Giant is all of these things, not just one.
Just like using a kitchen knife may be a sign that you're about to stab someone?
Seminar Production Workshop
LED Performance will teach you in one weekend how to take what you already know and transform your skills into a money - making seminar business. Anyone who has a skill can profit from creating and delivering dynamic seminars and workshops. We will personally guide you through all the essential steps to attract participants, build a high quality seminar, and present with confidence. This interactive course is structured to provide built-in opportunities to practice the skills you just learned and receive feedback.
Right about the larger vectors. I don't know A*. What's an example heuristic for this puzzle?
stalkdaily.com has nothing to do with the propagation of the attack. XSS worms typically spread within the site being attacked.

CSRF attacks, on the other hand, are typically launched from a 3rd party site.
One naive solution is to realize that you can move (remove/reinsert) any element with two reversals. For example, given:

[1 2 3 4 5 6]

You can reverse elements 1-5 (if indexing starts at 0):

[1 6 5 4 3 2]

And then reverse elements 1-4:

[1 3 4 5 6 2]

This moves the element in position 1 to position 5. Generally, to move the element in position x to position y (shifting everything else to make room for it), do the following:

def move(v, x, y):
v.reverse(x, y)

if y > x:
v.reverse(x, y-1)
else
v.reverse(x+1, y)

return v

Given this ability to move/insert elements, you can implement several sort algorithms. In fact, it's easy to see that there's a O(n * x) sort here, where x is the runtime of the reversal operator.
Smiles Predict Marriage Success
About 2,000 students per year are admitted to Harvard (of whom 1,600 or so enroll). There are a few other colleges that offer Harvard-level quality of intellectual conversation. Some plainly do not. At what level of college does the return on attending college for intellectual conversation not meet the cost of attendance?

And why can't people have great intellectual conversations without attending college, as some people do here on HN?
Happy Anal Sex Day | Ask Naughty Nikki
College is not obsolete. High school is definitely obsolete. My guess is at least 8/10 people posting here had miserable high school experiences. We spend 4 valuable years marching to and from classrooms, sitting all day in a daze just to be momentarily jolted awake by an obnoxious bell. I think the high school experience has massive room for improvement (has it really changed in the last 50 years?).
in some of the cases the person did have a college degree and should've known how big-Oh applied

This would serve as a counterexample to the idea that college is uniquely suitable for learning some important subjects, right?
By voting me up, you guys have proved me at least slightly wrong. The one thing that Northern California is demonstrably great at (over the long term) is providing room for the outsider. It seems like that's being eroded lately.
Somebody, please make a knock-off for under $1,000. I will be your first customer.
You're making a substantial assumption, which is that startups look for tax incentives when founding. Since nearly all startups are unprofitable for a while, I suspect that most don't really care what the tax codes in the area are, as long as they aren't ridiculous (insert your version of this accordingly).

I feel tweaking tax codes to encourage startups won't have its intended consequence, but rather encourage established companies to try to pretend that they're startups. They are much more likely to have the resources to chase tax incentives than a real bootstrapping startup.
Smiles Correlate With Marriage Success
Agreeing with you that many "theoretical" topics are more practically important than learners of many domains realize at first, why should I be convinced that college is a uniquely good environment for thoroughly learning important subjects such as lambda calculus or analysis of algorithms?
It's actually not easy to come up with an admissible heuristic for this, because of the reversal operator. I'm about to be late for dinner at a friend's so I don't have time to come up with something now, but if no one has by the time I'm back I'll think about it.

Edit: How about the sum of the differences of adjacent elements - n - 2? This seems to capture the notion that something reversed but in order is okay. I still don't think this is admissible though.

Well, here's an admissible one. Count how many adjacent elements are not the element to the left + 1, and divide that sum by 2. Pretty sure that'd work.
I just graduated from college in June 2008 with a BSBA in Marketing. I am now the lead UI designer for a major Rails site. Based on just that, yes, it's obsolete. I am not using my degree in any official capacity and it cost $60,000.

But while I found it easy to write off my degree and what I learned in college when I graduated as unnecessary, at least initially, I have found myself recalling lessons I learned in class more than a few times.

1. A lot of hackers and tech people look past business and marketing as the boring part of running a company. It's not, it's actually one of the hardest parts. It's easy to believe that "if you build it, they will come" but most successful software is the result of good marketing and good business sense. I learned a lot about this in school and I am glad I learned the basics where mistakes didn't cost real money.

2. While it may not have been necessary to attend school to read and discuss cases, it helped a lot. Working through marketing problems and understanding business with a group of like minded people helped it all click faster. Much like discussing technology issues on Hacker News can help make sense of everything faster.
How often have you seen police arrest and search people? I'm always amazed at how rarely I've seen that, even when living in the heart of big cities.
<i> I know plenty of counterexamples</i>
Well, there are popular smart kids too. Of course there are counterexamples.

There's nothing subtle about my substitution :) The essay was just a way of helping me see my own experiences from another point of view.
The article even points that out - it's just the headline that's misleading.
Ever notice how it's never the physicists, petroleum engineers, mathematicians or organic chemists making these claims?
The "Formal Education Considered Harmful" meme seems to come solely from coders and the occasional entrepreneur. Which to me says something more about the state of software engineering than about college.
i don't believe you have shown that how much students think they will learn doesn't play a role in their college choices. they choose based on the information they have available; the criteria you mentioned contribute to an idea of how effectively schools can teach students. alumni giving/financial resources, for example, allow schools to buy better faculty and equipment, which make students learn better. graduation and retention rates are evidence of a decent educational environment.

sorry to directly contradict you on this, but i also don't believe this was your original point. you were trying to show that a degree serves mainly as a credential. students may select schools on the basis of their rankings, but it doesn't follow that the rankings are the motivation behind their selections. to use an analogy, i may use reviewer ratings to select a computer to purchase; it doesn't follow that i select brands _for_ the prestige of owning a computer rated 5 stars by cnet.
"You can reverse N contiguous items in V at a time."

When you reverse elements 1-5 you're assuming N == 5. When you reverse elements 1-4 you're assuming N == 4. I think this violates the problem statement that N is fixed.
Lets put it this way. I think of myself (I wrote the piece) as quite attractive to a lot of people...but with the exception of America Ferrera in Ugly Betty, there is no female character in the movies or on TV who is my size or larger and gets the guys.

It's a message that society sends...you are not attractive enough if you are not super-groomed, super-thin. As I get older, I am getting better at resisting this message.
Aussie inventor in $388m Microsoft damages win
Radical honesty isn't a presently effective means of communication. It's an attempt to reform the channel and move towards a new protocol. Radical honesty guarantees being misunderstood in the short run, because if you say something more honest than expected, you're communicating -- according to the prevailing protocol -- "I'm desperate" or "Fuck you" or both or something worse. You have to accept the cost of the miscommunication you cause by speaking your own niche language to people who only speak the prevailing language (and probably speak it more fluently than you do, simply because they specialize.)

Frankly, I don't see the point. Most people are pretty honest already, if you understand the language they speak. White lies are designed to be transparent; people who expect them to deceive don't get it, and people who are deceived by white lies deceive themselves. "You're not fat" can mean so many things depending on how you say it:

1. You're not fat.

2. You're worried about being fat? Really?

3. Why are you asking that when we're all twenty pounds heavier than you? What kind of bitch are you? Fish for your compliments somewhere else.

4. You're fat, but I don't want to hear about your problems.

5. A better question is, are you hot? And the answer is yes.

Et cetera. There's no point in being dissatisfied with the channel and the protocol because you can actually communicate whatever you want on it. I'd rather just get better at speaking and understanding the language that everybody else speaks. The only problem is that sometimes honesty is unexpected, and the protocol is not optimized for unexpected honesty. If you want to say something completely honest, you might have to spend some time setting it up to avoid it being interpereted as "Fuck you."
You can talk about an independent variable "predicting" a dependent variable even if the mode of causation is unknown. That's what statistics is often used for.
Your first sentence literally added zero new information, because, as you know, it was also present in the parent post. Content comes before fun.

I didn't downvote you. I just want to let you know how people vote on this site. People also appreciate capitalization.
It's a question of which market makes for a better start. You can always expand into larger markets over time. If the home schooling niche has many of the same properties that the K12 or college markets do that are relevant to your application then it doesn't hurt to start there.

You should also note that because the markets communicate poorly (school districts don't tend to reference home schooling buy decisions) you can actually price differently in the two markets (e.g. lower in home schooling to get started without contaminating your mainstream price or enabling arbitrage).
sounds like a load of bull.
GeoTrust because I don't really care about certification of anything other than domain control; you get your certs fast (so long as you have your email address in the whois) and you can get deals depending on which reseller you go through.
It can be discouraging, but move on or try to out-execute your competitor. Either way, not doing anything about an idea means you should be happy to see someone else do it for you. More ideas will come.
Hypothesis: people who smile in yearbook photos are not really happy, just concerned with appearances, and thus likely to stay in a joyless marriage for appearance's sake.

I'm only half joking :)
I don't think it works that way.

You're also given an integer N which is greater than or equal to 2 and less than V.size(). You can reverse N contiguous items in V at a time.

So, you always revert the same number of elements in the vector. In your example, you revert 5 elements and then 4.

Your example would give the following sequence:

[1 2 3 4 5 6]
[1 6 5 4 3 2]
[3 4 5 6 1 2]
[3 2 1 6 5 4]
[5 6 1 2 3 4]
[5 4 3 2 1 6]
[1 2 3 4 5 6]

For that case (6 elements and N=5), it looks like not many vectors V have a solution... but I'm too tired to keep going :)
Ask HN: What is the name of the site wher you get designers to submit logos
I tried to google it, but could not find the site. I have seen it on HN once or twice before.
Yes, it's entirely possible that the divorce flowed backward through time and wiped the smiles off the future divorcees faces while they were posing for yearbook photos.

Thank you for the knee-jerk causation/correlation comment.
I don't understand why he puts numbers on the scaling requirements. Either it scales or it doesn't.

Otherwise a good read.
there is no female character in the movies or on TV who is my size or larger and gets the guys

Hollywood sucks for this sort of thing. There's a very small group of people who have way too much sway over what society thinks attractive girls, smart people, black people, liberals, conservatives, et al look like. It's pretty damaging.
Who paid for this?

"We need some money to fund a research project to look at people's amount of 'smiley-ness' in their old yearbook photos and see if it corresponds to whether they get divorced later in life."
Interesting. I bought a (march'09 macmini) to run dual monitors both at 1920x1200. So far it's doing the job quite well. Xcode included. Though I had to upgrade (max out) the ram.
99 times lyrics by Kate Voegele
99designs? http://99designs.com/
It looks pretty great to me (using a Firefox 3.5 nightly under Linux), but then I've configured Firefox to use the Android system fonts, and unticked "Allow pages to choose their own fonts, instead of my selections above". It's amazing how much better pages look when they use a nice font, instead of whatever lowest-common-denominator font the original author put up with.
"That's not the correct standard of evidence for the allegations supporting a search warrant."

It would be great if you could explain (to us non lawyers) what did constitute a correct standard of evidence.
Maybe we should return university science to the Sputnik Golden Age style of funding: once you've shown that you know what you're talking about, you just get loads of funding and just publish papers to keep it coming. According to folks who were doing science back then, it was glorious; they could get work done so much faster!

And just think of the international consequences. If the US became the land of easy funding, it would definitely keep a lot of foreign talent around. This sort of thing is a competitive advantage, and probably pretty cheap.
What time zone is the hosting centre located in ? I always wondered about those posting times (x hours ago, y minutes ago, etc).
i know, i've been here for more than a year and was on the top 100 list for a while. no need to patronize.

what i wrote was not present in the parent post. this article literally made me go back and check, revamp, and do mild redesigns to almost every site that i have control over. this is statement of fact that i tried to express in an apparently disagreeable manner in my op.
And in other parts of the world, ground water depletion is a looming blight that will destroy the local economy in a decade or so. Water use can be bad.
Tech jobs hammered by recession
I understand that Joel's situation as a startup was pretty unusual in that he did the marketing first. Joel on Software was around for several years, and popular, before he decided to go into business rather than working for others, so he had a ready made market for the programmers' tools he started producing.
You don't think there is huge social significance in preventing divorce? Some very smart young people I know can't attend great colleges that have admitted them, because their parents are divorced and not in agreement about paying their college expenses. Loss of human talent hurts all of us.
I didn't bother reading all the legalese, but I have a feeling the external monitor has nothing to do with it.
crowdspring is another one http://cloudspring.com