skysight-inc/HackerNews huggingface dataset:
Hi. I'm the author of GoshawkDB. Thanks for your questions.

> It isn't true. There're plenty of storages with same strong consistency model (tolerates F failures of 2F+1 nodes), among them are Cassandra with lightweight transactions, Riak with consistent buckets, CockroachDB and ZooKeeper.

The point I was trying to make is the decoupling between cluster size and F. ZK, for example, requires that the cluster size is exactly 2F+1, not is minimum 2F+1. That means that as the cluster size increases, performance will decrease as more nodes have to be contacted.

> Can you please describe the algorithm that you use for implementing distributed transactions?

Yes. In detail, there will be a blog post forthcoming. However the two main points is that 2PC is replaced by Gray and Lamport's paper "Consensus on transaction Commit", and dependencies between transactions are modelled through vector clocks. As I'm visiting lots of family over xmas, I'm afraid I don't have the 12+ hours necessary to document the entire algorithm just at the moment. However, I will certainly get to this asap.

> Do you use the same approach?

I don't know. I don't use the term round-trip because that doesn't make it clear if we're talking individual messages or message-hops, and these sorts of conversation and discussion can often go wrong if we use different terminology. The 3 network-delays that I mention comes directly from the Gray and Lamport paper I mention above.
> The trade-off is that in the case of failure (node failure or network partitions), operations may block until the failures have been resolved.

Curious how this works at scale. For example if a node is down and N requests start blocking, is there an upper bound to N? What happens when this is reached? Does N map to a goroutine? A file descriptor? Is there timeouts?

Seems like possibly a node going down essentially means the entire show going down if requests are filling up and not being resolved, you would think there may be a tipping point in which other requests may not be able to be served as all resources are blocked.

Possibly there is just a sane timeout and these requests also just fail, leaving the client to know something is amiss?
Something human can't see is uninteresting. Fractional values of pixel color is one thing.

Our human eyes have a lot of filters (hardware and software-based) before recognition takes place.
An Introduction to OpenResty
Yup, on the whole, in order to increase performance, you don't want more and more nodes to be contacted. Remember that every txn has to have a minimum of F+1 replicas vote on each txn, so if F is really large, although they vote in parallel, you have greater chance of network delay and greater load on all machines. So GoshawkDB allows you to increase cluster size without increasing F, so getting you greater performance.
Charting for Nerds
Why I went to prison for teaching physics
And what are you going to live on in 20 years time when inflation has halved the value of the 100.000 EURs?
Because even if you have an edge at a game of skill and chance, it's not a license to print money. Professional blackjack players have to fly under the radar, and even with the large bankroll needed to survive swings, can only expect to make somewhere in the 5 figures. Plus, you have to spend all your time playing blackjack. Wouldn't you rather sell a book?
Hi, I'm the author of GoshawkDB.

I'm no Cassandra expert, but I'm certainly under the impression that Cassandra does not offer full transactions - lightweight txns only that are atomic only for a single row.
China Defends Controversial Anti-Terror Law
You seem to be correct. The dangers of googling stuff.
Show HN: AirConsole – Now with WebRTC and 20+ Local Multiplayer Games
> It is by definition highly extensible, and unlike JMAP, it's not wedged into complex poorly suited protocols like HTTP.

Why building on mature concepts that have proven themselves in practice over several decades? It's much more in line with the current web culture if smart rockstar developers half-assedly cobble together a RESTful shit fest.
If you worked five years in a startup that failed it's hard to believe that you can get a VPN job at Google. With acquisition maybe. But Google don't hire VPs like that.
What a totally organic and subtle way of advertising. Ugh. Get lost.
Reading the linked article about how employees of Good paid huge tax bills on stock that ultimately proved worthless - how insane is US tax law?? Surely you should only be taxed on realised gains, i.e when you cash out.
why does productivity need to go up if the population is declining? what about the unemployed?
Cool! So now I have this Python notebook running (I guess) on docker, and it tells me:

[I 08:37:21.591 NotebookApp] Writing notebook server cookie secret to /.local/share/jupyter/runtime/notebook_cookie_secret
[I 08:37:21.757 NotebookApp] Serving notebooks from local directory: /neural-nets
[I 08:37:21.758 NotebookApp] 0 active kernels
[I 08:37:21.759 NotebookApp] The IPython Notebook is running at: http://0.0.0.0:8888/
[I 08:37:21.759 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

What next? Should I be looking for a python notebook tutorial, or a docker tutorial, or both?

The author lists some commands to run, but it isn't clear where to type those commands. All I see is a terminal with the above output.
I can't really back this up with a source but I read somewhere that this is similar to how traditional Japanese merchants used to operate. They would show a customer a single item, which he could either accept or refuse. Then another item was brought in and so on. By restricting access to the entire catalogue the merchant was able to get better deals out of the customer.
This service supports up to 100 domains per certificate using SAN. By default it secures domain.com and www.domain.com
Sửa bình nóng lạnh tại Nam Từ Liêm Hà Nội
But I said nothing about working 40 years. I just said you could do the same thing faster working at google than being a 100k freelancer. Most freelancers I know live a pretty variable life where you get feast & famine cycles. And when it's feast time, it's long hours time. It can be more stressful than being an employee too.

You can also work pretty interesting projects at a place like google. If you want to do platform library type work, the only kinds of places your likely to get that kind of work is from a place like google or other larger companies.

I think most software engineers could get into to google if they put the effort into it. If you can make it as a $100k/yr software freelancer, you could probably study 'cracking the coding interview' and make it into google.

Also realize that google hires in europe too.

The hours isn't what you think it is. There are many 9-5ers that do good work at places like apple and google. And there are other teams that work a lot. It all depends on the team. People also get more than 2 weeks vacation too. For example, the entire engineering org at apple at least gets 3 weeks of 'mandatory' vacation. One week for thanksgiving, 2 weeks for christmas. Then you have your normal vacation on top of that.
Hi, I'm the author of GoshawkDB. Thanks for your questions - they're certainly not answered on the website so I'll do my best to answer them here and incorporate them into the website later.

> Curious how this works at scale. For example if a node is down and N requests start blocking, is there an upper bound to N? What happens when this is reached? Does N map to a goroutine? A file descriptor? Is there timeouts?

The blocking actually occurs on a per-client basis: when a client submits a txn to the server to which it's connected, that server will calculate which other server nodes need to be contacted in order for the txn to be voted on. If it cannot find enough servers due to failures then it will outright reject the txn and tell the client that there are currently too many failures going on.

However, the server could find the right set of server nodes and send off the txn to be voted on and send of the txn for verification and validation. Right at that point there could be further failures and so it's not known how far those messages got. It is in this case that the txn could block as until some node recover it's impossible to safely abort the txn. But it's important to note that:

1. If a txn starts blocking, that'll block just that txn and that client (as the client is blocked waiting on the outcome of the txn). No other part of the server or any other server is affected.

2. Other clients can be submitting other txns at the same time that need different un-failed nodes to proceed, and they progress just fine.

3. There is no global determination (yet) of whether a node is failed or not. Thus this approach can cope with really weird network issues - eg random connections between different nodes failing. There is no need for the whole remaining cluster to agree that nodes X, Y and Z are "out" - none of the algorithms depend on that sort of thing.

I hope this answers your questions.
After 500k Apps Built, Bizness Apps Launches Apex, a White-Label App Builder
Unemployment is on a long-term upward trend because as technology advances, it becomes economical to replace an increasing number of jobs with machines, starting with the lowest-skilled jobs first. Without eugenics, population decline will not increase the smart fraction in society, so to achieve economic growth, you constantly need fewer people to do more work.

That is, the more technology we have, the larger the portion of the population that is "zero marginal product" --- that is, the portion of the population that isn't profitable to employ at any wage.

Improved education is no help, since most people do not have the intrinsic mental capacity to take full advantage of it. Intelligence is largely genetic and immutable.
Conscientiousness is also correlated with job performance, and is about on par with IQ for predicting lifetime earnings. Agreeableness (also a Big-Five trait) is also quite important in cooperative settings (though both have small effects relative to IQ for single shot task performance).

http://www.gwern.net/Conscientiousness%20and%20online%20educ... has a nice overview of the literature. https://en.wikipedia.org/wiki/Conscientiousness does a reasonable job describing the trait.

Edit: while we're listing large causal factors for work performance, I feel appalled I forgot to mention genetics... https://news.ycombinator.com/item?id=9739126
Use the manual verification if you're scared. You don't enter any information. Or install the official client manually - https://letsencrypt.org/
Turn any device to a remote control for YouTube using REMOPLAY
Basically a warmed up version of the "precautionary principle” - or as it should be named "don’t do anything new because something bad might happen” principle. This is not an argument for any long tail, just an argument for inaction because we don’t know what might happen and can never know unless we try. If our ancestors had taken the same approach we would still be living in trees being eaten by wild animals.

What those propounding the precautionary principle forget is the do nothing approach is not cost free. 700 million people are made ill every year by mosquitoes and more than a million killed. Unless the risk adjusted consequences are greater than this then doing nothing is far worse. No one has been able to suggest any possible bad consequences of wiping out all human disease carrying mosquitos so there is nothing to be precautionary about [1].

As for the technology it is already in the wild - it was originally isolated from bacteria. One final point is yes it can be undone - see George Church’s paper [2]. George is on your side, but he does explain how any trial can be controlled.

1. http://www.nature.com/news/2010/100721/full/466432a.html

2. http://biorxiv.org/content/biorxiv/early/2014/07/17/007203.f...
This is the only sane approach. Small passes are easy to write, easy to understand and easy to reason about.

And if yoy worry about performance, your compiler can fuse passes together in many cases.
With Ansible you have an encrypted vault file that stores your secrets. Similar principle I guess.
PEG (Packrat) is hot now.
It is much more memory-efficient than thrashing a single graph over and over again. Rewriting and compacting trees is good for cache locality.

Also, for the trivial rewrites (e.g., variable renaming) your compiler can safely choose to replace a cooying rewrite with a destructive update.
I don't know the answer to how Neon would affect that, but AFAIK, you can already do this:

http://julienblanchard.com/2015/rust-on-aws-lambda/

But that uses a shell command. There's also this way to do so using FFI (article is about C++, but I'm pretty sure you could do the same with Rust):

