skysight-inc/HackerNews huggingface dataset:
> I'm not a fan of defensive programming as it can hide an obvious bug for a long time (I consider it a Good Thing that the program crashed otherwise we might have gone months, or even years, with noticing the actual bug).

Not when you do it the right way! You should only mitigate unexpected situations if you also log it, monitor it and handle it with error callback etc.

Also see my other comment in this thread : https://news.ycombinator.com/item?id=12871541
I would probably say I found a two headed coin. I also like how "HHHHHHHHHH" is shorter than "I tossed it 10 times, all heads"
Bear: write beautifully
I don't know how these wine comparisons are done, but it's tricky to set up comparisons.

A famous version of this was the "Pepsi challenge". It turns out that people preferred the taste of pepsi in the test conditions, but coke in other, longer testing conditions. So part of it is biochemical (e.g. the taste you experience on the first bite/sip of something is not the same as the 20th) but some is also mental. Your experience of the taste of something can change with the environment you sample it in.
> because in a state of nature 100% of employees use fixed desks.

I didn't bother replying to that part of your comment, because it was obvious that we were talking about two different things. There is nothing "natural" about the office seating arrangement. The management wanted to reduce the employees to interchangeable cogs. You don't have personal desks, and any attempt to favor one, to make it "your" desk was quickly noticed and frowned upon.

> If you don't want to be noticed, you need your actions to carry less information, not more.

If everybody else acted the same way as you did, the way that management favored, your actions carry absolutely no information at all except for the fact that you follow management's dictates. If everybody just grabbed the closest desk to the door that was unoccupied, nobody is giving up any information that they didn't already have to give up by following management.
Worrisome because consequences of climate change have the potential to cause 100s of millions of humans to move in a timeframe that is impossible to deal with.
Your expectations have a huge effect on your subjective perceptions. One thing I've found is that wine tastes better to me in a "proper" glass, i.e. one with a large bowl and thin walls. But I have no idea whether this is a "real" effect or all in my head because there's no way to do a blind comparison. On the other hand, does it really matter? You can suck all the pleasure out of just about any activity by overthinking it.
When Bob Dylan Practiced Downstairs
Isn't it a hallmark of Apple that all of their stuff usually works together though?
SEEKING WORK
Fullstack developer (predominantly web, but have created desktop/mobile apps too)

Location: Currently in Mexico, British Citizen (London), returning to UK in December

Remote: Yes

What I offer: I can take a concept and develop it into a working idea (confident designing UI), or I can take a well spec'd requirement and develop it to exacting requirements.

I can also work on existing code bases, whether you have documentation or not and fix it or add further developments.
I am also a specialist in performance tuning. If you have a problem with speed, drop me a line.

Tech skills: ASP.NET MVC, C#, VB.NET, ASP Classic, Entity Framework, SQL Server, CSS/LESS/SASS, Front-end frameworks (Bootstrap, Knockout.js, React), Javascript / jQuery, TDD (Test Driven Development) and performance tuning (databases / code). I also have experience with SEO, WordPress, PHP, Android, SSIS, SSRS, SharePoint and other technologies. Experience with various source control - Git, TFS, VSS and SVN.

Portfolio: http://akeel.co.uk
Github: https://github.com/akeelm
Linkedin: https://www.linkedin.com/in/akeel-mughal-669b4b13
Email: contact@akeel.co.uk
Front end web developer looking for new projects
It's difficult to make fun because the AI are typically intended to lose, but it's cool when it happens.
This makes sense to me, excepting the timeline perhaps, only I'd also modify it to mean only that whichever candidates were the finalists in the previous iteration are ineligible to run again. In other words, my party may have picked a candidate that the nation as a whole rejected, but it does not mean that another candidate who ran in my party's primary would be rejected by the nation as a whole. Otherwise I think you may be throwing the baby out with the bathwater.
For me (also ~1000 lines of rust in production), the tooling and packaging was a huge winner. Having docs (with a doc generator), a test framework, a package manager, and a helpful [cross] compiler all put together, along with blazing speed and amazing reliability at runtime is an amazing combo.
I'd be interested to know how variable it is from person to person. I had long-term (>1y) treatment with reasonably high doses of fairly mild opiates (tramadol/codeine) twice, as well long-term treatment with benzodiazepines, and each time I literally just stopped - no tapering or dose reduction, no withdrawal or ill effects (aside from the original pain returning), and no cravings to seek more

