skysight-inc/HackerNews huggingface dataset:
>> In fact, we wrote the LATEX source text of this paper using an experimental collaborative text editor that is based on our implementation of this CRDT. We are making the character-by-character editing trace of this document available as supplemental data of this paper

If anyone else wants to feel at the cutting edge of science, you can write your LaTeX paper collaboratively at https://www.sharelatex.com :P

I can't pretend we've got any original algorithms (we lean on ShareJS a lot, which is operational transform based), but we've got a few years and billions of key strokes of experience in making it robust and practical.
glibc attempts this using the pthread_atfork() hook. it takes the global malloc (and possibly other) forks in the parent before forking, then both the parent and child release the lock before returning to the callee's code. obviously if you have locks in your own code then you may or may not need to hold these before calling fork() so that both parent and child can release them after the fork().

the apple way of just throwing its hands in the air and abort()ing sound either like giving up because the apple devs think it is too hard, or because they feel the need to impose their way in crippling code that uses fork() without calling exec()

in my opinion if you are going to write a library that uses threads and is supposed to be thread safe then remember you need to handle the issue of fork(); don't be lazy, do the job properly, even if doing it right it is hard and ugly.
show me an easy way to push a rails application to aws (with docker) that uses RDS ?

is there ANY way i can spin up a server, add the ssh keys to some configuration file somewhere and just "docker-magic push" and have my rails application running ?

or do "docker-magic bundle exec db:migrate" and have that command run on the server.

Or push a Procfile with worker definitions and have the PAAS automatically pick it up, add it to supervisord/systemd and run it ?
The CFA Franc aka the African Euro (2014)
>Instagram and Whatsapp are just examples of how not to kill a successful product. Turns out it's quite simple: You change nothing.

For a long time it seemed like the strategy was to change nothing. Now it's become clear the strategy is to be scared of changing anything, just leave it to fester and fall behind then panic and recklessly start cloning competitors features and diluting what made the service compelling in the first place.
Automatic Failover – A Key Ingredient for SaaS Companies
Um no, Rancher is open source can run and manage ANY infrastructure (including Amazon EC2) - You can run it on your own datacenter or even on your own local machine.

Also Baasil.io is essentially just a control panel/dashboard (Rancher-as-a-service), you can quit Baasil.io at any time and switch to your own hosted Rancher instance and you don't have to change any of your application code or change infrastructure providers.

The main benefit of Baasil.io is that it was built by an open source community using open source software and so we can offer the best possible support for apps built on top of our own open source stacks.
This misses the point.

Bang paths were used (and I used them) because we didn't have DNS and MX records. Which meant that routing was done manually, by the mail sender.

There was an end-to-end wired connection (usually -- batched and gathered mail, via UUCP was also a thing) between hosts. And pretty much any host, through intermediaries, could talk to any other.

Traceroute will show you a fairly equivalent system today.

The big difference was that the Internet (or its various ARPA / DARPA precursors) was a lot smaller. A few hundred hosts in the early 1980s, a few thousand by the end of the decade. And everyone knew each other. There was a book, literally, hardcopy print, with every site operator's name and phone number. Twice, for multiple indexing methods.

In your example, tedu wouldn't have any cause to deny mail from thrash, or any other host, directly peered, or bang-pathed. At least not until Green Card (which was Usnet, and I remember that too).
It's all sarcastic. It's poking fun at how trendy advances might not necessarily be better than what existed before, as well as how much complexity is involved in them. It makes the most sense if you're already familiar with the concepts in the article (Docker, Heroku, CoreOS, etcd, and so on), and happenings in the technology industry related to them.

As usual, if a joke needs to be explained (to a person) then it's not funny (to them). I found this amusing since it aligned with my experiences:

> -Since no-one understands Paxos, this guy Diego…

> Oh, you know him?

> -No, he works at CoreOS. Anyway, Diego built Raft for his PhD thesis cause Paxos was too hard. Wicked smart dude. And then he wrote etcd as an implementation, and Aphyr said it wasn’t shit.

> What’s Aphyr?

