skysight-inc/HackerNews huggingface dataset:
It works for us, but it comes with a lot of issues, some of which are pretty major, although this holds more true in the ecosystem, not always in core.
Problem is see is that no one seems to know how to solve them (it's a callback, no it's node, no it's v8), takes so much time or just plain don't care (socket.io, I'm looking at you), so you're on your own if you encounter something critical.

Either case start getting traction, don't over optimize at the start and watch out for memory leaks: there are tiny bits of best practices that you must follow (always consume the response? check. close the request appropriately? check. don't crash the whole node process? check.), some of which not really well documented, that can ruin your day should you get some important press and are not implemented correctly.

Take a look at the issue tracker of the libraries you are going to use, check if there's something that can affect you and perhaps contribute back!
Probability distributions are abstractions. No actual data distribution is Normal, though some approach it, I suppose.

It is a mathematical shortcut. It can make analysis and computations simpler, thus cheaper. Though it can also destroy economies if you forget that it's an abstraction.

You don't need to use the analytic distributions. You can get by with simulations, bootstrapping, if you have computational horsepower.
It's actually working without hl=en if you're from germany, even on google.de
Oh, sorry. Now I create a demo site, which is in English. Check this site http://lilac.hit9.org
Stacking the founder chips in your favour.
this is huge. I've been saying (as well as probably most other coders), that education should go in this direction. It just seems obvious. I even did a Bachelors paper on this subject (in combination with FOSS) and studied the amount of savings it would lead to if implemented for high school education.

Additionally, I graduated with a BA in 2011 and the entire process felt archaic to me, filled with wasted time, and more importantly costing lots of my hard-earned money. The only way I was able to get the degree was with help of family and by taking CLEP tests for over 70 hours. (rougly equivalent to 23 courses), the CLEP tests only costed in total around $500, and allowed me to skip 2 years of study. (so if anyone hasnt heard of CLEP and is low on funds and wants to get a degree I would highly recommend them :)

I'm definately going to look into this in more detail though, getting a Masters would be nice and if all it costed was $6,600 for the 2 years (and study was remote) I think i'd be able to manage it as a full-time developer with a family.
I doubt there's a language out there that couldn't do 100qps of this complexity on a single modern core. It doesn't really say anything positive about Node
Node is sitting at the core of the new Viki platform. It's been a pretty flawless part of the stack. We do zero-downtime deploys thanks to the cluster module, which also keeps workers running (I haven't seen an unhandled error take down a worker in a while, but as with most any stack you need to be pretty vigilant about your error handling). At over 3K api requests per second to a single box, we hover at around 0.05 load (our machines range from e3-1230 to dual 2620s, so it's hard to get an exact number). When asked to handle more request, the impact on load is pretty linear.

We're also dealing with servers in 4 different locations and some requests need to be proxied to a central location. With a ~300ms round trip from Singapore to Washington, Node's asynchronous nature has been a win when it comes to handling concurrency in the face of backend latency.
For me, one of the most important things to take away from this story is the possible link to osteoporosis (& a cure for it, although not directly stated). Looking into a disease that affects almost no one might help find a cure for a different one that affects one in ten people.

This is why we must also fund the study of "pure science" - of studying things purely for the sake of learning, with no idea ahead of time if we will learn anything "of value" or not.

Because there is so much that we don't understand yet, that it is impossible to study the "why" of anything that exists in the world without stumbling across something of more practical value.
There's a freaking huge difference between double checking every single line of code, and coding a new features (hundred, thousand of lines of code) with a scalable design.

Does that resonate enough for you?

Seriously, seeing stuff black&white is how bad code happens. (And so many other things in life.)
ClojureScript's persistent data structures in vanilla JavaScript
CAGradientLayer is absolutely GPU-backed. Your colors and locations are drawn into a 1-D texture and stretched on the GPU.
As I just noticed, @ is valid in the local part of an email, too, it just has to be properly quoted (using \ or " "). You can send me email at

"a# b.@c"@[IPv6:2001:4dd0:fc8c::1]
a#\ b.\@c@[IPv6:2001:4dd0:fc8c::1]

now :-)
I've found what I think is the SICP book, but I can't track down the video lectures - can you provide some links? Thanks - I thought I was the only one programming by "wishful thinking"!
So, basically, your comment has nothing to do with this article?
I'm in the streaming field too; how can you say it's working great if you haven't launched yet to the public?
Except that could still happen on iOS and has nothing to do with the complaint about Apples strict policies. Plus it also makes the false assumption that users have to sift through logs on platforms that aren't as strict with the apps they allow into their market place.
Domains are 0.10 specific I believe, and 0.10 is still bugged in few areas. I'd stay on 0.8.23 for quite some time since we are talking about stability.
Code poetry exhibition made by students
Being a mechanical engineer, i really wonder what was the path he took and tools he used (being software and hardware) in designing, verifying and creating this :)
It's fairly unreasonable to expect DropBox to keep historical versions of your files for some arbitrary amount of time when you're not paying for the service...
Should have paid for Packrat then? They're not a charity.
I am in my early 30s. Do not have much in savings, have a job that takes up much of my time but won't really save me enough. I dô not know what my aim in life is. I have been thinking hard but I can't seem to pick one. I can rule out some, but I can't rule them out completely.

