skysight-inc/HackerNews huggingface dataset:
I think this is more of an implementation issue than a language issue. A haskell compiler could choose to reevaluate everything every time it's demanded, and it would run in very little space. GHC uses thunks to represent computations which haven't been run yet, which are replaced once any threads evaluates them. This can lead to space leaks, but I don't believe there's any requirement that this be how the results are evaluated. GHC chooses this evaluation strtategy because it usually results in faster code, but obviously can lead to problems if you don't know what you're doing. Like all languages, it takes experience to avoid whatever deficiency exists in your language of choice; it won't be obvious to a beginner why the naive implementation of fibonacci works for some values but overflows the stack on others, but they will eventually learn.
Ask HN: How happy are you?
People on HN seem to be ambitious do-gooders in tech related fields. I'm curious how happy these types of people generally are.

Let's use the 2-8 scale:
Haskell is not about the actor model. It is possible to use it this way, but not what the language is about, or why you should learn it in particular.
If you want to store & query JSON [1], Postgres 9.3 is great! Plus you can index functions, meaning you get cool things like fast JSON look up, and doing case insensitive searches. Which is hard in Mongo, you would either have to do a slow regexp look up, or save a lower case version in your application logic.

CREATE INDEX ON members ((lower(my_json_data->>'email')));

[1] http://www.postgresql.org/docs/9.3/static/functions-json.htm...
I was just going to post the ">1 machine" definition when I saw your comment.

I think there are also at least two meanings of "Big Data". The more popular one is simply a trendy name for good old and boring "statistics", but with a twist that the data comes by way of the Internet, social media, all that.

The second one (and a little closer to my heart) is what ">1 machine" means from a developer/sysadmin perspective. This is where the hadoops, hives, cassandras, etc. come into play, and it's A LOT to learn, even for seasoned developers.

I think it's also a little intimidating for people who have become very comfortable with the typical rdbms stack. Parallel processing can be hard to understand, it's not something you can tinker with on your laptop over the weekend, and it's not surprising to hear all the "your big data thing is stupid" comments.
If it wasn't for the money, I'd think these guys were just clueless. Billions excuse much.
He seems to be talking about some completely unrelated concept. There's nothing to rebut, he should just use a different word, and talk at different events.
It's a very good book. It explains a lot of 'why' and inner working of good practices.

It's also fairly comprehensive, ranging from
- some evilness (type inference with ==, eval and its performance toll)
- functions and higher order functions
- objects and prototypes. Some good explanations of the all prototype and constructor thing
- array, dictionnary and some things to know about their prototypes
- api design and concurrency

It's 200 pages full of content, I recommend it.
I'm interested in what you think of ScalaCheck[1]. It looks like at least someone is doing it.

[1] http://scalacheck.org/
I guess I'll be able to confirm once I'm forced to build something in it, but I don't think it can really be faster to setup and get running with than CouchDB.

Usually first thing you need to do is write a REST layer on top of it, and with CouchDB that part is just done already.

Obviously there's certain kinds of data I wouldn't put in Couch, or any kind of NoSQL database.

You need to know what the right tool for the job is,but I just want to figure out when that tool is mongo.
Wow, you're absolutely correct.

I always assumed that in the US it was because of the litigious nature and never stopped to consider the fact that if your kid breaks their arm it's $10k for the parents to fix it. Thinking about it from the healthcare point of view is amazing.
It's not the pedantic answer, it's the answer. The content doesn't get here without up votes. So other people disagree with you on its relevance, or you and others that consider it irrelevant aren't doing your job and flagging it. In nearly every thread either clearly political or tangentially political someone like you asks this question. Just flag it and be done with it.
No it is not a competitor. In fact, it can be a nice addition to asm.js. asm.js compilers should be able to generate very efficient code from SIMD.js constructs.
Ok, what was different in the '80s?
Have you ever used any other statically typed languages? How much of Haskell's benefit do you think it provides that simply having static typing doesn't provide?
When do you think patents were first envisaged? Hint: it's a little bit earlier than the existence of the US
bogus article, best accompanying photo ever.
> "Airbnb is like a hotel chain without the hotels." Yeah. That means they absolve themselves of costs, growth time, investment into that growth, location issues, the works.

This is brought up a lot in discussions of AirBnB's value, but overlooks several important facts:

1. Real estate is an asset. Just because there may be costs associated with it doesn't mean that it isn't desirable to own.

2. A number of major hotel brands franchise and provide management services; they don't own all of the properties that sport their brands.

3. Hotels are able to capture revenue from revenue streams that AirBnB can't, such as events and F&B.

