skysight-inc/HackerNews huggingface dataset:
I like this ergonomics argument, particularly from a reader's perspective. But having had to read some single return value code recently, I found that the return value returned at the end of the function was rather unhelpful; it usually boiled down to "return rv;". I then had to go back up to the top of the function and follow through the nest of passed conditionals and side effects, fall throughs, and failed conditionals to see how "rv" was modified throughout the function. The non-linearity cost me a lot more thought, whereas with multiple return value code the failed conditionals are "tossed" out of my head very quickly. I think, given that you almost always end up reading the whole function anyway (which is probably good), linear is better than non-linear and consistency (bail early) is better than inconsistency (anything goes) when it comes to error handling.
It sounds like a good decision, but you've just replaced protocol complexity for implementation complexity. At least a single group of designers and programmers can work through protocol complexity. Implementation complexity is going to impact everyone who tries to implement it - any many of them will just give up.
Interesting. My experience was similar when, after years of playing competitively at club level, I decided to give up because I felt I couldn't progress further without devoting several hours a day.

For me it was more because I found chess to be such a demanding game. One can play well for hours (in a serious match) making many good moves only to have it all thrown away by one slip of concentration.
The Lightning connector being proprietary does suck, but it's far and away the best mobile device connector I've used. It's small, easy to connect, and disconnects fairly easily on tug. USB-C is pretty nice, but for similar feature set you have a much larger connector.
I volunteer with our local FTC group - FTC is grades 7-12, FRC is 9-12.

FIRST has really made our lives more difficult, paving the road to hell with good intentions by using android phones instead of microcontrollers, which required all new hardware of pretty poor quality and a Java software stack that some teams are finding difficult. Our local group has been farmed out around the state to provide support much more often than in years past.

That said, FIRST is probably still the best organization for these kids to learn robotics, and I don't know whether FRC is going to suffer the same hardware and software hurdles as FTC.
Zalando optimizes warehouse order picking using machine learning on GPUs
I thought I'd jump straight to what I thought you were implying. But if you want the direct answers: I use google, android, youtube, facebook, and occasionally reddit. I don't generally visit newspaper sites. I know most of them run ads, and still use them even when I know they run ads; FWIW I still use them when I'm using a computer that doesn't have an adblocker installed (fairly frequent), under which circumstance I'm a lot more cautious about visiting sites I don't recognize.
I've read a few pages on this, and everything still seems pretty unclear. Does this mean anything airborne, no matter how small and low-power? Exactly what counts as a "drone"? A paper airplane? How about a balsa-wood glider? The little quad-copter toy drones - they're powered, but don't seem like they'd be able to go over 100ft or so.

It seems pretty reasonable to register the ones that can fly reliably over a few hundred feet, out of easy eyesight of the operator, maybe faster than 10-20mph or so, that sort of thing. But I'm a little disturbed by the apparent lack of a lower limit. It may sound absurd to be fined for not registering a paper airplane, but exactly what part of this says explicitly that it's not required? I'd hope we know better than to trust Government agents not to over-reach in ways that go against all common sense.
Ask HN: Can anyone explain what this js program does?
I received this spam e-mail today which had a .js file attached.

What exactly does it target?

source
https://gist.github.com/dazhbog/7bb55d709e007f206271
s/Hue/Keurig 2
Love it, your site could work better on mobile though, especially making sure those navigation buttons are big enough to hit.
Why Zuckerberg’s Critics Are Wrong
Docker image for y'all incoming...

https://github.com/phanan/koel/issues/10

=)
Could someone explain the tax situation to me?

If putting the Alibaba holdings into a separate company would incur tax, why can't they just put everything else into a separate company, called say "Yahoo Media", and leave YHOO with just the Alibaba ownership?
I haven't tried to run the USB interface off of Linux, but I know they're supported pretty commonly, Mister House is a popular open source project that supports INSTEON on Linux. INSTEON PLMs like the 2413U are basically straight up USB-to-serial adapters, I think they might be supported directly in the Linux kernel, but I'm not positive.