Family: I have little interest in starting a family. Where I live, overpopulation is a problem. I don't like driving. There isn't even enough place to park cars. Why does everyone have to buy a car?

Money: I have little interest in making a lot of money. Growing up, my family had enough money, but I saw how my parents really didn't have time for much else than making moey.

Name, Fame and acceptance: I think about this sometimes. My college peers are apparently well settled. Higher up in the job/salary/business/family heirarchy than I can hope reaching in my lifetime. Makes me sad a little thinking they must be looking down on me, but then I realise that it doesn't realy matter. I wouldn't have been happier if I had made the choices that they did in life and I wouldn't be happy chasing success just because I can have acceptance from my peers. Because all of us are individuals with separate lives. But all in all comparing myself to my peers makes me unhappy transiently, even when I know that I don't hate their success and being happy for them makes me happy.

Happiness: Sometimes I can pinpoint what makes me happy. Like when I am working on a hobby application,which turns out better than I expected. Or when I find a smarter way to implment a certain feature. Other times it is not that easy to say what makes me happy. Building something so I can be the next facebook or tumblr doesn't make me happy. Perhaps because I know that it is impossible.

A lot of the happiness problems is because of the need for social acceptance. I don't grudge my peers their success, but sometimes you feel the eyes of society scurutinizing you and judging you as a failure and that is what makes me unhappy, but only transiently. Because, I know that what society thinks about me is not that important. For eg. Currently it is important enough for me to be posting anonymously online, but not important enough to make me decide what I want to do in life.

But eventually thinking about the meaning of life does not lead to answers. Perhaps it is a difficult thing to understand. Or perhaps everyone else has it right and I am afraid of trying and losing.

I understand that the biological reason of life is procreation. But I understand little else. So I generally try to live in the present and try to save some money so I don't become a slave to my current job and eventually hope to be self employed, make enough money, not hurt others and maybe help others a little.
You will wait in vain. Google has no incentive to explain. It would only damage any chance of other and/or future business in Argentina.

But not every company is so timid. Brazil's Vale recently pulled out if a giant potash project and according to Reuters: Vale said the inflation and exchange rate could make the project unviable.[1]

[1]http://www.reuters.com/article/2013/04/27/us-vale-riocolorad...
home truth
Another way to derive the bell curve is as the maximum entropy distribution with known mean and variance.

The derivation does require one trick that is usually not taught in high school. You know how you can maximize a function by setting its derivative to zero? Well, there is a generalization of that to functions of multiple variables: you set the gradient to zero. But there is yet another generalization to that for functions of continuously infinite number of variables! That's called the calculus of variations. If we want to maximize the entropy over all possible probability distributions over the real numbers, then we have a continuously infinite number of variables, since for each real number x, we need to assign a probability mass p(x). Here is the derivation for those interested:

