skysight-inc/HackerNews huggingface dataset:
Doesn't appear to in JavaScript:

"੧".match(/\d/); //null

(Incidentally, this may explain the finding from http://stackoverflow.com/a/16622773/172322, as to why adding the RegexOptions.ECMAScript flag in the C# code eliminates the performance gap)
Yahoo to Buy Tumblr for $1.1 Billion
Show HN: My new App, Harken For iPhone
OOOOOOh, ok I see how this is working a bit, I think. I am very inexperienced with Javascript, and I think I only just "got" what was being done here, so I'll try to explain my thought processes as a newbie:

So, in Javascript, variables can be functions. Which means you can pass in a function as a variable to another function. And the part that says h(h(y)), basically says that "h" has to be a function. Which means you pass in a function, and then it get's applied to itself in the way specified within that function, "g".

Another odd part is the function you pass in:

g(function(x) {
return x * x;
})(3);

because you are passing in a function, but I'd assumed that if you can only pass in one variable, and that variable has to be a function, then it seemed like you wouldn't be able to pass in an initial value for the function you want to apply. But I guess in Javascript you can pass in a value for an anonymous function defined inside a function call by using this syntax:

g(function(x) {
whatever it is that happens in this function;
})(some_value_to_be_passed_into_the_previously_defined_anonymous_function);
Aren't you afraid they could waste all the money on some farmville (or some other game's) $50 crop growth booster?
Your original post referred to it as "incredibly complex". It isn't at all complex. Is it more complex -- at least to start -- that an fopen/fwrite/fclose? Sure, but it's still easier than virtually any other part of any solution worth doing.

Worse still, avoiding such non-complexity early on almost certain dooms you to serious complexity later on, because soon enough silly things like concurrency pop up -- the sorts of issues that databases solved decades ago.
I second this. A lot of times in the past I might put down notes on "run this command to get this result" or "don't forget that this library is over here". I made the incorrect assumption that this was obvious to others and not just to me.
agreed Lagrange point asteroid is much easier than any of the other options. you don't even need a big one, you just need enough of a continuous supply of resources to build a really big space station. centripetal gravity really doesn't work for this scenario though since most practical arrangements for overcoming bone loss require ~1km radius which means carbon nanotubes.
Tumblr is GeoCities, circa 2010. And that's why Yahoo purchased them of course. Nothing has changed about the nature of what Yahoo is. The only thing Mayer is doing is collecting a new group of properties to replace the stagnant old ones. It's not brilliant and it won't get the earnings flowing.
You have to tell perl to expect utf8 from stdin (switch -C).

$ echo '੧' | perl -C -pe 'print "yes: " if m/\d/'
and
$ perl -e 'use utf8; print "yes\n" if "੧" =~ m/\d/;'

both work :)
And all this with spamming!

No offence with them but I've been spammed like anything by them. It has happened with lot of my friends. When they install app, it sends texts to ALL contacts without permission prompting to install the app!

And this has been #1 reason I did not install it.
Not true for Go

