Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bkeroack
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
451.
▲
by
bkeroack
12y ago
We have machines for doing this. They're called trees. Let's stop cutting them down.
452.
▲
by
bkeroack
12y ago
This. The thing to remember is that you always have to set beresp.ttl in vcl_fetch in a hit-for-pass situation. Varnish caches the decision to hit-for-pass (or lookup or whatever), so if you do a hit-for-pass and your TTL is 1 hour, Var
453.
▲
by
bkeroack
12y ago
Agreed. Varnish is great if you have an existing web application that needs a quick-and-dirty caching layer built in front of it. Varnish gives you enough configurability to do just about anything, but the end result will be a spaghetti mes
454.
▲
by
bkeroack
12y ago
I don't deny that it's more work. The question is whether it's worth the investment. I think for large, complex codebases (not little one-off apps) the gains in performance and long-term maintainability are worth it. Having t
455.
▲
by
bkeroack
12y ago
For Mongo I write a data layer that has methods like GetFoo() or UpdateFoo() where the methods have implicit knowledge of key structure (and query model objects for validation, etc) For SQL I would do something similar but use (for example)
456.
▲
by
bkeroack
12y ago
I'm a big fan of Pyramid because (among many other reasons) I think ORMs are a poor abstraction and therefore do not want to be forced into using one (a la Django). I didn't find the learning curve terrible either--it's just
457.
▲
by
bkeroack
12y ago
I don't dispute the article's thesis, but a significant part of the reason why addiction is skewed so heavily to the young could be because the most severe addicts die from it before reaching an older age. As in, you don't &q
458.
▲
by
bkeroack
12y ago
"No, don't take away my beautiful abstractions!"
459.
▲
by
bkeroack
12y ago
I don't disagree. I'm not saying types are bad or unneeded, simply that they can be overused. I think we are encouraged to use types to solve so many problems because they're one of the few things that compilers can easily ch
460.
▲
by
bkeroack
12y ago
Whenever this issue comes up (and on HN, it never appears to die), I'm reminded of an eye-opening moment I had reading Rob Pike's excellent essay "Less is Exponentially More" ( http://commandcenter.blogspot.com
461.
▲
by
bkeroack
12y ago
Saltstack ( http://docs.saltstack.com ) and the included salt-cloud handle cloud provisioning rather well.
462.
▲
Elita: continuous deployment engine in Python
(tech.scorebig.com)
1 points
by
bkeroack
12y ago
|
0 comments
463.
▲
by
bkeroack
12y ago
Look at the source. (c) http://code.kx.com/wsvn/code/kx/kdb%2B/c/c/k.h (c#) http://code.kx.com/wsvn/code/kx/kdb%2B/c/c.cs This guy is truly depraved.
464.
▲
by
bkeroack
12y ago
I suspect (but don't have confirmation) that this includes Microsoft's SaaS products like Exchange Online/O365, which are very successful. I get the impression that Azure specifically as PaaS/IaaS, OTOH, is quite a bit
465.
▲
by
bkeroack
12y ago
I love Go and I consider it to be the spiritual successor to C, in a way (sort of an anti-C++, which the creators have said they used as an explicit example of what not to do). Given that it was co-created by Ken Thompson (of Unix/C&#x
466.
▲
by
bkeroack
12y ago
Pretty cool. Faster and better compression ratios, according to the tutorial.
467.
▲
by
bkeroack
12y ago
Who on Earth uses Windows Store apps on Windows Server? We would totally consider using this if not for that.
468.
▲
by
bkeroack
12y ago
This seems really cool, but I'm not sure I would ever go above ~50 feet in altitude with it. It's a little scary that a leg cramp could cause me to plummet hundreds of feet to my death.
469.
▲
by
bkeroack
12y ago
It's arguable, but operator overloading should only be used (if at all) when there is conceptual symmetry between the standard and overloaded usage (eg, adding two datetime objects with '+'). I can't think of any way tha
470.
▲
by
bkeroack
12y ago
Total nitpick, but it annoys me when people implement something in Python but use ancient syntax. return '<M a: %s>' % self.a Should be: return '<M a: {}>'.format(self.a) And: class M(object
471.
▲
by
bkeroack
12y ago
I would not expect the average HN reader (foosball-playing, video gamer, etc) to agree with this. Sometimes I think tech is the epicenter of the "permanent adolescence" phenomena.
472.
▲
by
bkeroack
12y ago
Let me preface this by saying I'm a huge JetBrains fan. My one issue with these essentially single-purpose IDEs is that they are intentionally crippled for other languages. I find it very annoying, for example, that I have to edit Vagr
473.
▲
by
bkeroack
12y ago
This is more-or-less the result of the "everybody should go to college" public policy of the past few decades. Degree inflation is the natural consequence. Degrees are used (rightly or wrongly) by employers as signifiers of where
474.
▲
by
bkeroack
12y ago
The problem with Elasticsearch is not the JVM. A sample of the problems I have: a) Broken, hand-rolled consensus/consistency model [1] b) Designing cluster layout is a bit of a "black art" due to missing/incomplete doc
475.
▲
by
bkeroack
12y ago
Reverting a merge commit is the big danger zone. Let's say you are working on a feature branch and you accidentally commit it to the upstream branch before you're ready. Intuitively, you might then revert the merge changeset, con
476.
▲
by
bkeroack
12y ago
OK, if true that makes sense. I was interpreting the Name parameter to Open() as being something like a global plugin name rather than a filesystem location. That combined with the Plugin struct (which hopefully would have something like an
477.
▲
by
bkeroack
12y ago
I realize it's just an early draft, but it's interesting (alarming?) that the proposed plugin API has no facilities for plugin discovery or separate namespaces. Nor any apparent ability for the plugin consumer to introspect into p
478.
▲
by
bkeroack
12y ago
Not sure why other commenters are jumping on the bandwagon to criticize your response. Frankly, OP made a tasteless move by posting a public rant/complaint about being fired. There are no substantive allegations of mistreatment or inap
479.
▲
by
bkeroack
12y ago
On the contrary, one of the first things I do on a Windows box is open up a powershell window. Especially on Win 8+, it's a lot easier to do "logoff" or "Stop-Computer -Force" or "Restart-Computer" than to
480.
▲
by
bkeroack
12y ago
The speed difference between PS and cmd.exe is not nearly large enough to justify the incredible hoops you have to jump through to get anything reasonable done in batch. Yes it takes slightly longer to start up, but it has things like nat
More ›