skysight-inc/HackerNews huggingface dataset:
Using social expenditure in % of GDP to measure its "cost-effectiveness" is problematic, as there's wide agreement social spending has a big impact on GDP. (Structure of the spending is the other big variable of course)
> Many people, including myself, find exercise to be mind numbingly boring, and intellectually insulting.

I used to think the same way but decided one day that I was going to walk/jog ~10km every day and eat healthy. Now, I really enjoy walking. It gives me a chance to think about the problems I've been trying to solve during the day, what I'm going to do tomorrow, etc. And at some point I actually started enjoying the _feeling_ of doing exercise. It's hard to describe, and I know that myself from 12 months ago would believe me but I definitely wouldn't want to stop exercising.

So my recommendation is to spend your time while exercising thinking about whatever was bothering you during the day. It's quite relaxing, frankly. To be fair, my exercise routine doesn't include the gym but the same logic applies there.

> (Pick up a weight and put it down? That is quantitatively zero work, buddy. No thanks.)

While true if you're using the strict physics definition of work, its not true if you use the common meaning of the word.
And even if they did, how do we now when they make you use the open source version of protocol and when they switch to a government-mandated (or cracker-pwned) protocol version for selected customers?
Add,Edit and Delete Record Using Bootgrid , PHP and MySQL
> How is that different for publishers that use any other third party script or service?

I personally don't see it as all that different. They are both terrible.
It can't be "so much more effective", otherwise the Air Force wouldn't give stims to pilots.

And anyways, why not both?
Isn't changing the problem usually quite an elegant way to solving a problem..? I don't have any examples to hand, but I'm pretty sure being able to rerepresent or slightly change a problem has been applied to great success. In the applied sciences at least...
Ha, yea we did see that. We were planning to launch today already when Google announced the full search support and Shopify announced their future support. We're glad to see Shopify validate our idea and since it seems like they're still a bit out with their version we're hoping to make some headway and plan on allowing sites to customize their AMP pages in the near future.
I've found melatonin best used not on a regular basis, but on nights you know it will take extra time to get to sleep, or when you have to wake early. Its more about keeping your sleep schedule in check.

"Conservatively, a bottle of melatonin pills will cost about 6 USD for 150 pills". This is the part I find interesting. I live in NZ, and melatonin isn't readily available - unlike most drugs here it's not government subsidized. It costs $20 for 10 pills, and you have to visit a doctor.

Crazy accessibility and cost difference.
> It's pretty well-known fact that African people live in Guangzhou have been treated preferentially

You've lost your last ounce of credibility. And, for your information, preferential treatment based on race is also racism. You don't seem to understand what you're talking about.

[1] https://www.washingtonpost.com/news/worldviews/wp/2016/05/27...
I guess it'll depend on the emerging markets with slow(er) connections when Duo really shines (presumably it can work on 3G and fallback to audio only on even slower connections).
Interesting how different doses affect different people differently.

Melatonin works great for me as well. I take 5mg. Not sure if my dreams are any more vivid than without it, as I've been taking it every night for years. I think I've always had vivid dreams, though I no longer get recurring nightmares (which I had years prior to taking melatonin; not sure when they ended).
Oh, I have no interest in using the app because I don't trust Google. I just wanted to make a point about how they could include end-to-end encryption while still having their assistant provide similar functionality to their examples; looking up sushi making videos, finding restaurants, and providing directions. It's obvious why they don't though, and it's the reason I'll be skipping this app.
TIL on both counts! Thank you for educating me!
Very cool! Thanks for the info!!
I prefer clicking on a non-amp page and having it load instantly. It's a lot easier to code, a lot easier to use, and isn't adding unnecessary cruft.
Gotcha. Is it definitely technically feasible, or is that still unknown?
There is also the even older sci fi story "Understand" by Ted Chiang.

https://en.wikipedia.org/wiki/Understand_(story)

https://web.archive.org/web/20140527121332/http://www.infini...

