skysight-inc/HackerNews huggingface dataset:
Thanks, yours was finally the comment I was hoping for.

Could you point me at the right place to read (or read about) the beam sources? I'm looking at https://github.com/erlang/otp/wiki/Routemap-source-tree -- is there something better?
I found reading John Resig's Secrets of a Javascript Ninja and reading the jquery source code a great help.

I've just started reading Javascript Design Patterns, so can't give a review on that yet.

Of course, nothing beats actually writing javascript.
Should an aborigine be arrested for murder?
Could you share a link if it can be bought online?
I think it's perhaps not inappropriate for Ruby; it has a community that's all about 'magic' and even 'tricky' beauty. I certainly agree there are problems with this, but I also see how this is appealing in certain contexts.
We keep trying to engineer AI rather than reverse engineering it. The thing with living organisms is that the neural network underlying the intelligence of living organisms is a product of evolutionary design of an organism situated in the real physical world with laws of physics and space and time. This is where the bootstrapping comes in. Unsupervised learning is built on top of this. Trying to sidestep this could prove difficult to get to General AI.
At least they will get wider and less biased and institution-conditioned reviews.
Nice. I'm pretty sure that for any "a government software project being overdue because X", there is such an X... and someone on HN was there.
it seems the out of sync fork is accepting donations where the originator is not... suspect I'd say.
I took a closer read through the AlphaGo paper today. There are some other features that make it not general.

In particular, the initial input to the neural networks is a 19×19×48 grid, and the layers of this grid include information like:

- How many turns since a move was played

- Number of liberties (empty adjacent points)

- How many opponent stones would be captured

- How many of own stones would be captured

- Number of liberties after this move is played

- Whether a move at this point is a successful ladder capture

- Whether a move at this point is a successful ladder escape

- Whether a move is legal and does not fill its own eyes

Again, before the neural nets even get involved. Some of these layers are repeated 8 times for symmetry. I would say for some of these, AlphaGo got some domain-specific help in a non-general way.

It is of course still groundbreaking academically. The architecture is a state-of-the-art deep learning setup and we learned a ton about how Go and games in general work. The interaction between supervised and reinforcement learning was interesting, especially how the latter behaved worse in practice in selecting most likely moves.

disclaim: Googler, not in anything AI.
I don't really buy his argument. Lots of other companies with plenty of resources have been attacking this problem, including Facebook and Baidu. People have been talking about Go AIs for decades. If it was just a matter of throwing a few servers at Crazy Stone or another known Go algorithm, it would have been done already.
(McLaren is in Woking, not Dorking)
Anyone knows how other countries handle primitive tribes' adherence to laws?
Most orthodontists will say anything except water is a no-no - coffee and tea will stain your aligners, and they almost always permeate the aligners into your teeth, causing decay until the next brushing. Juice is even more harmful with the sugar and fibre. Also, hot beverages can deform the aligners.
I know cases of people who tried having drinks with straws, and realized it wasn't a viable solution. The drink still ends up permeating the aligners.
These rules cannot be applied in every situation. Then you back to writing a bunch of rules. If you told a general AI to take care of a puppy for a few days, it would end up putting a diaper on it and keeping it in a crate 24 hours a day. That would be the least amount of work to take care of the puppy, and minimize the chance of the puppy hurting itself or damaging anything else.
Couldn't help but noticed that they skipped on Twitter, who uses Ruby and Scala.
I'm not arguing with you on what you said. You're certainly right. If someone gets that key, they've got access to everything.

I would add this. If someone malicious gets physical access to your laptop, you've got bigger problems to deal with. ;)
The Neuroscientist Who Lost Her Mind
I'd love to see your recommendations. Personally I find the redis source code to be extremely readable and well organized.

Also these people didn't become "famous" for their Instagram selfies.
TJ tends to jump mon on from one language to another.. first Ruby(when Ruby was the thing), then JS(when NodeJS became popular) and now Golang(the current "thing")
Threads share heap memory. Processes don't.

Erlang processes are very lightweight (only a few KB of memory) yet they have the property of OS processes of keeping their data isolated.

Think about it like an operating system. In most programming platforms today you are essentially programming in Windows 3.1 or DOS. So when the calculator process crashes, it could take down your game or your word processor because they all share their memory space. That is all cool, but it is cool for 1994, not for 2016.

When programming in Elixir/Erlang/LFE, is like moving up the ladder and using a real OS (preemptable execution, processes don't mess with each other's memory, and so on).
Making the Web Functional with Elixir and Elm [video]
The difference between Bush's (and Congress's) response to 9/11 and Obama's response to San Bernadino were as different in scale as 9/11 was to San Bernadino. The last time something happened that was a comparable scale to 9/11, the US responded by inventing, and then using, nuclear weapons.

