Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DRMacIver
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
DRMacIver
14y ago
I'm not sure I would call the steps "reasonable" per se. They're much more obviously bad ideas in retrospect than they were at the time, but a lot of them should have been pretty obviously bad ideas at the time as well. On the HTTP is slow
92.
▲
by
DRMacIver
14y ago
Did you miss the part where I explicitly said in multiple places that there was an obvious simple solution and that this post was an example of what not to do?
93.
▲
by
DRMacIver
14y ago
May I extol the virtues of quitting and finding a better job to you? :-)
94.
▲
by
DRMacIver
14y ago
Did you miss the sarcasm even in retrospect? Because I don't really see how it can be possible to read this article and not understand that I'm pointing out that all of these things we did are terrible ideas and you shouldn't do them.
95.
▲
by
DRMacIver
14y ago
For our cousins across the pond, this is an instance of a type of humour called "Sarcasm", in which you state something directly in order to imply that it is obviously wrong.
96.
▲
by
DRMacIver
14y ago
What, you expect us to read the article to derive the lessons contained therein? What lunacy is this?!
97.
▲
by
DRMacIver
14y ago
Yes, indeed, we have the same, but it becomes much more useful if the exceptions being thrown by your dependencies are of high quality.
98.
▲
by
DRMacIver
14y ago
So it's legitimate to use exceptions to terminate early with an HTTP status code such as 304, but it's not legitimate to use exceptions to terminate early to say that there's a cached version of the page available and no further processing
99.
▲
by
DRMacIver
14y ago
Given that the article was a response to criticism of a previous proposal of mine on grounds that it used exceptions for control flow, and given that I linked to that discussion (on the page for the proposal in question) in the opening para
100.
▲
by
DRMacIver
14y ago
> This is like saying... be sure to never copy more bytes than the buffer capacity. Easier said than done. A solved problem except when people insist on using approaches where it's not a solved problem? I couldn't agree more! :-) firstl
101.
▲
by
DRMacIver
14y ago
Yes, in retrospect I'm not sure I agree with this one as strongly as I wrote it. Perhaps better to say that you should log by default. But that being said, problems that the code needs to fix may be symptoms and you may need them for debugg
102.
▲
by
DRMacIver
14y ago
I agree that this can be a problem. I think a good default here is that if you don't know enough about what you should report, you should report as much as you reasonably can - for example if you can't say what's wrong with a value, at leas
103.
▲
by
DRMacIver
14y ago
Do feel free to enlighten me.
104.
▲
by
DRMacIver
14y ago
No, but you can make decisions now which affect the rate of short term growth later. Or to continue the calculus analogy, you divide your spending on growth between spending that increases the first derivative and second derivative of value
105.
▲
by
DRMacIver
14y ago
So I've done a B2B company before and am doing one now (current place isn't intrinsically B2B but that's our main focus. It's certainly not something normal consumers would use). I think this understates what incredibly hard work selling B2
106.
▲
by
DRMacIver
14y ago
Ah, I see. That makes sense. Thanks.
107.
▲
by
DRMacIver
14y ago
> a known bug in the hiredis library that can make Sentinel crash from time to time, but it's not a problem with Sentinel itself Surely if a bug in a client can crash your server that's a bug in the server by definition even if the clie
108.
▲
Github Explorer: Discover random github repos, weighted by popularity
(githubexplorer.com)
5 points
by
DRMacIver
14y ago
|
0 comments
109.
▲
by
DRMacIver
15y ago
Eh, site's held up to hacker news 4 or 5 times in the past. Never been a problem before. It's been around for two years slowly bitrotting (I really should do some maintenance on it). Just gradually been getting slower and this time it hit t
110.
▲
by
DRMacIver
15y ago
Should be running (a bit) better now, though likely still on the slow side. Turns out a query I'd written back when there were 20k votes in the system didn't perform so well now that there are 200k votes in the system. Go figure.
111.
▲
by
DRMacIver
15y ago
Sorry the site's having issues. I haven't done any significant work on it in most of two years and there's rather a lot more data in it than when I actually worked on it. So, yes, it's true, I haven't used the right tool for the job. Except
112.
▲
by
DRMacIver
15y ago
A neutral title seemed the way to go. :-) On the one hand, the process was pretty irritating. On the other hand most of the issues are ones I'd probably catch if I were to repeat the experience (which is why I thought it worth writing about
113.
▲
by
DRMacIver
15y ago
I know. I actually keep meaning to properly learn perl (I can just about read it and don't really bother using it for one liners as I tend to find joe-random-scripting language + sedawk cover enough bases). But when one prefaces a post with
114.
▲
by
DRMacIver
15y ago
Contains just about everything, so I don't have to come up with a specific justification for the comparison. ;-)
115.
▲
by
DRMacIver
15y ago
If programming languages were hacker news comments this one would be common lisp.
116.
▲
by
DRMacIver
15y ago
Thanks. I've only just got around to watching these, and they're really very good.
117.
▲
by
DRMacIver
15y ago
Hmm. I'm not sure I believe that. I'm not sure I don't believe that either mind you. Consider the following questions: * If they're willing to do anything to stay in power, why were they running for a minority party in the first place? * Ho
118.
▲
by
DRMacIver
15y ago
As a side note, this does not directly address the problem proposed by Arrow's theorem, although it could easily be made to do so, but the post isn't so interesting in that context. It's more about how it interacts with a constituency syste
119.
▲
by
DRMacIver
15y ago
Both of which terms are explicitly used in the article. :) However this is not a sortition. It's an application of random-dictator to the problem of electing a per-constituency representative. This turns into a sortition only in the degener
120.
▲
by
DRMacIver
15y ago
It's worth noting that the consequences of random election are not "the crazy party gets into power". It's "the crazy party gets a couple of seats". The chances of someone with even 5% of the election are astronomically low ( http://twitter
More ›