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 / expressive-napping-hummingbird.md
Created March 2, 2026 09:04
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. Brief downtime accepted during migration.

Additional scope (to add before merge):

  • Clean up datoId ?? id fallback pattern in cron.ts
  • Add createTour admin procedure
  • dato_id stays nullable (admin-created tours have no DatoCMS entry)
@jokull
jokull / vinext-migration-hurdles.md
Created February 28, 2026 15:35
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, Turso DB, 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
@jokull
jokull / diessen-speech.md
Last active February 23, 2026 22:09
Glenn Diessen - UN Security Council Speech on Ukraine, Media Narratives, and Security Competition

Glenn Diessen - UN Security Council Speech

Source: https://www.youtube.com/watch?v=rTB_0TkJRlE


The following is my speech given at the UN Security Council in New York. I was supposed to be there in person, although my flight was cancelled without any replacement flights to get me there on time. Nonetheless, here is my speech and afterward I will give some comments to further extend upon my argument.