skysight-inc/HackerNews huggingface dataset:
No it isn't. At most it is teaching a single unit, not the system. And if all it's doing is teaching them how to convert that unit into something they know, rather than them actually use the kilometer for what it is, then it teaches nothing.

Until you live with americans you don't appreciate how focused they are on accent and vocabulary. Social groups are defined by their vocab. Someone using the wrong synonym for the context betrays their foreignness. I remember once using the phrase "by whatever metric" in a lecture only to be informed that he correct wording was "by whatever measurement". Even the word is a red flag. The was a law lecture. Had it been a physics lecture my choice would have been apt. It isn't a lack of knowledge that holds them back. It's a class system in which the use of the metric system is an important identifier.

Also, pokemon can do nothing in comparison to the US military's increased use of metric, but even there its use in casual conversation remains an identifier of background/rank history.
I believe ( (low>>1) + (high>>1) + ((low&1) & (high&1)) ) renders the desired result sans overflow.
Why do you think Euclid drew diagrams and didn't write everything out in text?
Republicans want more big government projects?
>gameplay reasons why they wouldn't localize the units

Their previous game, Ingress, didn't have any gameplay reasons for using one unit system, yet it still used only metric.

See a four year old discussion about Ingress using the metric system alone here: https://reddit.com/r/Ingress/comments/13vjcw/the_real_nianti...
Incidentally, why doesn't Android provide a global units setting?

Some apps that do change seem to do so based on location, but I don't often want to see miles and feet when I'm travelling in the USA. I assume most Americans travelling elsewhere would rather be given directions in miles.
Hmm, I don't think you've ever worked on designing a building. Being able to diff two sets of plans would be hugely beneficial.
As people become less and less tolerant of things that are obviously ads, the industry will have to become more subtle.

Coincidentally, newspaper companies are extremely cheap these days.
I don't know about that. Searching around for conversations surrounding `gulp vs webpack`, people seem generally unconvinced that they can replace gulp with just webpack.
> Also, bus is a perfect venue to play the game.

When I accidentally get stuck on a bus in rush our, Pokémon Go makes that much more tolerable---if the servers aren't having rush hour trouble.
The inexistence of God is an article of faith as well. It's typically faith in the truth of the physicalist position.

But I agree with you on the tool. Even if we can assume a healthy community (a huge assumption) the tool would have to pick some first principles and scientific standards that would inevitably be controversial. We could maybe have different sections based on different first principles, but then we're back to a fragmented, insular culture.
If I am running a business that is looking at what projects to fund for the next year, and one of those projects is a software project with an unknowable time to completion vs (for example) opening a new store, with a well known time to complete, why would I ever pick the software project? It has a completely unknown ROI! If you cannot even give me probabilities, the lottery is a more guaranteed investment!

Software estimation is required for real business to ever consider software projects. The key is to embrace uncertainty, and instead of estimating that task X will take exactly Y days, estimate a range of possibilities. I like the three point system, estimating a best case, worst case, and most likely case. It explicitly asks you to think about the long tail for when things go wrong. Then use statistical methods to combine estimates and create estimates for multiple confidence levels.

