Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mwpmaybe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
211.
▲
by
mwpmaybe
10y ago
The Caddy web site provides a helpful download link where you can select your architecture and addons/features and receive a binary. You can easily point a script at it, like in this Ansible role[0], for instance. 0. https://
212.
▲
by
mwpmaybe
10y ago
I've been experimenting with Caddy over the past few days and it's great, if somewhat immature and quirky. The plugin ecosystem is rich but in dire need of some oversight and QC. What I like most about Caddy is its very sane behav
213.
▲
by
mwpmaybe
10y ago
I think you want header_upstream instead of proxy_header, at least in newer versions of Caddy, and the transparent[0] preset sets Host, X-Forwarded-For, and X-Forwarded-Proto for you! proxy / 127.0.0.1:8080 { except /favic
214.
▲
by
mwpmaybe
10y ago
It sucks until you figure out the problem, then it's euphoric.
215.
▲
by
mwpmaybe
10y ago
That's an excellent question. I've only ever used stunnel and I was blown away by how many different things it can do / ways it can work. It does so much for such a simple tool. antirez probably likes spiped because it does f
216.
▲
by
mwpmaybe
10y ago
stunnel. It's an incredible piece of software.
217.
▲
by
mwpmaybe
10y ago
I've been on both sides and I have to say that the road goes both ways. When I was getting started with a language last year I found a missing feature in a module of an open source library and submitted a very simple PR to add the feat
218.
▲
by
mwpmaybe
10y ago
Thanks!
219.
▲
by
mwpmaybe
10y ago
Even if it does appear, you can simply remove it and Twitter will preserve the reply/threading regardless.
220.
▲
by
mwpmaybe
10y ago
It's a great tool, but I have one request: the slash line of the last tweet should ideally indicate how many total there were in the storm. For example, the friendly howto on your site should end with "6/6 Share and have fun.
221.
▲
by
mwpmaybe
10y ago
You likely have a simple HTML page that bootstraps the SPA; just put your meta tags there! UPDATE: Ah, set in JavaScript. Yes, tricky. Reading is good.
222.
▲
by
mwpmaybe
10y ago
"S/he wrote his own command-line utility to create projects from templates? Why didn't s/he just use cookiecutter?"
223.
▲
by
mwpmaybe
10y ago
Sure, and pay for egress. Data Transfer OUT From Amazon RDS To Internet First 1 GB / month $0.000 per GB Up to 10 TB / month $0.090 per GB Next 40 TB / month $0.085 per GB
224.
▲
by
mwpmaybe
10y ago
Ansible.
225.
▲
by
mwpmaybe
10y ago
Or you could use a Redis transaction for a transaction. :-) http://redis.io/topics/transactions
226.
▲
by
mwpmaybe
10y ago
> George W. Bush was well-known for sticking his foot in his mouth by making up words (e.g.: "strategery") Generally true, but "strategery" was actually coined by SNL writers for Will Ferrell, although it is frequentl
227.
▲
by
mwpmaybe
10y ago
This always makes me laugh when I randomly come across it: https://github.com/mperham/sidekiq/blob/659dea9601b3a283d9c8...
228.
▲
by
mwpmaybe
10y ago
Or even better than patch, git apply.
229.
▲
by
mwpmaybe
10y ago
Your strategy of calling everything a provisioning system and then decrying the surfeit and complexity of provisioning systems is deeply flawed. Kubernetes is not a provisioning system. Docker and runC are not used to provision systems. Vag
230.
▲
by
mwpmaybe
10y ago
I'm not sure what you mean by "flapping," but the technologies in your list do not all address the same problem space. You might as well ask why we need both Solaris and C++. Only the first four (Chef, Puppet, Ansible, and Sa
231.
▲
by
mwpmaybe
10y ago
It already has been replaced by systemd as of 15.04 (and 16.04 LTS).
232.
▲
by
mwpmaybe
10y ago
Having a, "Holy shit, why didn't I think of that?" moment over here. Thanks for the tip!
233.
▲
by
mwpmaybe
10y ago
If you're already using Nginx and its caching subsystem is working for your use case(s), then I wouldn't worry about it. A typical web stack is composed of load balancing, SSL termination, caching and compression, and static and d
234.
▲
by
mwpmaybe
10y ago
Yeah, it's one of those rare Ruby gotchas. If you assign some kind of a data structure to a constant, you'll get a warning if you try to reassign the constant, but the data structure itself will silently mutable. To disallow this
235.
▲
by
mwpmaybe
10y ago
Freeze your constants!
236.
▲
by
mwpmaybe
10y ago
Very interesting. Thanks for writing this up. This is a bit more Perlish (not that I'm an authority): sub is_prime { (1x$_[0]) !~ /^(?:.?|(.{2,}?)\1+)$/; } But perhaps less clear to a novice reader. You can
237.
▲
by
mwpmaybe
10y ago
¯\_(ツ)_/¯
238.
▲
by
mwpmaybe
10y ago
For the vi-adherents out there, `set -o vi` will let you navigate your prompt and history with vi-like keybindings. I'm amazed by how many vi users don't know this.
239.
▲
by
mwpmaybe
10y ago
That thread is amazing. My favorite part is the inventors of Tarsnap and Dropbox basically saying to each other, "oh hey, I'm working on the same thing as you!"
240.
▲
by
mwpmaybe
10y ago
OK, maybe I should have gone with, "And men were real men, women were real women, and small, furry creatures from Alpha Centauri were real small, furry creatures from Alpha Centauri."
More ›