Let m be the mean we want and v be the variance we want, and let p(x) be the probability density function.

We want to maximize the entropy S = int(p(x)log(p(x))) given the constraints that:

int(p(x)) = 1 // total probability should sum to 1
E(X) = int(x*p(x)) = m // mean should be m
E((X-m)^2) = int((x-m)^2*p(x)) = v // variance should be v

This problem can be solved with calculus of variations with Lagrange multipliers. The Lagrangian is all the terms inside the integrals summed up:

L = p*log(p) + a*p + b*x*p + c*(x-m)^2*p

Calculus of variations tells us that for the optimal p, we have:

dL/dp = 0

This is the analogue of setting the derivative to zero for maximizing a function.

Calculating that we get:

a + bx + c(x-m)^2 + log p + 1 = 0

rewriting:

p = e^-(a + bx + c(x-m)^2 + 1)

We have the general form of the Bell curve. Now we just need to find the right values for a,b,c to satisfy the 3 constraints.

As special cases of this we have:

1) The probability distribution with maximum entropy without constraints is the uniform distribution.

2) The probability distribution with maximum entropy with only the constraint that the mean is m, is the exponential distribution.

In general if you want to find maximum entropy distribution with known expectation values E(f(X)) and E(g(X)), then that is of this form:

p(x) = C*e^(a*f(x) + b*g(x))

This gives an indication why so many distributions have this form. For example the entire exponential family can also be derived as maximum entropy distributions with certain known expectation values.

Of course this derivation is only a good motivation for the bell curve if you already cared about entropy, mean and variance.
Surely an alternative and equally plausible story here is that the files were corrupted locally and Dropbox gave a 60-day window for them to be recovered.

However, having spent some time with people debugging a WebDAV client I suspect that this may be a remnant of Excel doing one of those complicated series of saving temporary and 0-byte files that MS & Adobe insist on doing. Perhaps it somehow hit a Dropbox sync at just the wrong moment and the 0-byte file was saved for posterity. This of-course would be a DropBox problem, but tricky time-centric syncing bugs like that are hellish to find and fix. The fact we don't see more is a testament to the brilliance of DropBox.
I think its unfair to blame Dropbox that they never mentioned 'Packrat'. Its clearly noted in their pricing page
https://www.dropbox.com/upgrade

Also, one should always periodically backup their files, so in the event of data corruption its possible to recover them. Corruption might happen elsewhere, not only defective dropbox client.

Never assume your data will be safe. There are always a million things that might go wrong. Just be prepared.
Why is this the top story in my HN feed at the moment?
Some people burn witches, other people kill gay people. Recently 15000 religious people and priests gathered in Georgia , in the International Day Against Homophobia and Transphobia, and started hitting on the LGBTQ crowd that was there for celebrating the day. Tens of people were sent to the hospital, a couple badly hurt. If you are straight , white, catholic and male you may do not feel/know or even care about how religion harms our everyday lives, but what is happening to these women in PNG is happening to non-male/straight/white/religious people all around the world, maybe not in such a ritualistic way but still....
Indeed. 25 is the maximum - mostly the shorter, the better.

Though at least for me there is somewhere a limit (2-3 lines?) where the returns start to diminish - there's more noticeably more typing involved, and more mental context switching while debugging.
Ask HN: How to unlock an out-of-contract Verizon iPhone 4S?
It seems that Apple made it impossible for after sales Verizon iPhone 4S to be unlocked, while there are several sites that says they unlock Verizon IMEI (including mine), the reality is that all Verizon IMEI unlocking services is currently unavailable due to Apple closing all the third-party Verizon reseller accounts that allows Verizon phones to be unlocked in Apple's database, so currently everyone who paid the service is on the long waiting-list until such time that Apple enable the account for unlocking. So I have a handful of angry customers which have demanded a refund, which I did refunded.

