skysight-inc/HackerNews huggingface dataset:
I tried a svn build of clang++ two months ago on our in-house code base of hundreds of thousands of lines of C++. I didn't see much advantage to using it.

- I felt misled by all the advertising on the website. They are comparing to Apple's version of gcc-4.2. The last GNU release of gcc-4.2 was two and a half years ago. Even Debian stable has something newer. Compared to gcc-4.2, the newer gcc-4.5 compiles faster, produces faster code, and gives better diagnostics. The comparison on the website was not useful for me to predict the differences now.

- In terms of compile speed, clang was sometimes faster and sometimes slower than gcc-4.5, but overall the differences were very minor.

- In terms of performance, clang was >10% slower, which is OK for debugging builds.

- The diagnostics were a little prettier than gcc-4.5's, but not a huge improvement. I think it was mostly because they were in color.

- Getting the existing codebase to compile was a chore. gcc bends the rules of the C++ standard in some ways that don't appear to cause confusion but make the code more pleasant. For example, it allows unqualified lookup into dependent bases of class templates, which means you can write "foo()" instead of "this->foo()" in things that look like class members (see http://clang.llvm.org/compatibility.html#dep_lookup_bases). There are a number of these - look through the page. I felt like clang was being inappropriately pedantic and beating me over the head with the standard. The most frustrating part was that the compiler wasn't confused - the error message gave me a copy/paste set of changes to make.

- On my Debian system, I could not find a set of c++0x headers that clang knew how to compile (the official instructions say "use gcc's"), so I couldn't try out the new standard.
Whenever I see Zuck, this song always starts to play in my head...

http://www.youtube.com/watch?v=fregObNcHC8
The smaller items whipping around a larger body remind me of the footage you see on docos about the discovery of Sgr A* in our galaxy. It's mesmerising.
Have you considered selling this as an assessment tool? You'd probably have to drop the Kung-fu theme but that doesn't mean it would have to be boring either.

I think a scored and timed test would be really useful to HR departments at large corporations who need to screen technical applicants.

One hitch is that with most thing *nix, TMTOWTDI. Do you check for the result or do you check the command typed? Just as an example, your screenshots show the pushd/popd lesson. If prompted to change to my home directory in under two seconds I'd just type 'cd'. To get back to where I used to be I'd type 'cd -'. I never use pushd/popd. If the lesson is presented as 'use pushd and popd to navigate the filesystem' then there's no issue.
The short answer is that there are many entrenched interests who are not keen on the idea: Uranium mines, nuclear industry, weapons manufacturers, not to mention the oil, gas and coal lobbies, even the alternative energy suppliers like solar. Thorium would rain on all their parades.
Google: Prediction API and other cool stuff
Money quote: "You are the ingredients in their Soylent Green"
Well, maybe.

But you're also running a huge risk because if they find you in violation the fines start to get nasty. We had a client in the UK that was providing hit/redirect statistics, including full IP addresses, to German clients. Under the rules that is illegal - they were fined in the region of millions of euros for it.
Be Inspired (By Everything) 013
It’s the unlucky 13th edition, unlucky because it’s taken me two weeks to gather together enough inspiration from my RSS feeds to make a suitable post. Don’t know what it was but I just wasn’t liking what I saw in my Inspiration folder in Google Reader.
500, I remember coming up with an "average nonzero cell" estimate and then multiplying it by my estimate of how many of these there were. All done in under 5 seconds, a side effect of which is that I don't really remember what process the first estimate came from.
So sum it up: If you don't know a rule, it still applies to you. If you register a domain in Libya you have to play by their rules and it is your responsibility to try and understand them.
I've read somewhere that one problem with Thorium is it can easily be converted to a fissionable isotope (of Uranium?) which can be used to build bombs. So there's that.
Here's another idea. Instead of saying that the only way someone could possibly communicate with a developer is on the developer's terms by learning to program, why not employ developers who can communicate with non-developers?

