skysight-inc/HackerNews huggingface dataset:
> I predict the Docker fad will end in 2-3 years, fingers crossed.

Containers are definitely here to stay. Google, Heroku, and others have been using them for years.

Obviously Docker is just a subset, and it might fade, but I think it's pretty well established as a defacto standard.
I don't think it's so cut-and-dry. I mean, does Oracle respect its users and is it user-friendly? What about Epic, the dominant software system in the healthcare industry? Or Microsoft SharePoint?
I'm not a climber (I've meant to get into it, but the day only has so many hours ...), but I like watching climbing. At least it's more exciting than 10 meters air pistol!
we are exactly in your boat. However, we are signing up for kubernetes since we want to keep the GKE option open.

The only reason why we didnt go ahead is because of broken logging in k8s - https://github.com/kubernetes/kubernetes/issues/24677
I've found this very useful:

http://www.linuxjournal.com/content/back-dead-simple-bash-co...
There are 2 ways. It can do a quick reinstall or it can do a full flash that wipes out everything (you can force it to do that by holding shift or the Apple key or something when clicking the restore button).
Using it with Kubernetes definitely helps. One reason is that if you have enough surplus nodes, then Docker misbehaving on one of them shouldn't screw up anything; Kubernetes is really good at shuffling things around, and you can "cordon off" problem nodes to prevent them from being used for scheduling.
Here's another bit of heresy: testing isn't everything. Very fine-grained test suites frequently break when the structure of code under test changes even when the new code still does its job. In the limit, it's the equivalent of just breaking if SHA256(old_code) != SHA256(new_code).

Very short functions, I've found, encourage this kind of over-testing and just add friction to code changes without actually improving system reliability.

You're better off testing at major functional boundaries, and if you do that, the length of functions matters less than the interface major modules provide to each other.
Show HN: iOS Calculator app in React
I think updating people with push events on topics they care about is a great concept.

I've built a related tool to send me a text message when a new episode of Silicon Valley is released online. It also tracks when the local snowboarding resorts have opened for this season, as the date varies widely and shockingly enough their advice is "check our website every day"... get real. It's been immensely valuable to me personally.

As far as validation goes, and I'm saying this intentionally without clicking through to look at your prototype, it's just: Do you have users? How much are they using? Really you want to know is it providing significant value to them, but that's harder to measure at this stage. Then eventually, are people willing to pay for it?

I would recommend you create a single-page marketing site, it doesn't even need to use any tech, just pure html and css, that explains: what the problem is, use cases people would have, some recommendations from early stage users eg your friends, and a sign up button. That's what most startups do.
You know that your comment only corroborates the article in that discrediting all mainstream narratives is one of the goals.
From the comments:

> Of course, design patterns have no place in a simple data-driven pipeline or in your numerical recipes-inspired PDE solver.
But the same people that write this sort of simple code are also not the ones that write the next Facebook or Google.

> post author: Google is kinda more about PageRank than "design patterns".

wut
Maintenance as in "changing the behavior of code on demand" in games is not solved by modifying the code but in the data. As a game programmer I'd terrified if I had to change the code every time requirements change because the requirements in games change dozen times a day. I'd rather give the tools to the game designers so they could implement their own requirements themselves.

Maintenance as in "keeping the code around and reusing it for other projects" is quite important with the games. We go extra length to make code reusable by isolating it from 3d party libraries, compiler features and such.
Hi

Best practices varies depending on the project & team size. What's best for team of four might be bad for team of 100 or for single developer. For example source control, when I work alone I used it mostly as history of my code and backups but don't care too much about branching, but when I work on something bigger with e.g. ten people involved it's almost impossible to work without setting some rules about that.

Agile is becoming a standard for bigger teams, but it also might be bad for some types of the projects. If you join any agile driven methodology you can pick up basics in like one day and then just follow up - I wouldn't worry too much about it.