AFAIK, there is no currently working Verizon IMEI unlocking service for iPhone 4S out there, iPhone 5 is not on the list because as you may know Verizon iPhone 5 is unlocked by default.
According to new research mo money = mo happy without limits

http://www.marketwatch.com/story/science-money-makes-you-hap...
I'm using 0.10 in production and haven't had any bugs... what bugs are you referring to?

Also domains are in 0.8
The cult of design dictatorship (2012)
> Turns out DropBox saves a history of all deleted and earlier versions of files for 30 days only.

I've found most people aren't even aware DropBox has this functionality at all. This is the first I've encountered someone who apparently knows about it, but does not know its limit.

Packrat, by the way, is available directly on the "Upgrade to Pro" page, and I think it has been the entire time it has existed.

> OTHER DEVICES AS BACKUP

> That didn't help either. The other devices were already synced with this defected version.

Then that's not a backup, and never was.
We use Flinto at http://artsy.net - and we like it a lot.
How To Annoy Celebs using GChat
Religion is just superstition, too. And it can make people go on murdering sprees as well. Better teach them rational and independant thinking.
Interesting. 2013 and backup is still hard.

What I do: I have one partition for all my important stuff. I rdiff-backup it regularely to different devices like harddisks, usb-sticks and servers all around the globe. Feels pretty safe to me. Of course, if rdiff-backup has a bug or im using it wrongly, im toast.

How do you guys do backups?
On semantic Ruby block constructs
Or q? And wouldn't using promises help handle exceptions?
Blue-Balled Monkeys Among Top New Species
I don't see anything inherent to node/v8/js that would be limiting.

The concurrency model.
I am also working on a similar project using node.js and redis. Please make sure that you are using a perfectly fitting data model. I bet most of the load will come from the database and not from the application servers. We went for an in-memory solution for all timelines and graphs.
3) The US is not sabotaging either Cuba or Argentina. Like in Argentina their leaders have done a fine job by themselves.

This is, charitably put extremely revisionist and factually just plain wrong.

Or how would you describe the longest running trade embargo on the planet (since 1960 and since 1962 practically a total embargo) if not sabotaging a country?

You can argue that communism and the Castros where terrible for the island, but arguing that the US did not sabotage Cuba and hurt the Cuban economy as viciously as possible is just flat out wrong and historical revisionism of the worst kind.
What's about this? How will this work? FREE - HOW? Any suggestions?
They assume electricity is 'free', because the battery is charged only by the fuel in a hybrid. (Not a plug-in hybrid of course). So there is no need to consider the electricity as a separate cost. Or am I misunderstanding what you're saying?
> 2013 and backup is still hard.

It really isn't.

OS X actively invites you to turn an external HDD into a Time Machine backup target with one click.

Windows 7 grew a less-prominent backup utility that works almost as well. I assume it or something like it remains in 8.

Linux has a plethora of attempts at similar solutions but none has become a de facto standard. I just use duplicity on my servers.
>>* The service writes a new HTML file in the Jekyll dir and runs `jekyll build`

With Jekyll once it is up on say AWS you don't have to worry about it. You add a service in the mix, that means you need a server, that means you have an attack vector to worry about, among other things.

People like Jekyll because it is so simple. Once you start adding services, it's no longer simple.
Why do great artists paint?
Upvoted again, because I felt like it. But it's still one upvote short, I guess.
I recently accidentally removed my Dropbox folder and the client assumed I wanted to delete everything. I managed to pause it after only a couple dozen files were lost.

Navigating through the folders in Dropbox and figuring out which files i want to undelete was not at all obvious, since I didn't want to undelete anything not deleted in that accident. Having a simple "undo" button next to the event that nicely said "X files deleted" would've been a big time saver.

Packrat is nice, but if I have to manually fish out the important stuff instead of having an easy restore functionality, it's not much of a backup solution.
Node.js itself is fine.

The real problem with node.js is the libraries. Just don't use them.