The madreporite.com site I provided above has some decent documentation on device IDs and commands for a lot of devices. And as you can see from the link I provided, communication with the devices is generally pretty simple, 8 or 21 bytes sent over a serial connection, that can be written in a few lines of code. Receiving is a bit more complicated, but he provides sample code for that as well.
I would hope that this website helps: http://www.linuxha.com/common/iplcd/
KidED integrates your child’s education and their playtime
You equate a site trying to compensate themselves by showing you an AD you should be seeing for viewing their content with someone creating a program that maliciously alters your computer and can take control of it? Seriously? Would you like to retract that statement as hyperbole or are you still wanting to stand by it?
Yeah, totally true. It's high on the list for the design overhaul!
> and contrary to common belief, companies are self-interested; the customer's interests are important only so much as they serve the company's interests - for better or for worse

The idea used to be that companies served the consumer interest, and then billed some money in exchange.

When was it that companies become some self sustaining beings, with their own interest to be served? (Yeah, surely when they discovered they could take their clients as hostage. The question was rhetorical.)
Show HN: Lens – Dead Simple Image Annotation Through Google Maps
Just buy a prepaid with cash and register it to your neighbor. It's really hard.
Upstart Intro, Cookbook and Best Practises
And yet people are perfectly happy to assume the risk of birdstrike without grounding every aircraft or needing to regulate or sue birds and bird owners.

Why the hysteria about drones? Does anybody _really_ think xmas drones are going to outnumber birds? What's the real marginal increase in risk for aviation here?

Or is this just a case of "Someone seems to be having fun doing something I don't care for, so I'll invent risk scenarios to justify stopping them from doing it... Because reasons..."?
Who is it then? Spill the beans
Apple's EULA actually requires you to build iOS software on a Mac. Using a PC is not a legal option.
Hi there,

I've been looking for a really simple image annotation solution that is quick, mobile friendly, ready to ingest large-format images, easily sharable, etc., and coming up dry. So I hacked google maps to display my own images. Comments are welcome.

Thx,
D
Over 9 ounces. So no paper airplanes don't count, nor do the mini-drones that are like 3" on a side.
A couple missing useful things to know how to do are split, join, and trim, which I have on a page:

http://www.h4labs.com/dev/ios/swift_cookbook.html?topic=stri...

Something that's not on either page but if you use SQLite, it's important to be able to convert a C string:

let str:String = String.fromCString(UnsafePointer<CChar>(sqlite3_column_text(statement, columnCtr)))!

Make sure you don't have NULL columns.
In my code development, I've definitely found some fun cases. i2cs (newer protocol) devices require a checksum, and they respond a bit differently in some cases. So for instance, my code that does a Product Data Request to get the model info for a device isn't working for i2cs devices right now. I'm still working on that, probably tonight.

I'd think something like Mister House would probably do the sort of simple case you need without figuring out all of the INSTEON protocol.
I didn't even know there were 3rd party lights compatible with the Hue ecosystem. Can someone point me to some brands and models?
Maybe, but:
http://www.reuters.com/article/keurig-green-results-idUSL3N1...
Keurig quarterly profit falls 27 pct (Aug 2015)
Thanks! Fixed... and an extra upvote to you for the trouble.
Which is their right. Investors own the business. If you don't want to lose control, don't sell voting rights for money.
> Or, even better, a timer/motion sensor has already turned on the light for me and I don't even have to think about it. This is what real home automation is all about.

And doesn't involve a wall switch.

Of course, a fully integrated system with switch/dimmer modules in the electrical system is nice, but not really an option in many situations (e.g. renters). Control purely by a phone is certainly not ideal, but is a simplest useable solution you can build on, with additional hardware, apps for special functions, ...
Banksy, for those who don't know him, is probably the world's leading street/graffiti artist.
The truth of the matter is that most recruiters don't know what they're talking about. They don't know the difference between Java and Javascript, and neither do the HR people who generate those job descriptions. Furthermore, most recruiters only care about filling the position -- not whether it's the right job for you. They want to get paid, and they can't do that if you're being picky.

