skysight-inc/HackerNews huggingface dataset:
That's my point exactly. It's not simply a question of whether driverless cars are better drivers than humans or not...

If a driverless car kills someone, the car maker is the only one I can think of who would be responsible. A passenger who wasn't driving can't be responsible. So legally the insurance needs to cover this. If they can't be insured, they can't be on the road.

I'm not sure if I expressed that point well, but what I was meaning was that the car makers will have to accept the blame if they're going to be selling cars that do the driving (or more precisely, take the burden of the blame for bad driving).

As an aside, to muddy the waters even more, I'd say even if the car gets hacked and made to kill someone, the car maker might still be legally responsible. It's a minefield for sure.
Force 2 Official Trailer – John Abraham – SOnakshi Sinha
Why do I need dns over http?
To be fair, that seems a pretty accurate list. You will find yourself stuck in step two quite often.
Well Google already did that with Java and GWT, but it never caught on.

I guess TS being a superset of JS itself might be an advantage...otherwise it is still a new language designed for web browser programming unlike Java.

I suppose it is a fair question why they didn't just use C#.
5344 byte statically linked hello world in C:

$ musl-gcc -static -Os -s -o hello hello.c
$ ls -la hello
-rwxrwxr-x. 1 sebastian sebastian 5344 Sep 30 06:22 hello
$ ldd hello
not a dynamic executable
$ ./hello
Hello, World

384 Byte hello world using NASM and ld on linux/amd64:

BITS 64
global _start

%define SYS_write	1
%define SYS_exit	60
%define STDOUT_FILENO	1

section .text
_start:
call	after
strHello:	db 'Hello, World!',10
lenHello	equ $-strHello
after:
pop	rsi
mov	rdx, lenHello
mov	rax, SYS_write
mov	rdi, STDOUT_FILENO
syscall

mov	rax, SYS_exit
xor	rdi, rdi
syscall

Most of the size overhead in the latter example comes from the ELF header, so by paying a bit more attention to the linker scripts, or just inlining a small ELF header with db in the asm file, it would be even smaller.

Just for size comparison. I am sure that it's quite possible to generate small Rust binaries as well.
> If you discovered the tool on Hacker News and it's less than 18 months old — 'Danger, Will Robinson!'

You shouldn't fear new things. Keep it simple, keep it smart, and embrace what works for your team. Don't shun things because they're old, don't shun things because they're new. Shun complexity.

How about a real-world examples? Slack, Google Docs, and ZenHub. All of these added value right out the gate.

I first read about Slack in February 2014 on Hacker News.

* We Don’t Sell Saddles Here – Medium || https://medium.com/@stewart/we-dont-sell-saddles-here-4c5952...

Started playing with it, then started using it. It's helped my team move much faster. Slack added value. No reason not to use it. Same for ZenHub, same for Zapier, same for Docker, same for a bunch of other tools where I can say, first-hand, that being an early-adopter paid off vs. using something "tried and true."

