skysight-inc/HackerNews huggingface dataset:
fwiw,
gcc-4.2 foo.c; time ./a.out; gcc-4.2 -ftree-vectorize -ffast-math -ftree-vectorizer-verbose=3 -funsafe-math-optimizations -O3 foo.c; time ./a.out
foo.c: In function ‘main’:
foo.c:16: warning: incompatible implicit declaration of built-in function ‘printf’
0
real	0m0.095s
user	0m0.093s
sys	0m0.002s
foo.c: In function ‘main’:
foo.c:16: warning: incompatible implicit declaration of built-in function ‘printf’

foo.c:6: note: not vectorized: unsupported use in stmt.
foo.c:11: note: LOOP VECTORIZED.
foo.c:2: note: vectorized 1 loops in function.
0
real	0m0.018s
user	0m0.017s
sys	0m0.001s

int main () {
int a[256], b[256], c[256];
int count = 100000;
int i;
for(i=0; i < 256; i++) {
a[i] = i;
b[i] = 255 - i;
}
do{
for(i=0; i < 256; i++)
{
c[i] = a[i] * b[i];
}
} while(count--);
printf("%i", c[0]);// avoid c being optimized away.
}

so, i'd assert that vectorized multiplication is a speed win rather than a loss. upping the count a few orders of magnitude indicates vectorized multiplication grows slower than regular multiplication.

So, I claim the vectorization of multiplication is probably not detrimental to the Big O of a hashtable.

ymmv.
It's selective. What I meant was what kind of negative treatment to me? It's like the mosquito. That high frequency sound is annoying to teenagers. A police van is annoying to drug dealers? You think people like you smashed that cop car up? No, people that were annoyed by cop presence did that.
I think you're going to have to do some work to alleviate the "creeper effect" - you know, the feeling that girls get from guys who they aren't interested in, but keep sending things anyways?
I bet you there are more than a few people here that would disagree with that statement. (I'm not one of them, but I know that there are people making a killing on Facebook right now.)
Is this really possible? If possible, is it really likely that it would have happened twice, within three weeks, in two adjacent countries, after millions of iPhones have been in service without any "random explosion" incidents for well over a year now? Is it more likely than the competing "teenager does something stupid and lies about it" scenario?
You charge the price+vat, then pay your VAT to your home government. But since it's a "Value-Added" tax you claim back VAT on the goods and services you have purchased.
even with the speed of light as a constraint it should only take a few million years for self replicators to spread through significant portions of space.
You know, you could make it a "bachelor" style date, in that you could send both guy and girl off for a weekend in Jamaica, or a week in Spain or something like that. Of course the whole thing just got a lot more expensive, but it still might fly.

You'd need to vet the contestants much more, but I'm sure that would take away the jitters some people may have in letting the highest bidder win.

EDIT: I got it. You combine the ideas: Virtual Gifts are submitted to get to a "bidding" stage. Auctioned approves profiles they would consider (They have the interest of keeping this amount high) Pre-approved people are allowed to bid. Winning bid wins. Date paid for based on amount of winning bid (the higher, the better the date, hence the reason the auctioned wants lots of bidders). So long as all the bids total more than the cost of the date, profit ensues.
FriendFeed CEO Paul Buchheit Discusses Facebook Acquisition (video)
My stance would be that all those money making apps would do just as well, if not better, outside of facebook as well.
A lot of this reads like the FOAF, DiSo and Semantic Web visions. None of those has got much traction in the market: my gut feeling is that there is a market in portable identity somewhere, but no-one's worked out what it is yet.

I'd be tempted to start with the mobile companies, though: they already know who I am, where I am and how to bill me. Feels like a natural place to add authentication and identity broking...
Canonical is on that list?! They're "Unaware of the problem with IE6."

For real?
I have a list I've put together for fans of sci-fi that have only read the standard stuff (asimov, clarke, niven, heinlein)

1. The Cyberiad
2. Babel-17
3. The Stars My Destination
4. The Sheep Look Up
5. More Than Human
6. Lord of Light
7. To Your Scattered Bodies Go
8. Earth Abides
9. Gateway
10. City
... except where you have new employees who need to use it, and you don't have any documentation. This is, to me, the one of the best parts about using Django or Rails--the ramp up time for new hires is lessened by being able to hire experienced developers in "framework X" from the get go, or when hiring juniors one can simply point them at a tutorial.
Do you have any proposals for how to fix this from the interview's point of view?
Not that anything can be decided based on this amount of knowledge, but isn't it also possible that they want to increase their workforce so that the remaining experts can pass on their knowledge while they are still there?
Is there something in the setting described not resolved by (the dictionary-passing implementation of) typeclasses? The modeling problem described seems more like the problem of modeling "top levels" in general than generic functions in particular.
While that's entirely possible, inside of FB you have the benefit of already knowing who the user's friends are.
Do a bit of a merger between paulgraham.com and HN by moving comments for those articles over to each essay's page and inter-linking.
@icey - yeah, women should be able to clearly mark a guy as "out of the running". Creepers will definitely come to the site, but having an application fee (micro-transaction 99 cent level) should create some barrier to entry. How much of a barrier? That I don't know.
The companies I've worked for have generally done considerably more hiring than firing, and the people involved have seemed to enjoy the hiring much more. Perhaps I've just been lucky.
Lithium ion batteries can explode under certain conditions:

http://en.wikipedia.org/wiki/Lithium-ion_battery
Aww, man. I am disappointed.

It completely ignores the important distinction between a temporal dimension and a spatial one; you might claim this little lie acceptable for pedagogical purposes, but to claim any isomorphism between this and the dimensions of string theory is balderdash.
It's amusing to see all the nitpicking here. Heh. At the end of the day, it's about the people. Does this company actually care about the people working for it? Do you care about them? Honestly, all these "warning signs" seem like a guide to common sense for people without it.

As in, if you don't like the place and your interview process makes you feel bad, there's probably something wrong and you shouldn't work there. (Of course, if you're desperate, no number of signals will be able to turn you away from the flame.)

