skysight-inc/HackerNews huggingface dataset:
> The risk is rather low if you don't live in a totalitarian state and you don't engage in extremely subversive or criminal activities.

And what happens when failing to have an Alexa or equivalent devices becomes an act of subversion or at least suspicion?

> Sure, the government could force Amazon to let Echo spy on you. But they could force Apple or Google to do the same thing with your phone

I think you'll find this is an argument against Google and Apple handing over data wholesale to the government, not an argument in favour of getting another device that does that same thing too.

> The government could also just bug your apartment the old fashioned way.

You mean with judicial oversight and at some considerable amount of effort and expense that would make dragnet surveillance unpopular both within and without the government meaning its use would be reserved only for the sorts of activities proponents of surveillance say it would be used for? Yes, I'm okay with the old fashioned way.

> The big fear would be that echo is storing audio of your house that a future government could use against you. But there is no indication that Amazon does that.

The big fear is that by inviting these amoral entities into our lives they CAN (not will) perform these immoral activities at the request of other parties. It enables it.

> Honestly, my google and bing histories are probably a lot more damning.

Yet you still submit to the surveillance. Good for you. Not everyone is will to make the same compromises.
selfish? It's our god-given duty to procreate now?
Thank you for pointing that out, I will update it in a moment.

I've written a dozen versions of this article trying to accommodate different readers, including non-technical startup community. One of the main functions of NeuroOn is its alarm clock, which promises to "always wake you up in the best moment", which seems not to be true in ~31% of cases.

When I used direct wording about "sleep inertia", my test readers with no background in sleep science just said "Meh, it's better than without the mask anyway, isn't it?".