> -Aphyr is that guy who wrote, ‘Call Me Maybe.’ You know, the distributed systems and BDSM guy?

> What? Did you say BDSM?

There are several jokes here based on cultural references related to the aforementioned topics.
Does it have the ability to pop up on outgoing request? That's Little Snitch's killer feature.
React Enlightenment
So great listeners do what great teachers often do. Especially when teaching one-on-one or in discussions.
The first button says 'What do you?' - I guess it's meant to be 'What do you do?'
Show HN: Realtime, self-hosted monitoring for Node.js inspired by GitHub Status
WeChat tops 800m users, but it's close to the bamboo ceiling
Explore Data Gov UK with This Tool to Get UK Statistics
Obligatory link to "The S stands for simple", a SOAP-bashing classic: http://harmful.cat-v.org/software/xml/soap/simple
Uh, you do know that sea level rises for several reasons, right? Thermal expansions. Oh and ice melt of glaciers and sea ice isn't linear. Why not read some peer reviewed science?
When is it sensible for a human to inspect the fingerprint anyway?
I assume this entire article is one piece of sarcasm. Because after reading it, how could any sane person not prefer Heroku?
The GDS/GOV.UK are at least trying to change that
I think every developer goes through that phase at some point.
no wonder when you have people that needs a Brian Cox to remind them they know nothing. (see http://www.abc.net.au/tv/qanda/txt/s4499754.htm)
Also

Hitler uses Docker: https://www.youtube.com/watch?v=PivpCKEiQOQ
Nice read. I liked it ... :)
Exec is substitution of current process with new image without closing fds or changing pid. Which winapi function does that?
https://www.gitignore.io runs on Heroku and it gets 40k+ visitors a month on a free Dyno. I use Heroku because I don't want an IAAS solution, I want a PAAS solution. If I wasn't using Heroku, I would probably find another PAAS, before switching to Docker (even though I do love Docker).
Right, but it's not used in the sense of fork+exec. I should have said that Windows doesn't only have exec, it has spawn too.
Betteridge's Law strikes again!
I would just assume you wrote a 7, realised it was wrong, and crossed it out.

But yes, the recognition isn't 100% accurate. There are quite a few simple "0" shapes that it doesn't get right.
DMV might not support Amex. Amex has a lot higher fees so many places don't support it.
Samsung Galaxy Apps MITM Vulnerabilities
why are we forcing Apple to pay taxes twice?

We're not. The "Double Irish", "Dutch Sandwich" and other arrangements are about funneling the maximum possible amount of revenue through subsidiaries which can do tax-free or tax-deductible payments and transfers to each other, until finally the money ends up on the books of a company whose tax residency is Bermuda or the Cayman Islands, both of which have no corporate income tax.

As of a few years ago, it was reported that Google had gotten so good at this that 99.8% of their revenue outside the US was showing up in a subsidiary with Bermuda tax residency.

So that money wouldn't be "taxed twice" if brought into the US -- the whole point of the arrangement is that it hasn't even been taxed once yet.
From your comment I see you didn't read the post.

Read it, it's a lovely 5 minutes piece of writing.
In Maven, the only way to share build logic is through a parent POM. Even if only four modules (out of 10) need to share some build logic, the only way is to get it into the parent POM.

So in most maven projects, the parent POM is a kitchen sink.

Gradle allows to create separate shared ".gradle" files that individual projects can import. This is push vs pull, and makes a world of a difference. So we have one shared "java_service.gradle" and one shared "java_library.gradle", and our submodules just do "apply from: <shared-build-file>".

Our root "build.gradle" is intentionally empty with a BIG warning never to add any shared logic in it.

This is just one of the reasons. You also see that with gradle, you can do "gradle test" on one submodule and it will compile all other dependencies but run tests only on this module. Maven, on the other hand, if you do "mvn test --pl <module> --also-make", will compile and test ALL related modules.

I can keep writing a long list of other stuff. But in the end, Maven is a "Project Management Tool" that tried to do a hundred things, and gets nothing right. Gradle is a proper good build tool.
20,000 years ago, an alien race made contact with a tribal chieftan. "We noticed you had a large supply of both petroleum and uranium on this world," the alien race said. "What would you like for them?"

