skysight-inc/HackerNews huggingface dataset:
It doesn't work that way. All this buffering happens at the OS level, which is 100% unaware of HTTP. The OS just sees a TCP connection, which is simply a pair of unidirectional streams. It buffers data in both directions to decouple the application from the network; this is necessary to keep data flowing at a reasonable rate.

"Early" responses just sit in this buffer until the application (the browser) gets around to reading them; presumably after it's finished sending the request. The size of this buffer is advertised by the client's OS to the server's OS. A well-behaved server will stop sending data when the client's buffer is full. If the server is not well-behaved, the client just drops future packets (which the server will re-send later). The client is not aware of any of this.

If on the other hand, the server sends a wholly unsolicited response, well, it will still sit in the buffer if the client only reads data after sending a request. But say the client is designed to process incoming responses regardless of whether it sent a request, sure, there could be an exploit there, but that's no different from any other buggy network code.
It is new :-)
Bridges have a very different quality standard than web browsers do. Chrome doesn't kill you and everyone around you when it crashes.

A better analogy would be bridge designers coming up with a design that required half as much maintenance or half as much material cost to achieve the same factor of safety, or which doubled the expected lifetime of the bridge for the same lifetime cost. Those would be significant improvements in the design, even though eventually the bridge will still have to be replaced (either all at once or piecemeal over its life).
> My point was that given the situation, it is better to have prices rise across the board due to fuel costs than to have whole industries and major employers collapse due to lack of export competitiveness. If the price rise was due to fuel costs, then it will even drive efficiency gains.

There's tons of companies in Japan who only deal with the Japanese market and do not export anything outside. Because they can survive and proper on the Japanese market size. So effectively for these companies the rising fuel costs are making things harder from them every single day.

Major employers only employ a small amount of people in Japan, everything considered, and therefore it's clearly the work of powerful industrial lobbies which fail to see that rising fuel costs are going to kick them back in the ass in the next coming year and bring things back to normal again. With the depreciation of the Yen they just achieved some gains for a few quarters but in the end it will even out no matter what.

Japan has lost competitiveness a long time ago and even when the yen was weak back in 2006-2007, so the yen getting stronger was actually quite positive for the Japanese consumer as a whole: prices were stable and even decreasing for several commodities post 2008-crash.

What you see here is just Abe doing his magic trick, trying to look like Harry Potter while he's just a clown from a local fair who understands nothing of Economics. Hey, that's why they invented the word Abenomics, because it does make any sense for anyone else.
It seems that many professional programmers like to program on their spare time, maybe in order to use other technologies or something else. And yet companies like these want to be able to enforce that they can take over all that code produced in your free time... what the hell? Apparently they want to stifle people's creativity and discourage people who want to hone their craft outside of their job. Looks like a lose-lose, to me.

Maybe the company and the programmer doesn't care when the code produced is toy-programs/educational code, but it seems like a deal-breaker if the programmer wants to make some open-source code, or maybe even some code to produce some extra income. (I don't see a problem with the latter if it's in another domain than what the programmer is employed as.)
There were numerous factors, but that wasn't one of them. The biggest delays were things like the build toolchain and logistics. For example, Microsoft's toolchain couldn't even build a working, optimized, 64-bit Chrome binary until sometime last year.
If the EU does not believe it's dependent on the goodwill of voters, then why did it care about the unsealed olive oil ban being laughed at? The Brussels bureaucracy is a mess, but it's not ridiculous. The proposal would never have passed, regardless of public attention.

Okay, that's just my belief, but it would be fairly depressing if I'm wrong.
Here's everything Tesla has done to the Model S' software since 2012
> and yet there still don't seem to be many non-trivial apps written in any of these languages

Perhaps you are not looking hard enough? Sure, if your problem space is CRUD web apps, then you won't find many implementations. Try looking into more difficult problem spaces, such as high-frequency trading, and you'll suddenly find more FP examples.

Also, there's Erlang, which was developed by Ericsson to solve a very specific, real-world problem. Look it up.
Correct! And pedantic, pointless, condescending comments that add nothing to the discussion other than serving to make OP seem insightful are one of the common things around!
Native Client uses segmentation on x86 32-bit. Quoting from the paper: http://research.google.com/pubs/pub34913.html

"The main contributions of this work are: ... using x86 segments for ... reduced overhead."
Oddly enough, in 2011 I was employed by BeaconAds, which licensed BuySellAds' technology, while I built a student news aggregator startup (I know, I know).

It didn't pan out very well.
According to the FAA they have a way to determine what is fake and not. Not sure how they do it but it could involve comparing the signal to an actual radar return.
Thanks for reporting! We're going to look for a fix asap.
How do vegetarians feel when they get spam in there inbox?
I am a meat eater and so when spam arrives in my inbox I just dispose of it (personally i dont like the taste).