Oh, and on that note, I freakin love Marker! (=

* Marker - Annotated Screenshots Sent to any Bug Tracking Tool || https://getmarker.io/
Consumers generally have a quite reasonable expectation that their products aren't dangerous in non-obvious ways. A knife might cut me if heavily used or misused, and I couldn't possibly sue in that case; if the blade leached toxins into the food I cut with it, I'd sue and so would anyone else.

Much law turns on various "reasonable person" standards. A reasonable person, IMHO, does't expect a violent, potentially lethal, mechanical disintegration just for overloading the drum by 10%.
The Internet Is Making You a Not Nice Person
Honestly, sounds like the side-AI project could be the exact point of a "blue sky" project but that open ended "maybe this won't result in a explicit result in this decade" ain't for everyone. Neither good nor bad.

The ability to produce AI tuned opportunistic spectrum allocation could have far reaching implications in fields outside of spectrum analysis. Many of the biggest problems faced by modern organizations is dealing with beaurocracy while efficiently allocation resources. Maybe this never lead to anything, but then again who knows if this could lead to a whole future field of efficiently scaling large organizations ... Take a look at the outputs of undirected DARPA funding and the results still bearing fruits decades later: computer animation by people like Ed Catmull (culminating in Pixar), Alan Key and object oriented programming, tcp/ip, etc. The bigger question of whether this side project could yield fruit has more to do with the type of team environment of the project and whether the pursuit came from a genuine "I wonder if...". E.g. One of the best predictors of the useful of such blue sky discovery is whether there's a large element of "this seems fun/intruiging!" as appeared to the driving motivation of Ed Catmull when he invented texture mapping.

And thanks for the links! I'm actually _very_ interested in reading these papers. There's been a lot of intruiging work and research on type-valued types (c.f. Iris programming language). But there's a difficulty of describing and translating rulesets from various vague human logic into effective computer passable rulesets.
How fast does it work? What perceived latency does it have during usual web surfing?
ScriptSafe for Chrome. I don't leave my home network without it.
Is out-of-balance relevant to driver-less cars?
Front loading machines aren't supposed to be left open, are they? I've used decades one always closed, never had mold/fungus. Could it depend on the water quality?

Those were Whirlpool though, not Samsung.
But when Tesla sells you a BEV, the solar roof array and household battery, and allows you to go "off-grid" with that car, the kind of car you use is relevant.
Kubernetes doesn't necessarily imply Docker.
Oh I totally sympathize, I'm thinking of moving to a smaller town. But as a thought experiment, it doesn't seem inconceivable that economic activity will continue to concentrate into the big cities, leaving mostly tourism and a smattering of remote work for the smaller towns.
HDCP is arguably the standard for authenticating the monitor, but it's not quite intended for this purpose. I'm not aware of a standard for authenticating input devices, but disabling USB HID and relying solely on tamper-evident PS/2 input devices goes a long way.
Markoshiki: logic puzzle game
thats both a false dichotomy and a strawman.

Well played
Based on my experience at about five different successful companies, a senior engineer is not someone who has a title declaring them as such but is a person you go to when considering something completely new that needs to be created from scratch because you know he could do it if asked to, do it in a way that will leave something another team can pick up if necessary, and do it well.
If you wanted to interview some early retirees, what easier way to find them than to Google up some 'blogs?
I wonder if this amount is tied to the cost of a gallon of milk in the consumer's mind?
The 1,024 Ways Clinton or Trump Can Win the Election
I was about to cite Okasaki, but I found a detailed answer over there:

http://stackoverflow.com/a/1990580

> Note also that all of this discusses only asymptotic running times. Many techniques for implementing purely functional data structures give you a certain amount of constant factor slowdown, due to extra bookkeeping necessary for them to work, and implementation details of the language in question. The benefits of purely functional data structures may outweigh these constant factor slowdowns, so you will generally need to make trade-offs based on the problem in question.
Now I want my car to be able to detect local Bluetooth signals and warn me about skimmers.
No leadership?
It is up to the government to prove guilt. Someone shouldn't have to protect their assets from forfeiture by proving its innocence.
This is missing the fundamental step which is collecting data.
Wrong. What about an industry where data is either hard or unethical to gather such as the medical industry?
> when merchants, banks, companies, and payment providers just accept Bitcoin..

That's not a path to becoming mainstream, that is mainstream.
That was an interesting article. In the past I have worked with bulk commodity shipping (i.e ore + coal) rather than commercial freight. In my case the company owned the berth the and the unloaders. So it was a similar but slightly different problem space. The biggest issue was obtaining a reliable schedule from the ships. When I worked there the harbor master communicated directly with ships captain about expected arrival date etc and it was all stored on spreadsheets.

There is probably room in this space for some ML smarts similar to what is in the article (extrapolating arrival times based on weather, ships condition, Panama Canal data etc.) and forecasting ahead for a more accurate arrival date.

The benefit for doing this is because of something called "Demurrage" which comes into play. Demmurage is a special type of charge that is incurred when there are unloading delays. It wasn't unheard of because of the absence of accurate scheduling for multiple ships to arrive within close proximity of each other. When this happened the ships would be forced to lined up outside of the harbor either waiting for tug boat availability to tow them into berth or waiting for actual space on the berth. They'd be sitting there racking up demurrage charges. There is a pay off in optimising berth scheduling, whether its large enough to build a company around I'm not sure...
What's the purpose of explicitly specifying the "random_padding" parameter? Couldn't the client send any arbitrary unused query argument as padding?
YC companies aren't "done" after 3 months. They keep building and growing for years to come. The 3 months is just how long it takes from first dinner to demo day. Companies of all types are typically able to show some kind of growth, traction, or progress in that time.
I think these reports from the field are worthwhile. The guy is an experienced programmer. I thought it was interesting that he was a hard core Java/C# and hated JavaScript when he had to use it. Then after a couple of years of JavaScript, he fell in love with the expressiveness and ease of coding and chaffed at the restrictions of Java/C#. Then he had to do a large app in JavaScript and hit the point where he it was really painful to refactor and he missed the tools he had in Java and C#. Finding TypeScript was, as Goldilocks said "just right." The tagline of TypeScript is "JavaScript that Scales" for exactly this reason. His journey mirrors mine and probably a lot of others.

I got there from thier other article "Does Electron live up to the hype?"

https://www.cycligent.com/blog/does-electron-live-up-to-the-...

tl;dr - It does

I am not associated with the company. I download and tried Cycligent to see how their Elecron app turned out (I'm a big fan of Electron.) It looks like a decent git client, although it feels like a web app with the dialogs that slide in. I could get used to it. Screen shot:

http://imgur.com/a/y5F5A
Isn't that step 5? I took that to be: "Do you have all of the data necessary to formulate an answer? If not, focus on solving that problem or eliminate the need for the data you can't get by going back to step two and picking a formula that doesn't need the data you can't get."
So if a hospital has vital patient information locked up with ransom ware, you want to make it illegal for them to pay to get it out?

Your source quench nonsense sounds like just another piece of pointless infrastructure to be abused.
100% nuclear would work too but is politically unviable. Waste and the risk of accidents are a big problem, but at this point I believe they would be preferable to breathing in fossil fuel emissions all day.
Hey thanks for checking it out! And nice catch on the % symbol -- fixed that. :)
Watsi is great -- thanks for the add!
because I enjoy writing pure JS. Typescript feels like Coffeescript, which always felt like a hack to make Rubyists more comfortable. Similarly TS feels like a hack to make C#'ers more comfortable.

Ultimately, if you're going to program in JS then get comfortable in JS, rather than trying to make JS more like your favourite language.
It is actually correct and is considered more respectful. e.g You don't refer to a king as he, you refer to a king as they.
In theory, aren't decision trees universal approximators like Neural Networks?
Because you can paste in your favorite JavaScript code snippets and they work without modification. One can gradually add types to a JavaScript project at a pace of your choosing. I think a more interesting question is why add types when there is Facebook's flow. My answer: because flow doesn't help with the refactoring and other IDE tasks.

Ask HN: If TypeScript is so great, how come all notable ReactJS projects use Babel?
https://news.ycombinator.com/item?id=12537614
Matt Levine's column/newsletter is one of the things I look forward to each day. His vignettes into finance are consistently interesting, discussed both in depth and understandably to neophytes, and with a dry humor not matched by any other financial journalist. Him talking about DTC settlement is more interesting than anyone else I've seen talking about...pretty much anything in the news.

It's a bit hard to find from the website, so here's the RSS link for everything he writes: http://www.bloomberg.com/view/rss/contributors/matt-levine.r...
I can think of two non-technical reasons: as an explicit reminder to devs about side-channel attacks, and also to guarantee the key "random_padding" will never be used for anything else.
Some people like types, other people don't. Some people like indenting with 4 spaces, other like 2. I was a die hard 4 space guy until today, when I was debugging a bunch of 2 space code and decided I like it better.
Ask HN: Need feedback on a project launching next week
I would like to keep the product private until launch but would highly appreciate feedback. The product is related to stock photos.

If you can spend 10 minutes to help me out, please comment below and I will reach out by email with a review request.
> It turns out that the giant Java app servers were great, but eventually wound up with the same problem as previous generations of highly shared services: without strong isolation guarantees, it becomes necessary to heavily gateway production to prevent outages or degradations.

Are you talking about app isolation on an app server? I.e. running multiple WARs/EARs on a single server and not having one app destabilize the whole thing?
(1) The transpiled JavaScript closely resembles the source TS, making debugging easier (source maps allieviete this to a certain extent).

(2) Transpiling from a whole different language means you have to port the standard runtime, otherwise you'd lose portability and familiarity, which are the two key advantages of transpiling from another, widely used language. Also, as JavaScript often runs in the browser this means downloading the runtime.

(3) The more different the two languages are, the more likely you'll run into surprising situations where feature X in language Y cannot be implemented in its original form in JavaScript, causing subtle incompatibilities between Y code written for the "original" Y compiler / interpreter and Y code that was meant to be transpiled.

(4) As someone else mentioned, TS is almost a superset of JS, which means mixing in JS code into TS code is much easier.

(5) What is a real language anyway?
Existential suffering underlies all anxieties. CBT, at best, gets to certain levels of deep seated programming, but does not go to the root cause. Alleviating anxiety is not the same as a cure. Being functional is not the same as a cure.

CBT may be considered the gold standard in the mainstream, but it will not always be like that.
But that is a bit harder to spoof. Suppose someone hijacks your plain text DNS to take over "dns.google.com". Their fake site will not have the right SSL keys, so your DNS-over-HTTPS client will reject it.
What happened to the gold standard of logistics industry, which is Operations Research (OR)?

OR has essentially been customized to this domain long before generalized ML appeared on the scene - I can't imagine some of-the-self sci-kit learn libraries have improved on this much.
An interesting article. But those caves were very... obviously there? Like a village full of people could look up at the cliff face and see the caves' entrances.

You can't tell me that teenagers from those villages weren't going up there and getting into some sort of trouble.
I didn't find it so offensive (adblock), and the advice actually seems pretty spot-on with my experience.

1) yes it's easy to prototype in cloud, and it's also easy to fall into the trap of vendor lock-in. Instead, if you are based in the USA (which sadly I'm not), check on ebay, there's plenty of refurbished or liquidated equipment at a fraction of brand-new pricing.

BTW, the latter should also be an indicator that not all is fluffy in cloud-land...!

2) 100% agree on this. Fintech is rearing its ugly head, with 100's (1000's?) of startups all trying to get a pie of the consumer.