http://play.golang.org/p/ls96RxJxpz
It does not match it in ruby or PostgreSQL (which uses a modified version of the tcl regexp implementation).
For more casual HN visitors, such as myself (I only skim the front page a couple of times a day), it might be the first time they've heard of Docker (which looks pretty cool).
Joel Stein: What's So Bad About Bedbugs?
Happens in Perl but not ruby or PostgreSQL.
Wow! A downvote. A sensible person...
By that logic, no decision whatsoever can be analyzed at all.
`man perlunicode` is chockfull of utf8-related stuff (and it's looong): http://perldoc.perl.org/5.14.0/perlunicode.html
Not to mention the moon.
I run FreeBSD on my home server (because of ZFS).

How is it better than the alternatives (linux and other bsds)?
If you use a preg engine you can add the /a modifier which excludes unicode chars from matches.
This is just another reason we should ditch corporate income tax. It never made any sense anyway.
The Internet of Things: In action
I believe you're referring to this one in Wired from 2009 - "Learn to Let Go: How Success Killed Duke Nukem"

http://www.wired.com/magazine/2009/12/fail_duke_nukem/all/

Great article btw.
Isn't this just the Double Irish scheme[1] that Google and other multi-nationals have been doing for a long time now? How is it "whistle blowing" if something is public knowledge?
If it goes beyond that, then the article hasn't really done a good job at pointing that out.

[1] https://en.wikipedia.org/wiki/Double_Irish_arrangement
"committees" is a pretty loaded term, right? I mean replace "committees" with a 2-4-member team and you have Apple, Facebook, Google, etc. Personally I always thought it was a rogue Post-doc until reading PG's post about it. PG convinced me a government was, indeed, involved. For me now it is a question of "which gov?" and "why that gov?"
If we take ruby, you still have to know ruby, rails, js, jquery, sql, quite a few libs, html, css, be familiar with ie/webkit/firefox, be aware of sql injection, xss, csrf and stuff. Do not forget http, rest, be able to understand caching, dns, proxying, load balancing. It's a lot of knowledge. In 2002 you could get away with a perl script!

use CGI;
> Diaspora was not created to be wanted, diaspora was created so that users can care a little more about their data.

Which is the stupid part of the whole thing. If nobody wants it, that uses can care "a little more" about their data is immaterial because nobody's using it.

"If" the tech was there--who cares about "the tech", really? Privacy nerds aren't numerous enough to drive a social network. If you want people to buy into what is (not what should or should not be, what is) a niche concern, you need to cater to their needs too.
I'd hope that by limiting the amount of money given to them and giving them ownership, that they would research and intelligently decide what to buy. Poor decisions would be a good learning experience too so it wouldn't be for naught.
I like the way this guy thinks about it. The thermal stability is a huge win from an energy requirement perspective.
And replace it with what? A corporate wealth tax?
Disclaimer: lead developer of Trovebox / OpenPhoto

I wish more folks would make this distinction. Going one step farther I set out to create a layer on top of Dropbox that was optimized for photos (and videos).

Essentially, give a proper photo API to the files in your Dropbox. Things like date searches, plotting photos on a map, etc.

Then another step beyond that. Migrate between any storage service without losing a single feature, keeping every URL in tact and a mobile app which continues to work as if nothing happened. Dropbox is great but it isn't future proof either.

Then the last (and probably most important) open source it all.

https://github.com/photo
I know a lot of families where parents discourage internet usage (one shared computer, time limits, use only with parent sitting next to you, etc) but have no problem with excessive TV. Glad to see someone is getting it right :).
Declarative often means opaque and hard to debug. SQL is just that over huge datasets. With properly partitioned text files, at least you know you're doing a full scan of a small partition that is practically real-time.
As a startup founder you walk away with nothing.

That's kinda the problem these days. Failed startups have social connections making founders millionaires even when their venture was worthless. Some startups (not in the tumblr case) are essentially projects where you show the world Hey I Can Do Stuff then you get a few million dollars as a hiring bonus.
I really, strongly recommend you to read "The Prize", by Daniel Yergin. Won the Pulitzer. If you want to understand the world and how it works, and the REAL reasons for the History to be what it is, this is it. Best book in existence for Diplomacy, global economy and geopolitics. You will be amazed. You will never look at the world the same way again.
The people towards whom a vulnerability rewards program is targeted aren't the same people writing the code. That should be obvious.
I know you've acknowledged the limitations of your knowledge in your comment, but it's tremendously limiting to take an attitude of 'I don't like databases' in the presence of such limited knowledge and on the basis of a single implementation.
MineCraft 2013 FireWorks Roller Coaster Ride
The Uncomplicated Web
Okay, so ACID all the way, then! No concept or implementation can ever save your data from corruption or disk failure, which is why you need all the guarantees you can get in all layers.
This may help you to understand his way of thinking.

https://www.youtube.com/watch?v=KcqIlDhkSdo

He only became a computer scientist incidentally due to no one being capable of listening to the ideas of a filmmaker/philosopher and attributing technical fortitude to them. Like the previous poster, I recommend Computer Lib/Dream Machines
I don't consider dropbox to be future proof, it's the filesystem. I could easily replace dropbox with google drive, ownCloud, or BitTorrent Sync.

