skysight-inc/HackerNews huggingface dataset:
What go compiler are you using? On my machine those run in exactly the same amount of time (go version go1.9 linux/amd64
).

$ ./tmp.test -test.bench .
goos: linux
goarch: amd64
BenchmarkInLoop-4 2000000000 0.46 ns/op
BenchmarkOutLoop-4 2000000000 0.46 ns/op
PASS

(pprof) disasm fast
Total: 1.95s
ROUTINE ======================== _/tmp.fast
970ms 970ms (flat, cum) 49.74% of Total
. . 4ed7c0: MOVQ 0x8(SP), AX ;main_test.go:23
. . 4ed7c5: XORL CX, CX
. . 4ed7c7: MOVQ CX, DX
. . 4ed7ca: JMP 0x4ed7d6 ;main_test.go:26
660ms 660ms 4ed7cc: LEAQ 0x1(CX), BX ;_/tmp.fast main_test.go:26
110ms 110ms 4ed7d0: MOVQ CX, DX
170ms 170ms 4ed7d3: MOVQ BX, CX
30ms 30ms 4ed7d6: CMPQ AX, CX
. . 4ed7d9: JL 0x4ed7cc ;main_test.go:26
. . 4ed7db: MOVQ DX, 0x10(SP) ;main_test.go:30
(pprof) disasm slow
Total: 1.95s
ROUTINE ======================== _/tmp.slow
960ms 960ms (flat, cum) 49.23% of Total
. . 4ed790: MOVQ 0x8(SP), AX ;main_test.go:14
. . 4ed795: XORL CX, CX
. . 4ed797: MOVQ CX, DX
. . 4ed79a: JMP 0x4ed7a6 ;main_test.go:16
690ms 690ms 4ed79c: LEAQ 0x1(CX), BX ;_/tmp.slow main_test.go:16
100ms 100ms 4ed7a0: MOVQ CX, DX
100ms 100ms 4ed7a3: MOVQ BX, CX
70ms 70ms 4ed7a6: CMPQ AX, CX
. . 4ed7a9: JL 0x4ed79c ;main_test.go:16
. . 4ed7ab: MOVQ DX, 0x10(SP) ;main_test.go:20
True, but he did teach about not doing good deeds just to show off, which was the original point.
Or does increased brain capacity promote cooperation?
Rock is pretty good at shielding from electromagnetic radiation. It obviously depends on how deep you are, but any shielding beats no shielding.
Ministry of Truth as a Service, now that's something google can get behind!

Either way, this factbook would greatly improve Siri, Cortana and the google counterpart.
States and school districts still have a fair amount of control over curricula, so "the US" does mandate hands-on classes in some places. My high school had a mandatory shop class (student's choice of woods or metals). Middle school had mandatory home ec for all genders.
Funny skit on Danish language and counting - https://youtu.be/8_iixmqSBQw
Facebook Tests Letting Brands Dive into People's Posts (Insights API Beta Test)
A Twitter bot that helps you find a Penpal
One of the things that perplexes me as a naive user about TLS is the ridiculous number of cipher choices. How do you explain it? Some people still need them? Impossible/impractical to cut TLS down to size? People who comment intelligently about crypto seem to agree that complexity is the enemy of security, but does TLS even try to reduce complexity?

There is so much accumulated cruft to SSL/TLS and the implemented x509 certificate scheme that to me, as a noob who knows nothing about crypto i.e. the average user, the easier path is to scrap all that ("shed all legacy" junk) and focus on learning a few things that are both flexible and known to be useful. I believe NaCl fits this role.

I have some basic UNIX-like utilities built with NaCl, one for each function (crypto_box, crypto_secretbox, etc.). Minimal non-djb code. In the interests of experimentation and learning, I prefer using small, separate utilities versus applications that do multiple jobs.

I would be interested in an "expert" opinion on my experiments with these utilities but crypto is such a devisive topic. Though they may be initiated as sensible, honest questions, online discussions quickly turn toward dogma supporting status quo, mindless memes, subtle insults and are sometimes derailed into the realm of absurdity. I would post an example of the usage for comment, but I am not interested in being chastised by the HN peanut gallery. It is just intellectual experimentation, nothing more.

IMO, as a general principle not limited to crypto, there is nothing wrong with "custom" anything if it has passed the same QA tests as the "mass-produced" version. Sometimes in fact custom is higher quality than mass-produced. Popularity does not always signify higher quality. Perhaps nowhere is this more evident than in the world of software.

IMO, a "naclwrap" program would be very useful, even in a "TLS world". Like stunnel but for nacl. Whether "everyone" would use it is an interesting question but ultimately not something I care about.
Perhaps I'm underestimating the significance of this, but honestly, does anyone really care in a hyperconnected global world? To me, as long as the parties you are raising money from act as good shareholders, I don't really see a massive problem. There are too many conspiracy stories going around..
yep, qatar :)
I think the trick with your 14 year old is the same lesson I eventually learned for myself when I was older. I didn't see the negative value of ignoring the chores until I branched out on my own. Immediately, I found myself in an apartment with 3 other roommates, and I was the only one who would do the dishes with any regularity. Those'll attract bugs real fast if they're just left out.

