skysight-inc/HackerNews huggingface dataset:
Is rule of law in traffic important for self-driving cars? If self-driving cars are based on neural networks rather than on rule-based systems, do we have any kind of intuition about under what kinds of traffic circumstances they will do well?
Making software development as easy as filling out a spreadsheet, scaling from mobile app to enterprise services applications.
Juggling Projects
> If you're like me, 10 years in, you're no longer interviewing for jobs, you're chatting to friends about prospective opportunities where they're working.

You lost me at this part. Every job out there requires you to go through at least some kind of interview process. What mystical companies out there allow you to skip it, and how do you negotiate that allowance?
... and then some of that same team went on to do the compiler used by node, and Chrome (V8).

Modern JavaScript has many Smalltalk features.. [starts putting on flame retardant suit].
Islamic State launches mobile app for children
So uberuseful. When is something similar coming out in Spanish, German, and French?
> Maybe partly, but 1B USD seems a lot to pay for that.

Apple has at least $216B cash on hand as of 2016 [1] and majority of them are held overseas. $1B strategic investment with all said benefits sound like a VERY GOOD deal.

> Self-driving is not going to happen in China the way it happens in the US. The roads are full of pedestrians, e-bikes, people breaking any sort of nominal rule or law... it's too accident prone.

Probably not for a long time, yes. But I would argue that's exactly why Didi's data is MORE valuable for autonomous driving modeling to be based off. As Elon famously said[2] to George Hotz about his comma.ai demo, 99% of the self-driving is easy to do. The hard part is the 1% edge cases and billions and billions of data points for engineering validation. Apple has a very aggressive timeline for their self-driving EV, buying that massive amount data from a harsh environment serves that purpose REALLY REALLY well and it's an efficient use of capital resources to achieve their goal in time.

> Maybe partly.

And lastly, it's hard to argue a ban on Apple when Apple can say to the government that hey we've investing $1B to grow millions of driver jobs and the local tech economy. It's about jobs!

[1]: http://www.marketwatch.com/story/apple-isnt-really-sitting-o...

[2]: https://www.teslamotors.com/support/correction-article-first...
Their backup plan was already executed: they switched from their testing methodology to acting as a service provider for somebody else's testing methodology (http://www.businessinsider.com/bill-maris-explains-why-gv-di... """So, we just had someone from our life-science investment team go into Walgreens and take the test. And it wasn't that difficult for anyone to determine that things may not be what they seem here."