My strategy: cultivate a relationship with a good recruiter and ignore the rest.
Who are you people, displaying such cavalier ignorance of labor rights movements and dynamics?
You can remap or disable keyboard shortcuts in chrome://extensions, I believe!
(you might have to enable developer mode first)

Edit - also, dismissing the view with esc. or clicking anywhere is something I should have done from the start. Thanks!
Pretty much this means we talk IMAP/SMTP/ActiveSync/MIME so your app doesn't have to.

My first suggestion would be to try putting things like that statement front and centre, and then ruthlessly dump about 90% of the distractions you currently have. That one sentence told me more about what your system actually does than the home page, features page, and a few other areas I scanned combined. Following it with more specific information about how your system can be used and what concrete benefits it offers over what I'm probably doing instead today seems like a good idea.

From the pages I read before, I get that you have a tool that wants to be developer-friendly and fully buzzword-compliant. Of course, so does every other online service whose web site I visit. Unfortunately, aside from being something about e-mail, contacts and calendars, there is literally nothing on the pages I saw that tells me what your particular service is for or why I might want it, which is kind of a dead end.

Another point you might like to consider is that your docs repeatedly talk about things like integrating with some e-mail related service. However, "integration" is an empty word here. The back end code for various projects I work with already sends transactional mails via some service provider's mail servers just fine with the usual one-liners. It probably already integrates just fine with some well-known mailing list management services for larger-scale communications, too, again with close to one-liners. So we come back to what does the integration your service offers actually do with mail and calendars and contacts? Systematically process incoming mail? Manage a mailing list? Send lifecycle mails when someone new signs up? IMHO, something needs to say, very clearly and very early, what your USP is.
Thanks! I was kinda asking more of a, "is there some number I should call to get a replacement machine or do I have to go to the apple store" type of question but I'm down for this kinda help too!
So, first, read this sub-thread [0] for a bit of history.

Second, here [1] is a summary of the guidelines from the AMA.

Third, the full FAA rule can be viewed here [2] (PDF warning).

[0] https://news.ycombinator.com/item?id=10733635

[1] http://amablog.modelaircraft.org/amagov/2015/12/14/ama-and-t...

[2] http://www.faa.gov/news/updates/media/20151213_IFR.pdf
The sinking of the old I90 Bridge was pretty spectacular as well.
https://en.wikipedia.org/wiki/Lacey_V._Murrow_Memorial_Bridg...
https://www.youtube.com/watch?v=gm0YQ3vuyyY
I think there was even a song written about it.
All because some dummy left a hatch open and it filled with water. Even more fascinating, I recall that when divers went down to investigate they found a bunch of old cars at the bottom and solved a bunch of missing persons cases.
People apparently drove off of it back when there was a turn around in the middle of it, which was later fixed before the sinking, because so many people drove off the bridge.
I can make it work on SMTP/IMAP, but, right now, it requires a custom setup. I've got a couple accounts that pay to do this... but they also have lots of team members using it.
That's not what "collective bargaining" means.

It entails government enforcement of a set of rules on a labor marketplace for all participants.

Collective bargaining arrangements are why, for example, one cannot be a teacher at a Los Angeles public school without paying union dues. You must operate under the same employment rules as all other teachers.

You certainly are not allowed to undercut them by working at a lower wage level.

You can't just go to the Los Angeles Unified School District and negotiate your own separate contract as a teacher. Neither you nor the school district are free to make such an arrangement.
The worthwhile note there is everything regarding the "PLC" rather than the PLM is too old to work with modern devices. The 2414 is basically not supported by anything anymore. And that page is eight years old, so it's likely missing any content on most of the newer INSTEON devices and protocols.
Isn't that what they're trying to do? Spin off all of Yahoo's current business into a new company, leaving current Yahoo with just the shares of Alibaba.
Companies firing the organizer(s) is a pretty common tactic. That or they suddenly start getting poor reviews/etc. and a paper trail is created to release them.
The US spends almost exactly the same proportion of GDP on public healthcare as the UK (~7.3%) but because the system is so horribly wasteful it gets much less for its money. (Much of healthcare spending is on the old who are covered by public Medicare because private insurance would be unaffordable.)

