skysight-inc/HackerNews huggingface dataset:
Ugh, of all the references they could find for Torvalds being "enthusiastic" about systemd.

Oh and Poettering should be reminded that printers can show up as files under /dev (never mind that a basic printer is pretty much a teletype, aka tty, without the keyboard).

Damn it, you could do sound by cat pcm to /dev/dsp even.

Every response he gives in this article solidifies him as a architecture astronaut.
Google I/O 2017 Dates Announced
x86-64 vector compare instructions (mostly) produce masks, which are vector-sized values containing 1 for each bit of the input for which the comparison is true, and 0 where it is false. Since a vector analogue of x == x would be true everywhere, it would result in 0b1111....

It's true that the given C code doesn't have those semantics, but you can see what the GP was driving at if you squint a bit. Uh, and if you know how these instructions work already.
Yeah, I guess it starts by getting more people to run, regardless of their chances :)
Very cool, but it's so slow it's almost unusable. When I scroll around the map, I guess it's going through all those places I've been as opposed to the last place I stop at?
0) The range splits into two model streams, one of which is called iPhone Pro.
The story is even more interesting. OpenSSL did that _and still does it today_. As a result any program that uses the OpenSSL RNG is full of spurious valgrind errors (exactly what you want in security critical code...).

It had (and still has) a -DPURIFY flag available at compile time that gets rid of that stupidity, which is still not default. OpenSSL have not changed it, as I understand, because of a concern that there might exist some embedded system somewhere where that is the only useful source of randomness.

A debian developer saw the errors all over the place, wrote a patch to fix it. The patch, unfortunately, went to far and managed to knock out the secure randomness source to. The patch was posted to the OpenSSL list and no one responded "No don't!" or "Have you seen the already existing DPURIFY?"... and the rest is history.

Fedora, at least, adds DPURIFY, but many other distributions do not.
AWS has a very good and mature support model and is very willing to work with businesses to make their offerings fit their needs. That combined with them having home field advantage will give Azure a long fight.
When did he promise government grants?

He made some promises to workers in unprofitable industries, like reducing regulation on coal, but I can't think of or find any promises of new grants or subsidies.

And he's eliminating some huge government grant/subsidy programs, like the ACA.
Your twisty logic here is how marketing stunts like this happen in the first place, and why we're likely to see more of it in the future.

