News for hackers. Stuff that matters.

flyingmutant

Re:Evolving the Go Standard Library with math/rand/v2 on Thursday May 02, 2024 @03:06AM (#40233486)
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
Re:A New Coefficient of Correlation on Sunday December 26, 2021 @01:10PM (#29694781)
This issue contains simple code that is claimed to be >300x faster: https://github.com/czbiohub/xicor/issues/17
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.
Re:Announcing TypeScript 1.7 on Tuesday December 01, 2015 @04:06AM (#10654283)
There is http://rollupjs.org/, which is quite young though.
Re:Public Beta: December 3, 2015 on Thursday November 12, 2015 @12:14PM (#10554466)
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.
Re:Cmus – A Small Terminal Music Player on Thursday October 22, 2015 @10:01AM (#10432253)
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.

Re:Cmus – A Small Terminal Music Player on Thursday October 22, 2015 @05:24AM (#10431242)
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.
Re:Cmus – A Small Terminal Music Player on Thursday October 22, 2015 @04:46AM (#10431105)
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.

Re:Cmus – A Small Terminal Music Player on Thursday October 22, 2015 @04:31AM (#10431055)
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.
Re:Deploying ECMAScript 6 on Tuesday April 21, 2015 @10:51AM (#9414398)
There is an ES6 label for tracking these issues: https://github.com/Microsoft/TypeScript/labels/ES6
Re:How SQLite is tested on Thursday November 28, 2013 @12:52PM (#6815638)
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.

Re:An unofficial alternative to the HN interface on Friday October 25, 2013 @02:04PM (#6613365)
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...