I tried OpenPhoto a couple of months ago, but I was left with the impression that it was optimised for photos and video didn't work so well.
How many of yahoo acquisitions have been successful? GeoCities? Flickr?
Where are these cypherpunk mailing lists? Is there any where I can subscribe?
Err... when discussing about an individual and if he is a good source or not, any valid position HAS to be ad hominem. Am I wrong?
Dear American Consumers: Please don’t start eating healthfully
Ereunitiko: Βόλος: Η διαχειρίστρια τη βρήκε νεκρή στο μπάνιο..
What makes it more shady is that they are funded by Bharti Softbank. Bharti manages Airtel, one of the big telcos in India. So maybe, they want more people to use Hike and maybe sell over some data to Airtel. Since they are spamming, their privacy policy needs to be combed over too. Also, the article looks like a PR piece for SF expansion, and to generate American funds.
jq - like sed for JSON data
I am not a fan of something like this. I think we do not have a good word for the "idea" part that actually has legs. I have tried to talk about this on HN from time to time.

There is something important in the concept portion of a project or business. I hate the meme that "Ideas do not matter, execution is everything." But I think we currently lack a sophisticated mental model for hashing out the important parts of the idea or conceptual model or mental framing. Lacking that framework, a project like this seems doomed to be a place to toss out silly ideas of no real merit that aren't likely to get developed.

I propose that if you want this to get traction and become meaningful, the site needs to become the place where that sophisticated framework gets discussed and developed.
This just in: Internet giant purchases consumer web app with no revenue streams and no profits.

Swear I've read this story a hundred times in the last decade. Has there been a single acquisition of this nature which has resulted in a profitable outcome for anyone, except for the VCs?
The same reason you divide your programs into functions, classes, etc. A well-designed database can change as the data you store needs to change. You also get a nice abstraction for accessing/querying data (e.g. relational algebra/SQL) that is well-studied and widely applicable.
Hey Fakeer,

We do offer calls to India. The pricing is here
https://manage.plivo.com/pricing/?country=india

It's 2 cents a minute(which is the current GV rate)
The test code creates a new regex every time, would be interesting to see how it works with a compiled and reused regex.
Well I am talking about time between 2000 and 2012. Salaries have remained in the same range since then for the most part based on my conversations with people I used to work for then in the Silicon Valley.
Just to help in case it isn't obvious - g also returns a function - which could be assigned to a variable. In this case it's called straight away but you could do it like

var powerOfFour = g(function(x) {return x*x;});
powerOfFour(3) === 81; //true
Instagram was growing rapidly and threatening FB as the place to share pics. Tumbler is declining.
> Among large numbers, the expected gap between prime numbers is approximately 2.3 times the number of digits; so, for example, among 100-digit numbers, the expected gap between primes is about 230.

> no matter how sparse the primes become — you will keep finding prime pairs that differ by less than 70 million.

Does this mean even for numbers longer than 70m/2.3 = 31m digits, there is bound to be at least one prime every 70m numbers or so?
Go Google! Perhaps? An issue I always face when considering tax evasion is that I'm pleased when someone manages to avoid at least some compulsory taxation, but I'm disturbed that it's often very large and very wealthy organizations, which suggests a level of corruption (conscious or emergent) in our systems of Government.
I never thought of SQL as declarative or like Prolog. I think it's more like a filter-writing language, with set functions like join.

Agreed that the distance between Lisp and SQL is a lot shorter so an RDMBS doesn't gain you very much. In functional languages, it's normal to write filters and apply functions to lists. You also end up performing your joins manually, and end up "optimizing the query" as you code.

In SQL, filters and apply (update) are easier to write, but it's also easy to perform a join that is slow.
My comment was considering inflation. Can you please elaborate what you were alluding to.
My mother is the same way. I hold off on telling my parents when I switch jobs until I know things are going well, because if there is anything negative about it at all my mother will have a panic attack (figuratively, of course) and think I made a huge mistake. She'll think that anyways, like your parents her measure of success in work is stability.
Tail-recursive calls are essentially gotos, but a little more well behaved (if you try to put state into explicit parameters instead of mutable variables).
JHeiliger was talking about it at an interview I went to discussing his years at Facebook.

