skysight-inc/HackerNews huggingface dataset:
>Say you slept 10 hours a day and lived to 100. In other words, you have 14 wakings hours times 100 years. 1400 hours, in other words. Now compare this to sleeping 6 hours a day and living to 80. In other words, 18 waking hours. 1440 in a year, in this case.

True, but what's the quality of life of those zombie-walking hours?
A curated collection of open source Machine Learning projects
Original article is much better. The "Not To-Do" List was inspired by Charlie Munger's idea of inversion.

“Problems frequently get easier if you turn them around in reverse. In other words, if you want to help India, the question you should ask is not ‘how can I help India,’ it’s ‘what is doing the worst damage in India and how do I avoid it?”

“A lot of success in life and business comes from knowing what you want to avoid: early death, a bad marriage, etc.”

“It is remarkable how much long-term advantage we have gotten by trying to be consistently not stupid, instead of trying to be very intelligent.”
Both can be true simultaneously. Precision ads can be immoral and creepy and still not actually work.

However I don't believe the "precision ads don't work" hype. I've noticed a dramatic increase in the quality and relevance of ads in the last few years, even as I mostly stopped using Facebook, Snapchat, Instagram, and Google. Amid all these bot scandals, I would still be shocked to dind that hyper-precision targeting is ineffective without adblockers and such.

Crying out "ads don't even work!" is just a desperate attempt by anti-ad people (like me) to find some indication tha the ad emperor has no clothes.
Privacy from the state never really existed, even before the internet. Paperwork always allowed the state to know things. Information has always been power, and information is an important tool for governments so they can be able to work. I think it always has been.

I'm more worried about privacy from private interests. The issue is what the governments do with data, and if the government let private parties access it, and where do you draw the line between the government having right to access, and companies being allowed to access it, because you will often have situations where things are not clear.

To be honest I will always have a problem with the whole privacy/surveillance debate, because there are things the government should know, but only because it is the government. Private companies are now being able to track people and have the same kind of data the government has.

So there is a big nuance, and it is often shut out by the outrage, which frankly comes from a libertarian agenda, which I have a problem with.
Why don't say it as "avoid refined sugar" instead? I have a cocoa powder box with no sugar in the kitchen Hmmmm...
Feature Request HN: Posting Multiple Submissions/comments
Just reporting a bug, I know it's PHP this board, but the "posting too fast message" I thought could be fixed, just in case the computer programmer behind didn't know the error message was coming up.
> Don't step on someone's ego

That seems a sad self-limitation. Stepping on egos can be fun, especially in VC and start-up circles, where there are so many overinflated ones. I mean, it's probably not good for your chances of getting funded or networking, but...

Come to think of it, I think I know why I'm bad at networking.
Drones are more helpful than ever in hurricane-ravaged Texas and Florida
I'm unemployed. I sleep 10 hours per day.

When I was employed, I slept 6 hours per day.

The difference in mood is massive.

However, I'm not sure if the working world will change. It's a zero sum game of who is willing to torture themselves the most, which is sometimes correlated with how much work you produce.

At my past job, it wasn't enough to just produce. You had to /look like/ you were producing. This meant working 8-6. This meant skipping lunch. This meant always sitting at your desk (no walking meetings).

Obvioisly not every employer is like this. But working is a pretty decent way to kill yourself. It happens to most people eventually.
>But what if DuckDuckGo provided a splitter-feed to the NSA? DuckDuckGo can claim without lying that they store no personal information, but that speaks nothing of a collaborating partner storing it.

Not to mention they don't need to provide anything themselves. Unless DDG has their own cables to users homes, after DDG connect to the internet backbone and before the user connects to DDG, the various agencies have all kinds of opportunities to get their feeds. It surely isn't SSL that will prevent them.
Chasing the Flame: Does Media Coverage of Wildfires Probe Deeply Enough?
> it's unfair to claim stuff is slower without improvements.

I claimed no such thing. You're arguing against a statement I never made. Isn't that what's called a straw man argument?
14 h/d x 100 y x 365 d/y = way more than 1400 hours
Flow Dojo – How to attain “flow” (for $5,000)
> Because grave accents are rarely used on their own, and they were thus picked as rst's "meta-character" for roles (inline extensions). Apostrophes would be significantly more problematic.

