skysight-inc/HackerNews huggingface dataset:
Hey chewchew you seem to be knowledgeable on docker-compose.

What's the easiest way to get a .yml on a cloud server somewhere and let it assemble it assemble the containers for you?

Also, do you know where containers set environment variables? The official Postgres makes available something like PG_PORT_3542 and u can just refer to it from another container. Where I can't seem to do the same with the Redis one...
Also timeout is 8 hours on iPhone, not 48.
Interesting story. Reminds me of this story from Flow:

> Tollas Tibor, a poet who spent several years in solitary confinement during the most repressive phases of the Hungarian communist regime, says that in the Visegrád jail, where hundreds of intellectuals were imprisoned, the inmates kept themselves occupied for more than a year by devising a poetry translation contest. First, they had to decide on the poem to translate. It took months to pass the nominations around from cell to cell, and several more months of ingenious secret messages before the votes were tallied. Finally it was agreed that Walt Whitman’s O Captain! My Captain! was to be the poem to translate into Hungarian, partly because it was the one that most of the prisoners could recall from memory in the original English. Now began the serious work: everyone sat down to make his own version of the poem. Since no paper or writing tool was available, Tollas spread a film of soap on the soles of his shoe, and carved the letters into it with a toothpick. When a line was learned by heart, he covered his shoe with a new coating of soap. As the various stanzas were written, they were memorized by the translator and passed on to the next cell. After a while, a dozen versions of the poem were circulating in the jail, and each was evaluated and voted on by all the inmates. After the Whitman translation was adjudicated, the prisoners went on to tackle a poem by Schiller.
Panasonic suffered so much by its committee based product decisions that it had to leave the consumer space as its core business. The decision to let high-risk Tesla lead a Japanese electronic giants manufacturing power as visionaire is currently the most exciting cultural decision by an Asian corporation. Cultural because by doing so Tsuga-san (Panasonic's CEO and my former boss when he was in charge of DVD and Blu-Ray) left the corporation's 1000 year paternalistic consumer product plan (no joke) of the founder far behind.
Yep, fully aware of the hate, it was the lack of correlation that did it.
That's interesting. Given that you cater to 'shitposters' and you say yourself that you don't really know what you're doing, are you up at night wondering if you've made a novice error and a user or someone who dislikes one of your users is rooting around in your hardware up to no good? And is there any profit to be made at your current size for your revenue?
I'm trying to be sarcastic, of course it isn't a coincidence.
The data is encrypted. There are a set of factors in sequential order. You know little more. So for instance it's not obvious that the predictions are of stock prices at all.

They are in effect crowd sourcing curve fitting because the number of possible models for this maths problem is so large.

Think of crowd sourcing here as a pruning heauristic in a search problem.
Those chunks are intended to be used as child porn, and the "you can't tell its child porn" objection is a weak one for those who don't want to be part of its distribution on moral grounds.
It's pretty minimal. The most expensive component is usually technical development, and given that I do all that myself... well, that's a big "cost saving" :)
Twitter shares tumble as Salesforce rules out bid
The awkward price is why I, my family, my friends, my coworkers, and everyone else I know basically stopped going there.

Why wait in a slow line, pay a premium price, and spend twice as long to chow on a burrito or bowl as it would take you to eat a burger or taco? Sure the food is good, but the hassle is just a bit much. If I wanted to put up with all of that I prefer to just spend a few bucks more and go to a proper restaurant.
It does seem to be the same issue. That's great, it will certainly avoid some frustration.
Traefik sounds great! I'm using https://github.com/SteveLTN/https-portal which is a Docker container, and that kind of setup is just complicated. Putting the reverse proxy outside sounds much cleaner.
If you're going to spend 8+ hours a day on something, you'd best enjoy the subject matter :)
I do agree that the Obama administration doesn't seem to throw such accusations lightly. But Obama and the entire Democratic party didn't necessarily have their ass on the line when the NSA leaks happened.
For those who didn't read the whole thing, the part referred to by the title is at the very end. This guy constructed an insanely elaborate RPG world, which it sounds like he plays by himself:

