A major Dutch news broadcaster moved their online videos to a DRM'ed platform. Now I can't even watch the news anymore. :blobshrug:

It's embarrassing how often I type 'make' in the psql shell.

That moment when you're about to implement the final element of a feature and you realize the data model doesn't support it.

Lonely's backups were broken for a week because cron didn't work.

Note to self: Restart cronie when PAM is updated.

Elm: "You can't have more than 3 elements in a tuple, please create a record type."

Me: *Nests tuples inside tuples*

I'm an adult now, please let me make bad decisions.

Analysis paralysis 

Not entirely sure why I went with a CAS design for ChiFS Share metadata. Replacing hashes with simple identifiers would work just as well.

Pros:
- Identifiers are namespaced to a single Share, so they can be much shorter. 4byte ints vs. 32byte hashes is pretty significant.
- Hash-agnostic, no need to come up with contingency plans for possible future hash function breakage.

Cons:
- Shorter identifiers may be subject to enumeration attacks (not very relevant for ChiFS at the moment, there's no private metadata).
- No opportunity for incidental deduplication of metadata between Shares (I don't expect exact duplicates of metadata to be common, but Share mirroring might be a thing).
- Non-hash identifiers can't be used to validate content (not sure integrity checks are even useful on this metadata).

Ayo boosted

I write most of my Elm code by means of copy-paste-modify. :blobcatnotlikethis:

Turns out that AnyEvent was leaking a reference to its internal state through $_ and my attempt to read a line from a file would overwrite that variable instead of creating a newly scoped $_.

Mystery solved.
Global variables, not even once.

Show thread

I feel like I'm debugging quantum entanglement in my code. A string I'm reading from a file in one part of the code ended up in the *internal state* of the event loop.

...that's not supposed to happen.

- Need more disk space.
- No room for more HDDs.
- HDDs have been up 6+ years.

Important life decisions. :blobcatsweats:

Mixed feelings about the Perl 7 announcement. I'm all for the version bump to leave the Perl 6 thing behind us and to signal that Perl is still somewhat alive.

I'm much less enthousiastic about changing language defaults. I'd take a "use v7;" over having to manually patch scripts depending on whatever version happens to be installed or, worse, having multiple versions installed and remembering how each script needs to be invoked.

The breaking changes appear to be minor though, so hopefully it won't affect much either way.

That misplaced disappointment when you write a script to test database integrity and it doesn't find any problems.

Waking up to a spam campaign on VNDB that has been going on for several hours. :cry_konata:

Show more
lonely.town

A lonely little town in the wider world of the fediverse.