This doesn't mean AirBnB isn't valuable, perhaps more so than certain hotel chains, but overly casual comments in the vein of "AirBnB doesn't have any buildings to maintain!" aren't the basis of a serious, credible argument that AirBnB is more valuable than major hotel chains.
fs.readFile("person.json")
.then(function(e, personJson) {
var person = JSON.parse(personJson);
return myDB.query("lastname", person.name);
})
.then(function(matched) {
return msgQueue.push(JSON.stringify(matchesLastname));
})
.then(function(id) {
log.info("Message sent to queue: " + id);
});
Even if they do not 'know' what you are storing, posting that will pretty much label your company as a 'kiddie cesspool' by anybody who values their data.

I'm not in need of their service, but they will never have me as a serious client after a blog post like this.
From the same FAQ you quoted: "Please don't submit comments complaining that a submission is inappropriate for the site."
> "These men and women are signing up to protect us..."

There is a lot of propaganda to that effect, but most of their actual activity does not support that. Solution rates for strong-arm robbery and serious property crime are low, and the prisons are full of small-time drug sellers.

It also makes no sense that police officers need to live in the municipality in which they work unless it would help reduce the crime rate.
I submitted this story.

There's no particular reason why it should have been front page material -- just the time of day it was submitted and the provocative title helped, I guess. I found it interesting and am a longform journalism fan. I thought others on HN might find it interesting so I submitted it. I have no particular political agenda [1] and don't necessarily agree with all the content of this piece, but it made me think about a challenging subject and seemed like it could launch an interesting discussion.

Sorry it's not your cup of tea, just trying to add some variety to the HN submissions.

[1] The only other longform piece I've submitted -- A Death at Tough Mudder -- is about the circumstances surrounding a participant's death at a spartan race. I don't read longform to pat myself on the back when I find articles I agree with. I read it to take a break from all things tech related and to learn about new things.
The Monad tutorial fallacy is an in-joke in the Haskell community nowadays, born out of what you observed: when people feel like they understand monads, they are so happy about it that they write a bad tutorial about it.

My advice:
Monad is a typeclass, and typeclasses unify things that act alike. Learn Monad instances (List, Maybe, State, ...) separately without worrying about how they are "monadic". After some time you will develop an intuition for what do, <-, return, >>= etc. have in common. And that's what Monad is.
???

Most people in a commercial setting aren't modifying the MongoDB source code. AGPL does not require that any software that communicates with AGPL software be AGPL'd.

But yes, if you're using MongoDB in a commercial endeavor, and you modify the source code, and you're using AGPL version, you do need to share your changes to the MongoDB source code.
Interestingly enough I've been on a bit of a kick today researching Sudbury schools that are entirely kid run, and from what I can tell every initiative that gives students more freedom seems to be beneficial.

The problem is giving students freedom is often thought of as synonymous to allowing more violent behavior to take place. When rules are put in place to protect victims that is understandable, but most rules instead decide that students should not be allowed to voluntarily choose to do things adults think are unsafe. Honestly, I hope we can break that belief.
On the phone is there a way to get to your main site from the blog? Was curious on your service but no easy way to jump to the main site, but maybe I missed it?
a progressive who listens to Keak Da Sneak
In da building feeling like YEEE!
R.I.P. to tha Mac Dee Are Eee!
I want to start learning internals of nix systems. Is this a good book to start with? Or is there a book on Linux (or any other nix OS) that I should begin with?
Propellor – "Whups, I seem to have built a config management system"
Nope, I labeled them correctly. Your expectations of what would happen (which align with my own) have no bearing on what is right or wrong.

Police officers have better things to do than "pandering to the ego of a bystander" (is that what they're calling politeness these days)? Then surely they have much better things to do than spending hours engaging in an egregious miscarriage of justice to flatter their own notions of self-importance (i.e. that they deserve unquestioning obedience even in non-urgent situations). Except that they clearly didn't. So what, exactly, are the "more important things" they have to think about?
It's really hard to get people to understand something their paycheck requires them not to.
I honestly think this is one of the best times to advertise something like this.

There have been posts here before about alternative services getting a 51% customer increase on days where a breach in security or general trust is broadcasted to the world.
If you wanted a useful reply you could explain how. The grandparent has things backwards -- it's possible for functions to force restrictions on their callers (by forcing them to pass a pure function as a parameter). The caller can't force the callee to consider all cases of its input.
It's the culture, not the pay. Want to get horrified? Go read cop boards like officer.com.
For your one mention of race in 200 words -- expect a flood of responses either chastising you for unnecessarily bringing up race politics, or letting you know that it's actually just fine for it to be about race.

~~an Oakland resident
Doesn't this just describe lisp, though? Most of your questions have a dialect or library set that is specifically made to address them.
Honestly, I feel like the amount of mindshare given over to sports pales in comparison to the amount of mindshare given over to movie stars, musicians, and celebrities. I only found out about the Seahawks and their success because I grew up in Seattle and made an effort to see how they were doing. I don't listen to Miley Cyrus at all, but couldn't help learning how everybody in the world felt about her performance at the VMAs. Why isn't the article about that?
Amazing how people behave better when they have to think of each other instead of some rule that makes little sense.

Reminds me of the town in the Netherlands that took out all its street signs and traffic lights.

http://en.wikipedia.org/wiki/Drachten#Traffic_experiment
Can you give an actual example of the difference between composition and delegation? In my definition those two are just two different perspectives on the same thing.
For clarification, that's 11% Android, 1% Linux proper.
Not 12% Linux with 11% of the Linux share being Android.
Those SIGGRAPH talks, OCIO and Jeremy Selan's http://cinematiccolor.com have been a touchstone a while :) Thank you so much for the filmicgames link, that's exactly what I was curious about.

In return maybe I can offer the Academy's linear-to-display reference rendering transform, which is intended to replace the myriad of tonemapping LUTs currently used for film: https://github.com/ampas/aces-dev/blob/master/transforms/ctl...
While on the one hand I agree with your overarching point, I actually find the second set of code tells me much more about what is going on.

That might be because I have been doing curly brace languages for a decade but tells me more, Foods is an array, not an object.

The word isnt as a keyword also makes me want to scream inside a little every time I see it:)

