skysight-inc/HackerNews huggingface dataset:
Being able to use all of erlang's inbuilt modules and functions are an advantage. But there's way more to Elixir that just syntax.

1.) Elixir ships with a build tool called Mix. Falls back to use rebar for erlang projects. Mix is awesome and IMHO way more stable that rebar (Had problems with erlang libs shipping diff versions of rebar binaries in the git repo itself).

2.) There's a really good package manager - Hex.pm (developed and maintained by Elixir's co-author Eric)

3.) OTP compliant config.

4.) Pipes ~! This for me has been a very useful feature to decongest my code. I'm not sure what project had pipes first (should we credit F# or Unix shell itself?). Having that feature in Elixir is a boon for me.

Finally about Phoenix:

* More mature that most people think. It has a few features that even rails doesn't have (or even cannot handle in real world scenarios). There's support for "transports", which allows people to use polling or websockets and such if your apps need it.

* Phoenix not having an ORM doesn't make a diff. Elixir's core-team develops and maintains Ecto, which is easy to drop it and start using. Ecto still has a long way to go, but for most apps, it is sufficient.

* Authentication? Very simple to write a plug for that and share it across all Elixir frameworks. AFAIK someone wrote plug for OAuth.
There's really no such thing as de-lawyering the wording because none of those words are guaranteed to follow their normal meaning and so the following guess may be wrong.

Anyhow, it sounds like they're saying picking which type of gameboy emulation to use based on which type of ROM you feed it. I'm pretty sure most gameboy emulators have done something like that for years, but maybe they're using the filename instead of examining the ROM itself, so I don't know offhand, but anyone who wants to look at the VBA source could figure it out if they care to.
$240M cost over 4 years

thats $60M/year

assume that all went to cover cost of programmers or equiv profs

lets say fully loaded annual cost of said staff indiv is $150K each

$60M gets you 400 of those $150K programmers FT for a year

now do that for 4 years

for something that is essentially just a database-backed CRUD webapp with simple workflow and the hardest bits actually done by a pre-existing separate service anyway (messaging to banks to issue the DD; printing checks and envelopes then handing off to PO for delivery); and could have been orders-of-magnitude simpler (and cheaper overhead) if all replaced with a totally automated Basic Universal Income payout to every citizen

gov software: massively lucrative if weren't so massively inane
I have one question regarding how the Router works.

I worked with the new Node.js framework called Koa.js. It has an interesting way of dealing with middlewares (would be Plug in Elixir world, I assume). Request and response are passed through the middleware chain downstream, and each of them can take the response from previous middleware(s), modify it if needed, and pass to the next.

Either the response reaches the last middleware, or one of middlewares returns immediately, the response goes back "upstream" through the middlewares again. Then it is replied to the client.

During the flow, each middleware can also yield to the next one, so that it can handle the updated response when it goes upstream.

Imagine the cache middleware. Request comes in, this middleware checks if there is a cache of that request. If not, it yields to the next middlewares that will retrieve and transform the data, then cache the response body before returning to client.

For me, this flow offers a lot of flexibility in request and response handling. Is there anything similar to Phoenix?

From what I understand, once a Plug chooses to reply, the response ends at that Plug.
Going by my experience, if you are using Websockets, choosing Phoenix would be a really good choice. There's a lot of work that's gone into transport adapters in Phoenix (websockets and recently polling support was also added). @peregrine and @chris_mccord did a lot of work as far as I can recall. I've been noticing that @JoseValim has joined in too.

That said, I would love some websockets stuff refactored out of Phoenix into a Plug so that it can be used even without Phoenix. I'm not sure about the amount of work that would require.
I'm a big fan of Lynx. (Haven't changed my profile in a while.) Though it is sad that it breaks on most of the modern web.

I've often wished someone would by the .text TLD and have strict bans on images and restrictions on scripts.