Yeah, my company's still hiring.
Project Euler is a fun way to motivate yourself to learn some algorithms, number theory, and a few other math topics, by solving programming puzzles: http://projecteuler.net/

O'Reilly's Statistics in a Nutshell is a good stats textbook and reference, has some good exercises to be done in R (or S or Matlab), and is generally more programming-oriented than most statistics treatments. http://oreilly.com/catalog/9780596510497/

Two important classics are Knuth's The Art of Computer Programming (more algorithms/programming-focused; very steep learning curve) and Concrete Mathematics (with Ron Graham and Oren Patashnik; more math-focused; may be easier for self-study). Both have exercises you can work through, though many of the exercises are proofs (not easily translatable to programming).
Matlab does have a lot of great features like ... clean syntax

Are we talking about the same Matlab? The one where you get one function per file?

Can someone in the know add more detail, i.e., is any of this due to proprietary algorithms, or is this a question of implementation and tuning? Why is R faster in a few cases?
I have to say, at least Taleb can write. Reading this scrawl gave me a headache.
Funnily enough the public library here (or the person who runs their catalogue) uses amazon associates:

http://library.redbridge.gov.uk/02_Catalogue/02_005_TitleInf...
The Ten Stupidest Utopias
Ask HN: A good book on Calculus?
Hi,

After a year-long break I'll continue studying math this fall.

What I want is some refreshment on calculus. Does anyone know something similar to Feynman's Lectures on Physics, just on calculus? Feynman's books were really fucking awesome and I would like a similar fun read for calculus: derivation/integration, series, and multivar (and beyond, if possible but for now this will suffice).

I'm not really looking for "here's a bunch of formulas for derivation: And here's what Taylor serie looks like:". I already know that. I want to know what goes on under the hood, proofs, dissections, analogies.

Similar question goes for chemistry/biology but I think HN is much more math-oriented.

