Barry
banner
chiroptical.dev
Barry
@chiroptical.dev
PhD Theoretical Chemistry. Haskell/Typescript full stack engineer at Mercury. Aspiring Gleam and Erlang programmer. Occasional content creator linktr.ee/chiroptical. Fencing enjoyer.
Finished Section 2.2 of Mathematics in Lean. I'm skeptical that anything beyond this will make sense...

This was labeled a hard exercise, but my brain has no idea why I would introduce `h` as a goal to solve this. I feel like I need more raw math skills which probably isn't surprising to some.
October 30, 2025 at 12:49 AM
Finished section 2.1 of Mathematics in #LeanLang.
October 26, 2025 at 1:18 AM
#gleamlang do we prefer builder style here or just `encrypt(BitArray, Option(BitArray))`? For some reason, I don't like `encrypt(x, option.None)` but also `new(x) |> encrypt()` feels tedious. `encrypt_with_associated_data(x, y)` feels long.
September 26, 2025 at 12:54 AM
Design is my passion…
September 21, 2025 at 1:59 PM
Post a movie you like with a terrible rotten tomatoes score.
September 17, 2025 at 1:46 AM
Imagine I know nothing about cryptography. It shouldn't be hard. Does this look reasonable? (I'm planning on storing the key in the environment, my hosting provider can encrypt them which is why I thought base64 would be fine?). #erlang
August 26, 2025 at 1:07 AM
The one I got (probably RedBubble?) adds a slight white border around the logo.
August 22, 2025 at 1:17 PM
Someone suggested this book to me. The preface speaks to me. Hopefully I learn something.
August 9, 2025 at 7:21 PM
I like this a lot better than my previous implementation. It is obvious in hindsight. #erlang
August 9, 2025 at 5:37 PM
Why do I need to add these dependencies to dialyzer? They are listed in my `deps` section of rebar.config? #erlang
August 7, 2025 at 1:17 PM
Finally had time to get my index.html into #unisonlang and serve it locally. I haven't been super motivated to work on this project but making some progress!
July 23, 2025 at 1:20 AM
This is less text than the `switch` example but it is **so** boring. I want to see the supercharged Qi example.
June 14, 2025 at 1:19 AM
I was supposed to read structs/modules first but I couldn't help but peak at contracts. This fails at run-time because 0 is not positive.
May 18, 2025 at 1:33 AM
Set up #racketlang with #helixeditor. Requires `raco pkg install racket-langserver` and `raco pkg install fmt`.
May 11, 2025 at 12:17 AM
A quick diagram of focus' services. The credential manager and developer log services typically run in their own #erlang node. The focus service runs in an erlang node displayed to your #Twitch stream. A connection to Twitch web socket displays chat, follows, and subscriptions.
February 14, 2025 at 5:41 PM
Distributed #erlang anyone? Conceptually, focus can have an admin log which doesn't have to be visible on stream.
January 25, 2025 at 7:33 PM
We now have chat, follows, and subscriptions in Erlang.
January 22, 2025 at 1:27 PM
Card games are good for you!
January 17, 2025 at 2:23 PM
Easy, but fun, lexer/parser for adventofcode.com/2024/day/19 advent of parsers in #erlang.
December 19, 2024 at 10:31 PM
Every year I generate one of these at work. At Mercury, every individual gets a callsign. It is a name and an emoji. I am :blueranger: (see {2, 2} in the image, 0 indexed). It is crazy to think where it started and where it is now.
December 19, 2024 at 10:05 PM
Advent of parsers day 9. I really wanted to do something more interesting here but I couldn't come up with a way to get the file index in there. One idea I had was to return the `Col` and then build a `Map Col Idx` and just lookup the file's idx later.
December 10, 2024 at 1:18 AM
Feeling cute, might delete later. #erlang
December 7, 2024 at 6:46 PM
Feeling better, updated lexer and parser and finished day 6 part 1 of #adventofcode. The parser now outputs a map with no intermediate list 🤩
December 7, 2024 at 1:29 AM
Feeling sick so taking a break from #adventofcode. I'll try to keep up with at least the lexer/parsers for advent of parsers. The lexer gives us the positions for free. The guard is described by a cardinal direction. #erlang
December 6, 2024 at 12:54 PM
Haven't had a chance to finish the algorithm,but the lexer and parser was easy for 2024 day 5 #adventofcode
December 5, 2024 at 6:49 PM