Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
robryk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
86 ms
·
451.
▲
by
robryk
12y ago
esr's explanation and resulting discussion: http://esr.ibiblio.org/?p=5945&cpage=1#comment-887355
452.
▲
by
robryk
12y ago
Isn't a large part of the problem with micropayments that they are complicated for the user with the current state of online transactions? I've read the article and it does posit other reasons, but it seems to be purely hypothetic
453.
▲
by
robryk
12y ago
I wonder if it would make sense to make a "child poller" akin to the net poller: Have one goroutine loop forever: * wait for SIGCHLD * take the childlock * do nonblocking Wait() until no unwaited child remains * release
454.
▲
by
robryk
12y ago
More importantly, even if a compiler does optimize that, you can't rely on that: next version of the compiler could have slightly different conditions that trigger the optimization and your code could run 5x slower for no obvious reaso
455.
▲
by
robryk
12y ago
> your instances have to be disposable and reproducible, at the first hint of a break in my default action is to torch and rebuild. Or rather shutdown, preserve, start replacements. IMHO your automation should be able to deal with the ol
456.
▲
by
robryk
12y ago
I wonder if someone's trying to make semi-autonomous drones controlled by optical links or very directional radio links.
457.
▲
by
robryk
12y ago
Signing of the repo contents (commits/tags) doesn't help anyhow with user ssh keys. If the automation gets the keys from github it effectively trusts github completely, irrespective of the situation with repos.
458.
▲
by
robryk
12y ago
Hmm.. that's really strange, given that one of the dictionary transformations available (number 12) strips the last letter from the dictionary word and another (number 3) strips the first letter from the word.
459.
▲
by
robryk
12y ago
If someone hacked github, they could substitute their own evil key for one of the developers' keys and the automation would add that key to appropriate places, giving access to whomever has the evil private key. On the other hand, OP p
460.
▲
by
robryk
12y ago
This is not the only compression related piece of software/spec from Google named after a kind of bread: there are also gipfeli[1] and zopfli[2]. [1] https://code.google.com/p/gipfeli/ [2] https://
461.
▲
by
robryk
12y ago
You're right about the aims of snappy and brotli: snappy has compression ratios worse than deflate, because it's only LZ77: there is no entropy encoding (eg. Huffman) afterwards. Brotli is similar to deflate in that it does LZ77 f
462.
▲
by
robryk
12y ago
The following two sets of slides describe the format and in what ways it shall be better than deflate: http://lists.w3.org/Archives/Public/public-webfonts-wg/2013O... http://lists.w3.org/Archi
463.
▲
by
robryk
12y ago
Most compression formats have blocks and their lengths commonly fall into a few tens of kilobytes range; they can always be made smaller (which usually causes some loss of compression ratio). Decompression can then proceed one block at a ti
464.
▲
by
robryk
12y ago
I've done: sox piano.flac piano.wav gzip -c < piano.wav > piano.wav.gz brotli-encode < piano.wav > piano.wav.brotli ls -l piano2.wav piano2.wav.gz piano2.wav.brotli piano2.flac and gotten: -rw-r--r-- 1 robr
465.
▲
by
robryk
12y ago
What are your thoughts on using NaCl? On one hand it gives harder-to-misuse primitives, on the other is uses elliptic curve crypto.
466.
▲
by
robryk
12y ago
I'd expect this to be possibly useful for diabetics. I don't expect this to be useful for detecting allergens, because I don't expect it to have small enough detection thresholds.
467.
▲
by
robryk
12y ago
If you're optimizing for the expected value. One can also optimize for the greatest chance to have more than X$ for some X.
468.
▲
by
robryk
12y ago
> Another question: has anyone had the feeling when they are in a dream that they can't move? I want to force myself to roll over to the other side and something invisible holds me there. I noticed this happens mostly when it's
469.
▲
by
robryk
12y ago
Aren't message bodies on GET supposed not to impact the returned result at all?
470.
▲
by
robryk
12y ago
If a user doesn't want to send the referrer when there is no referrer, no referrer should be sent. This then allows sites to distinguish between direct traffic from users that don't block referrers and traffic with blocked referre
471.
▲
by
robryk
12y ago
Nitpick: goroutine context switch can also happen at function calls (when the stack is being enlarged).
472.
▲
by
robryk
12y ago
When reviewing a pull request I find it hard to see the changes made since my last set of comments and to find unanswered comments (especially when the comment was on a diff hunk that is now gone). When responding to a review I find it like
473.
▲
by
robryk
12y ago
I wonder how often it'd be possible to deduce that an overflow is not possible from the context. (For example, if we've just checked that INT_MAX/a > b before doing a*b.)
474.
▲
by
robryk
12y ago
I'm sorry, but that's not true: http://play.golang.org/p/PiMXQkKOef
475.
▲
by
robryk
12y ago
> You have to explicitly ignore error codes in go. (Not that you can't handle them incorrectly.) I'm not sure I udnerstand what you mean. I can write: fmt.Fprint(os.Stdout, "Something\n") This returns an error, which
476.
▲
by
robryk
12y ago
It would be nice if that got added to PwdHash[1] extension[2]. PwdHash chrome extension currently seems to just try to capture all keyboard events while the master password is entered in a site's password box. Also, it seems to me that
477.
▲
by
robryk
12y ago
I don't think that the manager's actual reason for support for lock-modify-write. I think he was just opposed to changing anything in the realm of source control and this was just a convenient rationalization.
478.
▲
by
robryk
12y ago
That was a reference to https://en.wikipedia.org/wiki/Logan's_Run
479.
▲
by
robryk
12y ago
Not really. In case of a problem on board a train (unrelated to train's motion; for example, a medical emergency or a rowdy passenger), the train can usually be met by someone at the next station. In case of a bus, much more often ther
480.
▲
by
robryk
12y ago
Even if the pedal is physically connected to the brake cylinder ABS can do whatever it wishes to: ABS can apply and unapply brakes at any time, also asymetrically.
More ›