Trump would make you pine for the days of George W. Bush. I think we took for granted the fact that Bush did things to smooth bigotry rather than incite it, like publicly declaring that Islam is a religion of peace and taking care to distinguish al-Qaeda from Islam in general. I think rather than pinning these things on the President we should take a look at the media, the rest of the government, and most importantly the public. Like it or not, the nationally televised murder-by-airliner of 3,000 people is going to incite panic, hatred, overreaction, and fear to a degree that not even the most resolute President can control.
I want to see an AI that can improve itself by developing new algorithms for arbitrary tasks. I wonder how far off we are from that now?
If you look at how child learns, it's huge amount of supervised learning. Parents spend lots of time in do and don't and giving specific instructions on everything from how to use toilet to how to construct a correct sentence. Lots of language development, object identification, pattern matching, comprehension, math skills, motor skills, developing logic - these activities has huge amount of supervised training that runs day after day and year after year. There is sure unsupervised elements like ability to recognize phonemes in speech, tracking objects, inference despite of occlusion, ability to stand up and walk, make meaningful sounds, identify faces, construct sequence of actions to achieve goal, avoiding safety risks from past experiences and so on. However, typical child goes through unparalleled amount of supervised learning. There was an incidence of a child who got locked up in a room for over a decade and she didn't developed most of the language, speech or social skills. It seems unsupervised learning can't be all of the cake.
You seem to be really keen about this. If your goal is to make the world a safer place, and not only taking away other people's rights try mandating locking or safes for all but the first one or two guns in a house instead.

Around here you are required to have a weapons safe to store almost any kind of weapon at home. This limits the risk of more guns getting into criminals hands as well as the risk of children toying around with them.