Trouble is, you already know this. You keep the house tidy because you're aware of the negative repercussions, but your kids maybe haven't figured that out for themselves to quite the same level. To them, a chore's a chore, and what Mom hasn't found out yet she can't get upset about. The immediacy of the task just isn't there.

What finally did it for me as an adult was the realization that my relaxation activities will always be there. The deadline I'm skipping out on won't be, and it looms over my head, threatening my sanity if it's not done. Once I do the task, or at least make some forward progress on it (no zero days) then I can allow myself to relax in peace, confident that I'm in a good place. I think that's the trick. Get your kids to feel good about having accomplished their day's duties with positive encouragement, and make sure they know that they can game in peace after that. That'll balance out the bad cop moments, and if you can spin game time as its own reward for the day's efforts, you might just be able to turn a negative habit into a positive one.
2 mbytes of CSS? Wtf.
I’m genuinely looking forward to the day when Moore’s law finally fails, and puts an end to this madness.
Ten rules for cities about automated vehicles
Exactly. I always cringe when I hear "build mobile first" that's just stupid, "flappy-bird" era is dead, agreed! - but there are so much more potential for full blown websites (or "webapps") that require PC/laptop and larger screen.
This will be useful, but similar to hype machine behind react or node.js, molecular biology is jerked around by new technologies that confer unclear value over existing approaches.

In this case, it’s single cell rna seq. I’d argue we never got very far with bulk measurement RNA analysis because it’s not a functional technique, rather than us not having single cell resolution.

Look at the nobel prizes. So many of them have simple genetics or biochemistry at their core. It’s because those experiments were functional.

And before you tell me we haven’t yet had enough time for gene expression studies to deliver a nobel prize, I’d say well it’s been almost 25 years. Yamanka 4 factors is less than 10. CRISPR, also less than 10 should come soon too.
Extremism is still just a political viewpoint. It's not inherently more wrong than the others. You're saying Google should impose popular US culture and politics on the world. Including taking sides in conflicts between other countries. It's pretty arbitrary and could easily be wrong.

If you're worried about kids, better ban violent movies, video games, the news, and angry music. No, people have tried "think of the children" before but the children turned out fine.
But we never got to do anything. Wr had a room of wood- and metalworking appliances that got turned on maybe once per months. Laziness + risk aversion = paperwork instead of handiwork. We goofed around mostly.

Was absolute waste of a good idea.
That's an interesting argument because basically any modern Berkshire letter you read is going to say something along the lines of insurance being "the most important" part of BRK, an "all-important" component of their revenue, "the cornerstone of Berkshire", "our core business and the propellant of our growth since we purchased National Indemnity", "our main business", "a huge winner", "exceeds its book value by more than any other Berkshire business", &c.

