skysight-inc/HackerNews huggingface dataset:
You can, you can talk about which operations need to be fast, as shown by the big-O complexity. You can also talk about constant factors, the cost of specific operations such as comparisons, and locality of reference. In my opinion the latter aspects should be emphasized more because you sometimes come across people who built their careers around slightly more optimal datastructures in terms of big-O complexity, which are nevertheless impractical in any but the most extreme situations due to constant factors (which may only get a footnote mention).
It's irrelevant. The point is that either was an example of dramatically different way of looking at things. "You don't know what you don't know, but now you do."
> did you know that thanks to a standards committee decision, erase by iterator in a typical C++ TR1 hash set or map is O(n)

Weird, never heard of that. What is it about the iterator requirements that causes erase to be O(n)?
It depends how far ahead they are. If they are really far into it, it might be more profitable to join them instead and improve their existing product. But that also means revealing to them your intention to do something similar, which may look really bad if you ended up doing your own thing.

My opinion.
I predicted that too. So what?
I should have specified earlier: Google Sparsehash also contains Densehash which is optimised for speed, not space. It, however, is also more space efficient than most other hash implementations. Check out dense_hash_map[1]

[1]: http://sparsehash.googlecode.com/svn/trunk/doc/implementatio...
If PyPi was compromised like RubyGems I'm not sure they'd be more able to reliably recover from it quickly either.