>I oversee some 70 fully realized characters as they pursue their blood-soaked vendettas against one another in accordance with the several handwritten pages of primitive, dice-based behavioral heuristics I have devised for them. Their entire world is limited to a map I’ve drawn on graph paper and taped to my wall, their stage confined to my cell’s steel wall-mounted desk on which I have created an elaborate city consisting of dozens and dozens of buildings, vehicles, vending machines, trees, dogs, rats, surveillance drones, and dwarves — a small world, yes, but one of extraordinary depth and intrigue. I make the pieces out of cardboard tea boxes, drawing and then coloring them with very sharp pencils, and I don’t mind saying that I’ve become very good at making itty-bitty tea box people over the last year or so.

Otherwise a very sad story that this guy got locked up and it didn't even accomplish any change.

From the discussion on the reddit, many prisons ban D&D, probably because of fear D&D sessions could turn into gangs and...:

>D&D can "foster an inmate's obsession with escaping from the real life, correctional environment, fostering hostility, violence and escape behavior," which in turn "can compromise not only the inmate's rehabilitation and effects of positive programming but also endanger the public and jeopardize the safety and security of the institution."

https://www.reddit.com/r/rpg/comments/57uz74/i_am_fully_capa...

Also the author says he couldn't do this at his previous prison because they kept taking away his books and papers.
GridDB Will Be Joining San Diego's Big Data Meetup
Ah. I didn't get that. Maybe include /s next time.
Orwell never dreamed of advertising as invasive as Yahoo’s proposal
I use whatever the default font is on my personal blog [0]. I use Foundation CSS, and I'm not entirely sure what font that is, or if it is even altered from the default browser font.

Why?

-- I don't think that any font will enhance the content and concepts I write about.

-- I don't think anyone will pay attention unless it is bad. As I'm not a designer and I don't have the sophistication to know what the best choice is. I'm led to believe that some fonts are better than others, but I really don't know why and I don't feel like researching this.

-- I doubt anyone really cares that much, so why slow my site down or have a flash of unrendered text, which will both be negatively noticed, for no reason?

-- I consider myself a minimalist, and I prefer to present online presence in that way.

[0] coderedux.com
There's validation, so you can run a checker as part of your deployment routine. Validation and routine checking is great.

I don't understand how validation requires the parts of AMP I dislike, though...
Refreshing post title! It beats the tired old "10 xxxx books you MUST read, or else" you see all over the place
Has anyone ever done this? There have been successful books written in prison but not many, and that translates much better to pen and paper than software does. It sounds like something of a fantasy to be honest.
@marknadal is PTSD released someplace?
> That techies like me dont rely on them any more

You're going to have to cite some data for that bold assertion. Lot's of techies outside of your bubble still use (and rely) on Google.
Nice to from you Reagan! :)
Can you point to an example of a Western democracy today?
There was a link on HN not too long ago to a quote from Assange, stating that part of the strategy is to sow uncertainty and doubt among the players to increase the secrecy tax. A multigig encrypted dump could have that effect.

That said he can't really play that card too often.
Until the guards see it, can't understand it, deem it against the rules, destroy the papers, and throw you in the hole.
Not even the Soviet Union ignored the sovereignty of embassies. Surprising that the UK would sink so low.
How to Open a Wine Bottle Without Using a Corkscrew ?
Can you ever imagine if you do not have a corkscrew how to open a wine bottle without a corkscrew? This might seem impossible. There are days when we set out for a relaxing picnic with someone special.
http://www.scoopify.org/open-wine-bottle-without-corkscrew/
I guess I'll never get it. Don't most OSs already run processes isolated from each other, have advanced process scheduling mechanisms and manage access to hardware resources? Also with static linking nothing stops you from creating huge binaries that "will run anywhere".
Yeah honestly I find it hard to find solid information in either direction. As far as I can tell it's not proven either way (he hasn't stood trial) so even if he did it I can't imagine the Ecuadorian government feeling complicit.

