Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mnutt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
181.
▲
by
mnutt
8y ago
To partially mitigate this issue, I scope all private packages to @corp-internal/ , then use a .npmrc directive to push all packages in @corp-internal/ to packagecloud.io. The @corp/ scope is used for open source packages, @
182.
▲
by
mnutt
8y ago
A few years ago I buit a personal file storage server [0] that was interoperable with OwnCloud and sync based on WebDAV. Over a decade ago I worked on a site builder that used WebDAV under the hood. What I found was that WebDAV is mostly fi
183.
▲
by
mnutt
8y ago
It isn't a rebuttal to this article, but I found this blog post about optimizing javascript to be really, really interesting: https://mrale.ph/blog/2018/02/03/maybe-you-dont-need-rust-to...
184.
▲
by
mnutt
8y ago
Probably downvoted for making hyperbolic generalizations? Also, your anecdote about kids feeling more comfortable on calculators has nothing to do with what is or isn’t math, and comes off as another kids-these-days story.
185.
▲
by
mnutt
8y ago
The standardized tests were god-awful and the curriculums were hit-or-miss, but I meant that I liked math itself. I think it began when my parents got me a book called “I Hate Mathematics”.
186.
▲
by
mnutt
8y ago
When I was in grade school I really enjoyed math, and was really good at it. But some time around the beginning of college I hit a wall and started to resent math. I was supposed to be good at this stuff! I hope I never find myself in that
187.
▲
by
mnutt
8y ago
The biggest challenges I’ve had with auto scaling have been slow scaling time and default metrics not being a good proxy for scaling needs. One thing I was mildly curious about: if you’re going to build your own metrics and scaler, what wou
188.
▲
by
mnutt
8y ago
Even worse, Tumblr had an incident where they accidentally changed <?php to i?php (my guess would be editing directly on the server with vim?) and exposed not only their source code but also credentials. https://news.ycombinat
189.
▲
by
mnutt
8y ago
While it looks like a reasonable attempt, it’s only looking at directly related effects. For instance, it notes that pedestrian fatalities have decreased since 1960 due to, among other things, discouraging people from walking. The effect of
190.
▲
by
mnutt
8y ago
Yeah, "remember to keep these two files in sync by hand" is the opposite of simple. Like c++ header files, without the benefit of a compiler that will complain at you when you get it wrong.
191.
▲
by
mnutt
8y ago
Beyond the immediate issues of "what rules do I use to make this thing look this way", the cascade can also make large-scale management and code reuse challenging. It's sort of like object-oriented inheritance, except the def
192.
▲
by
mnutt
8y ago
Yeah, in this case we did though I can see a lot of instances where the benefits don’t outweigh the costs.
193.
▲
by
mnutt
8y ago
I’ve seen Uber respond to a chargeback by leaving the account active but disallowing all payment methods. With most companies I’d expect it was a customer support mistake rather than vindictiveness, but with Uber it’s hard to be sure.
194.
▲
by
mnutt
8y ago
We also use travis + a monorepo and yeah TRAVIS_COMMIT_RANGE is broken. We end up just tagging successful master builds and generating our commit range off of that. But yeah, so much of it is flaky, and the pricing is noncompetitive. Our cu
195.
▲
by
mnutt
8y ago
That doesn’t seem too far off from what I would expect, if your site actually cares about the data your users store there. I wouldn’t recommend it, but you could try a slightly scarier explanation. (“Sorry, hackers have cracked this passwor
196.
▲
by
mnutt
8y ago
If that happens commonly, the original password with a 1 appended will probably eventually appear in a future HIBP database. In fact, the user could continue adding 1s until they either give up and try something different, or until it becom
197.
▲
by
mnutt
8y ago
If you’re considering Cassandra, it’s probably also worth considering Scylla. It’s a drop-in replacement for Cassandra so shares some of its flaws, but is considerably more pleasant to run in production.
198.
▲
by
mnutt
8y ago
Not to detract at all from your point, but Mongo (10gen) was very, very well-funded out of the gate, and the original idea was a platform-as-a-service built on open source apps before they pivoted to the open source database idea.
199.
▲
by
mnutt
8y ago
Ember’s HTMLBars is no more “building up code as a string” than jsx is.
200.
▲
by
mnutt
8y ago
I'd definitely second the ray tracer recommendation, starting from a 2D canvas and building a ray tracer to render a shaded sphere was really an "ah-ha" moment, as the math is quite approachable and you can get a cool result
201.
▲
by
mnutt
8y ago
I've been trying to wrangle the top bar into something manageable for a while, and have landed on this: https://gist.github.com/mnutt/a8ffee69c51a2e150e67acf56692cb... The one thing to watch out for is that Firefo
202.
▲
by
mnutt
8y ago
If you tried something like docker-machine on Mac a while back and were disappointed with abysmal performance, it's worth another look. They've replaced VirtualBox with HyperKit, which uses the Apple-supported Hypervisor.framework
203.
▲
by
mnutt
8y ago
Despite its apparent complexity, webpack is much more suited for the common case than it is for use cases with more complex requirements. To make an analogy, webpack is the HighCharts of the js build system. If you just need a chart it’s fi
204.
▲
by
mnutt
8y ago
That’s somewhat surprising that it makes that much of a difference, a Raspberry Pi 2 can gzip compress at around 20MB/s. Maybe there’s some inefficiencies in the webserver implementation, or just really big files?
205.
▲
by
mnutt
8y ago
I used to use Firefox’s Recommended Stories, but eventually disabled them because they were very clickbaity, and usually when I was opening a new tab I was working on a particular task and it would distract me from whatever that was.
206.
▲
by
mnutt
8y ago
Is that the point, though? I think the point is more that you tell the webserver "here is some content, I want you to serve it in the best way possible" and it figures out how to do it without any special configuration. In the sam
207.
▲
by
mnutt
8y ago
For a site with limited assets, people care more about bandwidth costs than storage costs and ideally your webserver can automatically transcode and serve the best format based on content negotiation. Except for JPEG2000, which Safari suppo
208.
▲
by
mnutt
8y ago
Definitely, I hate the redesign and use old.reddit.com when I do visit, but what their ops team does on the backend to scale the site seems tangential to that.
209.
▲
by
mnutt
8y ago
Keeweb is pretty awesome, and is amazingly just a static HTML page. If you're comfortable running your own secure webserver, you can self-host that for added security: https://github.com/keeweb/keeweb#self-hosting
210.
▲
by
mnutt
8y ago
If a company has significant users, ops/site reliability is one area where I’d be hesitant to say they’re overfunding, especially from the outside. Especially at reddit’s growth trajectory, if you’re sitting still, you’re probably fall
More ›