And they require a combination of two keys, pressed twice, on international keyboards.

[Shift]+['], [Shift]+['] gives you `

If you want ```, you gotta press [Shift]+['], [Shift]+['], [Shift]+['], [Shift]+['], [Shift]+['], [Shift]+[']

If your language, or any of your software, ever uses grave accents, it’s dead to me. I’m not going to do twelve key presses to mark something up

For example, multiline or highlighted code in GitHub’s markdown is ```java blablabla```. That’s
[Shift]+['] [Shift]+['] [Shift]+['] [Shift]+['] [Shift]+['] [Shift]+['] [j] [a] [v] [a] [Space] (...) [Shift]+['] [Shift]+['] [Shift]+['] [Shift]+['] [Shift]+['] [Shift]+[']
How I Accidentally Doubled My Productivity and Creativity
Why is it necessary to download the mobile app and register with it just to test drive the web app?

You lost me there.
The irony is that the people who complain loudest about tribalism (nationalism, xenophobia) in contemporary political culture display exactly those attitudes toward people they disagree with.

Anyone who thinks tribalism can be eliminated lacks self awareness or a least a mirror.
Or {{{ }}} as used by Creole. Unlike Org-mode, which despite the OP's claims is not at all standardized, Creole is an actually standardized [1] (but probably still under-specified) lightweight markup language. As shown on the Wikipedia page [2] it has pretty much all the other mentioned advantages.

Another important advantage of using block syntax is that it offers a natural uniform extension mechanism, potentially even with auto-completion for improved discoverability. For example Trac uses this for source code highlighting and plugins.[3]

[1] http://www.wikicreole.org/wiki/Creole1.0
[2] https://en.wikipedia.org/wiki/Creole_(markup)
[3] https://i.imgur.com/zbkU670.gif
One big point of “Western civilization” ... is rejecting tribalism