Unit testing from my perspective is really crucial even for small projects developed by one person. On the top of unit testing it's at least good to read a about BDD / functional / integration testing to understand how you can test your code even if you find out it's too much for you.

Microservices is another trends worth to read about but it also doesn't mean that you should create every project using microservices/SOA.

Best practises are the very open topic, it is hard to know without knowing what kind of project or languages do you use. You should also keep in mind that following trends might be good or bad if you don't understand what you want to achieve - I saw many projects killed because over engineering. From my perspective code is good as long it is simple.

I think the best source of knowledge is following technical blogs related to language you are using or industry.
Vagrant is pretty heavy, but if you're already using Chef, makes sense. If you're deploying using Docker, then mirroring your environment in dev makes more sense.

I've used both Vagrant and Docker for dev, and find Docker to be super fast and light. (though I've definitely run into some headaches with Docker Compose that I didn't see in using just Docker)
> e.g., 'That's not really a big deal.'

I never said it's not a big deal. In fact, I said exactly the opposite of it: "It's a problem, true". Were you meaning to respond to somebody else?

> I'm pretty sure that if some attorney on Wall Street was stopped and frisked, or made to drop his pants, even once, the program would be over by the time he buckled them back up.

Unfortunately it's not as rosey as you describe - look up civil forfeiture and how many various people got hit by it and how this practice still persists though it is nothing but legalized highway robbery. Check out how easy is to get hit by something like "structuring", or google "three felonies a day" and follow the rabbit hole from there. But that would take us way offtopic. We know police in US has serious issues, both with race and with corruption. We know there are a lot of factors that make people of certain descents - such as African Americans - suffer more from these issues.

My point is not to deny any of that - quite the contrary. My point is that these issues are police issues, not the problem of whoever dared to call the police when they thought they were in danger. Even if they were mistaken on that part and there was no real danger.
https://www.youtube.com/watch?v=oOlDewpCfZQ This is a better video of the same. The 4 chord 'coincidence' is crazy!
It's so hard to tell. I hope they were joking.
A minimum wage hike just killed the main one near UC Berkeley.
Citizen Science as democratization of science?
logging of application logs generally in the world is an unsolved problem, but I feel like k8s does better than most; fluentd is the default, and then logs are collected by whatever end system you like the best that's appropriate for your needs (e.g. GKE -> fluentd -> Cloud Logging, and I've heard of K8S -> fluentd -> ELK).
Oh I must have read it wrong.

I thought the scientists theorized about the existence of civilizations evolved entirely from a single Kardashian genome.

The only thing I wondered about is what the difference would be between type I and type II Kardashian civilizations.
Then let's talk about the factory workers that manufacture Apple devices. Let's talk about the employees scanning books for Google http://www.e-flux.com/journal/the-artist-leaving-the-googlep... .

I don't think it's very relevant to what this thread was about, programmer working conditions.
Yes I've read 1984. It's a parody of socialism and totalitarianism. It has nothing to do with modern democracies, or drones. Its also entirely a work of fiction.
The kinds of things you need to do in order to maintain a stable ABI are not the kinds of things you should apply to all parts of your program. That way lies madness.

BTW, you don't need accessors even for public ABIs. stat(2), for example, doesn't need "accessors" for struct stat and it's been stable for decades. The same idea applies to Win32 core APIs.
> This is one of those technologies that changes everything

Another technology with wide impact is the digital camera, which appeared after 2000, and spread in any and all devices today. We will remember the world since the digital camera in a very different way than before. I have a pittance of analog photos, but over 100K digital ones.