UK: 8.8% of GDP total spending, of which 83.3% public = 7.33%. http://www.ons.gov.uk/ons/rel/psa/expenditure-on-healthcare-...

US: 15.2% of GDP total spending of which 48% ($3,426/$7,146 per capita) public = 7.28% https://en.wikipedia.org/wiki/Health_care_in_the_United_Stat...

Edit: The 2014 figures are even worse. 17.5% of GDP total spending of which 28% federal and 17% state and local = 7.88% of GDP public expenditure. https://www.cms.gov/research-statistics-data-and-systems/sta...
Your Face Is Covered in Mites, and They’re Full of Secrets
Why? It's pretty easy to swap out a light switch when you move in, and put it back when you move out, without causing any real 'damage' to the unit.
Thanks! Black Swan by Taleb has been recommended to me before, will make it my next read.
Speed up your web apps with Google web performance engineer, Ilya Grigorik
Keep in mind this is Baidu.

This baidu: http://dswalter.github.io/blog/machine-learnings-first-cheat...
As usual, Matt Levine is excellent at explaining these sorts of things:

http://www.bloombergview.com/articles/2015-12-02/yahoo-is-lo...
80K Instagram Followers Later, Here’s My #1 Piece of Advice for Better Photos
Human-Computer Symbiosis at Stitch Fix, a Top Data Science Startup
Can you dump Hue and use Wink? Wink can supposedly control both GE and Phillips bulbs.[1] GE uses Wink as their main control system, and GE is big enough to argue with Phillips.

[1] http://www.wink.com/help/products/philips-hue-lighting-start...
A dead man's switch service to send out pre-composed emails to given addresses when no action has been taken in a given amount of time.

I might pay for that to send out an email revoking my PGP key in the event of my death.
I'd gladly pay another $2-3 extra for someone to do that for me with some automated manufacturing process, and sell me "Pi Zero with Wi-Fi" boards. Soldering mini-USB can be a bear, let alone doing it 10+ times to get a room full of mini-robots or drones or something else to do interesting things. The true value in a cheap computer is really that I can buy a huge number of them at a reasonable price. But a huge number of mini-PCs is terrible if you have to mod each board. If I only needed one, I'd be okay paying $100 for it.

Even better if it's a "Pi Zero with USB Hub and Wi-Fi" for, say, $15, so that I can actually add something else useful besides Wi-Fi, such as a camera or sensor or something else. Sure, there are GPIO pins, but there are a lot of super-useful things out there that come in USB.

I use an Arduino Yun for a lot of basic tasks such as having a sensor report values over Wi-Fi, or putting a couple servos on Wi-Fi with as little work as possible, but the price is steep at $60+ and not much computing power.
All electrical work in the unit has to be done by someone legally qualified to do so (I'm not) and it is not worth getting a bill for a "proper" electrician to fix it for. Also only work for one lamp per room (that already has a light switch) and doesn't do any fancy new color-control features. Everything else needs additional modules and wireless controls anyways, so why do it differently for this one case?

Exchanging batteries in additional lightswitches seems stupid, but doesn't happen THAT often. You can add them if you want them, others make do with the phone and maybe NFC tags or other tricks.

Sure, if I owned the place or would be staying here for many years it might be worth it, but not yet.
Look at the Issues. Trolls are going to ruin it as the path of least resistance will be to disable them.
>a decent looking model with decent functionality

There will be tons of such appliances from the mid 20th century and onwards available on craigslist, flea markets, probably even ebay amaon et al. for quite a while.
When Women Stopped Coding
So there's just under 3000 fewer Canadian Geese than there would have been otherwise?

I wonder what that is as a percentage of the total Canadian Goose population, and the population of large birds generally?

We've recently here had hysterical calls to "cull the sharks!!!" after a few shark attacks. It stinks to me of politically and more likely profit motivations - local politicians wanting to be seen to be "doing something" (never mind the pointlessness or futility of their chosen "something"), and politicians friends who can be rewarded with fat government contracts to buy themselves new boats and guns and go playing with them on the public purse, while making a completely insignificant change to the total shark population or the risk of swimming in the ocean.
When you say "sugar free", do you mean just no added sucrose or corn syrup, or do you mean a true ketogenic diet?

And "less able" in what way?

Early on, you're just experiencing "sugar cravings" or "withdrawl" (not literally accurate, but that's how it feels).