BTW another nice touch around here is you are required to have a reason for having a gun. That either means hunting, target practice or serving in the police or military. Reasons tends to be understood leniently (ie no one cares if you don't go hunting for a few years), except for handguns that requires the local chapter of a target shooting club to vouch for you.

I almost think you could get a good chunk of NRA behind something in these directions if you could somehow make sure it wouldn't be used for racketeering. After all NRA doesn't exactly look like raging bloodthirsty madmen, do they? Just like we aren't very fond of criminals just because we want to keep our encryption?
The companies may have plenty of resources but those resources were not solely dedicated to this problem. You mention Facebook and they were indeed on the verge of putting time into this with - though their team is far smaller (1-2 people) and they still used less compute resources. From the linked Miles article:

"Facebook’s darkfmcts3 is the only version I know of that definitely uses GPUs, and it uses 64 GPUs in the biggest version and 8 CPUs (so, more GPUs than single machine AlphaGo, but fewer CPUs). ... Darkfmcts3 achieved a solid 5d ranking, a 2-3 dan improvement over where it was just a few months earlier..."
Werkzeug's Jinja2 templating engine written in Python.

I happened to dig into its source code for something and eventually found myself amazed at how the entire base is beautifully laid out. It's no nowhere near being naive. It's almost a simple programming language implemented in python. A compiler of sorts with its own abstract syntax tree and stuff. Yet the code is very readable, straight forward and just taught me how to write good python.

[edit] corrected typo.
Looks like C++ rules systems software, the momentum has to be tremendous. It'll be interesting if Rust is listed here someday. I'm guessing the overall library and tooling ecosystem for C++ is going to be difficult to match in any short timescale.
> sufficient to just close the connection and destroy the session.

Unless that connection managed to write over some memory already. Then you can't just close the connection. You have to restart the whole server OS process.

> I doubt that erlang spawns millions of OS processes because that would be extremely inefficient due to CPU context switching

Erlang does spawn millions of processes. You can try it yourself in a few lines of code. They are not OS processes though. Although they are similar in that OS processes and Erlang ones don't share memory with their peers -- a very useful property indeed.

So Erlang in a way can have it cake and eat it took. It gets the benefit of OS processes but at a much lower cost.
It was, just formatted poorly into paragraphs. A paragraph is supposed to have some feet to stand on it's own.
Publishing cost today is smaller -- yet publishers actually charge more.

Libraries used to get a physical copy of the papers, which would grant lifetime access to the research.

Today, they pay for subscription, and as soon as they stop paying, they lose access to everything.
What's the best book folks recommend for learning SIMD programming?
GifHub, insert GIFs in GitHub comments
Preparing for Production of 'The Essential Guide to Electronics in Shenzhen'
How to schedule around your natural creative flow
This is off of the top of my head, but something like 50% of people treated for depression show positive response for the treatment, and 20% achieve "full recovery" (still on meds but the symptoms linked to depression are basically gone while on meds). Meaning these people can move on with their lives not having to deal with this.

Medicated treatment for ADHD has hit even higher numbers. Something like 70% of patients respond positively to medication (sometimes takes a while to get the right medication though), and 45% achieve full recovery (that is to say, ADHD stops being an issue for them if they're on their meds).

I mentioned this because conventional wisdom is something like: "Yes, depression as a chemical imbalance is a thing that exists, and you can kind of do something with it through treatment." But a lot of people are also "ADHD might not even be a real thing and is a result of helicopter parenting and lazy kids". But the science is much further ahead on understanding ADHD and treating it on ADHD than depression.
I think that in order to have a second smartphone revolution we need to look beyond the mobile operating systems that we rely on today, none of which seem optimal for the emerging markets (including Tizen and MIUI) considering the expensive high end hardware that they target.

A hypothetical initial focus on supporting productivity and business applications by a small team that could take this on could help narrow down the list of hardware to support as the need to compete for the latest CPU or the best video chip is reduced.

Also, I was wondering if Rust could be to a new mobile operating system what Objective-C was to OS X and later iOS serving as a layer on top of C/C++.
Open Houses in Real Estate Dubai and Abu Dhabi
They do indeed - here in Germany House Of Cards has an exclusive window on the pay-TV service Sky, which results in Season 4 of House of Cards not being available on Netflix currently.
> So it is still conceivable that an error in Erlang can bring down all your web servers.

No it won't. Not if you mean an error in an Erlang process. It almost sounds impossible, but that is the beauty of the BEAM virtual machine. It is really a marvel of engineering.

Now if you mean an error in Erlang VM itself, then yeah, if that crashes it will bring down the all the connections. But even that there is a answer -- distributed Erlang. Erlang VM can talk to processes on other Erlang VMs, even if those are running on another server on other side of the planet.
I find your train of thought to be rather belittling and infantilizing of a man who, by all accounts, is quite brilliant (regardless of views on his politics, it's a commonly held position). Now, sure, people are affected by the circumstances in which they live, but you've framed it as though Obama has been hoodwinked by nefarious and persistent forces. Personally, I disagree with President Obama's crypto policies, but I don't assume that he came to his positions out of anything but a thoughtful reading of intelligence briefings and alike.
Haven't you read about Snowden? All communications are recorded. All of them. Right now.
required open access publication
Void pointers mean no type safety, preventing a lot of potential compiler optimizations and static analysis checks. 99% of the time the right thing to do is just create a new type:

typedef struct Strref_t {
char* str;
size_t ref;
} Strref;

There, just pass a pointer of that type around.
Sure that is the aim, but is it unconstitutional? How much can you degrade the killing power of a bullet before it becomes unconstitutional?
> I don't see the difference between spawning a thread for each connection in other languages and spawning a process for each connection in Erlang,

That is a huge difference. Otherwise by now, why would Erlang not just run pthread calls and just spawn a thread. Why bother doing all that work?

The reason is because Erlang processes do not share heap memory. That is one of the most important features of Erlang runtime. A crashing process can just crash on its own without leaving all the other 1999999 processes in an undetermined state.
Erlang Virtual Machine - It's an amazing piece of software
NSA-proof your e-mail in 2 hours (2013)
I understand this, but working around one interpretation of the constitution is the aim of many laws if not most.
You mean Jinja2?

Also, Jinja2 and Werkzeug aren't coupled - you can use practically any Python templating lib with it as Werkzeug is just a WSGI library (+ and of course something else..).

And they happen to share the author.
Interestingly just ~5 years ago the team "AI" was frowned upon and people insisted in using the term "machine learning". The reasoning was that "AI" is just too convoluted a term because people will insist on comparing with humans and then whole question of consciousness invariably arises which renders scientific inquiry into undesirable debates.
Last Week Tonight with John Oliver: Encryption [video]
It is really something different. Depends on what axes you are comparing. It is analogous in one aspect -- a unit of execution. But is very different in that it doesn't share memory. That second part is crucial and it what makes it have better reliability, better GC characteristics and so on.
>Banning teflon coated bullets does not fundamentally infringe the right, and is narrowly tailored enough that it survives the least restrictive means test. Banning all ammunition cripples the right, fundamentally, and is nowhere near tailored enough to survive heightened levels of scrutiny.

Just to nit pick it is not teflon coated bullets that are banned (at the federal level), but bullets made of certain hardened materials that are banned. The teflon is there just to stop the gun barrel being damaged.

I am not suggesting banning all ammunition (as a tactic), but degrading the killing power of bullets by legislating what they can be made from and how fast they can leave the muzzle. How much could the killing power of bullets be degraded before the law would be considered an infringement on the second amendment?
What we need next are more systems which can predict "what is likely to happen if this is done". Google's automatic driving systems actually do that. Google tries hard to predict the possible and likely actions of other road users. This is the beginning of "common sense".
Well then, if there are no legal ways to watch a movie, "pirating" is the only option, right? What possibilities remain? Should people take vacations to watch movies?
Show HN: CLI for trying out Node.js modules easier
I am actually not really that keen on it other than as how to tackle an issue like gun control. If you are in favor of gun control why not go for the weak point (the ammunition) rather than the strong point (the second amendment). It is like the anti-gun lobby is not trying to win and are just in a culture war with the NRA.
The title is somewhat misleading. I clicked expecting to read how someone is managing 2 mln web server instances such nginx or apache. I was curious what kind of company would claim that.
This is one of those really cool ideas that is obvious after someone else much smarter then yourself thinks of it first.

I wish this was in NPM.
As an owner of Psion's 5mx and Revo (https://en.wikipedia.org/wiki/Psion_Series_5 and https://en.wikipedia.org/wiki/Psion_Revo), I've experienced the absolute minimum in a touch-typing keyboard. These machines offered, to me, the very best form-factor for a small computer (the clamshell design was ingenious). Sadly, nothing like these is currently available.

Conversely, a smartphone with bluetooth offers the flexibility of a touch-enabled computer with optional keyboard - one that's suitable for actual real typing!

So instead of an all-in-one solution, perhaps there's a case to be made for modular components too?
You know, if you're at the point where you can give a human-readable spec of the problem and the AI can make a passable attempt at it, that's basically the Turing Test -- hence why I think it deserves its status as holy grail. Something that passes would really give the impression of "there's a ghost inside here".
Absolutely! And I'm no way the first person who did this, my inspiration comes from diving into clojure and finding `lein-try` (https://github.com/rkneufeld/lein-try).

Thanks for your kind words though.
I was thinking multiple locations/fingertips – but other perceptible ways to mix would also be interesting.
'jump' -- I doubt it was hasty. Languages have issues, why stick with one when there are plenty to choose from. Of course, I like Golang, so somewhat biased -- it just appeals to my sensibilities, perhaps it does for TJ as well.
The problem is that fundamentally all our AI techniques are heavily data-driven. It's not clear what sort of data to feed in to represent good/bad algorithm design
Not all the Republicans. Cruz has actively opposed the surveillance state:

http://www.theguardian.com/us-news/2015/dec/10/ted-cruz-nsa-...
This is pretty much the situation in China with VPNs and GFW. Some providers will specialize in providing ways to get around the locks. They will be able to charge extra for it too and people will pay. Because $7.99 + say $4.99 for the VPN per month is still better than going back to cable. Fortunately, Netflix doesn't appear to be targeting users in China that much. I've use Netflix daily only seen the "something is wrong you appear to be using a proxy message" twice so far. I just switched servers and everything was all right.
Against signed integer types
Two words: Mesh networking.
nginx/src/core/*
Fair enough. Just sour grapes I suppose. Heh. I would love to have such a well equipped lab... as is I have to make do with simulation.
To me, the appeal of this device (and potential variants) is all in the new perceptive capabilities it grants the user – independent of any implementation details.

So to send color, I'd say sure, add a cheap video camera and whatever optics/CPU/software that's necessary to read the color, out along the same line for which the distance is being measured.
See the thread, this list isn't thoroughly accurate at all.
bspwm [0] + sxhkd [1]

[0] https://github.com/baskerville/bspwm
[1] https://github.com/baskerville/sxhkd
Are you in SF? If so, who is it - I am looking for one :) thx.
And a huge improvement over the magnetic strip passes. I have a pair of ski pants with magnets to hold the pocket closed, which is an incredibly dumb design, and they kept wiping my ski pass
processes do not share memory, but threads may be,
No, it's rather important, vital indeed, that code is published. Ironically Phil Jones of the UK Met Centre made this point himself:

"We have 25 or so years invested in the work. Why should I make the data available to you, when your aim is to try and find something wrong with it. "

Some of us always thought that having your ideas and results discussed and examined in a public forum was what science, an intensely cooperative activity, was about.

- And especially when public policy often demanding massive input from the taxpayer depends on it.
> At the end of the day I've hardly made a dent in my project though.
Chess community after computers started beating humans
it can be touch-scrolled here, there just aren't scroll bars. Took me a while to find, but maybe your browser is buggy, eve.
You can write C++ code that works like an equivalent C program, but that code also looks like the equivalent C program -- only with slightly less modern syntax.

Writing good, modern C++ means using the external template libraries and all kinds of (relatively) heavyweight goodies. The trouble is it's difficult to predict the space cost of those goodies -- so on systems where that matters it's just easier to think in terms of C.
Potentially useful for 1) paranoid people or 2) people whose threat models warrant this level of hassle.
He says Paypal is in C++. That used to be true 10 years ago, but is no longer true. Paypal's back end is written in Java.

Basically this is a table with cherry picked software projects where anything that isn't in ASM, C, C++, or Java is lumped into "Other". I don't know why anyone would create this useless page. It's in a style that honestly suggests "pre-internet" where all your knowledge came from curated sources. Nobody needs to curate this list.