Regardless I don't have a dog in this fight; I find both sides pretty polarizing and difficult to get to the facts.
This article is content-free.
Getting your team on board with morning standup meetings
Docker is a poorly engineered and over-hyped technology.

The concept is great - and in fact, many companies have built great tooling around Linux cgroups. It lets you efficiently binpack applications on a single server - which is why 'containers' were created in the first place.

The side benefit of letting you define your OS libraries, and other things, is a nice bonus, and way overblown in my opinion.

Docker and its tooling is just plain bad. It's so bloody unstable, unless you pick some esoteric combination of versions and storage backends (old docker + old aufs + old ubuntu seems to do the trick) - and even then, you'll run into problems. Documentation won't help you here - it's trial and error.

The docker group seems focused on feature, feature, feature, while the basic stability and performance remains poor. It's quite amazing how they get it so wrong. Browse through the github issues for performance and hanging issues. The surrounding tooling is poor as well - registry v2 doesn't even support deletes (because they need to maintain compatibility with the 100000 different storage backends for it). There is no LTS release, bug fixes only happen in latest version, so you're in a constant state of brokenness. And so on.
The first three. Fourth wasn't out back then.
Seconded. In 1900 there were 1.2 billion people on the planet, and it took over 100,000 years to get to that number.

In only 116 years we've added another 6 billion to that total. :(

...and people say we're not-overpopulating the planet...
The point is that literacy is not considered a luxury now, but has been in most of human history.
More on factory in Buffalo itself:
https://www.technologyreview.com/s/600770/10-breakthrough-te...
The fact that it's being served out of Google's servers changes the trust model for the content. End users have no good reason to trust Google with the cached data, but people assign trust to them when they click an AMP link. There's no real indication to an end user that that data is coming out of Google's caches rather than from the content provider. I find that misleading.

Typically, cached web pages come out of edge caches, either maintained by a CDN selected by the content provider, an end-user's ISP, or by a box on the local network. In this case, Google -- the search engine -- is fundamentally changing the nature of how the user obtains the third-party search result content.

IMO this is very different than my company or ISP doing some edge caching. It's different because it is much more of an opt-in sort of relationship, and, more importantly, because it's decentralized -- if Comcast starts to muck with search result content, Verizon users will notice the discrepancy. If Google takes advantage of their monopoly position and alters AMP content, nobody except the content providers will be the wiser.
More speculation:

http://www.dailymail.co.uk/news/article-3842846/Rumors-swirl...

"Rumors that Pamela Anderson 'fatally poisoned Julian Assange with vegan meal' spread after 'coded' Wikileaks tweets lead to speculation that he triggered 'dead man's switch'"
Unless you are expecting a lot of high profile traffic and need to have an A1 level of design, just stick to a built-in websafe font. It will keep your render times fast, and it's less hassle to maintain.
It is true but then there are also counter examples:

- iOS moving to incremental over the air updates

- OS X getting a little slower but certainly less than the speedup provided through SSDs

- Angular2 and React being faster than Angular 1

- Move from VMs to containers

I feel on the OS and application side developers are aware of constraints and acting responsibly. Can't say the same of what can be seen on the internet. HN being the exception of course.
As seems to be common on Indie Hackers, the title is extremely disingenuous:

1) It took him 6 years to build an audience before turning it into a business. The title makes it sound like the entire process only took 10 months.

2) $46k/mo of what? Revenue or profit? If the latter, at least half immediately goes to the music blogs.

3) Where exactly does the $46k/mo number come from? It's only mentioned in the title and explained nowhere. Is it a projection, an average, the best month, ...?