Cigarettes, on the other hand, I've smoked a couple of times (1 or 2 cigarettes each time), and every time there's been this thought at the back of my head "I should get some cigarettes" for most of the following day. It's obviously not addiction and easy enough to ignore, but it's definitely a noticeable effect. Interestingly two lengthy (4 hour plus) shisha sessions didn't have the same effect (was a little light-headed and felt like I'd had about 50 cups of coffee, but no effects or cravings the following day).
I am posting jobs that welcome latinos and/or anyone else who is competent.
For Apple branded adapters:

USB-C to USB Adapter from $19 to $9

Thunderbolt 3 to Thunderbolt 2 Adapter from $49 to $29

USB-C to Lightning Cable (1m) from $25 to $19

USB-C to Lightning Cable (2m) from $35 to $29

USB-C Digital AV Multiport Adapter from $69 to $49

USB-C VGA Multiport Adapter from $69 to $49

For third-party adapters:

SanDisk Extreme Pro SD UHS-II Card USB-C Reader from $49 to $29

All other third party USB-C peripherals about 25% off
No, you're not the only one. More and more it seems the show is about people using technology in the cruelest possible way against each other. It's The Outer Limits with less range and more smartphones.
There's some coverage of the "why I chose not to use Rust" in the Rust community survey that happened earlier this year: https://blog.rust-lang.org/2016/06/30/State-of-Rust-Survey-2...
I'd rather learn C.
I agree it's slippery. I never dropped my Nexus 5 over the last 3 years. Pixel's been on the floor at least 3 times and once it just slid out of my pocket on a reclining cinema seat. It looks like I'll be getting a rubbery cover soon.
If you don't always sleep in the same place it means lugging a charger.

It means you can't go to bed drunk and neccessarily expect your alarm to go off in the morning.

It really just means that any time your life gets out of routine, your phone is probably going to die.
TL:DR - if there is fire to that smoke, the fire is in the form of an single amateurish IMSI catcher.
<post class="devils-advocate">

And yet not one single instance of Google misusing their collected advertising info exists. All of the dumping on Google Services has, to the day I write this, proven to be absolute FUD without a single concrete thing to point at.
Airbnb or the host told you that?
I did that on Android too. I hate the iPhone's "YOU MUST LOOK AT ALL YOUR ICONS" mandate, because a quick swipe down brings up a search that's much more efficient than looking at things.
Thank you, we've updated the link from http://www.wsj.com/articles/rolling-stone-found-liable-in-de....
I totally reject the conclusion that the workforce will be significantly reduced by any imminent technology.

Your main point is correct, but take in account this, too:
So far technology has replaced or created new jobs requiring not much more in terms of skills.
To make a very simple example: cars were not extremely more difficult to drive than a cart. And way easier (less physical strength required, for example) than riding a horse.

So if someone was intellectually capable of learning to drive a cart, they could probably manage a truck. People leaving their farm (thanks to increased mechanization of farm labor) could move to the city and work in a plant or in a blue collar job with little training.

Of course, advances in science and technology also created whole new jobs that required a lot of study (I dunno... Engineer, Chemist) but it was not like everyone who was made redundant as a cart driver or a farmer would move to the nearest city and become a scientist.

So the problem seems to be this: assume that half of the truckers will be made redundant in 10 years. How many of them will succesfully "pivot" in something else, like truck AI programmer? 1 in 1000?
Of course, they could become ... truck mechanics... but, wait... we already had mechanics working on human-driven trucks, and the fact that some trucks are now autonomous will not require an large amount of extra repair shops to cater for them.
So, what will the not-truck-driver-anymore guys do?
Fair enough, that doesn't sound discriminatory to me (not that you need my permission). Good luck!
But part of the apprenticeship scheme (the BT one at least) is a degree.