"Both are worthless," the chieftan said. "Petroleum is sticky and disgusting. It gets on things and won't come off. Uranium burns anyone who touches it. It is a pox on the world. Feel free to take all of them; we need neither."

The alien race thanked the chieftan, and left him a gift of 200 cuts of bush meat. It then promptly removed 100% of Earth's valueless petroleum and uranium. The chieftan lost no sleep over the loss of these valueless things, and was certain his descendants would never miss them either.

----

To consider a unique set of genes assembled over the course of a billion+ years "valueless" shows a great lack of foresight. Each species is a resource of unknown and unstudied adaptations it may take millennia or more to replicate in labs. Our machines now are crude metal things; nature makes the ultimate machines. We're centuries away from catching up, at best. By the time we're ready to benchmark against what nature's already done the work to come up with, it may no longer be there to benchmark against, and we'll waste millions of man hours reinventing species we could formerly have just plucked from the jungle, swamp, sea, or desert.

New apex predators like man reshape the environment and cause extinctions; this is inevitable. Your certainty that this is also inconsequential, however, is misplaced.
Java is very verbose language and doesn't provide enough tools to write simple DSL. That's the main reason, IMO. People don't want their build scripts being very verbose. Though with Java 8 it might be better.

Please note that Maven written in Java and you can easily create your own plugin and use it from configuration. So you can do everything you want. The same applies for Gradle and probably every other Java build tool.

Also Gradle uses Groovy or Kotlin as a build script language. SBT uses Scala as a build script language. So it's similar to what you want.
Everything must be in XML. Except the SoapAction header. Which has no defined standard. Yeah I remember all that madness.
You do not live in SV. You live in the East Bay.
https://github.com/dokku/dokku
Just noticed it does 3d sound positioning... hmmmm... I wonder if that makes a noticeable difference?
You appear to have very little respect for your neighbours inspite of not having any real insight or experience with their work.

It would be impossible to come across as 'absolutely terrible software engineers' just from a conversation without prexisting prejudice.

Its not just Cisco but for a large majority of folks a job is a part of their life not their entire life and it doesn't automatically follow that they are not good or passionate about their jobs, and it's sad that anyone would choose to reach this conclusion just from speaking to folks.
Most Wanted Skills for the 21st Century Professional
Yet another comparison of hot and soft.
Ask Rand Fishkin, Founder of Moz Anything
> "I'm always unsure how to react to claims of 10 foot rise in sea level in 40 years."

That is not considered likely. The IPCC (Intergovernmental Panel on Climate Change) Fifth Assessment Report, Synthesis Report, at http://www.ipcc.ch/pdf/assessment-report/ar5/syr/SYR_AR5_FIN... on page 11 has a plot titled "Global mean sea level rise (relative to 1986–2005)".

The highest end of the worst case given is 1 meter rise by the end of the century. By 2050 the high end is only about 30 cm, or 1 foot.

> Global mean sea level rise will continue during the 21st century,
very likely at a faster rate than observed from 1971 to 2010. For the period
2081–2100 relative to 1986–2005, the rise will likely be in the ranges of 0.26 to 0.55 m for RCP2.6, and of 0.45 to 0.82 m for RCP8.5 (medium confidence)[10]

> 10. Based on current understanding (from observations, physical understanding and modelling), only the collapse of marine-based sectors of the Antarctic
ice sheet, if initiated, could cause global mean sea level to rise substantially above the likely range during the 21st century. There is medium confidence that this additional contribution would not exceed several tenths of a meter of sea level rise during the 21st century.

How you should react is to read the IPCC report and learn what it is that people think is likely to happen, rather than worry about hyperbolic statements like a 10 meter rise in a few decades.
ESP8266 drop-in cheaper replacement
sounds like "POSTGRESQL IS DEAD, USE KUBERNETES INSTEAD"
Interview with LHC researcher about the new 750 GeV diphoton results
The Buyer Journey: How to Adapt to Change
That's 1 request per minute, you could slap that into a raspberry pi on a 3G connection, and do the same for your next 400 apps that has 1 request per minute.