http://benchling.engineering/crispr-aws-lambda/
Can someone explain to me why env vars > filesystem for secrets? They seem equivalent in most ways that actually matter.

In general 12-factor gets my hackles up as it comes across as dictatorial with explaining why. Even when I'm wrong I like to be gently convinced rather than hit over the head with rule book. Can someone point me to an extensive source that clearly justifies each factor? Ideally with an actual debate about each point (as this often surfaces the strongest parts of the case for something)
You get taxed at the amount of 'profit' you have gained when you exercise the option. There is an 'ISO' stock option type for employees that makes the tax event when you actually cash out, but an alternative tax system called 'AMT' (alternative minimum tax) kicks in pretty quickly and taxes you anyway. The entire system assumes you are getting public company stock or something similarly liquid and taxes you as so.

Capital losses cannot be applied to normal income in practice in the US either, only to other capital gains.
Because an engineer will work at many startups over his career these seemingly small differences add up. Let assume the chance of not hitting the jackpot is 99% at companies like A and 95% at companies like B. After working at 10 companies you would have a 10% of hitting the jackpot following the company A path and 40% if you go down the company B path. This is pretty significant.
Stop Styling React Components with JavaScript
Three barriers that stop manufacturers investing in robotics
Here's a nice site for these: https://regexcrossword.com/