"Take a selfie with our cam for a free burger!" (* May be used in marketing materials. All shots copyright McDonald's.)

"Give a blood sample for a free burger!" (* Samples may be sold for medical research purposes. Interesting genes found may be patented. Blood sample becomes exclusive property of McDonald's.)

Where do you draw the line? What's too invasive?

This is marketing, it shouldn't demand things from people other than their attention.
More than 1000 drug plants never inspected
Gross. Why would I invest R&D into building a dramatically cheaper MRI if I can't make it up on volume?
user btown answered that elsewhere here in this thread:
"https://github.com/technion/mod_randpad (an Nginx module that injects padding as a comment into returned HTML documents) is likely the correct layer to add random padding; the performance hit would be negligible."
I honestly don't understand this viewpoint.. the false equivalence lately is just insane.

We're talking about Climate Change, can anyone possibly believe that the Republicans in Congress for the past 6 years would have been better on Climate than what Obama achieved through executive orders? Do people just not pay attention?

Here's a quote from the official GOP platform[1]:

> Climate change is far from this nation’s most pressing national security issue. This is the triumph of extremism over common sense, and Congress must stop it.

Fuck it, I'll quote the rest of the references to climate in the official platform!

> Information concerning a changing climate, especially projections into the long-range future, must be based on dispassionate analysis of hard data. We will enforce that standard throughout the executive branch, among civil servants and presidential appointees alike. The United Nations’ Intergovernmental Panel on Climate Change is a political mechanism, not an unbiased scientific institution. Its unreliability is reflected in its intolerance toward scientists and others who dissent from its orthodoxy. We will evaluate its recommendations accordingly. We reject the agendas of both the Kyoto Protocol and the Paris Agreement, which represent only the personal commitments of their signatories; no such agreement can be binding upon the United States until it is submitted to and ratified by the Senate.

> We demand an immediate halt to U.S. funding for the U.N.’s Framework Convention on Climate Change (UNFCCC) in accordance with the 1994 Foreign Relations Authorization Act. That law prohibits Washington from giving any money to “any affiliated organization of the United Nations” which grants Palestinians membership as a state. There is no ambiguity in that language. It would be illegal for the President to follow through on his intention to provide millions in funding for the UNFCCC and hundreds of millions for its Green Climate Fund.

> We firmly believe environmental problems are best solved by giving incentives for human ingenuity and the development of new technologies, not through top-down, command-and-control regulations that stifle economic growth and cost thousands of jobs.

These people are pathological.

[1] - https://www.gop.com/platform/americas-natural-resources/
Whiteboard sticker for your laptop
Runs super slowly at times on my machine.
Even when proving an uninitialized read is undecidable, it is still possible to note that a particular bit of code contains a path which could lead to an uninitialized read, or that it is is impossible to prove that an uninitialized read doesn't happen, in which case a warning is still likely to be appropriate.
The pricing page says:

> Only data delivered via P2P counts against your plan.

Am I misunderstanding this or is that statement backwards?

Isn't the point of a P2P network to get the distributed network benefits of your user base and if so why would I pay for that versus the data that's coming directly off the primary channel?
Building Zero protocol for fast, secure mobile connections
Yes, we do hash verification of the fragments as they are received from users.
Spectacle (React.js based presentations) v2.0.0 is out
Even worse, I have the MBP with the 750M GPU (which I believe is the fastest CUDA card in any MBP) and the models and batch sizes that do fit in memory are not particularly faster than on the CPU, because they can't fully exploit the huge parallelism. 2 GB memory sounds like a lot until you realize that a large part of it is already being used for, you know, graphics. It's possible to get the full 700 GFLOPS out of the gpu (versus ~300 for the cpu), but with most of my models (many layers etc) I get about 200 GFLOPS. Even so, it can be handy to offload the cpu for other tasks while it's running.
I'm not sure about the US, but in the EU and in particular in my country of France, anti-piracy lawsuits have seen a very clearly drawn line between a mere downloader, and an uploader. That's what lead emule and bittorrent to be "dangerous" legally while direct downloading (newsgroup, rapidshare, ...) and streaming almost never led to conviction (even symbolic). That the user didn't realize his bittorrent was re-uploading content to others didn't matter.

So, if I visit a website to get, say, direct copyrighted content (let's say photo, comics, music, whatever) and that website uses webrtc to make me reshare it to other users, my legal status just went from a almost never convicted downloader to a very much punished (even though it stayed symbolic, it was still a legal loss) uploader.
I consider myself to be quite savvy and I'd have zero confidence in my ability to reliably shut down all identifiable traffic, except by setting up a tool that blocks all traffic (like Little Snitch[1]) and then making an exception for Tor traffic.

And then there's the fact that most people's MAC addresses are ultimately tied to their identities in a way that a powerful actor could recover it without too much difficulty.

[1] https://news.ycombinator.com/item?id=13443858
Yeah. If he stayed away from politics, race, sexuality, pop culture, and guns (and toned down the hyperbolic "community luminary" pose) he'd be in general a fairly entertaining writer. I'm certainly glad I read this bit and the attendant HN thread.
What we have now isn't separation of power, it's immense power of the office of the president. The president should be a check on Congress (which he is), but Congress should also be a check on the president (they're not, effectively, because they have handed over so much power to him).

The same power that made Obama good to progressives will make Trump very, very bad to them.
Given the CES announcements from Lenovo, Samsung and asus I can only assume 2017 will be even worse for Apple.

Laptop with 25 hrs battery? Give me two please!
In terms of usage - Skype, Bit Torrent, and Bitcoin come to mind (last two aren't commercially successful yet...)
The compiler detecting uninitialized use catches a lot of real bugs.

A compromise there would be to define it to be initialized to zero, but leave uninitialized use still defined as an error in the program (just not one optimizers can exploit.).

Unfortunately the impact on optimization is also a consideration too.
Don’t Sell – Hire Your Customers
Privacy: The users IP and more is sent to other users of the website.

Copyright: Content gets distributed by the users computer without his consent. He cannot know if he has been turned into part of a piracy network.
Could I perform a Sybil attack on the network?
They are extremely relevant. They are one of the largest tech consulting firms in the world, which makes pushing their products (like enterprise cloud) on businesses a lot easier.
CON laws are somewhat unfortunate when applied badly, yes, but they don't seem to apply here, which describes GE marketing a MRI machine to hospitals that already have one, so that they don't have to transport patients between floors.
Apple patents a vaporizer
'My son's in college now, and I still haven't forgotten when he was not yet walking, less than a year old, and we sat on the couch cracking each other up every time I said the word "chicken." Who knows why it was funny?'

If you'd like, you can try bonding once again over the collegiate-level telling of that joke: https://www.youtube.com/watch?v=yL_-1d9OSdk
Fast Inverse Square Root [pdf]
https://www.nytimes.com/2016/12/09/us/politics/climate-chang...

They did an interview with someone from the DOE on this american life, she said that they have been removing all references to climate change on DOE projects and promoting them as something else in the hope that they won't be cancelled, she also said that there was only one climate change sceptic in the DOE and it's the new boss...
the more they get onto p2p the more money they make.

And the more is on p2p the faster stuff gets delivered and the happier the users are.
Portugal's Unexpectedly Heroic Custard Tarts
Thank you.

I assumed more people would know the history of IBM and how it maintained relevance through consulting work around it's enterprise products when it couldn't keep up with the PC market.
Grats on your launch! I echo the sibling comment that was slightly faster in asking about the disconnect between p2p companies and profitability. There has been no shortage of efforts that tried to capitalize (and monetize) on the success of 'bandwidth sharing' that was perhaps brought to the forefront by BitTorrent, although pioneered before by early p2p networks.

Most of these companies appear to have faltered, while a few of them were bought out by big companies (example: [1][2]) and their technology has yet to be conclusively observed in the wild. Yet another class continues to run their offerings, but has drastically toned down marketing (example: [3]) There are also a good number of non-commercial explorations in this space, of various quality, from toys to demos to full-fledged networks. How do you plan to distinguish yourself?

[1] https://techcrunch.com/2013/12/17/yahoo-acquires-peercdn/
[2] http://www.thesixthaxis.com/2013/03/14/microsoft-acquires-pa...
[3] http://www.bittorrent.com/dna/
Well... SilasX has at least half a point. If the Libor rate is being messed with (and if the messing nets to a Libor that is a consistent, say, 0.05% too low), people making contracts could adjust the offset up by 0.05%.

But I still think that SilasX's view isn't the right way to look at this. Why were people messing with Libor? It wasn't because they were going to make more money off of interbank loans. It's because they were going to make more money off of other things that were keyed to Libor. So, yes, they were using Libor to manipulate the price of things.

And if I understand correctly, it works like this: The contract says Libor + X%. The X is fixed at the time the contract is negotiated, not at the time it closes. Then, later, the contract closes, and uses the Libor at the date of closing. This means that the Libor-setters move last, after the offset is determined. This makes it impossible in practice to use the offset to fix the Libor machinations.
Why we almost quit our startup
I'm not a HW person, how do you use ESP8266 (this is the first time I'm hearing about this)?

https://en.wikipedia.org/wiki/ESP8266
Dr. James expects John Henryism can now be seen across Western democracies, wherever people are inculcated with a Protestant sense of personal responsibility and belief in self-reliance.

This is garbage. What actually is the source of all this unneeded suffering is when people choose to believe the all-pervasive Western media, movie, and music refrain that success is measured by material wealth and prosperity. The Protestant work ethic has nothing to do with an ego-fueled, greedy striving for material wealth at all costs.

The Protestant work ethic is centered on the notion that work is a holy vocation, ordained by God. This belief stems back to when God placed man in the garden of Eden to work the garden (Genesis 2:15). The Protestant work ethic is working simply for the sake of enjoying the gift of labor, which was deemed very good at the beginning. Further, the Protestant work ethic also makes room for a Sabbath day of rest, something often foreign to American successaholics.

Lastly, both Jesus (Mark 4:18-20) and Paul (1 Timothy 6:8-10) and Solomon (Proverbs 23:4) make it abundantly clear the sacrifices involved with worshiping wealth and material prosperity (i.e. the standard-issue "American Dream")
I was going to ask the same thing. The Accounts & Billing FAQ does seem to concur that you pay for P2P delivery:

> A: For the pay-per-Gigabyte tiers, Peer5 charges you at the end of the month based on the agreed upon price and actual amount of data delivered through our P2P CDN during the period. For the Pro tier, Peer5 bills the flat rate at the beginning of the month. For the free, Starter tier, there is no billing, but we do cap your P2P delivery at 1 TB per month.
Yep. With the exception of some intravenous Valium right before my wisdom tooth surgery, I've been fortunate that opiates and do not get along. The pain relief works, but I also feel like I'm going to throw up. Then about 45 minutes after taking a dose, I fall asleep. No euphoria, no feeling of warmth or comfort. Obviously not everyone has this reaction.
Border tax – from the guy who wrote that paper
I totally agree! Without suffering and war, what kind of technology would we have? We would be sitting around with sticks and rocks.
They didn't like the way the future was being made (no voice and no dignity. Coastal elites controlling the wealth of the nation.)

Fundamentally Brexit and Trump are symptoms of a rejection of free-market liberalism as a good idea for the future of the world. People like localism. They like work. People are hungry for a good future. It's certainly not being offered to them by some google-glass Orwellian world ruled by silicon valley and wall street.

People rejected Kurzeil and Nail and the people attending this course. But they didn't reject the challenge of making the most of the future.
I guess a psychopath shouldn't show the same level of aging as "normal" people.
Elon Musk builds ~mile long Hyperloop pod big enough to fit people
You have to remember that game development is really programming + 3d modeling. Idk if you know 3d modeling but I feel like some programmers (mostly game hobbyists) ignore this part of game making and then are surprised why their games look the way they do.
If you're interested in computer vision, rather than using OpenCV you should learn about convolutional neural nets. The field is exploding right now and anything you learn is potentially applicable to a wide range of problems, even outside of computer vision.

You may get skeptics who scoff at the new approaches and say you should learn traditional computer vision or machine learning first. I strongly believe these people are wrong.
- Serverless architecture

- Immutable architecture via Docker & containerization in general

- React & React Native

- Most of the fully-managed services on AWS... a lot of them are turn-key for things that used to take a lot of overhead

- Blockchain
Ask HN: What is the best way to learn databases and operating systems?
My university did a poor job of teaching either. Databases was not required, and it was mainly a graduate course. Operating systems was taught entirely theoretically with no programming assignments, so I practically learned nothing. The university doesn't even have us use C in any courses, besides the one optional Unix course. Are there any recommended resources I can read or watch?
Because people would be more interested and receptive now?
I wonder if they confused the cause for the symptom.

Is reality that people who succeed against the odds are more likely to get sick, or that people who get sick frequently are more likely to fight against the odds?
On net, long term, Obama will turn out not to have been very effective at all, because everything he's done through executive order has/will be undone through executive orders in the few weeks. That's the curse of executive order, and why good, long term legislation won't arise from executive order.
Makes sense to me. Because Apple is discontinuing the Macbook Air - the best combination of power, form factor and price - I'm regularly looking at all available alternatives.

Can't really see how they're doing "what's best for the customer" anymore. More like what's best for their bottom line.
I generally agree that it should be that way, but I don't think Trump is necessarily a good example of why. Both houses of Congress are run by his party, and while they don't always see eye to eye, they do on many things like climate change. If the CDC answered directly to Congress, I don't think you'd see much of a difference.
Given the Apple announcements last fall, I can only assume 2017 will be even worse for Apple.

But let's remember that Apple still makes a majority of all the profit in the PC industry.
Ask HN: What are some of your favorite brands?
I'm curious what kind of brands people are into on HN.

I'd say in order: Nike, Uniqlo, Dove and All Birds.
Unfortunately that's a Windows 10 API, meaning it isn't very useful for older versions of Windows!
I like the description of types of daydreaming. I find myself to be more productive when my daydreaming is, as they put it, "positive constructive" daydreaming. e.g. imagining my goals for the future and what fun I could have, thinking about how I'll grow as a person and how I might reflect on myself after having grown each year. The more I think about these things the 'lighter' I feel.

I suffer from PTSD. When I first started allowing myself to think about my dreams in a positive light, I would distract myself or cut myself off mentally with the excuse that 'Those daydreams aren't real enough. There's no point.' And I would quickly divulge back into negativity.

Because of trauma it can be easy to feel that negativity is what I 'deserve', which leaves a sense of futility that I desperately want to overcome.
In searching for some balance, I discovered the same is true about (again, using their term) "guilty-dysphoric" daydreaming:
it's not necessarily representative of facts or absolute truth in my life, even if it does feel more real. By reminding myself of this and practicing mindfulness (focusing on the present moment) I'm able to pull out of bad daydreams and flashbacks a lot faster.

Anyways, I don't know if there is one answer for the title of this article - I think that it is just clickbait. But to humor it, I know personally my 'default mode' might gravitate towards suffering because of trauma. But I also know I have a lot of room to change if I am patient enough, while new neural pathways/networks are formed.
Back when I worked at Apple the dirty secret was that the cheapest models, despite all the marketing of the MacBook Pro, made up the majority of sales.

Back then it was the white plastic MacBook but now it's the 11" MacBook Air that occupies that slot.

That model and its crappy TN screen is vastly inferior and more expensive than similarly-sized ultrabooks. The only redeeming feature it has is MacOS.

Instead of replacing the Air, Apple introduced the MacBook at a premium price point. It seems like a marketing failure to me that a lower spec MacBook (1080p, slower SSD) wasn't released and the Air discontinued.
Think Your Customer Is Happy with Your Service? Think Again
Show HN: Clickbait detection using Deep Learning
Talking about new jobs without talking concrete numbers is misleading.

US tech industry has 6.7 million workers. That number can be doubled if the median wage of tech worker declines a little. It's still not enough to replace jobs lost in retail, manufacturing etc.

US has currently almost full Nairu employment [1][2]. There are more than enough jobs if wages are low enough. The wage share (labor share as the part of national income) is in permanent decline even with more tech jobs.

---

[1]: http://cepr.net/publications/op-eds-columns/the-unemployment...

[2]: https://data.bls.gov/timeseries/LNS14000000
The hard part isn't anonymously leaking the information. (You could do this with a $0.15 envelope and a stamp. Just remember not to put in your address as the return address and to wear gloves).

The hard part when you leak is that you are now in a set of people that knew the information. That usually boils things down to a handful or even one suspect. With US federal agents where in fact it is illegal to lie to them, they will have you in their office by lunch.
There's no 'but' here. The fact that it's not happening is pretty good evidence that economics of those drives don't work out.

I also explained why it can't be high volume - there might not be enough actual low speed chips to make high capacity drives in volume.

I'm not sure if you understand the economics, but no sane for-profit company will trade margins for high volume.
Is this still true? I never notice open residential access points any more. The last few times I've set up new residential Internet service it has come with a Wifi router that has a password by default.
Ask HN: What should I read next?