Suggestions?
No, but that's the best argument for Lisp I've ever seen.
Probably true. What's the relevance here? (Clearly there is a demand for what NASA's employees do, since someone gives them money to do it. I would guess that the love:money ratio is higher at NASA than at most companies. The most visible things NASA does are science and space exploration, and both seem to me like paradigmatic examples of things that enrich society (unless by "enrich" you mean "provide money to", I guess).

Perhaps there are lots of people employed by other bits of the government who are parasites according to your criteria, but you've not exactly been specific about who. What exactly is your point?
Interviews are more like sprints whereas the actual job is like a marathon.
NS article: http://www.newscientist.com/blogs/shortsharpscience/2009/07/...

Originating site doesn't like Chrome and won't give me a cookie. Faugh.
There is another model of programming competition, which I'm a fan of: "Write a program [in domain X]. You have until T. Begin."

The time limit doesn't encourage good code, but without it there would probably be no code at all. ("I don't have time to take up another project" vs. "I can spare a weekend to work on this".) And it's not entirely negative: premature optimisation is discouraged. The open-endedness emphasises high-level design over algorithmic details.

The national novel writing month (not a competition, but the same format) guys have a follow-up, national novel editing month. I want to try something similar for programming competitions. You write something quickly, and it gets judged as an alpha. Then you get more time to clean up, add polish, maybe some new features, and it gets judged as a v1.0 final. Maybe this will encourage the right mix of getting things done and doing them well.
The article describes how to slow it down, too.
Why I Love Los Angeles – Part II
I'm pretty skeptical about the idea that men have wider eye spacing because it makes us better hunters. If eye spacing had any significant effect on hunting ability I'm pretty sure we'd find ourselves with eyes spaced as far apart as possible, but instead we find there's actually a fair bit of room on either side. Widely-spaced eyes are a pretty "cheap" evolutionary adaptation.
You appeared to be making a hard assertion that

"The MVC abstraction ... cuts the wrong way for a client-server application"

Implying that there's something fundamental about MVC-like patterns which makes them unsuitable for client-server apps. As someone using an MVC-like pattern for a client-server app, I was interested in what you think that might be.

Seems I misunderstood and you were just making a point about your dislike of the term MVC and the way people are dogmatic about it. Which I broadly agree with (I'm not using the conventional variant, after all), but don't think was stated very clearly.

Re 'well-factored': of course, people should learn to factor code well before trying to shoe-horn it into a Pattern. But in my experience a simple iterative process of keeping things well-factored will only get you so far - it's quite a fine-grained process that doesn't always help with the bigger architectural decisions. So ultimately architecture needs ideas, and it does help to talk about those ideas and give them names, much as this can lead to abuse by the lazy.

(depending on what you mean by 'well-factored' anyway - it can be used as something of a broad, catch-all bit of terminology for 'well-structured code', but as I understand it, refers merely to code which has had duplicated pieces of logic factored out).

There's also the fact that application frameworks are often tied to architectural styles, and application frameworks have a lot of value to people, such that oftentimes it's a worthwhile tradeoff to use one even when the architectural style isn't a perfect fit. You just have to be aware of the trade-off.
Actually, it would be kinda neat to have strangers nominate two people for a blind date... wisdom of the crowds after all!
may I call this a very brilliant move?
Why ask this question about Java in particular? I think the real question is whether inheritance is useful in nominal type systems with objects and interfaces.

And I think the real answer is yes. Inheritance is very nice in the API for GUIs. I've never seen the idea applied usefully elsewhere, though I'm sure there are examples.
Well, he did think chording keyboards would take off :)
What kind of storage costs would they be paying for all that binary data? I'm guessing they're using Amazon Simple Storage, which is not expensive, but in that kind of volume I'm sure it adds up. Great idea, though. Thumbs up and best of luck.
Direct link to flash video:

http://revver.com/video/99898/imagining-the-tenth-dimension/
Goldman Sachs: Lower Bonuses, more for Shareholders?
Too late. Many people already did. It helps if you produced something other people can base their research on.
Computing Beyond Silicon Summer School (2004)
In addition to several of his own successful blogs, he's also one of the co-founders of b5media which has gotten (approximately) 8 million in funding since it's launch in 2005. Darren's expertise in blogging and their monetization was a crucial factor in getting that funding.