That employee found that when he went to get a test done, Theranos wanted more than just a drop of blood in one of its "nanotainers." He denied a full venous blood draw, and ended up getting called back a week later because they wanted him to give more blood.""")
"JUST GIVE ME A GODDAMN CUP OF COFFEE!"
For the HN population, translating this into security can be useful.

Here is a Sorites argument for AES key strength.

A key of length 1 bit is not secure

A key of length 2 bit is not secure

A key of length 3 bit is not secure

------------------------------------

A key of length 1024 bits is not secure

We would consider the conclusion absurd. Why?

Because we have a definition of security as such: The expense of breaking the key is not worth the value of the secret it protects.

For 1 bit, the expense of breaking the key is so low, it is very easy to come up with secrets that are greater than the value.

For 256 bits, the expense of breaking the key is so (literally) astronomically high, that it would be very hard to come up with secrets that have greater value than the expense of breaking the key.

In addition, note that for a given secret 1 bit can make the difference between secure and not secure.

Notice as we increase the key length bit by bit, more and more secrets are having values that are less than the expense of breaking the key.

Now let us look at a heap. First let us come up with a working definition. Let us say that we define a heap as an amount of grain that is larger than can be held in a closed fist.

Notice how this varies from person to person. Also notice for a given person, there can easily be the case where 1 extra grain makes the difference between heap and not.

Also notice, that as we increase the number of grains by one, more and more people would consider the collection of grains a heap.
Thank you for helpful suggestion!
IPFS, with a chain of objects, signed with one of a set of whitelisted keys. You'd need a bit of logic on each node to pull the latest objects (maybe using IPNS).
Yo! You from Miami?
Cracker hacker 'edits' biggest subreddits
You can learn this quite easily using bilexical dependencies on a machine annotated corpus, even without word embeddings (which is another option as Matthew suggests in a sibling post):

http://www.aclweb.org/anthology/W07-2201
My favorite is when people use a good variable name and then put a two line comment explaining what I could gather from the variable name.
If it can be done, it will be done. Mitochondria is a pita, so sure some enterprising cell decided to figure out a way to do without it and it did.
pretty much entirely content free article
How about redirecting your compassion towards someone more noble?
This also a reply to similar comment about "cleaning myelin".

The big question here is (to which I allude in my comment): How do you control the "resetting" process, so that you wouldn't lose the information that you consider important? I simply don't think there is a good way to do it.

We already have a way to be immortal - have kids and teach them what you know and think is important. Which is an arduous and complicated process; I don't think this "myelin cleaning" or whatever will be any easier.

I don't think I want this reset. It may mean you become entirely different person, or your memories get lost. Let's say you and your wife resets, and forget most memories you have of each other, pretty much why you're together. Or you reset and you become a different person to your kids, and they become different to you.

I personally find either having kids, or teaching (if you can't have kids for whatever reason), a more interesting proposition than some magical procedure that will clean my brain. If anything, it sounds really irresponsible to your future self - kinda like leaving your kids in the forest to take care of themselves.
Actually, I want no admin.

Maybe this might sound a little crazy, I am trying to build a system where arbitrary number of persons maintain nodes (I don't even need to know these persons) that have my data. The software managing my data should only allow me append and read from it.

This kind of database makes it impossible for me to alter data once appended.
Were they even able to get their Edison device into a functional state?
Why does the advantage necessarily have to be personal? Why can't it be communal? Though I don't fancy myself as capable to make significant contributions to FOSS projects, I do use and promote them (though, if I'm honest, HN exposes more to me than I do here) so that others can have exposure to them, use them, provide feedback/contribution to the project.
And I get that, in which case the developer would be better served to use one of those IDEs. Sublime text doesn't have a debugger and it's not really needed because of the type of work you would do in it. I wouldn't write Java or C# in sublime, why would I do that in Code?

To my point, Code is just a weird mish-mash of features. Is it an advanced text editor like sublime or is it an IDE? In either case, it's bad at both.
http://www.sigchi.org/chi97/proceedings/paper/fkm.htm#U4
Even where the convention isn't to use natural language names, something like this is fairly common (e.g., in lots of fairly terse functional language the convention is to use, e.g., "xs" for a list and "x" for a member -- in some with destructuring matching on lists, the convention is "xs" for the list, "x" for the head, and "xr" for the tail (rest) of the list.)
Well they have raised over $190M, and I don't see them spending it on marketing like Wix, Squarespace, Weebly, and GoDaddy. At least I haven't seen any ads or anything. Maybe this is their marketing budget?
I think it works here because you're in a context where there's just one collection. So you don't really have to remember what c means, you can see c.size() and think "this is the size of the collection", because in this context there's only one thing you could be taking the size of.

If there were more than one collection, or we weren't using it in a way that makes it obvious it must be a collection, I would want a better name.
If you run something like:

erl -noshell +sbwt none -smp disable +A 0 -mode minimal -eval 'io:format("Hello world~n").' -s init stop

instead, which is much closer to what python/java et al runs, then at least I get around 2850 syscalls.

The constant ppoll:ing is because erts spins looking for new work from any fd. Specifically "/sys/devices/system/node/node0" is in order to check for cpu topology updates by the operating system, i.e. if for some reason a core/cpu is taken offline of something like that. This is limited in my example above by "+sbwt none"

IIRC the bind is an UDP socket to talk to the local nameserver. This is removed in my example with "-mode minimal".
Linear models struggle with this. In a linear model, mostly, each word is an island.

It's actually quite easy to do this with a linear model. You use the distribution of head/relation/dependent pairs as an auxiliary distribution in a linear model. This has been done for quite some time (see my answer to your parent).

This auxiliary distribution is then estimated using machine-annotated data. Of course, a non-linear classifier using embeddings is cheaper to train ;), because you don't have to parse a lot of data ahead of time.
If technology comes far enough that telepresence is preferred to on-site, I think it would be pretty trivial to replace the headset with whatever is behind them in VR
Not saying you are wrong (you are not, you technically can download the script in one step, read it and then feed the local copy to bash) but someone posted a proof of concept a couple months ago that used user agent sniffing to potentially fool people into reading one thing and running another if they used the browser to read the source but curl to pipe the script into bash.
Somewhat off topic, but for anyone more familiar with spaCy:

Any idea if spaCy has a sane way to be used in other languages? Specifically Rust, in this case? I'm in need of a decent NLP library to train and or map sentences to intents. Somewhat similar to what wit.ai offers, but it needs to be offline-able. spaCy sounds great, but requiring a runtime (if spaCy indeed does) on the installed system is a no-go for me.

Not knowing much about Python, It looks like it is actually compatible with CPython, so could it therefor be compiled to C and imported into Rust?
I think the folk definition of aging is actually aligns quite closely with the probability of death definition.

Consider the phrase "He looks like he aged 20 years, but it has only been 5 years since I last saw him." Everybody understands this to mean that he looks like his health has declined in 5 years the way most people's health would decline in 20 years.

If you replace "health has declined" with "probability of death has increased", then it means roughly the same thing.
It is true that the folk understanding of "health has declined" could be based on several proxies such as skin texture, baldness, etc. I think what the probability of death definition does is bring some precision to what you mean when you say "health has declined".
It's not about dev friendliness in general, but "friendliness" for js/html/css web dev who refuses to learn right tools. So it's about education (a lack of).
I believe it, but that wasn't considered fast at the time. And your point is definitely valid - there were web page size optimizations done with dial-up users in mind. I even remember programs that simulated loading time at different download speeds.

But around 1980, 1200 baud was considered lightning fast! Imagine the jump from 300 to 1200 baud. But back then, HTML wasn't even a consideration and network connections were completely text-based sessions. If you were lucky, you had some control over colors. If you were lucky...
i'm not sure $125k/year for a family of 3 should really be considered 'upper class'. is 2 working parents barely making 60k each really upper class?

i would like to see these numbers for 4x or 5x the median (roughly $250k/year). to me that's really where the delta in income starts to become apparent as manifested in lifestyle choices and accumulated wealth.

edit: okay, reading the actual research reveals that pew calls it 'upper income', not 'upper class', which i generally agree more with. this is probably a slight editorial twist by nytimes to emphasize the point.
We Don’t Need More Blood Tests
You might also like https://en.wikipedia.org/wiki/Lion-Eating_Poet_in_the_Stone_... then.
> In the old but waning status quo, Adobe and Microsoft got to decide which browsers would work with Silverlight and Flash (right?)

Nope. The status quo was that any browser which implemented NPAPI (officially the Mozilla plugin API, but historically used by everyone but IE) could use Silverlight and Flash. That's how Google Chrome got Flash support initially and the reason why obscure browsers that neither Adobe and Microsoft cared about could still support both.
Well, grasshopper, I guess you can code like a kung fu novice, trying to split a stone; repeatedly and thoughtlessly bashing your hands on it, making a bloody mess. Or like a master; contemplating the best way a while and then splitting the stone whith one precise, decisive motion.
Or better yet engineer a more efficient replacement for the central nervous system. 100 years in the future at increasing rates of technological development, it seems very likely that we could engineer a substance that could interface with the brain to augment it and eventually replace it seemlessly with no jarring loss of consciousness.
What about the ethical issue of clones? Will clones be raised in vats without ever achieving consciousness?

If you have to raise your clone by yourself as another human being, who's to say which one of you deserves to keep living?

It all sounds so very nice in theory, but the reality might be that only the very rich and the elite will be able to afford to undergo such procedures, mainly because of the secrecy needed to essentially grow sacrificial human beings to maturity.
I find that single letter variable names (or 2-letter names for that matter) really only work if both your coding style and your language allow it. You have to write short functions (5-20 LOC or something like that) in a language that encourages that style. C, Go, LISP, and Haskell (and many more) are great for this kind of thing. But object oriented languages like C++ and Java tend to have much longer functions (50-100 LOC isn't uncommon). I'm not sure the fact that they're object oriented has anything to do with that though.
Ask HN: What are the best practices for hiring software engineers?
What are the best methods you've found for determining whether a person is A) qualified and B) a good fit for the company culuture?

Do code tests work well? Is there some saas product that can help test engineers? Some other method i've never heard of?
Atom and VS Code listen to your .gitignore when showing a folder of files. Quick searches ignore those files as well. In Atom those folders/files are still openable (the explorer pane thingy shows them as grayed out).

To get the same functionality in Sublime, AFAIK, you have to create a couple of project files first and add folders into it. Then, if you later make a new folder via the terminal you have to edit your project file to include it.

That's been my biggest headache around Sublime vs. Atom. It's the smallest thing but it's like sand in my shoe.
The best parts of JavaScript are where the Lisp and Smalltalk heritage is apparent.

The worst parts are where a PHB told Brandon Eich "we're going to call it Javascript, make it more like Java", and where the PHB told him "I don't care if it's done, we need to ship it".
I don't think the specific number matters too much. As long as the number was consistent in the survey, the point is made.
I agree. It's not a mental tax to read a word we recognize. It's not like we have to sound it out letter by letter, we recognize its form at a glance. It's more taxing to maintain a mapping for an inherently meaningless single character.

Although there are some single characters that do have meaning due to long time convention such as 'i'.
I wonder if a software shop structured as a co-operative would be good for this. Let the employees themselves control the workplace and set it up as they see fit. I know I'd personally be a lot more invested in my workplace if I had a direct voice in how it functions and the direction we move in.
FBI director claims that videoing police is causing crime uptick
Statistical models for parsing are almost guaranteed to fail at parsing garden path sentences.
D2L dot gives student actual heart attack
"rather than the elliptical vagueness of Romance languages like English" - what?
These pieces involve lots of investigation and travel to meet sources, I'm pretty sure. The last BuzzFeed in-depth report I read certainly did. If so, this is really a paltry sum. It's not a 6000 word opinion essay we're talking about, there's heavy loads of research involved.
PyCharm is really good for TypeScript as well, but probably not as good as VSCode.
Where-as I typically cite it in shorthand as "K&R", dropping "The C Programming Language" altogether.
Read a SF novel recently [0] where the rejuvenation treatment that you take periodically to extend your life indefinitely also makes you sterile temporarily. If you chose to have children (which is socially frowned upon), you must stop taking the treatment forever.

Not sure that we would be able to implement such a rationale solution, but at least it was pretty logical. The novel is essentially about the other grim decisions you have to take to have a constant population.

[0] This was in a book with multiple short stories from Paolo Bacigalupi. I believe this is Pump Six and Other Stories. Most of the novel are rather pessimistic, but at the same times sounds plausible enough to happen. I also recommend The Wind Up Girl from the same author.
This strikes me as another take on a chorded keyboard, but without the benefit of button feedback.

Likely anything longer than a tweet tapped out on this device will result in serious wrist strain as the fingers can't rest on the surface while tapping (much the same as using a OSK).
Last night, I panicked. I was scared I’d been wrong
The browser for web developers is the browser your users use. That's it. At some point I am going to have to swap to Chrome and IE to ensure that every runs properly, so why not skip that step and just develop against Chrome and IE?
If you're not comfortable building your own, I'd start with a workstation from Dell or HP (e.g. "Dell Precision Workstations"), choose the smallest amount of RAM they offer, then buy RAM yourself to get the amount you need (make sure the base machine supports that much RAM). Dell and HP always massively overcharge for RAM upgrades compared to the cost of buying it yourself.

In general you can't put a dozen processors in a server. You could get that many cores with something like two eight-core Xeon CPUs easily.
I hear APL is concise.
> Estonia has quite a few disadvantages - a tiny home market, a winter that seems to go on forever (although the weather was lovely for our visit), and poor connections with the rest of Europe.

The weather? Sweden and Finland both have longer winters and it has not stopped them.
Poor connections? Estonians are everywhere (London, NYC, SF) and their tech companies are all "global first", with investors from around the world and targeting the global market directly.
I'm going to start off by saying that I'm only 16 so in no world am I an expert on what I'm saying... I feel that what Justin is doing is a brilliant way to make receiving funding more approachable to small startups without them having to get up on stage in front of a couple hundred people or sit in a dull boardroom. If you think about it, putting someone on a stage at tech crunch disrupt isn't too different from what Justin is doing. TCD is just more nerve-racking. Does everyone suddenly hate that now? Speaking from first hand account, being a small start-up with a super young person in charge (I refer you to where I mentioned where I'm 16) it's pretty hard to be taken seriously and approach VCs. This makes the process a little more relaxed an a little less stressful for people like me. Also who's to say you can't have fun in some parts of your job? Tech is already total lala land anyway... What other industry has ping pong meetings and free Starbucks all the time? I really see no downside to this venture except for it being "unconventional" which we in the startup world all know to be pre-greatness. (I kinda loosely stole that pre-greatness part from silicon valley). Thanks for hearing me out. -harry
You misunderstood me and confused the probability of dying by 85 with the probability of dying at 85. You're talking about the cumulative distribution and I was talking about the probability distribution.

The chance of death at a given age is a bell curve.

The chance that I'll die at 150 years old is zero, it is less than the chance that I'll die at age 70. The chance that I'll die by the time I'm 150 is 100%.
If you look at how compilers are written these days, one other thing has changed. Almost every book on compiler design, including the classics, will direct you towards separating the lexer, scanner and compiler stages using parser generators like Lex/Yacc or Flex/Bison. In practice, this isn't done anymore. If you look at modern compilers like Clang, Go or Rust, they all have hand-coded parsers that build syntax trees right out of tokens. It turns out that parser generators don't really give you that much, and only get in the way once you need to go beyond the basics.
I disagree - an ex-colleague at Cornell wrote a paper proving equivalence. Will have to dig that up..
Society doesn't "need" death.

It isn't a great leap to think that if we learn to alter our bodies at the nano/genetic level that we can handle our own evolution.
I can't stand that. I like using names that don't make me think about what the variable means.
AI Lawyer Ross Has Been Hired by Its First Official Law Firm
Introduction to Linux,Open Source Development and Git Course for New Linux Users
Not so sure about that ... old habits die hard. In albanian "pite" is a pizza like bread. And albanians and greek cultures shared some stuff.
HN Title (currently "The Middle Class is Shrinking") misrepresents the title and focus of the article (source title is "Where the Middle Class is Shrinking").

Posting this separately from response on the substance of the source article (because hopefully it will be corrected and this will be come irrelevant.)

EDIT: Oddly, the current HN Title is closer to the focus of an earlier Pew release [0] that is a predecessor to the one the NYTimes article behind the current title is based on [1].

[0] http://www.pewsocialtrends.org/2015/12/09/the-american-middl...

[1] http://www.pewsocialtrends.org/2016/05/11/americas-shrinking...
I'm really hoping that more companies embrace remote workers ... so that it doesn't matter where you live