The award-winning Caves of Qud is coming to Nintendo Switch in Q4 2025!
07.08.2025 13:15 β π 549 π 145 π¬ 14 π 60@hojberg.xyz.bsky.social
Front-End @unison-lang.org (Leading UCM Desktop and Unison Share) https://github.com/hojberg Web: hojberg.dev Writing: https://programming-is-collaboration.com Dance more!
The award-winning Caves of Qud is coming to Nintendo Switch in Q4 2025!
07.08.2025 13:15 β π 549 π 145 π¬ 14 π 60I took a journey into the heart of Ruby to learn the secrets of the /o regex modifier, and I emerged wiser, but also so deeply tired.
jpcamara.com/2025/08/02/t...
So excited and honored to be speaking at SF Ruby conf in November! Iβll be talking Realtime with Rails, Anycable and Yjs! Hope to see you there!
25.07.2025 02:18 β π 13 π 4 π¬ 2 π 0Walking is really, really, really good for you.
Conclusion of a new meta-analysis that reviewed 57 studies on walking & health:
"Compared with 2,000 steps per day, 7,000 steps per day was associated with a 47% lower risk of all-cause mortality."
www.thelancet.com/journals/lan...
Study finds A.I. LLMs advise women to ask for lower salaries than men. When prompted w/ a user profile of same education, experience & job role, differing only by gender, ChatGPT advised the female applicant to request $280K salary; Male applicant=$400K.
thenextweb.com/news/chatgpt...
A must-watch talk from @scott.hanselman.com. Scott and I are of the same vintage, and I am embarrassed (mortified!) by how revolting some of our generational peers have become. Technology still has a unique power to improve our lives, but wow, do we ever have work to do. youtu.be/dVG8W-0p6vg?...
20.07.2025 15:55 β π 151 π 25 π¬ 5 π 3Also, I should add, a constant doubt about whether or not what I write is interesting to anyone.
20.07.2025 21:19 β π 1 π 0 π¬ 2 π 0100% I almost never end up with the point I imagined when I started writing. It takes me months.
20.07.2025 13:55 β π 3 π 0 π¬ 1 π 0Ultimate we choose to migrate to Electron (still with Elm) due to convenience and a better guarantee in a uniform experience across platforms.
08.07.2025 19:27 β π 1 π 0 π¬ 1 π 0MacOS Sonoma, naturally, has a much older WebView than MacOS Sequoia. This meant for us that we needed more extensive cross platform testing and a lot of web features we couldn't fully utilize, like relying on `:has` or `gap` in flexbox for instance.
08.07.2025 19:27 β π 1 π 0 π¬ 1 π 0Instead of bundling Chromium with the app like Electron does, Tauri uses the WebView found in the host OS to render the app. This is a cool trick to reduce footprint, but means variation between the platforms, both between things like Mac and Windows, but also between versions of a single OS.
08.07.2025 19:27 β π 1 π 0 π¬ 1 π 0The first version of UCM Desktop was released using Tauri (and Elm). Tauri is a really cool project, but the fundamentals of how they achieve smaller app footprints (while clever), didn't work for our small team.
08.07.2025 19:27 β π 1 π 0 π¬ 1 π 0UCM Desktop 1.1.0 is out: github.com/unisonweb/uc...
- Tauri to Electron migration
- Light mode colors in the Finder
- Ensure a definition is scrolled to when opened
- HittingΒ `shift+x` now closes all open definitions
More on the Tauri to Electron migration in π§΅
2advanced was legendary!
08.07.2025 17:16 β π 0 π 0 π¬ 1 π 0Finally got around to publishing a new essay: Code for People.
hojberg.xyz/code-for-peo...
Finally got around to publishing a new essay: Code for People.
hojberg.xyz/code-for-peo...
The only thing I use SCSS for anymore is this pattern for theming:
```scss
@mixin light {
/* light theme vars */
}
:root,
.light:root {
@include light();
}
@media screen and (prefers-color-scheme: light) {
@include light();
}
/* same for dark */
```
Anybody have a good alternative here?
This is really cool!
23.06.2025 14:50 β π 1 π 0 π¬ 0 π 0Arc's farewell post makes me grateful for new ventures like Good Internet Magazine and the folks repping personal websites. The picture they paint is bleak & corporate, and I hate to imagine that my posts would only ever be consumed by LLMs... (1/3) browsercompany.substack.com/p/letter-to-...
03.06.2025 09:45 β π 27 π 4 π¬ 1 π 1I keep wanting to give Typst a go!
10.05.2025 23:14 β π 0 π 0 π¬ 1 π 0Loving this new visual essay from Sam!
08.05.2025 15:43 β π 0 π 0 π¬ 0 π 0β¨ It's new samwho visual essay o'clock! β¨
Reservoir sampling is one of my favourite algorithms. It allows you to sample from a set without knowing the size of that set.
I try to assume no prior knowledge, and use no scary math notation. Just beautiful visuals.
Let me know what you think! β€οΈ
π« While Unison warns you about quadratic ability handlers in our latest release, here's Unison's own compiler expert, Dan, on the nature of the problem and how to structure your ability handlers to avoid a quadratic slowdown in the first place.
06.05.2025 13:00 β π 6 π 3 π¬ 1 π 0This landing page from Dan Hollick is such a masterclass. The book looks great too!
www.makingsoftware.com
π° UCM 0.5.38 is here!
β¨ LSP hover info for local terms
πΊοΈ More readable `Map k v` rendering in the console
π― Lookahead/lookbehind support for patterns
π₯ Faster syncs with Share with visible progress
β¨οΈ Better errors for typos in type constructors
β Warnings for possible quadratic handlers
They are! I'd love to turn this into an interactive thing some day though. Could be really cool to have this kind of explainer on any Unison function.
29.04.2025 15:38 β π 6 π 0 π¬ 0 π 0I hope this was helpful. We have a bunch of stuff planned in our code rendering tooling to improve the understandability of signatures; like highlighting arguments throughout a function signature and body. 7/7
29.04.2025 15:21 β π 6 π 0 π¬ 0 π 0The Unison signature: `myMain: '{IO, Exception} ()` which includes a thunk.
Here we return a thunk that uses the IO and Exception abilities
which in turn returns Unit indicated by the 2 parens (). This specific signature is the signature of a runnable Unison function. 6/7
The Unison type signature: `helloWorld : HttpRequest ->{Exception, Log} HttpResponse` which include Abilities
Abilities is a unique feature of Unison. It's how we model effectful code. Read more here: www.unison-lang.org/docs/fundame... 5/7
29.04.2025 15:20 β π 3 π 0 π¬ 1 π 0The Unison signature `List.map : (a -> b) -> [a] -> [b]` which includes type variables and a lambda argument
Lambda arguments work with type variables too 4/7
29.04.2025 15:19 β π 3 π 0 π¬ 1 π 0