skysight-inc/HackerNews huggingface dataset:
Is ~6 hours low ? After I started working out before work I started getting up ~6-6:30 but I can't go to sleep much earlier than 12 (I just end up rolling around in bed) - but I've been doing this for so long now I can't really tell the difference. I sleep over on the weekends but I don't notice extra productivity or being rested.

I'll try to go to sleep at 22:30 this week to see if I feel different.
I have found it a lot easier to get by (talking to locals) in Tokyo using English than in for instance Madrid.
Show HN: RobinOne – Join the oil revolution
I had git replaced with hub a few years back but hub was just way too slow starting up, killing what seemed like git performance.
I played 6 years of rugby. I also played high school football. My position, lineman, in football was a pretty non-collision position and I never experienced any concussions.

In rugby, every position involves collision. As a backline player most of my job was to run, but there was no way of ever avoiding multiple collisions in a game. Less impactful then football for the reasons you mention, but more frequent. I know for certain that I've had (at-least) a few concussions in rugby. For instance, getting up from a hit and having no idea where you're at for a second, and then feeling the world morph back into you as if it were knocked right out.
How about a simple answer: no.

This is basically an art project. Even a basic thought process shows how ridiculous this is: If you're going to use humans just as basic energy input, why not just burn the food directly and use that?
This is done with an inkjet process :)
yet Europe has a population more than twice the US.
The short answer is "no". But a human powered residence may be possible, but that ignores the huge amounts of power consumption required to build and support that residence.
Modern Object Pascal Introduction for Programmers
Well you have to get Kim Kardashian and Donald Trump to use it, to make any sort of dent. In this pointless attention economy propped up by Youtube, Twitter and Facebook there don't seem to be any other ways.
Feedback needed to help startup
You don't hit opponents head with your head at rugby, so concussion is not so common.
The most frecuent problem is spinal cord injuries in scrum[1], which year after year leaves some players paraplegic.

[1] https://en.wikipedia.org/wiki/Scrum_(rugby_union)#Safety
I agree about the pay and the hardship in attracting talent, to a degree. These are good points and a definite problem in the EU.

However, excluding London (which is a bubble in itself), the CoL at all major tech hubs (and all cities) in Europe is much less than SV. Check out some of the comments here for anecdotal evidence, or just compare the cost of housing online, in Berlin for example (one of the most expensive cities).

Taxes are higher, but perhaps it's an American thing to see taxes as the root of all evil. You get a lot for your taxes.

Can you elaborate on why accumulating wealth is nearly impossible? Do you mean just saving money?
Well even if it's not for environmental sustainability, just sustainability in general is not given with the current western diet, since it takes a lot more land to farm livestock, than to farm plants. With population and meat consumption rising it will be impossble to sustain your diet.

Also however you look at it, you can't agree with deforestation for cattle grazing land. The livestock industry is responsible for the extinction of most animals today. It's a shame we are sacrificing wild live diversity, just because we can't stop eating meat with three meals a day.
I've found Mithril's documentation to be thorough; that was one of my reasons for choosing it.
If by frontend you mean browser, the only difference between that and backend is the os you're dealing with (the browser).

If you can handle the fragmentation of unix environments, you can handle the fragmentation of frontend frameworks. You probably won't find any enlightenment though, unless you dive into gpu programming or such.
I drink coffee regularly, but I don't think I could even get to 15 cups a day without serious issues.

Dave Grohl, of the Foo Fighters, ended up going to the hospital because of drinking too much coffee/caffeine.

http://www.nme.com/news/music/them-crooked-vultures-14-12945...

https://youtu.be/fhdCslFcKFU?t=111
Thinking of Clojure as a subset of JS is a new one. It's more accurate to say JS is a badly implemented Lisp! These are the main reasons Clojure works so well:

1. It is a Lisp:
The only type is the 'list', and in Clojure you also have 'maps' too (basically a dictionary in JS). That's it. Any object in JS is a map in Clojure, which keeps everything nice and simple. The main power of this is you only ever need to support lists or maps in your functions, and then your functions work for every data structure you ever create! For example clojure.core ships with 'get-in' 'assoc-in', 'diff' etc, all functions that work on your structures no matter how complex.

