Elektrine lite

← Feed

Andy Balaam

andybalaam@mastodon.social

<p>Makes coding videos, podcasts, free software. <a href="https://mastodon.social/tags/fedi22" class="mention hashtag" rel="tag">#<span>fedi22</span></a> <a href="https://mastodon.social/tags/rustlang" class="mention hashtag" rel="tag">#<span>rustlang</span></a> <a href="https://mastodon.social/tags/coding" class="mention hashtag" rel="tag">#<span>coding</span></a> <a href="https://mastodon.social/tags/gamedev" class="mention hashtag" rel="tag">#<span>gamedev</span></a> <a href="https://mastodon.social/tags/videos" class="mention hashtag" rel="tag">#<span>videos</span></a></p>

Posts

  • View post

    Going to #MatrixConf ? You might like my attempt at no-encryption-knowledge-required explanation of how we keep your messages safe from prying eyes! @matrix@mastodon.matrix.org

  • View post

    LLMs produce plausible noise https://artificialworlds.net/blog/2026/07/22/llms-produce-plausible-noise/ In which I attempt to understand modern things in terms of my ancient PhD.

  • View post

    Protecting our FLOSS commons from LLMs https://blog.codeberg.org/protecting-our-floss-commons-from-llms.html

  • View post

    I just moved another project from github to codeberg.

  • View post

    Did you catch my video on unsafe in Rust? The unsafe keyword has two completely different meanings in Rust code. https://video.infosec.exchange/w/5uZxNvLr219pepwcPDbL6X #rustlang #video #programming

  • View post

    I just put my money where my mouth is and signed up to donate regularly to Codeberg.

  • View post

    I just invented an ASCII-based domain-specific language to talk to my wife about aeroplane seating. I am not convinced she appreciated it.

  • View post

    Want to write open source Rust for a living? https://apply.workable.com/elementio/j/41EF6FAB51/ #rustlang #fossjobs

  • View post

    A full (slow) solution to the Billion Row Challenge https://video.infosec.exchange/w/hzreVwHv7hETKUG82KtGGd A little late, we write some Rust that actually solves the whole problem, albeit fairly slowly. #video #coding #rustlang

  • View post

    https://artificialworlds.net/poems/invented.html #poem

  • View post

    Why I don&amp;#39;t use AI https://accu.org/journals/overload/33/190/balaam/

  • View post

    Cherish the humans around you: friends, family, colleagues, yourself. They are imperfect, you are imperfect. Cherish them anyway, as best you can, when you can.

  • View post

    If you don&amp;#39;t want AI contributions to your project, here is a standard NOAI.md file you can add: https://codeberg.org/andybalaam/noai.md Contributions and suggestions welcome on the repo. Please do boost! #noai

  • View post

    The billion row challenge: splitting lines using SIMD in Rust https://video.infosec.exchange/w/oyJg67E2P8HfuAcxPDboSm I was scared to do it, but it was actually fine! This time we look at the quickest way to split up massive text files into separate lines, first the easy way, then with SIMD, which allows us to process 64 bytes simultaneously, using a single CPU instruction! #video #coding #rustlang

  • View post

    Tips for avoiding &amp;quot;async bloat&amp;quot; from Dion https://tweedegolf.nl/en/blog/235/debloat-your-async-rust * Avoid async fns that don&amp;#39;t actually need to be async * Use -&amp;gt; impl Future for async &amp;#39;pass-through&amp;#39; functions (and return Future::ready()) * Use the futures crate to allow more async fns to be rewritten as a &amp;#39;pass-through&amp;#39; function * When possible, refactor code to share await points * Pass references to large variables instead of...

  • View post

    Nice post on checking the security of your connection to an XMPP server from @amolith https://blog.jmp.chat/b/mitigating-mitms-in-xmpp

  • View post

    Last night I recorded 2 videos following on from the Billion Rows Challenge[1] one I made before. First we expanded the benchmarks a little and attempted some improvements to the temperature parsing code. Then we extended the implementation to cover parsing the whole line, not just the temperature. I had a light-bulb moment that this was almost trivial, not requiring a costly find to work out where the semicolon was. Next up: the harder parts! [1] https://github.com/gunnarmorling/1brc

  • View post

    I presume Box Stacker[1] and Rabbit Escape[2] are going to stop working on most people&amp;#39;s phones soonish. What do you think I should do about it? [1] https://f-droid.org/en/packages/net.artificialworlds.boxstacker/ [2] https://f-droid.org/en/packages/net.artificialworlds.rabbitescape/

  • View post

    More Rust coding video goodness! https://video.infosec.exchange/w/mjqCDN6XfG4mHLVULUvTnK We&amp;#39;re working on the Billion-Row Challenge, trying to measure as we go, and ensure correctness with tests. #rustlang #video #coding

  • View post

    Getting more realistic in our Rust performance mission! https://video.infosec.exchange/w/rxF6huWj4RahRP3gsb2BU1 Making our code parse whole lines of the Billion Row Challenge. #coding #rustlang #video

  • View post

    In the next releases of Element clients, if we notice your key storage (previously &amp;quot;key backup&amp;quot;) is messed up, we will create a new key storage version and everything will just work. We&amp;#39;re working, bit by bit, to make using Matrix pain-free. It&amp;#39;s not easy, because no-one has built end-to-end encrypted federated messaging with history before. But we are edging forward.

  • View post

    For clarity, https://malus.sh is satire. Dark, dark satire.

  • View post

    Writing a snake game in Rust/WASM Last time we did the hard work, so this time we can focus directly on writing a fun game of Snake using pure Rust, running in a browser canvas via WASM. https://video.infosec.exchange/w/eXfichLZwz4uDxvDgwhspM It wasn&amp;#39;t as quick as I expected, but we got a working game done! #rustlang #programming #video

  • View post

    My videos are about enjoying the craft of programming, sometimes learning things but often simply making something out of &amp;quot;nothing&amp;quot;, using ideas and tools I enjoy. They are a way for me to be as human as I can. You&amp;#39;re welcome to watch.

  • View post

    NHS England is rolling out Palantir software to manage our health records - handing huge power to a US spy-tech firm with a track record in surveillance, military technology and human rights abuses. Email your local trust and say NO to Palantir in our NHS: https://notopalantir.goodlawproject.org/email-to-target/stop-palantir-in-the-nhs/

  • View post

    Nice video covering some tricky bits of Rust https://youtu.be/9RsgFFp67eo?si=sySDwQ6ffUIqE-nP #rustlang

  • View post

    Rust: compiling to WASM to make a browser-based game using canvas https://video.infosec.exchange/w/pP4vxH7nuAseqMetMe7eVc #coding #video #rustlang

  • View post

    Stealing someone else&amp;#39;s work as a service. https://nvie.com/posts/15-years-later/