That said you are totally right, It's a tool in a category of tools I never really got into.
"[2] I don't want this thread to degenerate into a favorite editor flamewar the way the other one did, so I'm leaving out the commenter's clearly preposterous claim that learning vim is worth your time."

Asserting that a "claim that learning vim is worth your time" is "clearly preposterous" is not exactly the straight and true path through the valley of flamewars.
Your list is incomplete; it should read "nation, religion, and sometimes politics, and also justin bieber, twilight, harry potter, the hunger games, jennifer lawrence, and whichever celebrity does something crazy in the next week".
That still has nothing to do with what I said. The poster I responded to brought up Google in a conversation that was completely unrelated to them. Not only that, his comparison wasn't even apt, because Google has built and sold hardware and develops Android, so saying their business model is exactly the same as Facebook isn't even remotely accurate.

I have no problem with companies changing their focus and direction, and my response was strictly related to the poster's out-of-left-field comment.
Show HN: jSave, robust persistence for client-side JavaScript
Yes, yes, and yes!
This sums up MongoDB pretty well: http://nyeggen.com/blog/2013/10/18/the-genius-and-folly-of-m...
Wow. This is actually modern day slavery, exactly as implemented in countries like Pakistan and India[1]: you owe a debt, and you are held in servitude until you pay it back, while racking up new bills the entire time you're there.

[1] From my recollection of Disposable People: https://www.freetheslaves.net/sslpage.aspx?pid=348
Touch and Go Scanner
Hello. My name is Richard Lariviere. I am introducing a new product called the Touch and Go Scanner. I am looking for exposure for my product and I will be demonstrating it and showing it off at the One Spark event in Jacksonville, Florida April 9th through 13th at Mad Men Marketing located at 111 East Bay Street, Suite 201.
Snooping doesn't become not-snooping when software does it instead of a human. Ask the NSA.