People seem to underestimate just how powerful modern machines really are. And I don't get why people seem to think it's hard to deploy simple web applications. Just write a 4-line shell script that rsync's, runs whatever DB migrations you may have and restarts the thing.
Did you just tell me to go containerize myself?
So, you're right and wrong (and tedungst is as well).

Yes, the original Internet (and its precursors) had very little by way of limitations on what any one node could do. But the original Internet was tiny. I've been in modest-sized offices which had more networked compute nodes than the early 1980s DARPANet had.

The Internet is as much a social phenomenon as a technical one, and one problem is that after we start hitting above about 300 of anything, behaviors start to change. At some point I'd really like to find a good behavior-by-scale reference, but quite simply, an Internet with billions of nodes cannot be run the same way one with a few hundred, or even tens of thousands, can.

And yes, this frustrates me too.

A huge problem is reputation, reputation management, and reputation sharing. I've watched much of the sordid mess of spam and anti-spam measures develop and evolve, and what does and doesn't work.

I'd still like to see vastly better peer-based reputiations systems built directly into communications software (not just email). We'll see about that.

One reason residential dialup, DLS, and cable are service no-go zones is that every small operator has their own system for carving off spam. And most of them are very, very crude.

Lauren Weinstein, an Official Old Fart, announced some time back that he'd simply blackholed all of China for his personal email domain. Too much abuse, no valid content. Sucks if you're in China and want to reach Lauren. Oh well.

Multiply Lauren out a few thousand or million times.

There are a few possible solutions:

1. Buy business-grade Internet. It's expensive, but it's not residential, and you may be able to run services on it. Part of what you're paying for is for the service provider to call you up to bitch about shit flowing over your pipe that shouldn't be.

2. Set up specific understandings with the services you peer with. If it's just you and a few buddies, great. If you're trying to get email through to Google or a self-hosting F-50 company, good luck. They've got policies and shit and take ages. (Google may be fairly responsive, F-50 companies, in my experience less so.)

3. Build (or help build) something better. SMTP email has been with us a long time, has some useful features, and has served us well. But it's also got some tremendous shortcomings.

An alternative with robust encryption, anti-spam features, poll-and-fetch (rather than unsolicited-send), better multiplatform support, and the ability to dispense with overly-formatted email (I still prefer console mailers), might be a good start. Being fully peer-to-peer even better. That gets complicated though.
>
How would you order the complex numbers?

You can use any order that can be defined on R^2. It's just that you can show that this order cannot satisfy the axioms of an ordered field.
The interesting thing is "serverless" batch processing. Amazon have essentially reinvented the 1970s mainframe batch processing business model, complete with charging for CPU usage. And made it fairly readily available for any developer anywhere.
> So I just need to split my simple CRUD app into 12 microservices, each with their own APIs which call each others’ APIs but handle failure resiliently, put them into Docker containers, launch a fleet of 8 machines which are Docker hosts running CoreOS, “orchestrate” them using a small Kubernetes cluster running etcd, figure out the “open questions” of networking and storage, and then I continuously deliver multiple redundant copies of each microservice to my fleet. Is that it?

exactly. I mean look, if you have a lifestyle business that's only going to support 5-10 people, it's totally a waste of time. if you have some hope of scaling this is the way to go. I get it, just use Heroku. It's easy and convenient. If you're planning on a billion dollar exit, this way is way better.

> I need to decide if i believe my own hype?

yeah. sorry.
How to Fix Use Legacy Swift Issue in Xcode 8 Beta 3
<rant>Oh how I wish all people would include their country of residence when answering region-sensitive questions...</rant>

I'm recruiting with Toptal right now. The interview is long and arduous. I realize when it comes to global freelancing living in London puts me at a disadvantage. Lack of details about rates makes it challenging to make an informed decision on whether you should even bother. [UK, London]
But if they are not using WCF they are doing it right! Not all evolutions of the tool should be followed blindly.
> I'm not opposed to downsizing the amount of incarcerated people, for sure, but the void isn't being filled, and many of the communities up here are taking a turn for the worse.

