Skip to content

Instantly share code, notes, and snippets.

View jokull's full-sized avatar
☺️

Jökull Sólberg Auðunsson jokull

☺️
View GitHub Profile
@jokull
jokull / blog-intelligence-per-token.md
Last active March 7, 2026 13:31
Draft: Intelligence Per Token

Michael Arnaldi on X:

Hot take: TUIs are a phase, and GUIs that basically emulate TUIs are a phase too. We just don't know how the IDE of the future will look like.

He's talking about the arc of dev tools. Terminal, then Notepad++, then richer IDEs, then VSCode. Each phase building on the last, borrowing metaphors, adding chrome. What comes next?

But something about the question stuck with me.

Unix evolved under constraints. Teletypes. Tiny memory. Slow connections. Those limits forced everything through text — and text turned out to be strangely universal. Decades later, everything still speaks it.

@jokull
jokull / expressive-napping-hummingbird.md
Last active March 2, 2026 12:57
Deployment plan: dato_tour → tour rename (PR #1418)

Deployment plan: dato_tour → tour rename (PR #1418)

Deployment Plan: dato_tourtour Rename (PR #1418)

Context

PR #1418 renames dato_tourtour tables, switches 97 files, and establishes the foundation for admin-first tour creation. Existing tour rows keep DatoCMS IDs as Tour.id; new Tour.datoId column (nullable) links to DatoCMS content. New tours get cuid2 IDs.

Migration strategy: Expand-Contract (zero-downtime reads)

  • Expand (this PR): New tables/columns created alongside old ones, data backfilled, old constraints relaxed
@jokull
jokull / vinext-migration-hurdles.md
Last active March 2, 2026 20:09
Hurdles migrating a Next.js blog to vinext (Cloudflare Workers)

Migrating a Next.js blog to vinext (Cloudflare Workers): Hurdles

This documents the struggles encountered migrating a Next.js 15 blog (with MDX, Shiki syntax highlighting, and OG image generation) to vinext on Cloudflare Workers.

1. EvalError: Code generation from strings disallowed

The showstopper. @mdx-js/mdx's run() internally calls new Function() to evaluate compiled MDX. Workers completely blocks eval and new Function at request time.

EvalError: Code generation from strings disallowed for this context
@jokull
jokull / .gitconfig
Last active February 28, 2026 07:54
dotfiles — fish, starship, kitty (GitHub Dark OKLCH), git, claude code, brewfile
[core]
excludesfile = ~/.gitignore
[user]
name = Jökull Sólberg
email = jokull@solberg.is
[init]
defaultBranch = main
[push]
autoSetupRemote = true
default = current
@jokull
jokull / usability-gist.md
Last active February 27, 2026 19:12
Usability test findings — Trip to Japan (Feb 2026)

Usability test findings — Trip to Japan (Feb 2026)

Usability Test Findings — Trip to Japan

Source: User testing video (video-382132.mp4) — ~10 min session
Date: 2026-02-27


Timeline

@jokull
jokull / kjarval-research.md
Last active February 27, 2026 13:26
Kjarval ehf. — members' club research (financials, building permits, ownership)

Kjarval ehf. (6704180140) — Research Notes

Private members' club & coworking at Austurstræti 10A/12, 101 Reykjavík. Opened 2019. Part of Sonato reciprocal club network (100+ partner clubs worldwide).

Ownership

Shareholder Stake Shares
GO loyalty solutions ehf. 60% 375,000
M9 ehf. 20% 125,000
@jokull
jokull / dato-field-audit.md
Created February 27, 2026 12:21
Dato Tour Model — Field Audit (fromPrice removal + deprecation candidates)

Dato Tour Model — Field Audit

Why fromPrice is going away

The static fromPrice field in DatoCMS has been replaced by live inventory pricing (amount) from our booking providers. The static price was stale and misleading — it didn't reflect actual availability or seasonal pricing. We've removed it from all queries and components.

What changes for tours without inventory pricing? They simply show no price instead of a stale/incorrect one. This is cleaner and more honest.


@jokull
jokull / thorpid-analysis.md
Created February 27, 2026 09:45
Þorpið vistfélag — lóðagreining úr fundargerðum Reykjavíkur (planitor.io)

Þorpið vistfélag — lóðagreining úr fundargerðum Reykjavíkur

Greining á lóðum sem Þorpið vistfélag ehf. og tengd félög hafa fengið úthlutað eða sótt um byggingarleyfi á, samkvæmt fundargerðum skipulagsfulltrúa og byggingarfulltrúa Reykjavíkur í gagnagrunni planitor.io.

Tengd félög

Félag Kt. Þekkt lóðir
Þorpið - Vistfélag ehf. 6410180230 Jöfursbás 11, Breiðhöfði 9
Þorpið 2 ehf. 4809200740 Jöfursbás 11 (byggingarleyfishafi)
@jokull
jokull / tour-operator-types.md
Last active February 26, 2026 13:39
Tour Operator & Booking Types — for Hilda to verify

Tour Operator & Booking Types — for Hilda to verify

How Tours Work at Trip To Japan

One-pager to align on tour types and operator tracking before we build out the admin tooling.


The five tour types

@jokull
jokull / mortgage-exemption-memo.md
Last active February 25, 2026 21:50
Undanþága frá greiðslubyrðarreglum Seðlabankans (5. gr. 701/2022) - Memo og dæmi

Undanþága frá greiðslubyrðarreglum Seðlabankans — Memo og dæmi

Yfirlit

Seðlabanki Íslands setur reglur um hámark greiðslubyrðar fasteignalána í hlutfalli við tekjur. Hámarkið er 35% af ráðstöfunartekjum (eða 40% fyrir fyrstu kaupendur). Þó er til undanþága sem margir vita ekki af — og hún var tvöfölduð í lok árs 2025.

Reglugerðarsaga

Reglur Dagsetning Undanþága Breyting