skysight-inc/HackerNews huggingface dataset:
Yeah, it's hard. I worked on a video game that was canceled 16 years ago, and only recently released in unfinished form. It was very difficult to get consensus among the team to allow a release, and ultimately we had to settle on a non-free license (CC non-commercial. better than nothing).

We had some commercial offers, but they were low enough that it made it seem like we could seek a better offer, even though no such better offers really exist. I can easily see the same thing happening with RethinkDB:

Buyer: I'll give $10K for all of RethinkDB's IP.

Owners: LOL, no thanks. You know how much we spent building this?

Buyer: I'll give you $100K.

Owners: Ehh starting to turn into real money, maybe we'll hold out for a bigger number?

Buyer: I'll give you $1M!

Owners: Now we're talking! But, no. Surely if you'll offer this much, there's someone to beat it. Let's go looking.

I don't see a way out...

Fortunately, they picked a FOSS license. As much as people like to gripe on the AGPL, we have code we can freely modify and use, even commercially. That's pretty awesome, and more than I can say about my much less valuable video game.
Maybe already fixed, but here are a couple things I noticed:

Go methods have to be defined in the same package as their receiver's type. As a result, you can only add methods to your own types, not someone else's.

Also, the article claims that Go interfaces are similar to Elixir's pattern matching but I don't see a resemblance. Perhaps clarify that?
Ask HN: How do I build a simulation in Go?
I'm considering using Golang to build a waste collection simulation in a city with high capacity trucks and low capacity trucks.

The goal is to generate optimal routes for waste collection based on a number of scenarios. A second goal is to visualize the process on a map.

Is Go matured enough for this task or python will be a better alternative?
Also, are there recommended libraries I can explore?
> allowing a non-American set interest rate to be the basis for American financial institutions in the first place

American banks don't borrow based on LIBOR. Their overnight borrowing and lending is done at the Federal funds rate [1], an arguably much better-designed system than LIBOR. The only reason LIBOR shows up in the U.S. is people write it into contracts.

> Of the 18 LIBOR member banks, 3 are American

>> Not really reassuring me with those kinds of numbers

The U.S. overruled British regulators in 2008 regarding Lehman Brothers and Barclays, and did so again in reforming LIBOR. The four British banks who are LIBOR members depend more on the U.S. than any American bank depends on London.

> the true ownership (who owns stocks in the Fed) is private

No, the Fed was created by Congress [2]. Its Board is appointed by the President and confirmed by the Senate. It remits its profits to the U.S. Treasury.

Commercial banks own "stock" in the regional reserve banks, but it's more of a reserve accounting mechanism than actual stock. The "stock" is not transferable and confers no management rights; "the Reserve Banks are not operated for profit, and ownership of a certain amount of stock is, by law, a condition of membership in the Federal Reserve System" [2].

> I understand the power of the defense/petro-dollar

The size of the American economy, particularly its consumption, underwrites dollar hegemony. That size means lots of people, within the country and without, must hold U.S. dollars. That, in turn, makes it ideal for lending and borrowing in, which in turn makes it ideal for trading commodities.

> I have repeatedly seen the Fed and major heads of banks bend over for bankers in the City

Since World War II and the implementation of the Bretton-Woods pact the City has served at the pleasure of Washington. For a hint at this, search the British financial press for mentions of American regulators and then do the same of the American financial press for British regulators.

[1] https://en.wikipedia.org/wiki/Federal_funds_rate

[2] https://www.federalreserve.gov/faqs/about_14986.htm
For This Metal, Electricity Flows, but Not the Heat
I also read the same regarding minority religions. Although the price I saw was only citing a draft of the executive order. I wonder when, they haven't already, publish the final version.

The countries to which the bans apply are all majority Muslim, so the exemption would apply to non-Muslims.
One's honor is not dependent on those one interacts with.