PyPi does support package signing (with GPG) but pip doesn't support signature verification and hardly any packages are actually signed anyway. It's actually probably more secure to load your python packages off of specific commits on a public git repo over HTTPS right now. (Except that pip also doesn't validate HTTPS certificates either...) And if you are lucky enough to be using a package that is signed, establishing a WOT with the author to validate their cert might not be easy.

It's not like people aren't working on this stuff though. https://www.updateframework.com/ have a 'secure' (the upstream ins't obviously) PyPi mirror and the PEP427 Wheel http://wheel.readthedocs.org/en/latest/ format seems to be giving security more consideration than previous attempts at Python packaging have.
It's called chasing the cost waterfall from monopoly to commodity and making sure you own it with economies of scale (from the book How We Got Here: A Silicon Valley and Wall Street Primer (A History of Technology and Markets) by Andy Kessler).

Larry Page has also talked about the same phenomena (http://www.youtube.com/watch?feature=player_detailpage&v...). Recommend watching the entire talk.

Follow falling costs - they drive adoption.
It doesn't seem to affect OS X Lion.
The cops work for and with the prosecutors. They're the ones that do investigations, collect evidence, and pick up suspects. That's why prosecutors won't cross them.
They didn't sign or agree to anything. Or at least so it says in the article. Unless you mean they signed an agreement that they agreed to literally any terms - which would be an unenforcable contract.

Your use of the question mark is unnecessary and smacks of snark. Please don't do that.
Douglas Engelbart predicted the whole modern computing world, including cloud services, in 1970s. It still took hard work of thousands of people to realize it in a way useful to a wide population.

http://en.wikipedia.org/wiki/Douglas_Engelbart

http://en.wikipedia.org/wiki/The_Mother_of_All_Demos
Looks to me like Jobs uses the entire exchange as a way of undermining Noah's performance in the movie:

"I invited him here today to see how I really act" etc
I'd say Woz's role was far more pivotal than Jobs'.

For every salesman, you need several engineers to actually create and build a product worth selling.
Small bug - I'm reading in HN in bed right now and I have a mounted screen a few metres away from me. I clicked on Start/Play and wanted to cancel, so I cancelled the first alert box but then found myself in an endless loop of alert boxes stealing focus from all other Chrome windows. I had to kill Chrome in the end.
Seth Godin: Why do we care about football?
"Google has completely jumped the shark and is now being controlled by mindless business drones that will drive the company into the ground in just a few years."

I think you missed the part where they have a near monopoly in search and that currently there is no real competition for that crown. There is absolutely nothing that is going to run Google into the ground in a few short years.

Once a company becomes as large and critical as Google, it becomes an integral national service provider (think Boeing or Ford or Walmart or Goldman) and gets special protection via all the lobbying they do and all the friends they have in DC. Particularly once a company like Google lets the government in to regulate them, as Microsoft and Intel and IBM and others have done, that seals the deal. Which is why the Feds just backed completely away from their anti-trust interest; they could have just as easily pursued Google forever, but they got what they wanted. Any idea the value that organizations like the NSA derive from Google? With that partnership established, any idea the lengths they'll go to in order to protect that treasure trove?

Your time horizon is way too short. Nothing is going to touch Google this decade. You don't understand how the US economy actually works.
Probably because it's easier to agree on what is evil, than what is good.
Thats great , its been several days since I posted this question and based on these great answers I decided to start learning it, so far so good. I got the book "node.js applications with mongo.db and backbone.js" , since I have messed with mongo and php before, seemed like a good idea.
Agree with other comments here. I've flipped through Wealth of Nations, Origin of Species and others and couldn't keep my focus tethered down.

So let me ask you this: What are the top 10 essential reads of today for helping one develop a critical mind and a better understanding of the world around them?
I don't understand the part of how he came to his invention. Can someone explain please?

>he peeled a translucent decal from a light switch plate and found pencil mark images transferred to the opposite face

So he had a sticker you can see through, used pencil to draw on it and you could see those left on the surface under it. But how does that link with the way an Etch-a-sketch works?
> Giving David Gelernter credit for predicting Dropbox is to show a lack of appreciation for the decisions that made Dropbox great - and better than the army of options that came before it that simply weren't good.

I was extra impressed by was how close Gelernter was to predicting the cost and nature of such a service. It's an impressive thing to guess about $12.50, and that it would be a simple and reliable monthly service. This was an era where 1 GB hard drives cost $1000, mind you.

You're right, Gelernter couldn't have known the specific details that would have made Dropbox successful. If you could know that, you would have created Dropbox.
Then you'll be 'the guy with the odd mask' and easily recognized unless there are a lot of people doing the same thing.
That AT&T changed their policy due to competitive pressures? Not very dissonant.
No one really uses IE these days..
I was unable to find which course it was this time. Although I suspect it was something along those lines again.

There was a similar scandal in 2012 - here's my favorite commentary on that:

http://thelastpsychiatrist.com/2012/09/the_harvard_cheating_...
I’m not talking about treating Jobs as some kind of semi God. Actually I generally dislike Apple. But one thing Jobs was known for was his passion. And the kid who portrays him has no passion at all in his acting. That’s what made Noah Wyle’s performance so good in my opinion. He was totally into it.
> The same goes for Dropbox- 2GB for every user, for free?

While it was a contributing factor to Dropbox success, it was hardly the most important one. 2GB was perfectly sustainable even back then if you consider than only a fraction of users would use all of their 2 Gigs. It's the overall execution and the focus that mattered. I'd also guess that aggressive affiliate marketing helped quite a bit too.
It's the fact that erase(iterator) returns the "next" iterator. Since hash tables often don't shrink, they can become quite sparse, and the "next" operation is linear.

This is the best link I have right now--a ticket I filed (and was fixed) for Boost's implementation: https://svn.boost.org/trac/boost/ticket/3693

Note the references to GCC's implementation. As far as I can tell they fixed it in 4.7, but caused some other performance regression which is still open. And most people don't use GCC 4.7 in production environments yet.
SEEKING WORK - Remote, travel within Europe, or anywhere really.

- Full stack web developer in Python or Clojure or Scala.
eg. http://www.uithing.com/ and http://www.automaticaircon.com/

- Proven iOS developer.
eg. https://itunes.apple.com/ms/app/voicee-talk-whenever!/id4866...

- Intermediate machine learning, neural network specialist.

- Past C++ master. May require convincing to go back.
As always in our field it is somewhere in the middle - having knowledge of the platform and the field is something that can give you some hints in advance about potential problems with the approach for a difficult problem.

After all a timely - "This is not going to work well because there will be lots of branch mispredictions and you will be going out of the L3 cache a lot, and RAM is terribly slow" can save a lot of time and effort for some classes of tasks that big scalabiliy companies have to deal often.
Let me give you an honest advice on how to not be a fallacies noob. Try explaining what's wrong with their argument, without incurring in the arrogant attitude of just mentioning the name of the fallacy and downvoting. That way you will stop trying to make every argument fit into a fallacy, and start truly understanding what (if anything) is wrong with it.

I must have corrected the 'ad hominem' thing at least 5 times today, so I'm tired. It's not ad hominem if it's not trying to undermine an argument (it's just insulting or trolling), and it's not ad hominem either if it's relevant (eg: programmer does not know the basics, that fact comes to light, and is used against him in a programming discussion).
No, it is not. It is built on Pyramid framework.
The code is available at : https://github.com/aradhyat/Mine_escape
That's how virtually all competition is formed in all markets. You wouldn't have "competitors" if they didn't have to at least make a somewhat similar product. If it would be a completely 100% different product, then it wouldn't be a competitor in that market anymore. It would be something else, in its own market...which would also get "similar" competition there.

Patent enforcement is way out of line with how businesses actually work and have worked for millenias.
Alarm Clock Myth - How to wake up early
I think it's a reasonably cheap and fast method to increase security somewhat. It doesn't really mean they don't know how to secure a site otherwise.
100M of these have been sold. Most popular tablet yet!
5 Years After Launching, Twitter-esque Startup Plurk Gets Series A Funding
I understand you.. this Ruby code is unclear.

There is a lot of bad code out there, but you shouldn't judge Ruby by a random code snippet- Ruby is just the tool, and the developer is responsible to write clean code.

I don't know what the code is trying to do with all the nested mapping.. it seems like the first 2 lines break encapsulation of the Repo model, trying to gather all the commits. This is unrelated to Ruby, it's a "bad" OO design (might be wrong, I didn't read the rest of the code)

So lets ignore that, and just rewrite from line 3 and below:

def fresh_commits(repo, n = 10)
commits = repo.heads.map do |h|
repo.commits(h.name, n).map { |c| Commit.new(c, h) }
end

commits.flatten.uniq_by(&:id).sort_by(&:committed_date).first(n)
end

Do you agree that the last line is clean & readable, even if you don't know "exactly" what "&:function_name" does?
In praise of failure: the key ingredient to children’s success
Emma Bunton Girls Cream Lace Skirt - 3-4 Years
Is down for me.
cf. aguments for using encryption for everyday communication.
no, I don't.
"they were sitting there like it was TOTALLY OK"

Why wouldn't it be ok? Why do they care what people wear or use?
I wonder if they're archaea or bacteria. Does anybody have a guess?
you might wanna check out http://www.yeager.cm if you are searching for a slick and easy to extend php (5.3) cms.

disclaimer: i'm one of the devs/founders.
+1 for `dangerous_load`. If it was implemented this way, rather than `load` and `safe_load`, I doubt we would have seen vulnerabilities like the one in both tastypie and piston, the two leading API libraries for Django.

See https://www.djangoproject.com/weblog/2011/nov/01/piston-and-...

Whilst python might seem safer than the state in Ruby/Rails, it also has its history of vulnerabilities.
The heroic pose may be timeless, but in Friedrichs painting it has a novel (I believe) interpretation in that we see the hero from the back, and he is dark and unspecific, while the vista is bright. So rather than focus on the hero as an object (as we do with e.g. Michelangelo David), we identify with the hero (because he is "generic" and have the same position as we have relative to the image) and contemplate the vista along with him. We become the hero. I believe this is the effect that the movie posters also strive for.
ㅇㅁㄹㄴㅇㄹ
Having just migrated a big Drupal 6 site I attest that the Drupal db schema is really quite complex.

Also one of the project advisers has also said that going between different versions of Drupal is comparitable with going to a totally new Cms (meaning its no simple task).
hmm, interesting point - however I doubt they would be this sophisticated. after all these are just informative web pages for the public and are most likely not held to the same rigorous standards in security like other systemic systems of the government.
Things like this are why you should avoid phone contracts. I'm been happy with StraightTalk. I have the AT&T variant and it has been quite good. Only downside is no service outside of the US.
I assume the GP meant that the clause was in the original contract the author signed when getting the sim-card he's currently using. That contract might have a clause to the effect that smartphone usage with that SIM costs extra.
"They didn't catch on over in Europe at all."

Totally wrong. I was born in 1960, and at my British school if you didn't wear platforms you were laughed at. They were practically compulsory!
I think you can hate a language.. you can hate it because you hate yourself, for the things the language make you do.

Coming from a Java background, I used to bang my head on the desk everything I had to write a boilerplate code for anonymous functions/classes.. luckily, there was Intellij IDE to ease the pain.
Stunning what some people are able to create with this stuff:
http://www.gvetchedintime.com/gvetchedintime/gallery.php
This project really needs more info about itself. I'm still trying to understand what's the main goal for the user.

But I like it. :)
> most of the time humans are Yahoos.

A human's relationship to being a yahoo is like a car's relationship to running off the road. Right now, deliberate steering is required. Also, it seems that one day soon, this will be automated.
That is strange to hear. That kind of polymorphism is literally the first example given in any OO tutorial. "Bark", "Meow", "Oink", etc.
Thanks for suggesting that Peirce book. Interesting man indeed, ordered the book.

I can +1 GEB the stories sections are just brilliant (entire content is great of course)
Ideas that could change the world
This is pretty awesome! Where I can find Go code?
> Hence, there is intense pressure from the students to themselves to not cheat - and someone who does cheat is pretty much ostracized.

Another thing to note is that homework at Caltech can be rather challenging. It is common (or at least when I was there, around the same Walter was, and I believe it still is so) for people to collaborate on it. You get a pretty good idea from this how your classmates are doing, and you can make a pretty good prediction by the end of the term how they are going to do on the exam. In my experience, pretty much everyone came out about where I expected them to. If there was significant cheating going on, there should have been noticeable instances of people doing unexpectedly well on exams.

> I don't remember ever locking my dorm room door.

Did you ever meet the guy in the bushes on California Blvd? He was a mentally ill college-aged kid who hid in the bushes in front of a building around half way between campus and Lake Avenue. He would ask people if they had seen "Sandy". (I know some people who managed to have a long talk with him, but they were not able to figure out if Sandy was a girl he actually knew, or someone imaginary).

One day, some of us were hanging out in my room, which was at the top of the stairs that lead to the basement of the South houses. Someone started joking about funny things we could say when bushes guy asked about Sandy. I suggested something involving a crude sex act.

Apparently bushes guy happened to be lurking in the South houses basement and was listening. That night, I woke up in the middle of the night with him standing over me, rather agitated, asking why I would say such terrible things about Sandy.

I started locking my door after that.
I don't know why anyone would expect a public facing PR website to have the same level of security as actual military use systems... Obligatory XKCD: http://xkcd.com/932/
I guess Netflix is phasing out their disc service because it seems to be a US-only thing while they are aiming to be an international video streaming provider.

Amazon streaming service seems to be only available in the US while Netflix is aggressively expanding internationally. Netflix also makes it really easy to circumvent their region coding system to get an access to their full catalogue.

While online streaming services have been available for ten years they all have been either too expensive or had too small catalogue or both. From my point of view Netflix is the first real alternative to pirating in my region. I expect them to capture the same kind of popularity as Spotify did. They still suffer from having very few finnish titles but they are shaking up the status quo here.

Amazon has yet to offer their alternative internationally. And if Netflix can capture people as well as Spotify did, Amazon will have very hard time convincing people to switch
> Why have speed limits at all then?

Because speed kills, plain and simple. It reduces the time you have to react to any problem, increases your braking distance and increases the damage and lethality of any impact. The latter two are affected with the square of speed.

There are very, very good reasons to have a universal hard speed limit.
The situation is probably more complex than that. If European banks were so risk averse, as you suggest, they probably wouldn't have imploded.
Show HN: Utility to convert Apache AccessLog into JSON format.
By upvoting. Upvoted links are listed under 'saved stories' link on your profile page. Hence the name.
Running Contao 3.x On Nginx (LEMP) On Debian Wheezy/Ubuntu 12.10
Woz is too good an engineer to be a manager.
I especially found the map of europe Year 1 vs 2000 interesting. Hopefully, it won't take another 2k years for the EU to grow back together as a community. Of course, there are the intermittent 2k years that have divided us, but if you compare the progress over the last 50 to the previous roughly 2k I think we've done quit well.
Is it not dangerous to do this? What if we bring to the surface new viruses or bacteria that are very harmful?
Concur. It's not just that the legal regimen in the USA is much worse that elsewhere (though there's a credible case that it is). It's that the way the legal and political systems are locked together in a death grip that makes meaningful reform seem very unlikely. The legal and political systems in Europe aren't ideal by any means, but for example we've been able to stave off the worst excesses of the software patent lobby fairly successfully.