Funding is not a direct indicator of anything but the funding party's evaluation of perceived or likely value -- just like any testament to Darren Rowse and his success.

By the way, that huckster is also the minister of a small youth oriented church in his city.

I was speaking generally, but regardless, I'm not sure what that has to do with being (or not being) a huckster.
Hi there - I actually welcome your skepticism on this one - there's a lot of people claiming a lot of things online these days.

The reason I actually revealed the amount I've made with Amazon in this post was simply that I constantly get people telling me that Amazon is impossible to make good money with because it's just lots of tiny tiny commissions (ie 5% of a book sale isn't much).

In terms of what makes me my money - if you read the article you see that I'm linking to my photography blog. That is my main blog (in terms of both traffic and earnings). I do make some from ProBlogger but it's small in comparison with the photography one.

Yep I sell an ebook from my site - it's done ok but it's not my main income source by any means.

In terms of inflating the amount - not quite sure how to 'prove it' - I don't like to post screenshots of earnings pages because people tend to say they are photoshopped - but if you know anyone in Melbourne Australia and want to set up a meeting I'm more than happy to show them my reports live and have them verify them for you.

I'd also say that if I was going to inflate the numbers I'd probably go a little further than I did - $119k in 6 years isn't really the most amazing claim of making money online that I've heard :-) It's more than pocket change but it's small time in comparison to many.

Again - happy for people to be skeptical - I actively encourage people to be in this game, there's a lot of big claims, hype and empty promises going around. I myself pride myself on not promising big easy money - in fact I've written many times on how hard it is to make this kind of money, I've worked my butt off for 7 years building my blogs up - it certainly doesn't happen over night.

Happy to chat with anyone who wants to raise concerns over my approach and shed as much light as I can on the topic.
Many design patterns work perfectly well in Javascript.

In web architectures, there is a practical problem with where logic lives, where the data lives, and what generates the "view". It's a non trivial architectural problem, but it's not impossible by any means. The computer science and software is completely capable.

I guess this is tangential to the debate about if Javascript is _good_ for MVC. If code is executed on both the server and the browser there probably needs to be a clean separation of responsibility or code generation. Otherwise - Google gears and chrome OS can certainly make the entire app live completely client side (and in MVC/ JS).
funny that none of the comments here or on the post talk about how the FTC is going to regulate disclosure of this income verrrrrry soon
Nice dodging of the question! I'll ask again: if it's not some sort of "treatment", then why are the cops bragging about the effect it has?

"You think people like you smashed that cop car up?"

Do you think everyone whose home this has been parked in front of smashed that car up?

Do you think they were all guilty of the "crimes" that they haven't even been charged with? After all, they weren't "people like you".

Of course it's nothing to you - you'll never have one of those parked in front of your house. One of those won't ever go in your neighborhood, because people would lawyer up. It's all very selective, as you put it.

No, they'll stay in poor/minority neighborhoods, where people will have the choices of taking it or moving.
I am still amazed people have stayed with IE6 with the excuse of "Security fears."

They fear having security?
Paper Review of "A Transaction Model"
There's no intention of answering it, just demonizing "civil libertarians" - i.e., anyone who disagrees with him and thinks this violates civil liberties - in order to pretend to have the high ground.
How to Save A Life
exactly. The question is, how do you consistently generate enough traffic and get people bidding? Yes, it's 99 cents per bid, but if you're not interested in the girl, it doesn't matter. ie- shes too tall, it wouldn't matter if it were free. A PR burst would be nice for that week of launch, but what about the other 51 weeks in the year? If you can figure out that formula, profit ensues. Step 2: ????? actually exists here.
I kind of ran out of steam on the paragraph where he claims that Niederhoffer's strategy is better than Taleb's while failing to mention that Niederhoffer has blown up two separate funds during periods of market instability (1997 and 2007). I find that Niederhoffer's experience reinforces rather than debunks Taleb's arguments.
Every forum on the internet gets someone to start one of these threads which goes on seemingly forever and nobody reads them. What is this? MySpace?
How to Generate Gradients and Textures - Eldarion Blog
Interviews don't work to ascertain how well someone will work as a programmer other than the most trivial reject / accept scenarios. Everything else plays out in the first two weeks to a month after hiring.