I subscribe to the GNU/KISS philosophy. Keep it simple, keep it as a set of known tools which speak a common "API" (whether that's just plain and simple text, XML, JSON etc), train my guys to understand and use them, and you will achieve far more productivity than jumping every few months to yet-another-you-beaut toolset guaranteed to solve your CI problems (until after 6 months, you find out their business strategy is to get acquired, at which point in time you spend another 6 months adopting another tool... and another...)

3) If anybody has ever seen the power of dtrace, or even what a straightforward systems/network monitoring system can capture e.g. zabbix, then they would definitely agree that monitoring is key to ensure the health of the system(s). Once you get past a whole bunch of scripting alerts on one server, and wonder how to scale it, then bump into nagios/zabbix etc, you will kick yourself for not having done so sooner!
DNS-over-HTTPS resolvers aren't browsers, in any case.
Unless you're doing something stupendously horsepower- or data-intensive, don't use a cloud (roll-your-own or outsourced) at all. Sit a spare PC under a desk somewhere and run your servers/services on that. Once you figure out what you're actually doing and you know how your core technology scales, then you look at what's required to serve it to your target audience.
Because HTTP is the new narrow waist of the internet.
His calling is definitely writing. It would have been a shame if he stayed in banking and didn't end up at Bloomberg. I'm not sure how he ended up doing that because there's probably almost no chance he's making more money blogging than working at Goldman, but I'm glad he did.
That's, uh, also a Google thing. But yes, that did cause significant googler confusion this morning.
ESLOV IoT Invention Kit by Arduino
Comments about shaving aside, I have a difficult time identifying what the point of this article is. I see some sort of poorly strung together comments about razor efficacy and the mode of giving away the disposable part of a product in order to entice a consumer to buy the more expensive part.

