hannah: (Interns at Meredith's - gosh_darn_icons)
hannah ([personal profile] hannah) wrote2025-09-03 11:05 pm

Tempting suggestions.

It's now been suggested to me that, like job applications, I cast a much wider net in terms of sending out novel queries and pitches. The logic's fairly sound, and I can't recall if there's any specific advice or industry information I've gotten to have me disregard it out of hand. I've heard that it's good to tailor queries to specific agents, but in terms of not sending out plenty of queries, I'm drawing a blank. So maybe there's something to it. To doing something, at least.

In the absence of going anywhere, whether to gigs or the movies or out with friends, it's as good a use of my time as any I can think of.
hannah: (Zach and Claire - pickle_icons)
hannah ([personal profile] hannah) wrote2025-09-01 08:56 pm

September the First.

Three weeks to the day of Rosh Hashanah is an auspicious way to start a month. The season as a whole, really. It's not summer right now, no matter what produce I can find in the markets - it hasn't been for a while now, I just haven't admitted it yet. This year it ended for me on the 18th, waking up the morning after a big gullywasher cleaned out the last of the lingering humidity and giving me two weeks of the kind of days that wind up in movies and on postcards. And now it's September, with fall officially beginning.

Yes, that was the day after the Tom Cruise retrospective wrapped.

I've still got some cherries and rhubarb and plums in my fridge, and a quarter of a honeydew melon. The melon and cherries won't last much longer. But I'm not cooking with pumpkin until October, if I can help it.
hannah: (Friday Night Lights - pickle_icons)
hannah ([personal profile] hannah) wrote2025-08-31 08:56 pm

Beneath the sun.

Picking up a new fandom used to mean picking up a new icon. It turns out I already had one. I'd thought it was nice looking and atmospheric with no knowledge whatsoever about the character in it, and to no one's surprise, I managed to pick out my favorite without even trying.

Going from MASH to Top Gun to Friday Night Lights is something where I could easily pull out a through-line beyond that it's a trio of ensemble casts working within and against the rigid structures they're living in, whether or not it's by choice. Something about maintaining a sense of self and self-worth both externally and internally, but I'm only about halfway through the first season. I know that it ends well, but not how it ends, or how it gets there, and I'm enjoying the process quite a bit.

There's no word for the feeling of watching something and being hit with the thought, "So that's where that icon comes from!" Sometimes it's reading and getting to a quote, sometimes it's a fraction of a moment caught up in a 100x100 square. But since the experience isn't unique, simply highly specific, I might a well just call it "fandom."
jazzfish: Jazz Fish: beret, sunglasses, saxophone (Default)
Tucker McKinnon ([personal profile] jazzfish) wrote2025-08-30 10:15 am
Entry tags:

france travelogue II: traveling

versailles, driving, prehistoric art )

Next: Gorges du Tarn, the Camargue, Marseille.
jazzfish: artist painting a bird, looking at an egg for reference (Clairvoyance)
Tucker McKinnon ([personal profile] jazzfish) wrote2025-08-30 07:53 am
Entry tags:

i accidentally a sonnet

COMMENTER 1: I'll predict that when he's dead and buried, the ground will be quite damp.
COMMENTER 2: And have a certain Musk also, too? One can but hope.

Look, if you're gonna leave me an opening iambic pentameter line the morning after I've been rereading Mike Ford, I'm gonna take it.

Well, I'll predict that when he's dead and buried,
The ground above his corpse will be quite damp
And have a certain Musk of odor, carried
To grace our noses with that acrid stamp.
Upon gold highlights golden showers splash,
Reflecting further graveyard elegies.
Veneer peels back; someone has saved some cash
With accents from Home Depot shopping sprees.
His plastic headstone rapidly decays,
Collapsing into softened earth, until,
Weaken'd by overzealous acid sprays,
It's indistinguishable from landfill.
    So shall that asshole lie; then we'll begin
    To scrub the mess he's left our country in.

Not bad for under an hour's work.
graydon2: (Default)
graydon2 ([personal profile] graydon2) wrote2025-08-29 12:02 pm
Entry tags:

snuffle / salsa / chacha

This is a small note about a delightful function. Not cryptography advice or serious commentary. Just amusement.

A couple years back I had occasion to read in slightly more detail than I had before about the state of the art in cryptographically secure PRNGs (CSPRNGs). These are PRNGs we trust to have additional properties beyond the speed and randomness requirements of normal ones -- inability for an attacker to reveal internal state, mainly, so you can use them to generate secrets.

If you look, you'll find a lot of people recommending something based on one of Dan Bernstein's algorithms: Salsa20 or ChaCha (or even more obscurely "Snuffle"). All the algorithms we're discussing here are very similar in design, and vary only in minor details of interest only to cryptographers.

If you follow that link though, you'll notice it's a description of a (symmetric) stream cipher. Not a CSPRNG at all!

But that's ok! Because it turns out that people have long known an interesting trick -- actually more of a construction device? -- which is that a CSPRNG "is" a stream cipher. Or rather, if you hold it the other way, you might even say a stream cipher "is" just a CSPRNG. Many stream ciphers are built by deriving an unpredictable "key stream" off the key material and then just XOR'ing it with the plaintext. So long as the "key stream" is unpredictable / has unrecoverable state, this is sufficient; but it's the same condition we want out of the stream of numbers coming out of a CSPRNG, just with "seed" standing in for "key". They're fundamentally the same object.