https://archive.org/details/TedChiangUnderstand
What's the latency of your connection? You can get 4 Mbps throughput (which is not a lot by itself, BTW), but the latency may be too high for a video chat.
I rarely find embedded developers in forums praising gcc-like interfaces and complaining about IDE's. This should happen more often.

Can you recommend any boards that allow embedded development without need for Windows (Microsoft or X11)?
Someone mentioned this on HN a few months this ago, ended up grabbing twilight(Android - I like reading in bed).

It has made a noticeable difference!
[Edit] Replying to my post to edit, since no choice given to edit.

Should say "I like Fstar" above, but asterisk turned on italics...
Funny timing of this article. Just 3 days ago I was sitting at my desk and had this awesome calm come over me, something I've only ever experienced at the end of a long day when a hangover finally breaks. I looked at the ingredients in the two "Just Chill" drinks on my desk and noticed each had 150Mg of "Suntheanine" which was one of the listed nootropics in this article.
Yes to both your suggestions. It also would stave off transmission line upgrades.
J++
It's hard for me to fall asleep. I haven't cracked it yet how to do it perfectly. What helps: view the problem as improving your likelihood to sleep. Before I viewed the problem as falling asleep 100% of the time, which is a really defeating view to have when I can't fall asleep.

Sleep tips that help me:

1. meditation: still experimenting with body-scan vs. breath meditation, they both help but have different effects.

2. magnesium: makes my body more relaxed.

3. sleeping less if needed: improves likelihood of falling asleep the next day, it's a tricky thing to do but applied sparingly and timed right it works really well. When I do this I prefer to sleep the 6 to 7 hour range.

4. reduce stress: sometimes hard to do but pretty essential for me.

5. flux.

6. opening your window for sunlight during the day: get vitamin D first thing in the morning.

7. buy quality decaffeinated tea: some green tea manufacturers say it's decaffeinated but it's not really. Or maybe it is but it still keeps me energized and awake.

8. no caffeine after 2: preferably not after 12, preferably not at all, use meditation and power naps as a first line of defence, only add caffeine when those 2 aren't enough. Preferably do the power nap + caffeine wombo combo (takes 20 min. for caffeine to reach your brain which is also the ideal power nap time).

I'm curious about other sleep tips that you guys have. I really want to improve this as much as possible.
What's New with Emacs 25.1
Could you perhaps be a little more specific? Sure, we use OR, AND, and even XOR to deal with conditionals that map to T and F, but this seems like kind of a surface level use of booleans. When do we invoke the algebraic properties of the structure when coding?
The only way to get a screen shot was to use a camera or a VCR.
Bootstrap is a lovely little thing. I use it for all new projects, as it kindly stops me from being nerd-sniped by CSS features and cross-browser comparability quirks. I usually end up needing to supplement it or replace it eventually, but it gives you so much for so little.
Road Roller – Motu Patlu in Hindi
How to hide it: inside the secret world of wealth managers
The terrible truth is that consumers don't give a shit about standards, freedom, and the greater good. They just want the website to work with the least amount of effort possible.
Stims are for long missions and when getting sufficient sleep is not possible.
I'm using a very similar approach in the design of my library of data structures and algorithms:

(0) The interface of an abstract data type (set, heap, etc.) is the signature of a variety in the universal algebra sense. Implementations are concrete algebras of this variety.

(1) Homomorphisms of varieties can be used to bootstrap abstract data types from simpler ones in a generic way. Chapter 10 of Okasaki's book “Purely Functional Data Structures” is entirely dedicated to this technique, although he doesn't make the connection to universal algebra.

But are also some differences:

(2) I'm using a functional programming language (Standard ML), rather than an imperative one (C++).

(3) I emphasize persistent data structures over ephemeral ones. I don't reject destructive updates that are compatible with persistence (e.g. laziness).

(4) I use algebraic data types to statically rule out unreachable code paths. Inexhaustive pattern matching is considered a bug. Raising an exception saying “this path was supposed to be unreachable” is also considered a bug. This would be at best very difficult to enforce in C++.
> For the people that I know who have both Hangouts and Whatsapp, we prefer Hangouts consistently - even for just text.