(Can you tell I just plugged a bunch of random years plus "Berkshire letter" into Google? I didn't find a single one that didn't play up insurance; I'm not leaving any out.)

In 1994, he even laments exiting a position in GEICO in the 1950s as one of his major mistakes!
A wonderful related read that has stuck with me ever since I read it (and hope to apply when my 1yr old grows up a bit more): http://carolblack.org/on-the-wildness-of-children/
Given enough potential profit, getting there shouldn't be a big problem. You already have a bunch of nations currently selling orbital launches, and various private companies didn't seem to have big problems designing their own engines and rockets.
Sure, but more companies have the story of needing a web app anyway which requires a specific tech stack. So you can either maintain two tech stacks or you can port your webapp to native.

Having a beautiful, easy to develop, and easy to maintain native stack means nothing when you don't have an answer to, "How do we then reuse our code in a browser?".
mng?
Launching a rock back at earth would probably be quite cheap given you need to have propellents on hand to be there in the first place. So at some point of habitation, moon based folks will bid for Independence.
When it comes to articles like this, part of me agrees with the whole "attention economy" problem. Companies want to suck away our time, etc etc.

But another part of me also realizes that this problem is going to be very, very hard to get rid of. As long as social media keeps feeding our brains with "things you might like" and endless junk notifications, it's going to be near impossible to stop.
Agreed. I often even go so far as pick a specific project because of what I’ll need to learn. This is especially so for projects outside of my day job.
JavaScript equality table
With JNLP you could presumably keep all those JREs updated automatically - no issues other than storage which isn't.
I use this when teaching Linux. Let's people quickly get comfortable in a shell
Sure, but Discord's web app and their native app are basically equivalent. The native app gives a little more system integration (like global hotkeys and direct access to sound hardware) but fundamentally the Discord app is just a webview.

I don't think anyone doubts that a high-quality website wrapped in a webview won't be at least the same quality. The question is whether "web-native" platforms can do more than just be a branded browser.
Hmm... I'm not sure 'unmarried singles' equates to 'secind highest taxed in the world.' That's a rather small category? As a percent of GDP, it is pretty far down the list of the countries they include.

We here in the US enjoy very, very low taxation. What is strikingly odd, to me, is that many of my fellow citizens believe we are taxed at comparably high rates.

At any rate, I'm still not able to find anything that puts Germany at the top, even for corporate/business taxes. It looks like some of the Scandinavian countries are pretty find of taxation, though they do enjoy quite a few benefits from that system.

Edited to clear up some verbiage.
Probably not many. They are too busy developing instead of over obsessing over small performance gains
> In the search results, users see "Fact check by Example.com"

Correction, the users sees "Fact Check by example.com: False"

https://developers.google.com/search/docs/data-types/images/...

If that is Google is not "presenting as truth-telling mechanism", it's a hell of a dark pattern.
Dilbert Creator on “Power of the Presidential Tweet”
School is maybe 3-4 periods of "cognitive load" with one period of PE and another that's something more fun, plus lunch, plus breaks. I'm not opposed to giving the kid quiet time each night, but he can finish his homework and do his chores beforehand.
This works if you can guarantee the variable will not ever change after being set which is not unreasonable for configuration options.

However if you are dealing with variables that can mutate in a concurrent environment, you might have a race condition if you pass by pointer reference rather than by value
Great article. Pair this with AOT. Then you have unbeatable combination. Productivity of java with availability of Native features. Count me in!
There is little incentives for employers to do that, unless it becomes a market standard and employees demand it.
> free-form records, dynamically-sized arrays, no types

AFAIK, free form records and lack of types do not an easier compilation target make. It's pretty easy to compile an untyped language to a typed language.

> How so?

- There are a ton of implicit casts that are almost certainly not what you want. So, for example, if you're going to use addition in the compiled code, it's a 10-step process [1, section 12.8.3.1], and you should be careful not to trigger the 9 steps that do things other than addition.

- There is, last I heard, no way to determine the size of the stack.

- No integers.

- Say you have a demo page for some language, and someone using the page writes an infinite loop. Don't want the page to crash? Welcome to advanced compilation techniques like CPS transformations and trampolining.

Overall, JS has a ~850 page spec, and any part of the language you target for which you don't fully understand the spec is a potential bug. Instead, you want your target language to be dumb, tiny, and explicit.

[1] http://www.ecma-international.org/publications/files/ECMA-ST...

Disclaimer: I have done research on JS, but I do not study or develop compilers.
It offers access to file system and system resources as well as multi platform build support. Developers like all people will whine over anything. For students and indie devs who have little time, support, and resources things like electron are great
> I could see this working if sites with a good track record were trusted more when making claims.

Google mentions this in the docs, but if it's page ranking, that can be gamed, and if it's "pay us to be a fact checker", well...
Flare: Social network powered by distributed storage
the preprocessor does not understand the commas as not being part of the macro
Extremism is political, but it can't be reduced to a simple difference in viewpoints. Cultural/moral relativism, beyond being a bit of a dead end philosophically, can certainly result in an inaction that opens the doors to political degeneration, anti-social behaviour, and terrorism.

As for other forms of media, we do prevent kids from accessing age-inappropriate stuff, more or less in line with developmental psych research [see: Huesmann, Moise-Titus, Podolski, & Eron (2003)]. YouTube is the odd man out here. The handwringing apologia over the appropriateness of a child entertainer using ethnic slurs would be laughable in any other medium.

Google has famously taken a stance on not being evil. It'd somewhat undermine this goal if it were unable to determine what evil is, and isn't.
Anecdotal problems
>> "Dear God, grant me the serenity to accept the things I cannot change, the courage to change the things I can, and the wisdom to know the difference."

This is like a long-winded version of one of my favourites:

>"Fight battles small enough to win that are big enough to matter."
The Internet is a utility. High time the Australian government realised that
Not true. First off, premature death from obesity-related illnesses, before retirement age, means that individual contributed less than a full working life into the system i.e. if you drop out of the workforce at 40 due to poor health, there's ~25 years of productivity and tax income that will not be realized.

Second, if you have the image of obesity related deaths being a sudden heart attack and dropping dead that same day, you'd be wrong. Diabetes, cancer, heart disease (within the spectrum of which a heart attack is only one likely consequence and sits alongside angina, strokes etc), these are long drawn-out declines that many obese people will suffer.

Third, accommodating obese patients requires significant specialist equipment, all of which places a burden on the system which would not be present if obese persons were not present. Specialized ambulances, MRI machines, gurneys, hoists, widened doorways etc.

“Obese men rack up an additional $1,152 a year in medical spending, especially for hospitalizations and prescription drugs, Cawley and Chad Meyerhoefer of Lehigh University reported in January in the Journal of Health Economics. Obese women account for an extra $3,613 a year. Using data from 9,852 men (average BMI: 28) and 13,837 women (average BMI: 27) ages 20 to 64, among whom 28 percent were obese, the researchers found even higher costs among the uninsured: annual medical spending for an obese person was $3,271 compared with $512 for the non-obese.”

https://www.forbes.com/sites/rickungar/2012/04/30/obesity-no...
At my company we’re pretty sure our website is very important to customer sales. However our products have long lead times and customers rarely communicate with us directly during presales. Most but through one of our dealers and even then most of our dealers disclose as little info as possible. Also our product is expansive and has physical components.

One of the things we struggle with is “what is a conversion” on our website. So how do we measure an A/B test?
Not closing and losing your data when your chrome crashes?
Hey HN! I'm one of the co-founders of Flare, and we're pretty excited to be announcing our launch on HN.
We are creating a social network which uses IPFS and blockchain to monetise through distributed storage, rather than personal data harvesting.
We are a team of grads and DPhil students based out of the University of Oxford including the co-founder of Cashew and ex-NASA and Microsoft researchers.
We are crowdfunding a tokensale (pre-sale 6th Nov, and public sale 11th Dec). Its a crazy market at the moment but we think, amongst the hype, there is some serious potential to point the internet in a better direction.
Please check out our project-- feedback or questions welcome!
What's up with the obsession with privacy on HN?

I'd rather see people work on ways to facilitate the transition to the inevitable post-privacy world than see people waste time making crappy "privacy-oriented" clones of existing tools.
... Unless the silos are attacked by Submarine launched ballistic missiles using depressed trajectories as part of a neutralising/decapitation first strike.

See it's the complicated, many possible options, nature of war planning that makes stuff like this much less black and white.
But your examples aren't 'facts', they're 'opinions'. Unless we're going to just throw away the definition of 'fact', we shouldn't be pretending that those example claims can possible be 'fact'.
If you're in the US, you probably pay a much lower percentage than you do in many other nations. That much I can establish.

Wikipedia has some good tables but, like you suggest, compiling that data is not that easy due to biases. There are also different names for the taxes, different categories, differences in reporting, etc... About all I can conclude is that I don't pay much, compared to what I'd pay elsewhere, in taxes.

I actually don't mind paying taxes. I do mind how the money is spent, but that veers into a digression and politics. So, I'll skip that for today.
> More and more people eat junk food thanks to food corporations propaganda and lobbying.

I think there are simpler explanations. I imagine people like the way it tastes plus it's extremely cheap and takes very little time to prepare.
And no mention of how bad this will be for the environment?
I did okay closing the notification permission, but not rejecting.
>The young, educated army of knowledge workers who have flocked to Seattle since the 1990s have also helped alter Seattle’s political chemistry. [...] there is often “a significant gulf in attitude toward politics, if not ideology, between tech company workers and tech company management.”

Ironic that Amazon wants a business-friendly town for HQ2, but if they are successful, the new employees may change the politics and make that town less business-friendly.
Mobile could be more innovative if it were more open and modular. Think of all the hundreds of things that would never have happened on the PC if they were as closed as phones.
Bombers could be attacked the same way, and take longer to launch and take less to destroy, so are even more vulnerable.

The threat of a sudden first strike that destroys our weapons on the ground is why we have ballistic missile submarines.
probably not R, though.
> "foundational work"

Hmm, I was ambiguous there. What I had in mind for "foundational" was, for example, constraint engines for GUI layout. Now we have CSS. But there was something like a decade, where we knew constraints were a good way to do UI layout, but there weren't available constraint engines. Each major language had odd bits of abandonware zombies, academic or hobby projects, with code which might or might not be online, or be buildable, or be licensed for use. So we had to wait for market incentives to change, and some non-trivial work to be done, before we had the foundation element of GUI constraint-based layout.

An Alto analogy might be bitmapped fonts and display.

A current analogy might be 3D dynamic structured graph layout. There's been a lot of research over the years on how to dynamically modify graphs without disorienting viewers. And on how to layout graphs within graphs, and with various spatial constraints. But last time I checked, the github cupboard was bare. So say you want to write a really wizzy todo app with complex dependencies. Well, first you read two decades of graph layout papers; then you write the graph layout library no one else has gotten to yet. Foundational work on our collective todo list.
I wonder if the OP were one of the youtube paying customer (for the ad free version) if OP would have gotten a better response.
The fact that paperbacks didn't come out until months after the hardcover came out? I mean, this is what my parents told me the deal with hardcover books was in the 1980s, but it's not like it's hard to figure it out.
That's my plan. Anything I should know before making a move?
Right, but does eg slack actually use any of that? It’s not a great native client by any stretch—it doesn’t use a native UI, it’s not particularly snappy, and it doesn’t do any special integration. So, it seems that electron is mostly a way to distinguish certain sites from others, not that they provide a better experience.

Granted I do like the distinct app icon. But electron should mean more than that to qualify as meaningfully native.
Treaties on Earth have very little meaning. They have zero meaning on the Moon.
shameless plug for battery swap on uavs:
https://drive.google.com/file/d/0B0tCZKAh4H5cUnNtTElaaVJWRDA... minutes 1:05 onwards.

and this is from tesla:
https://www.tesla.com/videos/battery-swap-event
But seems like Tesla discontinued battery swapping in favor of superchargers.
This a great way to dismiss in-depth investigations and listen only to soundbytes.
It’s not just that it’s mentally tiring. The bigger problem is that the work is dreadfully boring and trivial and disconnected, there’s little feeling of accomplishment when finished (just sometimes relief), the kids aren’t allowed to choose what to work on, there are few chances for them to work at their own pace or level of ability, the feedback is delayed (often by a week or more), mistakes are punished instead of celebrated as learning opportunities, and there is a huge weight of parental and societal expectation hanging over grades and exam scores.
Seems like it’s aimed at business class. Businesses certainly don’t care about externalities they don’t foot the bill for.