Interviews select for people that are good at doing interviews, they present themselves well and may be able to subconsciously flatter the person interviewing them.

Because of that, if the number of applicants for a given job is high the interviewer has an easier job of it, he/she can simply raise the bar during the interviews, eventually someone will pass the bar and that person will get hired.

The reverse, in a market where talent is scarce the bar will be lowered until someone gets hired.

But all that says is that during the interviewing phase the person performed 'as expected'.

How well they work in a team, what their work attitude in general is and so on is still largely unknown. The same goes for the quality of their production.

Interviewing is a 'rough' selection process, you try to do a sort of 'triage' here.

The groups are hire, wait-and-see, and no way.

The 'wait-and-see' might not get the nod this round but in a next round when quality is scarcer they might come up for a second round. There are probably plenty of people in this second group that would outperform people in the first group. They're just not that good at 'selling' themselves.
CS191: Biomolecular Computation
Amazing when you think of how much it cost to send those seeds to the moon how they didn't keep records of where they planted them back on earth. Are these the most unique trees on the planet?
I should clarify - that I don't work as a minister any more. I did that for 10 years but transitioned out of it a couple of years back.

Of course that doesn't really prove anything - I'm not one to claim that all ministers are above doing dodgy stuff but I wanted to clarify that. Thanks for the encouragement though.
On  Obama's method | NowPublic News Coverage
You could be riding on a plane, for example.
I moved to Los Angeles from Mt. View several years ago.

The startup and technology scene is less visible than other industries here, notably entertainment and aerospace. I don't feel the buzz like I did back in the bay area.

That said, it was a very good move for me. I was happy to leave behind my bay area snob attitude upon finding that there were many smart people who do interesting things in Los Angeles. It's a bigger city than just the one we see in the celebrity/entertainment news.

Also, my dating life improved greatly compared to the bay area.
That's nothing to worry about. You said like woot right? Well, one pre-selected girl, one pre-selected guy per week (You can extend that to same sex matches as well, which makes for 4 contests a week, locally in X amount of cities.)

You put a detailed description of the auctioned on the site, along with the date description, and invite everyone to apply to bid. Auctioned selects those allowed to bid, I suppose you can put auto limiting options here if you want. (So far, no money). Bidding commences with a conveniently placed minimum bet (say 75% of date cost) and is not fixed - bid whatever you want. Since the bidders and auctioned are pre-selected, all we're looking to do here is get that bidding as high over the date cost (assuming only one date, perhaps if it gets really high, say 100% over the cost, the date changes, and so on and so on.) This way, you let the auctioned do your marketing for you - their interest is getting that big free night out, after all, so they keep the pool of allowed bidders large. So long as you keep the auctioned pre-selected for attractiveness/interestingness, you win. Throw a pictureless rss feed up there and don't worry, people will come back.

Hell, what the hell am I doing, I should just go build this thing!
Why would you bother to do this if you are a non-EU provider?
We are using it for our server monitoring application with a database size currently around 150GB. We migrated from MySQL and wrote up the details at http://blog.boxedice.com/2009/07/25/choosing-a-non-relationa...
FYI, the 2D people "Flatlanders" thought exercise the video is using comes from one of the first sort of sci-fi books "Flatland" by Edwin Abbott Abbott [1]

[1] http://en.wikipedia.org/wiki/Flatland
If that's they way you want to look at it. I don't do business with that kind of person,

That is reality my friend. The customer and market determine the value, not the creator. You can choose to ignore this, but if you compare successful and unsuccessful startups, it usually comes down to the fact that the customer believes that the creation adds value, nothing more.
Forum discussion about cracking the TI-83+ key
If a certain batch of phones (or most likely, batteries) were defective, then you would expect failures to be clustered together.