Speaking for myself, I've found Hangouts to be a noticeable drain on my battery (iOS), while WhatsApp seems negligible.

I'm also on a smaller screen iPhone, and with the icon bar and the timestamp placement in Hangouts, I can read far fewer messages on the screen at the same time than with WhatsApp.

Personal preference, but I also like that WhatsApp uses the iOS emoji across platforms, so I know what emoji my recipient is getting – when I use an emoji in Hangouts, they get replaced by a Google emoji, and I never know what it's going to look like until I've already sent the message.

Finally, Hangouts doesn't use end-to-end encryption, which personally makes me feel very uncomfortable (I also didn't like using WhatsApp for a long time for the same reason).

This is anecdotal, but to me it's more than WhatsApp just being entrenched – in many ways, they really do have the better product.
Didn't mean to throw shade, was just intrigued by the new blinkenlights on my screen.
Ask HN: What is the current scientific opinion on the works of Stuart Kauffman?
Specifically his book, 'The Origins of Order'. Wondering if it is still considered useful to read or it has been debunked or superseded.
Limitations of Quantum Computing Algorithms (2003) [pdf]
I'm a bit worried about this -- assuming you are over 30, how will they decide you "have the vitality" aside from all the other interview stuff?
I've been on modafinil for a number of years now (prescribed by a doctor in relation to a real medical condition). It is indeed a very interesting drug. There's a reason it's the brand names are Provigil and Nivigil. "Vigilant" is indeed a very good way to describe how it makes you feel. Like caffeine but cleaner (no jitters, etc.).

The downside is that you build up tolerance pretty quickly and that feeling dissipates. At this point, I really only notice if I don't take it (as you might with your daily cup of coffee). I honestly don't know if I continue to get on-going benefit, but I'm don't have any side effects, it may have some neuroprotective effects and getting off would be hard.
So now google has Voice, Messenger, Hangouts, Allo, and Duo all with overlapping functionality? I wish they would just focus on making Hangouts work really well.
Messages are also stored on Google for "processing" : http://www.theverge.com/2016/9/21/12994362/allo-privacy-mess...
Exercise could be seen as a nootropic IMO. The ARAS system* activates which bombards your hippocampus with dopamine which improves memory for like 30 minutes. Utilize that memory at that moment and you will learn the topic at hand better.

ARAS = Ascending Reticular Activating System
https://en.wikipedia.org/wiki/Reticular_activating_system
Go get the money. Don't feel guilty about it.
Keean Schupke has started to explore the Elements of Programming in Rust. See: http://lambda-the-ultimate.org/node/5330

I know Alexander Stepanov personally, and Paul McJones through him, and they are both interested in seeing the ideas in the book implemented in other languages. Rust is a particularly compelling candidate, because it allows you to specify type constraints on generic functions through traits. This is similar in some ways to "concepts" which Alex has been hoping to see implemented in C++ for a very long time but which keeps getting kicked down the road.
The difference between the set theory and category theory is the same as between the philosophy of Spinoza and Hegel. The first is grounded in reality, while the second one is an abstract metaphysics bullshit. Developing some abstract vocabulary to describe spherical horses in vacuum contribute nothing to programming, which is a discipline of describing and modeling some aspects and processes of reality.

Knowing where to stop in a heuristic-guided search is the most difficult part. In my opinion one should stop after realizing that the subject becomes too abstract and too academic and cease to be a tool of clarification.

Let's say that it has something to do with the pragmatism of Ayn Rand, Quality of Robert Pirsig, and to the general scientific method of removing bullshit, dogmas and nonsense in order to let the truth standing.
There's an older one than that, whose name escapes me for the moment, but it features a man eating a sandwich that makes him smarter.

There's also the classic "Flowers for Algernon" from 1958.[1] I'd strongly recommend reading the short story (and avoid the book, unless you want to witness the ruining of a great story that was best left alone).

[1] - https://en.wikipedia.org/wiki/Flowers_for_algernon
I fully expect self driving cars to arrive before BART goes all the way down the peninsula. It's total crap, but I'd be surprised if it wasn't true. Same for more frequent/faster/more reliable caltrain with room to sit or bring your bike.