On the note of Erlang's complexity, it's not so much complex as it is different. I think all languages get hard at scale, Erlang just has some nice native concurrent processing capabilities that are making more sense with each passing day as we move towards more cores in processors. It's easier to Parallelize Erlang than say C++ for example.
Cash is much more valuable than stock. Any CEO worth their salt would ALWAYS issue stock and never cash

Here's the entire quote. Steven2012's claim is that cash is always more valuable than stock. He's dead wrong. If you don't believe me, maybe you'll believe Buffett on how Dexter Shoes was one of his worst deals ever.

http://www.reuters.com/article/2008/03/01/us-berkshire-buffe...

What I had assessed as durable competitive advantage vanished within a few years," Buffett wrote on Friday. "By using Berkshire stock, I compounded this error hugely. That move made the cost to Berkshire shareholders not $400 million, but rather $3.5 billion. In essence, I gave away 1.6 percent of a wonderful business -- one now valued at $220 billion -- to buy a worthless business."

here's a more general discussion from Buffett on cash versus stock

http://1nvestments.blogspot.com/2012/09/buffett-using-cash-v...

Instead, our problem has been that we own a truly marvelous collection of businesses, which means that trading away a portion of them for something new almost never makes sense. When we issue shares in a merger, we reduce your ownership in all of our businesses -- partly-owned companies such as Coca-Cola, Gillette and American Express, and all of our terrific operating companies as well. An example from sports will illustrate the difficulty we face: For a baseball team, acquiring a player who can be expected to bat .350 is almost always a wonderful event -- except when the team must trade a .380 hitter to make the deal.

Because our roster is filled with .380 hitters, we have tried to pay cash for acquisitions, and here our record has been far better.
Thank you for posting that link. I don't know how I missed that even though "WRAL television" was mentioned in reason.com story. I did perform a quick google search to find the original article but the top few looked like copied off reason.com so I pegged it to be the best one available.
>Tumblr was discussing ad revenue of $100 mil this year.

But weren't there other reports that they were going to hit 15M instead? Whoops. If they had 100M revenue, they wouldn't me needing to raise more cash; their burn is far smaller.
Unstructured data is as bad as unstructured code. Typically, your data will become more complex over time, and structure helps a lot with ensuring that this is not a painful thing to do. Relational databases are well-studied and present a well-understood abstraction, with design patterns (normal forms) that significantly improve the maintainability of databases. Sure, relational DBs are not the only solution; I personally find Lisp s-expressions to be an easier to use Q&D store (of course, I am also a Lisp programmer, and most of my code does not have to deal with untrusted data), and lots of people are using YAML these days (and of course, there is XML).
+1 for oblivious optimism.
Replacing one file system with another is significantly easier if you have an abstraction layer (which also happens to include a lot of features).

We just started working on video support so you were left with the correct impression. We released 4.0 on trovebox.com a few months ago and should have it available as a certified build for self installation this week.

It's not perfect, of course, but we're making tremendous progress.
I think the truth is that whenever you migrate a code base, it's trivial to get 90% of the functionality quickly, but it turns out that things you thought of as unimportant, or edge use cases, are actually not rare events at all. I agree that maintaining an internal Erlang team for one piece of code isn't smart, but I tend to think that in light of the move to broader media services (chat, video and voice streaming) perhaps it might make sense to look at the language once again.

Maybe this time they'll do it in Go.
It might just be my OCD showing, but 'clear' is my number one by an order of magnitude.

next 20:

177 ls
167 cd
122 brew
120 vim
119 cabal
117 cindy (an alias for ssh'ing to my local dev box)
115 sudo
114 tmux
111 man
110 less
110 openssl
109 rm
108 whois
107 ghci
107 lein
106 ssh
86 strings
75 smbclient
75 racket
65 nc
Nor in python:

print re.match(r'\d','੧')

None
Why we are going to be like our parents, and why that’s ok
I believe this is the article which you refer to (http://www.wired.com/magazine/2009/12/fail_duke_nukem/all/).

Quote:

> But because the technology kept getting better, Broussard was on a treadmill. He’d see a new game with a flashy graphics technique and demand the effect be incorporated into Duke Nukem Forever. “One day George started pushing for snow levels,” recalls a developer who worked on Duke Nukem Forever for several years starting in 2000. Why? “He had seen The Thing” — a new game based on the horror movie of the same name, set in the snowbound Antarctic — “and he wanted it.” The staff developed a running joke: If a new title comes out, don’t let George see it. When the influential shoot-’em-up Half-Life debuted in 1998, it opened with a famously interactive narrative sequence in which the player begins his workday in a laboratory, overhearing a coworker’s conversation that slowly sets a mood of dread. The day after Broussard played it, an employee told me, the cofounder walked into the office saying, “Oh my God, we have to have that in Duke Nukem Forever.”

Edit: argh, at-fates-hands beat me to it.
How I Cured My Anxiety
Without addressing the tax situation directly: the fact of the matter is that civilized society is not possible without good faith on the part of people charged with following the law. The threat of enforcement mostly exists to keep honest people honest. It's not really practically possible to police a citizenry determined not to follow the law in good faith.

Always blaming the system is not productive. If the system has to be air-tight to get a usable result, you've already lost the battle.
Happens in PHP only if you enable Unicode regex handling via the /u modifier and are running libpcre 8.10 or later (which corresponds to PHP 5.3.4 and later, assuming you're using the bundled libpcre): http://3v4l.org/QD3k0
Great! I'll give it a try.
DDoS-for-hire service works with blessing of FBI, operator says
Edit: Admittedly only skimmed the article, let alone the paper. Obviously there are an infinite number of primes and we've proved that ages ago. Do not read this comment, read the replies if you want a more accurate answer. Leaving it here for posterity.

Yup, at least according to the article:

"His paper shows that there is some number N smaller than 70 million such that there are infinitely many pairs of primes that differ by N. [...] [N]o matter how sparse the primes become — you will keep finding prime pairs that differ by less than 70 million."

So he proved that it there is some number N, not necessarily 70mil but below 70mil, is the "gap" between primes.

--------

This is an amazing development. On the other hand, we are also getting close to nailing the odd Goldbach Conjecture. I think it was just last year that Tao proved, without the Riemann Hypothesis, that every odd number N > 1 can be expressed at by the sum at most 5 primes. Wonderful to witness such great leaps in maths during one's own lifetime.
It's actually quite a bit earlier than 8, but you can't really put a date on it.

http://en.wikipedia.org/wiki/Theory_of_mind#Development
Nope. I would recover the difference by raising personal income or sales taxes. After all, when you tax corporations their customers are the ones who ultimately pay the tax.
Came to say that exact same thing. Basically its this fearlessness again. If you cannot see what you'd be doing when this thing your trying fails, you fear trying it. Especially if you're trying to make rent, buy food, etc. When you are living at home it is easy to see what happens when you fail, well you will still be living at home. Similarly with failing at a business when you are in college, it isn't your "real" job, its something you are trying out.

It is a very very very scary thing to do that when 'failing' has connotations of standing by the side of the road asking for handouts from people who didn't quit their 9-5 jobs. How do you explain that to your parents? your spouse? your kids?

What is worse, the longer you pay attention, the more likely you are to see one or more ideas you thought were really really great fail. And that can completely freeze you into inaction.
The quoted benchmarks all complete in fractions of a second. Not a good sign. They may be reliable results, performed accurately, but why risk it?

IMO you should be running something for much longer, to protect against random short spurious events. e.g. a task reschedule, interrupts, etc could add significant variances. It wouldn't hurt to add a few more zeros to the loop and wait a minute for the results.
Cloud Storage Aggregator
I feel a little bad doing this plug, but I strongly recommend Avatar: The Last Airbender when you feel he's old enough. (Seven seems to be a reasonable time to introduce it.) If you haven't seen it, see it for yourself first. It is perhaps the deepest and most nuanced "made for kids" thing I've seen at all: it provides a lot of discussion fodder.
Zedboard, dual ARM cores with an FPGA attached
Your website downloads a 393kB PNG file just to resize it in the browser much smaller. PNG is not appropriate for photographs anyway.