- work in a high tech campus
- work on projects for the company
- go to lectures
- get a degree
- from a University

I am all for the Dyson initiative, but people should be more aware that this is an option!
When it was first introduced, I used it very rarely.

With iOS 10, I've started using it frequently, many times per day.

So the answer, at least for me, has changed dramatically very recently. If I were already considering a move away from iOS, I would never have started using the new iOS 10 3D touch stuff to begin with, and therefore wouldn't know what I was missing.
Not everyone uses USB ports on a regular basis (can't recall the last time my wife did on her Pro) and even fewer people would use more than one. So I'm inclined to think including even one USB-A port would significantly impact adoption of USB-C by third parties.
Indian Scammer Keeps Screaming at Me (Warning: Funny): YouTube
> this would be easily remedied by just charging your phone while you're sleeping

This goes well and according to plan until you go to bed really tired one day and forget to put your phone to charge. And then it happens again a week later, and then again...

(This might be related to using your phone in bed)
We often reject becuase of schedule conflicts or becuase think the guests are renting solely to party.

Instead the site heavily pushes you toward Instabook which is automatic book with zero host input.

Black sounding names? I'm, your average airbnb is pretty wealthy.... You dont get white trash nor ghetto names as much in general.
Nice! I cracked a joke about how SC2 was nothing more than an AI testbed just last week, lol. Very glad to see it's becoming a real thing!
Style Checking for Angular 2
The critical bugs left are actually race conditions. They happen rarely, more often under high load.

Everything was fine in testing, everything was fine in production... at first.

Fast forward a bit. More application put in docker, a lot more load in both testing and production. Things go wonky.

If we ran our current systems in Docker/Debian from January, a host would crash every hour and we'd have figured out the unstability. Instead the docker adoption happened slowly, while a few patches (and temporary regressions) were released along the year.
It would be nice to have a phone that could survive a few days without charging. For example if you go camping for the weekend you can use your phone to take photos without worrying about battery.
Thank you! We are currently hooking into ThemeForest, WrapBootstrap, TemplateMonster and several individual free theme providers. After this beta release, we are planning to add top houses like ElegantThemes as well. One of the main points, and expensive! additions different than most of other showcase website is that we spend lot of time curating the free themes as well.
By liberalism.

You literally allow both choices, and each person gets to make their.

That obviously does not work for everything. But it's always important to keep in mind, and if you look at any modern government by those lenses you'll see plenty of superfluous regulation that does nothing but put people down.
Completely agree. The first two seasons had more of an "unexpected consequences" vibe. I never got the feeling they were trying to lecture me, I just left wondering "Hmm, I wonder how I would react if this was the reality of the world?". I've only watched 3 episodes of S3 so far (1, 2 and 5), but I couldn't help but feel like they were all drawn out and beat the viewer over the head with the message. At one point in E1 a main character literally explains to the viewer what is going on. And E5 was particularly bad. There was a very interesting point to be made on the realities of genetic screening and they just barely touched on it.
There are 13% fewer desks than people. Sounds like finding a desk there at least once a day is about as fun finding an open meeting room other companies. Plus, you can't find anybody because you don't reliably know their home location.
Energy Giant Shell Says Oil Demand Could Peak in Just Five Years
If everyone is transmitting, including their fridge, coffee machine and alarm clock - that would change the game.
After two or three decades behind bars, you don't care about your freedom anymore. (Watch "The Shawshank Redemption" and see what happens to Brooks, if you don't get what I mean.)

I really don't get where this ridiculous focus of human rights activists on the death penalty come from. Sure, death is irreversible, but so is locking someone away for decades. I actually think decades behind bars is more cruel than a swift death.

Which reminds me... why aren't the false experts who caused the convictions of innocents locked away themselves? How is killing a man by lying about evidence not murder?
It's like saying that a Go AI would have a huge advantage because it can move instantly, giving the opponent no time to think. Perhaps it contributes, but strategy is far more important.

