Pinned post

Hey friendos! Ottawa Processing Day 2019 is over, which means my talk is done, which means I can experience joy again instead of just anxiety about giving my talk.

@tildetown got called out heavily, and especially @curio (for botany).

Please find attached this image of the Tilde Town Time Service that ran back in November 2017.

It's really more of an artists rendition - as it was created post-facto - but I actually built a working speaker amplifier on breadboard for authenticity reasons.

Leather 

Made this leather sheath for my railway spike multi-tool (it's a bad hammer, a bad pry bar and a bad bottle opener).

Having a camera phone is such a boon when working on electronics. I was shortening the USB lead on this mouse and took a photo to remind me what order the wires were in.

Then I dropped the mouse off the table and bits of rotary encoder and spring came loose and I had no idea how they should go back.

Good thing I _just_ took a photo and was able to piece it all back together!

Getting back into the habit of writing small utilities for myself -- rather than relearn the syntax for thinkfan I wrote my own fan controller for my current main Linux laptop -- a Thinkpad X131e

github.com/insom/tinyfan/blob/

Now I can build it for my preference (fan at max to cool the machine down, and then off the rest of the time) and I can enjoy a little C practice while I do it.

Lunchtime project: github.com/insom/http/ statically linked "web server" in C++ under 700KiB running on Cloud Run. I'm using almost no C++ features so this could probably be even smaller if it was plain C.

I used GitHub's container registry but it looks like Cloud Run wants to deploy from their Google Container Registry (of course). Oh, well.

This was meant to be a reply to @m455 but I have forgotten how to Mastodon. Sorry. Also funny that you mention it looks like Java because Java's `Map<String,Integer>` syntax is borrowed from C++ and implemented totally differently, but I also used it first in Java so I know what you mean. It's familiar but different.

Show thread

I might go to hell for comparing C++ templates to Lisp macros, but the line `class sorter : binary_function<product,product,bool> {` is basically mapping `first_argument_type` and `second_argument_type` to `product`, and the result_type to `bool`. So it returns a boolean, depending on if the first parameter's second part is bigger than the second parameter's second part.

`pair<string,int> = make_pair("hi", 10)` is just like a `("hi" . 10)` in Scheme.

So I followed this tutorial on how to write a text editor in C:

viewsourcecode.org/snaptoken/k

I called mine Ceditor and the little endorphin kick I got when it compiles was waaaay more satisfying than moving images and text around a website using CSS + JS.

So I'm learning C instead. Via books. Because it makes me feel good doing this. And I'm old and books are good.

I'm also going to be using my editor to write C as well. Something something dogfooding something something #smalltech

Been an absentee admin and just caught up with the local timeline and luckily nothing at all happened that I should have taken action on. Phew. Good job everyone!

Told my kids that Cake were early investors in Google and that’s why YouTube Music recommends their back catalogue so much. Diversifying away from weed and brass instruments. In a world where Mark Wahlberg owns car dealerships in Columbus, Ohio, this is totally feasible.

Had a pleasant weekend of making things and maintaining equipment. One of the things I did was fill the bottom of my mechanical keyboard's case with silicone for additional thonk. This meant losing the battery and going back to USB instead of Bluetooth.

Wow. I wasn't aware how much that tiny latency (BT) was making my computer less pleasant to use. I've gone back to a wired mouse, too. There's a lot of things that contribute to modern comps feeling slow, but this seems like one of them, for me.

@selfsame had to check more than once that this wasn't your post. it's so exquisitely on brand for you. twitter.com/daisyowl/status/14

Every time there are fireworks my beagle makes for the nearest bed and pees. We’re not even in America so whyyyy are there fireworks tonight?

broke thru my burnout on the mud and refactored the crap out of the scripting language and database layer... i want to switch from flat files to sqlite and it turns out that all my preemptive abstraction guesses were wrong

but now the script language can do list expressions like

```
for @p in @here.players where @p.is_wizard do tell @p "Something strange is happening for wizards.";
```

Show older
Tiny Tilde Website

ttw is the unofficial Mastodon instance of tilde.town. We're only smol, but we're friendly. Please don't be a dick.