On one side, you have a solution that requires a whole bunch of groups to align. On the other, you have an individual decision (buying a car). That's why I am excited. If it looked like it was on the horizon, I'd be just as excited for great public transit.
4 factors to consider while choosing your ITeS partner
That seems a horrific mix of SI and imperial units. How is it possible to reason about anything with such a mishmash?
Yoga Book – a possible replacement for my iPad?
Yes! Thanks for this. Voronoi diagrams were on the tip of my tongue.
LOTR is really cool. For example, Aragorn is a supersoldier and long lost true heir who's engaged to an immortal princess, but the world ends up being saved by Sam who doesn't have any of those gifts. Sadly, most later genre fiction succumbed to nostalgia for aristocracy, with heroes like Luke Skywalker or Paul Atreides relying on inherited special powers.
try running. Helps dissolve stress or whatever stuff that accumulated during the day - while it doesn't make problems disappear of course, it helps change your view on them a bit. Just did 3 miles and once i get to bed i'll be like dead.
The paper on lower bounds for black-box quantum algorithms trying to solve NP appears to be https://arxiv.org/pdf/quant-ph/9701001.pdf (?)
That's some nonsense right there.
De Morgan's laws! I am sure people use it routinely to simplify complicated boolean expressions while writing code or mentally simplify complicated boolean expressions while reading code.
A guy I work with created something similar a couple years ago. He used a different optimization technique which may be interesting to folks enjoying this: http://whoateallthepy.blogspot.co.uk/2014/01/shards-building...
> Looking at how the current mobile web it is necessary.

I don't see why. We've had mobile pages that worked fine for a long time, they were just normal web-pages, without a lot of cruft.

> This gives an incentive for the web developers to change.

Better ranking practices, would do the same thing.

> And it gives an open option to facebook closed instant articles.

Possibly. I've never used those so I can't say.

> We would still be stuck with ie and its unique html if not for google building chrome and forcing web developers to follow the standards more instead of staying with ie.

uh... did you forget that whole Firefox thing? Google came in on the tail end of that. And they did it, by using standards, not coming up with their own standards that nobody asked for.

> If not for what google has done over the last decade you would be looking at a very different web.

And it would probably be better. Sure, searching through it was harder, but it was way less money-driven, and much more hackable/useful.

> I might disagree with google on many of its privacy practices etc but can't disregard the fact that many of advancement on the web and internet in general in the last decade have happened because of google forcing people to change or showing how it could be done better.

I don't disagree. I'm grateful for Google doing that. But it doesn't mean they get a free pass to make stupid decisions from here on out. This is still the wrong solution to the problem, no matter who is pushing it.
Priced at ~$550 it is certainly competitive price-wise with an iPad Pro. That price with Windows 10. Interested in opinions of others.
I live in New York City and there are very few places outside the home where you can hold up your phone like a pocket mirror and speak into it without looking like an asshole.
Rustfmt – A tool for formatting Rust code according to style guidelines
It's completely obvious the situation you are in is not going to improve significantly according to your description. Rarely established situations change, and you've been there for 5 years. You have learned what you needed, move on. The immigrant status is something to be considered, make sure you make your move with your eyes wide opened. Out of curiosity, why are you still on a work visa after 5 years? Usually employers... help after all that time. Does your employer plan to help you get a permanent visa?
> With buying a house on exit you're planning on taking your money and doing something personal with it. When you're giving it to charity it's money you didn't need.

And the founder could've easily continued to live in their parent's house. They don't need to buy a house either. And sometimes donating to charity is personal and necessary as well. Not everyone feels okay with swimming in giant piles of cash while other people need it more than them -- "other people" meaning charities. I don't work at a startup, but I pledge a significant portion of my salary towards many charities and free software projects. Why don't you do the same? It's not that I don't need my money (if you intend to invest your money then you technically always need more money), it's that they need money more than I do.
I have found the same as you. Also try cutting caffiene for a month and see how deeply you sleep.

