skysight-inc/HackerNews huggingface dataset:
>This rant sounds just like any rant from old dev mocking a new tech.

Probably because we have seen it all before, and there isn't much "new" most of the time.
You are also forgetting the psychological impact that a
few seconds can make. After 3 seconds of waiting without
any progress indicator you've generally lost the
attention of the user and they will do something else in
the meantime.

When your talking about spinning up a MASSIVE number compute threads/servers >128 instances. This also takes a non-trivial time.

You really aren't seeing the forest though the trees. What I'm saying is it is a trade off.

Time gain: 1/2^x

Resource spending: 2^x

Figure out where the intercept based on cost.
Yes yes yes. We're nearly 100% Go on the backend and deployment is a breeze. We don't use Docker because it wouldn't give us anything beyond more things to configure. Our CI deploys binaries to S3 and the rest is just as easy.
> I am frustrated by the industry as a whole. I feel industry is simply following marketing trends.

My work lands me in a number of different conferences in non-software industries. This is true for all industries. Its just that ours has a faster revolving door. That, in addition to a low barrier to entry (anyone can claim they're a web developer), leads to a higher degree of this madness. Its just part of human behavior to seek out, and parrot, social signals that let others know you, too, are an insider.

Personally, I have to avoid a great number of those gatherings, since the lot of them are just a circlejerk of low-density information. If I pay too much attention to those events, I catch myself looking down my nose, and since that isn't productive/healthy behavior, I avoid landing myself in a place where guys with buddy-holly glasses and <obscure-craft-beer> argue which Wordpress plugin is the best.
> The assumption behind E2E crypto is that the infrastructure provider can't be trusted, so if you let the infrastructure provider automatically request unencrypted copies of an email then it seems the point is lost.

The difference would be that I get to choose which emails I send unencrypted. I might have no problem sending the latest Sears or LinkedIn semi-spam back up to the provider, but might have a problem sending the results of a blood test back.
I think that your comment is actually a pretty good test for when not to spin out a micro service.

If you expect to need to step into a function call when debugging, then it's too tightly coupled to spin out. You should be able to look at the arguments to the call and the response and determine if it's correct (and if not, now you have isolated a test case to take to the other service and continue debugging there).

If the interface will change so often that you expect it will be a problem that it's in a separate repository, if you expect that you will always need to deploy in tandem, then it's too tightly coupled to spin out.

The advantage of micro services is the separation in fact of things that are separate in logic. The complexity of systems grows super-linearly, so it's easier to reason about and test several smaller systems with clear (narrow) interfaces between them than one big. It's easier to isolate faults. It's harder to accidentally introduce bugs in a different part of the system when the system doesn't have a different part. If done right, scaling can be made easier. But these are hard architectural questions, there's no clear-cut rule for when you should spin off a new service and when you should keep things together.

Someone else mentioned separating the shopping app from the payment system for an ecommerce business, which even has security benefits. I think that's an excellent example.

Edit: Another clear benefit is that you can choose different languages, libraries, frameworks and paradigms for different parts of the code. You can write your boring CRUD backend admin app in Ruby on Rails, your high-performance calculation engine in Rust and your user-facing app in Node.js (so the front- and backend an share Javascript validation code).
Thanks. Maybe I'll make a public Gist that's a kind of "foo | bar" cookbook for different languages...
Funny you mentioned routing, that was something I started off with trying to implement first. The existing application didn't have it. So trying to leverage Angular in an appropriate way I wanted to turn on routing for some of the links and slowly fix up the old pages.

I eventually figured that there is no backward compatibility, it's all or nothing. So what I had to do was come up with a little hack to check the URL myself and if it was a configured route enable it. :/

Do you know if the new routing module in 2 will support old links like in my case? I took a quick skim, no mention.
With the normal Intel Core CPUs, they seem to often have a huge amount of their chip area / transistors taken up by integrated graphics. Which could be a bit depressing if someone gets one and doesn't use the IGP.
This definitely reflects some of my experiences when trying out Docker and some of the other stuff associated with it.

Serious question though: I would absolutely love to have an introduction on how to use Docker to deploy one or two web applications that use a typical amount of backend services, say some sort of database and a redis server. All of this would probably run on a single VM (whether Amazon, DigitalOcean, Linode, ...) and you mainly use Docker to isolate the applications from each other in terms of the environment/dependencies that they need.

How do I do this with Docker in a way that gets me an easy deploy process? (Or maybe the question is actually, should I even do this with Docker?)
Prepare to be worried: https://circleci.com/blog/it-really-is-the-future/
But 8y ago WCF was marketed by Microsoft as the future of web services. It was clear to me from the outset that it was a mightmare to configure and unecessary complex. Now I think it is the generally accepted view. But if we have to wait 8 years for each new technology...
The OP should have snuck a joke in there about The Armory :)
There are true stories of housewives with no formal advanced mathematical training at all who grew the body of mathematical knowledge by finding out new things, thus participating in 'elite mathematics'.
Show HN: Checkout my startup, Makerloom at www.makerloom.com
Supersoakers look nothing like real guns and what's 'even more' ironic about a black man inventing it?