Courtland, you have a great site and I really enjoy your articles. Please don't spoil your awesome content with vagueness and clickbait.
In the last 5 years there was NO WORDPRESS THEME OR PLUGIN that I didn't have to modify. I never saw any WP theme that comes with minified CSS/JS, handles sidebars correctly - sidebar created after post content, generated by PHP not JS, generates correct <a> tags, even one "modern" theme had links in sidebar with "nofollow"... "SEO-friendly" plugins that make blog generation time 3-5 times longer than before, of course JS not minified, jQuery and fonts linked with ?version=xxxx (prevents server and browser from caching it), social buttons that were downloading ~1MB of scripts and CSS (for Facebook, Twitter, G+ and Pinterest).

Whole WP ecosystem is a huge pile of crap, each plugin adds more and more mess to it. I tried Hugo and Joomla, but they were even worse (Joomla had a few security issues that developers refuse to fix, Hugo was more bloated than WP).

After trying and modifying over 20 acceptable themes I decided to start working on my own blogging platform that will be SEO-friendly and clean.
https://en.wikipedia.org/wiki/Barrett_Brown
I don't think that's the whole point. If all you care about is packaging your code in a container, then you don't need Docker. That was solved long ago. Docker simply adds a nice API on top which allows you to package, ship, and manage your apps in the same exact way.

By using something like Docker Compose, you can explicitly define each container and the relationships between the containers. Then, you can start/stop groups of containers (an application stack) while still retaining some component isolation and the ability to upgrade and scale containers independently. All of this is defined in a relatively simple YAML file, which can be committed to VCS and tweaked. I can't tell you how awesome it is to find repos on Github that have use docker-compose. Even complex apps with many pieces can often be launched with a single command. It's easy to take these stacks and tweak them to your needs, adding/removing/changing components as necessary.

Since Docker provides a standard way for managing any container, orchestrators like Swarm, Rancher (my preference for small-medium clusters), and DC/OS can take that functionality and scale it across many hosts. You can get a birds-eye view of your Docker cluster (all apps) or drill down into individual apps and their components. Each container is a uniform piece and can be controlled, scaled, updated, audited in the same way. Throw a UI in front of it and now you can manage applications that you know nothing about. That's great for developers that manage just a few apps, and it's incredible for enterprises with thousands of them. If you don't want to think about infrastructure at all, then you can use a SaaS Docker provider. Obviously there are pros and cons to each approach, and there are some remaining challenges.

Docker isn't perfect, especially in regards to storage and networking. Distributed storage isn't simple, but a lot of progress has been made with volumes and volume drivers. It's not as easy as it needs to be, but the general direction seems to be good and with the proper tooling I think this will be less of an issue.
A very, very large majority of all trading volume is done against HFT market makers. Regardless of the non-HFT trader's motivations, they appear to consistently trade with the HFT market maker over some other participant -- why is that? Even in the case when their motivation is to gamble, why gamble with the HFT as opposed to a non-HFT order?
Not with a private root filesystem, a private loopback network, additional security isolation, no requirement for static linking, no.
Regarding 1)... like 5) that's React, so you could write a JSX transpiler that creates actual DOM objects.
Why would I want to give up 10% of my screen space to a useless bar that when I try to exit out instead takes me away from the page? Complete UX madness.
I don't know about complex pieces of software. But many algorithms were invented on paper first (or whiteboards.) Conway's game of life became popular before computers were programmed to do it, and people executed the moves with pencil on graph paper. Turing had a chess playing algorithm which he executed by hand on paper.