I might try this again soon, but I am and addict!

Edit: I will add that I have found vitamin B6, zinc and melatonin to have significant effects as well. (Deep sleep and intense dreams)
It's true, but 95% of the cases you get much better results by using the right data structures (dictionaries) instead of transforming queries to loops. Still is a very cool thing, hopefully is standardized into Roslyn
Business-wise: lease a ferry!
I am going to backtrack wildly here - I did not mean to imply your (very large) OSS contributions had not happened. I think your track record speaks for itself.

On reflection I was speaking from a worry that the majority of companies I have worked for did not / refused to allow OSS contributions, and that a lot of engineering talent was squandered on proprietary work of dubious value.

Fixing that seems like it would unleash enormous value across the economy / society.

As such startups are perhaps less relevant to the solution, but startups can be the sexy blueprints of the future, copied by others, so it might help.
Show HN: GitHub contribution shown right
Yes shame on us for enjoying Tolkien and Star Wars. How dare we consume media that is fun, and not the pinnacle of artistic achievement in the decade it was created in.
While I agree that exercise can become repetitive and boring, it is far from an intellectually sterile endeavor.

You are literally hacking your own body. Also, since no two people have the same genetic code, determining a fitness regiment is a highly experimental process optimized for you. Since this is a highly quantifiable process, you can make the development as data-driven as you choose as there are all types of variables to measure. There was a popular HackerNews post about applying Machine Learning to a ketogenic diet. See https://github.com/arielf/weight-loss

I try to avoid lifting weights as much as possible. Instead, fitness for me includes olympic ring travelling (http://travelingrings.org/about/where-are-the-traveling-ring...), rock-climbing, free-running, and acrobatics.
How would the provided example be better realized as a dictionary?
Good ideas are often reinvented by different people in different contexts: An STL concept is a type class equipped with laws is an algebraic variety. Universal algebra tells us that we can gain a lot from paying attention not just to individual varieties in isolation, but also to homomorphisms of varieties, which translated back to programming languages correspond to bootstrapping data structures from simpler ones in a generic way.

Also, a while back, I reinvented InputIterators, OutputIterators and `std::copy` in a more type-safe way, using algebraic data types: https://github.com/eduardoleon/shit . (Sorry for the repo's name!) Although I only provide Standard ML and Scala implementations, this is perfectly doable in Rust as well. (In fact, my code is linearly typed, not just affinely typed.) The only requirements for a port to another language are parametric polymorphism and algebraic data types.
Previous but relatively short discussion here: https://news.ycombinator.com/item?id=12468755
They'll just roll Assistant/other Allo features back into Hangouts, where all their users are. Unless they kick us all out by sunsetting Hangouts for non-Apps users.
Your friends will have their own bots. The bot-bot conversations will have ads sold against them. The ads will be bot-clickfrauded.
The first time I looked at semantic-UI, I honestly thought it was a joke. "Anything can be a <button>, just throw this class on it!" I see they've toned down their "just use divs and spans" examples a bit, but many of their examples are still terrible from an accessibility standpoint [1] and are anything but semantic.

[1]: http://semantic-ui.com/elements/label.html
Tails 2.6 is out
You suggest that it does work, but that procrastination is still possible. fair enough. But if it doesn't keep you awake, it's possible that you're one of the ~15% of the population who is a non responder due to:

rs4680(A;A)

aka Met/Met at COMT Val158Met

via http://snpedia.com/index.php/Rs4680(A;A)

rs4680(G;G) carriers deprived of sleep respond quite well to 2x 100mg modafinil in terms of improved vigor and well-being, and maintained baseline performance with respect to executive functioning, whereas rs4680(A;A) individuals barely responded to the drug at all.

via https://www.ncbi.nlm.nih.gov/pubmed/19037200
Two-time 100 mg modafinil potently improved vigor and well-being, and maintained baseline performance with respect to executive functioning and vigilant attention throughout sleep deprivation in Val/Val genotype subjects but was hardly effective in subjects with the Met/Met genotype.
Cut-throat academia leads to 'natural selection of bad science'