People tend to remember only what they photograph. In a few years, we will only remember what we shot pictures of. We tend to lock in those moments to the exclusion of the rest. Along with the internet, I'd say cameras are also a huge influence society.
Apple was a bad example. What you should have gone with was a utility company or a bank. Those are necessary in every society and the "level playing field" of "reformed" economies desired by the West for trade agreements only really creates David-and-Goliath situations where David's slingshot was determined to be unfair domestic subsidization by the World Bank, IMF, etc.
They more or less ignored the file sync issue of Docker for Mac, until there was a push asking the Docker devs for more transparency. There were other issues with the release, and where people did not push for it, issues would languish with no one from the dev team saying anything. It sometimes feels like a culture of coverups and shame. (Let's hide this under here and maybe no one will notice).

If people are feeling the "users are stupid", combined with what looks like coverup culture, I find Docker's blog posts less and less credible.

For example, there was a recent blog post about An independent security review comparing Docker to other similar technologies, including rkt. The conclusion of the post was that Docker is secure by default. (I'll leave it to the reader's own opinion whether that is true or not; this is not the issue I am pointing out).

What is so weird is that, nearly two years after the fact, the tone in that blog post was still as if CoreOS had betrayed them. And while I get there are hurt feelings involved, this is not a high school popularity contest. When combined with arrogance and coverup culture, I can see Docker moving in a direction that drives them further and further from relevancy.

Based on what I'm hearing here about Docker Swarm, Swarm is basically a great advertising for K8S or Mesos. No one there is pretending that multi-node orchestration is an easy problem. If the divergence from the community continues, I can see lots of people fed up and going over to rkt, or something else that works just as well.
Not 100% sure but I think there's a memory leak in hyperkit. Eventually the memory usage will grow to fill up the allocated space then docker will crash. It might be something else causing it, but that's just what I've observed.

There's also the Docker.qcow2 file ballooning in size. Only way is to do a "factory reset" or running a couple commands to clear out old images.
> Qt only emulates Windows controls, but wxWidgets uses the actual Windows controls via Microsoft Win32 API.

This is not correct. Many controls use the native implementation of the underlying platform.
As was pointed out elsewhere on the thread, these cases are all tracked. Can you cite some of the successful abusive ones?
Fair enough. They do list their prices but on their signup page https://signup.deploybot.com/signup/new
I was providing a public service and offering free trend analysis graphs on technology stacks listed in job postings over a couple of years for different area. It was nice, but they wanted to say I owed them something like 2k per piece of information, fore every day I stored it.
Publicize on it. Imagine an ad where they demonstrate how flawed their competitors product is by showing you anyone can watch you on it?
sauce plz
Do you have a link to something that has more data, and not just a single case? I would rather read that... :)

.

As an aside, what is going in here (HN) today?

Is it that it's Sunday, attracting a different crowd than usual? In this thread and in many others I see many perfectly legit comments - that normally remain untouched by downvotes (and I've been here quite often the last two weeks at least) - got downvoted? For example (to give one in this thread) ComodoHacker's comment - light gray just now - "For whom?..." here. I'm not sure what's downvote-worthy pointing out that developing countries usually have severe issues with their legal system.

I only ask because it's unusual from my recent experience here at least. If it was common I would not bother to mention it or ask. In another thread somebody asked the same question (and that comment was gray - of course).
I think it's a pretty excellent layer of abstraction, as it was in the form of jails/zones. Even if we stuck to single node computing I think I think it'd be a powerful thing, but viewing a whole cluster of computers as a single compute resource is incredible.

I think docker itself may fade but I view its popularity as jails finally catching on rather than a new bit of hype that's going to die down soon.
A New Step in Re-Creating First Life on Earth
on a related note, i went into a brick and mortar shop to buy earphones the other day. turns out they wont let you try them, for various reasons. in the end, i looked on the internet for reviews, and bought some headphones on amazon instead, and they are perfect, awesome. so, the brick and mortar electronic equipment store adds what value?
Wow, that's rough. Monitoring space is very crowded. Hope the team gets on to more fruitful adventures.
The host isn't the container itself. They want to re-provision the host likely not because of something wrong with the application but instead docker is in some state which is non-recoverable, or at least not recoverable by automatic means.
Growing Hyperconverged Platforms Takes Patience, Time, and Money
1. Think of your startup as a project until it has revenue.

