skysight-inc/HackerNews huggingface dataset:
Relevant: Why Computer Science Doesn't Matter[1] by Matthias Felleisen and Shriram Krishnamurthi (from 2008).

[1] http://www.scribd.com/doc/62187369/Untitled?secret_password=...
Ah, there's that smug feeling of superiority you were talking about. :)
You are all 100% correct about the regex. Before converting the product-identifying matching code to Python, I did it in bash using grep -iw to match whole words.

for i in newton macintosh macbook ibook iie mac iphone ipod imac ipad II+ iigs LaserWriter osx 'apple ?tv' itunes '\]\[' imovie
do
stevejobs_tribute.txt |wc -l`"
echo "$i: `egrep -wi "${i}s?" $INPUTFILE|wc -l`"
done

But this was difficult to maintain. I wanted the ability to print a 'friendly' looking product name (the dict's key) and maintain the counts in a variable.

When I made the move from bash to python, I knew that there would be some overlap when I pushed this code (in the name of shipping!). I need to split the sentences into proper tokens and then check each token for a product match. I'm already splitting the sentence into tokens for part-of-speech tagging so it shouldn't be difficult to do.

tl;dr known issue on the Mac regex, I needed to publish it and get back to work!
Spec work: how Moleskine is insulting its customer base
From what I've heard (I know a couple of guys that work there), Tumblr is working on the spam and has made large amounts of progress.

I made a couple posts about this earlier this week. My site has nearly 15k Tumblr followers, so as a result, I see some of this stuff more acutely than most people.

http://shortformblog.tumblr.com/post/11645079360/tumblr-like... (on a couple of methods I've been seeing a lot)
http://shortformblog.tumblr.com/post/11654489531/tumblr-fake... (on how the empty profiles have a payload)

I think a big part of the problem is that there's an easy-to-exploit black-hat SEO technique that many like spammers have been using. (To put it simply: You can be guaranteed that the phrase "liked this" shows up on most Tumblr pages.) Since I implemented the technique I mentioned in the first post — which I admit isn't entirely desirable, because it also blocks some relevant content too — my Tumblr spam has gone down significantly.

Also, note how, in that first post, I've gotten some spam notes in the past few days. It's because it contains the phrase "liked this" right in the post. I have the search analytics to prove it.
I'm glad to see pointer aliasing mentioned here. Back in the day, I was writing fluid mechanics simulations in FORTRAN. Writing in FORTRAN is awful, of course, so I did some research into why FORTRAN is considered to be faster than C++ for these simulations. Of course, a lot of it is history, and the fact that the people writing the simulations are engineers first and programmers a distant second, but another thing that seemed to come up was that due to pointer aliasing (which was absent in fortran, or at least made more explicit), FORTRAN compilers were able to implement some important optimizations that C++ compilers couldn't. I wanted to experiment a little bit with the C99 restrict keyword, to see if it would produce similar results to FORTRAN, but I never really got around to it.
I have a small tumblr and I notice a lot of action from one particular spam bot, sometimes my posts are liked or reblogged like 60+ times by different accounts with sites that have the same template and advertisements. I've flagged them as spam through tumblr's built in system and it seems to have decreased.
What's so scary about it? It's no different than meeting someone in a park, or the basement of a bar, to do the exact same things. Places where "highly illegal" services are offered where only a select few can access have been around for ages. It's just much more convenient to do it on the internet.
Unfortunately, that repressive regime I live in is my mum's house.
Shockwave UNLIMITED  Online Games - Try it Free for 10 days
Interesting post. I feel as though investor boards are more likely to hire puppets than free-thinking innovators. The funny thing is that they want so badly for the stock price to go up, but the CEO has such a miniscule influence on overall stock price.

Stock price is decided as the collective sum of greed and fear of those investing, not so much the fundamentals of a company.

Personally, if ever the head of a large company, I would resist going IPO at all costs. Obviously I got the company to where it is presently, perhaps I'm doing something right, and don't need a group of people who understand only a fraction of the company's culture and direction telling me how to do things. And there's the ever-present fact that they can fire you from your own company.

I've always wondered why people don't just sell 30-40% of their company on the open market and retain ownership of the rest. Can someone explain this to me?
Winter fashion for girls,
I agree with AC on principle but I don't think society is ready for it. This idea to be able to govern yourself is something Thomas Jefferson felt was divine anarchy. This is an Illuminati-type (or an enlightened society) political model based on meritocracy.

Jefferson on Weishaupt:

"He is among those...who believe in the indefinite perfectibility of man. He thinks he may in time be rendered so perfect that he will be able to govern himself in every circumstance so as to injure none, to do all the good he can, to leave government no occasion to exercise their powers over him, & of course to render political government useless...

Wishaupt believes that to promote this perfection of the human character was the object of Jesus Christ. That his intention was simply to reinstate natural religion, & by diffusing the light of his morality, to teach us to govern ourselves. His precepts are the love of god & love of our neighbor.

And by teaching innocence of conduct, he expected to place men in their natural state of liberty & equality. He says, no one ever laid a surer foundation for liberty than our grand master, Jesus of Nazareth...

The means he proposes to effect this improvement of human nature are "to enlighten men, to correct their morals & inspire them with benevolence. Secure of our success, sais he, we abstain from violent commotions."

http://1.usa.gov/hGuGTJ (Library of Congress, LOC.GOV)
I do use ssh. I call it telnet since ssh is just telnet on roids.
are there published api limits on this service?
No word cloud?
Furniture Trends
Trends info about home furniture, patio furniture and garden furniture with specifically design info for your home spesification and other type of furniture for indoor or outdoor use
You should conduct a blindfolded, controlled experiment. Ask your friend to hold either a phone or a slab of plastic near you, for a few random trials.
Supercomputers and the Secret Life of Coffee
The detective who can uncover lies without saying a word
I don't see anything particularly confusing about that. The Wright brothers flew in 1903, and if we don't limit ourselves to pilots of heavier than air craft, Zeppelins started flying in 1900. It would be perfectly reasonable for a 1906 researcher to look into things that might effect pilots.

That said, the article may be mistaken in the sense that the research, while applicable to pilots, appears to have actually been motivated by his work with patients suffering from dizzy spells. (BTW, he received the 1914 Nobel Prize in medicine for this research).
Do MMS messages get properly delivered to your iPhone if you are using GV and Sprint? I know that GV does not normally support MMS messages.
Dennis Ritchie, High School Guidance Counselor
Nothing worse than hypocrisy.

Except maybe child pornography, I guess.
The Truth About MLM
What’s it like when outside the box is inside the box? 
If you were looking for a crash course on the subject from a pioneer of intrapreneurship, look no further. You’ll also get to hear lots of other relevant issues which seem to have far broader applications.
Ask HN: Success Using the Internet for Charity?
Disclaimer:
This may be slightly off topic but I feel like HN has the right audience to answer my question. I broke my specific story away from the actual question because some people might not care and I am looking for any and all good answers.

Story:
My brother is fighting a rare autoimmune disease known as CIDP (Chronic Inflammatory Demyelinating Polyneuropathy). He hasn't responded very well to the traditional treatments however there is an adult stem cell treatment/therapy that has a very high success rate. The only problem is that since it is not approved by the FDA yet there is a good chance that the insurance company isn't going to cover the treatment which costs around 125k. (Sad because they are currently dishing out about 35-40k a month in treatments for him right now).

Question:
Has anyone had any success in using the internet as a way to collect charitable donations and if so what is the most effective way to do this?

We have a gofundme account that we are using to collect pre and post treatment funds: http://www.gofundme.com/corysmallegan

Also we have done and are currently doing local fundraiser stuff but 125k is not going to come easy.

I am open to any and all ideas and appreciate any thought you give to this.

Thanks in advance!

-Ryan
I'm ideally an anarchist, believe it or not. I tend to lean towards anarcho-communism, the idea being that in order for our species to survive, we have to be working together towards common goals. Not to say competition is unhealthy...innovation comes from competition. I do think there's also a LOT to be said for cooperation, though.

Obviously, once humans are evolved to higher level, we won't need a government telling us what to do. I think this is a LONG way off though. I think we have to reach the spiritual level collectively to be able to sustain this way of life BEFORE devising systems to enact it. Any system we come up with now will be tainted with our ape-like nature and will inevitably change down the road anyway.

There's a lot of interesting discussion around anarcho-* socioeconomic systems. I do believe anarcho-capitalism is a dangerous system. Maybe one day it will work, but I kind of think that once humans are evolved enough to effectively do away with government, capitalism will also be a little less potent of an idea. This is obviously all conjecture.

My ultimate hope is that humanity survives into a more evolved being. As we are now, we are driven by fear, emotions, and greed, and it takes a lot of personal work and self-observation to rise above this. This is work most people will never do. We have a long way to go =].

EDIT - after reading the link you sent, it seems Jefferson and I share some ideas. Thanks for posting this.
A subtle point that bit me, const functions should not read from pointer arguments, such as const char pointers. The pointed to data is external (to the const function) memory.

Also, gcc does not seem to warn about reading eternal memory. It seems like this would be an easy error for the compiler to detect.
You talk crap. There have been major busts, go inform yourself.
Are you sure that's not the result of social conditioning? Surely, humans, esp. males have an innate aggressive/competitive behavior but it hasn't always been the case that people want to be compensated for their work with material goods to be satisfied. Michelangelo was rich yet he barely ate, Einstein wasn't rich but i doubt he was unhappy. Someone from a former communist country could chime in about the differences of an egalitarian society.
This is an excellent idea! I see this a lot more lately and I prefer to work on different projects to keep my talents fresh as someone else mentioned. I also like working in different environments because as you mentioned, it is difficult to get a feel for a team in just 4 hours. In the traditional job environment, you often find that the team isn't a fit until its too late. Your arrangement is great for all parties. However, the employer doesn't have a lot of incentive to invest in part-timers or moonlighters and there is less of an incentive on the employee to make the start up their life as is necessary in a lean and young company.
Of course there's always the classic "lp0 on fire!", but I think most people know about that one.

Also, I've noticed that when GNU screen crashes, it prints "Suddenly the Dungeon collapses!! - You die..." (though I think that may be dependent on nethack-mode). I've yet to decide whether I think that makes the crash more or less infuriating.
RIP. Every time I type printf, I honor you, my friend
Right. We can bound this by getting the total market size of the macaroni business in Russia, and comparing to public investment numbers by Milner in other companies. Does the top down (revenue, profits) match the bottom up (sum of investments)?

Unless he built the Russian Chef Boyardee, it strains the imagination to believe that macaroni was anything but a front for money laundering, from the Russian Mafia, Usmanov, or who knows where.

Though I doubt YC companies are at risk of having their legs broken by Russian gangsters should they fail, because Milner is in the US and wants to play by American rules (though the US itself is rapidly moving towards the cynicism/crony capitalism/venture socialism of the Soviet bloc).

Sort of like Michael Corleone becoming a pillar of the community, these sorts of transactions buy respectability.

All that said, Americans shouldn't be too self satisfied. We'll probably realize in a few years that the $787B stimulus and the $9T Federal Reserve bailout ended up in the pockets of a few politically connected American oligarchs like George Kaiser, as the euphoria of 2009 Obama America was similar to the euphoria of 1992 Yeltsin Russia. Massive amounts of money flew around with little accountability and the hangover will be a bitch.

Anyway, from a blackbox perspective Milner's presence is good for startups at all stages, as even if he is only a threat to invest his presence forces better terms from others. I think that is the pragmatic perspective: he is a feature of the landscape, so might as well benefit from him.

(still, that macaroni calculation would be a damn interesting public spreadsheet. should be done anonymously of course...)
It isn't about how much you type, but how much noise your brain has to parse when you read it later.
/run has been in Debian unstable for quite a while now actually, at least 3-4 months. /var/run is just a symlink. I think this is related to the systemd stuff.

Personally, the first thing I do when I install a Linux is write a simple /etc/rc script which mounts filesystems and launches daemons. No /etc/init.d/* start stop stuff, no /run. The result is almost always simpler and faster. My thinkpad takes 3 seconds from bootloader to X11.
Adding a newline into a line buffer (which is a user-space buffer) flushes the buffered data up to and including the newline. fflush also flushes a user space buffer. Also, the "for those" implies I'm talking about someone else, not myself.
You need a better news supplier.
http://www.justice.gov/opa/pr/2011/August/11-ag-1001.html
Just for other's reference the tumblr mentioned is NSFW.
Huge sacks of money to throw around and huge cojones as well to make those bets, most of his investments had everyone saying "That's crazy!" at the time, yet they've paid off for him so far. Time will tell if they're successful or if he's making money off of a bigger fool, I guess, but he looks pretty good right now.
"Information Is Cheap, Meaning Is Expensive"
Unless you and your brother are clones of each other, you have different genetics.

Even identical twins have different genes.

http://www.scientificamerican.com/article.cfm?id=identical-t...
"pure" in D causes the compiler to disallow, within that function, writes or reads from global mutable data. This inevitably follows from the principle that if you pass the same arguments to a pure function, you'll get the same result returned.

A pure function is still allowed to allocate memory, though, and throw an exception.
Well, clearly, in the anarcho-capitalist utopia envisioned by ryandickherber, you would go to the private justice authorities of your choice and get a ruling in your favor by presenting evidence that you never download child porn. An empty hard drive, say, or the entire server logs for every website you've ever visited. Easy! ;)

More seriously, you hit on the problem, which is that a lot of people seem to be assuming that Anonymous' vigilante justice is error free. Those that are wrongfully accused of using child porn could have their lives seriously damaged.
Check out Gabriel Weinberg's (DDG) setup.

http://gabriel.weinberg.usesthis.com/
So we finally found the guy that fucked the monkey that gave us aids.

http://www.youtube.com/watch?v=rG_DvlFJ-YQ
Immunocomputing: Negative Databases and Computer Security
My brain has to either parse or guess every time I read JS or Ruby code due to lack of information located near the subject code.

Obviously this is a neverending debate.
You should get a VPN/shell host somewhere then... or better yet, tell your mom to knock it off.
Hmm, I don't think I ever consciously recognized this about JavaScript before. Even when I focus on the functional sides by using functions for namespacing, constructors (I avoid 'new'), scoping, and limiting external access, objects still cooperate nicely and feel natural. This says a lot, because even in F#, which was designed to work well with OOP, mixing the two doesn't seem to produce a nice blend for me.
The "Like" and "Follow" buttons on Tumblr require JavaScript, probably to make CSRF harder. A bot that automatically likes posts would need to evaluate JS.
So to avoid becoming like Microsoft they're pruning initiatives deemed non-core and trying to focus on a smaller number of big bets, which ... is more or less what Microsoft has been doing for the past year and a half or so, for better or worse. Curses, foiled again!
Rugby World Cup 2011 Final live between France vs New Zealand at Auckland.
A homeless person is found murdered, identity unknown. Who takes up this victim's case?
VCs are not so high minded that they're offended by who his LPs are, believe me. The reason VCs don't like Yuri is that he is disturbing the cosy world they formerly inhabited by offering more founder friendly terms.

So morally the situation is not as simple as your comment implies.
Some of the best writing on luck and action ever -

--

In order to get at you individually, I must talk in the first person. I have to get you to drop modesty and say to yourself, ``Yes, I would like to do first-class work.'' Our society frowns on people who set out to do really good work. You're not supposed to; luck is supposed to descend on you and you do great things by chance. Well, that's a kind of dumb thing to say. I say, why shouldn't you set out to do something significant. You don't have to tell other people, but shouldn't you say to yourself, ``Yes, I would like to do something significant.''

...

Let me start not logically, but psychologically. I find that the major objection is that people think great science is done by luck. It's all a matter of luck. Well, consider Einstein. Note how many different things he did that were good. Was it all luck? Wasn't it a little too repetitive? Consider Shannon. He didn't do just information theory. Several years before, he did some other good things and some which are still locked up in the security of cryptography. He did many good things.

You see again and again, that it is more than one thing from a good person. Once in a while a person does only one thing in his whole life, and we'll talk about that later, but a lot of times there is repetition. I claim that luck will not cover everything. And I will cite Pasteur who said, ``Luck favors the prepared mind.'' And I think that says it the way I believe it. There is indeed an element of luck, and no, there isn't. The prepared mind sooner or later finds something important and does it. So yes, it is luck. The particular thing you do is luck, but that you do something is not.

For example, when I came to Bell Labs, I shared an office for a while with Shannon. At the same time he was doing information theory, I was doing coding theory. It is suspicious that the two of us did it at the same place and at the same time - it was in the atmosphere. And you can say, ``Yes, it was luck.'' On the other hand you can say, ``But why of all the people in Bell Labs then were those the two who did it?'' Yes, it is partly luck, and partly it is the prepared mind; but `partly' is the other thing I'm going to talk about. So, although I'll come back several more times to luck, I want to dispose of this matter of luck as being the sole criterion whether you do great work or not. I claim you have some, but not total, control over it. And I will quote, finally, Newton on the matter. Newton said, ``If others would think as hard as I did, then they would get similar results.''

