skysight-inc/HackerNews huggingface dataset:
It's a bit of a red herring... The boomtree server is written in Lisp, but it implements a new language called bdf that the R2P app (and the whole server) are built in. All of the bdf code is viewable at the site. To see the source for the Redstone2Phone page, see:
https://boomtree.com/r2p/Sandbox?post_target=Stamps&view_mod...

The editor you see there is also bdf, also viewable and editable at the site.
Right, like Deepak Chopra saying that "brains are soul localizing devices". Using the misconceptions around scientific jargon to describe the same old dualist who-hah (that one's my own).
Reading all the comments here makes me wonder — Can Python (say, Flask) not be used for real-time communication (SocketIO, etc..) ? What is the difference between that and node.js ?

I am still figuring out a lot of things about Python, and this is something I found very intriguing. What would the differences between an IM app written in Python using Flask and it's nodeJS clone be, to a user?
Conveniently, I wrote on that exact issue too: https://www.twilio.com/blog/2013/08/the-pronunciation-challe...
(It appears some of the Soundcloud links are broken, but check out my account there for the full samples.)
I'm curious about why you say nodejs is not good for long running processes? I currently have a nodejs process running 24/7 pulling a MP3 broadcast stream and haven't had any real difficulties with it, outside anything I would expect with any other language. Granted, the process itself isn't doing anything extreme, just watching certain data in the stream. I'm just curious if there is something serious I haven't encountered yet.
I'm wondering if the subjects of the shock study knew the nature of the study before agreeing to participate. It occurs to me that the subjects may be self-selected for people who are willing to shock other people at all.
You're missing the idea here.
The idea is that the front-end engineers don't have to deal with styles anymore.

They can just take a <Tab><Item/><Item/><Item/></Tab> and expect those components to be designed inside of the components themselves.

This is var more similar to how iOS handles design. You have your own custom views with their own style defined, obviously on some you can override them, but usually they are defined inside the class itself.

It makes sense for Web to take this route, given how hard it is to design on the web compared to iOS. At least for me :)
> I did read the article, and to find my suggestion terrible indicates that you don't know how CPU instruction pipelines work. My suggestion will give you a big win because of branch prediction optimization. Without it, the CPU pipeline will be processing less instructions in parallel because the condition will be false in most cases.

Thank you, Captain Obvious, for that very simplified explanation of junior undergrad systems architecture. That would all be very important if branch prediction misses were your biggest problem. Maybe look up the Sieve of Eratosthenes people keep mentioning because hey, people keep mentioning it for a reason!

Arguing about branch misses in this algorithm is like arguing about branch misses in a bogosort implementation. The correct optimization isn't to remove branch misses, it's to stop using bogosort and use a reasonable sorting algorithm.

I'll charitably believe that you read the article, but if you're still complaining that the code is unoptimized when the author clearly said it was unoptimized then you didn't understand the article. The article isn't about code optimization, it's about gathering performance metrics for naively-written code. It's profiling the language, not the code.

> If you cannot tell me where the bottleneck is (what's saturated), then you are better off not doing anything.

I'll tell you one thing for sure: the bottleneck isn't branch prediction misses.

EDIT: Just to tack on more reasons you're wrong here: 1) You don't actually know that what you did removed any possible branch prediction misses without looking at the generated assembly, and 2) you could probably eliminate more branches using a switch-case statement (although again you'd have to look at the generated assembly to see if that's the case).
This would be more convincing if it at least mentioned CloudFlare for the purpose of telling some lie about how AWS's similarly-named service is just as good.
http://www.kalrayinc.com
You can see it as a scaled-out DSP.
Very interesting and thought-provoking read, about halfway into it.