2. Don't launch until you have a hundred paying customers, that forces you to be a long way down the road towards product market fit.

3. Get your first hundred customers face to face, the learning is 10X that of trying to drive traffic to your website.
Was born in 1969. Had a computer since I was 13. At 21, got an Internet account from my uni and I've been online since. It's sometimes difficult to remember pre-Internet since being networked has been part of essentially my entire adult life. Playing a MUD based in Germany. Chatting up girls from Taiwan and France. Getting into pointless arguments with people from everywhere. Using an "app store" (FTP) for the majority of the software on my old Mac LC. Even before the WWW revolution, using FTP, gopher, and usenet archives to get tons of information on random subjects. As early as 2001, I was receiving and responding to email on my little (and overly expensive but it had a color screen!) Samsung flip phone using an app. I remember helping put out a fire at work while I was drunk on vacation by tapping out instructions slowly using T9.

Everything since then has felt evolutionary to me, instead of revolutionary, which is a personal blindness from being so long exposed.

But there's one memory, which is funny to me, that illustrates how much social interaction has changed. In 1999, was sitting with a bunch of friends at a bar. We were usually a talkative group but this night everyone was being a little sullen and quiet. Since no one was doing anything, I pulled out my Palm III and started reading some article AvantGo had downloaded. Everyone else at the table started staring at me and looked a little horrified. My best friend gently took it out of my hand, folded the cover shut, and slipped it back into my pockets. And I never did it again, at least not for a couple of years. By late 2001, my little flip phone had a J2ME text-only browser and I'd read Slashdot on the slow bar nights. By then, it wasn't bothering anyone.
Or pay with both, like the NYT (print edition) which costs money _and_ comes with ads, Windows 10 (assuredly not free, the OEM has to pay for it)
Isn't it possible the bipeds of a high gravity planet would require larger lower-body muscles for walking around? Maybe the planet is especially hilly.
I went through a few iterations for logging, but now I settled on using built-in GKE logging. Stdout logs from my containers are picked up by kubernetes and forwarded to stackdriver. Since it's just stdout I do not create too much lock-in. I use stackdriver dashboard for investigating recent logs and BigQuery exporter for complex analysis. My stdout logs are jsons, so I can export extra metadata without relying on regexps for analysis - I use https://pypi.python.org/pypi/python-json-logger.
Not at all. Fields are a precise mathematical model that could, in principle, be simulated on a computer to arbitrary precision. There's no room for mysticism or "consciousness" nonsense.
I read Umberto Eco's guide to writing an academic thesis in early 00's; I'm too young to have first-hand experience how people did academic research before internet, but the book was from late 1970s, and the description of importance of using bibliographies and other such sources and indexes was intriguing.

I thought it was a useful source for Call of Cthulhu campaign set in 1920s, where investigators are supposed how to use libraries effectively.

Link to review of English translation: https://mitpress.mit.edu/books/how-write-thesis

And oh, I recently tried starting a habit of keeping an up-to-date directory of greppable markdown notes with links to the papers and books I've read, directly inspired by Eco's index card system and his gigantic private library.
And at some point a sub group split off and called themselves Cardassians. Everything makes sense now...
Kudos to WildBit. They're undeniably great in all the ways.
Let's say they've been changing the definition of insider trading. See: Bonan Huang and Nan Huang
Yes, I'm well aware that cloudflare is mitm, yet for my needs I've decided that this is not a problem.

I can see that you are not happy with what they provide. Luckily theirs service is not forced on you. Neither do you have to use it, nor visit server that use it.
From an ops side, that's worrying.