2. It is a functional language:
JS is imperative, meaning you have to fit your ideas to the language, breaking everything down into for loops and if statements. With Clojure you fit the language to the idea, and think in data transformations instead. Then you create a set of functions that deal with that problem specifically, all wrapped up in single namespace. For example a 'tilemap' ns that contains a set of functions for converting to/from screen and grid coordinates. Or getting the neighbours of a specified tile from the 2d array. The end result is a custom DSL that reads almost like English.

3. It is 'immutable by default':
All data structures are persistent. The problems you have with scaling in JS and Python is all because of mutable local and global state, as it becomes very difficult to know what is changing what. Clojure doesn't have this problem, as values can't be edited, only new ones returned. There is still mutability of course, but it is restricted to maybe 10 locations in your codebase. The mental burden this lifts from your shoulders cannot be understated.

4. It has a REPL:
Let me ask how much effort you think building a HTML editor is? Or the UI designer in Visual Studio? With Clojure, I can just make edits to the GUI code on the fly and press F10 and voila the changes appear in-app. Instant editor, for free. This is what i was doing the other day; editing my GUI code (re-arranging controls, changing positions and sizes) and then immediately inspecting the result in the running program. The productivity gains are huge when you remove the laborious 'write code, wait for build, navigate to place in the app, finally test your changes, find error, end program, change code, repeat' cycle from your workflow.

5. Macros: Lisp macros are just Lisp code again. Literally the whole language available to you at compile time. The clojure.async library for example uses this to provide Go style channels for async programming. It means you can write code that looks great, and still compiles down to something performant at the end.
Are put options on Bitcoin available by now?
I know lot of people here say that Chrome is much faster than Firefox. I agree that sometimes chrome feels more responsive, but I want to tell my perspective from someone who owns a very old and slow laptop. Whenever I just start Chrome, it seems superfast until 5 minutes. Just open 5 tabs and some other programs like Terminal and Clementine, my whole system just hangs. So I can't even use Chrome because of the memory it consumes. Firefox actually seems very responsive for me even if I open 10-15 tabs, I can open other programs when it's open. Also I feel that in last two years I have rarely seen the UI hanging in Firefox when a page loads (even with my shitty laptop).

So I am really thankful for people who work on Firefox and letting me use it on a shitty laptop. Also it's one of the reasons I am learning Rust now so that I can contribute to it.
In the NFL they've all gone to college, and the game selects for mental ability quite strongly. They'll tell you the locker room is not unlike any other professional workplace (except perhaps more fun and with more unity), and while I've never been there, I believe it.
I see 14.5% vs. 4.1%, US and EU respectively, in the 2015 figures listed there. US and EU GDP being roughly equal, this works out to an absolute factor of ~3.5x as well as a relative one, which strikes me as fairly significant.

To be sure, US military spending isn't purely motivated by our concern for our NATO commitments. But, considering that the US contribution constitutes by far the lion's share of resources available to the alliance in both absolute value and percentage of GDP, it seems to me that much more effort is required, than you exert here, to argue that the termination of such commitments, or even simply the reallocation of significant funds away from US military expenditure, would in no material way affect spending priorities among the EU nations.
Show HN: getlibs - modern javascript without server/build
Interesting article, and odd to see it filed under 'opinion', when it mostly reports on the results of an experiment. Two sentences at the beginning stuck out, however:

"Do guns make society safer? Is immigration harmful to the economy?"

I think the author and, taking a guess, those who disagree with him on these issue, may be talking past each other on these. Instead of "Do guns make society safer?", try "Does pervasive surveillance make society safer?". Suddenly, even if the answer is 'yes', it probably won't make you change your opinion of it.

