Collecting my attempts to improve at tech, art, and life

2019-10-12

Tags: twitter hackers-town read

Does any of this enlighten, entertain, or otherwise please you? Please consider a Tip. Every little bit helps!

I last updated this page

A good day for books

cover-a-good-day-for-books.jpg

Decided I wanted a copy of “Learning Perl 6” before it becomes “Learning Raku”. I give my bookshelf room for nostalgia.

And of course I needed a physical copy of the 20th Anniversary Pragmatic Programmer.

ℹ️ Note

First draft of this note included the phrase “internecine conflict” but I figured “Raku” was enough vocabulary building for one day.

Activity Log

Twitter: 2019-10-12 Sat 08:58

love the introvert buddy system

https://twitter.com/SarahCAndersen/status/1183027352672047104

hackers.town: 2019-10-12 Sat 09:01

oh hey cool I knocked about six and a half minutes off by putting all the database stuff in one transaction. A 71,136 row transaction.

hackers.town: 2019-10-12 Sat 09:16

@pnathan ooh I’ll see if crc32 helps! That’s still by far the biggest chunk of CPU time.

“Single-file database” is a self-imposed (and admittedly arbitrary) constraint. Was also pondering bbolt, though I’d need to write my own query functions. Probably won’t worry, since the db stuff is around a minute now.

hackers.town: 2019-10-12 Sat 09:19

@pnathan the initial goal was “find and examine duplicate files for hard drive housecleaning.”

Seeing how much I can speed up the initial indexing has been the fun learning opportunity.

hackers.town: 2019-10-12 Sat 10:22

@jankoekepan @pnathan Ooh! That’s a fair point. I don’t need checksums to identify duplicates when I have quicker metadata. Checksums can come in after indexing, comparing files we think might be dupes based on the cheap metadata.

hackers.town: 2019-10-12 Sat 10:27

@jankoekepan @pnathan I’ve been a bit of a squirrel about backups over the last couple decades (you only need to get burned once). Sometimes I was organized about it, sometimes not.

I’m wanting to gather enough info that I can shift closer to “organized” rather than just finding dupes and deleting everything after the first in the db.

hackers.town: 2019-10-12 Sat 10:30

@pnathan @jankoekepan plus, this helps with the bitrot problem: files that should be dupes but aren’t anymore. I’ve noticed the issue w/music files, but was pondering what I could index to simplify identifying those.

hackers.town: 2019-10-12 Sat 10:38

@pnathan @jankoekepan Not just faving that one, but bookmarking it. The maintenance stage will be important.

Though less of a priority than initial setup, thanks to my “oh it’s Thursday, time to try a new distro / Win 10 Fast Ring / do all my crap on this other machine instead” habit.

hackers.town: 2019-10-12 Sat 11:31

Ah, a special moment.

Go on WSL2 getting Windows OneDrive to download files so it can crawl a symlink.

I am my own security vulnerability.

hackers.town: 2019-10-12 Sat 14:40

Started a thing while waiting on another thing but now I have to wait until the other thing comes back ‘round on the brain priority queue.

(gotta finish Y before I can get back to X)

Twitter: 2019-10-12 Sat 14:53

Thoughts, hopes, and plans, regarding the now-certain “Perl 6” -> “Raku” name change.

https://twitter.com/andrewshitov/status/1182935615404412933

hackers.town: 2019-10-12 Sat 15:16

The fact that your flip-flops are made out of wood does not make them better.

It makes them flip-clops.