The default puzzles are a bit basic, but there's a large amount of player-created puzzles that are great.
The problem is conscientiousness is heavily g loaded so what you are mostly measuring is the effect of g.
Crystal 0.10.0 released
Cool video, thanks!
HackMyResume is a dev-friendly, local-only Swiss Army knife for resumes and CVs
Hi Everyone!

We have done some cool updates just in time for Christmas.

The last time we were featured here the community gave us valuable feedback about latency and controllers.

We worked together with indie devs to create games that take advantage of smartphones as controllers such as shake, tilt, swipe and more. The results you can check on AirConsole.

Another feedback we've addressed is latency. We've added WebRTC to our platform. You can find more info about how we bring latency to something between 1 and 10 milliseconds on supported devices here: http://bit.ly/1m7fTo4

I'd be happy to hear your feedback and also suggestions about how we can improve AirConsole.
The difference is whether the decision is based on where the money is today or where the money's been historically.

The board game analogy is pretty apt. In The Settlers of Catan, players compete to reach 10 Victory Points by developing a robust and healthy colony. Settlements are worth one VP each, and upgrading one to a city makes it worth two. The city also pays out double resources, and it's relatively difficult to stop a player from building cities. I might observe that players who win tend build all their settlements and upgrade as many of them into cities as possible, so I decide going into this game that's what I'll do. I decided on that strategy without actually taking this game's state into account, and I will probably not do very well if this game is unlike games I've seen before.

Alternately, I might just build whatever seems appropriate given the resources I'm getting. This is "playing the board." The strategy for this game is based on the current game's state, not general knowledge of the game's rules in a vacuum or observations of prior games.

If someone studies historical trends and concludes that people with skills related to broadly applicable inventions will get paid a lot, like people who can make steam engines or program computers, they're using the first strategy. They didn't look at today's conditions at all, they noted that life in general seems to cause good salaries and specific types of skills to coexist. If they instead just show up to their first day of college, look up the average starting salaries for recent graduates in every department, and join one with the highest number that they feel confident they can graduate from, they're using the second strategy. The end result could be identical and they wind up writing software either way, but the strategies were formed using totally different methods.
I haven't heard much about CRISPR-Cas9 in population studies/experiments like this - my understanding was that you need to insert the RNA. Since RNA is so unstable it is usually a 'one shot' process transfecting cells with plasmids through infusion.

Is the proposed mechanism to release a virus with the appropriate RNA scaffolds in the wild?

This strikes me as extremely dangerous
They did, it was called 'Windows 8'.
Why you should always buy the men’s version of almost anything
State Considered Harmful – A Proposal for a Stateless Laptop
There are thousands of small, private technology businesses worth millions or tens of millions of dollars across the US, that have taken little to no venture capital, and in which the founders have very large equity stakes in their own business.

It does not require the equivalent to winning the lottery to get rich with a technology business. The odds are several magnitudes greater that you'll get rich creating a technology business than playing the powerball.

Being worth $4 million, and having a small business that generates $650,000 per year in profit, is rich.

Getting rich with a start-up in Silicon Valley, given the approach used there, is like playing the lottery. The start-up lottery you're referring to only exists in SV / SF. Nearly everywhere else, the fundamentals of having an operating business still rule - in that world, a lot of people get rich running smaller technology businesses. $50 million or $500 million rich? Nope, $5 million rich. Silicon Valley is mostly all or nothing, and that's what makes good outcomes so relatively rare.
On a site like HN you're going to get many people talking about what they're doing. Parent poster didn't post a clicky link, and it's not shoe-horned in - they're doing the same as this bookshop. If people are interested in what this bookshop is doing they're probably wondering if it works online.

Searching for the word tomotcha shows a single submission and a few mentions over the past year.
Saudi Arabia.
You're right, both achievements are huge.

That said, I'm not too sure I understand the line "the kinetic energy transfer at a 100 km reference altitude is what matters"...