A huge portion of existing libraries is full of hidden bugs, shortcomings, race conditions, edge cases, security issues, unscalable, or unmaintainable (and unmaintained).

This is exacerbated by the fact that npm makes it really easy to publish a library.

Many small buggy libraries.

Core modules are too low level (e.g. http), and you really don't want to use an overlay library.

Not to mention that doing something not trivial fully asynchronously is not as fun as it sounds. You will spend a significant time tracking bugs, fixing edge cases, and making your code stable.

There is still no way to make async code better in core (no promises); and there are a handful of incompatible promises implementations.

Oh, and node.js is not really fine actually. It's not doing everything using asynchronous I/O as you would expect. Node.js uses a thread pool for things like DNS resolution and disk I/O. Only 4 threads by default, for all those things with very different latencies. This means that 4 DNS queries can occupy node.js's 4 hidden worker threads, and block your disk I/O for minutes.
Will you remember to come back here within 5 years and revisit your mocking of Peter Schiff?

The Fed is printing lots of money. (And so is China and Europe)

The money supply is growing much faster than usual.

That can lead to hyper-inflation.

Would I talk with his style and confidence? No. Should you flat out ignore what he says? No
Also notable here is Aryabhatta who used a base of 10 symbol for zero[1]. Though he didn't use the notation '0'.
[1]http://en.wikipedia.org/wiki/Aryabhata#Place_value_system_an...
Clearly Microsoft has started this trend toward flat design and away from skeuomorphic design. Mcrosoft calls this authenticly digital" in their talks and documentation on the metro design language [1].

It's funny that blogs and articles about this upcoming change never even mention Microsoft or Metro. Apple copying Microsoft creates cognitive dissonance [2], it is counter to the strong belief that Apple is the industry leader in design.

[1] http://msdn.microsoft.com/en-us/library/windows/apps/hh78123...

[2] http://en.wikipedia.org/wiki/Cognitive_dissonance
Maybe the author shouldn't use slid.es then, since it doesn't agree with his presentation.
There was certainly a bug recently where the whole blockchain split and one half of the split ended up losing all the bitcoins they had mined on that limb. As far as cryptocurrencies go, I'd say that was a serious vulnerability.
This is the god-knows-which time this link surfaces on HN and I keep saying the same thing - once all this stuff is ingrained you don't think about design patterns, you just do them. Either that or you decide what to do in a design session or on the whiteboard.

Thinking about this stuff is the sign of either a newbie or lacking up-front design.
Also, http://thehousingbubbleblog.com
http://www.youtube.com/watch?v=2Op3QLzMgSY&list=PL7F7312...
> OS X actively invites you to turn an external HDD into a Time Machine backup target with one click.

They dont offer it as a web service? Making people dabble with hardware sounds archaic.
I Will Help You Make Money Online
I Will Help You Make Money Online With My 21 Free High Quality Make Money Online Ebooks With PLR
Take a good read, people. This is who we are.

Just different manifestations of the same problems, at a more archaic level.

I felt disgusted reading the article, but before pointing the finger look what's happening in OUR "modern" society:

- fanatic belief in all sorts of superstitions and stuff (christianity, islam etc)

- mass savage violence (war) against each other, even when above belief forbids (love your neighbour, don't kill your neighbour etc)

- incredible abuse against our mothers, sisters and daughters (rape, gang rape, FGM, murder, beatings etc); not to mention abuse against children!

- mass scale butchering of other species so we can be a race of fucking obese creatures

That's how fucking elevated we are.

Our only hope, if any, is a good education.
> cromulent

I had to look that word up on urbandictionary, wiktionary, and tvtropes (apparently a Simpsons reference).

From what I gather, if that's the word you meant, then it doesn't seem that you believe Node.js is a viable platform. By default, of course, I'll assume the expression was just beyond me!
Are the people, your developers, the ones that make a platform stable, not technology X.

How you manage the database sharding could be more important than if you use nodejs, C, php, cgi + perl...
what kind of addon, would you suggest?