It's possible the SOPA protests and the furore over the treatment of Aaron Swartz will make a difference and the US can turn a corner on these issues after all. We can hope so.

I've worked at two companies now where there were graphical methods of displaying data that previously existed on paper, but we could not implement them in software because they were patented in the USA. One was in celular radio network planning and something to do with interference calculation, the other was in displaying a 'ladder' of bids and offers in financial trading systems. You could use these methods to display data on printed paper, or in a PDF on a screen for example, but if you generate the results in software and you're breaking the law in the US. Insane. But it's not practical to have one version for inside the US and another for the rest of the world.
What's next? "Steve Jobs, Vampire Hunter"?
It wasn't so bad when things weren't digital, but now I am feeling more and more paranoid. I really don't want my image somewhere where someone can do face recognition or simply tag me without my explicit permission.

I already feel bad when someone uploads a photo to Facebook and tags me.
How Can You Preserve Pet DNA Today So That It Can Be Used In 20 Years?
I do too sometimes. For similar reasons.

I realised I can look at it this way after I put AdWords on my website and I was warned by Google that I am now allowed to encourage visitors in any way to click on my ads.
When did Microsoft start trying to build Dropbox? Iirc they made at least half a dozen attempts (that failed) before Dropbox came along. Presumably one of those attempts started around 1996...
That's a super slick front page (for bngal). Nice work!
ia ia cthulhu fhtagn!
Not sure whether you are pro- or anti-EU with that comment...

