skysight-inc/HackerNews huggingface dataset:
> You need to wrap in try/catch if you want to handle the errors.

Of course, the same way you need to add a second callback to a promise handler if you want to handle errors. There is no difference, really. You're just changing the way you write the code.

Also, you're not forced to choose "await or promises". You can use both as you see fit, in the same block:

async () => {
// make 2 requests in parallel
var p1 = fetchSomething();
var p2 = fetchAnotherThing();

// wait for both of them to be done
await Promise.all(p1, p2);

// continue when they're both resolved
// these "await" only get the values since the promises are resolved
doSomethingWithTheValues(await p1, await p2);
}

> But for sync functions we usually let the error terminate the program because if a sync function throws in runtime it means something is wrong in my program, not in networking

This is just the way you're choosing to see the problem. Promises can be used for anything, it's not tied to networking. I usually write promises that will be resolved when a modal window closes or when an application event happens.

It's just a simpler way to write code. The way you use it is up to you.

Also, async/await makes debugging a lot easier. The debugger can understand that the next expression after an "await" is supposed to be in the same function context. No more adding breakpoints to the callback function because only you know how the code is called at runtime. You debug async functions as normal functions.
I got a fire stick when it was on sale for like $20. It is a useless piece of garbage with a terrible user experience. The UI is clunky, as it tries as unsuccessfully as every set top box manufacturer to do everything with a crappy remote. Chromecast did it right and going back to the bad UI of a set top box is just unacceptable anymore.
I've used Mantis and Bugzilla and I'd also take JIRA over those.

JIRA is the best bug tracking software I've used since I left Microsoft, which was over a decade ago. Sometimes I still miss Raid, particularly it's ability to build complex queries, but also the ability to connect to any team's project. At the time, it was supposedly the only internal tool used throughout the entire company.
The problem with this is that some transforms you can make (like renaming columns) can't be figured out from comparing two schemas.
You lost $10k+ of earnings in the meanwhile.

Compare that with their fees
This is really unfortunate. I can understand that Google, who are probably paying some fairly serious money to Jetbrains for a vastly improved toolchain, feel that it is competely fair to lock Amazon and other (mother) forkers out of the toolchain they are paying to get.

But this does give a lot of ammuniation to those who claim Android isn't really open.

It had been a clear defense against anti-trust litigation: Android is open, and those who want to use Android, like Amazon, are on an even footing. That's still technically correct, but it's not true in practice.

This is much worse than Google Play Services, which is only a clear boundary between open Android and Google's ecosystem.
Was I the only one who expected that bear to move on its own?
Typically your main attorneys are located where you are. If you're going to be in a lawsuit somewhere else, you probably want to hire an attorney (or more) there as well.
I'm interested in why you consider it shady for a retailer not to sell a product. I don't see Google or Apple selling products from anyone but themselves (mostly. Apple does sell a few accessories and Google has some pure editions which they have a hand in). Pick any retailer, and there are brands and products they don't sell.

I could see it being shady if you were talking about denying people access to things they need, but we're talking about selling on the Internet here. It's not like people will have a hard time buying Apple TVs or Chromecasts because they aren't on Amazon. They just have to type the name into their address bar.

I would guess they got a lot of complaints from people who said they couldn't get Instant Video to work on their streaming devices, someone calculated the cost of customer service vs profits of selling those devices, and decided it wasn't worth it... how is that any different form any other retailer choosing to drop a product because it isn't working for them? Customer service costs and returns are probably the most common reason for anyone dropping something.

I know Amazon has a bigger selection than pretty much everyone, but does that give them a moral imperative to not discriminate on products? Seems like people are considering Amazon as if they were a public utility, which seems like a pretty impressive achievement for them.
Probably understood this business more after their acquisition of Twitch.
I think the primary factors behind the growth of the tabletop industry are increased exposure, the drive for more in-person social interaction (as opposed to online videogames), and the introduction of a host of new complex mechanics that keep the games fun and interesting.