I knew all this before, so people naming a CSPRNG and a stream cipher the same did not come as any surprise to me. But I went and looked a little further into ChaCha in particular (and its ancestor Salsa and, earlier still, Snuffle) because they have one additional cool and weird property.

They are seekable.

This means that you can, with O(1) effort, "reposition" the Snuffle/Salsa/ChaCha "key stream" / CSPRNG number stream to anywhere in its future. You want the pseudorandom bytes for block 20,000,000? No problem, just "set the position" to 20,000,000 and it will output those bytes. This is not how all CSPRNGs or stream ciphers work. But some do. ChaCha does! Which is very nice. It makes it useful for all sorts of stuff, especially things like partially decrypting randomly-read single blocks in the middle of large files.

I got to wondering about this, so I went back and read through design docs on it, and I discovered something surprising (to me): it's not just a floor wax and dessert topping CSPRNG and stream cipher. ChaCha is also a cryptographic hash function (CHF)! Because a CHF is also something you can build a CSPRNG out of, and therefore also build a stream cipher out of. They're all the same object.

How does the construction work? Embarassingly easily. You put the key material and a counter (and enough fixed nonzero bits to make the CHF happy) in an array and hash it. That's it. The hash output is your block of data. For the next block, you increment the counter and hash again. Want block 20,000,000? Set the counter to 20,000,000. The CHF's one-way-function-ness implies the non-recoverability of the key material and its mixing properties ensure that bumping the counter is enough to flip lots of bits. The end.

Amazing!

But then I got curious and dug a bit into the origins of ChaCha and .. stumbled on something hilarious. In the earliest design doc I could find (Salsa20 Design which still refers to it as "Snuffle 2005") the introduction starts with this:

Fifteen years ago, the United States government was trying to stop publication
of new cryptographic ideas—but it had made an exception for cryptographic
hash functions, such as Ralph Merkle’s new Snefru.

This struck me as silly. I introduced Snuffle to point out that one can easily
use a strong cryptographic hash function to efficiently encrypt data.
Snuffle 2005, formally designated the “Salsa20 encryption function,” is the
latest expression of my thoughts along these lines. It uses a strong cryptographic
hash function, namely the “Salsa20 hash function,” to efficiently encrypt data.

This approach raises two obvious questions. First, why did I choose this
particular hash function? Second, now that the United States government seems
to have abandoned its asinine policies, why am I continuing to use a hash function
to encrypt data?


