Adam Hearn (@adamhearn) header
Adam Hearn (@adamhearn) profile picture

software engineer, functional programmer, husband, Christian. Making effect systems the default

Newport Beach, CA
Joined April 2021
Photo by Adam Hearn (@adamhearn)Photo by Adam Hearn (@adamhearn)Photo by Adam Hearn (@adamhearn)Photo by Adam Hearn (@adamhearn)Photo by Adam Hearn (@adamhearn)Photo by Adam Hearn (@adamhearn)Photo by Adam Hearn (@adamhearn)Photo by Adam Hearn (@adamhearn)Photo by Adam Hearn (@adamhearn)Photo by Adam Hearn (@adamhearn)
Unification of effect definitions (via suspension) enables convergence on program design itself. Kyo’s stream encoding solidifies the advantage of algebraic effects: principled, predictable, and deeply composable.
Streaming is one of the most fascinating things I got to learn in-depth as part of #Kyo's development! Providing an encoding with good ergonomics, performance, and common functionality like resource safety & backpressure isn't a trivial task. I'm super happy to see @adamhearn's talk presenting how algebraic effects open a new chapter in how to encode streams (link in reply 👇) I think I probably rewrote Kyo's streams from scratch about 10 times before landing on the initial version 🤓 Since then, we've been iterating on it, introducing new features, optimizations, and even simplifying it further! It's 😻 to be ripping the benefits of open-source collaboration! The result? A simple, principled, and high-performance implementation with next-level flexibility. Kyo streams can leverage other effects like Resource handling, state management via Var, and buffering via Async. But not only that! They provide seamless integration with other effects, including user-defined ones 🤯 It's definitely a great peek at how algebraic effects unfold a new chapter in functional programming. Streaming isn't the "fundamental effect", the ability to encode and compose effects is the true gem!
4
24
6,426
using Rust means every couple of days you have to delete 100 GB of build files from your hard drive and apparently everyone just accepts this
458
368
121
13,023
677,701
GIMME GIMME GIMME
Gimme Kimi Phase 1 $60 of Kimi K3.1 Pro usage for $10 available to all OpenCode Go subscribers
9
368
why aren't you using open source models yet anon?
So, Codex w/ Astra 6.2: * Denied an action on my own hardware. * I approved it. Because it's in chat history, it won't run it now after it was auto approve denied. * Now it won't even give me the command in the same session and context. It's been a long time since I've been this frustrated, but auto-approval context poisoning is absolute bullshit.
1
1
6
419
pstack is dead
Replying to @loccoai
yup just started last night!
100
In the next version of opencode, introducing /homework mode.
1
5
417
Horrifying, yet I still installed it
Spaceman. A macOS window manager. here's a little demo ;-)
1
8
1,089
i can’t believe jensen beat gta6 that fast
6
221
chess .com hacked?
153
‘subagents’ communicates a immoral lesser-than relationship between peers. We need to rename them to comrades immediately
4
7
331
i told gemini neon to cut the niceties when haggling my internet plan with spectrum (horrible). a bit over the top, but seems to be working let's see how cheap we can get
2
1
9
632
Adam Hearn retweeted
we are popping the pricing bubble today starting with deepseek flash and glm 5.3 we are pricing 60% lower than fireworks/baseten while doing more volume than them all hosted on our own GPUs, there’s no reason to buy from anyone else we’re #1 now, good luck everyone else
GLM 5.3 and DeepSeek V4.1 Flash are now 60% off in OpenCode
349
221
73
7,409
357,907
Using opencode to rebook my flights in business class, because credit card point bookings are way to troublesome to deal with. It's chatting by whatsapp with Air France, using browser control. There is no more need to let legacy companies ruin your day
16
357
The necessity of this behavior is a sign of a deeply broken CI behavior. There are so many solutions here, but changing PR count is not one of them. Do you think any of the big labs behave like this? FANG? Even with limited compute budget this should not be necessary.
my PR count took a nose dive in the past week, from previously about 200 PRs/day to only 30-ish now, and i'm shipping more than ever this happened because i started batching multiple branches into a single PR to improve CI efficiency right now my CI architecture is - 1. each change gets developed in its own branch as usual 2. each branch that's done gets a very light weight CI check, mostly build and lint 3. all the branches that pass checks then get queued up into a batch 4. a batch becomes a PR which does a heavier CI job 5. while a PR of mine is still active, all new branches wait in the next batch, until the previous PR is merged. this means at any given point in time, in the same repo i will only have at most one PR at a time 6. if a PR fails CI, i fix forward with a new branch added into its batch. this means older branches, even if at fault, would remain immutable which minimizes rebases so far, this has been working wonders. i think this is much superior than merge queues, because merge queues are typically done at a repo level, and at agent speed the queue can have hundreds of PRs at a time which breaks often and causes a lot of re-selection and makes everyone wait this batching happens at user level, so different contributors in the same repo never have to interfere with each other. every user can also choose to apply different strategies - some users may do one PR per branch, and some may do this batch - and they can all work together
4
12
3,158
This is what freedom looks like
5
2
54
11,360
Adam Hearn retweeted
even though hex mobile requests full access nothing leaves your phone and it stays 100% local github.com/anomalyco/hex you can also audit the code yourself and its free because dictation should be a basic human right
iOS keyboard dictation without opening the app coming soon to a hex mobile near you
27
9
5
383
13,493
You must simply not let entropy out of the box. It’s just not possible to put it back in
a codebase is a system all systems naturally arrive at chaos its incredibly boring, the fundamentals are boring and repetitive day in and day out, the same thing holding the line with bursts of intensity most people don't have that dawg in em to not let go of the bone
1
149
It’s indulgent and selfish to marinate in your suffering.
2
185
It’s 2026 and Microsoft is still using locks. Your job is safe
5
303