Similarly, I think it's the fear of becoming a minority, and the subsequently more vulnerable position in what used to be their country, that drives people to be against immigration. The economy and terrorism (with the grossly inflated fear over it compared to ones actual likelihood in being a victim of it in western countries) are mostly scapegoats. Textbook exaggerating the evils of the out-group, and diminishing the ones by the in-group.
Most animal produce is only a good source of B12 because the animals have been supplemented themselves. Lack of B12 is more an effect of industrialization of the food production. Less of the type of diet you choose.
> This sort of stuff would have taken weeks of effort in a static language.

For you, maybe. For someone familiar with that static language? They might have gone faster.

Productivity in a language is highly subjective so it shouldn't come into the equation if you're trying to compare statically and dynamically typed languages.
One can go on a plant-based diet for health benefits alone with complete disregard for environmental sustainability, and by the same token one can live an ethical life without regard for environmental sustainability.

I'm still confused -- why do you assume highly intelligent people are predisposed to caring about environmental sustainability?
Good deeds with Google Street view
Your math is right, but getting to those millions can be chance or working really hard for years.

And we can also take in consideration that most of us won't leave those millions there. Getting fancy can be as risky as running a software company.

Comparing that with him working 6 months a year for the first part of his career and now living from two modest saas products seems pretty nice.

..and all the sitting-at-the-laptop photos are hilarious xD
Oh shit that went right past my head lol.
> Give me some sort of promise when you'll leave the standard alone, then I'll wait for the community to form best practices / libraries to catch up

I don't understand what's stopping you from doing that. There are many perfectly fine jQuery/Backbone/Angular/etc apps that are chugging along perfectly fine. There's no reason for you to adopt new technology unless it makes your life easier.

And therein lies the problem -- for a long time developing an SPA in JS was absolutely terrible. And it's getting better, and getting better due to efforts of people who love the language. Webpack didn't beat Gulp because Corporate Sponsor X adopted it, Webpack beat Gulp because some guy wrote it and it turned out to be awesome. To me that's worth more than upsetting the curmudgeons who complain about perceived fatigue.
https://en.wikipedia.org/wiki/Vitamin_B12#Sources

Supplements mainly.
Probably. Same result. These are trade-offs made in picking a social model. Higher subjective happiness, perhaps, in exchange for a loss of competitiveness. As long as the latter isn't so much that it makes the former unsustainable, I think it is a fair choice. Not what would make me happy, though.
This seems very similar to my current trajectory, though my "therapy" consisted of flying around the world to visit family back home once a year (EU->AU). I found that while the jet lag would wear off after a few days, my sleep regimen would reset itself quite wonderfully and my usual 2-3 hours of laying in bed waiting to sleep would be reduced to 30 mins or less.

I am similarly sensitive to caffeine and also bought some rather pricey but comfy earplugs to silence my other half's incessant and irritating need to breathe.

While my current life circumstances don't allow for it, I am looking forward to the near future when I can sleep in my own room again, in a house quiet enough to not need ear plugs, and with a regular enough working schedule to make the routine easier (plus wearing me out a bit more each day).
> (Though maybe this means you could convert latin1 to utf-16 by interleaving null bytes with the latin1 bytes?)

Yes. In fact, things like JS JITs end up storing strings as either UTF-16 strings or Latin1 strings internally to take advantage of this fact.
I should warn you that employers tend to look at front end skills as an excuse to pay you less.

The upside is that they're much more transferable between companies. Everyone wants to hire experts in their current back end stack, but everyone needs CSS & JS.
Housing costs also go up because of the mortgage interest deduction. The home-owning middle class is living in subsidized housing.
Cue the "Give in to Google" defeatists, spiritual inheritors of the "Give in to Microsoft" defeatists of yesteryear.
Well, the site it's on (The Players' Tribue) basically specializes in those.
Are CIA Officers as Bad Ass as in the Movies?
The answer to the headline is an emphatic "No."

> Unlike fossil fuels, human power can be a clean energy source, and its potential increases as the human population grows.