See "The Marginal Advantage," an essay from the famous Starcraft player Day9: http://www.teamliquid.net/forum/brood-war/64514-competitive-...
I really didn't like the 'bee' episode because it brushed a frightening ecological disaster under the table so it could have an episode about how mean people are on twitter. Really?

Even if we could construct something like those robot bees, what effect would that have on the surrounding eco-systems? What happens when a bird or a frog eats some little carbon-fiber robot? I feel like they squandered a more interesting premise in order to tell a sillier one.
Fair enough. In regards to the first point, though, you'd already have to carry the cable which I find to be more cumbersome than the plug itself.

I wish he would've elaborated a little more on battery life, as there's a big difference between a phone that barely makes it from morning to night and one that can't quite survive until the night of the second day since charge, both of which would need a daily charging.
You could use some kind of library of example "mistakes" made by very-high-level players to identify when lower-rank players are making similar errors; then point out to the user how everyone else who made that mistake 'updated' their behavior.
Check this out Blisk – the first browser for web developers
Let's Encrypt crowdfunding campaign
You just described the fixed mindset to a T.
https://www.brainpickings.org/2014/01/29/carol-dweck-mindset...
I think you mean 120?
This is pretty interesting.

DeepMind’s last triumph (beating the best human Go players with AlphaGo) is impressive, but Go is a great fit for neural networks as they stand today; it’s stateless, so you can fully evaluate your position based on the state of the board at a given turn.

That’s not a good fit for most real-world problems, where you have to remember something that happened in the past. E.g. the ‘fog of war’ in a strategy game.

This is a big open problem in AI research right now. I saw a post around the time of AlphaGo challenging DeepMind to tackle StarCraft next, so it is very cool that they have gone in this direction.

When Google’s AI can beat a human at StarCraft, it’s time to be very afraid.
Denying pre approval is easy and no damage to your rep.
3D Printer Tragedy Claims a Life
Well that system is partly to thank for the rich info they are forced to give up for secret court orders from the US government, so I'd say there are some.
I learned to stop having such conversations long ago. You either agree completely with the zeitgeist and get domesticated as an "ally", which is like being a little mindless pet. Or you disagree with a point or two and get savaged, and marginalized.