It'd probably just quickly and abysmally fail, but hey, 140 character limits caught on, who knows.
So, if I'm understanding this right, this is a patent on an emulator having special behavior based on recognizing a specific ROM? Surely there must be several emulators that do just that already?
Basically perl, Python, sh/bash, and so on. Not C or C++. (Well, there's '#!/usr/local/bin/tcc -run' [1] which can do C but, you know, that's the exception to the rule.) Moar here: [2]

[1] http://bellard.org/tcc/tcc-doc.html
[2] http://en.wikipedia.org/wiki/Scripting_language
CPython 2.6 last I tried benchmarking tcc and python. Obviously pypy or pyston might have an edge for certain snippets after a long jit warmup.
A ChillingEffects.org for Domain Name Seizures
If you actually think that and aren't just trolling, would you care to back up your statements?

While the Ontario debt is larger than the California debt, it's not really a fair comparison.[1][2]

And on the communist state bit, uh what?

[1]: http://www.thestar.com/opinion/commentary/2014/03/21/ontario...
[2]: http://blogs.wsj.com/canadarealtime/2014/03/18/ontario-debt-...
The future is arguably graphene.

As exciting and life-saving as this could be, I am actually more excited for graphene batteries. We already have pretty good bullet proof vests that save lives, what we haven't seen is really any decent innovation in the battery space in sometime. Tesla is said to be working on graphene battery technology that could allow their vehicles to travel up to 500 miles on a single charge.

I am excited to see where this and other graphene related developments go (including bulletproof armour).
Pretty viable when you do statistical analysis across a large number of requests:

http://matasano.com/research/TimeTrial.pdf

https://github.com/dmayer/time_trial
Gilad Bracha: A DSL with a View
This is way OT, and I'm pretty rusty in Windows land, but there used to be a tool you could run if you booted to a command prompt from a windows install disc that would rewrite ntldr and the boot sector. bootmgr.exe maybe? Something like that. Not all hope is lost!
It's time to start eating bugs instead of turkeys
I completely disagree with the approach of adopting principles from hackathons. Hackathons are nothing more than experiments, unhealthy experiments in my opinion. Sleep deprivation, consuming pizza/junk food and copious amounts of coffee and energy drinks is no decent nor fun way to learn how to code nor is it a good way to build something.

As someone who knows first hand what it is like to stay back and work long hours (not talking about a hackathon, real life here) it is anything but fun. As time rolls on and you grow more tired, you start to make mistakes. Much like a fatigued driver is arguably dangerous driving on the road for an extended period of time, coding for an extended period of time will also cause you crash. In the industry we call this technical debt. Knowingly taking shortcuts or mistakes with the attitude of, "make it work now, we'll make it better later"

I think the idea of a hackathon in theory is more fun than it actually is in practice. The only way to teach and learn is repetition and practice, the rest just comes eventually.
Yes, this is similar to Plug, but we only have a "connection". There is no distinction b/w request/response. A series of Plugs form a transformation layer on the connection where plug middleware can transform the connection, send a response etc. "Yielding to the next plug" is just a matter of returning the connection. There is no explicit yield. You either halt the connection (don't invoke further plugs) or continue the stack by returning the conn unhalted. Where your "upstream" concept fits is a connection can have callbacks bound that are invoked just before the response is sent, this is where a cache plug would cache the response. Plug avoids the issue of separating request/response because for things like streaming, sending a response does not mean that the stack is done with the request. Rack has this issue with streaming and José put a great deal of thought into Plug around the lessoned learned from Rack style APIs. You can read about his thoughts here:
http://blog.plataformatec.com.br/2012/06/why-your-web-framew...

> From what I understand, once a Plug chooses to reply, the response ends at that Plug.

In Phoenix, we halt the connection when you use most of our functions that send a response, because there is little you can do afterwards. The Plug response API itself never halts when a response is sent.
Happens in firefox osx as well.
Why Growth Is the Most Important Metric/Role in an Early Stage Startup
Show HN: MyStacki.com – Publish a collection of posts as a stack
> Latency (ms): 4.54 Consistency (σ ms): 1.75

That is not to be underestimated. Many frameworks will provide better throughput but consistent low latency is harder to do and Erlang's BEAM VM does it. It is really a marvel of engineering and has been battle tested for decades.
Interactive shell for Golang
This is hilarious. I also contributed to BGI-Cognitive Genomics.
NIPS 2014 papers
Full-text Search with Solr, Xapian, and Sphinx
This one is a little gem:

Google: The new IBM. No longer a startup culture. ... Google is huge and of course there are some startup-minded people there, but that’s not the prevailing culture.

What I have seen are a lot of talented engineers who end up working on “interesting projects” that have no place in the market.

There's a reason that the high-end research is done at Berkeley/Stanford/Cornell&such and not at Flyover State College. It's where the money is. Back when, when chemistry was a thing (i.e. 1920-1990) all the major players (ICI, BASF, Merck) had basic research departments whose output might or might not turn out to be profitable eventually. Oftentimes it was. You need deep pockets and a long time horizon to run blue-sky research, which at times is surprisingly profitable.

These VC types hawking money to green kids fresh out of college thinking their webapp is the next Google are just the pox on Earth. BASF's Zentralforschung and ICI's Frythe have done more good than this type ever will.
I would be interested to hear the Chinese perspective on the whole eugenics program, especially after many of the bold claims made by the author.

Would also like to hear opinions on the author's claim that IQ could be increased 10-15 points on average, per generation. Sounds very unlikely to me.
sweet product, thank you
Because with an API you could get the results without seeing their ads.
For one, it gives you 10, 10-minute meditations for free, so you get a sense of what the whole enterprise is about without laying down any cash. For some (many?), that's all you need to get going.

Second, having listened to quite a few guided meditations, I find the Headspace guy (I think his name is Andy) to be one of the best. The meditations strike a near-perfect balance of helping direct my energy and attention in a way that doesn't draw attention to himself or his voice/delivery. i.e. he gives excellent guidance and gets out of the way.
WhatWG JavaScript streams standard
Prior-art is no longer an impediment to patenting anything, from what I know of the recent changes to the United States of America's patent scheme.

I believe the fact that Nintendo was the first to file a patent on this method of operation will yield them a patent concession, wrong as that might be in the spirit of the original patent system (protect innovators and encourage technological development.)

edit Comments below touch on the "first-to-file" changes and may provide more accurate analysis of the situation. I ignore corporate IP so I'm probably not the best person to rely upon.
JavaScript tips for the Ruby dev
The metagame (or "the meta") is the long-term game in which the moves are "I am going to play this character/deck and practice/use these strategies" -- decisions you make at the beginning, or before, play starts in the base game and the rounds are complete games of the base game.

Learning new information about the base game (or it being updated by the developers) changes what moves are best in the metagame — but as this knowledge propagates through the player base, the probability distribution of what-you-will-be-facing changes, which also changes the best choices of meta-moves.

For an example of why metagames are more than just knowledge about the base game, suppose that we have a fighting game with character A (or a CCG with a player-designed deck A) who is well-rounded and B who doesn't do so well in most cases but is good at beating A. Then even if the base game doesn't change at all and nobody learns a new trick, B is a good choice if and only if lots of other people are playing A — meaning you have a dynamical system.

A lively metagame keeps things interesting because players keep doing new (or dusting off old) things to defeat the current things, rather than sticking to what works — because "what works" changes. It avoids the problem of "X is best, so either you ignore other parts of the game or you are deliberately playing suboptimally".
How can you tell the function doesn't return a modified 'a', or create a new 'a' based on the values in the list (i.e., an average)?

Or, for that matter, how can you tell the function doesn't return a completely new 'a' from hardcoded values?
Previous discussion: https://news.ycombinator.com/item?id=5659344
I was just lamenting the need for a more coherent and verifiable spec for node stream modules, when I discovered that there is an actual industry standard they are working on.

i wonder how this stuff will affect the streams v3 or future versions of the streams api in node. From the looks of it, they would be incompatible with this spec.
Why not use .Net
But there are other objections from people who think systemd is too big in scope or too controlling or focussed on one technology or another or... some kind of conspiratorial trap or something (http://boycottsystemd.org). I think these arguments are a little hyperbolic since systemd isn't actually a single monolithic system and is really an overarching project to update a lot of major system utilities.

Well, with roadmaps like this[1], one wonders if some of the criticism is really that hyperbolic or unjustified...

[1] http://0pointer.de/public/gnomeasia2014.pdf
"For a thousand years, China has been ruled by a cognitive meritocracy selected through the highly competitive imperial exams. The brightest young men became the scholar-officials who ruled the masses, amassed wealth, attracted multiple wives, and had more children."

Author manages to squeeze a topping of first semester Introduction to China with a thick crust of massive unsubstantiated overreach.

"hunting for sets of sets of IQ-predicting alleles. I know because I recently contributed my DNA to the project, not fully understanding the implications."

Nice autopraise, mildly disguised.

"After a couple of generations, it would be game over for Western global competitiveness."

Seriously? There was an otherwise intelligent guy working for us who started spouting this kind of drivel. We noticed it all started after he got assigned a female manager and then subsequently a non-white manager. Some people have mild racial hangups, which they then externalize in odd ways like China peril.
$18/citizen over 4 years, so that's less than $5 per capita per year.
Yeah, it's hard not to see that as something it would be good to get past. Developers deal with that at the architecture level decently enough. Maybe the filling in part is just less fun than it is for software so it's harder to get volunteers? Maybe it's how credit/social capital works in a different community? It is frustrating, those skills make such a difference.
Cool Tools – Filofax Personal Organizer
Yeah, by making it a worst place. The fascism occurring in 30's Germany and Italy looks like peanuts compared to what you are doing. They didn't have the technology back then, just radio, cinema and newspaper for their PSY-OPs and propaganda. Today, all propaganda channels are, in effect, owned by the same "group" with their mystery origin using you, NSA, for their purpose to fight their war, is despicable (a very nice word). Wake up and stop doing more evil.
>>Would also like to hear opinions on the author's claim that IQ could be increased 10-15 points on average, per generation.

The same could be true if we just killed low-IQ people, which would be horrific in practice and spirit.

I'm also not sure I particularly care for the "smart" people I know more than the "less smart." This is even more true for the "smart" people I don't know who seem to be making this world worse for all of us. I would pick those "smart" people to be culled, if I had to choose.
Yep. This is a very important metric to keep in mind. It gives you a sense of what you might expect under heavy load.
I would have left my internship if I was tasked with that.
I would like to introduce http://www.mystacki.com.

MyStacki allows you to organize your thoughts, ideas, research, writings, you-tube videos, google docs, links etc in stacks. Think of a stack as a collection of posts filed under a topic category. You then share this collection as a unit.

There are a large number of use cases for MyStacki: a teacher creating a stack of resources for her class; a poet publishing a stack of his poems; a student sharing his notes; a blogger creating a stack for each topic of his interest ; a researcher publishing his research. In fact wherever you need to present organized content like in a book or in a folder, and share it as a collection, MyStacki is your tool.
EmuDX[1], created back in '99, at least for the updated graphics (and I remember seeing another HN thread about this kind of things, like a year ago).

[1] http://game.brickwilson.com/?p=52
Is it wrong of me that the title "Evolutionary Psychologist" sets off warning bells?
The secret life of the octothorpe
I prefer DaisyDisk to all the above
I'm not sure I understand your question. You can't just take other people's code and change the license willy nilly. Often you can incorporate code with different licenses, but only if the licenses are compatible.
Maybe this would be of relevance:

http://en.wikipedia.org/wiki/Hua%E2%80%93Yi_distinction

"In its cultural form, the Hua–Yi distinction assumed Chinese cultural superiority, but also implied that outsiders could become Chinese by adopting Chinese values and customs."

What it means is Chinese identity is tied to culture, rather than tied to the actual physical body.

The author's article's point amounts to: "The smartest Chinese tend to be more successful and can afford more children, and this is eugenics."
Can the EU break up Google?
> sets of IQ-predicting alleles

This bothered me more than the autopraise. He (and, if he is to be believed, China) are proceeding from the assumption that IQ can be reduced to a set of switches in the genome.

What if there are alleles that select for intelligence--but also select for a mixture of cancer, OCD, suicidal depression, and plain batshit crazy?
While understanding the how/why of algorithms is great, a word of advice: If this were a real project and your standard library has a shuffle() function, just use that one and get on with life.

Save yourself from having to worry about your hand-crafted one being subtly wrong. Save your peers from having to debug your hand-crafted one years after you've left the company. This tip goes for basically any routine that already comes built-into your language or libraries. Spend your time writing code that doesn't already exist. I'm looking at you, co-worker from 5 or so years ago who felt he had to re-implement strings, linked lists, and sorting.
To be absolutely clear, it is a patent application and not yet a granted patent. Claims can still change, or not be allowed, etc.
Black Friday App and Book Discounts
hAzzleJS: fast, faster, fastest, hAzzleJS is here NOW
It's also worth considering that your hypothetical might be anything but! At extremely high levels of intelligence the rate of extreme social disorders skyrockets up to "most" (I recall the cutoff for 50% happening at ~165 IQ, but it continues to rise even after that, limited primarily by our lack of data on IQs much higher). I'm not entirely sure if this analogy is appropriate, but just as organisms with more cells are more likely to produce cancer, it seems minds with more thoughts racing through them are just as damaged by some small percentage of errant thoughts (some are extreme delusions, some are just the product of the isolation of a brilliant mind growing tired of a world, retreating from it, losing touch with how to interact with excellence and subtlety, and seeing even less subtlety in the world, simply growing more tired of it, ending with many extremely intelligent people simply unable to interact with others in any normal way).
Through SOAP .. Through SOAP .. Funny #microsoft
This path might be of interest to you http://hbpms.blogspot.com.es/search/label/stage%201
I don't really find it misleading. It's about all sorts of remote timing attacks (including cache-timing attacks), not just passwords.

I'm the author of the pull request that prompted the discussion, though, so I'm probably biased. :)
>...but also select for a mixture of cancer, OCD, suicidal depression, and plain batshit crazy?

1.3 billion bald, cat cradling, evil geniuses, all saying "mbwah, ha ha" in eerie synchronicity?
What about the assumption that intelligence can be reduced to an IQ number?
Show HN: T0 – A simple (and yet another) URL shortener
100% of the time it works all the time
Cheapest laptop on zareason: $699
Cheapest laptop on thinkpenguin: $599
Cheapest laptop on system76: $799

(unless, of course, I'm missing something)

...I'm running Ubuntu on an ASUS laptop that cost under $400, which worked almost seamlessly, and I installed Mint on my ma's laptop that cost under $400. (That incurred finding a new video driver to avoid running everything in 800x600)

I would love to have a Linux-out-of-the-box experience, but the price has to make sense.
I agree, the quoted paragraph is not clear. It seems to me that the Verifier could not be tricked even using the rewinding trick if it was allowed to use its memory (internal copy of the graph-coloring).
I'm having difficulty understanding your reasoning. To summarize what I have understood:

1. Author is arrogant, and by innuendo he is also sexist/racist.

2. ???

3. Author is wrong.

Step 2 is where I'm not following your logic.
The context is that he is tech illiterate. So much so that I tried to get him to just use a gui tool on his windows notebook to put Ubuntu on a 2GB flash drive to save his files but he couldn't do it.

There is no way he would have been able to boot to the Windows recovery CD command prompt and run anything. Also, I'm pretty sure the boot repair on the disk runs bootmgr repair options during its "please wait were doing stuff and not telling you what is going on" phase.
Just a quick & dirty project during Thanksgiving vacation ...

btw, What features do you want most for a url shortener?