HNHacker News
TopNewBestAskShowJobs

AndrewHampton

915 karma · joined January 13, 2009

[ my public key: https://keybase.io/andrewhampton; my proof: https://keybase.io/andrewhampton/sigs/8ov2hJUPVQGL1VkZ-q-IkdcaOUSMeyA6E-G939rCCzk ]
submissionscomments
AndrewHampton··on Show HN: Keypad Layout Window Manager for Mac
I'll drop in the customary link to hammerspoon: http://www.hammerspoon.org

It has a couple libraries for window management. One is plug and play, the other is lower level. Here is my config for setting up a 2x2 grid: https://github.com/andrewhampton/dotfiles/blob/master/hammer...

AndrewHampton··on Measuring how bad Twitter is
Jack Dorsey became CEO of Twitter in October 2015. The numbers in the article are for all of 2015. Should he have been able to fix the financials in the first three months back as CEO? I feel like I'm missing something.
AndrewHampton··on More contributions on your profile
I mostly agree. The one thing I really miss is a bookmarklet I made that would highlight the top five posts on a comments page. This was especially useful for quickly finding the gems on pages with hundreds of comments. I wish there was an easy way to discover highly voted comments deeper in the threads.
AndrewHampton··on Docker Clustering Tools Compared: Kubernetes vs. Docker Swarm
At my company, we've set up our own Kubernetes cluster and moved our production applications over to it over the past couple months. While I definitely agree, there is a steep learning curve for getting Kubernetes set up and configured, there are several factually inaccurate things in this article.

> With Docker we were supposed not to have installation instructions (aside from a few docker run arguments). We were supposed to run containers. Swarm fulfils that promise and Kubernetes doesn’t.

We run Kubernetes on CoreOS and every piece runs in a container. On the master, the api-server, controller and scheduler all run in docker containers. On the minions, the proxy and kubelet both run in containers.

> Another thing I dislike about Kubernetes is its need to know things in advance, before the setup. You need to tell it the addresses of all your nodes, which role each of them has, how many minions there are in the cluster and so on.

The master does not need to know the these things. Minions do need to know the address of the master, but they can self-register with master and join the cluster anytime.

With that being said, it did take two of our senior devs over a week to get a cluster we were happy with. I'm a fan of docker compose, and hope swarm becomes a good competitor to Kubernetes. I don't think it's there yet though.

AndrewHampton··on Kubernetes from the ground up: the API server
Thanks for the info! I've found the end user documentation to be excellent, but the documentation for actually managing a cluster to be lack luster. This series has been perfect for filling in that gap. Thanks again!
AndrewHampton··on Kubernetes from the ground up: the API server
I'm really enjoying this series. We started using kubernetes at work a few weeks ago and detailed documentation like this is pretty hard to find.

Kamal, what resources are you using to learn the information in these posts?

AndrewHampton··on Advanced Mesos Course
Thanks for the response justin. I sent you an email with a couple comments to the address in your profile. Assuming my team decides to go with k8s, I'd be interested in helping create some of that documentation.
AndrewHampton··on Advanced Mesos Course
I would be very interested in hearing about anyone's experience managing mesosphere dcos compared to kubernetes. My company is exploring our options in the container orchestration space and have been testing out kubernetes on aws in the past week. Getting started with kubernetes was pretty easy, but there seems to be so much magic behind kube-up.sh and very little documentation about what exactly it does. We have concerns about troubleshooting any issues that come up in the future since we don't really understand what all is going on behind the kube-up curtain.
AndrewHampton··on Release proposal: v2.0.0 (io.js)
I've been listening to the iojs technical committee calls and they're moving forward with that in parallel with new development. It sounds like they think the merge is likely, but not guaranteed, and it may be a months long process. So they don't want to stop development for that much time and wait for the merge to complete.
AndrewHampton··on Building Microservices the Lean Way, part 2
Yeah, this is pretty much what we do. We only use test suites for the backend apps which only expose an API. They just stub out calls to other services.

However, our front end apps is where we're running into trouble. The people on the front end want to run through everything in their browser to make sure everything works and looks good.

We use docker and fig (now docker-compose) to run all our apps. So we've been talking about using compose's new external_links feature to link each app together.

I hadn't heard of moutebank though, so thanks for the link!

AndrewHampton··on Building Microservices the Lean Way, part 2
So here's a question we've been talking about at my office. When developing a micro-service on your development machine, do you need to run the whole stack or just the service you're working on?

For example, let's I am working on service A, which depends on services B and C. Do I need to run all 3 apps and their data stores locally?

We currently will typically point A to the staging B and C. However, we have some long running jobs that A will initiate on B and B needs to post back to A when it's finished. This doesn't work when pointing to staging B.

AndrewHampton··on App Container and Docker
I agree, I think it would be much better for everyone if the two container specs merged.

However, after reading "This is a simple functional PR..." in the blog post, I was surprised to see the PR adds over 38k lines of code. Seems like that will take a while to review.

AndrewHampton··on Show HN: PolyGen App, turn gradients and photos into pretty low poly patterns
It looks very nice, but it's crashing on my LG G3 as soon as it loads. I see a white background and red/pink banner at the top for about 3 seconds, then it auto-closes. I'll keep it around and watch for auto-updates and hope it's fixed.
AndrewHampton··on Ask HN: Do you prefer to learn by watching videos or by reading books/articles?
Videos for getting a broad overview of a topic.

Reading for looking for something specific.

AndrewHampton··on Amethyst – A tiling window manager for OS X
Mjolnir isn't actually under active development anymore. A few months ago sdegutis decided to write a closed source alternative which has not yet been released.

The mjolnir community does have an actively developed fork though called hammerspoon. http://www.hammerspoon.org/

I would recommend either of them, but hammerspoon has a smoother onboarding process.

AndrewHampton··on Tab Snooze – Snooze tabs for later
The way this feature works in mailbox is you can "snooze" an email. After making your timeframe selection, it will leave your inbox, then return when you selected. For example, if you get a work email on the weekend about something you need to take care of on Monday, you can snooze it until "Next week" and it the email will immediately leave your inbox, then return the following Monday.
AndrewHampton··on Falcon 9 attempts ocean platform landing
This is for reusing the first stage of the rocket, not the bits that actually go into space.
AndrewHampton··on Vagrant 1.7.0 Released
Here's the full changelog:

https://github.com/mitchellh/vagrant/blob/master/CHANGELOG.m...

AndrewHampton··on President Obama Calls for a Free and Open Internet
I hope you're correct and deep packet inspection is prohibited. The language being used still concerns me though.

> If a consumer requests access to a website or service, and the content is legal, your ISP should not be permitted to block it.

This implies that ISPs would be permitted to block illegal content. How can they know traffic is legal without some form of traffic monitoring/inspection?

AndrewHampton··on President Obama Calls for a Free and Open Internet
I agree that my concern may be misplaced and everything could work out fine. I'd categorize myself as "cautiously optimistic" about these laws still, but wanted to bring this up since I don't see much discussion about it.

Additionally, I almost brought this up in my original post, but decided against it, but "lawful content" is another phrase I commonly see in the same discussions. IANAL, but my understanding is that unlawful != illegal. "Lawful" means the subject is specifically addressed and permitted by law, and "unlawful" is anything else. So traffic can be legal, but not lawful.

My biggest fear is that we in the tech community will rally behind a net neutrality law which sounds good in theory, but ends up a nightmare in practice. Phrases like "ISPs will not be able to filter lawful content" are nowhere close to "ISPs will not be able to filter traffic". I'd much prefer the latter in a net neutrality law.

AndrewHampton··on President Obama Calls for a Free and Open Internet
It is. It's just a concern I have since similar language seems to be everywhere, which makes me think including it is intentional.
AndrewHampton··on President Obama Calls for a Free and Open Internet
Here's the thing that bothers me the most about a lot of the talk about net neutrality by government officials:

> If a consumer requests access to a website or service, and the content is legal, your ISP should not be permitted to block it.

Specifically "and the content is legal" is what raises a flag for me. I've seen similar phrases in nearly everything I've read coming from any government official regarding net neutrality.

If this phrasing makes it into eventual laws regarding net neutrality, it seems to me that it could easily require inspection of all traffic by ISPs to ensure the legality of traffic.

AndrewHampton··on Using Vagrant and Chef for Reproducible, Isolated Rails Development Environments
Things have changed some since these answers were posted, but answers 2 and 3 here are written by the authors of vagrant and docker, respectively.

http://stackoverflow.com/questions/16647069/should-i-use-vag...

AndrewHampton··on Hydra 1.0
I've been using hydra for a few weeks now and love it so far. Great work sdegutis!

Here's my config for anyone who's curious: https://github.com/andrewhampton/dotfiles

AndrewHampton··on Google is retiring its Latitude location-sharing service on August 9th
This was my main concern too, but it looks like you can still keep track of you location history. That functionality is getting folded into maps.
AndrewHampton··on Ask HN: Neural Network Project
May want to pick something that interests you on http://www.kaggle.com/
AndrewHampton··on Google+: Communities and photos
Anyone know why the photo app (Snapseed) is only Android 4.0+?
AndrewHampton··on Chrome gets date and time pickers
Huh, the positioning of the date picker is on the primary monitor for me even when the chrome window is on the secondary monitor.
AndrewHampton··on Bonsai.js: A New Graphics and Animation Library
FF 16.0.2 here and the Pong example worked for me. I had the same behavior as you for the music example though.
AndrewHampton··on Cute riddle: Four kids holding one toy balloon
Yes, just tie the last child's string to the last loop.
← PreviousPage 2 of 5Next →