Yes it's important to create the best possible working environment for a programmer and give them the best information, but in this example the founder / CEO / visionary is actually the scarce resource and the aim should be to get him working as effectively as possible. Six months of his time to learn to program is a huge and expensive (in opportunity terms) commitment when part of that should be picked up by the programmer spending time filling in the gaps.

It's not how you get the most out of the programmer that matters, it's how you get the most out of the whole team and sometimes that's going to involve individuals having to work in ways which are to them non-optimal.
"Makers build things. They create value for society, their employees, their shareholders, and themselves. Be a maker and stay far away from takers."

Anyone read Ishmael by Daniel Quinn?
Women's MBT Barabara, MBT Barabara,MBT Shoes Women
Please review my new app, argumentclinic
Most likely everyone commenting was compensating for error, as the author primes you by telling you about the error before asking you to guess. If he had written that people tend to grossly overestimate, I bet you'd have a very different result.
You missed the best part:

"You are the ingredients in their Soylent Green. Shouting about that isn't something to be proud of."
As an example, 2021 has the same pattern (October 1st is friday): http://www.timeanddate.com/calendar/monthly.html?year=2021&#...
'more quickly' probably means that german domain registrators can directly register .de domain (and send you an invoice for it, not bill your credit card), while they use some middle-man for generic TLDs. This can cause various unexpected problems.
It could be anxiety in one for or another. I get anxiety in high-pressure social situations sometimes (mainly because I work from home a lot and don't get many opportunities to socialize offline anymore). It's not like I freak out or anything, I just start drawing blanks, mumble, and sometimes stutter. It becomes difficult to complete a thought.

It's no biggie though. There are was of coping and over-coming your issues. As others recommended, exercise helps. If physical activity itself doesn't help, try something with a strong mental or emotional component like martial arts, rock climbing, or dancing. You just need an outlet for whatever you're holding on to.
I don't understand why he is so upset about the rule that three letter domain names are blocked. He should move to Switzerland, here you can't register domain names shorter than 3 letters.
I guess they couldn't print more money as long as they had the gold standard.

Still, money is just a tool. It increases the efficiency of the economy, but somehow I doubt that it is the only determining factor. If people were able to produce and consume, they would find ways around a scarcity of money (for example exchanging things directly).

Come to think of it, how did banks work back then? Seems to me even with a gold standard it should have been able to work with credit. So if somebody wanted to buy something from you, they could just give you a note that they owe you 100GBP? It's only the government that had to be able to present the gold, after all?

Of course working with credit has risks, but that is just the efficiency I mean. But how much more efficient is an economy with money? 10% or 1000%? If they claim that "freeing the money" rescued the economy, it sounds as if it was more on the 1000% side of the equation. Somehow I doubt it.
Ask HN: Does anyone do SEO out there?
We are looking for someone in SEO to work on our online retail site. We got semi-burned by the last group we worked with (they over promised), so I want to get HN's thoughts on doing SEO before selecting someone.

Would appreciate thoughts on who has worked for you, how to best pick an SEO contractor or any SEO people out there: We have money, a good little niche, if you would take on another client.

Thanks!
It reminded me of something Knuth once wrote: "Judge an artist not by the quality of what is hanging on the walls, but by the quality of what's in the wastebasket"
I'd vote for this: http://www.amazon.com/Secrets-Mental-Math-Mathemagicians-Cal... and this: http://en.wikibooks.org/wiki/Mental_Math
But £20 might be well worth it for the skills and productivity gained.

Products are worth what value they provide, not what they cost to make.
Its a news based real-time argument site. We provide content or the user can add them as well. We encourage users to take stands (positions) on the piece and others to challenge that position and have a real-time (chat mode) arguments. It would be great if HN people can give some honest feedback on what you think of the site, its usability, design etc. I can face cruel feedback...I think.
Top habits of the wealthiest people
Well, domain name cannot physically host any meaningful content, for most useful values of 'meaningful content'.
of course Libya is a mythical country behind mountains higher than Himalayas and has no diplomatic missions anywhere in the world nor are it's officials able to travel let alone Google "violet blue".
The google cache link you provided didn't actually hit the google cache. Perhaps HN "de-cached" your URL as part of some url deobfuscation logic?

Let's see how well my attempt goes - Google cache link:

http://webcache.googleusercontent.com/search?q=cache:lukaszi...
I've reported bit.ly to Libya, hopefully it'll be taken offline soon.
oops, seems like I ignored the facts. a case of how aggressive posting can lead to ignoring the facts. sorry, i am editing the title.
Thanks, reporting that one too.
would be fast too. just zap the headers.
Whilst I agree with the sentiment, I'm not sure what's so great about this blog post. John - you can write productive, constructive, informative and even inspiring blog posts. This is not it. Please write more of your other kinds of blog posts.

This post is no more worthy of praise than the tweets it quotes.
Honestly, I can't see what the fuss is about. There are plenty of examples of successful companies with founders who could all code, or a mix, and even a couple instances where no founders could code.

Do these sweeping generalizations do any good? No doubt, it helps to know at least some coding in this business, but isn't that just common sense? And even if someone disagreed with that sentiment, would they take this to heart anyway?

This is one thing that bothers me about HN. There is a lot of advice here that seems to be just that. I love checking out people's work, the sharing of actual trials and tribulations, and learning about developments in the industry; but you know what they say about opinions and assholes... everybody has them.
The companies are placed in clockwise alphabetical order. Nothing sinister.
I think they don't do that because giving such feedback might be interpreted as a conditional acceptance. In other words, people might expect to be accepted after they fix that. By not giving feedback they likely avoid a large amount of correspondence and arguing, even if that makes it a bit harder on the applicants.
Isn't this the kind of thing that FAM was invented for?

http://oss.sgi.com/projects/fam/
http://en.wikipedia.org/wiki/File_alteration_monitor

(Or specific things like inotify on Linux: http://en.wikipedia.org/wiki/Inotify )
Ask HN: Where do you get your dose of CS academic papers?
It's getting difficult to keep my dose coming without succumbing to an ACM membership.
I understand. People always want me to be "productive, constructive, informative and even inspiring".

Every once in a while I also like to bitch.

Another important consideration is that in order to write lots of blog posts (some of which you have enjoyed) I have to write a lot. Some will be hits, others misses. But I can't only write the good ones, I have to write to practice and to keep the flow.
I'm outsourcing hosting, financial administration, design, programming, support (the latter only to a degree).
Thats an interesting argument. Let me apply it to a different situation: A priest coerces an altar boy into a sexual act. The priest will certainly argue that he succumbed to a primal urge, that he is only human, etc. Can you attend his Sunday mass and digest the message that he is sending strictly in context, completely ignoring what the man has done?

I'm not trying to provoke with the above, I'm just pointing out that the argument doesn't hold water if you look at it in its strictest terms and apply it universally.

This is what turned me off the book and its also what turned me off the writings of Jiddhu Krishnamurti (accused of committing adultery with his best friend's wife).

I'd be glad to continue discussing this with you outside of HN. Feel free to email me at jrhunter at hotmail dot com
(as in your process monitors the directory itself and picks up the renames without having to be signalled by another process - although you could just give it a SIGHUP when another process using FAM/inotify notices the rename but why complexify things?)
"When dealing with RMS, keep the following things in mind"
Roll Your Own E-Books
All the Lybians did now was scare American and other Western entrepreneurs from getting anywhere near their domain. I was about to have my new startup set up with .ly domain, but now I will move to a much friendlier .it domain (in fact, I would stay away from any Muslim country domain, just in case, including .io).

Those who say "oh, we don't own the Internet, how arrogant of us to even think we do..." I want to tell you one thing - yes, you can shove those Sharia countries domains to http://ana.ly. We do OWN the internet, because it is us who create the Internet. This Lybian Alshariff, or whatever his name is, thinks that because his government thinks that those domains are valuable THATS a reason good enough to confiscate and block them from our use. Ok, fine, do it, moron. The only problem is – once you do something as stupid as this you scare all the people AWAY from your domains, making them literally worthless. When they will realize it it will be too late – once scared people of business do not come back.
I've been feeling this recently but had some breakthroughs about it.

A very experienced adult has strong notions of what is possible. If you're around very successful people these notions are lofty.

Sure it's possible to bang out a program in an afternoon. I used to do it. My coworker does it all the time. But I am not doing it now so there must be something very wrong. Maybe I'm too old or depressed or have ADD or ...

I found you just have to really step out of your head for a second. My managers are genuinely happy with my progress even if its slow. They know they can count on me to understand the problem and keep advancing and deliver something that works, even if that takes weeks where it could theoretically be done in an afternoon.

Furthermore, they want me to be relaxed and happy and that means it's fine to play hooky or slack off some days.

So I just focus on my personal relationship with my coworkers, and my mental health, not my "productivity." I am not a robot.
Ditto, I learned javascript via jquery and didn't understand the difference until I decided to put a few weeks aside to go through the spec with ES4 in hand. Highly recommended.

http://www.ecmascript.org/download.php

It's good that js has a formal spec and an insanely accurate reference implementation. Keeps browser vendors on their toes.
No, momentum is conserved, that is one of the fundamental laws of physics, right up there with the conservation of energy. In the beginning, the OMFG particle is at rest, and the protodisk particles orbit symmetrically around the center of the protodisk, for a sum total momentum of zero.
MapCrunch - Random street view
> People always want me to be "productive, constructive, informative and even inspiring".

They can't complain, they aren't paying for it. ;-)
That's what drinks in the piazza/bar/whatever are for, no?

I guess the fault lies with whoever voted it up.
HA?
And they reserve the right to make up more rules on the go.

I think that's the most important bit here, even if you understood the rules and had them translated and you abided (sp?) religiously (in this case that is to be taken literally it seems) by them, you could still lose your domain.

So building on a .ly is building on quicksand, and likely that goes for a whole bunch of other tlds.
i surveyed the numbers, noticing bunches of 30-40 and few smaller numbers. so i got to roughly summing them up into hundreds.

in the end, i got to around 500. the bottom row alone gets you around 250 and the one above that another 200-250. the rest is peanuts.

i'm sure i took longer than 5 seconds for that, but 5 seconds is time i'd spend gladly on a good estimate, especially while standing in line.
A similar scenario from MathOverflow is here http://mathoverflow.net/questions/6217/computing-the-maximum...
Even if you're compiling code that you work on all the time changing a compile flag can invalidate all your ccache files. Having to wait 10 seconds instead of 30 for the new compile to finish can make a big difference when you want to be able to test changes quickly.
cofounder learning to code! agree absolutely!
I think you are missing the point. No simple math tricks can overcome the fact that I am impressed at the amount on my credit card bill at the end of the month.

What the author tried to convey is more the incapacity of the brain to apprehend a large amount of small numbers.
Affordable Ecommerce Hosting solutions
iwebshop specialise in creating Ecommerce Websites, Templates, Solutions and Hosting for businesses of all sizes, from new start-ups to large retail outfits.
Site is down, you can read the article with Bing's cache: http://cc.bingj.com/cache.aspx?q=http%3a%2f%2fbenmetcalfe.co...
If one of the tests was inaccurate, couldn't it also be true that both tests were inaccurate? And is it also possible that the test/concept itself is flawed given such variance in test results of the same people over time?
I wish I could, but Kickstarter is US only. The alternative, invested.in doesn't look that strong.

I think you're right that it's a model that would work well - if I could raise the money to code it I'd happily make it open source after that (running costs means it'd have to cost something to use on someone's server).
From the consumer point of view, the App Store could be _much_ better at finding relevant apps and the iTunes integration is pretty irritating
What new capability now exists that didn't before? Not for the snail, but over all.
Ambiguous to a human who doesn't understand the rules of automatic semicolon insertion. Maybe such a human shouldn't be using javascript in the first place, instead of working in fear.
I would say that the scope of music offered by Spotify is not so narrow. They have more than 10 million songs now, compared to about 2.5 when they launched late 2008 and 11 million in the iTunes store. AFAIK, music goes up more or less as soon as the labels deliver it.

One really scary thing I've heard though, is that the masters for a lot of older music is missing, so while the labels might have the rights and even the willingness to license the music, they just don't have it anymore.
Molecule building work wins Nobel
Just FYI: The reason they're using gcc-4.2 comparisons is that Apple
employees are banned from using GPLv3 software. E.g. if you report a
bug to them that requires checking out a newer version of GCC they'll
just shrug and say "sorry, but we can't try it out".

Oh, and the diagnostics are much better, and not just because they're
in color. Consider e.g. this program:

#include <stdio.h>

int main(void)
{
printf("hello %d", "world");
return 0;
}

GCC will give you:

hello.c: In function ‘main’:
hello.c:5: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘char *’

While clang gives you:

hello.c:5:20: warning: conversion specifies type 'int' but the argument has type 'char *' [-Wformat]
printf("hello %d", "world");
~^ ~~~~~~~

Clang tells you not only the line that had the error but also the
column, then it higlights the %d format argument, and shows you which
argument you gave doesn't fit with it.

Pretty much all of its diagnostics messages are like that. While you
sometimes have to stare at code for 5-10 seconds to see what GCC is
complaining about clang will tell you exactly what the problem is.
I got this idea from "Globe Genie" by Joe McMichael. I thought it could be improved upon so decided to rustle up my own version.

Any suggestions for features / improvements would be appreciated!
I'm the same as you with respect to not noticing or responding to hunger.

I just worked for 16 hours on nothing but a hot dog, a candy bar, and a granola bar. Even though I feel almost dead right now, I'm still not very hungry.
The question here is, it is a tutorial on C or programming? If it is a tutorial in C I can see the point in it. I, for example, now what a buffer overflow is, but don't really know C. So if I want to read that book and understand the code samples, a short tutorial would help a lot.
That's the polar opposite of how it works in enterprise sales, for what it's worth.
I learned about it from a Brazilian who used to work with these machines. I'll have to ask him for something online (thought it may mostly be in Portuguese).
Excellent point. It shouldn't be news to anyone that Libya isn't a free western democracy.

I had thought about registering a .ly domain for a webapp, and the thing that stopped me was do I really want to have a domain associated with Libya? And that was before I asked myself how bad the dispute resolution process would be.
S3 and comparable services typically cost around $.15/GB/MO. You can sometimes go down to $.10 with a reduced redundancy service, or for very high volumes (approaching petabytes).

It's a bit high for music backup.
I'm definitely rooting for Google on this one, they do plenty of weird stuff themselves but Oracle is behaving like a complete bully in this whole saga. Since they acquired SUN it's been going from bad to worse in a hurry, to the point where major Java users are starting to wonder if they made the right decision committing themselves to the platform.

Time will tell on how this will turn out, I don't expect a case of this magnitude to take less than a few years, these are just the opening salvos.

Oracle has a lot to lose here, and that's not just the lawsuit.

The analysis presented here is pretty damning of Oracles behavior, especially the fact that the counter is that they have taken the opposite position before they owned Java through the SUN acquisition.

.NET just might see an upsurge because of all this.
It's a good point - I am planning to be result oriented, for anything complex it'd be impossible to think of all the ways you could sensibly achieve it.
It looks right in my tests, the particles accelerate towards the OMFG with a large proportion hitting the OMFG in what looks like a perfect inelastic collision, that is they merge and the velocity and mass is added to OMFG. This creates a movement to the left of the OMFG particle.

Deleted my other comment as you replied sorry, it is 12 am and I am not explaining myself to my satisfaction.
Interestingly, this comes 1 day after Dropbox was down for a few hours - that happens to be a service I do pay for :)

Although I wasn't too upset about it, really - services sometimes go down, it's a part of life. No reason to complain about it!
Why not just learn what there is to learn yourself. It's not exactly rocket science.
An interview with LibreOffice perpetrator Michael Meeks