It isn't really rejecting tribalism, it's something more akin to the 'FairBot' tribe from the article. It is a way of selecting members based on adherence to a very complex set of tendencies and behaviours; in other words, a Shibboleth. It's been more successful in the recent term because it has succeeded in identifying tribe members independent of ethnic origin.
It absolutely does not shy away from rejecting people who fail at performing the Shibboleth and it doesn't care if those people are the direct descendents of tribe members. Exhibit A: the number of people in prison in the West.
This Hack Brings Virtual Reality to the Commodore 64
I assume whoever made the decision figured that minus-sign is more commonly used for other purposes in text (although usually one should be using an en/em dash (which would be `--`/`---` in Org-mode) instead), so it would be harder to read (especially in text-mode where you don't see the strikethrough).
Lead is a high-Z material, which provides a lot of electrons to interact with photons (and charged particles). It’s not good for stopping the neutrons that pose the danger here, because of the disparity in mass between the shield nuclei and the neutrons. For storing fissile materials in proximity, the optimal material is something with a high absorption cross section, like boron. Water and plastic are good at removing energy from neutrons and preventing leakage in typical large shielding scenarios, but in this case they would increase the danger, because they thermalize neutrons efficiently (as does a workers body) and this increases fission interaction probabilities and reduces the margin to criticality. For spent nuclear fuel, something like a boron-carbide plate is used. LANL may use something similar.
That would make sense if one were talking about time spent on furthering one’s goals, or enjoying life’s pleasures. But in many cases I think we are talking about an hour before sleep spent “idly” browsing social networks for one more “information fix” which I suspect most would not consider worth the trade off if made to choose. A bit similar to smoking perhaps... the reduction in productive life span feels far away, and the temptation in the moment is hard to resist.
Chrony: Comparison of NTP implementations
Spend more time alone
A brief overview and history of systemd
Arbitrary detaining 50,000 people per year, no right to remain silent, arrest and imprisonment if you refuse an arbitrary search...

Yup sounds like I need to avoid the UK too!
"Focus is a matter of deciding what things you're not going to do." - John Carmack
>One thing that never seems to be discussed in these type of articles is that for most people time awake is significantly more valuable than time spent asleep. An extended lifespan is of little use to me if those extra hours are spent unconscious.

Those extra awake hours will be worse quality anyway, and less productive, because of the insufficient sleep -- and this is cumulative too.
Even more, D&D was actually a lark where these wargamers took a break from their usual 'realistic' wargames and attempted to build a structured fantasy wargame. The role-playing aspect came along later.
Yeah, that's my problem with org mode: if you're not on emacs, you're a second class citizen. It's a natural outgrowth of the fact that it started as just a tool for emacs users.
Germany‘s president waiting in line for today‘s general elections
"A Review of Criticality Accidents" (http://permalink.lanl.gov/object/tr?what=info:lanl-repo/lare...) provides a history of such incidents - an interesting, albeit quite shocking read!
Quite ironically, the report was published by LANL.
I use Amazon to look up ISBNs so I can order through my local bookseller, unless it turns out to be a book I can only get through Amazon.

Good for you!
How is "western/christian/european" different from "western"?

EDIT: the current framework of international order has roots in Westphalian notions of nation states, which is indeed christian and european.
>Say you slept 10 hours a day and lived to 100. In other words, you have 14 wakings hours times 100 years. 1400 365 hours, in other words. Now compare this to sleeping 6 hours a day and living to 80. In other words, 18 waking hours. 1440 * 365 in a year, in this case.*

You haven't adjusted for the worse 'wake-time' quality, loss of productivity, and worsened day-to-day health and focus, because of the lesser sleep.
Montgomery Modular Multiplication
Wasn't the consensus that 7h sleep was the best for lifespan and more or less than that lead du decreased life span?
Say you slept four hours a day, and by 50 you have precancerous cells growing, and significant dementia.
Personally, I feel doctors should tell their patients to try to get as much sleep as possible.

I know in America it's not feasible. Maybe we should stop trying to do everything perfect in life, and not show up for every event?

"Is it possible to have too much sleep? This is unclear. There is no good evidence at the moment. But I do think 14 hours is too much."

I've been interested in this one for years.
How to Have a Winning Mentality
Ask HN: Http://screenwipers.weebly.com/
I'm stuck. I order a MOQ with Emma from Sczenchen on Alibaba for 3000 - 4000, but i've only sold 493. I've invested the past 6 years of my life in this idea.

Advice?
> The only conclusion I can make from this article is to avoid services hosted in the USA

The thing is, there are absolutely no guarantees it's any better in other countries : the fact that NSA activities were revealed doesn't mean other countries don't do as bad.

It's probably still a good idea to segments services across countries, though, so that it's not a single country who have access to all data.

I was thinking something else, lately (and it was really weird to me, since I'm a webdev): why do we need webapps for everything? Maybe we wouldn't have so many problems if we weren't centralizing so much data. There are probably many apps for which native apps and p2p would do.
How to Launch Your Startup in 3 Hours
The board is not made in PHP. It's made in Arc that is a LISP like language.

"posting too fast message" probably means that the system thinks that you are posting too much. The mods added a los of small tweaks to prevent flamewars and spam. (Sometimes these tweaks block innocent comments by mistake.) The message doesn't mean that the system is too busy.

Anyway, for an official reply you can contact the mods by email hn@ycombinator.com
Analyze, Decide and Stick to your Decision (at least for two weeks)
https://en.wikipedia.org/wiki/Demon_core

> On May 21, 1946, physicist Louis Slotin and seven other Los Alamos personnel were in a Los Alamos laboratory conducting another experiment to verify the exact point at which a subcritical mass (core) of fissile material could be made critical by the positioning of neutron reflectors.

> It required the operator to place two half-spheres of beryllium (a neutron reflector) around the core to be tested and manually lower the top reflector over the core via a thumb hole on the top. As the reflectors were manually moved closer and farther away from each other, scintillation counters measured the relative activity from the core. Allowing them to close completely could result in the instantaneous formation of a critical mass and a lethal power excursion

> Under Slotin's unapproved protocol, the only thing preventing this was the blade of a standard straight screwdriver, manipulated by the scientist's other hand. Slotin, who was given to bravado, became the local expert, performing the test on almost a dozen occasions, often in his trademark blue jeans and cowboy boots, in front of a roomful of observers. Enrico Fermi reportedly told Slotin and others they would be "dead within a year" if they continued performing it. Scientists referred to this flirting with the possibility of a nuclear chain reaction as "tickling the dragon's tail", based on a remark by physicist Richard Feynman, who compared the experiments to "tickling the tail of a sleeping dragon".

An aside: It's this kind of shit that scares the crap out of me with regards to nuclear energy. Some - literal - cowboy completely disregards the rules, endangers him and his colleagues, and then someone gets injured or killed. All for the benefit of showing off.

We should do better than this, but incidents like this give me little faith.

Unsurprisingly, this experiment killed Slotin:

> On the day of the accident, Slotin's screwdriver slipped outward a fraction of an inch while he was lowering the top reflector, allowing the reflector to fall into place around the core.

> [Slotin] received a lethal dose of 1,000 rad (10 Gy) neutron and 114 rad (1.14 Gy) gamma radiation in under a second and died nine days later from acute radiation poisoning.
it should be Electron-based of course
FWIW I have been using vim with Colemak for quite a few years now, with only movie remains needed to get movement back on the home row [0]

0: https://github.com/jimhester/dotfiles/blob/master/colemak/vi...
Web app may not be as good as you wish, but I think GUI app development either on desktop or mobile is definitely worse. Otherwise there won't be a market for hybrid apps. For those desktop app guys who haven't heard of vue, spend some time going through its guide, you will find web development is actually much more advanced than anything you are using.
I see, thank you for the explanation. I know the concept of Powershell but I haven’t really used it.
Great read, thanks for sharing it.
This is a great set of articles, thanks for sharing.

I place category theory within the same realm as the lambda calculus. Understanding category theory will enrich your understanding of the underlying computer science concepts, particularly with respect to functional programming. However, it's far more in the realms of computer science than software engineering. Software engineers can benefit from a conceptual overview, which this blog post provides in excellent form.

Unless your work involves formal proofs, I can't see many software engineering use cases where a more in-depth exposition would carry significant utility.
> An adult sleeping only 6.75 hours a night would be predicted to live only to their early 60s without medical intervention.

I wonder if this controls for other lifestyle factors. Eating a lot before bed makes me sleepier and I could go 7-8 hours a night. Small dinner several hours before bed results in about 6 hours. No alarm clock, that's just how much I need. I find it hard to believe that I'm shortening my lifespan by eating less at night.
You gain nothing from being shy.

Video games that are not in some sense a social bonding with your friends may amount to very little. To take the context out of video games, I know one person who spent countless hours on pool (billiards) and regrets it, and another who spent his whole 20's upgrading cars and more or less regrets it (as it robbed him of enormous amounts of time that he could have spent with family/friends and also a bottomless money-pit).

Don't feel like you have to be hanging out in beaches/bars/clubs to have a good time. Some people really like being in forests, chopping wood, taking care of chickens, making food, etc.

Use social media like Facebook only as a means of keeping in touch (think of it as a system of open letters) and for finding your people (the people who care deeply about the things you care about).

Answer enough questions on stackoverflow and you'll get job/book offers.

You gain nothing from being shy. Really. Talk to everyone around you.
It's worthwhile to remember that Athenian democracy was direct and not representative like nowadays. Individuals voted on bills rather than electing officials to vote in their place. Plato claimed this form of government led to bills passed by popularity contest and tyranny of the majority which sounds pretty modern to me.

Still, I'd prefer democracy with all its problems to the Republic he proposed.
> And Reddit has a JSON output.

I did not know that. Very cool. I tried this for AmazonTopRated => https://www.reddit.com/r/AmazonTopRated.json?sort=top&t=all and got a forbidden / 403 error. Turns out that subreddit is "Private" / Invite-only.

However, google cache still has links.
https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fwww.red...
There are also tools that allow to take your seed and split it in m subgroups so that you need at least n out of m to rebuild it. So instead of giving password to a single family member (or two relatives, half and half) you can give it to more people and you can still recreate it even if some lose it
Hyperloop One Now Has  Million to Make the Transportation System a Reality
Alright, down vote me more dudes. You should give reasons for down voting. I'd guess it's just because of the "NO NO NO NO NO NO". And that's BS.
I'm anti-nuclear in Taiwan, mostly to the earthquake risk. I'm apathetic about nuclear in Switzerland.

From reading the ScienceMag article that nerdy linked to, I learned that PF-4 has been unable to make new weapons for 4 years due to their safety staff quitting. I joined some anti-nuclear protests before, but those protests aren't targeting any individuals.

Meanwhile my best-case scenario (shutdown of weapons production) is happening, because the staff quit due to bad management.

Good things are happening for the wrong reasons!
I'm pretty sure the numbers aren't plausible. I feel at my best if I sleep about 8-9 hours. Maybe I can cut half an hour and still do well but sleeping only 6 hours every day guarantees I'll feel like shit all the time and I'd be surprised if it shortens my lifespan by anything less than 30%
Point wasn't that I was lazy, point was that I had the impression after university I'm a dev and get a job and work.
That's fine for storing, the problem is that you need the key to sign any tx, so if you just have the paper wallet you need to import it to a computer or mobile device each time you need to do it while if you have an hw device the key never leaves it
The prevalence of XSS suggest that the web ecosystem has failed to produce the sort of tools you suggest. If such tools actually existed and were good, people would use them and web app exploits would be a curiosity rather than an expectation.

However, no such tool exists. I think there's a deeper issue here: the sheer number of ways you can generate XSS alone, even ignoring the other exploit types, is far beyond what any tool is capable of stopping. Look at one of the XSS holes found by Homakov that I linked to from my article:

http://sakurity.com/blog/2015/06/25/puzzle2.html

The XSS occurs on this line of JavaScript, not HTML:

$.get(location.pathname+'?something')

That's a simple line of JQuery that does an XmlHttpRequest to the same page that was loaded with an additional parameter. By itself, it is not an XSS. But if the backend is/was running Ruby on Rails (presumably some old version by now) then it could turn into an XSS due to a combination of features that all look superficially harmless.

Show me the tool that would have avoided that type of exploit, without already knowing about it and having some incredibly specific hardcoded static analysis rule.

When I argue that the web is unsafe by design, it's because cases like that aren't rare, they're common. To paraphrase Veekun, scratch the surface of web security and you'll find yourself in a bottomless downward spiral, uncovering more and more horrifying trivia.
Show HN: Simple landing page with sign-ups, referrals and sharing (PHP/MySQL)
Ridiculous? Not at all.

In the context of the history of the CIA and NSA it's standard procedure. And that's just the stuff we know about. Certainly Snowden taught us anything is possible, that they have no restraint.

B

On the other hand, politely asking an outfit like Equifax for (just about) ALL their data with no real reason would be out of character. Why bother? Why go on record?

It's pretty simple. Why would they get via hack? Answer: Because they can.
Gigged: Weekly interviews with successful side gig creators
Weekly list of all books recommended on the Tim Ferriss podcast (newsletter)
A agree that a large student loan is a heavy burden. But, like a car payment, it's a reasonably easy burden to avoid having. So it surprises me that so many people list it among their biggest problems.
Any Tim Ferriss fans that like to read books? I will send you one email per week with all books mentioned on the podcast during that past week.

Ps. If you want all books that were ever mentioned, these guys have a great list - http://fourhourbook.club

There is also the same thing for books mentioned on HN - http://hackernewsbooks.com
This isn't some theoretical design. Any native application that uses a binary protocol framework like protobufs over TCP to communicate with the backend will benefit from this approach.
When we are approaching new somewhat abstract project idea we do a IS and IS NOT exercise and get the sponsor to sign off on the lists. This has been helpful in the last 15 years of my career.
The tide is starting to turn against the world’s digital giants
Ethereum Bulls Keep Bears Away While All Else Turns Red
Interesting article about Barrett Wissman
This doesn't seem to update when "data" is updated. Without that, it's not even a little bit like React...