What's ironic about it at all?
Intel has responded to this realisation by .. giving up on mobile, for the time being.

(The integrated graphics are getting quite acceptable and we're starting to see PC-on-a-stick and cheap Intel tablets as a result, but I'm not sure how big a market that is)
> I think Keybase.io is a pretty good solution to the problem of key ownership. You can confirm the identity of anyone's Keybase key by comparing the fingerprint to one listed in any one of several "public" sources: Twitter, Github, Reddit, and even Hacker News.

Doesn't that undermine the whole decentralized web of trust concept? All those services are operated by US companies - or what if someone simply compromised Keybase itself?
Oh, I feel your pain! There's too much fashion going on in this industry, and the high salaries and the youth rediscovering the same concepts from 40 years ago doesn't help..

I mean, it's great to have this new tech and all, but when you're trying to build something to last some years, sometimes it's hard to filter the crap between all the buzzwords. It just reinforces the thought that smart people should just leave this field entirely or search for other fields of knowledge (or business) where our knowledge of programming can be made of use.

I'm 35 now, but I'm starting to realize that I will not have the patience to keep with all the crap just to be employable.. There are some areas where being old and experient is valuable. Philosophy, science, psychology, teaching, etc., are maybe some of them, but this industry is definitely not one of those areas. It makes me think that what I'm building now will some day be completely wiped out of existence..
It's not really totally separate. Discord is a web app and you can run it in chrome. The only feature that you lose is push-to-talk, last I looked.