For example, stealing from a thief may be considered karmic justice, but it still makes one a thief.
700 years of Western inequality, in one chart
I was puzzled by the difference in ETR in Q42015 and Q42016 (5% vs 22%). What happened in Q42015 that made the ETR so low?
The "science and technology" section of the trending news panel is nearly always empty, or has just one story.

Presumably with this homogenisation of content, this is the same for everyone else?
How do you update the URL and everywhere its used once an asset (image or script) is changed ? Automatic script or manually ?
Why the data science team at Relink use Docker
I think the part about cooperative/preemptive multitasking isn't saying it all.

Go multitasking is based on the compiler inserting switchpoints on function calls and syscall boundaries. But this affects the scheduling of a single OS-level threads executing that specific goroutine. The number of OS-level threads that the Go scheduler uses can arbitrarily grow, and OS-level threads are preemptively multitasked.

So I think the description is focusing a narrow view of the problem. What is usually required by applications is low latency in reply to system events (e.g.: data available on network sockets), and Go performs very well in this context. For instance, the fact that Go is transparently using a epoll/kqueue based architecture under the hood is probably affecting latency much more than the whole "cooperative" issue as depicted.
You can see Ruth Porat (Google and Alphabet CFO) and Sundar Pichai (Google CEO) review their results on an hour-long webcast: https://www.youtube.com/watch?v=A0Gqd_r-8ng
You are right, thanks for the feedback template.

While I don't really mind being down voted, I don't want to be bad for morale with posters.
This is more for people looking at erlang/elixir than a critique of the blogpost or a suggestion for a change.

> Within Elixir, there is no operator overloading, which can seem confusing at first if you want to use a + to concatenate two strings. In Elixir you would use <> instead.

When this popped up, it reminded me of something people try to do often and then have issues with performance. You probably do not want to concatenate strings.

"Yes I do" you'll first think, but actually erlang has a neat commonly used thing to help here.

Let's say you're doing some templating on a web-page. You want to return "Welcome back username!". First pass (a while since I wrote erlang so forgive syntax errors):

welcome(Username) ->
"Welcome back " ++ Username ++ "!"

Now it's going to have to construct each string, then create a new string with all three. More creation & copying means things get slower.

Instead, many of the functions you'd use to write files or return things over a connection will let you pass in a list of strings instead.

welcome(Username) ->
["Welcome back ", Username, "!"]

Now it's not copying things, which is good. But then we want to put the welcome message into another block with their unread messages.

full_greeting(Username) ->
welcome(Username) ++ unread_messages()

More appending than is good here, concatenating lists is going to take time. Of course, we could put it all in one function, but then we lose re-usability in the templates and have horrible massive functions. While this is a simple example, I hope you can picture a larger case where you'd want to split up the various sections.

Anyway, there's a better way of doing this. The functions that take lists of strings actually take lists of strings or other lists. So we can just do this:

full_greeting(Username) ->
[welcome(Username), unread_messages()]

You can keep going, nesting this as much as you want. This saves a lot of copying, allows you to split things up and avoids having to keep flattening a structure.

So, for people about to get started, try not to concatenate your strings, you can probably save yourself and your computer some time.

For more info on this, you want to search for "IO Lists" or "Deep IO Lists".
> No, I'm pretty sure being "hyper-focused" is the opposite of ADHD

This is a common misconception: https://en.wikipedia.org/wiki/Hyperfocus

"It is typical for individuals with ADHD to say they 1), cannot focus on boring things and 2), can only focus on stimulating things, and that focus is often extreme. Thus it is both a concentration deficit and over-concentration, or generically: "hyperfocus." More concisely, some types of ADHD are a difficulty in directing one's attention, not a lack of attention"
aww cute - 3 minutes old and already sprouting nonsense.

