skysight-inc/HackerNews huggingface dataset:
Interesting that decision time is the highest component. When using win+# I've already decided beforehand which window I am going to switch to.
After becoming a dad and having to change my baby girls diapers regularly, I recognized the effect bananas and potatoes had on her digestion system. My hypothesis is that these foods are too "new" for my European stomach. Now I mostly cut these from my diet and eat more rice and I feel better.

Since she was born 4 years ago, I cut smoking, soda, potatoes and took a new job for which I bike 20min one way every day, except when it rains heavily.
seems like they solved the easy parts of programming.
In 2017, learn every language
Wouldn't it be better if they finalized their plans before announcing something like this? this could very well make the poachers ramp up whatever they were doing, me thinks.
Larry Page receives millions every week through automatic sales of his Google stock. I'd guess this project is for impressing his buddy Richard Branson and any other star he'd like to hang out with.
On my laptop I've found The Great Suspender has helped to limit memory use and increase battery life.

https://chrome.google.com/webstore/detail/the-great-suspende...
> There are police forces in the UK where 50%
> of their annual budgets is going to people
> who no longer work there

Source? In 2009 20% of policing costs in the UK went to pensions[0], which doesn't seem that particularly insane; has it really risen so much, or are there certain police forces that aren't representative due to shifting demographics?

> Pensions should be funded from savings
> / investments made during working life

Perhaps, but I don't see the relationship between this and your previous point.

> these pensions are gold plate: linked
> to inflation and guaranteed for life

So ... an inflation-linked annuity? How does that differ from most private pensions? Is there anything stopping you purchasing one?

> teachers and council workers retiring
> every yesr with a guaranteed income
> stream that would cost millions if you
> were to buy the equivalent annuity

This also needs sourcing, as it also fails the sniff test and some simple Googling. Taking the example here[1], a relatively senior teacher, looks like she'll get an annual pension of ~£20,000 if she retires at 60, which is probably equivalent to a private annuity of £500,000.

I for one welcome our post-truth overlords...

[0] https://www.moneymarketing.co.uk/lib-dems-reveal-police-pens...

[1] https://www.moneymarketing.co.uk/issues/29-october-2015/case...
The way that the Chinese treat animals is despicable. We in the US aren't far off, but they take it to another level.
Reading his post it was perfectly clear what kind of egomaniac he is, he spoke only about himself and I had no idea what the product was about.
After reading in the other comments what kind of person he is I decided to actively discourage as many people as possible to use the product as long as he is the CEO.
Maybe savouring his own medicine will help him to understand the consequences of his actions and a bit of humility.
Awesome Platfrom to Promote Startups for Free
I finally understand what 'hand wavy' means after reading this post. Not much of substance here.

If you want to take advantage of Go's speed alongside JS, check out https://github.com/ry/v8worker
Carbon fiber aircraft parts lightning vulnerabilities dismissed by CAA
It does - here's an example using Jade (Pug), Stylus and Coffeescript: https://gomix.com/#!/project/hello-coffee

For a fuller example, the Gomix site is also built using those technologies, and you can view their code too: https://gomix.com/#!/project/community
Looks like you're right, and syntax highlighting is even supported!
Compodoc: Documentation tool for Angular 2 applications
Started counting daily calorie intake.

I use an app called "Lose it!" To track my daily calorie intake and have paired it with Google Fit where I track my weight every day.

It has been way harder to eat excessively, as I'm constantly aware that I'm accounting all I eat. So mostly it just makes me aware about what I'm eating.

Results: Constant 0.5kg weight loss in every week.

A bit aside from the subject, but I also have changed to use paper money instead of cards.

I have a weekly budget that I get from the ATM every Monday. This raises awareness of the money I spend, since I can see my current budget every time I open my wallet. It has helped me to save significant amount of money.
Www.oxygentango.com

The URL in my previous post had a typo.
> Invested the money in what exactly?

Buying government debt seems a pretty safe bet.
Why? It works the exact same way as Apple and Google push notification implementations do.
Despite the click-bait title this was actually a very good read.
Here, here. JM has long since jumped the shark. Don't worry though, Herr Trumpf will hire him.
I'm very curious about this as well - if you do salary work on a personal resources, does it give your employer any extra claim on personal projects created using the same resources (assuming the personal projects were done on personal time)?