This is all covered in a great book, "Software Estimation: Demystifying the Black Art" (https://read.amazon.com/kp/embed?asin=B00JDMPOVQ&asin=B00JDM...). It's not that long a read, and it goes over the problems covered by this blog post but doesn't throw it's hands up in the air and say estimation is impossible.
I don't know whether Android has adopted the same protocol, but on iOS, that's https://en.wikipedia.org/wiki/IBeacon: basically an API where apps can register an OS event-handler plugin to run in response to the detection of [basically, but not exactly] specific Bluetooth MACs.

The scary thing is, iBeacon handler don't have to do the cute "hey you're in this store, click to open the app!" sort of thing. They can run completely in the background, just reporting "hey boss, they're in the shoe section of Store #3313 now! Now they're in the produce section! Now they're gone." And, as far as I know, there's no way to turn off the tracking behaviour while keeping the helpful "activation suggestion" behaviour.
Estimation is not impossible. However, 100% confidence in your estimates is impossible.
Please don't let's have a referendum - the entire planet will go back to imperial - in the UK at least there's still a huge, possibly majority, definitely passionate, group that prefer imperial units. Hence we still have one foot in mph and pints.

There's talk of it happening regardless, as without the EU there's no requirement here to use SI units - and one pundit even suggested a return to pre-decimal currency.

Either way, people tend to value tradition more than progress or rationalisation. Having a system of weights based on the weight of a grain of emmer wheat is preferable to plenty of people, who don't have to write code or multiply weights or do science, and just want familiar human-scale units. Hell, I'm sure plenty of the aforementioned would prefer imperial too, for the same reason.
There's a child's riddle related to that: http://kids.yam.com/riddle/riddle.php?aid=505309&sid=0

The riddle goes: How many lights does a garbage truck have?

The answer: Nine of course! Dun-dun-dun-dun-dun-dun-dun-dun-dun.

It's funny only if you understand that the sound of the word for 'light' is the same as the sound you make when sounding out notes.
Actually it will soon be physically impossible to continue 2D scaling. Even if you could operate a single-atom gate once you hit that limit you're done. We aren't that far away.
The only benefit Rollup brings over Webpack is tree-shaking, which will be in Webpack 2.0.
With intelligent highlighting on double click, mouse is so much faster for small one-off operations like that. I wish CLI users/devs/ranters weren't so hostile to the thought of using more than a keyboard...
Anyone interested in running has known how many miles are in 5km for a long time.
The difference between a consultant with lots of real world experience and not.

Yes there is slippage, but you learn to plan for it. In the past week I had an employee have a baby and an employee have a parent pass away and another one have a horrible knee injury and be unable to work for a couple days, meanwhile we lost no time on a project by we are up some of our buffer.

If you don't plan to meet your deadlines even when faced with feature and scope creep ( which managing is another discussion entirely ) or things 100% out of your control there is other people that can and so your not going to be picked for projects that require real time mission critical demands.

And yea, if you figure that out, you get to charge more, and sleep less.
Hi, interesting quiz. I might discover some new tools here. I would suggest a "I don't know" button.
Just because there's no law, doesn't mean it's "nothing wrong", this is what annoys me about many people's sentiment here.

Do you think if your friend who pretends to be all friendly with you in front of you went behind your back and talked behind your back for his own profit, you will still say "oh he did nothing wrong, there's nothing in the law that says you can't talk behind friend's back."?
I'm younger than you and I own two TVs. I just don't subscribe to a cable package. I used to watch everything on my desktop, but now I usually find my couch is comfier.
> 14 said they would not personally do business with him as a result.

One of the most interesting things about current politics.

I've always found it odd that republicans haven't picked up on this and tried to seize on the opportunity to create an incubator for republican leaning/apolitical companies.

Seems like there would be a tremendous amount of opportunity there given the success of fox news, particularly for an apolitical twitter given recent censorship issues.
Glad to hear you like it. Thanks for your post. BTW now that we have the container registry you no longer need to create an account at Dockerhub I think.
Hi, there..

I'm a non-native English speaker. The way I did it was to read a lot, about a lot, and do it out loud.

Also, whenever I watched TV shows/movies, I'd find myself repeating expressions after characters. I didn't do it consciously, it just happened.

What this does is expose your flaws as some words are challenging (because the muscle groups activated in English aren't necessarily the same as in other languages). You then rectify your pronunciation to get it right.
The fundamental activity of software development is _learning_.

Although it looks to an outsider like the main thing is typing stuff in (or pasting it in :-), the thing that takes all the time is learning what you should type, or learning why the code you already typed in isn't doing what you expected.

If you've done that exact project before then sure, you can estimate how long it will take to do it again. But that isn't often the case - usually we're trying to do something new, or better, or on a different platform. Always learning.
Both fairly recent, high cost government driven projects. If you or supposedly libertarian Thiel think Republicans are the go-to party for infrastructure improvement, neither of you are paying attention.
yuck!
Of course, there's the ability to zoom and pan to get the appropriate level of detail. There's a reason Google Maps isn't a text adventure.
As she bleeds
True. But it does no good if management is dismissive. But that's another problem outside of the topic of estimating.

> And the best thing is if they then get 'their 10x code slinger' who does it indeed very fast, sends the code back to you and you are stuck with something akin to a broken toilet with diarrhea coming out the sides

A grim picture to think about but I find this to be true a lot of the time.
That's actually pretty sweet (#1).

Now we just need to find a way to build those microchannels stacked at every other layer or so without building fluid junction popping back-pressure! :-)

Or maybe just plan on doubling down on photonics (your #2 suggestion); that certainly makes switching energy (and heat) go way waaay down.
The Plan 9 terminal emulator[0] was pretty neat the last time I used it (probably 8 years ago now).

I seem to remember the TempleOS terminal[1] being pretty unique as well, but I don't remember exactly why.

[0] http://www.cs.usyd.edu.au/~matty/9term/
[1] http://www.templeos.org/
> Well, when you pass a variable around, it doesn't and cannot change

Yeah but how's that different than a const?
How Three Germans and a Venture Capitalist Hope to Integrate Europe's Refugees
Conversely you by weed in imperial units, pretty much everywhere - except Amsterdam, where you buy in 7g increments (28.3g in an Oz).
And that's the rub - finding that balancing point between 'gov't as long view investor' and 'entrepreneurship as short term implementer'.

Mariana Mazzucato has a nice talk about this at the Long Now Foundation.

http://longnow.org/seminars/02014/mar/24/entrepreneurial-sta...
I didn't know that. Incredibly useful, thanks!
This is an elaborate hack and a very detailed writeup. Thanks for sharing.
There's an irony to using the marxist derived "side of history" construct to support something you believe in.

If there really is such a thing as history taking sides, Marx and his followers very clearly ended up on the wrong side. I imagine those co-opting the phrase now will suffer the same fate.
Having to compete against more powerful countries might very well be the biggest factor.
I've never had a big problem with it. Even with multi month estmates
Boulder, Colorado, "America's Start-up Capital". [1]

Denver and Austin. [2]

[1] http://www.inc.com/magazine/201312/boulder-colorado-fast-gro...

[2] http://www.forbes.com/sites/tompost/2014/03/13/the-best-plac...
> Put in another way, how can I tell that these indicators should be included at the level importance this report gives them?

Absolutely. Also:

* What is the relative importance of the indicators? How much GDP growth is worth a crackdown on the freedom of the press?

* How sure are we that we can even assign a numerical value to these things? How do we compare American corruption to Mexican corruption, which clearly present differently? Can we even say one is worse than the other, let alone 23.2% worse?
Incredible turnaround! I remember seeing Dan Abramov's tweet [1] a while back saying React could learn from Ember's CLI. Two weeks later, here it is! Impressive!

[1]: https://twitter.com/dan_abramov/status/752863664290553856
It depends on what your layout actually is.

Just to take "simple" text rendering... When you have just ASCII text rendered with monospace font then it probably OK to do its full layout on each render run - that's really simple. But if you need to render, say, HN page then you'd better compute once and cache glyph positions. And other objects too that need calculations: gradients, tesselated shapes, etc.

Check this: http://sciter.com/sciter-and-directx/
That's relatively simple UI rendered directly into DirectX as a batch of precomputed meshes.

Ideally you should be able to take best of two worlds: immediate mode graphics and declarative one.
Table of contents at http://category-theory.mitpress.mit.edu/toc.html
Serious problem: The iPhone 7 conundrum
Moore was talking explicit about transistors, not computing power.
If the end to end encryption is implemented correctly then you don't have to worry about what their server does.
In Northern Germany, it's definitely in grams. That much I know, considering half of my high school used to talk all day about that.
>If I am running a business that is looking at what projects to fund for the next year, and one of those projects is a software project with an unknowable time to completion vs (for example) opening a new store, with a well known time to complete, why would I ever pick the software project? It has a completely unknown ROI!

Because the benefits of the software project would far outweigh the benefits of a new store? With the completion of the software project you could open an order of magnitude more stores? Completion of the software project will increase the profitability of existing stores such that they make more than a new store at existing (hypothetical, since the store is not open yet) profitability?
Hacker Interviews – The Scrub
Amazing, I'll definitely use it to improve my writing speed. A note: is it possible to change keyboard? Because i'm from Italy and our keyboard is slightly different.
"Clippy don't surf."
Cannibal Killer Admits to Killing Couple
One thing I've noticed is that it's not very good with sequels.

For example, I liked the original Planet of the Apes, but I've absolutely hated every single one since. Yet it keeps recommending more sequels even though I've marked them "awful".

I've also noticed that it won't stop recommending various Lord of the Rings movies, even though I've marked every single one of them as awful.

I'm still not sure if the recommendations are good or not. I'm at 92% now, and half the recommendations it gives that I've already seen are bad, so I'm not inclined to believe the ones I haven't seen yet.

I also noticed that it started out with lots of sci-fi and action movies, to the point that I had to start manually searching for romance movies just to get them to even show up. Basically, after the first 4-5 movies, you're stuck in a genre.
std::array is not really comparable since its size is fixed at compile time. std::vector or std::list are more similar.

The big advantage is creating copies. Copying a list or vector is O(n) in both time and memory, while this is O(1) in both.

An std::shared_ptr to a const list or vector is O(1) in both for copies. But almost any modifications will be O(n).

For this data structure, almost all operations are O(log(n)).

A summary of their algorithmic complexities:

Copy:
std::vector : O(n) time and memory
std::shared_ptr<const std::vector> : O(1) time and memory
immutable::Array : O(1) time and memory

Append:
std::vector : Amortized O(1)
std::shared_ptr<const std::vector> : O(n)
immutable::Array : O(log(n))

Access at index:
std::vector : O(1)
std::shared_ptr<const std::vector> : O(1)
immutable::Array : O(log(n))

Insert at index:
std::vector : O(n)
std::shared_ptr<const std::vector> : O(n)
immutable::Array : O(log(n))

Replace at index:
std::vector : O(1)
std::shared_ptr<const std::vector> : O(n)
immutable::Array : O(log(n))
Agner Fog's New ISA: ForwardCom
There is some more background information at his blog here: http://www.agner.org/optimize/blog/read.php?i=634
>> If I am running a business that is looking at what projects to fund for the next year, and one of those projects is a software project with an unknowable time to completion vs (for example) opening a new store, with a well known time to complete, why would I ever pick the software project?

Maybe because you're trying to innovate? Will opening a new store dramatically change your company's market outlook? Will it open up entirely new markets for products you don't yet have? Will it solve new problems for people?

Milton Hershey offered his first chocolate bar in 1900. It took him a further five years to perfect the manufacturing processes that produced the Hershey's Kiss. None of those processes, and none of the machinery to execute them existed when he started. He had to invent them.

Today, 110 or so years later, the company produces around 60 million of them a day which it ships all over the world. Probably he should have just opened another store.

No offense, but people who think the way you do about risk are exactly the reason large companies lose their ability to innovate at all.
On some issues maybe, on others probably not. I think he's on the right side of one key issue: http://www.salon.com/2016/06/22/donald_trump_is_no_lgbt_ally.... As a Bangladeshi with a beard I don't say that lightly, but we're at a weird point in history where only a guy not afraid of being called racist,[1] can take a stand (however opportunistic) on what is becoming a worldwide assault on cherished liberal social values.

[1] As an aside, calling facially race-neutral comments about particular immigration statuses or religious beliefs "racist" is kind of offensive to people of that race who don't share that immigration status or those religious beliefs. I'm sure there are a lot of Hispanics in the US who came here legally who don't appreciate liberals saying that Trump wants to deport their families, as if all Hispanics are here illegally.
Anecdotally, the number of votes and comments correlates well with work hours around the world, at least on weekdays.

I did some ballpark estimations by charting timezones on a UTC timeline.

Times when multiple large, English-speaking timezones overlap are the ones with the most activity. This works out so that 7:00 -> 17:00 UTC are fairly busy as Europe and either of India or US Eastern are at work; the contribution of US Pacific continues a good amount of activity until 0:00 UTC.

Between the hours of 1:00 UTC and 2:30 UTC, India hasn't woken up yet, and it's lunch hour for eastern Australia.

One day I hope to obtain some actual numbers to check this hypothesis.
All of these look really interesting, I'll take a look at time. Thanks everyone!
Seven Personality Traits of Top Salespeople (2011)
There are reddit communities to find practice partners, e.g. https://www.reddit.com/r/ExchangingLanguages, https://www.reddit.com/r/Language_Exchange
As a counter point, buying marijuana as a teenager was the way I learned that there are 28 grams in an ounce and 16 ounces in a pound.
TempleOS shell is a real-time C compiler/debugger that you can write and execute C programs in ... and ... something ?
We've already seen metric creep in a little bit: I'd imagine pretty much every American out there can conceptualize what 2 liters looks like.

edit: in addition, military servicemembers should all have a good practical feel for 1km (one "klick").
Isn't GCJ obsolete and dead?
Or you can simply use powershell:

Get-Content -Wait -Tail 15 log.txt
Jill Stein is clearly a less militaristic candidate than Trump.
Codetree has new owners
Compared with the other states I've lived in, California seems to have the least corrupt and most reasonable regulations. Sure I can find plenty of ridiculous stuff (the boneheaded 8-hr/day vs 40 hours/week rule) but by and large it's a great place to do business.

Those ALEC, Heritage foundation etc clowns are welcome to stay in DC and screw up other states. Their arguments are always data-free.
My mother was diagnosed schizophrenic at around 38 yrs old. She was hospitalized after every relapse, probably a dozen times. Each time she relapsed, it was at least a month, if not several months before we were able to get her in to treatment because of her refusal. It would take an incident with the police to initiate the process. My mom is now 62. She's medicated, happy, and perfectly normal. She hasn't had a full relapse in about 10 yrs, there were moments when hints of it would return, and she would be aware enough to self-correct and continue medication. The only problems she says she has is that she doesn't feel as quick-witted as she used to be. As for the memories, she occasionally has a hard time distinguishing real memories from invented memories. Most of the voices were obviously fake to her, now that she's clear headed and can reevaluate what happened. There were occasions where one of the voices she had was her sister's, and she now has a hard time reconciling real memories from false ones in that situation. She tends to avoid talking to her because when she hears that voice, painful memories come back and she gets stressed. Stress is a major factor in relapses, so she sadly tries to avoid it. At least in my mom's case, this anecdotal evidence suggests it's definitely possible to recover after being "gone" for months at a time. Not enough families are able to cope with the trauma this causes and fight this disease and, instead, let their family member "do what they want." Which usually means they become homeless and lost until they die. Happens a lot here in LA (skidrow). I personally know people that couldn't cope with the trauma it caused their family so they let them wander off to whereever they wanted. Almost without fail, they end up in skid row. Strangely enough, we have a history of auto-immune disorders in my family: Hashimoto's (2) and Alopecia Areata (2). Depression and bipolar as well (most likely every sibling, diagnosed or not). It's an area of study I've recently been interested in because it seems promising in preventing schizophrenia and maybe curing our depression. There's so much great research going on in this area, from anti-virals, immunosuppressive drugs, to even dietary changes and fasting (something I've recently piloted on myself). It seems promising. In my case it's already yielded results in that I'm no longer constantly sleepy. Hopefully we'll have this fully sorted and cured in under 15 yrs. I think it has the potential to be revolutionary on a global scale.