I started disagreeing with authors at the point where they define conscious experience: I can’t see why it’s contingent on subject’s ability to interact with the outside world, and I don’t follow how subject’s messages to the world can be proved as caused by conscious experience. I suppose I just haven’t yet internalized their definitions (of ‘world’, ‘subject’, etc.), though.
Do you have a source for this? The ACA itself a huge boon to the insurance companies is it not? And conservatives opposed this bill strongly, for one reason because it adds layers of bureaucracy between doctors and patients that inflate and hide costs to the consumer. Also it mandates purchase of insurance (surely a benefit to insurance companies) which they strongly opposed.

My point is simply, one could easily argue that the Democrats would be the largest opponents of such changes because of the very nature of the affordable care act, and as a libertarian / conservative myself I'm absolutely for policy that increases direct payment, price transparency and a more open market in health insurance. I'd be interested to see who opposed this.
If any Vim users are feeling generous, fret not - Vim bindings for Firefox exist as well!

Vimperator has been the go-to for a long time, with VimFX and Pentadactyl as alternatives. However, none of these support e10s (multiprocess Firefox), and the migration path and timeline is unclear.

I wrote a very slimmed down alternative that does support e10s Firefox, named Electrovim[0]. It has far fewer features than Vimperator, but it includes the minimum subset that my workflow required before I could enable e10s on my own machine.

[0] https://github.com/ChimeraCoder/electrovim
Hey fiberrun, I have been doing a lot of research on rural fiber networks for my community- I'd love to chat with someone with more experience in this area, if you (or anyone else reading this) is willing to reach out to me, check my profile for contact info!
It started using Node.js; it switched to io.js in February. I think for the purposes of "What's the use-case for node.js?" node.js and io.js should be considered the same.
Compression gurus hang out at http://encode.ru

You'll likely find a compressor much more suited to your particular data than gzip.
StackOverflow? There's a mode for that.

https://github.com/vermiculus/sx.el
How about this bot - var timer = window.setInterval(function(){parseInt($('#ltext').text()) > parseInt($('#rtext').text()) ? rightPressed() : leftPressed();},1);window.setTimeout(function(){window.clearInterval(timer)},60000) ?

Getting a huge score, but the server is overloaded, so cannot post high scores :P
And yet the amount of money libraries spend on getting access to published scholarly research has gone up astronomically too. [1] [2] (even if you normalize it for inflation, or per university FTE, or as a percentage of library or university budgets, whatever. Astronomicaly.)

So where's the money going?

When Elsevier reported 36% profit margins in 2010 according to Wikipedia[3], I have trouble believing that publishers are being squeezed too much. At least not Elsevier and other mega-publishers. I can't easily find googlable historical Elsevier reported profit margins, but I would be shocked if they have actually gone down rather than up over the past 10-15 years.

For comparison, it looks like traditional major book publishers have profit margins of around 10%. [4]

Wikipedia states and cites << [Elsevier] also claimed that its profit margins are "simply a consequence of the firm's efficient operation" >>

It doesn't sound like decreasing margins to me, and it doesn't seem that way to the universities paying for these margins, who can't afford it.

[1] http://www.marywaltham.com/Journal_pricing_change_Oct08.pdf

[2] http://www.library.illinois.edu/scholcomm/journalcosts.html

[3] https://en.wikipedia.org/wiki/Elsevier

[4] http://www.digitalbookworld.com/2014/how-much-money-the-bigg...
How Science Helped Pen the Declaration of Independence (reprint from July 2013)
It's the only movie I've watched that made me rewatch it immediately after it was over. I rewatched it two more times in the next two days afterwards and I've watched it every few months since.

The movie invariably invokes a feeling of pure creativity in me. It puts me in a fury, like some sort of creative berserker. I like watching it to conjure that feeling.

At the core it's Jodo's intensity that I love. He approaches every part of making this movie like it's the most important thing in the world and gets everyone around him to rise to that challenge.

His ability to put together a team of world-class people was also inspiring. I have tremendous respect for everyone he picked but I also find the subtext of his quest fascinating. It's never overtly mentioned but each person he convinces to join has a desire that he exploits. Pink Floyd wants fame, Dali wants money, Orson Welles wants food, etc. There's something powerful about aligning a creative team while being conscious of each individual's desires.

