News for hackers. Stuff that matters.
Re:On Counting (2017) by dswalter on Thursday May 24, 2018 @08:54AM (#17143462)
Re:On Counting (2017) by repsilat on Thursday May 24, 2018 @09:01AM (#17143514)
It's possible with hash tables too...

Also, the Unix approach can do something like this by spitting out days at a time and sorting them, and then doing a

    sort -m "$month/*" | uniq -c
on the individual files.

`sort -m` takes basically no memory, and should chew through data fast enough.

Re:On Counting (2017) by amelius on Thursday May 24, 2018 @09:00AM (#17143509)
Are you pulling that joke every time someone asks something you think you know the answer to? It's kind of contradictory.
Re:On Counting (2017) by dswalter on Thursday May 24, 2018 @09:09AM (#17143581)
I've edited my response, but I think you misunderstand the comic.
Re:On Counting (2017) by reificator on Thursday May 24, 2018 @12:20PM (#17145528)
Was it the XKCD Ten Thousand comic?
Re:On Counting (2017) by dswalter on Thursday May 24, 2018 @12:30PM (#17145647)
Indeed.