-----

There's lots of gem in this piece. Worth re-reading periodically.
I don't have a lot of experience with them, but I'll share my thoughts on the 2 I have used.

I have a Square swiper that I use with my Droid X. I don't use it very often, but it seems to work well. Square's pricing is really good if you are doing low volume or low value transactions.

I just had a client that ordered one of Intuit's GoPayment swipers. It apparently doesn't work with every Android phone; it doesn't work with a Droid X or Droid X2. It did work alright with a iPhone 4S. I didn't think the swiper itself was as good as Square's.
It sounds as if this one is nothing to do with vaccination, but with treatment of diseases such as leprosy, tuberculosis and sleeping sickness.
Watch San Diego Chargers Vs New York Jets Live NFL
I need to update that some, but yep that's my setup.
Criminals routinely invest lots of money in losing enterprises. This is called money laundering. They'll take a hit from 30 to 70% or even worse just to be able to get their money back in a way that they can spend it legitimately. They may not even care to win overall, as long as some of the bets pay off that's great. It will give influence and legitimacy.

The hard part is always to find places that will take large amounts of money, no questions asked and that have a gambling element in it which could explain large returns in a plausible way, and in a way that will stay.

That's why casinos are very popular, ditto with antique dealerships, the real estate sector and financial services such as banking.

It's really not that much of a stretch of the imagination to use venture capital as another money laundering setup, essentially it has all the elements of a casino, large amounts of money go in, lots of it disappears and some relatively small bets pay off huge.

Another reason for making 'silly bets' is to diversify whatever the cost, because being the owner of former state enterprises and a bunch of mines always has a risk of nationalization, silicon valley investments have returns in hard currency and on top of that are unlikely to ever be taken away at the whim of some ruler.

http://en.wikipedia.org/wiki/Alisher_Usmanov has an interesting profile and if that's Milners main source of capital there are definitely some pointed questions that should be asked. This is not who you want to be indirectly involved with your startup, assuming that it is true and that this guy really is the power behind the investments Milner is making.

Pecunia non olet but some money is better refused than accepted, 'success' on the back of stealing from the people of the former Soviet Union is not something to be proud of.
How to Make Money from your Hobby
The simple fact that "people like to peel stickers" will be this project's demise.
Also relevant: "All Science Is Computer Science"[1]

[1] http://www.cs.iastate.edu/all-science-is-cs.html