Yes, in an absolutely ideal world no one ever should touch a production environment, and ideally in every situation you find yourself having to touch a production system you should then be creating at the very least a backlog item to figure out how to avoid doing it in the future, but the reality is some kinds of troubleshooting are hard to do without having access. Generally the kinds of situations where you need that access are ones when you want access the quickest and easiest, i.e. the world is burning somehow.
You're completely right, let me rephrase to reinterpreting insider trading. I was specifically thinking of Bonan Huang and Nan Huang.
Maybe things has changed since Apr 2015, but I found ECS pretty limited and K8S solving those limitations. One big issue was container-to-container addressing. It was not available last year when I put an ECS cluster into production. Has it been added since?
@jacques_chester - after your last comment, I did check CF out. It is orders of magnitude harder than k8s for example.

To deploy CF on AWS - i need 20 instances. k8s can happen with a master and slave. I know that you probably do much much more.... but it will be nice to gradually scale out the components.

Second .. well BOSH. I see that there are 13K commits to the BOSH repo, so its probably set in stone anyway... but it would be nice to have something more standard (like Chef, Salt or Ansible. Ansible would be the closest thing to BOSH). These are extremely flexible tools... but far more accessible.

Third - the big one : Docker. I know that you have the Garden repository to run Docker.... but I dont think its production ready.

Cloud Foundry is an incredible piece of technology. But the problem is not that its unsexy... its inaccessible.
> "Jazz has been doing much more ambitious things for decades now, it's scary to see how long it can take for "mainstream" to cacth up.."

You are really missing the point of music. Music isn't something that only reaches its pinnacle when it's at its most complex. Technical excellence isn't the high watermark of great music. The only thing that matters in music is how it makes you feel.

Also, simplicity can be deceptive. Take a listen to this k.d. lang song:

https://www.youtube.com/watch?v=oXqPjx94YMg

Listen to how natural her vocal sounds, how well it fits the song and the lyrics, how she varies her vocals based on what she's singing. Skill with phrasing is the hardest to teach because it comes with musical awareness, but when you listen to someone with great phrasing it can bring a whole piece of music to life.

So instead of talking about what music "should be", share what you enjoy, and not just what you enjoy on an intellectual level, what you enjoy for what it conjures within you. What music do you enjoy?
Balboa Park has a BART station.

The K, L and M lines of the Muni Metro serve Forest Hill, West Portal. The L line goes to the SF Zoo but the K and M (along with the J) lines terminate at Balboa Park station. Personally, I prefer the Metro over BART due to its cleanliness and frequency of service.

I'm not sure about transit in Excelsior but I don't think it is that great.
Anecdotally, with caffeine I find it easier to do something concrete and relatively mindless, such as cleaning, or writing code that’s similar to something I’ve written before; but it’s much harder to figure out something novel or explain things to others. I wouldn’t be surprised if reduced blood flow turned out to be one cause of that effect.
This is similar to the scenario that cost David Sokol his job with Berkshire.
I haven't seen the video yet, but did they mention contributing back to the community?
Dokku should be able to handle all of your concerns. We do load-balancing on the server via nginx, use Docker's plumbing (the docker command/api) to build nice porcelain (our own cli tool) for stuff like restart policies etc. It's targeted specifically at single-server solutions, and migrating once you are large enough to another platform is easy as we tend to not build in platform lock-in.

Feel free to jump on our slack or irc: http://dokku.viewdocs.io/dokku/getting-started/where-to-get-...

Disclaimer: I am a maintainer of Dokku
Maybe you think it doesn't because you're so conditioned to it (if it's your favorite)?

Try quiting it for a week to see.
http://physics.uark.edu/hobson/pubs/13.09.a.AJP.pdf
Sure, but how many are willing to change their voting preferences or educate others about the dangers of TTIP? Many polls show people to be disgruntled by polticians, yet they keep electing the same people.

And surely it was 70% of the people who took the poll and were consequently made aware of TTIP?

I'm not saying there isn't opposition, most people I know are against it. But other people seem to not even know about it, or find it difficult to see why politicians would do something against their best interests.
There is a non-buzzword practical difference; one system cannot be driven on dry pavement (part-time 4x4). One system can be driven on dry pavement (full-time AWD).