Granted, a lot of people will run the electron-based desktop app (which packages the web site), but IIRC, there's a plugin for twitch emotes for it too.
It's amazing that an article from a year ago can still create a buzz on HN like this. Goes to show there are still a lot of people talking about this.
Making fast, good decisions with Fast and Frugal Trees
The first page, http://www.reactenlightenment.com/what-is-react.html gives me all the reasons for not using react. To much work for a simple select, or am i missing something?
Great post! I really like the section that Colleges and Universities need to provide a "vessel through which local entrepreneurs and technologists can relate their stories to the student population." I love the Stanford Entrepreneurial Thought leader series, but I think we could do more and different universities outside of Stanford (like RPI).
Unfortunately, your case is not the majority. I believe free market would work if it was the case, but it is an utopia, like communism.
Stiglitz: A split euro is the solution for Europe’s single currency
Have to admit, as a fellow Go dev, with single binary static compiles, I don't really GET why I need docker... all it seems to offer is an increased workload and complicated build proc
Namespaced filesystem and networking, just for one. you seem very eager to dismiss a technology you only barely understand.
I have a feeling the pencil will be around after this is no more.
Scenes from the Terrifying, Already Forgotten JFK Airport Shooting That Wasn’t
Would he also argue that physics is "not everywhere" since we are not all elite physicists?
"Mathematics are everywhere" (which doesn't really say much/make sense anyway) does nothing to argue about why or what mathematics should be learned. The article loses the argument in the first paragraph. That's like saying "I'm smart because I have a have a degree." You're "smart" if your smart. You have a degree if you have a degree. The level of arguments in what is supposed to be "smart" arguments is embarrassing.
It's not mathematics' "problem." But it is a problem for people who may or may not be "average mediocrity" and can't drop everything to focus on this topic.
Impraise (YC S14) Hiring Sales Executive in NYC
I would advise people that lack experience writing portable UNIX code to read "Advanced Programming in the UNIX Environment" by W. Richard Stevens and Stephen A. Rago.

Just to get a glimpse of what POSIX says and what each UNIX actually does.

EDIT: Not talking about you, rather in general.
Calling this satire insults the skill and wit of competent satirists the world over.

It's not clever or funny. It's lazy. It's exaggerated to the point of questionable emotional stability on the part of the writer.

Actually it is funny, but only in an ironic way.

"-Well, Amazon has ECS, but you gotta write XML or some shit."
> Also, the team spent too much time debating standards etc.

Ah yes, the 'let's have decentralised microservices with centralised standards!' anti-pattern. It results in lots of full-fledged, heavyweight, slow-to-update services, which also have all the problems of a distributed system. It's the worst of both worlds.
> Well, yes? What is the alternative, if I want to email someone who exists only in the form of a pseudonymous online identity?

If you want to communicate with someone specific then presumably there's something that distinguishes that person from other people. Find a way to connect that something with a key fingerprint. E.g. if the point is that that someone is a journalist for the New York Times (as when Snowden was first looking to leak), they should publish their fingerprint in the NYT, or at least something NYT-official (like their website).

There are use cases where trust-on-first-use is adequate, sure. But there are use cases where it isn't.
R still looks pretty much the same to me when I look at the code on kaggle, stack exchange, etc. Can you share where you have seen this expert R use and/or what use cases?
> But sometimes it's also very easy to please people. Big data: just insert 10M records in a database and suddenly everyone is happy because they now have big data :|

Since when is 10M records is considered big data?

My goto gauge for big data is that it can't fit in memory on a single machine. And since that means multiple TB[1] these days, most people don't really have big data.

[1]: *Heck you can even rent ~2TB for $14/hour! https://aws.amazon.com/ec2/instance-types/x1/
Yes, I think we are in agreement. The algorithm can use heuristics to produce a best-effort pleasing result that captures user intent but if two users want opposite things to happen it has to fall back to a tie breaker.

In an extreme example, if the CRDT state-space was 1-bit and user A wants to make it a 0 and user B wants to make it a 1 a choice must be made by the algorithm.
QuadRooter security flaws that affects over 900M Android devices
What I Should Know Setting Goals in A/B Testing
When you say you want Cornell when you are 12 its a lot more impressive that saying I took online classes when I was 12. Go look at the SV companies. They are filled with people from the IVY leagues or at least good schools.

airbnb CTO harvard

dropbox ceo harvard

facebook ceo harvard

If you read through the whole article he is so so smart I don't think college will really challenge him. He is probably smarter than all the professors there. He seems like he is good at reading so he can probably teach himself most of the stuff. He already has a lot of AP credits. He can probably finish college in 2 or 3 years. Being 15 and having a degree from an ivy league school is pretty good.
"Different teams don't have to agree on coding standards (so you don't argue about it)."

Unsure if sarcastic.
As the author of that "Docker is the Heroku Killer" post that was popular a couple of years ago I have to say that I agree with this.

When I wrote that article it was largely focused on the potential for Docker to create a bunch of Heroku competitors as well as a simplified development experience across multiple languages.

The businesses aren't there yet although a ton are trying. The local dev experience has not materialized yet either outside of native Linux due to performance issues with volumes that only a 3rd party rsync plugin have come close to fixing.

I still use and advocate for Heroku pretty heavily for just about any non-enterprise environment.
Of course there are, many stories I'm sure. There are a lot of people on the planet. The point is not that people can't, they can and will if the conditions and imperatives exist.
It's almost like the word "listening" is being used instead of the more appropriate word "supporting".

Can we just stop using the word "listening", which was never appropriate for this context, instead of debating/evaluating its meaning?
On a positive note, it sounds like proprosals to use newer technology are welcome. I keep seeing the opposite, "No this is too different, could break stuff."
That's an odd argument to make. It would be like saying that printed word is not everywhere if you are illiterate (or just not familiar with society's alphabet).