Tabletop games today are leagues ahead of Monopoly and many of the other games of old. Those classics have their place, but even with constant rebrandings (I personally own three varieties of Star Wars Monopoly) they're still just the same tired old mechanics with a fresh coat of paint. Nowadays we can play tabletop games that are cooperative, even story-driven, meaning there are no more sore losers and they're engaging enough to keep people coming back.
> Compare the interior or ride quality of a Prius with anything else in its price range and you'll see what I mean.

I'm pretty satisfied with my Prius, personally. My mother's 2010 Chevy Impala may be a little roomier, but not enough for me to care.
> No doubt they try, but the fact is, those kinds of documents can't override the law. In some places, the law imposes minimum standards on what is acceptable in a consumer (or even business) transaction, and software companies have tried to play the "But the EULA says..." card, and if it's actually tested in court they have sometimes lost. They often rely on people not being aware of their rights and/or not having the time or money or willpower to contest the issue.

On the one hand I hope you are right -- when I pay for software I have certain expectations which are often not met. On the other hand I hope that this doesn't apply to free (as in freedom and beer) projects. If the disclaimer of liability were to become invalid in e.g. the GPL a lot of good people could be put to a lot of trouble.
It's my desktop in my home. If someone breaks in (or steals the other yubikey from my keychain, and thus has the keys to my home) I have bigger issues. And they still won't know my password.
Interesting, This would be Amazon's version of Found ( https://www.elastic.co/found ), which is Elastic's (makers of elasticsearch) aws based cloud solution. I wonder what this means for cloud search?

I should note that I work for Elastic on the Logstash team and used to work on Found.
Working from Paris: How NodeSource Helped Us Rethink Our Office
The best way to use bulk caffeine is to dissolve it in water. It's highly soluble and you can easily measure larger volumes of water.
I think a lot of people probably get burned not realizing that the Markdown spec includes all valid HTML by default.

Still, I don't think building a Markdown parser that doesn't sanitize or whitelist allowed tags by default is really excusable, even if it would be slower.

And i've seen several mvp projects posted here that crash if you so much as post an empty form. It seems to be an easy thing to forget.
A pin can be phished, a U2F handshake cannot.
That sounds great. Where are you from John?
One factor that I think has helped a lot is Kickstarter / crowdfunding, which helps mitigate the costs of a first production run.

Another factor is DRM in video games -- why spend 4x$60 on four licenses for a multiplayer video game and hundreds more on hardware, when you could just spend $50 on a board game and have it support four to six people?
They set a project delivery date and you just have to hit it.

Do you find that this really works out, in practice? Joel has argued[1] that the only schedule worth anything is the one set by the developers themselves. Management can set relative priorities (X is twice as important as Y), but trying to force a faster deadline on the developers is like trying to make your Linux box run faster by renice-ing every process to -20.

Now, the problem with developer-set schedules is that they tend to underestimate how long things will take. Hence, FogBugz figures out how much each developer underestimates on average, and builds bell curves for the realistic completion time.

[1] http://www.joelonsoftware.com/items/2007/10/26.html
OK, and I agree with most of this, but that doesn't answer my question. Which came first, China's territorial claim, or other nations building up their islands?

I know that sequence doesn't necessarily imply causation, but if there is causation, which one is the original cause?
I'd lose way more if I signed up for a course. Losing money on rent, no income, + school fees.
The largest reason this is a bad idea for Amazon is that right now is an important time for the "competition of the walled gardens" - I don't expect any of Apple, Google, or Amazon to do a winner take all, but someone is going to end up winning most of this pie.

I am a tech nut, and have been since I first got to try programming a computer in the early 1960s. However I am getting tired of too much tech diversity. I have my Music collection on three different services (Amazon cloud, Google music, and Apple). Amazon cloud has the widest coverage over my devices, but I could see myself in the future choosing one vendor. I also subscribe to Netflix, Hulu, and HBO Go. Three walled gardens is getting to be tedious.

I have had my issues with Apple in the past, but Apple probably has the best shot of providing most everything that I need sometme in the future. Right now, Siri is far beyond Google Now as an AI assistant but that may change. Amazon Echo's Alexa is pretty good, but a really narrow context.