There are many great quotes throughout the movie. Two stick out: "Have the greatest ambition possible" which is always worth reminding yourself of. The second occurs near the end, when he realizes the movie won't get made. I forget the exact words, but roughly: "We make the movie: GREAT. We don't make the movie: GREAT." We all suffer crushing defeats, when something we wanted doesn't happen. I love that Jodorowsky approaches this failure with equal creative intensity, and drives that creativity into new outlets (e.g. The Incal). It's a great philosophy for dealing with failure.

There's a lot more I love about the doc, but I'll end on a personal note. The movie also hits a soft spot because I grew up living in Paris and now live in Los Angeles. Two cities where most of the action takes place. I always enjoy multilingual/multicultural movies especially when they engage both my French and American sides.
That's the way the system works though, and I don't see other employers make these kind of statements.
Oh, and the server does not have CORS enables, so cannot save my score :(
I'm dubious about the number of people who actually read this- trying to outspend a bunch of distributed attackers isn't 1) a novel solution that is AWS specific and 2)not an effective or cheap strategy.
Why learn Node.js:

The three most important reasons to use Node.js: it uses JavaScript which you might want to learn already, and second, it has a big ecosystem of modules and frameworks, including by companies like Microsoft and Google, and third, there is more JavaScript code on GitHub than any other language, if you're looking into contributing to open source projects or learning from them.

What you can do with Node.js:

JavaScript was already important as the language of the web browsers. As soon as JavaScript was split off from the web browsers thanks to the Node.js project, people have been writing web servers as well as command-line tools with it. It's also used to create interactive cross-platform native mobile apps and chrome/firefox extensions.

As a bonus, the asynchronous nature of JavaScript and its ubiquity in web browsers as well as web servers has lead to the creation of a wealth of official and unofficial standards and implementations of libraries for creating real-time chat and systems.

If you can do most everything in one language, why not?

Edit: someone already wrote a more technical overview, if you would like one:

https://news.ycombinator.com/item?id=9830207
RBS 6 Nations App 2015 for Android Free Download
Great response!

There's also the lovely condescension that I can't help but sense when someone tells me why writing code every day shouldn't be as fulfilling as it is. That's a big part of how some people get a sense of fulfillment, myself included. I suck at drawing and painting, and programming is my main creative outlet. Implying (or sometimes stating!) that I should be spending less of my time coding so as to spend more time doing something that they find more fulfilling is... rude at best.
Interesting. What's the specific pain point there? I would have assumed that running 2 installers on 35 machines was pretty much all there is to it, but clearly that's not the case.