What is the "kinetic energy transfer at 100km" ? Why not say that what matters is the "kinetic energy transfer", period? It doesn't make any sense to me to put it the former way.
> Capital losses cannot be applied to normal income in practice in the US either, only to other capital gains.

That's wrong.

You can deduct $3,000 per year in capital losses against normal income.

"Generally, realized capital losses are first offset against realized capital gains. Any excess losses can be deducted against ordinary income up to $3,000 ($1,500 if married filing separately) on line 13 of Form 1040. Losses in excess of this limit can be carried forward to later years to reduce capital gains or ordinary income until the balance of these losses is used up."

https://www.irs.gov/uac/IRS-Reminds-Taxpayers-They-Can-Use-S...
I'm most interested in deterministic languages. Non-deterministic context-free languages would be extremely interesting as well but more out of curiosity than an applicable need. Thanks!
Not true. In fact, modern x86 backends recognize the safe rotation idiom and also translate it to a single ROL instruction: http://goo.gl/NCMEVu http://goo.gl/9Ytsz2 http://goo.gl/vbzHNW
China’s Netflix launches VR headset for $23
I love these! I tried automating the creation of them a while ago[1] (refreshing the page creates a new one). I should probably revisit it though as the generated puzzles aren't tricky enough..

[1] http://padolsey.github.io/redoku/
restrict?
1) Shadows of the Pomegranate Tree - Rating 3/5 - Got an idea about the times in receding Muslim powers, at the end of the 15th Century, in Spain - The author is an historian so positive point is that fiction rooted in history. But some of the fictional narratives could have been better, as he was not a fiction writer when he started out.

2) Zero to One - Rating 4/5 - Thoroughly enjoyed reading the book. Insights into and anecdotal examples of Paypal mafia, among the numerous over there.

3) Liar's Poker - Rating 4/5 - The first of several best seller's by Michael Lewis, gives insights into the working of Investment Finance business, and in a very interesting way (lots of humor)

4) Devotion of Suspect X - Rating 4/5 - Work of fiction by the Japanese best seller author Keigo Higashino. Enjoyable read - contrasts a Physicist and a Mathematician trying to out think each other in a crime context (reference to Maths/Physics are just pop-level so don't expect too much)

5) 'Digital Gold...' by Nathaniel Popper - Currently reading (very enjoyable at around 41%) - Captures the history of evolution of Bitcoin. Also made me sad for various people for different reasons, e.g. Hal Finney, who was the first adopter of Satoshi Nakamoto's idea. Reading this book made me appreciate why not knowing who is SN is important. I am no longer curious.

6) Guns, Germs and Steel by Jared Diamond - Rating 5/5 - A perspective changing book, if there can be one. Had picked it up from Gates notes' reading list couple years back. After reading this, my entire perspective on religions, politics, culture changed and I view everything from the reference point of when we started to do agriculture some 20,000 years ago, and of course geographical perspective.

Some others in my to-read list (hope to pick one before the turn of the year):

1) Emperor of all maladies - book on cancer research

2) Ashley Vance's book on Elon Musk

3) 100 years of solitude

4) The selfish gene

5) The hard thing about hard things

6) Or, if I see any other book: either on this page, or on Gates Notes or on HN reading share the other day. Am a big fan of exchanging/sharing reading lists.

Edit: Formatting. HN post editor needs two new lines ('\n') to display one

Edit 2: Had wrongly named book #4 as Salvation of a saint (which is another book, I read earlier by the same author)
"Implementing functional languages: a tutorial" Simon Peyton Jones
http://research.microsoft.com/en-us/um/people/simonpj/Papers...

Is very good and shows different strategies for the runtime.
Open a browser and navigate to your docker container's :8888 port. That would be localhost:9990 if you used the docker commandline given in the repo.
Over a career, you don't get that many swings at the startup employment piñata; you aren't in anything like the boat a good VC is in if you aren't investing in several in parallel rather than in series.