What is the point here? Yes, Gillette gives away cartridges to try to get you to buy their razors. Yes, actual single or double edge razors are much better if you take the time to learn how to use one instead of buying the latest "7 GODDAMN BLADES ON THIS THING SHIT CAN YOU BELIEVE IT YOU'LL BE SO SMOOTH" bullshit.

So what? What is the point here? I don't see one.
>He'd talk your ear off about how people like him were the ones adding value to society

To take this sentence slightly out of context: There's nothing wrong with providing a service people find useful and are willing to pay you for, however this moral high ground is extremely abrasive to the soul. If someone really cared about "adding value to society," or the future of human welfare -- human rights are on the decline in our own country. Journalists are being openly, publicly and illegally prosecuted (Pete Santilli), peaceful protesters are being removed with military-style raids (Dakota pipeline protests), and whistle-blowers are being hunted by our government for revealing unconstitutional, illegal government surveillance (Snowden), while our government funds illegal wars (Syria), through arming of totalitarian and human-rights-oppressing regimes (SA), while also funding other human-rights-oppressing foreign states with funds equal to that of the Manhattan Project, adjusted for inflation (criticizing which country this is feels like a thought crime though). This all strikes me as more fitting of a nation state we associate with corruption than the USA, but we're all too busy with our day jobs to consider how hard people fought for what we take for granted, and how easily it can and is being taken away. There's a lot that is great about the USA, but as the 2016 elections draw closer and nothing seems to surprise me anymore, every time I hear this argument it just really bothers me because it feels like nobody seems to give a shit about actually "adding value to society."
Actually, worse: they seize your assets so that you cannot afford to mount a solid defense at your trial. It's a lot easier to convince someone to take a plea (i.e. confess falsely under duress) if they are bankrupt and destitute and can't afford proper counsel.
Corporate proxies / firewalls.
It should be reasonable to fill the drum in the washing machine with clothes you expect it to wash. It is borderline fraud to make a washing machine that can hold 10 shirts but explodes as soon as you run it with more than 6. They have a label that says don't overload it, but without explicit markings that say a load is 6 shirts I would assume overloading meant the drum can hold 10 so don't put 14 in there. It isn't as if the user is doing something unexpected like loading it with bricks.
Still better than my old LG washer-dryer which would sound an alarm when it had finished, only the door would remain locked for the next minute or so afterwards. So you'd go to empty it, realise that it was still locked despite only being on a wash cycle, wander off to do something else and forget about it, then remember the next day that you had washing sitting in the machine. By this time it smells stale and you have to wash it again. So you set a timer slightly longer than the wash cycle to remind you to take out the washing. Success! Only then you load another pile of clothes and forget to set another timer. Fuuuuu...

Purchased a Bosch washer-dryer after the LG decided it no longer wanted to pump water out of the machine, eventually flooding our hallway. The Bosch works nicely - you can open it when the alarm sounds! - but you have to reset the cycle toggle for every new load (basically set it to off then on again) otherwise it just beeps at you and won't start the cycle. If we can buy $50 touch-screen smart phones with a fully fledged OS in the supermarket, why can't we bolt similar devices to dumb microwaves, washers etc to make them smarter? I mean, why do I have to dig out a manual to figure out what the fuck error D7 means?
If you allegedly rob a bunch of banks, and allegedly launder the money somehow in some vague unclear way according to a claim made by police, then yes absolutely good to go.

That's the cornerstone of a free society.

If they can prove you robbed the banks or laundered the money, then they get to lock you up.

But yes, in a thought experiment where someone commits the perfect unprovable crime that can't ever be solved then yes they get to go free.