I've written short sections of code on a notebook before implementing it into a computer. It's slower, but it's possible, and I don't think paper is that inferior to a text editor. It will definitely require a lot more debugging when you finally implement it on a computer. So maybe write lots of test cases.
Sam believes Trump bears similarities to Hitler (http://blog.samaltman.com/trump). So:

Trump:Hitler::Thiel:?

When you write something like this:

In the words of Edmund Burke, "The only thing necessary for the triumph of evil is for good men to do nothing." This would be a good time for us all—even Republicans, especially Republican politicians who previously endorsed Trump—to start speaking up.

And then do nothing, it just comes off as sanctimonious and hypocritical.
I love how he is still coding the major part of the day. That is an inspiration - that you can stick to what you love even though you are starting companies left, right and center throughout your years.
That was quite an amazing read. So many good conspiracy theories and none of them are as good as this one.
Viruses are not living, because they have no metabolism and they cannot self-replicate (they require the replication apparatus of the host)

Viruses are not self-contained systems, they are more like organelles of cells, which transfer data between hosts.

edit: sorry I didn't been organelles I meant vesicles in cells
Why sales are the lifeblood of your startup
Interesting. Sharing calendars is such a useful, but underused feature. Given that everyone has a smartphone these days, you'd think cinemas/ concert halls/ universities... would all share calendars of their events. Or at least people would share theirs with their friends. So this site seems like a good step in addressing this.
Quiz: should I do code reviews?
I think good look: Font Lato or Open Sans.
I have been using LeechBlock for this (it works on Firefox)
this is special interest tax with exemption an whatnot. today it'll be a low percentage and limited to certain financial products. tomorrow, i assure you, it'll be everything and the rate will be raised.

does any non-german even know who schäuble really is? do you know he was front and center of the so-called "donation scandal" of his party, the cdu, around 2000? that he "allegedly" reveived 100.000 dm from a german defense industry lobyist? that investigations didn't lead anywhere but nobody knows where the money ended up despite the fact that multiple ppl dealt with the envelope?

https://en.m.wikipedia.org/wiki/CDU_donations_scandal

do these things and you'll end up in prison.

there's absolutely nothing great about this union, this country and my fellow countrymen in this regard. things lay clear in front of them and they do shit. only care about soccer, beer and the price of milk.

schäuble is a sick, angry bastard fucking around with his constituency and they don't get it.
The Ecuadorian embassy in London stormed without as much as a trace on the internet? Come on - I like a good conspiracy theory, but that's going a little far, isn't it? It would require the Ecuadorian government to hold tight and then storming the embassy wouldn't make sense - they could just have kicked Assange out and called the local police who'd happily pick him up.
Not for a few years now.
computer vision, machine learning, control software and things around that.
Docker is just overhyped deal with it. There are some nice ideas, but nothing that we couldn't or haven't seen before. FreeBSD Jails and Solaris Zones exist for more than ten years. Where they addressed many things that Docker didn't.
Reminds me of the autodefensas, as depicted in the excellent documentary Cartel Land

https://en.m.wikipedia.org/wiki/Cartel_Land
Oops, I fixed it again (Karaoke for Devs)
Okay, but wouldn't that be the case in all modern economies?
On Demand Legal Services with Marketplace
And on the eighth day, God created content
>algorithms were invented on paper first

This I can see, but the parent seems to be talking about commercially viable software. I think people should be careful when discussing imprisonment as some kind of distraction-free vacation for intellectual pursuits, the reality is that a large amount of time would be spent caring for your mental wellbeing.
Ask HN: What do you think we will use to develop frontend 5 years from now?
Do you think it will be React? Elm? Something compiled to WebAssembly? Some new web framework?

I understand that nobody can know this, but people on HN probably have the best chance of being close to reality, so just try to imagine.
Also, most of these libraries are implemented using Matplotlib. If you want full flexibility, or custom visualizations, Matplotlib is the way to go. I would recommend one of the other libraries for interactive plots, though.
Jawaharlal Nehru is one example that I know. He wrote his most famous books while imprisoned by the British and they were instant bestsellers when they were released.
Why you should not use iris for your go projects
Actually having the site served from the same, already-open, probably pre-fetched connection, already open browser is great for the user.

It even has the advantage of loading inside the Google App, where no adblocking exists, so it might even be good for publishers.

Yes, there's no discovery if you don't design for that, user will just bounce.
In containers a few more things are virtualized. The file system is semi-virtualized. Network ports are too. So from the pov of stuff inside the container nothing else is running. That's not true of processes in general. From outside the containers you can then choose how to map parts of the virtual file systems to parts of the real file system and what real network ports the virtual ports connect to etc...

There's more to it. Containers aren't one process theyre as many processes as are launched in that container