skysight-inc/HackerNews huggingface dataset:
Ask HN: How do I learn JavaScript after using it for years
I find myself in a spot I never thought I would find myself: I want to learn JavaScript.

After using it professionally for quite a while now, and going through some weird process resembling the stages of grief I decided it's past time to learn the language.

I first started using it and I thought it was a horrible language. I kept using it for basic scripting tasks and I still thought it was a horrible language preferring to do most of the application logic in the back end. I learned some degree of AngularJS and used it in quite a few projects while complaining about how this would be so much easier in other languages. Now I have a project where we used JavaScript exclusively and the more I dig into the language the more I realise that you can do some really cool stuff in it if only you put in the time.

A stark realization hit me like a cannon: JavaScript isn't a shitty language, I'm a shitty developer for never bothering to learn properly it and writing it off.

Having decided to learn JavaScript I thought I would ask you all for advice on books/courses/anything in between. The only condition would be that it focuses completely on the language itself and touches no frameworks, just pure JavaScript. Bonus points if the book is relatively newer and touches on ES5/ES6 and maybe ES7.

Any help is greatly appreciated.
> As I assumed it was kind of a corner case bug meet corner case bug met corner case bug.

I wouldn't really agree with that. There were two pieces of code designed to perform checks on new configs and cancel them. They both failed. Neither of those checks is a corner case. If you had a spec sheet for the system that manages IP blocks, that functionality would be listed as a feature right up front.
I updated my MailChimp a/c yesterday
It was a dark, tight space, which octopuses enjoy. He may have entered it simply because it seemed more comfortable than where he was.
Wow - great news! We were launching our relatively complex app iOS only, but had some downtime and decided to see how the Android implementation fared: it worked really well (much better than I expected) and hasn't taken much effort to have something that feels really nice.

Now I'm excited to try this project out!
> but the timing alone seems like prima facie evidence for rank opportunism on his part.

Or a result of feeling the full weight of his mistake/perceived injustice.
Per the specs on the store page, the thickness is 3.4-8.5 mm. This means that even at the thickest point, it is still thinner than the normal kindle (10.2 mm) and the paperwhite (9.1 mm), and slightly thicker than the voyage (7.6 mm).
I'm an e-reader fanatic, having bought a total of six for myself and friends/family over the years. I have 3 Kindles - one third gen for reading novels in one hand (I don't have particularly large hands but I can palm the 6" while using my thumb to move to the next page by clenching my hand), one PaperWhite for night reading, and one Kindle DX from ~5 years ago that I still use for PDF's.

Believe it or not there's a huge scene for people who love the 8-9" form-factor. A NIB DX runs 500ish on ebay. I was waiting for this release for ages, but I see no reason to buy it. It looks like you're paying an extra $100 just to get back the side-buttons the Kindle fanatics demanded (it feels way more natural to press a button than make a slide motion, to the point where you don't even realize you're pressing the button after a few pages of immersive reading, unlike the slide action which breaks the continuity -- the same reason why I keep my 3rd gen around).

For $100 more, the Onyx BOOX N96[1] is definitely the best buy out there right now for that larger form factor. You get the same Paperwhite tech, the ability to jot notes down with a stylus, and a significantly bigger screen. I don't have one but I've heard nothing but good things about support from Onyx and let's be honest making an e-reader isn't the most complicated thing out there so odds are you won't need much tech support (you can buy a DX 9.7" replacement screen for ~65 and drive it with a uC almost trivially easily).

[1] http://www.ebay.com/itm/Onyx-BOOX-N96-ML-9-7-E-Ink-Pearl-Dis...

edit: http://wiki.mobileread.com/wiki/Cybook_Ocean 8" for 179$ (not "genuine" e-Ink(tm))
http://wiki.mobileread.com/wiki/PocketBook_InkPad 8" eInk Pearl with front-light for $250 (I've heard great things about this company too)
Should Talented UX Designers Listen to Feedback?
>if you're talking about theoretical attacks where the software figures out how to actively mount a network drive that isn't already mounted in order to wreck it, then you may as well speculate about it figuring out how to delete data from your Amazon S3 bucket