Bonus question: if you're salaried and on-call 24/7, does any time qualify as "personal time"/"off-the-clock"?

(Edit: clarification)
Pension spiking.
Nice. I'm glad to be wrong.

I'll point out that this is TF Contrib Learn, not TF Learn[1], or one of many other places where things might be implemented. Makes things a bit confusing.

[1] http://tflearn.org/
Or you could have glanced at the article and seen that your guess is wide off the mark.. ;-)
My comments here are not to the posted article, but the one referenced at the top: http://www.oilshell.org/blog/2016/12/23.html

def LookupKind(id):
return KIND_TABLE[id]
def LookupKind(id):
return 175 & id & ((id ^ 173) + 11)

> The second implementation is faster because it doesn't require any memory accesses.

This is not necessarily true. If this function is in a hot loop, and the entire lookup table fits in L1 cache you can treat KIND_TABLE[id] as only taking ~1-2 cycles.

> Jeff Dean also posed this question in his talk: How long it does it take to quicksort 1 billion 4-byte integers? It surprised me that he estimated it by simply counting the number of branch mispredictions, which is described in this post.

This is no longer true. In state of the art implementations quicksort is implemented in a branchless fashion. See https://github.com/orlp/pdqsort for details (I'm the author of pdqsort, old username on HN). The trick is to first replace directly swapping misplaced elements in a loop by first finding a buffer of elements on the left that should be on the right, and a buffer of elements that are on the right but should be on the left. This can be done in a branchless manner:

buffer_num = 0; buffer_max_size = 64;
for (int i = 0; i < buffer_max_size; ++i) {
// With branch:
if (elements[i] < pivot) { buffer[buffer_num] = i; buffer_num++; }
// Without:
buffer[buffer_num] = i; buffer_num += (elements[i] < pivot);
}

These buffers can then also be swapped branchlessly.
Yeah he has had that impression on me as well. I remember soon after some of our collective activism succeeded against Facebook's "Free Basics" in India, most of us celebrated a win against what would have been a dangerous precedent against net neutrality.

Meanwhile, people like this guy tried to pass it off as if we were afraid of the big bad colonialist telling us to trust him. It was fairly disgusting to read, because it was implied as if we're incapable of forming intelligent opinions without bringing identity politics into the picture.
Bilderberg Website Hacked
Mutation Testing vs. Coverage
Was in the same boat. I cut out sugar (except for a banana in a protein shake each day) and made sure that I get enough protein. After a few weeks the sugar cravings stopped and I also lost a bunch of water weight. I also seem to have a smaller appetite, and when I eat I stop when I feel satisfied, which never seemed to happen before, instead I would stop when my stomach felt uncomfortably full because I never felt satisfied. I'm really happy with the changes, and it is making it easier to stick with my lifting program because I feel like I am making progress again.
When I say "decision time", I'm really referring to everything between "I need to switch to a window", and "I have just started performing the action needed to switch".
Rail and electrified commuter air could be complementary. Nothing beats rail for moving large number of people efficiently.
We have a 5-day aversion course that you follow. The first three days are about awareness (tracking triggers, mindfulness, etc). The following days, you follow the program for 5 minutes, where you turn on the zap (manually or autozapper) while you do the behavior.

It's the same principle as when you over indulge on tequila, and suddenly the smell of the beverage makes you cringe. For our users, they feel the same way towards foods and candies --- the sight/smell of it becomes an aversion.
Man I feel like I'm attacking apple a lot recently but this is something else I saw on my MBA - various daemons (powerd, kernel_task, accountsd, and more I can't remember) spinning on 100% cpu usage leaving the laptop unusable.
I would lose a lot of money on each transaction if I offered that deal :p
Linear Algebra Done Wrong [pdf]
I'm going to try to implement this in my app. I use Firebase/Firepad for true p2p OT but it's become cumbersome. Do you have additional thoughts about communication channel implementation?
i think they do need to ditch that name though, whilst as you say google wasnt really any less odd in the early days however it did sort of roll off the tongue, where as duckduckgo is somewhat clumsy and unpleasant no matter how many times you say it. i know it shouldnt be important and its not really, its just annoying
I recommend watching the talk.
> the effective new property tax rate in Oakland or SF is something like %1.2-%1.5

