Elektrine lite

← Feed

lofty!

lofty@furry.engineer

Posts

  • View post

    I love writing userstyles to remove allllll of the annoying bright shiny and moving things from websites like twitch, where they try and get me to give amazon money

  • View post

    fun #userstyle tip! a class is just another attribute, so if you're trying to get rid of something that has a name that you might not be able to depend on, you can use the "contains" attribute selector to remove that item without being tied to the name! [class*="buyNow"] { display: none; } is so nice

  • View post

    why isn't there a cargo command to list all of the examples that can be run without including a certain dependency? trying to merge some miri tests into CI and banging my head against a wall #rust

  • View post

    just went peeking in my browser preferences to try and turn off javascript on a per-site basis. didn't work out how yet, got too distracted by the apparent 10 exabytes of data that is apparently being used by my cookies

  • View post

    "get miri working on the embedded system" she said "you can just patch out all of the external FFI methods and reimplement them in Rust" she said "how hard can it be" she said. std::sync and std::thread: lol, lmao.

  • View post

    ooof lifetimes in #rust are Fun. finally managed to solve an issue caused by Box's implicit lifetime, and I've now got three lifetimes being used in one method, yayy

  • View post

    How would you recommend going about opening a PR on an open source codebase, for 5 months or so work reviving a stale PR, continuing the work, and adding a whole new testing side to allow for running MIRI on some C bindings? bcs I kinda just hit go on the dang thing

  • View post

    hey rust compiler?? error[E0053]: method `handle_event` has an incompatible type for trait --> src/main.rs:86:57 | 86 | fn handle_event<'a, 'b>(&'a mut self, event_packet: bt_hci::event::EventPacket<'b>) -> EventBubbling { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bt_hci::event::EventPacket<'b>`, found `EventPacket<'_>` |...