hehehe
=> More informations about this toot | View the thread
Spent 45 mins earlier today writing a new (ish) implementation of a scope guard impl:
https://docs.rs/mini-scopeguard
This feels like something that should exist in the stdlib, and I think I might submit this for inclusion as core::drop::Guard
(or some variation on that name).
=> More informations about this toot | View the thread
For people wondering which one: I got the Instax Mini Link 3.
Seemed like a reasonable middle-ground between: reliable, reasonably priced, photo cartridges seem broadly available, and I refuse to give Canon, Epson and most other big-brand printer manufacturers my money.
=> More informations about this toot | View the thread
I’ve been using a bullet journal for four years now, and just added what I think is the most fun addition in those four years:
A pocket photo printer!
It’s so fun and cute to add little Polaroids on pages. Makes it so much more memorable, and a lot more fun to go back and see what I was up to at that time ^___^
=> More informations about this toot | View the thread
OH: “soft power is the ability to persuade, hard power is the ability to coerce.”
=> More informations about this toot | View the thread
Surely this is not a unique insight, right? I don’t think I’ve seen it before, but unless I’m missing something (which, to be fair, is entirely possible) this seems like… a pretty obvious mapping?
=> More informations about this toot | View the thread
Yeah wait, and so if we could re-think of the last statement in a for-expression as being an implied continue
.
By default hard-coded to ()
today. But for coroutines that could be loosened to allow for arbitrary types. So you could write something like the following to send values back into the underlying coroutine:
=> More informations about this toot | View the thread
Wait, so if for..in
is the “consume” part of the iteration effect, I think break
maps to a logical return, and continue
maps to the next iteration.
I’ve seen people talk about “break with value” before - e.g. the loop exiting with a value. But I don’t think I’ve seen people talk about “continue with value before”.
The latter seems like it would rather neatly map to coroutines, wouldn’t it? E.g. continue 12u32;
to resume the coroutine with a u32 could work?
=> More informations about this toot | View the thread
OH: “Any machine can be a smoke machine if you use it wrong enough”
=> More informations about this toot | View the thread
Above all else though: it feels kind of pathetic?
I don’t know man.
=> More informations about this toot | View the thread
Can’t say I’m particularly thrilled about the whole Elon Musk sieg heil shit.
On the one hand: it’s just more of the same fascist shit, which is to be expected. On the other hand: not particularly thrilled by the prospect that these losers feel emboldened to go full mask off. It’s hard to think of a stage more public and symbolism more overt than this.
=> More informations about this toot | View the thread
Ohhh, my soldering iron was just shipped! I'm excited to start assembling a little hardware station station ^^
Not sure what will be next. I probably want some sort of heat gun to apply shrink tubes, etc. Going to be starting this verrrry slowly ^^
=> More informations about this toot | View the thread
And here is the related crate which implements this design: https://docs.rs/iterate-trait/latest/iterate_trait
=> More informations about this toot | View the thread
New blog post: musings on iterator trait names
https://blog.yoshuawuyts.com/musings-on-iterator-trait-names
This post is a summary from a Mastodon thread from a while ago, talking about verbs, nouns, and trait names in Rust.
=> More informations about this toot | View the thread
Ohh, this looks neat! “Program logics a la Carte” - POPL-accepted paper from Ralf Jung’s group at Eth Zurich
https://plf.inf.ethz.ch/research/popl25-itree-program-logic.html
=> More informations about this toot | View the thread
Oh my god, someone built it! There’s now an app which can record CO2 readings from e.g. Aranet devices and upload them to an OSM-compatible database!
https://indoorco2map.com/about.html
I’m so excited about this! I might start doing measurements across Copenhagen ^^
=> More informations about this toot | View the thread
Thinking of making ginger ale tomorrow!
=> More informations about this toot | View the thread
Phase I of this weekend’s project complete: migrated our hallway server rack from a 5u rack to a new 8u rack.
That took about four hours to complete. But the result was worth it. Everything is a lot tidier now, with all cables now neatly labeled and a lot of extra junk removed.
=> View attached media | View attached media
=> More informations about this toot | View the thread
As someone who is setting up their third server rack at home this weekend: yeah that 10” rack project looks cool. Wouldn’t work for what I’m doing right now, but I could see myself trying to create a 10” kit for a portable hardware station or something.
As to why we’re getting a third server rack at home? Well, we have one for our network gear, a second for our entertainment center, and I’m going to setup a third now in my partner’s office to manage all of their equipment.
=> More informations about this toot | View the thread
Investing in nuclear today seems like such a bad idea. The sheer cost of building the plants, the expertise required to plan, design, and operate it. The sheer risk it poses to our shared habitat. Why?
Like, for sure: solar takes more space and typically requires batteries and secondary sources. But at 18% the base cost, that leaves 82% of the budget to spend on those resiliencies before you break even.
=> More informations about this toot | View the thread
=> This profile with reblog | Go to yosh@toot.yosh.is account This content has been proxied by September (ba2dc).Proxy Information
text/gemini