Better HN
topnewbestaskshowjobs
Log inSign up

flyingmutant

82 karma · joined Nov 9, 2011 (15y ago) · 15 submissions

Submissions

comment 2y ago · link · parent

This algorithm produces biased result with probability 1/2^(32-bitwidth(N)). Using 64 or 128 random bits can make the bias practically undetectable. Comprehensive overview of the approach can be found here: https://github.com/apple/swift/pull/39143

comment 4y ago · link · parent

This issue contains simple code that is claimed to be >300x faster: https://github.com/czbiohub/xicor/issues/17

3.

HashiCorp Nomad 1.0(hashicorp.com ↗)

3 points · by flyingmutant · 5y ago · discuss

comment 10y ago · link · parent

If you are interested in this, [Data Structures for Text Sequences](https://www.cs.unm.edu/~crowley/papers/sds.pdf) by Charles Crowley is an excellent paper to study.

comment 10y ago · link · parent

There is http://rollupjs.org/, which is quite young though.

comment 11y ago · link · parent

Is there finally a way to renew the certificate without taking down the web server listening on :443? This was the major thing missing from being able to deploy it in production.

comment 11y ago · link · parent

Cmus does cache all the metadata — in the file named, unsurprisingly, «cache». You can restart cmus, and notice that the startup will be instant (even on an HDD with 100+GiB of music).

Re-adding the ~/music should work fine. There is also an `:update-cache` command which will update the metadata for all (changed) files, and remove the missing ones.

comment 11y ago · link · parent

Please give the latest version a try. I am not aware of any segfaults that have not been fixed upstream. Debian packages a really ancient version of cmus for some reason.

comment 11y ago · link · parent

About «backgrounding» — please see https://github.com/cmus/cmus/wiki/detachable-cmus .

Carbon components warning is because cmus currently uses libao for the sound output on OS X by default. If somebody will contribute a native OS X output plugin, it will be gone.

comment 11y ago · link · parent

Oh wow, did not expect this here! I am the current maintainer (not the original author) of cmus, and can answer some questions, if they'll come up.

11.

Pied Piper, new lossless H.264 and JPEG compression algorithm by Dropbox(fastcompany.com ↗)

9 points · by flyingmutant · 11y ago · discuss

comment 11y ago · link · parent

There is an ES6 label for tracking these issues: https://github.com/Microsoft/TypeScript/labels/ES6

comment 13y ago · link · parent

While that undoubtedly sounds very impressive, IMO tests should not be what you use to ensure that your software is correct — in my opinion, they can be actively a bit harmful by giving you a wrong impression of correctness.

Just take a look at https://www.sqlite.org/changes.html — after the recent 3.8.0, there were 2 bug fix releases separated by 3-4 days (!), with bug descriptions sounding relatively, hmm, trivial, should I say?

I use SQLite, and consider it a great software; just want to make a point about my own dislike of over-reliance testing. Hight-level languages and strong (automatically) provable invariants should be our basis for writing reliable software, not C with a ton of tests.

comment 13y ago · link · parent

Since people are mentioning various other HN interfaces they use, I'd highly recommend to check out Georgify — https://chrome.google.com/webstore/detail/georgify/ofjfdfale...