Do you mean the tax rate on new properties? Or the effective rate actually collected, given the restrictions on how much property taxes can rise, etc? I thought one problem in California was that the latter figure, which is the more relevant one, was very low as a result of Prop 13.

The other problem in California is that it just seems to not spend money very well, as far as I can tell...
> I finally understand what 'hand wavy' means after reading this post. Not much of substance here.

Indeed, this blog post is very vague and offers no solid evidence that this project even exists. I was very sceptical of it from the beginning and I'm surprised it was voted up so much. I guess generating hype is easy when JavaScript is involved.
This project looks very interesting!

And it seems they have addressed many of the issues with Chisel (of RISC-V fame) in Spindal: http://spinalhdl.github.io/SpinalDoc/chisel/
I bought the 2016 version to replace my Samsung NP900X3C and returned it because:

- The lid was wobbly.

- It's big, thick and just looks mediocre to me. Display rim is too big.

- The coating is susceptible to smudges / fingerprints. Why are they even making those in 2016? Unacceptable.

- Display was way too dim.

- Colors were yellowish but that's probably fixable.

All 5 points are relative to the (few years older) Samsung. It's a shame they don't care much about laptops anymore. I mean, it's 8+ years old and it's hard to find a replacement (which I'm looking for because it has 4 GB of RAM).

I don't know if my requirenments are so unique or if there's a big mismatch between market demand and supply. Which would seem odd to be honest because laptops is a mature and competetive market.
also eating vegetables a lot and reading HN :)
Which article?
Meanwhile, people like this guy tried to pass it off as if we were afraid of the big bad colonialist telling us to trust him

Do you have a link?
All I remember was a comment he made on Zuckerberg's post politely asking him to reconsider his approach and why it didn't work
Nha dat TPHCM
Same! I'm 8 weeks in and already feeling the benefits. I'm 39, 190 pounds and my goal is 170.
Google vs. Facebook – Who Won the Battle of 2016?
Business model as a variable to consider when choosing Open Source software
Rio de Saúde: Simples suco de beterraba, maçã e cenoura cura doenças
That's really amazing.

In terms of utility to effort ratio, I think it's right to start with national legislatures. However, I hope there will eventually be a dataset that's as deep as Political Graveyard for the entire planet, even if just to satisfy my inner data nerd :)
Aim to make your side projects popular: write a blog post, do a show HN, launch on PH. Pick a popularity metric and then nail it.
For me, the far more probably conclusion is "therefore the Matrix is real".
1970 Plymouth Road Runner vs. 1972 Oldsmobile W-30 442
I think it's very hard to give general advice in this area. You are best off prototyping a deep spike into what you need, and seeing where things don't work.

What specific graph operations do you want?

