Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
elithrar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
271.
▲
by
elithrar
11y ago
The author was using redigo ( https://github.com/garyburd/redigo ), which by my analysis is fairly performant. One of the likely causes for issues is file descriptor limits or TCP tuning that you suffer when stress testi
272.
▲
by
elithrar
11y ago
> Typing apt-get install mongo / mysql / rethinkdb after the droplet is really all there is to it. It's clear that the author was overspending—even a small dyno with a resource-hungry language like Rails can do a lot of t
273.
▲
by
elithrar
11y ago
I'm a fan of Thoughtbot's rcm[1], a dotfile manager. I just `git clone` my dotfiles down to a new machine, install rcm and run `rcup -d ~/.dotfiles` to symlink them into $HOME. Used this to get a new laptop up and running imm
274.
▲
by
elithrar
11y ago
Gil Tene, the author of wrk2, has a fantastic write-up on the assumptions that lead to Coordinated Omission (and how to avoid them) here: https://groups.google.com/forum/#!msg/mechanical-sympathy/ic...
275.
▲
by
elithrar
11y ago
> That's an impressive achievement. But how many offices use substantial amounts of paper entirely internally any more? Just to add to the data points: nearly every large engineering firm, or any utility (power/water/O&
276.
▲
by
elithrar
11y ago
Thankfully (but still unfortunately), the Go community Slack does a great job of replacing the IRC channel with more civilized/productive discussion. The IRC channel, like many, is often not a friendly place.
277.
▲
by
elithrar
11y ago
The problem highlighted here is not so much UUIDs, but instead the use of poor PRNGs (i.e. things other than /dev/urandom or getrandom(2) on Linux). All of the issues with the example libraries are around of the use of PRNGs from
278.
▲
by
elithrar
11y ago
If you can use cursor-based pagination, then definitely do so—but as you point out, you can't always do that. Further, unless you're using bigserials (i.e. incrementing ints), you can't check $last_seen_ID either. With UUIDs
279.
▲
by
elithrar
11y ago
> You compare it to MongoDB (or really any of the newer NoSQL databases) and it's like night and day. It takes minutes to setup a replica set and there is plenty of documentation and official support for any issues. MongoDB makes th
280.
▲
by
elithrar
11y ago
IIRC, the new (since iOS 8) WKWebView uses the Nitro JIT engine for JS, unlike the UIWebView of old.
281.
▲
by
elithrar
11y ago
> I think it had something to do with the url multiplexer "Slow" in the case of a router/mux is entirely relative though. There's been this strange focus on routing speed/allocations, when its the smallest slice
282.
▲
HTTP Strict Transport Security Priming
(mikewest.github.io)
3 points
by
elithrar
11y ago
|
0 comments
283.
▲
Random Acts of Optimization
(engineering.riotgames.com)
2 points
by
elithrar
11y ago
|
0 comments
284.
▲
by
elithrar
11y ago
> Putting the database row ID in urls, which is the Rails default, basically lets a competitor plot your growth with a simple script. Which is only a 'problem' (we'll assume there's 1:1 between DB rows and growth) wit
285.
▲
by
elithrar
11y ago
> I would bet that a site is faster by taking as many third-party or other domain assets and putting them back on the same domain and same server. There are other advantages to using a CDN beyond 'optimizing' browser cache usag
286.
▲
A Cartoon Intro to Redux
(code-cartoons.com)
23 points
by
elithrar
11y ago
|
1 comments
287.
▲
A Cartoon Intro to Redux
(code-cartoons.com)
2 points
by
elithrar
11y ago
|
0 comments
288.
▲
by
elithrar
11y ago
> The article showed Ember 1.9 coming in dead last because of code size. 2.0 is supposed to be a little better but do you really think it's going to be ahead of the curve? It seems pretty unlikely... I hope you'll say more. To
289.
▲
by
elithrar
11y ago
> The problem is immediately after boot before anything has seeded the entropy pool. With getrandom() on Linux it will block if you don't set GRND_NONBLOCK and the pool isn't initialized - http://man7.org/linux&
290.
▲
by
elithrar
11y ago
The counter to that—and no doubt a factor for many like Slack—is that when you use a custom protocol/API you get to control the whole experience. You don't have to deal with bugs in third-party clients, wait for clients to get emo
291.
▲
by
elithrar
11y ago
> Getting root on your readers' computers, no doubt. Since when? The only JS privilege escalation is this Firefox vuln from 2008: https://www.mozilla.org/en-US/security/advisories/mfsa2008-1...
292.
▲
by
elithrar
11y ago
> "Furthermore, don't confuse password hashing algorithms with simple cryptographic hash functions. They're not the same thing:" "Password hashing algorithms" should probably be replaced with "key deriv
293.
▲
Ember.js 2.1 Released
(emberjs.com)
2 points
by
elithrar
11y ago
|
0 comments
294.
▲
by
elithrar
11y ago
> Though perhaps the minimum should be increased. It may have been—which is what makes the angle in this PR piece so questionable. The minimum might be a value that is equivalent to a 200kg rider jumping off a 15ft cliff and not breaking
295.
▲
by
elithrar
11y ago
> and really hate to see people rely on frameworks in Go (like Gorilla or Alice). These frameworks certainly have a place. But if you haven't written vanilla Go, you are really missing the point. Just to jump in: Gorilla (a collecti
296.
▲
by
elithrar
11y ago
Bastion (a 2.5D isometric action RPG) on my iPhone is 1.2GB. Transistor (one of the games they featured) is 1.84GB on the App Store for the iPhone version. Feels like a disconnect between the docs and reality. PS: Transistor is fantastic
297.
▲
by
elithrar
11y ago
sqlx ( https://github.com/jmoiron/sqlx ) is my go-to as well. mgutz/dat ( https://github.com/mgutz/dat ) and dbr ( https://github.com/gocraft/dbr ) are also more ORM-like alte
298.
▲
by
elithrar
11y ago
Some great stuff here! The 'personal projects' are a nice touch: I've been using Goji ( https://github.com/zenazn/goji ) for a while now as my 'go to' router+context combo for Go web services. Sm
299.
▲
by
elithrar
11y ago
Is the text there substantially different than the patent grant under the Apache 2.0 license? I see a patent grant as a good thing.
300.
▲
by
elithrar
11y ago
Still fails silently in Safari 8.0.7 (10600.7.12) on Yosemite. (I had to load it in Chrome to understand what the intended behaviour was).
More ›