(Note: definitely not saying you're wrong! More saying "hmm, my assumptions are obviously wrong. More info would be very interesting".)
Don't forget non-blocking I/O.
For the more audio-visual oriented - here is a talk covering the same topic. http://youtu.be/dqDP34a-epI
Not even networked, surely not a replacement for a sqldb server. That's not really what you have in mind when you say "nosql".

nosql appeared when they started to call it so... Redis/couchdb were among the first I think, which were called nosql (don't trust my words on that).

For sure I know not-sql predates sql. Like IMS(1968) predates DB2, from which we got SQL. But not-sql was not called nosql :-)
REM-Stage Sleep Helps Young Mammals Develop Essential Brain Circuits
Chatroulette for technical interviews
>similarity between the new Chinese accounting standards and the IFRS is almost 90–95%

I didn't realize they had made these changes. Interesting. Historically, western investors avoided the Chinese markets because none of the data coming out of China could be trusted due to lack of transparency and the different reporting requirements.

Thanks for the link.
For the same reason athletes have practice routines that are not "play a game of <sport>" -- it allows you to focus your practice. If OP wants to practice writing nontrivial code, re-implementing something is a good way to avoid the MORE difficult problem of having to invent a product. It allows him to concentrate on having a nontrivial coding experience.

As an aside, I personally code just for fun. Not for practice, and not to make something. I write a lot of code nobody but me will ever see because I enjoy doing it. Putting pressure on myself to turn each thing into a product can ruin the joy of experimentation. I'm doing it for the joy of doing it, for the same reason I might watch TV or play a video game or do a sudoku puzzle.
Thanks, I updated the answer.

I left that out because some commenters mentioned that as the leading feature. But for somebody who's asking what Node.js is used for, I don't think being asynchronous is as important a reason as the fact you're writing JavaScript with great tooling, frameworks, and modules.

As far as coding day-to-day, there are other languages that have better semantics around writing asynchronous code. And it rarely makes a difference for first-time developers until they actually build something and try to scale, and at that point would need to read articles about doing that with Node.js just like they would with Ruby/Rails, Clojure, Go, etc.
As mentioned, i tried Visual Studio Code on OSX. works like a charm.. i would give it a try!
A full time job taken in 2000 when everyone was letting people go (and I had been out of work for 6 months despite a high profile in the open source community). At a decent pay.

While I grant that at that point in my life I was older than the startup norm (40 but very productive due to a quarter century's experience and study from the very start of software engineering), there was some serious value to such a job back then. I.e. a lot better than the job I took in semi-desperation at Lucent in 2001 just when it started downsizing from 106,000 to 35,000 employees....

And doing "OK" with equity being employee #30 plus the wonderful resume enhancer of "my product earned over 50% of the company's revenues" is not bad, not bad at all. Being able to tie a serious technical accomplishment to an outsized portion of the company's bottom line speaks to everyone.
I realize this rant doesn't add much to the conversation, but here's someone who will never in his life have to worry about his OWN access to health care, indeed will never have to worry about any kind of vital personal expense for himself or anyone in his family, whining in public about the cost (that he doesn't personally bear) of one of those commoners. It's really sickening. Sickening that there will be no consequences to him for his comments. Sickening that he will always have his next job waiting for him, no matter what. Sickening that the US system is pretty much set up to keep people like him rich in perpetuity, unless they deliberately do something to destroy themselves.
The compiler implementing the macros (a form of compile-time meta-programming) should be the same compiler as that for the rest of the language.
AWS' competition like OVH and many quality VPS providers offer _free_ (or very cheap) DDOS protection.
This probably solves an exact need of mine in the near future - thanks!
Imports with emacs is a pretty simple add: http://tleyden.github.io/blog/2014/05/27/configure-emacs-as-...
If hospitals were run like SV startups, "solving things" would be pretty much impossible because our society would be on fire.
Now that you've gotten the Reddit out of your system, how do you really feel about this project?
I can't imagine using Chrome without Vimium anymore. Even if it's just for the f key, to open links without using the mouse. That's the only key binding that matters
it sounds crazy because it's not true
I agree. A little like the Ender's Game series. The first two are great, and the rest seem a little like nothing more than a revenue source.

Obligatory XKCD link - https://xkcd.com/304/
Announcing: Minecraft: Windows 10 Edition Beta
Exactly- I am on satellite Internet, and it is amazing how many sites are difficult to use or break entirely (even Android apps that won't work at all) because of the latency. There was a study about a year ago that found that having Fiber would add 5-10k or more on to the value of a home.
Let's start with this question: What makes an object an object? Find an object in the room, say a chair. What imbues the chair with "chairness"? Why is it considered separate from the floor?

If you investigate this you will find that all objects are mind created. There is no essense or Platonic form of an object inherent to the object. The object cannot be said to have inherent existence apart from the mind perceiving it.

This concept is called "Emptiness" in Buddhism and training the mind to recognize the truth of emptiness frees the mind of all sorts of pathology (except maybe sounding weird when trying to explain this to people)
Well first of all I looked through the recent thread and saw 0 postings in FL.

Little bit of a sidetrack, but it's seriously depressing that 90% of the jobs posted are SF and NY. These companies are seriously limiting their applicant pools.
Enterprise value (total value of sold that day) is generally only used for liquidation scenarios.

Usually for a going concern, the share price is calculated as the net present value of all future cash flows (dividends or sometimes earnings), usually as some variation of the dividend discount model.
I know IBM recently announced about cloud FPGA system called supervessel. Maybe it would be useful for your project.
Isn't not being real time the main great thing about email?
That also doesn't change the fact that it's an unfair advantage.
Unfortunately that's clearly sophistry. The money is being spent involuntarily, for benefits the recipients has no control over, with little or no market leverage, priced in ways that aren't genuinely open to competition.

It shouldn't take much thought to realise that's exactly how taxation works.

So effectively that argument simply treats benefits that would be funded from taxation in more rationally managed countries as somehow magically equivalent to private income.

Clearly, that's not even good sophistry - although it's about par for the course for a modern orthodox economic argument, so I suppose no one is going to be surprised by the low quality.
Without meaning to kick the political hornets-nest... the real problem is trying to fund healthcare through insurance at all. It creates moral hazard, conflicting incentives and information asymmetry, which combine to make it an extremely inefficient market.

A efficiency comparison; Medicare alone (which only covers the elderly and disabled) costs the US more per capita than the NHS costs the UK to cover the entire population.

I'm not claiming that state-funded medicine is the perfect solution, and it has its downsides, but without those toxic incentives caused by insurance it generates much better health outcomes per dollar.
I've got a toy RethinkDB+React stack too, here's an example application: https://github.com/tinco/celluloid-rethinkdb-chat

It's Ruby+Celluloid doing subscriptions on RethinkDB, and it uses Meteor's DDP protocol to talk to the React client side.

Was pretty easy to build. All the modern technologies fit really well together.

Unfortunately in the Ruby world live webservices like this haven't really taken off much yet, so I had to write some low-ish level things myself (The DDP server implementation, which I think is the only non-Meteor DDP server implementation out there, and the celluloid-websocket implementation, which was easy because there's a great ruby websocket library by the faye people)
This whole thing reads like a "please buy everything we make" guide, not a guide to DDOS resiliency.

Trying to outscale a large DDOS doesn't often work. Don't worry though, amazon's happy to help let you try to pay for it!
Right, which is exactly why our brains do not directly perceive the "truth" of physical reality. It's models all the way down.
But isn't eminent domain only available to the government?
HTML of the article:
https://webcache.googleusercontent.com/search?q=cache:http%3...
Could potentially develop hybrid systems to reduce the fuel needs of people-movers.
K5, how I loved thee. Then I discovered Wikipedia, and was lost forever after I created the {{fact}} tag.
Let's skip the word "blame". Is it a fact that sick people is the cause for being expensive? Our company also had to increase premium because a few extreme cases last year, but the company did not identify them. The employees figured out anyway.

Of course, blame the sick people could be wrong, when the sickness is not caused by the sick people, like the one in the article. However, the implicit message in the title troubles me: it is always wrong to blame the sick -- which is not true.
No, life is stuffed full of hidden complexities.

Complexities that are ready to bite the hand of the unwary at the slightest of chances.

Honesty i think the biggest lie in modern times is the MS/Apple lie that computing can be made so simple that even the proverbial aunt Tillie can do it without reading any sort of manual.
Firefox's URL bar is literally my favorite Firefox feature. It's quick, it searches my local history much better than Chrome, and it doesn't leak anything to the world.

If I want to search the Internet, I type in the search box.
If your crossing pavement, it makes since to add conduit. It also makes since for cities to require anyone tearing the concrete/pavement up to allow other companies to lay conduit at the same time- it doesn't cost anything extra to the company doing the tearing up to let others install conduit into the same trench. (Perhaps a bit of time, but the time they are alloted to get their extra conduit in should be minimal.)
Despite improvements, driving in America remains extraordinarily dangerous