You've just humanized the police unions' "tough against crime" motivation and lobbying for me (only by a bit, I still find it despicable). Is it really a zero-sum game where one community (urban inner city) has to suffer so another one (correctional) doesn't? What is the exchange rate between job losses vs. number of people incarcerated?
CRDTs are good where the accuracy of the data is not critical (E.g. bank transactions).

It's interesting you say that given that banking invented eventual consistency with manual reconciliation of exceptions, in the form of the cheque.
Sadly Brian Cox stepped into the common pitfalls (like mentioning "consensus") when arguing with climate sceptics. You can shut down any climate sceptic with two points which can be easily measured and verified in any laboratory:

* We know the absorption spectrum of the CO2 molecule to be true

* We know the first law of thermodynamics to be true

Hence global warming. Finished. Arguments like the fact that some models can not accurately predict the exact amount of heat oceans can absorb or that the NASA data might be biased are suddenly irrelevant.
The guy's also a sovereign citizen nutter. Here's a letter he wrote to the prime minister at the time, Julia Gillard. Or rather, The Woman Julia Eileen: Gillard., acting as The Honourable JULIA EILEEN GILLARD.

> http://www.abc.net.au/news/2016-08-05/one-nation-senator-den...

He's a Queensland Senator now. Awesome.
I think this link http://steve-yegge.blogspot.com/2008/03/get-that-job-at-goog... is by far the best advice you can find out there.
A tale of two governments: the politician behind Argentina's science growth
It sounds like if you use threads and fork it might be a disaster. Its true, but the author blames only fork and skip the second part of the problem, threads. This is not fair, because fork is much older than POSIX threads. In fact, POSIX threads were poorly designed to use with fork.
"-No, look into microservices. It’s the future. It’s how we do everything now. You take your monolithic app and you split it into like 12 services. One for each job you do.

That seems excessive"

A 100 times yes. We tried to split our monolithic Rails app into micro-services built in Go. 2 years and many fires later, we decided to abandon the project. It was mostly because the monitoring and alerting were now split into many different pieces. Also, the team spent too much time debating standards etc. I think micro-services can be valuable, but we definitely didn't do it right, and I think a lot of companies get it wrong. Any positive experiences with micro-services here?
Why neutrality in tech is an impossible dream
20 Big Questions about the Future of Humanity
I personally know people who were hired on their 5th interview. All that matters is your "data points", i.e., how are you improving over the years (it can take from 6 months to 1 yr to be able to re-apply).
No, I don't recognize riots and killing cops as a "civil rights movement". I just saw a video in which the sister of the man shot in Milwaukee called for rioters to "take that shit to the surburbs. Burn that shit down."

Perhaps BLM's problem is that they have no official spokespeople, so they get the best and the worst.

Are there racists in America? Yes. Too many.

But this is a story about a white cop acting aggressively toward a white man.

If we both care about all victims of police brutality, once in a while we should actually discuss (gasp) some of the 75% of victims who aren't black.
I learned that <x> will laugh at a joke three times:

* First when you tell it,

* then when you explain it,

* then finally when they get it.

(x used to be English people when I was a kid.)
Thoroughly convincing then for a skeptical public?
What do they deduce from not seeing Cox trounce Roberts?
Doubling battery power of consumer electronics
xkctext: we saw 15 competing standard, so we decided to invent our standard that encompass all the previous one!
Is such use of Github in compliance with their terms of service?

I've been thinking about using such public git providers to store small amounts of data, possibly encrypted. For example important documents that I don't want to lose. It seems that it'd be ok as long as you manually create the account.
I use a dash too, but it recognises it OK for me
40k visitors per month isn't one per minute. It's anywhere from one per minute to 40k per second. Division of requests by time is the worst possible mistake in calculating load.
Out of topic but, man, is coreos not ready for prime time. I've been using it following the stable channel and ended up having to turn off automated updates because it would break docker (docker would just hang with the last 4 updates)... Not a very convincing test of coreos :)
You're probably being sarcastic, but we just had the other day the problem with shorting: https://news.ycombinator.com/item?id=12294193