Stuff like not carrying rival's products is probably a bad move.
yes. I've felt this way lately. The overall quality of Amazon has gone downhill sharply. It's resembling eBay or even Craigslist today. I was considering getting Prime a few days back when it was on sale. But I remembered that the majority of things I buy today aren't shipped by Amazon even. Never mind their whole "Prime day" fiasco (which Amazon never owned up to).

From an ethical standpoint, I'm also starting to wonder if Bezos is one of the most unhinged, corrupt people on this planet. Stories from their top tech employees down to their warehouse workers have been nothing short of horrifying.
That's the thing with binary assets, there is no merge path due to them being binary by nature.
Spire Global (http://www.spire.com)| Locations: Glasgow; San Francisco; Singapore | VISA OK | Onsite only

Spacecraft Hardware Engineer (Glasgow) | Spacecraft Software Engineer (Any)

http://www.spire.com/careers

Keywords: Satellites, Space, Linux, C, Python, embedded systems, RTOS, microcontrollers, electronics and hardware, distributed systems and networking, EE, PCBs, etc.

Overview: Spire is a global nano-satellite powered data platform. We build and launch small remote-sensing "cubesats" to capture valuable data from the earth which we then offer to companies (AIS tracking and Maritime domain awareness, weather/climate, etc.).

On June 30th we announced our $40M series B led by Promus Ventures with participation from Bessemer Venture Partners (Skybox). This additional capital will help fuel our growth as we expand and advance the capabilities of our technology, and work to launch our first constellation of 20 cubesats by late 2015.

We are a fast moving, energetic start-up applying agile development principles to a traditionally sluggish and overly-burdened industry (and having fun doing it).

You will never be bored at Spire!

Please email Darin@spire.com if you are interested in learning more. Previous work in satellites not required.
I have a gripe with all these online courses. They only target beginners or they target advanced users. I have done hours of googling to find a stuctured course which teaches "intermediate" CSS...I am not a CSS newbie but I am also not an expert who is interested in animations, etc

I can may be use bootstrap and make grid based layouts that are non responsive. I am yet to find a course which will help me make, lets say, a hacker news UI or reddit UI. I can guarantee you that all these courses fall short of that.
Robohub turns three
while(!iterator.next().done)

I think you meant the above example and not the one you listed in the comment as generator objects in JS always return objects upon calling next method even after finish yielding for long and thus you could have an infinite loop on your hand here.
Are these flying 3-D views standardized? Is there a common WebGL framework for something like this, which includes user interface controls? Something where we can just plug in our own data?
Yeah, but that's assuming a whole lot of infrastructure around marking files read-only.

I also haven't seen what the pull performance is like, P4 is a pretty known quantity(with caching as well).
QP realtime state machines
Hopefully someone can open-source the rule list. Then we can all create ad blockers!
Doctor On Demand | Senior Software Engineer, Platform | San Fracisco, CA | http://www.doctorondemand.com | REMOTE OK

We are a rapidly growing telehealth startup that allows anyone to have a video visit with a Physician, Psychologist or Lactation Consultant. We still have a pretty small engineering team and are looking for another backend / platform engineer to join us.

We use Python extensively. Our main stack uses Django, Celery, Postgres, Redis and RabbitMQ. You can even listen to a talk I did at DjangoCon 2014 that describes some of the technical details (http://confreaks.tv/videos/djangocon2014-connecting-patients...).

You would be responsible for helping us build out new features of the platform as we improve and expand our product offerings.

We're also hiring for positions in Marketing, Business Development, Customer Support and Clinical Operations.

If you're interested, you can find the job posting here: http://www.doctorondemand.com/careers

Feel free to reach out to me with any questions: jshelly@doctorondemand.com
Amazon also refuses to sell firearms. Do you view that as unprincipled?
Apple wouldn't force Amazon in a 30% rev share deal. They don't with HBO and Showtime. And if Apple tried that, then Amazon would be in the right to block Apple TV sales.
Fair point. I didn't consider that it is a full time program.
They want /usr/local to be owned by you.
Looking at the top end of Intel's SSD lineup I see that they have a product that advertises up to 175k IOPS of random 4K writes. Is this what you are referring?

The product is the 2TB P3700.
Do you find that this really works out, in practice?

No. Good luck persuading the management to try something else!
ESLint combined with Babel for syntax highlighting has made my life so much nicer.

https://medium.com/@dan_abramov/lint-like-it-s-2015-6987d44c...
The attorneys handling patent cases damn well better have the technical know-how to understand the subject matter they're litigating. As for the judges, this is the Eastern District of Texas.
Almost no manufacturers do it - historically, BMW and MB have been "caught" doing this, with 335i and C-class AMG engines.

A commonly accepted explanation for this is that the "cheaper" model is made to appear less powerful on paper to entire a buyer to upgrade to next model up (i.e. M3).

Relevant tests from 2010 ~ when this meme started: http://www.automobilemag.com/reviews/driven/1009_bmw_335i_33...

In reality, almost all cars "produce" far less ponies at the wheels than stated on spec sheets because HP is "[S]ampled [A]t [E]ngine" - so by time it reaches your wheels, about 20-30% are lost to drive train.

Edit: formatting
> It's probably retaliatory due to Apple and Google leveraging their platforms against Amazon's video distribution.

In what way? No idea about Apple but as other commentators have said - is there anything stopping them supporting Amazon Video on Android/Chromecast?
> 2.4GHz is a mosh pit that most serious IoT vendors are fleeing due to the high interference and the resulting RMA's and related costs.

Your sales hyperbole is drowning out the good points you have. Knock it down a notch.

2.4GHz is a mosh pit. However, nobody is going away from it precisely because you need it to bootstrap the network. Data is most useful when it hits the internet, and, for better or worse, the only cheap way of doing that is WiFi with the occasional side of Bluetooth Low Energy with an attached phone/tablet/etc (however, people get annoyed at the extra battery drain).

Now, if you convince Apple or Google to throw 433/868/915 chips into all their devices, then, yes, people will dump 2.4GHz like a hot potato.

Good luck, but I won't be holding my breath.
TL;DR: ThinAir | Backend/Full-stack Developer (Python) | Palo Alto, CA | Full Time | On-site (with relocation!)

Greetings fellow HN perusers!

First off - I am not a recruiter. I'm the actual person (employee #5!) you'd be working with, and I'm looking for someone as driven and passionate about security as I am to come help us make a security product that doesn't suck.

- Who am I -
I built the backend here at ThinAir, but previously I worked on Palantir's infosec team, as well as a bunch of open-source stuff (I'm the current maintainer of the Sulley Fuzzing Framework, I've contributed security fixes to ElasticSearch, as well as a few other things).

I love development and information security, so this was a natural marriage of roles for me. I get to build things I want, and change the future of data security at the same time! Groovy.

- What we do -
We're ThinAir (https://thinair.com/), and we're changing the (currently awful) data security landscape. We aim to solve the problem of breaches on both the large and small scales, with a good focus on usability from all sides (end user, admins, CSOs, etc). We don't believe security products should be a game of "select 2" in the set of {real security, usability, stability}.

- What we need -
We're looking for 1-2 more django peeps with decent security knowledge to come help me build out new features in our Django backend. Do you like self-documenting APIs and inception-like encrypted encryption keys? You're probably who I'm looking for. Even if you aren't exactly writing your own encryption algorithms, I still want to talk to you! Security is a mindset, not a finite set of knowledge.

- How to get in touch -
I'm not going to make you submit your resume to a website. I just want to talk to you for 10-15 mins.

Email me (ryan@thinair.com) and we can arrange a time to talk - either in-person over coffee or over the phone.

Be prepared to answer one very simple question - "What was the last cool thing you worked on, and why was it cool?"

Cheers!
Ryan
New PC game discovery service aims to reach beyond Steam
Information Practices in the Physical Sciences [pdf]
Private Internet Access | West Hollywood, CA or REMOTE | Full-Stack Engineers

https://www.privateinternetaccess.com/

We run one of the world's leading VPN services and are looking to grow both the Private Internet Access team as well as find engineers to help us on new projects. We are especially interested in people who care about privacy and freedom. We have a couple of different open positions:

IRC Software Engineer

* Expert-level knowledge of Ruby
* Intimate knowledge of IRC protocol (RFC 1459 et al., CTCP, \001ACTION, etc.)
* Experience writing IRC bots and services (at the IRC protocol level)
* Experience deploying and running ircd-hybrid, Ratbox, or other IRC server
implementation is a plus

Web & Email Software Engineer

* Expert-level knowledge of node.js, Ruby, and shell scripts
* Intimate knowledge of email protocols (SMTP, IMAP, etc.) and relevant RFCs
* Experience writing MTAs, MUAs, or email filtering tools
* Familiarity with secure coding practices, including running untrusted code
(JavaScript) in a sandbox
* Experience with Docker, RunC, LXC, Linux namespaces, or other
containerization technologies is a huge plus

Network Software Engineer

* Deep expertise with C/C++ and cross-platform (iOS, Android, Mac, Windows,
Linux) networking APIs
* Experience implementing custom protocols over TCP or UDP
* Low-level networking stack and VPN (e.g., OpenVPN, SSL-VPN, etc.)
experience is a huge plus
* Knowledge of power/performance considerations in networking protocols

We're a remote team (unless you happen to be based in the LA area, in which case you'd want to come work from our beautiful office in West Hollywood hills), and all of our collaboration happens over Slack and Trello, with the occasional email.

Email jobs@privateinternetaccess.com with your resume and/or links to projects you've worked on, a link to your GitHub (or some other site where we can see your code), and what makes you interested in our company. Don't forget to mention you're from HN!
Is the Boston team and office part of The Echo Nest's in Somerville, or somewhere new?
An aside: Any other podcasts to recommend?
The fact that you went to MIT is probably the reason you aren't getting admitted.
This name will raise unfortunate associations for fans of the Penny Arcade comic: http://www.penny-arcade.com/comic/2005/01/05
I for one used to be a fairly avid computer and tabletop gamer, but dropped them for more active hobbies. If I ever did go back to gaming, it would be tabletop, hands down. While LAN parties were fun, the constant hardware upgrade cycle, grind (WoW comes to mind), misogyny, and just general belligerence of multiplayer online doesn't hold a candle to an all-nighter of classic Civilization (and, no, I'm not talking about Sid Meier's).
I wish the we were getting F#'s computation expressions+asynchronous workflows (monad sugar) instead of C#'s async/await.
Well, sure. But this is the Eastern District of Texas, where it's a reasonable guess that the judges are pretty patent-savvy.
The article ends with "0.538% batting average — exceptional by all measures."

Ignoring the extra % in there, a .538 batting average is exceptional... if you are playing baseball. In this case, you are not playing baseball. Ogilvy's predictions were barely over 50% correct, which is actually pretty bad if you think about it. The article's conclusion is completely off.
"(Incidentally, if Google wanted SDK forks to spread and increase fragmentation, introducing an obnoxious EULA is probably the first thing I'd have recommended. What was its legal team thinking?)"

(I'm a bit biased here, of course, and this is my personal opinion)
I would actually expect it will have the opposite effect.

The fragments already existed. They existed, in part, because it was cheap and easy to freeload on Google's SDK. You could just take it and modify it in incompatible ways and it cost you basically nothing to maintain that.

See, for example, the amazon fire stuff, which was already a fragment, which basically used to say "download the google sdk and do this to that".
Now they can't do that.
They either have to become more compatible (which they did), or spend time producing their own SDK and tools.

IE it increased the cost of forking and fragmenting, not decreased it.

I also don't think the last sentence represents a good understanding of how legal teams work.
Likes and Mentions coming to Outlook on the web
I don't follow...can you clarify please?
Microsoft makes email more social, likes and mentions coming to Outlook
With CSS, it's a little more do it yourself and finding out the best/efficient hacks [sic] to solve a problem. If you can create a grid based layout, you can make a hacker news clone with html/css.
It sounds similar to Chinese.