If the stuff you need is there, then you might be fine! Note that the set of pre-built algorithms in GraphFrames is pretty small (https://graphframes.github.io/user-guide.html#graph-algorith...). It is pre-release though.

Graph stuff is generally hard, so I don't think there is a magic bullet here.

I mean, even just the Spark-using-HBase bit is non-trivial to do in a way that provides adequate performance. There are 3(?) different connectors, with pluses and minuses for each one. Making sure data locality is working will depend on you YARzn or Mesos setup, and debugging that is a nightmare.

In our case, we prefilter data in Spark then load into NetworkX. Works ok, mostly.
Bat dong san TPHCM
It sounds a given but walking one hour a day, every day, really makes wonder.
How git-mediate made me stop fearing merge conflicts
I am typing on one right now.

The light weight actually makes it feel flimsy / cheap at first, but having used it for the best part of a year, I realize there is a stiffness to it that you don't get with cheap plastic.
So "space" is some magical place where measurement error does not exist?

Low earth orbit isn't perfect either. You still have micro gravity. And the experiment requires a lot of power, and very sensitive instruments to measure the phenomenon. How do you get sensitive instruments which are expected to be operating near their error threshold into orbit without damaging them?

Orbital experiments will have to be smaller, and use less power, so the effects will even be smaller. But the instruments will have to be tough enough to withstand 5G. And the apparatus could still be introducing other errors, like coolant momentum, which also isn't magically eliminated by being in space.
You can add any ff number to a ticket purchase, you can also change it during checkout and even after taking the flight.
Many of the example apps have a step-by-step guide embedded in the project (see the Setup.md file) e.g.
Alexa: https://gomix.com/#!/project/alexa-skill
Parse: https://gomix.com/#!/project/parse-server
Slack: https://gomix.com/#!/project/slack-bot

But we'll be sure to work on some video examples - I appreciate people learn in different ways. For a quick overview of Gomix, see https://gomix.com/about/
Thanks for the link on sorting -- that looks really interesting!

I think it's fair to say that the expression is no slower than the lookup table. Even if missing the cache is rare, the penalty is large, so the average case will be significantly worse.

I freely admit the problem is contrived, but I think most people would agree it is actually an optimization! If you really want to nitpick, you might want to count the "opportunity cost" of some other 221 bytes not being in L1 cache.
Let's call it #productivityhoax! Great article. I always felt those productivity systems are missing the point.

The key thing to understand is that there's literally INFINITE number of things we could be doing. They all compete for our very limited time. There's only one way to stay sane and productive and it's having explicit PRIORITIES. That's your shield from the demands of the world. That's where you decide where you want to go. (I've written a post about it http://frustrat.com/on-priorities-and-focus/)

Second - no list is a time-management tool. They're just lists. If you want to get a hold of the time you need to use a CALENDAR. That's where you "budget" or allocate the time to do things. The beauty of this is that it shows you when you bankrupt on time. Ie. when there's too much on your todo list and you need to remove some of it. The list will not help you do that. Other benefits of this approach: low stress, low context-switching, feeling of control, effectiveness (as opposed to efficiency).

It's like DHH says in the tweet: "Secret to productivity is not finding more time to do more stuff, but finding the strength to do less of the stuff that doesn't need doing."

Also Rory Vaden is onto something in his "multiply your time" approach: https://www.youtube.com/watch?v=y2X7c9TUQJ8

Another proof of the #productivityhoax is that we all have the same 24h, yet our outcomes are so different. Time is the biggest equaliser. Think about it :)
I'm definitely not buying an iPhone 7. Not only did they remove the headphone jack, they used their proprietary Lightning port. If they instead provided a USB C port, I'd consider it. That's at least universally available and I can see headphone manufacturers developing headphones which connect via USB C in the near future. Carrying around a headphone adapter is just too much of a compromise for me.
Bhim UPI App Full Guide – How to Use , Review and FAQ
It looked great, but they were trying to shake off the Cadillac is for old people stigma, then built a Corvette for old people.
Exactly this. It's like saying shadertoy is bad because it's centralized. When in reality it doesn't matter because everyone is going to lift their code out to their production env when they're done experimenting.
They support secondary click, but they have never shipped a first party mouse with a standard right button, favoring sleight of hand input schemes to trigger a right-click — schemes that are not immediately discoverable.
> offensive word for homosexual people - 'gomik's

Could be worse, imagine a product named Gopnik /s
Seattle most assuredly does not have better roads than the bay area - I noticed a stark difference when I moved up a few years ago.
Yes he says he works at Stackoverflow
Standing to work, walking to think, meditation just because...
I think a better metric to look at could be how much of the 3m has been burnt to produce this. Factoring that in would be a more saner approach to evaluating.

But more importantly I am just happy about the fact that somebody who believes in open-source is taking up the project. Self-driving cars are a distant future and can only be accelerated when a lot of eyes see what is happening. OpenAI is most likely the product of the same ideology.
> More broadly, I am trying to live a life where I am as unreasonably kind as I can be.

Yeah, sounds exactly like the guy he is. I mean what else could someone be that thinks people who don't share his world-view are "supremacist assholes", that blacklisting others (or trying to blacklist them, whatever) is completely okay be than "trying to live a life where I am as unreasonably kind as I can be".
How Covert Agents Infiltrate the Internet (2014)
LOL this made me remember of a stream about a guy developing a game boy emulator in Python.

By the way, this is the link: https://www.livecoding.tv/michielha/videos/ZeNNa-a-python-ga...
I often use the term 'Cargo Cult Programming'. Not a very large but significant amount of developers fall into that category sadly.
2016: The Year We Stopped Listening to Big Tech’s Favorite Excuse
Measuring my weight everyday on an IoT weight scale.
Really helped me lose close to 7kg over 7 month (by eating slightly less, and better food), something I never managed until now.
I feel a lot of the things described in the article is happening in fields like information security now. It was interesting listening to the 33C3 talk "In Search of Evidence-Based IT-Security"[1] a couple of days ago and read this Feynman-article now.

The article may have been posted before, but it was new to me.

[1] https://media.ccc.de/v/33c3-8169-in_search_of_evidence-based...
Basic Principles of 3D Computer Graphics Applied to Health Sciences
Sorry but I find most comments here @#!@ing inane.

We kill millions of pigs every year (intelligent animals) and farm millions of cows (Extinct many many animals through environmental destruction through use of large amounts of land) but we expect China to care about the second hand effects of the ivory trade.

Where they still have millions living in poverty, we are rich (speaking as a westerner who eats meat, not all of HN)

We love to be racist don't we?

I guess if we convince the Chinese the Rape of Nanking was cows and not elephants they can become like us.
I haven't read about the rest of your problem much, but I usually think in terms of _cache pressure_. A lookup table can be very fast, but adds to the cache pressure. A large implementation with many special smart cases can also be very fast, but also adds to the cache pressure (instructions also need to be loaded from memory).

Another thing I don't believe you mention is that not every n-instruction solution is equal (even if we only use single cycle instructions as possibilities). This is because of instruction-level parallelism.

(a _ b) _ (c _ d) only takes two cycles to evaluate on a modern CPU.

a _ (b _ (c _ d)) takes three.
It is a great place for promoting Startups, Blogs, Apps or Kickstarters
I can't believe my tax pays for so many useless cretins and the UK is still on its knees.
The conclusion on sound quality at the bottom of your link:

"when playing an uncompressed 16-bit audio file on the iPhone 6s, the dynamic range dropped from 99.1 dB at the headphone jack to 97.3 dB at the adapter. Though keep in mind, this slightly lower measurement is still higher than the theoretical maximum you get from a compact disc (which is 96 dB). So, is it a difference you are likely to notice? If you sit in a quiet room with a really, really good pair of headphones … and you’re a canine, the answer is: maybe."
The devils boat
It used to be that private companies paid a heck of a lot more than they do now. The public sector won't let social welfare programs pick up the slack so that company heads can make billions.
> No troubles connecting to peripherals like printers and projectors.

Well, except for all those dongles you need to drag around with you.
"no-contact martial art" is a bit of an oxymoron.
If you plan to use your martial art to improve at fighting (vs general fitness) there is no way around free sparring. Every school of Kung Fu that teaches fighting includes sparring.

If you don't want to get better at fighting, might as well learn ballet, or go running.

Your point about head concussion from extensive boxing practice is a good one.
Change is coming to VyOS project
Naïve Quitting (2010)
(Guided) meditation (using https://www.headspace.com )
"Off days"

https://youtu.be/co_DNpTMKXk
One example of selling something you didn't make would be to set up a drop shipping agreement with a factory. Build a website and advertise the products, then collect a portion of the sales.

Another example would be outright ordering products, warehousing, selling, and fulfilling the orders. That is riskier, but the rewards are much higher.

As far as how to become a better marketer, sadly, you just have to do it. With practice, you will find a style that works for you and that you're comfortable with.
> I'd want them to be super fast without the crazy slow animations

I wonder if you mean standard-duration animations or their really-slow variations. Adding Shift to any OSX hotkey that involves animation will slow it down 20x or so (e.g. Cmd+Shift+F3). I guess it was originally introduced for show-off purposes, but it's weird how that still exists.