I see math similar to many other types of knowledge. You can get by with fairly little, but the more you know, more often you will recognize opportunities to use it.
I'm also with Pivotal... CF is a long term deal. Deis is a young startup that began on Dokku before pivoting to K8S, CF is in its third generation runtime and its use of containers predates Docker to 2012.

CF is already a relatively successful business with hundreds of million dollars in annual revenues across a pile of companies. Kubernetes and Docker are small in comparison as "businesses" but of course the momentum there is surging in terms of both pure open source adoption and contribution. It's likely going to be a big market with a lot of choice like Deis, or plain k8s, or RedHat OpenShift, or IBM bluemix, Pivotal , Docker Datacenter, or Mesos/Marathon, etc. It's a bit of a market war brewing and that competition will make for better solutions.

What is great about open source vs. past tech "gold rushes" is that these experiments and feedback loops exist across communities that are otherwise competing and overlapping. Mesos adopted the Docker image format independently of the Docker runtime ; Kubernetes introduced pods independently but also reused parts of Docker. Docker container networking and volumes are being used compatibly in the latest incubated CF releases. RedHat submitted a way to get CF style buildpacks working on K8S. Someone found a way to make CF run on Mesos; I could see a similar attempt on Kubernetes some day. It's a confusing and busy time but also an explosion of activity. And even if there is competition for dollars in the end among all these players that will lead to tension , the work is out in the open mainly.
That's really cool, any downsides from your experience? Like does the semipermanent ink smudge for left handed people? They say it doesn't... but maybe
> You introduce a whole new set of failure modes due to going over the network.

A thousand times yes. Distributed systems are hard.

> Debugging is more difficult since you now can no longer step through your program in a debugger but rather have an opaque network request that you can't step into.

Yes. Folks underestimate how difficult this can be.

In theory it should be possible to have tooling to fix this, but I've not seen it in practice.

> You can no longer use editor/IDE features like go to definition.

Not a problem with a good editor.

> Version control becomes harder if the different services are in different repositories.

No organisation should have more than one regular-use repo (special-use repos, of course, are special). Multiple repos are a smell.
It must have been quite painstaking to hand-code this neural network into WebGL shaders. It could have been easier if the browser vendors would just implement the WebCL standard.

This seems like a throwback to the pre-CUDA "GPGPU" era, when people were implementing numerical algorithms in OpenGL to be able to leverage GPUs for general purpose computing.
I think that is why he had the :| face at the end.
"How to Set Up and Deploy to a 1000-Node Docker Swarm -- for your first CRUD webapp"!
They spent the 90s trying to get that access[1]. The timeline I've heard is that the failure to get the U.S. tech industry on board with easily-accessed systems caused them to focus on the kinds of mass exploit development we're hearing about now.

1. e.g. https://en.wikipedia.org/wiki/Clipper_chip or weak export-grade crypto
Why not try and solve the distribution problem?

Obviously those that do have do not want to distribute what they feel belongs to them, but this has been the case for forever. It's just a question of 'how much is too much'.

IMHO, Einstein had a great idea. While he's not known for his political beliefs, he did have them, and theorized a societal structure where the richest person could be up to, but not more than 10 times richer than the poorest person.