How would I deal with it? To me it's clearly none of Dropbox's business and they shouldn't be doing this in any way, shape, or form.
Actually, what you have is a "patent application". It is not yet a patent, although according to the Patent Offices public pair system (http://portal.uspto.gov/pair/PublicPair) it has had a "Non Final Action Mailed" on 2014-01-14. So it is being examined. Looking at the rejection on the pair system, all the claims of the application have been rejected during this go-round.
In some ways it's far worse than 1999. The Russell 2000 has a 75 pe ratio (a year ago it was 35).
When you say "other statically typed languages" do you mean ML and Agda, or Java and C?
dont waste your time on BSD anymore.
Linux dominates.
elon = grit, as an entrepreneur when i have dark times, i'll read about him to get amped. my favorite quote: "Optimism, pessimism, fuck that; we’re going to make it happen. As God is my bloody witness, I’m hell-bent on making it work." -- back in 2008 after the SpaceX Falcon rocket failed to make orbit 3 times. More context: http://dcurt.is/elon-musks-determination
I've been bothered that Bittorrent Sync isn't opensource. Alternatives are always welcome.

What bothers me is that the fundraising site they use charges 10%. That's a lot. Are there not fundraising sites out there with less painful cuts or alternative revenue streams?
This is probably the most featured / well known one:

https://github.com/lmacken/pyrasite
Something I haven't seen mentioned in this discussion so far is the Data, Context, Interaction (DCI) pattern.

https://en.wikipedia.org/wiki/Data,_Context,_and_Interaction

As mentioned at points in this thread, some objects need different behavior based on their context. DCI is a thought provoking way to represent that (though one that not in common use and that is often described as "being done wrong" on the object composition mailing list[1]).

[1]: https://groups.google.com/forum/#!forum/object-composition
What here indicates cluelessness to you?
- Haskell types often guide development: the error message ("type mismatch: expected blabla") gives you strong hints about what sort of error you've made. The magnitude of this one is hard to convey by merely writing/reading about it though.

- Easy wrapping to create new types: Ever switched the arguments of `mv` in your terminal (strings)? Read the User ID as an account balance (ints)? You can distinguish these statically, and it's easy to do so. (You can of course write a wrapper class in C++ around Int as well a la "class OtherInt { int value; int get(); set(int i) }", but how often do you do that?

- No IO in a type? It cannot do IO. Has "Monad" in the type? It can do Monadic stuff, but no operations specific to any Monad instance (such as Maybe, IO, ...).

- Types are forced documentation. Don't get me wrong, no documentation is as awful in Haskell as it is anywhere else. However, even without any ordinary comment, a type can give away a lot of what a function does; maybe even more importantly, it tells you what it cannot do. If you see something of type `(a -> b) -> (a -> a)`, you know that the first argument cannot possibly be used - it has to be a dummy parameter.
Sports are awesome. My fiancee is crazy into hockey; she grew up in Detroit and is a passionate fan of the Red Wings. After we got serious, I started tracking the Wings so I could chat with her about how the season is going, and now I have a lot of fun listening to their games on the radio and tracking their season (although this current season is pretty rough). I grew up in Seattle and this year's football season + the Superbowl was incredible for me; I spent YEARS being salty over the 06 loss to the Steelers and the utter curbstomping of the Broncoes almost made up for it.

I wonder how this guy feels about the Olympics. Does he bitch and moan about "ugh I can't believe people watch this crap" when people are rooting for Michael Phelps, etc?
Maybe that was a misunderstanding: I didn't mean to say that interfaces should exist purely in the head of the programmer. I did say that implicit interfaces/protocols (Go, Objective-C) are better than interfaces that need shared dependencies (Java/pure virtuals in C++). If I had to order it I'd say: duck typing better than explicit interfaces; implicit interfaces that are backed by static type checks "better than" duck typing. The "better than" in quotes for the latter because it really is more about how much static analysis the language supports and it's more a matter of opinion.

But I'm relatively convinced that interfaces/protocols that require coupling of implementations are clearly inferior to the ones that are implicit.
My impression of you is that the letters "VR" have short circuited your brian and caused you to forget that things have to still fit within the constraints of physics. Today, or with any possible future advancement. Hand waiving and "advancement" won't ever surmount these constraints. Building towards a future that can't ever happen is not a useful thing to do.

Things being hard are not a reason not to do things, things being stupid or impossible are.
I didn't realise that. I think there are a few different options but BountySource has nice GitHub integration and seems to be well known in the OSS community.
There should be a link on the top left (a logo of a turtle shell). If you click that it will take you to the main site.
Normally I'm not that kind of person! But at least once, it was such a nice surprise that we spoke for hours. I loved it.
Why are you assuming the side shows in the video are gang-related? All I see is a bunch of guys -- actually remarkably multiracial, exactly the opposite of what a gang scene would look like -- enjoying car stunts. It's pretty awesome AFAICT.
Unless you are using it as an example of how your solution works differently. Which they are.

I don't see anywhere that they are claiming their business is for copyright infringement, in fact, it doesn't seem like it's for mass distribution at all unless you give out your key, and then you just defeat the point of the service.
I mean, is not being able to take action on illegal file sharing when the feds come knocking really something to be proud of? It's a liability from a company perspective, not a strength IMO.
He doesn't so much as say it, but show it in his eyes how much the NASA contract meant and how much passion he has.
There's no point in visiting the second page. Even if you upvote something there, it's the only upvote it will get.
Anyone have a mobile link that works?

edit: link
There's no need to go through all of that trouble.. Why not just use Cloudant until the BigCouch merge hits ? :)
"There doesn't seem to be any interest in the Haskell community in making tools to deal with this sort of thing"

Actually there's a great deal of interest in dealing with lazy evaluation and making it more explicit so that you're less likely to leak resources.

http://hackage.haskell.org/package/pipes
When I say 'particular' I mean someone notices the truecrypt volume being shared either semi-publicly or multiple times and files a DMCA for the volume itself. Then you have to alter it or make a new one.
No worries. Thank you for submitting it. It is interesting and I personally don't mind it. I was more commenting on the tendency (it seems to me) of HN to upvote different things than it used to. I also partly wanted to experiment and prove that the comment would be downvoted as I predicted. HN tends toward cliquishness, it seems to me.
I'm DT org member: I posted a big reply about DT further in the thread: https://news.ycombinator.com/item?id=7498775
Yeah that site doesn't seem to work for me on mobile either :/