But I would like to know how do vegetarians feel when they get spam in there inbox?

Is there something which can be done so that when vegetarians do get spam in there inbox we can ease the distress which might be caused?
Front-end chipmunks needed at Veed.me
Once connected the devices will use their actual mac address (else how would mac address filtering work with iphones?), so nothing will be different to usual.

But generally yes changing a mac-address can avoid limitation restrictions like this.
AES-256 Exponentially Easier to Brute Force Than Expected
This is one of the libraries I that I said "wow". I've been watching any improvements on github since I found it. It has a very active repo. This weekend I got 70+ notifications.
I've used dc for a twitter data visualization and I got many positive responses.
Highest-Paid Software Engineers: Countries
Typically, you want to supply the container with a mount point that is outside the container. This way, if the container is replaced, your data isn't impacted.
Try the "Classic"[1] page, which only lists stories submitted by HN users with higher karma/early adopters (although I am not sure what the exact criteria is). The idea is that people with higher karma or those who hang around here much longer will post more quality links.

[1] https://news.ycombinator.com/classic
Why You Need Content Writing Services
14-year-olds read ATM manual, exploit Winnipeg ATM
> Please God tell me they've at least tried compressing the DNA to account for actual fundamental string complexity rather than just length.

I was thinking about this a couple of months ago, and I've been browsing a load of verbose OxBridge articles looking for just one aspect: most uses of compression algorithms are for digitally stored data which can be classed under a homogeneous class of 'ASCII files', regardless of file type.
But genes have a very small alphabet, four letters, so I can fit four bases in a byte, four times more space efficient than old ASCII. On the other hand certain compression algorithms could pick up on this (disclaimed, I'm not an expert on compression algorithms).
Jim Sanborn's other encrypted sculpture, Cyrillic Projector, is located on the campus of the University of North Carolina Charlotte. It has a lamp inside that shines through mirror-image Cyrillic text so that when the letters hit the building they're facing the right way.

I saw it a few years ago, and it's intriguing. I went on a Saturday afternoon and had no problems with campus security. Not sure what would happen if you showed up late at night.

https://maps.google.com/maps?hl=en&ll=35.306013,-80.729261&s...

From a construction aspect, it's cool how he was able to get the letters cut in the steel (it's 1" thick), presumably with a water jet, and then get the panels curved without distorting them.
If you want to focus on FP and not worry about the existence of libraries, I'd say to go with Clojure. The learning curve is not that steep and it's a very pragmatic language.
You really should have said this from the start. Instead of:

> I used to like functional programming.

you should have said

> I used to like Haskell.

It's caused a lot of confusion in this thread. Also, I think it's unfair to compare Haskell vs. Every Other Programming Paradigm. Because by doing so you are only picking and choosing parts of other paradigms which work as well as the Haskell equivalent and not judging the whole of Haskell vs. Language X.
It's always incredible :)
Not at all trying to diss the OP, who wrote an interesting article, but if anything, this has put me off FP a bit. It really does seem like a lot of effort to go through for unclear benefits.

I have no doubt that learning FP will make me a better programmer (so perhaps it is worth it for that alone) but it seems to me I should rather spend those hours learning more data structures, or algorithms or machine learning.

Not sure I get it.

edit: it appears partially to be a definition problem. Exactly what is meant by FP and in what language, is a large part of the question.
Interesting to see JetBrains coming in that space.
Their other IDE are really great to use, and I can see where they could compete with Oracle SQL Editor. I use it from time apto time, and try to stay away as much as possible, but knowing JetBrains great IDE, I may at least give it a try.
I strongly believe that basic law and legal issues (i.e. contracts and legal rights) should be a required class and taught in all high schools.
> Only software is not like bridges, and crashes happen and do not bring the end of the world.

There's a joke about woodpeckers and software engineering that's a long time favorite of mine. I think that the attention to quality of the product is still vastly behind what we expect as normal from other branches of industry.

If a CPU contains a bug all the software guys are screaming blue murder, how was it possible that this several billion part highly timing sensitive design contained a bug that escaped detection during QA. And yet, as software guys we routinely wave off any bugs as though bugs are simply a fact of life and you'd better get used to them (and to the subsequent crashes).

All I'm saying is that there is something wrong about that picture, not that I have the solution, merely that it feels as though we should do better and should strive to do better. Much better.

The phone is a good example, if only because it's one of the few areas where reliability is top of the requirements list rather than for instance execution speed. That's why it should be no surprise that Erlang has a telecommunications background. It even factors in broken hardware to some extent.

Not exactly 100% relevant or on topic but interesting reading:

http://www.hpl.hp.com/techreports/tandem/TR-85.7.pdf
I really like this - what would RNA world be like? What would even simpler life be like? (It probably can't exist here now, because other life will eat it).

Some interesting comments from last year (mostly critical): https://news.ycombinator.com/item?id=5580334, https://news.ycombinator.com/item?id=5552381
Lol, I thought it was D3 Charts :)
You really should put that code on Github. ;-)