Yeah, and that is precisely where I started my question. To quote (from the post you have replied to):

[...] I see that the AWS S3 IAM user has both read and write access, so if the ransomware authors ever bother with it, they can kill the backups. [...]
I don't normally use these kind of things, but this one was really well done. Nice work! I actually completed it.
The population would be far lower -- because apparently you either get smarts or you get laid.

And we'd all be living in grass huts on the beach. Eating whatever fruits were reasonably easy to acquire.

Not because this is an ideal situation. It's not. But rather, because we're not getting laid anyway so we all lack motivation to do anything to impress MOTAS.
Ok, sorry for the misunderstanding - I'll re-read the post and see if I can understand the scenario you're describing.
Octopi aren't more intelligent than humans, because intelligence in humans is partly external.

We're fairly dumb as feral individuals, but give us a herd memory for science and math and we can fly to the moon.

Octopi not only don't live very long, they're also aggressively solitary. So they have the usual smart-animal problem of starting life as a blank slate with a few baked-in instincts and no way to learn from previous generations.

The blank slate cycle has been repeating for millions of years, so they're unlikely to change now.

If they did, we'd be in trouble.
And even those numbers on the front page are out of date :) (we're even faster now: https://github.com/soumith/convnet-benchmarks/pull/96, which is from a few weeks ago.)

The field is moving quickly enough that many published benchmarks are stale within 3 months, and it's a lot of hard work to maintain up to date benchmarks, given how many frameworks there are. Also there are performance/memory/scalability/flexibility tradeoffs everywhere, so it's hard to capture everything in one number without a tremendous number of caveats.
No they won't. All of the pictures will have lighting from the time of day and weather conditions from the time and place the pictures were taken. The same problems will happen for the background. If I want my neural network to identify the make and model of cars, but every picture I have of a Mazda3 is taken at noon on a sunny day in suburbia then it is reasonably likely to train on the wrong features and either identify trucks on sunny days in suburbia as Mazda3's or not recognize a Mazda3 photographed on a rainy night.
Theoretically, if you uncheck the "enhance my request" option, they won't go through your contacts.
I am not that familiar with iptables/tc, but could the tc definitions created by fireqos be consumed by iptables + ipset (say I have an ipaet storing ip addresses and I want to provide a different qos profile for each ip) ?
The era of AI-human hybrid intelligence
Knowing very little about the case, it's hard to take a side without legal due process. Statistically, from other similar cases, there's a good chance this Jeremy guy is probably full of shit. But this rubbed me the wrong way:

> Still, it’s important to the way Silicon Valley works that such behavior not be tolerated.

You're not above the law, nor should you have more say than any other resident in Silicon Valley (but by all means, vote in elections and write your congressman). If someone makes a legal claim, that's up for the courts to decide. They have every right to make such a legal claim. And investors have the right to fire back publicly, sure.

But this attitude is now starting to make me think that there's more to this:

> Kyle made an extremely generous offer to settle this claim by offering to give Jeremy a lot of his own money.

Smart people don't settle if a claim is baseless. Baseless claims get thrown out quickly and easily.

Edit: from another top-level comment,

>To that point, the fourth cause of action is regarding "Trade Secrets" in the possession of the Defendant and states that "Plaintiffs have reason to be concerned that Defendant may attempt to use such trade secrets in his further endeavors"
Which does prompt a question of how a person who never had any involvement in the company and its technology came to be in possession of its trade secrets.

And now I already have some reasonable doubt that makes me want to think a bit harder.

To re-iterate, I still think this Jeremy guy is most likely full of crap. But I am not a big fan of the attitude and public shaming of YC here. What this tells me is as follows: if I have anything to do with a successful YC company in the future and I get involved in a legal claim that looks unfavorable, some popular top investor could write a blog post shaming me and ruining my reputation for other startups. Not professional if you ask me.
Making AngularJs play nice with Social sharing
Did you know that television screens are not only alive, but male?
Native JavaScript (ditching jquery)
You mean an ICMP request? The IPs were anycast and did not become unreachable until all edge routers had stopped announcing BGP routes. At that point the failure was global. Check out the postmortem, it's a good read.
They do SLO by quarter.
Impraise (YC S14) Raises $1.6M to Abolish the Annual Performance Review
Las3r, we are a startup on the MS/Xamarin stack, let's get in touch. You can reach me at bogdan_at_teravive_com
> fight a few less wars in countries that aren't even interested in what we have to sell.

How? The next democratic candidate for the POTUS already has a global mindset for the US:

> In Clinton’s view, the apparent purpose of America’s existence is to lead the world.

http://www.theglobalist.com/clinton-in-the-bush-league-on-fo...

Under her view, you can't be the world's policeman without having to bust some heads.
Google actually does have a systematic solution: fault injection. Google's systems are designed so that you can (manually, if you have the right privileges) tell an RPC to fail regardless of whether it would otherwise have succeeded, and then test the response of the system as a whole.

The problem is that these failure cases are exercised much less frequently than the "normal execution" code paths are. For example, every year Google does DiRT [1] exercises which test system responses to a large calamity, eg. a California earthquake that kills everyone in Mountain View and SF including the senior leadership, and also knocks out all west coast datacenters. The half-life of code at Google (in my observation) is roughly 1 year, which means that half of all code has never gone through a DiRT exercise. The same applies to other, less serious fault injection mechanisms: they may get executed once every year or two, and serious bugs can crop up in the meantime. Automated testing of fault injection isn't really feasible, because the number of potential faults grows combinatorially with the number of independent RPCs in the system.

I'd be willing to bet that the two bugs that caused this outage were less than 6 months old. In my tenure at Google, the vast majority of bugs that showed up in postmortems were introduced < 3 months before the outage.

[1] http://everythingsysadmin.com/2012/09/devops-google-reveals-...
Does anyone know why Facebook never followed through with open sourcing Haystack, the photo storage tool which I believe is now powering inbox attachments as well?
I have always installed the regular Ubuntu as step 1, and gnome 3 as step 2. Is the a benefit to using Ubuntu gnome over this method?
When I read stories like this I get so angry and frustrated because I don't see how I can help.
The canonical text is probably Douglas Crockford's JavaScript: The Good Parts published by O'Reilly.
Wasn't the plan just "Squeeze through a gap, then slide down a pipe"? I'd hope that most humans could come up with that.
Science doesn't depend on the Inductive Principle? The idea that nature is uniform doesn't inform Science?

How would you test falsifiable theories and predictions if nature weren't uniform?
"Assuming what's written [by one party in a dispute, in this case the most powerful] is more or less close to the truth," especially when huge piles of money are at stake, is a terrible way to settle disagreements, or to find out the truth. Whoever is right in this thing -- I don't know anyone involved, and don't really care who wins -- this is an aggressive, preemptive PR move by sama.
It doesn't seem like any IP was created by the guy in question.
There are many conditions unders which an aircraft autopilot will simply disconnect without previous warning and hand over controls to the pilot.
Jesus... No I didn't know. So, add that to the list of reasons I might grudgingly learn C++.
Ask HN: What LaTeX resume template do you use?
It's just a matter of time before huge writedowns in the valuation happen. And Elizabeth Holmes won't be described as a billionaire for much longer (which unless I have missed something is almost all on paper).

Without a drastic plot twist it appears this company is little more than vaporware. At least the investors that will lose their money are people who should have all known better (and can afford the loss!), back in the dot com boom this thing would have been held by mom and pop.
Agreed. I would actually be curious to read some counterarguments. Alas, noone has offered any
I wonder if something even better is possible, for the common case of mixing ideas/work for a brief exploratory period, but then deciding to go separate ways (for any of hundreds of reasons).

It'd be something that's short and works for early, barely-formal collaborations, that may never form a company. It'd end cleanly – protecting either side – as soon as other more formal contracts/entities are put into place.

It'd probably include a mutual non-disclosure aspect, but the heart of it would be:

* either party has discretion to end the temporary collaboration

* each party has an irrevocable right to further develop/exploit any ideas/plans/proposals that can be shown to have been created during the collaboration period

* granting each other that right is the full and only compensation due each other for the collaboration, in the absence of other superceding written agreements regarding stock, employment, compensation, patents, etc.

Taking the current case as an example, the former collaborator (Guillory) would have the right to independently develop/license/etc anything shown to have been part of the original discussions. (That is, the content of those discussions – not refinements/extensions added later.)

But, after either side having clearly said good-bye, there'd be no further claims on equity/licensing-fees/later-developments.
It doesn't matter who creates it, any IP created while he's a "founder" he owns a share in.
IANAL, but I read a lot of litigation documents, and I think you're right. The quoted part reads more like a tabloid piece than a proper, professional laying out of facts.
The title misspells “Xbox”.
That's interesting. I'll have to look into the dispute aspect of things as nobody has mentioned that before.
The link above has an explanation. For a simpler version,
see this video, which is at the beginning of a Japanese drama about enroute air traffic control.[1] Note that the towers use paper strips, but enroute and area control use screens with images of strips. This is all about who has responsibility for the aircraft right now.

[1] https://www.youtube.com/watch?v=zX4WB_VlD88
Or, a result of the fact that there is now something to receive. Why waste everyone's time correcting stock accounting if the stock is effectively worthless?
5 lessons from Intercom about product development for French entrepreneurs
I sit upon my horde of HN karma burning it daily. I knew I'd be downvoted for replying to a language preference quote. Especially given how very charged the C++ community is as they feel increasingly abandoned by Microsoft.

I am just happy one person liked it. :)
QoS and Firewall are different things in Linux. I have developed FireHOL (iptables, ipsets) and FireQOS (qos) to handle everything. They cooperate to share for example MARKs, but can also be used independently.
Yeah with lilypond you have support for world music notation most of these music frameworks assume you're only working with standard western music styles, lilypond is really powerful.
According to who?
Can you use <script type="module"> with web components/Polymer (in a sane way, e.g. without duplicates being loaded like with the old <script> tag)?
I think so, because they use stock gnome apps, Ubuntu + Gnome will keep the Unity forked versions of Gnome apps (iirc, I haven't gone this route in ~4 years, right).

Plus its one less step, and if I'm trying to get someone to switch to linux, I don't want to let them even try to use Unity because, despite how pretty it is, it's just so slow.
Nobody should ever find themselves in a situation like this. Unfortunately, it's altogether too common even when everybody involved is acting in good faith. I can say from experience that if things ever get to the point they did with Cruise, everybody involved has made a series of blunders.

I've been on the other side (sort of; the situations aren't analogous) as someone pushed out by two other non-technical founders after they'd discovered a cheaper option in a startup-in-a-box (best description I can come up with). I wrote about this on here a year or two ago, but there's nothing like discovering that on the day your grandmother dies, and having to deal with their bullshit while focused on her funeral.

