Author Archives: Stephan Sokolow

Rust: Looping on a member variable without mutably borrowing self

The Story Late last night, I stumbled upon a rather clever hack in one of my Rust projects. I’d been working on an iterator which implements grapheme-aware CamelCase word-splitting when…The Story Late last night, I stumbled upon a rather clever … Continue reading

Posted in Geek Stuff | Leave a comment

Recommended Battlestar Galactica “Earth-contact” fics

I’ve always enjoyed first-contact fics, because they’re a good way to stir up groups of people and see how they react. No plan survives contact with the enemy and no…I’ve always enjoyed first-contact fics, because they’re a good way to … Continue reading

Posted in Fanfiction | Leave a comment

Tidying up Amazon wishlist printouts

Whenever I visit the used games store, I like to bring a printout of my Amazon.ca wishlist, since it’s easier to work with than a tiny screen. However, Amazon, for…Whenever I visit the used games store, I like to bring … Continue reading

Posted in Geek Stuff | Tagged | Leave a comment

Sci-fi and Fantasy: Why They Differ and Why You’d Blend Them

I’ve been wanting to post more regularly, so I decided share some of the insights for the book on plotting out stories that’s been on my TODO list for a…I’ve been wanting to post more regularly, so I decided share … Continue reading

Posted in Writing | Leave a comment

Splitting CamelCase without Regex lookahead/lookbehind

I’ve been working to port the brains of my game launcher experiment from Python to Rust for easier refactoring and to eventually offer language bindings other than Python itself and,…I’ve been working to port the brains of my game launcher … Continue reading

Posted in Geek Stuff | Leave a comment

Getting Your Cheap Chinese USB Foot Pedal Doing Useful Things on Linux

Well, I have a Chinese USB foot pedal that I picked up on eBay for $11 CA to play around with but, for ages, it’s been worth bupkiss because it’s…Well, I have a Chinese USB foot pedal that I picked … Continue reading

Posted in Geek Stuff | 1 Comment

Home-made tamper-evident security seals for kids and adults alike

Suppose you need to keep siblings, roommates, children, or even friends with wandering hands out of something, but you can’t use a lock. Maybe you’re worried they’ll find the key,…Suppose you need to keep siblings, roommates, children, or even friends … Continue reading

Posted in Geek Stuff | Leave a comment