(I'm talking about the account age - obvious troll is obvious)
Had similar exemptions been applied in war-time Europe the Franks may well have been saved.
It's increasingly clear that the US is not a safe place to store your personal or business data.

One might argue that just-some-person like me isn't an interesting target, but like most people I hold information that's private to my employers, my clients and my family. It must also be considered that such snooping does not need to be limited to law enforcement as there's also corporate espionage and such.

Now my country isn't much better. We have stringent data retention laws and a very snoop happy government, but then at least those are within my sphere of democratic influence.

I'm going to think about migrating my accounts and data to a safer place and would suggest others to do the same.
What does this have to do with hacker news?
Yes I could definitely make a more effective move in five hours than in four hours.

But the study we are talking about didn't give their players anything near such time, only rapid chess was played, where each player gets 15 minutes for the entire game.
In rapid chess, time management is a crucial part of the game so it is very strange that they decided to eliminate games where a player ran out of time.
And I thought all the innocent Americans (or as I'm not from America "people") killed by criminals sucks. As far as I'm informed being a criminal, an asshole or a despicable human being is completely separated from religion, immigration, color, gender, (feel free to extend this list) - people can be multiple things. Or none.
An extensive list of European AI tech startups to watch in 2017
Whoa, this website is so fucking liberal that your comment will be downvoted until the count underflows.
I don't get it. What's there to have a long lunch about? The concept wasn't particularly complicated. Get rid of the horrible and dishonest user experience where you click on a link to a page hut don't get taken to that page.

> I think I did a decent job communicating this concern to Paul and Malte. They both assured me that they understood the problem and are confident that they can find a solution that will work for everyone.

How about instead they just order some delivery and delete the fucking part where URL's were rendered unusable instead of this vague "is there anything else I can reassure you about" non-answer?
As usual a lot of negativity and not a single positive comment about something that, in my opinion, is a good move.
Show HN: Three Database Architectures for a Multi-Tenant Rails-Based SaaS App
Wire up the walls to create a Faraday Cage?
If people "just ignore shill tweets", then why does McD give you a free burger in exchange for a shill tweet?
The ISS needs that much fuel to boost it's altitude due to drag in LEO. But the refueling of satellites by the X-37 is hypothesized to be at much higher altitudes where there is very little drag.

These satellites don't need altitude boosts-- they use propellant for orbital changes (e.g. to "re-task" a spy satellite to a new region). But instead of chemical rockets they often use xenon gas ion engines.

The key thing with ion drives is their "specific impulse." High-thrust chemical rockets are needed to get out of the atmosphere and perform fast burns, but ion engines are often >10x more efficient once already in orbit. And because there isn't a chemical reaction, there is less corrosion and they can last for years.

Refueling xenon for the ion drives of spy satellites would double or triple their mission lifespan. They don't need much -- maybe just a couple hundred kg. And this could literally save billions of dollars since these satellites are so expensive to build.

https://en.wikipedia.org/wiki/Specific_impulse#Examples
don't feed the troll - there are so many arguments against this that the comment was likely engineered for maximum wrongness.
Not being a racist jackass makes you "liberal"? Is that a "fact" or an "alternative fact"?
http://www.npr.org/sections/thetwo-way/2017/01/26/511903885/...

"Trump's Refugee Plan Will Prioritize Christians Suffering Religious Persecution"

The precise wording of the order/legislation may not mention any specific religion, but the intent is clear. Specific countries will be targeted, and exceptions within those countries will be granted, to ensure that Muslims aren't able to get in but Christians can sail right through.
Is There a Peak Age for Entrepreneurship?
well its also wrong - and the account is kinda young - its clearly a trolling attempt - don't feed it.
I have just tried Node RED. When we had IBM people come to show their SaaS offerings they used it as a demo tool, I thought that was quite neat and you could see how their services fit together.

An other tool with a similar interface is Autopilot (https://autopilothq.com/, not affiliated). That one let marketing/product people tune email campaigns themselves where they otherwise would have had to ask developers for help. User events from our product were forwarded to Autopilot and marketing/product could create triggers and quite advanced user journeys (like the onboarding flow) from the event stream without coding.
Sorry, I know I shouldn't but sometimes I just cannot resist.
you forgot to mention that the would-be thief is electrocuted by the bike and a net shoots out of the bike and traps him until the police arrives :)
Could someone describe what it's like to live on earth during a (close) supernova ? Why can this event trigger an extinction ?
Hackers are people, my friend.
Your link answers your question: "Vegetarian supplementation with creatine seems to be especially beneficial as they appear to have lower average body stores, since meat is a primary source of dietary creatine."
Bootstrap 4 Alpha 6: A close glance on its new features
> figured out who their boss was and CC'd them on it

The boss probably had a good laugh about that botched personalization of recruiter's message.

By the way, without reading your post it is hard to figure out that your post is a eulogy for your dead cat.
Where Voter Fraud Still Exists
Islam is a religion, not a race. Being an illegal immigrant is a form of legal status, not a race. Calling someone a racist every single time we disagree with them is part of the problem.
PennX Offering MOOC on “Top Social Issues for the President’s First 100 Days”
I stopped after 'Print the relative file paths, one path per line for all files that start with "access.log" in the current directory.' It didn't like my BSD find options.
The entire history is mostly built on alternative facts. They're just so old that just we don't give a fuck and call them facts.
A fun inbetween is those little Polaroid nostalgia (FujiFilm Instax or whatever) devices. You have 10 shots, and they're inherently non-sharable (exception: giving someone the photo).

Me and my girl picked one of these up for trips and the amounts of picture perfect shots/obsessive photographing has dropped dramatically. We can't really post the photos, but they decorate the bedroom nicely.
On a Plate – A short story about privilege
Most people want to move on with their lives. Maintaining list of Amazon recruiters is not exactly appealing way to spend time.
I'm still constantly told by engineering friends that the easiest way to get a raise is to get a new job. That indicates to me that employers aren't that worried about the costs of turnover.
Vanilla JavaScript is a fast, lightweight, cross-platform framework
Benchmarking MRI vs. Rubinius vs. JRuby vs. Truffleruby
Groff is a text processing/formatting system so same issue, and less doesn't handle jack shit.
Insane Pokémon Flip It or Rip It Challenge
Is being a jackass a religion or a race? And I only call someone a racist when they're racist, you gaslighting sack of shit.
For me, the hope that somewhere underneath our interest in growth hacks, new programming languages, and this week's hottest JS framework exists basic human decency.

edit: Allow me to rephrase a bit. Our actions as technologists have real effects upon real people. It is incumbent upon us to consider how the tools we make may harm or help our fellow human beings.

In Canada, newly graduated engineers are given iron rings to remind them of the ethical obligations incumbent in their jobs. We should all be so fortunate as to have a physical token reminding us of this on a daily basis.
This site is a great resource and I hope Brendan keeps posting amazing content.
You may find this Wikipedia page enlightening:

https://en.wikipedia.org/wiki/Correlation_does_not_imply_cau...
Nice writeup! ZeroMQ is not written in Erlang. You probably confused with RabbitMQ, which is.
Over the top political agitation like this (or Scott Aaronson's from yesterday) used to get flagged reliably. Why not anymore?
I read top comments and keep reading comment threads until they get boring.

If discussion is interesting - I read more comments.

I may even decide to read the original article is discussion is good.
> It didn't like my BSD find options.

Which options, specifically?
You clearly don't respect the ethos of your fellow human beings with this vile rhetoric. Don't sully HN with these comments.
I actually submitted a PR upstream, and the author merged it and deployed it, so cmdchallenge.com now has globstar enabled.
I just realised i'm mixing up trading and lending, i shouldn't post when this tired lol. Maybe if we lived in a dissociated socialist crypto cybertopia it would be possible, i can dream.
Other 15% leave under a government that is so corrupt that it pays for this kind of researches.
interesting! didn't know such are being developed! TIL
I was just discussing the general principle (in response to the preceding comment) and my opinion about what the law should be, not the merits of this specific case given current law.
From what I've seen, it's fairly common for articles and posts of all ages to reach high slots on the front page, including the first slot
What's your role in the team? How are you using slack?

If you're a team lead, or someone with significant business or technical knowledge, helping other people on slack might increase their productivity, and the productivity of the team. That may be more important than your own productivity, or it may even be your responsibility. In this case, not being available is unfair to your team.

I use the slack app which displays a notification icon in the task bar. When I get personal messages (which usually require immediate attention) the icon shows a red dot (I also get a notification). If people chat in public rooms the icon shows a blue dot (and I don't get a notification). I don't check slack, I just glance at color of the dot. Interrupts are pretty rare, and I'm always available if someone needs me. I'm not, however, a central member of the team, so people don't often come to me for technical or business advice. If I were, however, I wouldn't shut down their line of communication because "screw you, I need to work".
This specific exception would obviously not have made any sense back then, considering the vast majority of refugees belonged to the minority religion.

I actually just tried to find out what the attitude towards jewish refugees was in the US and happened upon this eerily pertinent passage:

Out of fear that the Nazis could smuggle spies and
saboteurs in with refugees, immigration officials
tightened visa policies for immigrants and non-
immigrants. The State Department urged its diplomatic
consuls in Europe to screen potential immigrants
carefully, including those fleeing persecution,

(from https://www.ushmm.org/wlc/en/article.php?ModuleId=10007094)
Related what-if: https://what-if.xkcd.com/73/
Humans living in democratic countries have the government they deserve.
Remame – App for remembering names is coming soon
Because it's no longer over the top?
Although I enjoyed this article and don't mind seeing it on hacker news, I can understand the question tho, and actually have found myself wonder about it.

of course we are human, but it's called "hacker news" and I guess people expect computer related news here. Just like when I visit soccer.com, I'm not expecting news about AI or Anne Frank :)

So it's not about being people too, it's about the subject focused (or at least implied) by this website.

I can also see the fact that HN is now more a community that an actual news site and people like to talk about more and more various subjects.
I've been tempted to do something like this, what are you doing about shared storage?
Data centre growth drives Intel's fourth-quarter revenue, profit beat
Movsea – App for recognizing movies
I think it's the same for slack as it is for email: simply turn off notifications.
I think a good way to increase creativity and productivity is to use the right abstractions of thought and craft.
Every good(non leaky) abstraction expands the creative envelope further and lends itself to creation of new higher order abstractions for the next generation.

Having coded in imperative languages like Java, Python and C++, I had been on the lookout for a practical general purpose language which provides good abstractions/high expressiveness.
Elixir appealed to me more than Go in that regard. It's been six months since I started writing Elixir and it's been a pleasure.
Controlling who may enter your country is exactly what the Nazis would do.
The secrets of people who never get sick
policy by anecdote?
SQLite and Android N (2016)
"Meta" would be a good name.
> Islam is a religion, not a race. ... Calling someone a racist

Statement: "Since Islam is a religion and not a race, Islamophobia is not racism" That sounds logically true, but in your heart you know it's false.

> Calling someone a racist every single time we disagree

"every single time we disagree" is more misdirection in this context.
Convolutional Neural Networks for Screen-Space Shading
> FB, Reddit, and much of the other bullshit

If they're bullshit, how come you lack the discipline to abstain from checking them?

> HN is not banned (yet), since SNR is not zero here.

I might be misjudging, but you make it sound as if you're pretentious about the content you consume when actually you're placing external constraints trying to prevent yourself from consuming bullshit. In that case, more discipline would be the healthier solution.
Of course you have already thought about the part where for a person who tends to procrastination, the whole point of having a boss is authority. There is no authority if he is paying you, and if he can play that game in his mind, he can proably also do it on his own.

But even assuming you have this sorted out, i wonder, how would you pull off the "asking non-obvious questions" thing? You have to be smart AND knowing the topic to make non-obvious questions. Do you plan to hire enough well-educated people to cover all your clients needs? Or do it all by yourself?

In my opinion, there are enough problems out there that need to be solved. What is the point of people creating new ones instead of solving something?
Or any other sane nation...
Do you have a reference? I'm interested.