If you stick with it, your blood sugar becomes much more stable hour to hour and day to day.

If you are deficient in aminos like taurine or theanine or whatever, supplements can help. But there is an adaptation process to ketogenic dieting while your brain adapts to using ketone bodies for fuel instead of glucose.
"gaffer" translates to "rubbernecker".
There's a wide spectrum between love and hate.
Americans do not work more than the rest of the world
Despite many reports that Americans "work so much" and they do not get enough "vacation", in actuality, they are just chilling at work more than most countries.
$13.5 Billion in yearly revenue is apparently low scale these days.
They have these things called maps, sold at gas stations.
International Startup Resin.io aims to fix IoT software updates
So true. Google even turned off the DNS for the activation servers for their Android 2.1 devices (at least for the HTC Wildfire) so I could no longer log in with Google to get into the phone and do anything at all. Contrast this to my first generation iPhone which still works despite being several years older...
http://steveblank.com/2009/12/21/the-elves-leave-middle-eart...
There's two problems here:

1. The costs they're incurring supporting non-hue compatibility might very well increase. Lighting is something people think they universally understand -- if it doesn't work when they expect it to, they call. In the rest of the "lighting world", people expect the lamp won't have problems working with whatever switch they plug it into. I still hear people confused about CFLs that don't work with their dimmers.

2. The large enough part of the market that they control might be large when that market is limited to "extremely early adopters of this kind of brand-new technology". The market will grow in many stages over the next few years and this is way to early to start giving people another reason to avoid your products.

I'm usually an early adopter of technologies like this, however, I've held off because there were only a handful of implementations out there and the use cases for them was still a "that'd be neat, but not worth the money". I've recently become very interested and will be buying something in the next 6-months, though this is making me reconsider that now.

I know I'm a future customer of this segment of technology -- not just lighting but upgrading my existing home automation system -- and I'm starting with lighting. I'm not, yet, a customer because I haven't found a good mix of "good product", "good interoperability", yet. So they've gained lock-in of all of their early adopters -- a very short-term investment[1] -- and caused the second wave of (in this case, also) early adopters to look elsewhere. They're nowhere close to the market that even high-end, non-smart bulbs command and they won't see much of it this way. People complain today about having to buy special bulbs for their dimmer switches; this is a whole other level -- you can't even use the lamp you just bought. No way someone like my dad is going to be a customer.

I can see how this might improve sales in the very short-term. It also might not. It will increase support calls. It will hurt their ability to get future customers and might even delay the next wave of adoption as people wait for fear of buying something that will become obsolete. These are all the things I'm thinking about as a person who really wants this technology, has the money to buy it, but doesn't have the money to do it twice. And I can live without it for a bit longer.

[1] Short-term because the people who are buying these for the most part have a lot of disposable income or a very small deployment, so switching to something else isn't necessarily as much of a lock-in as they'd like. And this product in particular, the primary consumer is tech folks -- they'll hack together the interoperability eventually, defeating the purpose.
That doesn't sound very clear to me. I think a better analogy would be: Google and Oracle both made cars. Google put the gear shift in the same location as Oracle.
Boss will be promoted by then because profit went up 150% for two quarters.
Even if a movie was made only in 3D, you can buy or make special 3D glasses that show you 2D by having both eyes the same polarization filter.