In other words: the cool seekability wasn't a design goal. Shuffle/Salsa/ChaCha was intended as a tangible demonstration of a political argument that it's stupid to regulate one of the 3 objects (CHF, CSPRNG and stream cipher) since you can build them all out of the CHF. (And, I guess, "obviously you should be allowed to export CHFs" though I wouldn't bet on anything being obvious to the people who make such decisions).

And then I googled more and realized that when I was a teenager I had completely missed all the drama / failed to connect the dots. Snuffle was the subject of Bernstein v. United States, the case that overturned US export restrictions on cryptography altogether! And as this page points out "the subject of the case, Snuffle, was itself an attempt to bypass the regulations".

Anyway, I thought this was both wonderful and funny: both the CHF-to-CSPRNG construction (which I'd never understood/seen before), but also the fact that Snuffle/Salsa/ChaCha is like the ultimate case of winning big in cryptography. Not only does ChaCha now transport like 99%[EDIT "double-digit percentages"] of the world's internet traffic (it's become the standard we all use because it's fast and secure) but that it was pivotal in the evolution of the legal landscape and all arises from a sort of neener-neener assessment that the law at the time was internally inconsistent / contained a loophole for CHFs that made the whole thing "asinine".
jazzfish: an open bottle of ether, and George conked out (Ether George)
Tucker McKinnon ([personal profile] jazzfish) wrote2025-08-28 09:24 am
Entry tags:

home from the sea

Got in last night around quarter of ten, to a very affectionate cat. He's currently curled up on the heating-pad mat next to the laptop, where he's been for most of the last couple of hours. I think he may have missed me.

This is admittedly the most jetlag I've ever tried to recover from, but I am just not getting it. Been crashing out early and waking up after five or sometimes six hours' sleep. I made it home last night due to copious applications of caffeine and sugar, and still woke up at four AM. Hopefully being Actually Home will suffice to reset my system.

In Pattern Recognition, William Gibson talks about jetlag as a result of traveling faster than humans were meant to travel, so your soul needs time to catch back up to your body. As a description of the sensation it's about right.

Today: shower, unpack, get groceries (ordered, just need to pick up once ready), therapy, farmers market. Probably watch the last two episodes of season 3 of Slow Horses, since I watched S1 on the plane to Paris, S2 on the plane from Paris, and the first four of S3 on the plane from Mpls. Possibly rave about how great that show is. Ideally write up the next stage of the travelogue, but I'm not pushing it.

Meant to link these yesterday but forgot, so, have some Wendy Cope:
Onward.
hannah: (Stargate Atlantis - zaneetas)
hannah ([personal profile] hannah) wrote2025-08-27 10:31 pm

Fidelity.

For no reason I'm capable of understanding, starting sometime yesterday, my iPhone and iPad stopped connecting to my home wifi. The network was there, the devices acknowledged it, and my desktop was always able to tap into it through the relevant connecting device. The desktop's too old to have inbuilt wifi capabilities, but the iPhone and iPad were new enough they've got it, except it wasn't in them. They kept saying the password was wrong. I checked on the wifi router provided by the phone and internet company and typed it in, several times, and neither device acknowledged it as correct. I tried the trick of having the devices forget about the network before trying to reconnect, and it didn't work.

Resetting the route managed it, somehow. I'd be better able to understand what happened if the desktop also didn't get it for a while, but it did, so I have to wonder where things got messed up. Because there was a problem that got fixed, and it wasn't a problem for everything.
jazzfish: Jazz Fish: beret, sunglasses, saxophone (Default)
Tucker McKinnon ([personal profile] jazzfish) wrote2025-08-27 04:26 pm
Entry tags:

france travelogue I: Paris

intro; catacombs, louvre, sainte-chappelle, shakes & co )

Next time: Versailles, an awful lot of driving, Cap Blanc and Lascaux.
hannah: (Friday Night Lights - pickle_icons)
hannah ([personal profile] hannah) wrote2025-08-26 09:48 pm

Media collecting.

Reminding myself I want what's on the objects more than I want the objects themselves, I'm in the process of ripping my Fringe complete series box set so I can get around to watching it. I did the same for Friday Night Lights already, and I'm trying to tell myself I shouldn't keep the sets around even if I fall in love with the shows. It was great I was able to snag them so affordably. And I don't need them.

If there were still in-person fandom conventions, I'd bring them to a swap table or offer them up for a raffle, but we don't have such things anymore - at least not anywhere it's practical for me to travel to right now. It's a shame, because that kind of swap table mentality is one of the best for getting rid of stuff. How it's going to be picked up and taken home, and you don't have to believe anything else.
jazzfish: an open bottle of ether, and George conked out (Ether George)
Tucker McKinnon ([personal profile] jazzfish) wrote2025-08-26 10:07 am

back, ish

I am back from France, mostly. Returned to Minneapolis Sunday, returning to Vancouver tomorrow. I remain mostly, though not entirely, exhausted and Wrung Out.

It was a complicated trip and I can't sum it up as "good" or "not good". Some of it was very good, some of it was less good, nearly all of it was stressful in different ways. On the whole I'm glad I went.

Extended travelogue later. Catching up on two weeks of internet now.
peatweaver: (Default)
peatweaver ([personal profile] peatweaver) wrote2025-08-24 07:19 pm

softly snaking lights

nanenok never felt like home: all flat forest with too many deciduous trees, not enough peat or lichen. it must get tiring for others, to hear me endlessly chatter about flowers and slopes. still, i’ll never stop. being a busier site, i spent so much time up in the steel tower that i wasn’t able to bridge the gap. i became a halfling thing, more connected to the sky, the wind, rather than the plants or earth. i learned to be more airy than my original inclination. but that, too, was fateful and necessary. so i’m very grateful to how this was my summer home for the past two years. last summer, i constantly missed my old mountain and its taiga. this summer, i have been looking forward into an unknown future. so while i have so often been stuck in my thoughts here, it has been a place where i could reflect on my past and dream my next steps. i made some of the most important, solitary decisions of my life here (usually, what to shed or leave behind). i won’t miss how smoky the air gets, or the frequent evacuation chaos. it was such a challenging site for me… but the bears sometimes kept me company. the calls of loons & owls were a comfort. northern lights dance in the sky most nights. the fox with glistened fur had a special game he played with me. i reconnected to my nimnasulk during my first summer here, in a new way i hadn’t ever before. my circling of this place has seen its conclusion. this wasn’t my home, but it held me through my nights of tossing , turning, so preciously. thank you, nanenok, goodbye. i won’t look around for such big fires anymore. i hope i will only tend little fires that keep the animals warm & well-fed.

hannah: (Breadmaking - fooish_icons)
hannah ([personal profile] hannah) wrote2025-08-22 10:30 pm

Sweet science.

I used the last of the season's rhubarb to make my sister in law G. a tart birthday cake. I didn't try any, because she didn't want to slice it, but based on the batter and the sound of the crust when I tapped it, it came out the way I'd hoped. Not too sweet, with a bit of pucker you don't often find in cakes. If I make it again, I'll keep it at just one cup of sugar and use more rhubarb. Also, seeing about a lemon juice glaze to give it one last punch-up.

My dad's book group isn't meeting this coming Wednesday. However, I've still been tasked to bake for my parents' roof party in a few weeks, and I've decided on mocha and parsley for an extreme contrast. While I said I'd be happy to do this, I was told by one of my parents' friends that I was more or less tasked to make three cakes: two for the party, one for him. I'm thinking something with plums. Or possibly carrots. I'll see where the market takes me.