While it's obviously difficult to impossible to easily implement, I do believe that having a more evenly distributed society would solve most of humanity's violence problems, and maintaining some level of hierarchy based on merit/effort allows for healthy growth and positive incentives.
This pretty much sums it up. New stuff, stacked on existing stuff, with the theory that older stuff was hard, and new stuff is better, but you still needs the old stuff, so you basically end up doing exactly what you did, but now with more stuff in between, adding cost, complexity and additional failure modes while solving nothing.

Any of the proposed problems that containerization was supposed to fix are already fixed by using proper configuration management. In almost all cases so far, people yammering on about docker and containers (and CoreOS), it ended up being their idea of configuration management, because they didn't have any in the first place.

Say you want to fix your 'problems' with setting up servers, how about doing it the right way. You will need deployment services, regardless of containers, VMs or bare metal. You will also need configuration management services, and monitoring. Containers and special distributions solve none of it, knowledge to run systems is still required and not actually fixing your problems and layering stuff on top of it doesn't actually help.

Get something like SaltStack or Chef, and configure the out of everything. It doesn't care what you're running on, and actually solves the problems that need fixing.
There is a modern media similar to sending letters ... sending letters. Last time I checked you could still post a letter in the mail to far off places.
yes, on GAE, this is far under the free quota.
I've worked on this for about 6 months I think it could really change the 3d modelling and design space.
Exactly, if there are conflicts that have to be resolved then it's not conflict-free.
In some programs, fork(2) is the right way to do concurrency. It's simple (API-wise), and it makes IPC explicit, as opposed to the implicit IPC of threads. clone isn't posix, so you can forget it, if you don't feel like being behind systemd in the "screw any system that isn't Linux" line.

In places where you need the speed, threads are useful, but they're harder to use than forks.

Annoyingly, threads and forks don't work well together. zzzcpan already talked about how to fork threaded code. As for the problem of libraries using threads, if a library you're using is using threads, and it's documented (it probably is), and you didn't know about it, I'll pencil that in as your fault.

Other comments in this thread have dismissed fork(2) as a bad job entirely, but I don't think I agree. It's an effective way to do simple multiprocessing, and it's a lot simpler than threads in many contexts.
Really spot on - recommended!
"You are a bunch of Node.js hipsters that just HAVE to install everything you read on Hacker News!"

By the way, why all the downvotes to the parent?
If this is true, then it's likely just due to more beekeeping activity - commercial and hobby - due to the awareness of this issue and rapidly growing agricultural demands.

Beekeepers tend to use annual colony losses for whatever reasons as a measure of overall apiary health. These are increasing (sometimes dramatically). For example, a commercial apiary may count 10% as normal and expected losses overwintering, while we are currently seeing upwards of 40-45% annual losses. The numbers can be replenished but this takes time and money and is the worrying unnatural trend that is being discussed. The absolute number of active hives at any given time is not necessarily a useful metric to measure declines.
To answer the concerns raised in the comments: we are a real company and it took 2 weeks (while working on other features and bugfixes) to migrate to Docker. The plus is that now we have experience with the platform and we can streamline the process. Again: we are not using microservices or anything like that, simply Docker containers instead of EC2 instances, which makes life pretty damn easier (and cheaper).

And 25 and 75 are bogus numbers, what if we start running 10 instances?
I got 0.2

Should I round up or down?
Show HN: ContactBro – Scrape contacts and social links from any website
The idea is that you may not "remember" it but you'd subconsciously notice if the image was different. I'm not sure it's any better than a hex key in that regard - either way people usually just go "yes" the first time they connect - but I can imagine it might be easier for some people to notice.
Most commenters don't seem to realise that this is satirical, and that the author actually thinks Docker is 'the future':

https://circleci.com/blog/it-really-is-the-future/

But there is, as the author notes, truth in the satire.
Yes it is, our EC2 instances have 1 GB of ram, the 7$ dyno has 512 MB.