It would be exceedingly popular.
If you want to be a reader, just come along with me
> and no -- I will not mentioned the name/link nor the industry, please stop self promotion for once

I don't think there's anything wrong with the self promotion! We do have Show HN, and a question like this is just begging for it.

Not only that but I personally like to see what kind of things people can produce in their spare time. It gives me a good impression of what's possible, and perhaps a few tips as well.

EDIT: Well I'll leave the comment here, but this is what I get for leaving the comments page open whilst I do something else and then coming back to comment.
Thanks, their site has been down for hours.
Google Embraces Docker, the Next Big Thing in Cloud Computing
> But especially if you're not the only one using the machine, having to reinstall the OS every time a single user fucks up and has 'password' for a password, it's going to get really tedious really quickly.

This is what automated installs are for. Kill the box, fire up a new one, and run the provisioning scripts. As a bonus you've got actual documentation showing how the box should be set up.
The mystery of the YouTube channel solved
"Creep Mode. This new feature mimicked the slight forward motion of a standard car when idling, and could be toggled on or off by drivers."

I'm curious why anyone would want this? My understanding (based on a few minutes of googling) is that "standard" cars creep forwards so that the engine stays running when neither pedal is down - but an electric engine doesn't need to do this. Is this just to make the Tesla seem more familiar to people used to "standard" cars, or is there a more useful reason?
This is the problem: SO ends up favoring more shallow knowledge as time marches on.

You can't use popularity metrics to mean anything substantive.
Tesla Might Just Open Up Its Electric Car Patents
Because in order to do that you should need to provide a password.
I, too, would like to see examples.

Though I will note that I recently saw some OO code written by a colleague that takes in a set of data names, runs a set of processes on them (translating the names to process-specific ids, fetching the data, turning it back into generic names) and then outputs it to one or more places. It was a pretty standard class hierarchy for reusing common code, selecting optional processing and so on. I've been spending a lot of time doing functional programming lately and would call myself a little bit of a functional programming enthusiast, so when I looked at the code, my first thought was that each of these parts are just functions that get passed into the appropriate places as higher order functions. Smaller, simpler and more flexible because you can customise what happens just by changing a function.

It occurred to me that when I think about problems in a functional programming mindset, there really isn't a need for crazy class hierarchies at all, because they're really just a dispatch mechanism for code reuse, but higher order functions acting on pure data structures handle 90% of this just fine with very little work. The other 10% are the complex cases that FP solves using fancier techniques like pattern matching (in the simpler cases) or multimethods or something similar in the complex cases.
In C#, the compiler issues a warning unless you declare the shadowing method with a 'new' keyword.
If you haven't tried them, test out their datasource tools in IntelliJ, which this seems to be mostly a repackaging of. Especially if using JPA, it's pretty incredible to be able to use all of the standard shortcuts (go to definition, etc) and inspections right into your development data environment.

The one that really killed me was that you can CTRL-Click on a foreign key in the data explorer and it will go to the row in the foreign table with that PK. Jetbrains has gone to such incredible effort so that the same gesture will perform the same action (or a reasonable analogy) in every context.
Are you (JetBrains) going to offer those SQL features to PyCharm etc or will it always be a standalone (or it already exists but I never looked for it) ?
Polymorphism and WordPress: Interfaces
Since the backlight is still blue light, this doesn't have as great of an impact as you would think.

The only smartphone that can completely disable blue light are those with AMOLED screens; and only after being rooted:

https://play.google.com/store/apps/details?id=mobi.pruss.Gal...
The Beginner’s Guide to Google Plus Advertising Options
Strange, but I don't see "classic" link unless I use the link you provided. Isn't it some kind of elite club of high-karma users?
Google’s new +Post ads service is the latest addition to its engagement advertising options that are intended primarily to promote direct interaction with users.
It's true that there is no equivalent of the Oxford comma in many languages (e.g., in French, you should not use it). The comma is a trap for non-native writers! ;)
The Rise of the Full Stack Web Developer
Nice! That goes a long way in the right direction. Still lots of big company stories, but interesting to see a different take on the same submissions.

Any other easter egg HN views we should know about? :)
Nice article!