It's the opposite: Human power cannot feed the 7.5 billion people and growing. You need ammonia and (right now) oil, and lots of it. When we "scaled up" humanity, we left human power long behind as an option for any but a few hundred million. Just the food part alone is impossible.

They then segue into a different question: "if human power can sustain a modern lifestyle", but even then they don't mean modern food requirements, they really just mean "can humans keep the lights on in the one building they are in."

> A human powered student community has enormous potential for a reduction in energy use.

This is a complete misunderstanding of just how much energy gets the people in the Netherlands their... say avocados. Thinking of your energy consumption as lights in your building is so very off.

I recently wrote a counter-point essay to the headline's topic, how technology is now a moral necessity just to keep humanity treading water, and how oil set off a Malthusian time-bomb.

https://hackernoon.com/the-moral-technology-6413ca8449c9
I'm not familiar, but from a quick review it looks like Lloyd's algorithm is a few citations down the chain. I started from [1], which is based on [2], which uses Lloyd's algorithm (check out the Related Work section in the first paper).

Still, that's a good stand-alone link – I'll add it to the writeup.

[1] https://www.cs.ubc.ca/labs/imager/tr/2002/secord2002b/secord...
[2] https://www.cs.princeton.edu/courses/archive/fall00/cs597b/p...
There are highly intelligent people that don't factor our survival as species in their decision making.
Firefox is still set as my default browser, but it feels like every month more and more sites just seem to QA only on Chrome :(.
An interesting anecdote about B12 is that it's actually coming from bacteria, usually found in the ground.

Animals are rich in B12 because they eat grass. Technically if you don't wash your vegetables you would get more B12, but you would also increase your chances of catching a bad bug.

B12 isn't synthesised by any animals or plant, we just get it by proxy. (and by the way, industrially raised cattle who don't see the light of day are supplemented in B12 just so you don't have to)

So to come back to your original question, I have my B12 mainly from:

- Marmite (if you fancy that, but I would understand if you disliked it very much)

- Some supplements flakes to put on my salads (byproduct of beer I believe, something like Engevita). It doesn't look like it but I actually enjoy it on my greens (lettuce, cucumber, or any salad)

- The very occasional meat/fish. I'm neither vegan nor vegetarian, but I changed my diet to consider these as a treat.
Free SEO audit tool
I just use it because Mozilla is the only browser I trust with my information and privacy. They are the only ones who I think are genuine about trying to protect me.
This comment, at the very least, should make think a bit more critically when reading or listening to stories about the gender pay gap. Thanks!
Utilise this time to learn and prepare for interviews. Its the best time, believe me. You can direct your undivided attention to prepare and interview across different companies as per your skillset. Over time not being in projects or working with real world business problemscan make it hard to get back to the 'zone'. You mentioned pet projects. Collaborate and github to take it to the next level in case you arnt already. This will help you stand out in these interviews. Unless ofcourse if you have been on back to back 'near death march and brutal deadline projects' its good to take some time off. Just my thoughts based on similar moments i have gone through. Cheers and good luck!
You'd at the very least expect medical experts to be able to identify non-ill people. That part of the experiment isn't the most damning though, The part where they told hospitals they'd repeat the experiment and then didn't is. Suddenly the hospitals managed to finger many of their patients as pseudopatients when in fact they weren't even part of the experiment.

So yeah, a mental health industry that can't differentiate between sane and insane in either direction scares me.
As does wordless pointing and grunting.

Natural language is broad: language can be natural and still bad. So I don't think natural language belongs on the "endgame" pedestal.
For the record, I've been a C# developer for 12 years. A Clojure dev for about ~6 months. Also, productivity is not subjective.
I've seen this a lot too; but it's not the weirdest thing I've seen on a receipt... We once ate at The Boot Room at Cheshire Oaks and when we got the bill, the numbers didn't add up! (I don't add these things up but since the things we ordered were fairly round numbers and should've been just below £20 and the bill was just over, it was obvious something was fishy).

I totalled the numbers up again and the total was exactly £1.50 less than the total shown on the bill! My wife (having no faith in my basic adding skills) pulled out her phone telling me "don't be silly" and added them up to get the same result as I had.

We asked the waiter about it, who disappeared off to get his own calculator.. He added things up, looked confused and then took it off to the manager. She then repeated the process on the calculator and also looked confused, unable to explain what had happened. They gave us £1.50 in cash, apologised and then kept the receipt (I guess they didn't want us posting that on twitter!).

To this day I've no idea what happened. You could suggest that some programmer somewhere is getting rich off this, but it seems rather unlikely to me. I'd really love to know what the cause was (and whether the manager ever reported it further up the chain; because this seems like a rather serious error to me.. how often does it happen? is it always £1.50? did the issue get found/fixed?).
Could you tell me which earplugs you use and how you went about finding the right ones?
I am author of a CJK language library for python called cihai (https://cihai.git-pull.com).

So as part of this, and after years, I eventually realized the only way to make a scalable tool to lookup Han glyphs is to build upon UNIHAN: The Unicode Consortium's Han Unification effort.

I write about Unicode and UNIHAN in my own words here: http://unihan-etl.git-pull.com/en/latest/unihan.html

The challenge with Unicode and hanzi is there are many historical and regional variants to a single source Han grapheme of the same meaning.

So, each glyph or variant gets its own codepoint, or number, reserved. In fact, this years when Unicode 10.0 is cut, the new CJK Extension F will introduce 7,473 characters (http://unicode.org/versions/Unicode10.0.0/).

Thankfully, my only task is to make the database accessible in as friendly a way as possible. Which is actually a mammoth task, see, there are over 90 fields which are used to denote dictionary indices, regional IRG [1] indices (which are national-level workgroups that convene to add new characters), phonetics (mandarin, cantonese jyutping, and more).

The fields are dense. They pack in objects that are most easily split up by regular expressions. https://github.com/cihai/unihan-etl/blob/master/unihan_etl/e...

So a UNIHAN field for kHanyuPinyin (http://www.unicode.org/reports/tr38/#kHanyuPinyin):

U+5364 kHanyuPinyin 10093.130:xī,lǔ 74609.020:lǔ,xī

U+5EFE kHanyuPinyin 10513.110,10514.010,10514.020:gǒng

U+5364 is two values (separated by the space), then a list of items either of the colon (:), which are separated by commas.

You may wonder where this all comes from. The effort is global, but a good deal of it is thanks to people who took their time to contribute it, organizationally or personally. Take a look in the descriptions of the fields at http://www.unicode.org/reports/tr38/ for bibliographic info.

In any event, the hope is to create a successor to cjklib (https://pypi.python.org/pypi/cjklib) and have datasets for CJK available in datapackages (http://frictionlessdata.io/data-packages/). That way, sources of data are sustainable and not tied down to any one library.

[1] https://en.wikipedia.org/wiki/Ideographic_Rapporteur_Group
That way, we can complain about their tests being unscientific.
No I wouldn't call it horseshit. What I said was, that compared to Munich, it's horseshit. But that's totally just an opinion. I lived in Mountain View.
You’ve told us vague things about wide areas of mathematics, but you haven’t told us what problem your start-up is solving using these branches of mathematics or how it is a better allocation of investor dollars than focusing on ML.

I’ve worked on a wide range of applied mathematics problems in machine learning, computer vision, signal / image processing, control theory, and applied statistics. Very few people outside of a mathematics department care at all about theorems, proofs, and "correctness" in the formal mathematical sense. I can count on one hand how many times I’ve needed to actually do a proof, and the number of people who have cared is smaller still. All anyone cares about is how well you can solve their problems. Sometimes advanced mathematics is the right tool for the job, but often it is not.
The entire history of the NFL and concussions is incredibly damning, including the league denying the damage concussions cause and the league buying their way into medical journals to push "studies" that supported that position. If you want to know more "League of Denial" is a phenomenal book. PBS also created a two hour documentary with the authors that has the same name.

https://en.m.wikipedia.org/wiki/League_of_Denial