When I just avoid the topic, everything stays OK and everyone remains friendly.
With wifi, bt, and mobile data on, I easily get 24h out of my pixel. (not xl) And it does doze state pretty well: ~8% charge drop overnight (that's around 1% per hour of complete inactivity)

If you pay 3d games or use it constantly, of course you'll need to charge it sometimes. But for casual usage with standard basic apps, I sometimes forget to plug it in at night and it's not problem.

https://i.imgsafe.org/cfad953cec.png
I think Docker is meant for apps in a shared environment (with other apps). If you run dedicated app servers Docker is an unnecessary abstraction.
I have to use Skype's infrastructure to use Skype. Obviously. That doesn't mean my data should also be transiting Google's infrastructure as well. Especially if I supposedly have an open source phone.
I'm a black airbnb host.... That platform is pretty easy to avoid Racism via Instabook.
"Experts", as in the vast majority of all scientists and physicians with relevant credentials amongst whom there's a near unanimous consensus on their efficacy and safety.
raising the limit is a pretty easy request to aws support.
Those sandboxing solutions are toolkits that help you employ Linux kernel APIs to achieve a desired configuration. The Linux kernel is the underlying sandboxing API, and Docker and rkt and systemd all expose its features in different ways.

For example, if you launch a container with Docker, then you might tell it to employ user namespaces as a way of isolating processes within the container from the rest of the system. This helps ensure that "root" inside the container is not really "root" outside it, and that the "nobody" user in two different containers is not actually the same user.

Systemd also gives users the ability to employ user namespaces (and other kernel features) while launching services, in this case through the --private-users flag to systemd-nspawn [1]. The article we're discussing does not describe a new systemd component, but a new set of configuration parameters for employing, in user space, some features offered by the Linux kernel. One of the new parameters is ProtectSystem=strict which launches processes with a read-only view of the file system.

It's valuable for systemd to support these facilities directly and not punt the problem to a higher level. To summarize, since systemd is the init system, exposing these features in systemd means that Linux kernel namespacing features can be employed even with very low-level system services; and they can be employed in configuration by administrators even with services that don't know how to self-sandbox to the same degree.

[1] https://www.freedesktop.org/software/systemd/man/systemd-nsp...
You also wouldn't get the same I/O performance a stripped mirror will give you. You can get extra resiliency using a three disk mirror.

Disk is cheap. There's no reason to design like it's not.
Chelsea Manning Tried Committing Suicide a Second Time in October
Yes, H.264 has brightness/fade compensation for past frames. It's called "weighted prediction".

The previous codec MPEG4 part 2 ASP (aka DivX&XviD) had "global motion compensation" which could encode scales and rotation, but like most things in that codec it was broken in practice. Most very clever ideas in compression either take too many bits to describe or can't be done in hardware.
I run a FreeNAS device at home (ZFS underneath).

It was kind of a pain to configure (albeit quite flexible) but it's been pretty nice overall, already survived 1 disk failure and a capacity upgrade (during which I had to resilver after every individual disk upgrade, which was time-consuming, but after the last disk got upgraded, the extra space finally showed up)
Thanks.

Given a directed graph with on each
arc a maximum flow and a cost per unit of flow,
how to find the least cost flows for
a given total flow? That is linear programming.
The simplex algorithm takes on a special form,
and a simplex basic solution corresponds to a spanning
tree. A simplex pivot is adding an arc to the tree to
yield a circuit, and getting the cost
of sending a unit of flow around the
circuit evaluates that new arc. Etc.

W. Cunningham defined a strongly feasible
basic solution which avoids cycling.

IIRC, D. Bertsekas has a good (polynomial)
algorithm for that problem.

I didn't see such mentioned in your
table of contents.

On my 14" screen, your PDF files would be
much easier to read if the maximum
number of characters per line was about
50.
I've introduced some people to craft beer as their first alcohol, and they've tended to seriously enjoy it when given a few options and allowed to taste and choose. Of course, if you're given a house vodka and coke or a bottle of Whatever Light as your first alcohol, you're not going to like it.
Definitely, but my guess is that Starcraft AI's are really good at Macro play (building the right units and tech trees), but at the upper levels of SC players win or lose in Micro play (specific positioning of units), which is much harder for an AI to accomplish well, since there are a lot of little tricks. Basically, Macro can be programmed easily, but Micro requires the player to respond creatively.

http://wiki.teamliquid.net/starcraft/Micro_and_Macro
It's basically my dream laptop on account of the screen: wide gamut, variable refresh rate, great brightness and contrast. In the regard it's way nicer than the Air (which is what I have now). But I do any heavy lifting tasks on a (cheaper + Windows) desktop with an i7 and 32 GB of RAM, so my laptop doesn't need to be the beefiest machine in existence. Nor do I run piles of VMs or huge deep learning datasets. IMO it's a computer more for artists than it is for programmers, and that's driving a lot of the negativity about it on HN. We're mostly programmers on here.

On the USB-C note, I'm curious what happens to the Mac Pro now. They're pushing USB-C as the new standard for pro accessories, and yet the Mac Pro doesn't support it. As if being 3 years old wasn't bad enough, now it's 3 years old and has the wrong ports.

Here's hoping for an "Our bad, the new Mac Pro has USB-C, Thunderbolt 3, upgradeable GPUs and multiple drive bays," but I'm not holding my breath.
“Past performance does not guarantee future results”

I don't have a single bad thing to say about Google, but that doesn't mean that I am not afraid of their power and I don't dread the day that the current management will not be there to keep them in check. And sooner or later that day will come.
Obviously, because they haven't created a fully conscious artificial intelligence, it's a complete failure.
By "most of us" who exactly are you referring to? I wasn't aware there was some kind of user survey etc that was used to determine that stuff. I thought one person just added that to the bottom of the comments guidelines. Was there a vote or something? I'm very curious how you know that is what "most of us would prefer".