It's an honest mistake on my part, which only shows how hard science communication really is - and how hard is to choose a language in debunking bold claims.
how are you deploying secrets to your kuberenetes CI pipeline ? for example on a build, you create (I'm assuming) a new namespace.

it seems you are using glusterfs for your persistentvolumeclaim.. why not gce-pd ?
Unless you think drinking beer is selfish, then it would be assumed that not having kids is selfish.
"It's easier to ask forgiveness than it is to get permission." --Grace Hopper
Thanks for the link to the vision document. Even the fact that such a document exists does show that steps are already being taken to give D more direction.

I'm not really a web developer, more of a data analyst with some web services. So the lack of SQL libraries is a disappointment.
The blank screen issue is extremely important to us to fix and we hope to have a change that fixes it shortly. It's a consequence of the new REST API depending on all the plugins installed on your system and exposing its data for JS plugins. If one plugin misbehaves then it 500s the REST response. We've got an approach to isolating per plugin failures so that you can load the page even if one plugin fails.

You can follow progress here https://issues.jenkins-ci.org/browse/JENKINS-39647
Sounds like Groupon all over again.
Yes, a lot of D's choices are finding their way into other languages :-)
YAPF: Google python file formatter
"Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away." -- Antoine de Saint-Exupéry

(Programming wasn't the original context; design in general was.)
Orlando shooting victim's families sued Twitter, Facebook and Google
One great resource I found recently is the series of books called The Architecture of Open Source Applications.

http://aosabook.org/en/index.html

Books are available for free on the website. I'm currently making my way through volume 1, and I can say this is exactly what I was missing - a real-life study of "the bigger picture", of how the code is structured not just on the class/method level, but on the subsystem level too.
[First time commenter]
I cannot thoroughly express the rage this kind of writing provokes into me.
«He came upon the rail crossing before sunrise, having not slept substantively in more than 24 hours [during which he drove 350 miles], the safety board’s report said.»
The guy did something very wrong: what the hell do mapping apps have to do with this crash?
Anything in particular you believe is missing?
There is no data that I know of, haven't heard about any papers from NeuroOn, they aren't very fond of whitepapers. As to real science on the topic, you can check http://www.sciencedirect.com/science/article/pii/S1053810012...

As someone who used NeuroOn I can't see anything wrong with using it sleeping on the side. It's still uncomfortable (to me), but it's not a deal-breaker.
Top 5 Mobile App Trends to Look Out for in 2017
> Rust: Promotes itself to be better C but its simply a more complex language design.

>> huh? Rust tries to solve the real problem of shooting yourself in the foot in C without compromising on being as close as possible to bare metal.

By having a more complex language design. You can't deny that lifetimes and the borrow checker make Rust a much more complex language than C
Don't put images in your signature. It fattens your message, clunks up your formatting and leaves an awkward hole in clients that don't display images.
Good news is parameters are coming mid-Jan https://issues.jenkins-ci.org/browse/JENKINS-38805

Are there any other missing gaps you think are important? I'm keen to get them solved :)

EDIT: I missed the comment regarding search and that is something we are working on. I hope to have a design up for it on https://issues.jenkins-ci.org/browse/JENKINS-38982 in early January and we believe it should be quick for us to ship.
I've honestly tried hard trying to use the Linux subsystem but I always end up hitting a roadblock because of some feature they don't support yet. Recently I tried installing postgres 9.5 and failed. There is also no sync between Windows files and those in Linux. Additionally so far I haven't seen a single good terminal emulator in Windows with the looks and features of Pantheon or iterm.
Either that or select - right click - copy/paste. It all works, but the shortcuts don't align. Ctrl-c is sigint, ctrl+v varies, but in vim it escapes special key press.
It seems that I've made a mistake with comparing NeuroOn sleep stage detection accuracy with actigraphy, which only measures sleeping/not-sleeping states. I'm going to correct that in a second.

You are probably looking for https://www.ncbi.nlm.nih.gov/pubmed/20374444
Add the military spending to ensure control of oil producing countries and cheap oil, and it's more like $1 trillion.
Well, you know, they do choose to sell those land rights that cheap...
Five Steps to Improve Data Security and Prevent Risks
Krugman: How Republics End
The problem with the iPad Pro is that from a professional's perspective, it's a much inferior Wacom Companion or Surface Pro. The pen and display might be very good, but what's the use of having a really good pen and display if you can't run Photoshop, Illustrator or Manga Studio?
Sorry, I wasn't aware that the dollar has increased so much in value..
NASA advisory committee raises concerns about SpaceX's fueling practices – Extre
The standard lib is one of them.
Awesome stuff to buy under Rs. 500/month [link]
Of course Rust is more complex. Lifetimes and the borrow checker are hard to get used to
And then worst case? Best case? Average case?

I was under the illusion that Big-O was always asymptotic complexity (ie worst case) and that other notations (little-o, big-omega, big-thetha etc) were used for best/average/etc case. Perhaps I'm wrong, however.

Which applies to random input? Nearly-sorted input? What's the overhead for a "short sort", can/should I use this to sort small sequences in a tight-ish loop or is it only for large sequences?

Indeed. The details matter.

My favourite example is how a naive linear search can perform better than a non-linear search with a better (in O() terms) algorithm if, for example, the linear search can do most of its work in cache (eg small input sizes or otherwise regular access patterns (predictable for prefetch)).
What Makes Mobile Apps Popular
Not sure why an overall rant post is given this visibility
> but multiple goroutines can run on multiple threads simultaneously

Is goroutines very effective with CPU-bound computation tasks?
In C you have to care about lifetimes and borrows as well, it's just that the compiler doesn't help you with it.
Indeed, and there has been some talk of removing this restriction in C++ because it makes certain kinds of metaprogramming a lot more cumbersome than they should be.
And after you replicated PHP you come to the conclusion the templating language is as slow as hell. So you think: maybe we would need a compiler so we can cache the templates.

The question ofcourse is: why would people rather use:

{for item in list}<li>{item.name}</li>{end for}

instead of:

<?php foreach($list as $item) { echo '<li>' . $item['name'] . '</li>'; } ?>

And I think this goes deep. People are looking for more human ways to express themselves. And PHP is not a very beautiful language. So maybe my first example looks more 'human' than the PHP example.
Ask HN: What do you use to take notes?
I use Notational Velocity for my notes and I love the ease of use but I'd like something that will allow me to share a note with a client and also has code highlighting. And image uploads. I want to be able to upload screenshots. I looked around but can't find anything that's a mix of Evernote, Wunderlist and GitHub Gists. What do you HN people recommend?
Not sure what are you asking.
Could you be more precise?
Companies Face Delays Getting Cash Out of China
> you can be scared all your life

Resistance to technology that has unbounded risk isn't "fear". It's vigilance against an increasingly dangerous threat. Ignore that risk at your own peril.

> this may also happen on your smartphone

What smartphone? Regular phones still work, and a full size screen and keyboard has much better ergonomics.

Also, the existence of malicious software doesn't mean it's a good idea to voluntarily increase your attack surface. Lockpicks exist, but you probably still lock your house and car.

> you see the benefits

That will never happen, because voice input isn't ever going to be compatible with my apartment's old walls. Talking loudly at night is rude to the neighbors.
What (tech) dashboards are you using? (survey)
I am a shitty developer, but as a researcher, I have common sense and my BS radar shows a very big signal at C++ direction. When I see problematic C++ I do not start blaming the developers. Part of the problem is the developer and the other part ~ 50% is the language. Since I am a shitty developer and a coward, I would never do C++ buddy jumping again. Last time I pissed my underwear. The others, who didn't back-off, destroyed a 200.000 EU research program fixing bugs, refactoring and seeking the holy Grail of low-level performance instead of doing meaningful research and improving algorithmic complexity.
Stewart Nelson decided to rewire MIT’s PDP-1 as a prank. Later, Margaret Hamilton tried to use the DEC-supplied DECAL assembler on the machine and it crashed repeatedly. The transcript points out that Hamilton is generally credited with doing brilliant work for NASA on the Apollo project. Did Nelson go on to do anything notable? Just curious.
FWIW, Circle CI offers the ability to SSH in to build nodes and free nodes for public projects
Preferences differ then, in changing roles I moved from an X1 to MBP and it felt like a step backwards; heavy, ugly and poorer keyboard.
How SalesForce Automation Software Can Help Retailers Make More Profit
I think these are cool.

Folks who comment about the price or that they could make something similar themselves maybe don't get it or don't understand there are customers out there who appreciate having nice-looking, interesting physical objects in their lives and will pay money for it.

A similar product that I have heard complainers not understanding is physical bookmarks (the thing that holds your page in a book made of paper). Physical bookmarks can cost more than $7, they also have designs inspired by novels, and they have been a product successfully sold for centuries while any old strip of paper would work and be cheaper too. So clearly someone is buying them.

My feedback is not about design or price. Rather my experience when it comes to smaller products like this and similar when encountered online that are 'nice to have but not need to have' is the time and effort needed to buy it (ie get out my wallet, fill out my name, my address, my credit card info, etc.) while not a huge hassle, is enough that compared to what the product is the purchase just doesn't happen. That might sound lazy or petty but it is what it is. The product is cool but not get out my wallet and spend those minutes to go through a purchase cool.

I would love to see them sold at the check out register at a tech store or a gift shop, or bundled at Barnes and Nobles when you buy a Le Carre or Orwell novel, or companies buy them and give them away to employees and customers. Good luck.
Woha! That's some serious design there. I am heavily, heavily impressed by what the KDE folks are building. I will admit that I don't think I'll switch to KDE anytime soon - I had been using it throughout the 3.x series, and was extremely excited about (and then disappointed by) the 4.x releases, but then switched to MacOS and never looked back.

If I get myself a workstation again (and there are solid reasons for doing so, like CUDA for DNN development when you're tired of working on servers for local development), I'll definitely give KDE another go.
No, I didn't, AFAIK. I'm baffled as to where you drew that from...
Aboriginal Linux
Ah yes, the good old philosophy of communism. Great thinkers have been espousing some variation of it since Plato.

You'd think that after thousands of years these "great thinkers" would learn that nothing good will come from taking private property and making it a "common resource" (read: property of the state)
Does Tesla have the right to move a car that doesn't own? It's private property, I'm sure there would be complaints
We have lots of pre-programed behavior. It's just that it's not conscious.
HTML Color Codes (IndieHackers Interview)
Want More Hardware Revenues? Answer: Open Source Your Hardware
Makes sense. Thanks for the insight Kaz.
An argument I have had so many times with the fiancee (both on the older side but still millennial) is that renting means we don't have to deal with the things that can go wrong with a property. Absolute worst case scenario? We can just pack up and move without hiring lawyers and trying to sell a house. She would much prefer to settle and buy a place.

On the flip side of the same coin we don't yet have kids or any real specific ties to the area right now so my opinion may eventually change.

I realise my two data points are opposing and basically cancel each other out. Maybe grouping by "millennial" is too vague.
Interesting and inspiring founding story; one thing that stands out is the importance of good design even when building a product targeted at developers.
No, it would only be impossible to do business ethically under those circumstances. Which, in fact, it is.
PVS-Studio on C++ Library Review
> This article (like many) misses why people buy Teslas.

Does it? TFA talks about Tesla quite a bit, e.g.

> It's unlikely the Bolt will crush Tesla’s nascent Model 3. It has made essentially the anti-Tesla, a vehicle long on utility and short on sexy. What the Bolt will do is lure thousands of buyers who would otherwise buy a conventional car
Okay dang. I was only trying to comment on how contentious the article was. But if it could be taken otherwise...
Watch “What Is Justice?: Crash Course Philosophy #40” on YouTube
No, the right way is to fix the fetch() api to not return a promise and reflect on why the system was so broken that fetch() api was released with such an obvious flaw.

Because Promises don't need to be cancellable. This has nothing to do with promises. Fetch requests need to be cancellable. But they, in all their wisdom, decided that the fetch API returns a promise. So now promises need to become whatever the hell the fetch API actually needs to return.

You would almost think design by committee is fundamentally flawed, and design by community even more flawed.

Because the edge cases are never obvious. For every new feature the question shouldn't be "do i make 99 programmers 1% happier?", but do i make 1 programmer cry upto the point where they would stab my eyes out if they could?

We've all been that 1 programmer, and yes, i would if i could. It's a clusterfuck of bike shedding. Most new ES2016 have details that haven't been though through and will end up being hated on the same level as '==' and 'NaN'.

The dev-leads of the different javascript engines should not just be able to veto. They should be able to veto people out of the room, out of the debate. And we should celebrate it every time they take advantage of that power. Or just give up on Javscript all together and just let the rot fester.
Holiday robot videos 2016: Part 3
You are ignoring the context, which is that of a portable VM.

1. You obviously can't direct map local fixed drives, and direct access to USB drives yields the same 200-300 MBps read performance, which also has a lot of jitter.

2. To pass-through a GPU you need to be running an ESXi with all the consequences. In particular, moving a VM, while doable through export/import, becomes a royal pain in the ass.

PS. And try and express your thoughts in a bit more civil manner next time.
...Especially in Scheme, where mutation is, by convention, loudly proclaimed! (not-quite-pun intended)
Put a switch to enable self-parking after charge in the car, increase fees for blocking the supercharger to $very_painful, no moving without permission required.
It's really well implemented too, it grabs authorised public keys from the github repo directly, so if you can push to the repo for the project, you can just ssh straight into the build machine. Magic.
Note than in PHP you can also rewrite it as:

<?php foreach($list as $item) { ?>
<li><?= $item['name'] ?></li>
<?php } ?>

Or with shortened PHP tags and alternative control structure syntax:

<? foreach($list as $item): ?>
<li><?= $item['name'] ?></li>
<? endforeach; ?>

Which at this point just differs in delimiters (<? and ?> instead of { and }) from the template language.

I don't have an opinion on this "more human way" to express oneself, but it seems that it would connect this case with the reason people seem to prefer curly braces to parenthesis in code too.
Umm... I donno. I think taking other peoples money in general is a bad thing due to psychology. It's very easy to spend other peoples money but you always think one time extra before you spend your own.

Many of these companies that take on huge VC rounds or take a lot of debt seem to often employ unnecessary many people, hire big unnecessary offices money that would never have been spent if it was their own money.

Sure I understand if you really need to grow fast, but even then I think many spend their money on unnecessary crap even when they have zero revenue.

The goal for every company should always be to maximize revenue and minimize the cost of doing business. People in the startup scene seems to forget that too often.
>It's introducing people to the service and acquiring market. Better prices come later.

You say this as if 75% of the reason people take Uber isn't price, and that one day Uber will simply be able to jack up all their prices and make money. Demand doesn't work that way.
Study Tied to Food Industry Tries to Discredit Sugar Guidelines
Today Fit: Online personal fitness training
A Junior Data Scientist Bookshelf (including Free Versions and HN Discussions)
BlackBerry opens self-driving car research centre
Lots of CCTV isn't government-run. Some is, like local parks or whatever, but most is run by businesses who want to be able to catch folks who have broken in. In order to get access to the footage, police generally need a warrant.

I guess I disagree that "camera == authoritarian", but I totally get your concerns. I'd be more worried about the secret courts(US) and super-injunctions(England) that mean we can't talk about things, than I would about being on camera.
The Hazards of Automation
They should rethink the deployment model instead.

You cannot provision jenkins
unattended without 3rd party hacks and undocumented features. Until this is fixed I recommend avoiding it, as you'll get pet servers. This is totally retrograde to the devops mindset. Now why should I not use that mindset if that proves to be productive at other parts of work?
> Rust [...] C++ [...] PHP

D is a great language, I don't see why other languages are attacked in nearly every post about D. Spend time talking about D as though it existed in a vacuum, spend some time planning in that fashion too. D started off as C+++, but it is its own beast now.

> [Post] Editor support

My first Go PR happened after the fantastic Go VSCode support dropped - even some of the Google gophers are using it now. Prior to VSCode support, I found Go unapproachable. Vim and Emacs support is all good and well, but not everyone uses that and "you should be" is a non-sequitur.
article is devoid of any actual content
Yes, I think modern airports are a good prototype for the sort of dystopian environments we can expect in the future. It will only get worse until the entire thing collapses, as it always does -- Stasi, McCarthyism, Gestapo, you name it. This time it's more scary because the technology is sci-fi compared to the previous iterations.

I am more and more convinced that the cyberpunk guys got it right in terms of predicting future trends :(
Hey there,

I am the community leader for Jenkins Blue Ocean and Product Manager for the project at CloudBees. It's really great to see Jenkins users getting excited about Blue Ocean!

Please let us know if there are any missing features that are blocking your team from adopting Blue Ocean. We know there are some gaps between Jenkins Classic and Blue Ocean and while we have some good ideas, we are relying on your feedback to help us prioritise what to work on next.

If you've got any questions feel free to drop a comment here and Ill do my best to answer them or join our Gitter community [1]

Thanks,
James

[1] https://gitter.im/jenkinsci/blueocean-plugin
Those aren't complex features, just hard/unfamiliar features. Rust has many fewer features overall than C++ and D.
AU is at 50 but the internet is so poor here that I thought we'd be further down the list. ADSL over very old wires. No cable option in my building and no fiber. Wireless is too expensive. It's really shit.
Byobu and Vim =
Teamviewer's remote display technology is very good. Last time I checked I couldn't find anything with that fidelity.

I also think that good product is worth paying for. We paid about 1.5k Euros to get remote sharing between the four of us about 5 years ago, but the product quality isn't as good as it was back then.

Also, Teamviewer advertised it as being a "lifetime license", but when the next major version came out (after about 4 months) they wanted another 900 Euros to upgrade, i.e. lifetime license for that major version. And they like to increment the major version number (now on 12).

Sure, I should have read the small print, but I view this as a dark pattern, we never paid any more money to them and never will.
Columbia Challenges Vote by Graduate Students to Unionize