I didn't pursue the matter for a number of reasons (one of the two was a lawyer with sufficient resources to draw out any dispute, etc.), but as angry as I was at them for their actions, I realize that had I been more proactive, the entire situation could have been avoided. Instead of accepting repeated excuses and prevarications like "we'll deal with the legal documents soon, just after X" because the one was a good friend, I should have pushed to get everything out of the way first. I knew better, and I ignored my better judgment for what was largely emotional reasons. In hindsight when I look at how things went down in the end, and I look at the events leading up to it, I'm of the opinion that I was going to be be screwed no matter what. But I suppose that I got the last laugh, as they didn't get a line of code I wrote and they've more or less stagnated since a launch that few noticed and fewer cared about. They might not be dead, figuratively speaking, but they're certainly on life support.

Good contracts that are highly specific might seem insulting to some people (they're not), or they might seem like an unnecessary delay, but they're incredibly important even when everything goes right. They spell out duties and roles, and make absolutely certain that everyone is on the same page with no confusion or misunderstandings so that you can focus on building things without any uncertainty.

Basically, pay the lawyers and get things done right from the beginning. You don't have to go to a large firm and pay out $500/hr for this sort of work. There are plenty of small, solo practitioners who focus on business formation. When circumstances change, or you learn more about the business's nature and the risks you need to mitigate, you can always amend or replace your agreements at a later date.

We usually don't think in these terms, but getting involved in a startup without contracts in place is akin to writing complex code without tests. You can do it, but you're making a huge mistake that'll bite you in all sorts of unexpected ways.
Fitting...this criminal government hires other criminals.
I think there are many valid ways to attack this behavior, but I don't believe you chose one.

It could be as simple as the plaintiff living a busy life and realizing this was his last chance to make things right before he'd be facing GM's lawyers. GM is definitely of the size where they can bring a trial outside the means of an individual to litigate.

The valid reasons to attack are listed at the bottom of Sam's article.
as u/dotBen has said, this type of language is common in court filings. Put differently, although it seems abnormal to read this type of language for us, it would be abnormal for a judge to not read this kind of language in a legal complaint.

It's not the way I wish the world operated. However, it looks like they have legal counsel that will do what's required to win.
Going through something similar with a pseudo ex-cofounder. He has been behaving extraordinarily passive aggressive.

For a long time, he hasn't been picking up phone calls, responding to emails, or completing tasks that he agreed to do. Sometimes he'll send a text, like seven days later, asking for a clarification on a requested-task that has now already been completed.

Things are finally starting to pick up. I don't know what to do. Technically he owns 50% of the "venture" but it's not like we've issued stock, etc. Things are hairy.
You know that phone numbers are largely recycled, right? So, if you change your number often, you're getting someone else's number, meaning your number is already online.
Naive Bayes Tutorial for Machine Learning
> I'll also note that science generally relies on empiricism rather than induction

I don't disagree, but how does that change my point? Empiricism and Induction both need the uniformity of nature to work. How would you prove that nature is uniform without appealing to the belief that nature is uniform?
No, I'd flash the firmware on the camera first before trusting it.

Alternatively, connect the cameras to a second network without any internet access at all, which is probably best for security to the cameras anyway.
Nop. Probably did too much copy-pasting :( Mearly wanted to highlight the point.
For any given shitty situation X, there is an airtight legal remedy had only such remedy been applied Y years ago.

The set of shitty situations is unbounded, and therefore so is the set of hindsight legal techniques to avoid them.
Gave it a picture of an AR-15 on a shooting bench and it thought it was a bicycle.
Interesting view. I've never seen vi as a standard. But it makes sense.
How did a company like Theranos get so "far" with all signs early and present pointing to deep, fundamental problems? I refuse to believe investors simply failed to perform due diligence.
If you read the actual report, it mentions that they did a canary step but its effectiveness was undermined.

> In this event, the canary step correctly identified that the new configuration was unsafe. Crucially however, a second software bug in the management software did not propagate the canary step’s conclusion back to the push process, and thus the push system concluded that the new configuration was valid and began its progressive rollout.
It might lead to some decent work on formal verification of programs.
> it feels way more natural to press a button than make a slide motion, to the point where you don't even realize you're pressing the button after a few pages of immersive reading, unlike the slide action which breaks the continuity

You probably know this already, but on my PW1, you only need to tap the right hand side of the screen to go forward a page, and similarly, you tap the left hand side to go back a page.
Author here, would love to hear if anyone has been using FHIR in testing or production recently - thanks.
there's good reason to suspect that a lot of calamari is pig asshole: http://www.dallasobserver.com/restaurants/npr-claims-pig-rec...