You are aware that the union in year 1 was effectively a somewhat brutal dictatorship imposed by force where human life was treated as a toy for an elite caste that ruled from afar, right? There was no 'EU community' then. There was the brutal rule of hierarchical violence and fealty to pay to a foreign emperor.

Regardless of what you think of the EU, the Roman empire is not something to which anyone should reasonably aspire!
It is the case for now, but won't be much for longer. I expect application developers to start versioning Vagrantfile, Berkfile, etc. so that someone can bring up at least dev versions of apps.
The point is that GNU is not promoting Gnome, but GnuStep. And Gnome goes against everything the FSF and GNU stand for, so I never understood why they are keeping it under the GNU umbrella.

They can throw out Gnome and just keep GTK and glib, which are more widely used, independent projects not under Gnome's control.
If someone was to download these images and make a simple site that links them all with transition fades to show the change over time, would it be an infringement of the Euratlas copyright?
I suppose more like trust whether the resulting code will always be correct.
Great stuff, as usual, lutusp. The paradigmatic example is Kepler, who labored for years on models of the solar system based on the Platonic solids and "perfect" circular orbits.

The reason he is remembered as one of the founders of modern science is that he abandoned the aesthetic criterion in favor of the messier, uglier, facts.
If the original author is reading, those are George Orwell's "pithy maxims", not Allen Short's, but entertaining usage on getting a Big Brother reference into a security/trust context.