I have been using Clojure for years, initially because a repetitive customer mandated its use, later for my own projects because it reduced my development time and is fun to code in. I tried Scala (really liked Martin Odersky's Coursera class!) but it did not stick.

That said, Haskell has started to win my mind share. At least for my own projects I have been mostly using Haskell this year, with some bits of Ruby for quick text processing and munging. When my Haskell abilities improve I would like to start using it for small text processing utilities also.

Sometimes Haskell can be as frustrating as hell (yes, cabal, I am thinking of you). It can be frustrating also when writing a bit of useful code took a while because of the never ending (for me) learning curve. However when I am in the flow with Haskell, it feels like my 30+ years of Lisp experiences, but with a stronger language. It has become a cliche about Haskell's type system guiding you away from bugs, but it is true. I never had that feeling with Common Lisp and Scheme (but I have not tried strongly typed Racket yet).
Open Source Post Deployment Smoke Tester Tool Framework
Maybe this should have been a poll.
U.S. technology companies beef up security to thwart mass spying
Thanks all! I'll see if it's on Android.
Firefly acquired by Pegasystems
Sure, but what happens when you get bought by Apple? :)
This is the perfect analogy - people might choose a house based on its size or its location. But nobody buys a house because it has strong foundations. Not that foundations aren't important, mind you.
I believe that many of these features are already included in PyCharm, PHPStorm, etc...

Check the "Databases" under View -> Tool Windows
I guess that sort of explains why they refuse to take in birds of prey, though it still seems a bit based on ignorance for a Jain hospital to do so since at least the vultures are willing to eat an alternative diet without meat. Not sure if they can sustain that diet or if it was more like a supplement.

A southern Indian temple at Thirukalukundram near Chengalpattu was famed for a pair of birds that reputedly visited the temple for "centuries". These birds were ceremonially fed by the temple priests and arrived before noon to feed on offerings made from rice, wheat, ghee, and sugar. Although normally punctual, the failure of the birds to turn up was attributed to the presence of "sinners" among the onlookers.[23][79][80] Legend has it the vultures (or "eagles") represented eight sages who were punished by Shiva, with two of them leaving in each of a series of epochs.[81][82]

http://en.wikipedia.org/wiki/Egyptian_vulture
A real test of (Artificial) intelligence would be, must include that it is real capable of learning new things and developing and not trying to convince others that it has learned something (what in this case in my opinion is wrong, since it is just knowledge that is programmed into it -- meaning, not its own knowledge, but borrowed knowledge of the programmers).

I would also add, that the real prove must include a topic that the artificial person was not programmed for. (not like a Bayesian filter that "develops" by "learning" new facts about a fixed topic).

Learning, developing, evolving, that are the real marks of living and of intelligence (since, I would not part between intelligence and living).
aw, no postgresql support. How come?
It's not the only functional language by any means, but it is the strictest (he he.) It's silly arguing which is worth more, but it's also silly saying "Clojure is just as good as Haskell at separating effects."
What about firespotting.com?
I had the same fear at first, but actually if you generate dynamically a method name you need to use `#__send__` (and friends) to call it.

Of course `#__send__` supports method_missing: https://github.com/opal/opal/blob/0-6-stable/opal/corelib/ba...
I started Visidraft (www.visidraft.com) while still full time active duty military. Surprisingly enough I built it to solve a pain point I had while doing construction project management which is outside the scope of my formal job title. I am hoping the success of Visidraft will allow me to transition out of the military with minimal impact on my family.

We launch in August and given our Beta test results expect great growth.
I'm not sure which implementation you're referring to; in stevejones's example, incoming data remains buffered by the OS until the client specifically requests one response's worth in read_response(). If the OS's buffer ever gets full, it will signal the server's OS to stop sending data; if it continues to get packets it will simply drop them (thus minimizing resource usage).

It's of course totally possible for one to make a client that reads responses regardless of whether it send a request, but that's rather silly as giving up flow control like that immediately opens your application up to a DoS attack. (Of course just because it's silly doesn't mean no-one does it!)
Actually, this applies to any sort of endeavor which brushes up against professions.

Case in point: open source. Over the past year, there have been a few articles exhorting the need to put considerable amounts of time marketing your open source project. Remember, it's not enough to release your code with decent docs, no, you have to buy a domain, put together a flat-themed bootstrap teaser page, make grandiose claims, blog regularly about it, set up a Twitter account, and so on.

Why didn't we feel the need to do all of this the decade before? Oh, right: we weren't all ubiquitously self-promoting to each other via social.

Worker harder, peon! Prove your worth to the world, which might reward you with more influence that you can eventually exchange for a job at $MEGACORP! Then you'll have made it!

Articles:

1. https://hacks.mozilla.org/2014/05/open-source-marketing-with...

2. http://zachholman.com/posts/open-source-marketing/