[{"data":1,"prerenderedAt":77},["ShallowReactive",2],{"api:\u002Fapi\u002Fconfig:en":3,"api:\u002Fapi\u002Fnotes:en":8,"api:\u002Fapi\u002Fprojects\u002Flink-shortener:en":32},{"email":4,"lang":5,"name":6,"role":7},"hello@ewsirdev.example","en","Ewsirdev","Web developer: websites, landing pages and Go services",[9,16,22,27],{"slug":10,"lang":5,"title":11,"date":12,"summary":13,"project":14,"minutes":15},"double-booking","Double booking: a transaction plus a partial UNIQUE index","2026-10-20","How booking-slots protects against two clients booking the same time at once, and how that protection is tested.","booking-slots",1,{"slug":17,"lang":5,"title":18,"date":12,"summary":19,"project":20,"minutes":21},"lease-and-fencing","Lease and fencing: how a queue neither loses a job nor lets a zombie finish it twice","A worker can crash, stall, or wake up after its job was taken by someone else. How the lease and the lease token in job-queue deal with that on SQLite.","job-queue",2,{"slug":23,"lang":5,"title":24,"date":12,"summary":25,"project":26,"minutes":21},"p95-nearest-rank","p95 in an uptime monitor: the nearest-rank method and what it does not hide","How uptime-monitor computes p50\u002Fp95 latency and uptime, why the nearest-rank method was chosen, and where those numbers can mislead.","uptime-monitor",{"slug":28,"lang":5,"title":29,"date":12,"summary":30,"project":31,"minutes":21},"websocket-from-scratch","WebSocket on the standard library: what really happens under new WebSocket()","Why realtime-rooms has its own RFC 6455 layer, which protocol violations it checks, and why a library is still the better choice for production.","realtime-rooms",{"slug":33,"title":34,"type":35,"stack":36,"description":40,"highlights":41,"run":46,"hue":47,"og":48,"shots":49,"case":57,"case_lang":5,"prev":72,"next":75},"link-shortener","Short: link shortener","backend",[37,38,39],"Go","SQLite","Docker","Link shortening with aliases and expiry, click statistics by day, browser and device, a token-protected dashboard. IP addresses are not stored.",[42,43,44,45],"Redirect and click tracking","Rate limiting","Private statistics (salted hash)","Tests and Docker","cd link-shortener && set SEED_DEMO=1&& go run .\u002Fcmd\u002Fserver",111,"\u002Fog\u002Fen\u002Flink-shortener.jpg",{"desktop":50,"desktop_sm":51,"mobile":52,"dw":53,"dh":54,"mw":55,"mh":56},"\u002Fshots\u002Flink-shortener-desktop.webp","\u002Fshots\u002Flink-shortener-desktop-sm.webp","\u002Fshots\u002Flink-shortener-mobile.webp",1280,800,390,844,{"about":58,"features":61,"run":66,"notes":70},[59,60],"A link shortener with click statistics: custom aliases, expiry, redirects, and a breakdown by day, browser, OS and device.","The dashboard is protected by an admin token. Visitors are counted by a hash with a daily salt; IP addresses are not stored.",[62,63,64,65,45],"302 redirect and click tracking in SQLite","Rate limit on link creation per address","Statistics by day, browser, OS and device","SEED_DEMO=1 mode with fictional statistics for demos",[67,68,69],"git clone \u003Crepository on request> link-shortener","cd link-shortener","ADMIN_TOKEN=demo SEED_DEMO=1 go run .\u002Fcmd\u002Fserver   # http:\u002F\u002Flocalhost:8082",[71],"One admin token, no users. The demo statistics are generated and do not reflect real traffic.",{"slug":73,"title":74},"kanban-tasks","Amber: kanban board",{"slug":14,"title":76},"Appointment booking",1792697892725]