<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Aldrin Jenson</title>
    <link>https://aldrinjenson.com/</link>
    <description>Aldrin Jenson</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 01 Jul 2024 12:00:00 -0400</lastBuildDate>
    
    <atom:link href="https://aldrinjenson.com/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>MIDI Piano Playground — teaching myself chords with a $64 keyboard and Claude Code</title>
      <link>https://aldrinjenson.com/projects/midi-piano-playground/</link>
      <pubDate>Thu, 23 Jul 2026 02:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/projects/midi-piano-playground/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Code:&lt;/strong&gt; &lt;a href=&#34;https://github.com/aldrinjenson/midi-piano-playground&#34;&gt;github.com/aldrinjenson/midi-piano-playground&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I bought a used Casio CTK-2090 keyboard for $64 in early July, partly as a new hobby for the summer. I have decent relative pitch — if I can hum a melody, I can usually find it on the keys by ear. That part came almost for free from years of casual guitar. What I &lt;em&gt;can&amp;rsquo;t&lt;/em&gt; do is the left hand: which chords go under the melody, and when to switch. That gap is the whole reason this project exists.&lt;/p&gt;
&lt;p&gt;Then a MIDI cable I&amp;rsquo;d ordered arrived, the Casio showed up on my Mac as a CoreMIDI device, and suddenly the piano problem looked like an engineering problem. Those I know how to work on.&lt;/p&gt;
&lt;h2 id=&#34;step-1-just-see-the-notes&#34;&gt;Step 1: just see the notes&lt;/h2&gt;
&lt;p&gt;First goal: capture what I play as data. macOS speaks CoreMIDI natively, so I went with small dependency-free Swift scripts you run directly with &lt;code&gt;swift file.swift&lt;/code&gt; — one to list MIDI devices, one to print Note ON/OFF events live, and one to record them with timestamps to a plain text file:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;12.43 ON  E5
12.71 OFF E5
12.72 ON  G5
...
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;One gotcha for anyone trying this: the modern &lt;code&gt;MIDIEventList.unsafeSequence()&lt;/code&gt; API wouldn&amp;rsquo;t compile on my machine&amp;rsquo;s Swift toolchain. The thing that works is the legacy &lt;code&gt;MIDIInputPortCreateWithBlock&lt;/code&gt; + walking the &lt;code&gt;MIDIPacketList&lt;/code&gt; manually. Old API, still solid.&lt;/p&gt;
&lt;p&gt;(Fun hardware detail: the CTK-2090&amp;rsquo;s keys aren&amp;rsquo;t touch-sensitive — every note arrives at velocity 100. So dynamics can never come from this keyboard. Good to know before wondering why every recording sounds equally enthusiastic.)&lt;/p&gt;
&lt;h2 id=&#34;step-2-what-key-am-i-even-playing-in&#34;&gt;Step 2: what key am I even playing in?&lt;/h2&gt;
&lt;p&gt;For my first real recording I played a melody I&amp;rsquo;d learned by ear off the internet. The analysis showed all white keys with phrases resting on C — key of C major. And from the note pattern alone, the melody turned out to be &lt;em&gt;My Heart Will Go On&lt;/em&gt; from Titanic. I genuinely hadn&amp;rsquo;t set out to learn the Titanic song; my ear just went there.&lt;/p&gt;
&lt;p&gt;The analyzer (&lt;code&gt;tools/analyze.py&lt;/code&gt;, plain Python, no dependencies) does two things:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Key detection&lt;/strong&gt; with the classic &lt;strong&gt;Krumhansl-Schmuckler&lt;/strong&gt; algorithm: build a duration-weighted histogram of the twelve pitch classes, correlate it against the 24 Krumhansl-Kessler major/minor key profiles, highest Pearson correlation wins. It nailed C major on all my takes with r ≈ 0.82–0.88.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Chord suggestion&lt;/strong&gt;: chop the recording into fixed time windows, score each candidate chord by how well it covers the melody notes in the window (root weighted 1.5×, a bonus for the note you land on, and a small &amp;ldquo;pop prior&amp;rdquo; nudging it toward I/IV/V/vi), then run &lt;strong&gt;Viterbi smoothing&lt;/strong&gt; over the sequence with a chord-change penalty so it doesn&amp;rsquo;t flip-flop every window.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Reality check: on a recording of me actually playing chords, it recovered the C → G → F progression almost exactly. On sparse melodies it under-suggests the IV and vi chords — a C-heavy melody legitimately scores C everywhere, and even a human needs lyric and rhythm context to know where the Am belongs. So the output is a first draft of a chord chart, not gospel. That&amp;rsquo;s fine; a first draft was exactly what I needed.&lt;/p&gt;
&lt;h2 id=&#34;step-3-the-practice-app&#34;&gt;Step 3: the practice app&lt;/h2&gt;
&lt;p&gt;Knowing the chords and being able to &lt;em&gt;play them at the right moment&lt;/em&gt; are different skills. So the next piece was &lt;code&gt;titanic-practice.html&lt;/code&gt; — a single self-contained HTML page, no build step:&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/midi-piano/practice-app.png&#34; width=700 alt=&#34;Two-track practice app — chord timeline, big current-chord display, lyrics with chords over the switch words&#34;&gt;
&lt;ul&gt;
&lt;li&gt;It plays back &lt;strong&gt;my own recorded melody&lt;/strong&gt; (cleaned up — two fumbles removed, timing smoothed) through WebAudio, while a big display shows &lt;em&gt;play this chord now&lt;/em&gt;, the upcoming chord, and the current lyric line.&lt;/li&gt;
&lt;li&gt;A piano-roll canvas shows the melody notes over shaded chord regions with a moving playhead.&lt;/li&gt;
&lt;li&gt;Speed slider (50–120%), a 4-beat count-in, and a &amp;ldquo;hear the chords&amp;rdquo; toggle as scaffolding you turn off as you improve.&lt;/li&gt;
&lt;li&gt;The best part: &lt;strong&gt;live grading over Web MIDI&lt;/strong&gt;. Connect the keyboard in Chrome, and the chord name turns green when you&amp;rsquo;re holding the right triad (pitch-class match, so any octave counts). At the end you get a score card listing exactly which chord changes you missed, by lyric.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Later it grew a second track: my recorded &lt;em&gt;chord&lt;/em&gt; take as a play-along, so I can flip it — play melody over my own chords, or chords under my own melody.&lt;/p&gt;
&lt;p&gt;One hosting gotcha: I first tried shipping this as a claude.ai artifact, but artifacts run in a sandboxed iframe that silently blocks Web MIDI — the permission prompt never appears. It has to be served locally (&lt;code&gt;python3 -m http.server&lt;/code&gt;) for the live feedback to work. There&amp;rsquo;s a &lt;code&gt;play.sh&lt;/code&gt; that starts the server and opens Chrome.&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s also &lt;code&gt;studio.html&lt;/code&gt; — a browser-only record/analyze studio (the key-detection logic ported to JS) with a take-history panel in localStorage and a keyboard heat-map that shows &lt;em&gt;why&lt;/em&gt; it thinks the key is what it is:&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/midi-piano/studio-analysis.png&#34; width=700 alt=&#34;MIDI Studio — key detection with keyboard heat-map and explanation&#34;&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/midi-piano/studio-chords.png&#34; width=700 alt=&#34;Suggested chords with per-chord keyboard fingering diagrams&#34;&gt;
&lt;h2 id=&#34;step-4-play-along-with-the-actual-song&#34;&gt;Step 4: play along with the actual song&lt;/h2&gt;
&lt;p&gt;Practicing against my own wobbly recording only goes so far. The real song, though, is in &lt;strong&gt;E major&lt;/strong&gt;, and all my chord practice is in C. So: audio pipeline.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;yt-dlp&lt;/strong&gt; to download the official lyric video&amp;rsquo;s audio.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ffmpeg&lt;/strong&gt; to transpose E → C (down 4 semitones) while keeping tempo: &lt;code&gt;asetrate=SR*FACTOR,aresample=SR,atempo=1/FACTOR&lt;/code&gt; with FACTOR = 2^(−4/12) ≈ 0.7937. No rubberband needed. The vocals get a slightly &amp;ldquo;processed&amp;rdquo; timbre since formants shift too, but it&amp;rsquo;s completely playable-along-able.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Demucs&lt;/strong&gt; (Meta&amp;rsquo;s ML stem separation) to split the song into stems. The killer output: a mix of &lt;strong&gt;vocals + drums + bass + guitar with the harmonic bed removed&lt;/strong&gt; — a backing track where &lt;em&gt;I&lt;/em&gt; supply the chords, muxed back onto the lyric video.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The Demucs surprise: the 6-stem model&amp;rsquo;s &amp;ldquo;piano&amp;rdquo; stem came out &lt;strong&gt;silent&lt;/strong&gt; (−78 dB). This recording&amp;rsquo;s accompaniment is a synth pad + strings, which Demucs files under &amp;ldquo;other&amp;rdquo;, not &amp;ldquo;piano&amp;rdquo;. Lesson for pop ballads: don&amp;rsquo;t trust the piano stem — to remove the chordal bed, drop the whole &amp;ldquo;other&amp;rdquo; stem instead. (The other stem is also worth soloing just to study what the pro actually plays.)&lt;/p&gt;
&lt;h2 id=&#34;what-i-actually-learned-about-music&#34;&gt;What I actually learned about music&lt;/h2&gt;
&lt;p&gt;The tooling was the fun part, but the music learnings are the point:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The entire song needs only &lt;strong&gt;four left-hand shapes&lt;/strong&gt;: C (C·E·G), G (G·B·D), Am (A·C·E), F (F·A·C).&lt;/li&gt;
&lt;li&gt;The verse is just a C → G → F → G loop, one chord per phrase. The Am only enters in the chorus (&amp;quot;&lt;strong&gt;I believe&lt;/strong&gt;…&amp;quot;) — my first guess put Am in the verse, and cross-checking two chord sites (both transpose to the same shapes in C) corrected that.&lt;/li&gt;
&lt;li&gt;The rule of thumb that&amp;rsquo;s stuck with me: the chord should contain the melody note you land on, and you change chords on the first word of the phrase.&lt;/li&gt;
&lt;li&gt;C → G → Am → F is the pop workhorse progression. Learning these four shapes in one song quietly unlocks hundreds of others.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;where-it-goes-next&#34;&gt;Where it goes next&lt;/h2&gt;
&lt;p&gt;The workflow generalizes to any song: record the melody, let the analyzer name the key and draft a chord chart, verify against a chord site, swap the arrays in the practice app, serve locally, chase a perfect score card. The backlog has the ideas that excite me most — real-time auto-accompaniment (code plays the chords live while I play melody), timing-precision grading in milliseconds, and turning the practice app into a template where a song is just a JSON blob.&lt;/p&gt;
&lt;p&gt;The meta-lesson: this is the first time a music habit of mine has crossed into the domain where I actually ship things. Classes and theory books haven&amp;rsquo;t stuck in the past. But a keyboard that emits data, plus Claude Code to build the scaffolding around it, turns practice into a feedback loop I want to come back to. We&amp;rsquo;ll see if that&amp;rsquo;s what finally makes it stick.&lt;/p&gt;
&lt;p&gt;Code&amp;rsquo;s at &lt;a href=&#34;https://github.com/aldrinjenson/midi-piano-playground&#34;&gt;github.com/aldrinjenson/midi-piano-playground&lt;/a&gt;. Everything runs locally — Swift + CoreMIDI for recording, plain Python for analysis, single-file HTML for the apps. No accounts, no npm, no dependencies.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Dubai: the Burj Khalifa, the souks and the old city</title>
      <link>https://aldrinjenson.com/travel/dubai-layover/</link>
      <pubDate>Wed, 28 Oct 2026 01:20:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/dubai-layover/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Dubai, UAE · Oct 28, 2026 · solo · a 6h40m layover between Edinburgh and Chennai&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;My Emirates route from Edinburgh to Chennai had a 6 hour 40 minute connection in Dubai. That&amp;rsquo;s long enough that sitting at the gate felt like a waste, so I got out and went into the city.&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/dubai-layover/burj-khalifa.jpg&#34; width=450 alt=&#34;Aldrin standing on a terrace with the Burj Khalifa towering behind him&#34;&gt;
&lt;p&gt;&lt;em&gt;Me and the Burj Khalifa. I did not go up.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Around the base there&amp;rsquo;s a big lake with the Dubai Fountain, surrounded by towers.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/dubai-layover/burj-lake.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Walking around the lake at the foot of the Burj.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;what-i-did&#34;&gt;What I did&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Burj Khalifa.&lt;/strong&gt; Obviously. I took an Uber straight there from the airport. I didn&amp;rsquo;t go up, because there wasn&amp;rsquo;t time, so I walked around the base and took far too many photos looking straight up. It&amp;rsquo;s ridiculous in person.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Wings of Mexico&lt;/strong&gt; sculpture, a big pair of bronze wings you stand in front of for a photo. I did.&lt;/li&gt;
&lt;li&gt;A short walk through &lt;strong&gt;Souk Al Bahar&lt;/strong&gt;, next to the fountain area.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Al Fahidi Historical Neighbourhood&lt;/strong&gt;, the old part of the city with narrow lanes and sand-coloured buildings with wind towers. It was a nice contrast with all the glass and steel.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It was &lt;strong&gt;very hot&lt;/strong&gt;, even in late October, and completely worth it. Six hours turned into a whole extra city on the trip.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/dubai-layover/wings-of-mexico.jpg&#34; width=700 alt=&#34;The bronze Wings of Mexico sculpture in the foreground with the Burj Khalifa behind&#34;&gt;
&lt;p&gt;&lt;em&gt;The Wings of Mexico, with the Burj behind.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/dubai-layover/souk.jpg&#34; width=450 alt=&#34;A souk shop full of framed carpets and paintings&#34;&gt;
&lt;p&gt;&lt;em&gt;Inside the souk.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/dubai-layover/al-fahidi.jpg&#34; width=450 alt=&#34;A shaded lane in Al Fahidi with sand-coloured walls and shop stalls&#34;&gt;
&lt;p&gt;&lt;em&gt;Al Fahidi, the old quarter.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Getting out of the airport was easy. Because I have a US visa, I could get a &lt;strong&gt;UAE visa on arrival&lt;/strong&gt; on my Indian passport, with no application in advance. I paid at the airport (AED 240 through Emirates) and walked out. I had fajitas at the &lt;strong&gt;Hard Rock Cafe&lt;/strong&gt; (about AED 157).&lt;/p&gt;
&lt;h2 id=&#34;the-uber-ride&#34;&gt;The Uber ride&lt;/h2&gt;
&lt;p&gt;The part of Dubai I keep thinking about wasn&amp;rsquo;t a building. One of my Uber drivers was a woman from &lt;strong&gt;Kenya&lt;/strong&gt; who has been working there for years without family nearby. She talked very openly about how hard it is to find a real relationship there. She said only about one in ten works out, and that most of the rest end with someone taking advantage of you in one way or another. She said it plainly, without self-pity. I&amp;rsquo;d just asked how long she&amp;rsquo;d been there, and she opened up. It stuck with me for the rest of the trip. People who move far from home for work are carrying a lot that you can&amp;rsquo;t see from the passenger seat.&lt;/p&gt;
&lt;p&gt;Back at the airport I got some food and took a call with a friend who&amp;rsquo;s building a startup and wanted feedback. It was a strange, nice way to spend the last hour of a layover.&lt;/p&gt;
&lt;h2 id=&#34;one-more-country&#34;&gt;One more country&lt;/h2&gt;
&lt;p&gt;That makes about &lt;strong&gt;seven countries&lt;/strong&gt; I&amp;rsquo;ve been to now, including India. And then it was back to the airport, and on to Chennai.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;A 6h40m connection was just enough to see the Burj Khalifa area and Al Fahidi without stressing about the flight. Any shorter and I&amp;rsquo;d have stayed in the airport.&lt;/li&gt;
&lt;li&gt;Paid for the Ubers on the Wise card, like everything else on this trip.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>NYCGuessr — GeoGuessr with 960 live NYC traffic cameras</title>
      <link>https://aldrinjenson.com/projects/nycguessr/</link>
      <pubDate>Sun, 19 Apr 2026 21:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/projects/nycguessr/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Live:&lt;/strong&gt; &lt;a href=&#34;https://nycguessr.vercel.app&#34;&gt;nycguessr.vercel.app&lt;/a&gt; · &lt;strong&gt;Code:&lt;/strong&gt; &lt;a href=&#34;https://github.com/aldrinjenson/nycguessr&#34;&gt;github.com/aldrinjenson/nycguessr&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/nycguessr/og.png&#34; width=700 alt=&#34;NYCGuessr social preview card — yellow on black, taxi-cab aesthetic&#34;&gt;
&lt;p&gt;A GeoGuessr-style game using 960 live NYC DOT traffic cameras. You see a real-time feed, drop a pin on the map where you think it is, closer guesses score more. 5 rounds, 40 seconds each.&lt;/p&gt;
&lt;p&gt;The magic is that the feeds are genuinely live — every round has different cars, different weather, different pedestrians. A round at 3 AM looks nothing like rush hour. The halal cart you see on-screen might still be parked there when you look out the window.&lt;/p&gt;
&lt;p&gt;This is the full story of how it got built, how it launched, how it broke, and how it got patched up.&lt;/p&gt;
&lt;h2 id=&#34;the-spark&#34;&gt;The spark&lt;/h2&gt;
&lt;p&gt;A few days before I built this, I was looking for something else entirely. I vaguely remembered a site that let you &amp;ldquo;take a photo from any NYC traffic light&amp;rdquo; and went searching for it. What I found was &lt;a href=&#34;https://trafficcamphotobooth.com&#34;&gt;Traffic Cam Photobooth&lt;/a&gt; by &lt;a href=&#34;https://wttdotm.com&#34;&gt;Morry Kolman&lt;/a&gt; — a static site that turns NYC DOT&amp;rsquo;s public traffic camera feeds into a personal photo booth. 900+ cameras, a map, one-tap snapshots.&lt;/p&gt;
&lt;p&gt;Playing with it, the obvious question was &lt;em&gt;how on earth does this work?&lt;/em&gt; Poking at the page with Chrome dev tools turned up the answer: &lt;strong&gt;there&amp;rsquo;s no special API&lt;/strong&gt;. The page hits an unauthenticated endpoint on &lt;code&gt;webcams.nyctmc.org&lt;/code&gt; that returns a JSON list of cameras and then loads individual JPEGs by UUID. The feeds themselves are served by NYC DOT as part of their civic-information mandate — the same feeds that run on NYC cable Channel 72.&lt;/p&gt;
&lt;p&gt;That realization reframed 960 traffic cameras from &amp;ldquo;infrastructure you can&amp;rsquo;t access&amp;rdquo; to &amp;ldquo;JSON file + plain &lt;code&gt;&amp;lt;img loading=&amp;quot;lazy&amp;quot; decoding=&amp;quot;async&amp;quot;&amp;gt;&lt;/code&gt; tags.&amp;rdquo; A free substrate to build on.&lt;/p&gt;
&lt;p&gt;(I only learned later that Morry had &lt;a href=&#34;https://wttdotm.com/blog/tcpb_part_2.html&#34;&gt;written up the same discovery in detail&lt;/a&gt; — which is a much better explanation than this blog post. If you&amp;rsquo;re interested in the mechanics, read his post.)&lt;/p&gt;
&lt;p&gt;I brainstormed what else could live on top of it. An Obsidian plugin that auto-captures the nearest-intersection camera view into today&amp;rsquo;s note. A 900-camera video wall as a screensaver. A commute predictor that reads multiple cameras on a route to detect congestion 2-3 minutes before Google Maps reacts. A YOLO-powered pedestrian counter for &amp;ldquo;which intersection is busiest at 3 AM?&amp;rdquo;&lt;/p&gt;
&lt;p&gt;But the cleanest idea was &lt;strong&gt;GeoGuessr for NYC&lt;/strong&gt;. Camera gives you the image. Map is the input surface. Distance is the score. And the live feed is the magic — every round is unreproducible because the world is changing in real time.&lt;/p&gt;
&lt;h2 id=&#34;the-build--one-evening&#34;&gt;The build — one evening&lt;/h2&gt;
&lt;p&gt;I opened Claude Code and started with a single &lt;code&gt;index.html&lt;/code&gt;. No framework, no build step, no backend. The whole thing is Leaflet for the map, vanilla JS for the game loop, the browser&amp;rsquo;s Web Audio API for sound effects, and one big &lt;code&gt;cameras.js&lt;/code&gt; (164 KB) with all 960 locations and their image URLs.&lt;/p&gt;
&lt;p&gt;The camera list gets scraped once from &lt;code&gt;webcams.nyctmc.org/api/cameras&lt;/code&gt; — CORS blocks that fetch in the browser, but I don&amp;rsquo;t need to do it in the browser. I pull the list once, commit it to the repo as a &lt;code&gt;window.CAMERAS = [...]&lt;/code&gt; blob, and the game just iterates it. Individual camera images come via &lt;code&gt;webcams.nyctmc.org/api/cameras/{uuid}/image&lt;/code&gt; — CORS doesn&amp;rsquo;t apply to plain &lt;code&gt;&amp;lt;img loading=&amp;quot;lazy&amp;quot; decoding=&amp;quot;async&amp;quot;&amp;gt;&lt;/code&gt; loads, so the browser can fetch them directly.&lt;/p&gt;
&lt;p&gt;The gameplay loop:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Pick 5 random cameras (filtered by borough if the player wants).&lt;/li&gt;
&lt;li&gt;Show the live camera feed (refreshed every 2 seconds via &lt;code&gt;&amp;lt;img loading=&amp;quot;lazy&amp;quot; decoding=&amp;quot;async&amp;quot; src&amp;gt;&lt;/code&gt; cache-busting).&lt;/li&gt;
&lt;li&gt;Let the player drop a pin on the map.&lt;/li&gt;
&lt;li&gt;Score with &lt;code&gt;5000 × exp(-distance_m / 1200)&lt;/code&gt; — so 100m off gets you ~4800 points, 1km gets ~2100, 5km gets basically nothing.&lt;/li&gt;
&lt;li&gt;Show the truth location with a line connecting it to the guess. Do it five times. Sum.&lt;/li&gt;
&lt;/ul&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/nycguessr/gameplay.png&#34; width=700 alt=&#34;NYCGuessr mid-round — live traffic camera feed on the left shows a night-time Manhattan street with headlights and a &#39;Facing North&#39; overlay; the right half is a dark map with a blue guess-pin dropped in Manhattan&#34;&gt;
&lt;p&gt;&lt;em&gt;A round in progress. The left half is the live camera feed (NYC DOT&amp;rsquo;s own timestamp overlay visible); the right half is the guessing map with my pin dropped mid-Manhattan.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;For sound I used Web Audio API oscillators — no audio files bundled. Tones for pin drop, guess submit, &amp;ldquo;nice guess&amp;rdquo; chime, &amp;ldquo;bad guess&amp;rdquo; thunk, countdown ticks, end-game fanfare. The whole SFX layer is ~30 lines of code.&lt;/p&gt;
&lt;p&gt;One detail I&amp;rsquo;m proud of: a 1200×630 PNG &lt;strong&gt;share card&lt;/strong&gt; generated on the fly in &lt;code&gt;&amp;lt;canvas&amp;gt;&lt;/code&gt; at game-end. Yellow accent bar, player name, huge score, colored dot-circles for the 5 rounds, &amp;ldquo;close guesses&amp;rdquo; MTA-style bullet badges, URL footer. &lt;code&gt;canvas.toBlob()&lt;/code&gt; produces a &lt;code&gt;Blob&lt;/code&gt; that gets fed to &lt;code&gt;navigator.share({files:[file]})&lt;/code&gt; on mobile (the native share sheet attaches the image to whatever app the user picks) or &lt;code&gt;ClipboardItem&lt;/code&gt; with &lt;code&gt;image/png&lt;/code&gt; on desktop. No backend, no image server, entirely runtime.&lt;/p&gt;
&lt;p&gt;A surprise during development: ~148 of the 960 cameras have NYC DOT internal route codes as names instead of human intersections — things like &lt;code&gt;C1-MDE-12-SB_at_Heath_Ave-Ex9&lt;/code&gt;. I wrote a small lookup table covering ~35 highway/bridge codes (BQE, LIE, MDE, FDR, HHP, etc.) and a prettifier that turns that into &lt;strong&gt;&amp;ldquo;Major Deegan Expwy · SB @ Heath Ave · Exit 9&amp;rdquo;&lt;/strong&gt;. Cameras with plain names (&lt;code&gt;&amp;quot;Hillside Ave @ Little Neck Pkwy&amp;quot;&lt;/code&gt;) pass through untouched.&lt;/p&gt;
&lt;p&gt;The whole app came out to roughly 1,100 lines of HTML + CSS + JS, one CDN dependency (Leaflet), one JSON file. No build step. Deployed it with a single &lt;code&gt;vercel --prod --yes&lt;/code&gt;, then wired GitHub auto-deploy so every &lt;code&gt;git push origin main&lt;/code&gt; ships to &lt;code&gt;nycguessr.vercel.app&lt;/code&gt; in about 15 seconds.&lt;/p&gt;
&lt;h2 id=&#34;the-launch--a-mod-takedown-with-hundreds-of-visitors-trailing-behind&#34;&gt;The launch — a mod takedown with hundreds of visitors trailing behind&lt;/h2&gt;
&lt;p&gt;I posted to r/nyc. Honest title: &lt;em&gt;&amp;ldquo;I made a game where you guess the NYC intersection from a live traffic camera.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It landed. 77 upvotes, 17 comments in a few hours. People were genuinely into it — one person wondered if &amp;ldquo;it&amp;rsquo;ll be easier tomorrow when it&amp;rsquo;s not raining&amp;rdquo; (confirming the live-feed thesis was working). Others asked for a thicker reveal line à la GeoGuessr. Someone wanted the timer to be more visible. Someone else hit a &amp;ldquo;This Camera Is Being Serviced&amp;rdquo; placeholder screen. Another asked for miles/blocks instead of meters — and suggested &lt;em&gt;&amp;ldquo;even better: measure it in city blocks.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then the post got removed. &amp;ldquo;Sorry, this post has been removed by the moderators of r/nyc.&amp;rdquo; Classic r/nyc anti-self-promo policy — it doesn&amp;rsquo;t matter how much the community is enjoying your thing, if you made it and linked to it, it&amp;rsquo;s out.&lt;/p&gt;
&lt;p&gt;But — and this is the funny part — the post did its job in the window it had. The first ~20 hours after launch brought &lt;strong&gt;713 unique visitors, 1,113 page views, and 421 of those referrals came from various Reddit domains&lt;/strong&gt; (reddit.com, out.reddit.com, old.reddit.com, com.reddit.frontpage) before and after the takedown. Mobile was 87% of traffic, iOS 64%, Android 23% — matching NYC demographics almost exactly.&lt;/p&gt;
&lt;p&gt;A surprise in the referrer list: &lt;strong&gt;11 visitors from news.ycombinator.com.&lt;/strong&gt; I hadn&amp;rsquo;t posted to HN yet, so someone else had surfaced it there. A small number, but a real signal that the kind of audience I&amp;rsquo;d been drafting for had found it organically before I got around to the formal Show HN.&lt;/p&gt;
&lt;p&gt;Reddit&amp;rsquo;s own &amp;ldquo;suggested alternative communities&amp;rdquo; helpfully pointed me at r/WebGames and r/IndieGaming (subs explicitly built for this) which I hadn&amp;rsquo;t considered. In retrospect, the takedown was a gift — it redirected me toward the audiences that actually wanted this kind of post.&lt;/p&gt;
&lt;h2 id=&#34;the-bug-i-couldnt-have-found-myself&#34;&gt;The bug I couldn&amp;rsquo;t have found myself&lt;/h2&gt;
&lt;p&gt;Within 24 hours, some friends in India messaged me saying the game didn&amp;rsquo;t work — the cameras weren&amp;rsquo;t loading.&lt;/p&gt;
&lt;p&gt;I tested on my laptop. Worked fine. I tested on cellular. Worked fine. Everything worked from New York.&lt;/p&gt;
&lt;p&gt;Then I opened Firefox dev tools on a friend&amp;rsquo;s VPN routed to Beijing and watched the network panel fill up with &lt;code&gt;NS_BINDING_ABORTED&lt;/code&gt; entries for every &lt;code&gt;webcams.nyctmc.org&lt;/code&gt; request. The Vercel-hosted HTML loaded. The Carto basemap tiles loaded. But every camera image request died silently — 0 bytes transferred, TLS connection reset.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NYC DOT geo-blocks the camera endpoint.&lt;/strong&gt; Not a CDN policy. Not rate limiting. A hard US-only policy, enforced by the TLS layer, with no error message. My site was quietly broken for every international player.&lt;/p&gt;
&lt;p&gt;I fixed it with a 15-line Vercel serverless function at &lt;code&gt;/api/cam/[uuid].js&lt;/code&gt; that fetches the image server-side (Vercel egresses from a US IP, so the geo-block doesn&amp;rsquo;t apply) and streams the JPEG back. The client-side URL got rewritten from &lt;code&gt;webcams.nyctmc.org/api/cameras/{uuid}/image&lt;/code&gt; to &lt;code&gt;/api/cam/{uuid}&lt;/code&gt; at runtime — &lt;code&gt;cameras.js&lt;/code&gt; stayed untouched.&lt;/p&gt;
&lt;p&gt;One detail matters here: the original code appended &lt;code&gt;?t=&#39; + Date.now()&lt;/code&gt; to bust the browser&amp;rsquo;s image cache. If I&amp;rsquo;d left that through the proxy naively, every user&amp;rsquo;s every refresh would invoke the function and hammer NYC DOT — wasting bandwidth and making a much bigger footprint than the old direct-hit pattern. The fix is to &lt;strong&gt;quantize the timestamp&lt;/strong&gt; to the refresh window: &lt;code&gt;?t=&#39; + Math.floor(Date.now() / REFRESH_MS)&lt;/code&gt;. Now all viewers of the same camera within the same 2-second window request an identical URL, Vercel&amp;rsquo;s edge CDN serves a cached response, and only &lt;em&gt;one&lt;/em&gt; NYC DOT fetch happens per camera per 2s regardless of concurrent player count.&lt;/p&gt;
&lt;p&gt;I don&amp;rsquo;t think I would have found this bug on my own. The only thing that surfaced it was a real player saying &amp;ldquo;this doesn&amp;rsquo;t work.&amp;rdquo; A reminder that launches benefit from people outside your testing context even when — especially when — they break things.&lt;/p&gt;
&lt;h2 id=&#34;patching-up-the-game-from-reddit-feedback&#34;&gt;Patching up the game from Reddit feedback&lt;/h2&gt;
&lt;p&gt;The Reddit thread was a goldmine. After the takedown I went through every comment and sorted them by upvotes. A weekend&amp;rsquo;s worth of polish fell out:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The reveal screen was hidden.&lt;/strong&gt; Three independent complaints: &amp;ldquo;should show the line between guess &amp;amp; actual&amp;rdquo; / &amp;ldquo;kinda does but it&amp;rsquo;s in the background and blurred, near useless&amp;rdquo; / &amp;ldquo;can&amp;rsquo;t see where my guess is in relation.&amp;rdquo; GeoGuessr&amp;rsquo;s line-to-truth reveal is the iconic dopamine moment. I&amp;rsquo;d built it and hidden it. Fix: full split-screen reveal with the map on top (GeoGuessr-style), thicker yellow dashed line, pins bumped from 18px to 22px with floating &amp;ldquo;YOU&amp;rdquo; and &amp;ldquo;ACTUAL&amp;rdquo; labels above each one.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/nycguessr/reveal.png&#34; width=700 alt=&#34;Reveal screen — top half is a dark map showing a yellow dashed line connecting a blue &#39;YOU&#39; pin in midtown Manhattan to a yellow &#39;ACTUAL&#39; pin further uptown near the river; bottom panel shows &#39;1.48 mi away&#39;, &#39;2 Ave @ 58 St&#39;, &#39;+685 points&#39;, and a &#39;Next round&#39; button&#34;&gt;
&lt;p&gt;&lt;em&gt;Reveal after a round — the dashed yellow line shows the distance between where I dropped my pin and where the camera actually was.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The timer was invisible until too late.&lt;/strong&gt; One commenter lost points from not realizing time was running out. I rewrote the timer to pulse from second one, with three tiers: yellow default (&amp;gt;15s), amber faster-pulse warn (≤15s), flashing red with a lower-tone sound at the critical tier (≤5s). Also bumped round length from 30s → 40s so mobile players who need to zoom/pan have more breathing room.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Meters and kilometers were wrong for the audience.&lt;/strong&gt; The right fallback here is feet and miles, not meters. I almost got clever and tried to add NYC-blocks as a unit, but that rabbit hole turned out deeper than expected. Manhattan&amp;rsquo;s grid is tilted ~29° from true north. Short blocks (N-S) are ~80m but avenue blocks (E-W) range from 600 to 900 feet depending on where you are. Heuristic decomposition can&amp;rsquo;t match the navigational count a local does in their head (&amp;ldquo;2 streets south + 1 avenue west = 3 blocks&amp;rdquo;) without genuine grid-walking logic, which is out of scope. Settled on miles + feet — clear, correct, universally understood.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Dead cameras were ruining rounds.&lt;/strong&gt; One commenter hit the NYC DOT &amp;ldquo;This Camera Is Being Serviced&amp;rdquo; placeholder and lost points on it. No flag in the API response says &amp;ldquo;this is a placeholder.&amp;rdquo; I had to detect it client-side. The approach I landed on: sample the first loaded frame into a tiny 30×30 offscreen canvas, measure RGB variance across the pixels. Real feeds have lots of color variation from cars, buildings, sky, people — they routinely score between 3,000 and 30,000. Flat service screens are near-monochrome and score under 700. If a camera trips the threshold, I blacklist its UUID in &lt;code&gt;localStorage&lt;/code&gt; and swap in a fresh camera mid-round. The blacklist persists across sessions, so a player never sees the same dead feed twice.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tap-to-zoom on the camera feed.&lt;/strong&gt; Someone wanted higher resolution for distant bus numbers and street signs. I can&amp;rsquo;t upscale what NYC DOT gives me, but I can let you zoom into it — click anywhere on the camera pane, it scales 2.2× centered on the click point. Click again to reset.&lt;/p&gt;
&lt;p&gt;The polish pass was ~316 lines of diff — about 4 hours of work.&lt;/p&gt;
&lt;h2 id=&#34;what-i-learned-about-distribution&#34;&gt;What I learned about distribution&lt;/h2&gt;
&lt;p&gt;After the r/nyc takedown I drafted reposts to the subs Reddit actually pointed me at — r/WebGames, r/IndieGaming, r/newyorkcity, r/InternetIsBeautiful, r/webdev, Show HN, Twitter.&lt;/p&gt;
&lt;p&gt;A surprisingly large number of them have automatic filters that catch what appear to be self-promo patterns. r/newyorkcity&amp;rsquo;s AI pre-check caught even a carefully-worded text post where the URL was deferred to the first comment. r/InternetIsBeautiful — which I thought was an obvious fit — turns out to have an explicit &lt;strong&gt;Rule 3: No Webgames.&lt;/strong&gt; They removed that category from the sub after the Wordle-clone flood years ago.&lt;/p&gt;
&lt;p&gt;Both of those turned into useful data. The lesson I took away: a sub&amp;rsquo;s &lt;strong&gt;stated&lt;/strong&gt; rules are a small fraction of its &lt;strong&gt;enforced&lt;/strong&gt; rules, and automated filters now do most of the enforcement. Fighting through them is low-ROI when there are other subs whose charter explicitly matches your thing.&lt;/p&gt;
&lt;p&gt;Where you post matters more than how you frame it.&lt;/p&gt;
&lt;h2 id=&#34;where-things-stand&#34;&gt;Where things stand&lt;/h2&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/nycguessr/gameover.png&#34; width=600 alt=&#34;Game-over screen showing 1,180 out of 25,000 points, a per-round breakdown with distances and points, and an auto-generated share card with circles indicating round quality plus Share / Download PNG / Twitter / Reddit / Copy buttons&#34;&gt;
&lt;p&gt;&lt;em&gt;Final screen — round breakdown, auto-generated PNG share card, and share buttons. The card below the score is what gets posted when you tap Share.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The game is live. Live feeds work in every country now. The reveal screen is actually legible. The timer is hard to miss. Dead cameras auto-swap. Tap-to-zoom works.&lt;/p&gt;
&lt;p&gt;Twitter post shipped. r/webdev shipped. Show HN drafted (someone else got there first organically, but a formal Show HN is still worth posting during a weekday-morning slot). r/WebGames still on the to-do.&lt;/p&gt;
&lt;p&gt;Honestly, even if the game doesn&amp;rsquo;t get another burst of traffic, the experience has already been worth it. Started from Morry&amp;rsquo;s blog post, ended with working infrastructure I understand top to bottom: a live-image pipeline through a Vercel proxy, a variance-based placeholder detector, a canvas-generated share card, and 900-ish lines of browser code that doesn&amp;rsquo;t need npm to run. Plus concrete lessons about launch mechanics that I wouldn&amp;rsquo;t have gotten from reading about them.&lt;/p&gt;
&lt;p&gt;If you play it and your score feels bad, borough-filter to your home turf and try again. Cabbies and lifers should clean up. The rest of us get to learn just how similar a random BQE stretch looks to a random Queens boulevard.&lt;/p&gt;
&lt;p&gt;Code&amp;rsquo;s open at &lt;a href=&#34;https://github.com/aldrinjenson/nycguessr&#34;&gt;github.com/aldrinjenson/nycguessr&lt;/a&gt;. PRs welcome, especially for the dead-camera variance threshold and the route-code prettifier.&lt;/p&gt;
&lt;p&gt;Huge thanks to &lt;a href=&#34;https://wttdotm.com&#34;&gt;Morry Kolman&lt;/a&gt; for both the original Traffic Cam Photobooth and the write-up that showed me how it worked. Without that blog post this wouldn&amp;rsquo;t exist.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Edinburgh, in a day and a half</title>
      <link>https://aldrinjenson.com/travel/edinburgh/</link>
      <pubDate>Wed, 28 Oct 2026 01:10:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/edinburgh/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Edinburgh, Scotland · Oct 26–27, 2026 · solo · on the way from London to India&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I added Edinburgh to the end of a work week in London (&lt;a href=&#34;https://aldrinjenson.com/travel/london/&#34;&gt;that post is here&lt;/a&gt;) for one simple reason: I could fly to India from there instead of going back through London. I arrived on Monday evening and flew out on Tuesday night. It wasn&amp;rsquo;t much time. It was enough to fall a little bit in love with the place.&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/edinburgh/castle-skyline.jpg&#34; width=700 alt=&#34;Aldrin on a terrace with Edinburgh Castle and the Old Town skyline behind him in bright sun&#34;&gt;
&lt;p&gt;&lt;em&gt;Edinburgh Castle and the Old Town behind me.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;getting-there&#34;&gt;Getting there&lt;/h2&gt;
&lt;p&gt;I came up by train from Norwich on Monday afternoon and got in that evening, to a cosy little Airbnb room I&amp;rsquo;d only booked the night before, from my cousin&amp;rsquo;s place in Norwich. It was on a special offer, so one night came to about $105. The host was a guy called Baz, and there was a cat.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/edinburgh/airbnb-cat.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The Airbnb cat.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;the-ghost-bus-monday-night&#34;&gt;The ghost bus (Monday night)&lt;/h2&gt;
&lt;p&gt;That first night I booked a &lt;strong&gt;ghost bus tour&lt;/strong&gt; half an hour before it left, for the 10:30 PM run from George IV Bridge. It&amp;rsquo;s more comedy than history: funny stories told in a spooky voice, on an old black double-decker. The best part was seeing the city lit up at night.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/edinburgh/ghost-bus.jpg&#34; width=700 alt=&#34;The black Ghost Bus Tours double-decker at night with red curtains in the windows&#34;&gt;
&lt;p&gt;&lt;em&gt;The ghost bus.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/edinburgh/castle-night.jpg&#34; width=700 alt=&#34;Edinburgh Castle lit orange on its rock at night&#34;&gt;
&lt;p&gt;&lt;em&gt;The castle lit up at night.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;the-walking-tour-tuesday-morning&#34;&gt;The walking tour (Tuesday morning)&lt;/h2&gt;
&lt;p&gt;The next morning at 11 I did a &lt;strong&gt;&amp;ldquo;free&amp;rdquo; walking tour&lt;/strong&gt;. It isn&amp;rsquo;t really free: you pay what you think it was worth at the end, and I paid £25 without hesitating. Two hours, and the best thing I did in Edinburgh. The guide talked non-stop about the writers who lived here, and I wish I&amp;rsquo;d recorded it. Things I learned, or at least what stuck:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It&amp;rsquo;s a &lt;strong&gt;UNESCO City of Literature&lt;/strong&gt;, the first in the world, and the Old Town and New Town together are a World Heritage Site. J. K. Rowling wrote Harry Potter here. &lt;strong&gt;Robert Louis Stevenson&lt;/strong&gt; was born here, and he wrote &lt;em&gt;Treasure Island&lt;/em&gt; and &lt;em&gt;Dr Jekyll and Mr Hyde&lt;/em&gt; (I was right about that one). &lt;strong&gt;Adam Smith&lt;/strong&gt;, the economist, lived and is buried here.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The debt story.&lt;/strong&gt; Scotland lost a fortune on a failed colony scheme and was in serious debt. Joining England in the 1707 Union wiped that out, and money later went into building the elegant &lt;strong&gt;New Town&lt;/strong&gt;, separate from the medieval &lt;strong&gt;Old Town&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The dark stuff.&lt;/strong&gt; The medical school needed bodies, so people stole corpses from graves (the famous body-snatchers). Thousands of people were accused of witchcraft, and there were a lot of executions. The guide said a fair amount of Game of Thrones borrowed from this history.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Harry Potter everywhere.&lt;/strong&gt; We walked down &lt;strong&gt;Victoria Street&lt;/strong&gt;, which supposedly inspired Diagon Alley, and passed the &lt;strong&gt;Elephant House café&lt;/strong&gt;. According to the guide, several cafés claim to be where Rowling wrote, and only one is the real one. The tour ended at the graveyard where a &lt;strong&gt;Thomas Riddell&lt;/strong&gt; is buried, supposedly where the name Tom Riddle came from, but we never actually found the grave.&lt;/li&gt;
&lt;li&gt;We stopped at the &lt;strong&gt;Scott Monument&lt;/strong&gt; (the giant Gothic spire for Sir Walter Scott) and at &lt;strong&gt;Robert Burns&lt;/strong&gt;, and passed a courtyard with the &lt;strong&gt;handprints of famous people&lt;/strong&gt; set into stone.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;castle&lt;/strong&gt; sits on top of an old volcano. It erupted, went dormant, and then glaciers in the Ice Age carved the rock into the cliff it stands on now. Once you know that, you can&amp;rsquo;t stop seeing it.&lt;/li&gt;
&lt;/ul&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/edinburgh/elephant-house.jpg&#34; width=700 alt=&#34;The red front of The Elephant House café, with birthplace of Harry Potter written on the window&#34;&gt;
&lt;p&gt;&lt;em&gt;The Elephant House. One of several cafés that claim the title.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/edinburgh/greyfriars-bobby.jpg&#34; width=450 alt=&#34;The Greyfriars Bobby sign with a painting of the little terrier&#34;&gt;
&lt;p&gt;&lt;em&gt;Greyfriars Bobby, the loyal dog.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/edinburgh/handprints.jpg&#34; width=450 alt=&#34;Handprints and signatures set into a stone pavement&#34;&gt;
&lt;p&gt;&lt;em&gt;Handprints of famous people set into the stone.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;walking-around&#34;&gt;Walking around&lt;/h2&gt;
&lt;p&gt;After the tour I mostly just walked. I saw the castle from outside (I didn&amp;rsquo;t go in), went through the &lt;strong&gt;National Museum of Scotland&lt;/strong&gt;, which I enjoyed, and down the &lt;strong&gt;Royal Mile&lt;/strong&gt;, then the cosy little shops and the curve of &lt;strong&gt;Victoria Street&lt;/strong&gt;. I went into &lt;strong&gt;St Giles&amp;rsquo; Cathedral&lt;/strong&gt;, which is huge inside, and prayed.&lt;/p&gt;
&lt;p&gt;On the street, a performer was balancing and spinning on top of a &lt;em&gt;moving staircase&lt;/em&gt;. I still don&amp;rsquo;t fully understand how. For lunch I had &lt;strong&gt;haggis&lt;/strong&gt; at a place on the Royal Mile. It was a bit soggy, but honestly fine. Coming from Kerala, I&amp;rsquo;m used to food like that. I bought socks, and a bag to carry some things I was taking home for someone.&lt;/p&gt;
&lt;p&gt;At some point I texted home, &lt;em&gt;&amp;ldquo;I can&amp;rsquo;t believe I&amp;rsquo;m in Scotland.&amp;rdquo;&lt;/em&gt; I really couldn&amp;rsquo;t.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/edinburgh/castle-esplanade.jpg&#34; width=450 alt=&#34;Aldrin standing on the castle esplanade with Edinburgh Castle behind him&#34;&gt;
&lt;p&gt;&lt;em&gt;On the castle esplanade.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/edinburgh/st-giles.jpg&#34; width=450 alt=&#34;The crown spire and front of St Giles Cathedral with a statue in front&#34;&gt;
&lt;p&gt;&lt;em&gt;St Giles&amp;rsquo; Cathedral on the Royal Mile.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/edinburgh/st-giles-inside.jpg&#34; width=450 alt=&#34;The vaulted interior of St Giles Cathedral with stained glass&#34;&gt;
&lt;p&gt;&lt;em&gt;Inside St Giles&amp;rsquo;.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/edinburgh/royal-mile.jpg&#34; width=450 alt=&#34;The Royal Mile in the sun, with the Mercat Cross column and the arches of the City Chambers&#34;&gt;
&lt;p&gt;&lt;em&gt;The Mercat Cross and the City Chambers on the Royal Mile. The handprints are in that courtyard.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;what-i-made-of-it&#34;&gt;What I made of it&lt;/h2&gt;
&lt;p&gt;Edinburgh looks like &lt;strong&gt;Winterfell&lt;/strong&gt;, the Stark family&amp;rsquo;s castle in &lt;em&gt;Game of Thrones&lt;/em&gt;. Old stone, dark spires, a castle on a rock above everything. I saw it at night, in the rain and in daylight, and it was beautiful all three ways. I loved the Scottish accent.&lt;/p&gt;
&lt;p&gt;It was also the &lt;strong&gt;windiest place I&amp;rsquo;ve ever been.&lt;/strong&gt; At one point the wind was pushing my legs into each other as I walked.&lt;/p&gt;
&lt;p&gt;I only had a day and a half, and I wish I&amp;rsquo;d had more. Next time I want to climb &lt;strong&gt;Calton Hill&lt;/strong&gt; and &lt;strong&gt;Arthur&amp;rsquo;s Seat&lt;/strong&gt;, which I didn&amp;rsquo;t have time for. I took a work call from the airport, got on a plane to Dubai, and felt really grateful that this is a thing I get to do now.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Thing&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Train from Norwich&lt;/td&gt;
&lt;td&gt;£65.84&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Airbnb room, one night&lt;/td&gt;
&lt;td&gt;$104.85&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ghost bus tour&lt;/td&gt;
&lt;td&gt;£21.50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&amp;ldquo;Free&amp;rdquo; walking tour&lt;/td&gt;
&lt;td&gt;£25 tip to the guide&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;St Giles&amp;rsquo; Cathedral&lt;/td&gt;
&lt;td&gt;£12&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lunch at the Filling Station, Royal Mile&lt;/td&gt;
&lt;td&gt;£9.33&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Luggage storage (Bounce)&lt;/td&gt;
&lt;td&gt;£14.57&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Edinburgh Castle, inside&lt;/td&gt;
&lt;td&gt;next time&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Calton Hill, Arthur&amp;rsquo;s Seat&lt;/td&gt;
&lt;td&gt;next time (free)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Everything paid on the Wise card, as with the rest of the trip.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>London, on a work trip</title>
      <link>https://aldrinjenson.com/travel/london/</link>
      <pubDate>Wed, 28 Oct 2026 01:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/london/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; London (+ a Sunday in Norwich) · Oct 17–25, 2026 · a work week with coworkers, the weekends mostly solo · one backpack and a carry-on&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This was a work trip first. A week at a client&amp;rsquo;s office in Canary Wharf. Everything else here happened around that: the first weekend before the others arrived, the evenings, and whatever I could squeeze into the last day. I kept reminding myself that the work was the point. If the week went well, the rest would be a bonus. It went well.&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/london/parliament-sunset.jpg&#34; width=700 alt=&#34;The Houses of Parliament and Big Ben across the Thames at sunset, with clouds lit gold&#34;&gt;
&lt;p&gt;&lt;em&gt;Parliament at sunset on my first day, after almost no sleep.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;day-one-straight-off-the-plane-sat-oct-17&#34;&gt;Day one, straight off the plane (Sat Oct 17)&lt;/h2&gt;
&lt;p&gt;I landed at Heathrow around 9 AM after a red-eye where I didn&amp;rsquo;t sleep at all. Immigration was nearly empty, and I was through in minutes. I took the Elizabeth line and changed once for Waterloo. Then I overshot by a stop and had to drag my suitcase back the other way until I worked out the direction. After that I got the hang of it. The carriages are smaller than New York&amp;rsquo;s, and it took me a minute to read the map, but it&amp;rsquo;s an easy system once it clicks.&lt;/p&gt;
&lt;p&gt;Down in the Elizabeth line station, a busker with a little puppet band was playing to the tunnel.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/london/tube-busker.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;A busker and his puppet band in the Elizabeth line tunnel.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;My first proper London meal was &lt;strong&gt;fish and chips&lt;/strong&gt;, right by the station.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/fish-and-chips.jpg&#34; width=450 alt=&#34;A plate of fish and chips with a coffee cup on a café table&#34;&gt;
&lt;p&gt;&lt;em&gt;First meal in London.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then I left my bag at Waterloo and walked. Outside County Hall there was a giant Paddington Bear suitcase bench. Past the London Eye, over to Westminster for the Big Ben photo, and into &lt;strong&gt;Westminster Abbey&lt;/strong&gt;.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/paddington-bench.jpg&#34; width=700 alt=&#34;A giant Paddington Bear suitcase bench reading Wanted on Voyage&#34;&gt;
&lt;p&gt;&lt;em&gt;Paddington, near Waterloo.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I had to leave the Abbey earlier than I wanted because some pilgrimage event was starting, but I loved the chandeliers. It&amp;rsquo;s one of those places where you can feel the weight of everything that&amp;rsquo;s happened in it, and I stood there and said a prayer.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/westminster-abbey.jpg&#34; width=450 alt=&#34;Aldrin standing in front of the twin towers of Westminster Abbey under a blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Outside Westminster Abbey, before going in.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then I took a hop-on bus loop. From the top deck I got the London Eye, and later Tower Bridge with HMS Belfast parked in front of it.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/london-eye.jpg&#34; width=450 alt=&#34;The London Eye over the Thames with the South Bank buildings&#34;&gt;
&lt;p&gt;&lt;em&gt;The London Eye from the bus loop.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;A fun fact I picked up that day: the famous bridge with the two towers is &lt;strong&gt;Tower Bridge&lt;/strong&gt;. London Bridge is a different, much plainer one a little upstream.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/tower-bridge.jpg&#34; width=450 alt=&#34;Tower Bridge over the Thames with HMS Belfast moored in front&#34;&gt;
&lt;p&gt;&lt;em&gt;Tower Bridge, with HMS Belfast in front.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I got off at &lt;strong&gt;Buckingham Palace&lt;/strong&gt; and walked into the parks. I sat in Hyde Park for a while. It&amp;rsquo;s huge and full of trees. I guessed it was bigger than Central Park, but I looked it up later and it isn&amp;rsquo;t. What I noticed most was the pace. &lt;strong&gt;People walk slower here.&lt;/strong&gt; People were jogging, actually &lt;em&gt;jogging&lt;/em&gt;, slowly, as exercise, not running the way everyone runs in New York. The whole city felt a notch quieter.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/park.jpg&#34; width=700 alt=&#34;A long reflecting pool in a London park lined with autumn trees&#34;&gt;
&lt;p&gt;&lt;em&gt;One of the royal parks on day one. Huge, green, and slow.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Next was &lt;strong&gt;Trafalgar Square&lt;/strong&gt;, which had giant NFL helmet statues everywhere for the London games, and the &lt;strong&gt;National Gallery&lt;/strong&gt;. Inside, I ended up in front of Van Gogh&amp;rsquo;s &lt;em&gt;Farms near Auvers&lt;/em&gt;, painted a few weeks before he died. I bought a London magnet on the way out.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/van-gogh.jpg&#34; width=700 alt=&#34;Van Gogh painting Farms near Auvers in a gilt frame at the National Gallery&#34;&gt;
&lt;p&gt;&lt;em&gt;Van Gogh, &lt;em&gt;Farms near Auvers&lt;/em&gt;, at the National Gallery.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Some small things I clocked on day one:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Everyone says &lt;strong&gt;toilet&lt;/strong&gt;, not restroom. &lt;strong&gt;Rubbish&lt;/strong&gt;, not trash.&lt;/li&gt;
&lt;li&gt;There are &lt;strong&gt;almost no public bins&lt;/strong&gt;. I carried an empty coffee cup for ages and finally threw it away inside a different café. And yet the streets were clean. I still don&amp;rsquo;t fully get how.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By evening the sun was going down behind Parliament, and I got the photo at the top of this post from the river. Chipotle for dinner, and I was asleep by 9 PM after about five bad nights in a row.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/london/parliament-square.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Parliament Square on the first evening.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Sunday I didn&amp;rsquo;t see London at all. I worked the whole day getting ready for the week.&lt;/p&gt;
&lt;h2 id=&#34;the-work-week-oct-1923&#34;&gt;The work week (Oct 19–23)&lt;/h2&gt;
&lt;p&gt;We stayed in Canary Wharf, close to the office, and the mornings looked like this.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/london/east-london-morning.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The morning view over east London.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The days were work, and I&amp;rsquo;ll keep that part short. We spent the week with the client&amp;rsquo;s team, and it ended with a hackathon where each of us mentored a team. &lt;strong&gt;My team won.&lt;/strong&gt; I mostly felt grateful, because I&amp;rsquo;d been nervous about it all week. Lack of sleep was the theme of the week, but I came away feeling it had gone well.&lt;/p&gt;
&lt;p&gt;The evenings were the fun part.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The pub.&lt;/strong&gt; On Monday night we ended up in a West End pub with live music. Around 9 a guy with a guitar started playing, everyone was singing, and I sang and danced along with everyone else. The Americans were the loudest people in the room. Later that night we passed the Palace Theatre, lit up red for &lt;em&gt;Harry Potter and the Cursed Child&lt;/em&gt;.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/cursed-child-theatre.jpg&#34; width=450 alt=&#34;The Palace Theatre lit up red at night with the Harry Potter and the Cursed Child sign&#34;&gt;
&lt;p&gt;&lt;em&gt;The Palace Theatre, home of &lt;em&gt;Harry Potter and the Cursed Child&lt;/em&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Steak, and Dishoom.&lt;/strong&gt; One night was a steakhouse near the office with the whole team. The fillet was fine, but I couldn&amp;rsquo;t chew through it properly and managed about 60%. Another night was &lt;strong&gt;Dishoom&lt;/strong&gt;, the famous Indian place, all of us together.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Shard.&lt;/strong&gt; One evening two coworkers and I walked along the river. We passed the Tower of London at night, with the Shard lit up across the water, and then went up.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/tower-night.jpg&#34; width=700 alt=&#34;The walls of the Tower of London lit up at night&#34;&gt;
&lt;p&gt;&lt;em&gt;The Tower of London at night.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/shard-red-bus.jpg&#34; width=450 alt=&#34;The Shard lit up at night with a red double-decker bus passing below&#34;&gt;
&lt;p&gt;&lt;em&gt;The Shard, and a very London bus.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;At the top we had drinks, took a lot of photos, and had a really good conversation.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/shard-night-view.jpg&#34; width=450 alt=&#34;London lit up at night seen from high up, Tower Bridge visible below&#34;&gt;
&lt;p&gt;&lt;em&gt;The view from up there.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A dinner the client hosted&lt;/strong&gt; on the top floor of their office, with chefs brought in to cook. Appetisers, sides, a main (I think I had salmon). It was a really nice evening with the people we&amp;rsquo;d been working with all week. I skipped the wine, since I don&amp;rsquo;t drink.&lt;/p&gt;
&lt;h2 id=&#34;abba-voyage-fri-oct-23&#34;&gt;ABBA Voyage (Fri Oct 23)&lt;/h2&gt;
&lt;p&gt;The hackathon wrapped up that afternoon, and a coworker took a few of us to &lt;strong&gt;ABBA Voyage&lt;/strong&gt; in East London.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/abba-arena.jpg&#34; width=700 alt=&#34;The ABBA Voyage arena at night with the ABBA logo lit in rainbow colours&#34;&gt;
&lt;p&gt;&lt;em&gt;The ABBA Arena in East London.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Inside, the arena is all lights.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/london/abba-voyage.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Inside the ABBA Arena.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;ABBA isn&amp;rsquo;t actually there. Their &lt;strong&gt;avatars&lt;/strong&gt; perform, on a giant stage, with a live band. I kept thinking &lt;em&gt;is this the future of concerts?&lt;/em&gt; They looked about 95% real. Afterwards I read up on how they did it: the band members did motion capture, and the avatars were de-aged to how they looked in the &amp;rsquo;70s. It was genuinely one of the most interesting things I&amp;rsquo;ve seen at a show. I danced a little, though it&amp;rsquo;s not really a disco set. My favourite was &lt;strong&gt;&amp;ldquo;Knowing Me, Knowing You&amp;rdquo;&lt;/strong&gt;, and of course &lt;strong&gt;&amp;ldquo;Dancing Queen&amp;rdquo;&lt;/strong&gt;. Afterwards people kept dancing at an after-party outside.&lt;/p&gt;
&lt;h2 id=&#34;the-last-two-london-days&#34;&gt;The last two London days&lt;/h2&gt;
&lt;p&gt;On Saturday I did the &lt;strong&gt;Tower of London&lt;/strong&gt; and the &lt;strong&gt;Crown Jewels&lt;/strong&gt;. It was grey and rainy.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/tower-of-london.jpg&#34; width=450 alt=&#34;The White Tower at the Tower of London on a grey, rainy day&#34;&gt;
&lt;p&gt;&lt;em&gt;The White Tower, on a rainy Saturday.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Inside the White Tower is the Line of Kings: rows of royal armour, some of it for horses, including a suit made for a young Prince Henry. There&amp;rsquo;s also a huge dragon sculpture built out of armour pieces.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/tower-armour.jpg&#34; width=450 alt=&#34;Suits of royal armour displayed in a glass case inside the Tower&#34;&gt;
&lt;p&gt;&lt;em&gt;Royal armour inside the Tower.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It was Halloween season, and the moat was full of pumpkins and skeletons.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/tower-pumpkins.jpg&#34; width=700 alt=&#34;Halloween pumpkins and skeletons in the grassy moat of the Tower of London&#34;&gt;
&lt;p&gt;&lt;em&gt;Halloween in the Tower moat.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Afterwards I walked through the West End in the rain: red phone boxes, the Hippodrome, and the giant &lt;em&gt;Les Misérables&lt;/em&gt; front at the Sondheim Theatre, all lit up.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/phone-boxes.jpg&#34; width=450 alt=&#34;Two red telephone boxes on a wet street at night&#34;&gt;
&lt;p&gt;&lt;em&gt;Red phone boxes in the rain.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/les-mis.jpg&#34; width=450 alt=&#34;The Sondheim Theatre lit up with giant Les Misérables posters at night&#34;&gt;
&lt;p&gt;&lt;em&gt;&lt;em&gt;Les Misérables&lt;/em&gt; at the Sondheim Theatre.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;That night a few of us from work met for ramen next to a huge mall by a train station, and there was a &lt;strong&gt;go-karting&lt;/strong&gt; place right next to it. It was my first time, and I came &lt;strong&gt;second, half a second behind a coworker&lt;/strong&gt;. I did not expect to be any good at it.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/go-karting-results.jpg&#34; width=700 alt=&#34;A go-karting leaderboard screen listing Philippe first and Aldrin second&#34;&gt;
&lt;p&gt;&lt;em&gt;The results. Second place, half a second off.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then two of us went up the &lt;strong&gt;Walkie Talkie&lt;/strong&gt; (Sky Garden) for drinks. I had a mocktail, and we talked. It was a really nice evening.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/shard-mocktail.jpg&#34; width=450 alt=&#34;Aldrin smiling with a pink mocktail at a table by the windows of a rooftop bar at night&#34;&gt;
&lt;p&gt;&lt;em&gt;A mocktail on one of the rooftop nights.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;On Sunday morning, before my train to Norwich, I did the &lt;strong&gt;British Museum&lt;/strong&gt;. The Great Court with its glass roof is the first thing you see.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/british-museum.jpg&#34; width=700 alt=&#34;The British Museum Great Court with its glass roof and crowds below&#34;&gt;
&lt;p&gt;&lt;em&gt;The Great Court.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Inside I saw the &lt;em&gt;Discobolus&lt;/em&gt; (the discus thrower) and the Nereid Monument, a whole Greek temple front rebuilt indoors. I&amp;rsquo;d taken my sleep tablets too early the night before and woke up late, so I was half-asleep for some of it.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/discobolus.jpg&#34; width=450 alt=&#34;The marble Discobolus statue of a discus thrower&#34;&gt;
&lt;p&gt;&lt;em&gt;The Discobolus.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Waking up late also meant I ran out of time for &lt;strong&gt;St Paul&amp;rsquo;s Cathedral&lt;/strong&gt;, which is the one thing I wish I&amp;rsquo;d seen. On the way to the train at Liverpool Street I stopped at &lt;strong&gt;Hamleys&lt;/strong&gt; to pick up gifts for my cousin&amp;rsquo;s little boy: a red London bus and a colouring book.&lt;/p&gt;
&lt;h2 id=&#34;norwich-sun-oct-25&#34;&gt;Norwich (Sun Oct 25)&lt;/h2&gt;
&lt;p&gt;On the Sunday I took the train out to &lt;strong&gt;Norwich&lt;/strong&gt; to see my cousin Amrutha chechi, her husband Suvin, and their little boy, Ezekiel. I got in late, so we just talked over home-cooked food and went to sleep. The next morning we went to church at &lt;strong&gt;Norwich Cathedral&lt;/strong&gt;, which is about 900 years old.&lt;/p&gt;
&lt;p&gt;Out of the train window on the way:&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/london/train-to-norwich.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Countryside from the train to Norwich.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/london/norwich-cathedral.jpg&#34; width=450 alt=&#34;The vaulted stone ceiling and nave of Norwich Cathedral&#34;&gt;
&lt;p&gt;&lt;em&gt;Inside Norwich Cathedral.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then we had lunch at a café. I&amp;rsquo;d brought Ezekiel the red bus and the colouring book, and he &lt;strong&gt;cried when I left&lt;/strong&gt;. It was the warmest part of the trip. Then I took a train north to Edinburgh, which is &lt;a href=&#34;https://aldrinjenson.com/travel/edinburgh/&#34;&gt;its own post&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;what-i-made-of-london&#34;&gt;What I made of London&lt;/h2&gt;
&lt;p&gt;London grew on me over the week. It&amp;rsquo;s slower and quieter, the parks are enormous, and there&amp;rsquo;s history on every corner. It has the pubs, and the rooftops where a drink doesn&amp;rsquo;t cost a fortune. It&amp;rsquo;s now firmly my &lt;strong&gt;second-favourite city&lt;/strong&gt;, after New York. It&amp;rsquo;s a great city to visit, and New York is still home for me. My ranking so far:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;New York&lt;/li&gt;
&lt;li&gt;London&lt;/li&gt;
&lt;li&gt;Barcelona and Edinburgh, which are too different to compare&lt;/li&gt;
&lt;li&gt;Berlin&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;(If I count US cities, LA goes above Barcelona, and Chicago just below LA.)&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Wise card for everything.&lt;/strong&gt; I paid for the whole trip (London, then Scotland, Dubai and India) with my Wise card. I didn&amp;rsquo;t carry any cash, didn&amp;rsquo;t exchange money, and it never caused a problem. I was really happy with it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Sleep.&lt;/strong&gt; I pushed through the week on very little of it, and paid for it with a foggy museum day. Next time I won&amp;rsquo;t take sleep tablets that early.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Still to see:&lt;/strong&gt; St Paul&amp;rsquo;s, properly.&lt;/li&gt;
&lt;/ul&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Thing&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Big Bus hop-on tour&lt;/td&gt;
&lt;td&gt;£42.49&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tower of London&lt;/td&gt;
&lt;td&gt;£38&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rooftop drink (Shard / Walkie Talkie)&lt;/td&gt;
&lt;td&gt;~£12–14 each&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Train to Norwich (with a railcard)&lt;/td&gt;
&lt;td&gt;£71.20&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;London magnet, National Gallery&lt;/td&gt;
&lt;td&gt;the obligatory one&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Everything else&lt;/td&gt;
&lt;td&gt;paid on the Wise card&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</description>
    </item>
    
    <item>
      <title>Bear Mountain in the fall</title>
      <link>https://aldrinjenson.com/travel/bear-mountain/</link>
      <pubDate>Sun, 01 Nov 2026 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/bear-mountain/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Bear Mountain State Park + Cold Spring, New York · Sat Oct 10, 2026 · with Chris and Nathan · a day trip from the city&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Bear Mountain&lt;/strong&gt; is a state park in upstate New York, in the Hudson Valley about 50 miles north of the city. In October the hills there turn orange, red and yellow, and you can get there and back in a day on the train. The idea was Nathan&amp;rsquo;s. He suggested it, I liked it straight away, and Chris was in too. It also worked out as a little celebration, since Chris&amp;rsquo;s birthday had been just a couple of days before.&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/bear-mountain/bridge-from-above.jpg&#34; width=450 alt=&#34;The Hudson River winding between hills of orange and green trees, with the Bear Mountain Bridge crossing it&#34;&gt;
&lt;p&gt;&lt;em&gt;The Hudson and the Bear Mountain Bridge, from the way up.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;getting-there&#34;&gt;Getting there&lt;/h2&gt;
&lt;p&gt;Chris made sandwiches for all of us that morning, and we caught the 8:08 AM Metro-North from Grand Central. The train runs right along the Hudson, so the views start before you even get off. We got off at Peekskill.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/peekskill-selfie.jpg&#34; width=450 alt=&#34;Aldrin, Chris and Nathan grinning in a selfie next to the City of Peekskill sign&#34;&gt;
&lt;p&gt;&lt;em&gt;The three of us at Peekskill, still fresh.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;From the station, a friendly local woman drove us the rest of the way to the park in her taxi.&lt;/p&gt;
&lt;p&gt;The park opens onto a big lawn next to &lt;strong&gt;Hessian Lake&lt;/strong&gt;, with Bear Mountain rising right behind it. There was already a crowd.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/hessian-lake.jpg&#34; width=700 alt=&#34;Hessian Lake with a tree-covered hill rising behind it under a blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Hessian Lake, at the foot of the mountain.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;up-to-the-tower&#34;&gt;Up to the tower&lt;/h2&gt;
&lt;p&gt;Before heading up, we got one proper photo of the three of us at the trailhead.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/the-three-of-us.jpg&#34; width=450 alt=&#34;Aldrin, Chris and Nathan standing arm in arm at the trailhead in front of rocks and autumn trees&#34;&gt;
&lt;p&gt;&lt;em&gt;Chris, Nathan and me at the start of the trail.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We started hiking at about 10:50, up a route of stone stairs that&amp;rsquo;s part of the &lt;strong&gt;Appalachian Trail&lt;/strong&gt;. It&amp;rsquo;s a good climb, and the colours get better with every step.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/bear-mountain/stone-stairs.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The stone stairs on the way up.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The higher we went, the more colour there was. Some trees had already gone fully red.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/red-tree.jpg&#34; width=450 alt=&#34;A tree with bright red and orange leaves against a blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Some trees were already fully red.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The rocks along the trail were covered in fallen leaves, every shade from yellow to deep red.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/fall-leaves.jpg&#34; width=450 alt=&#34;Red, orange and yellow maple leaves scattered on a grey rock&#34;&gt;
&lt;p&gt;&lt;em&gt;Leaves on the trail.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We stopped a lot, partly for photos and partly just to take it in.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/aldrin-in-the-woods.jpg&#34; width=450 alt=&#34;Aldrin sitting on a rock among trees with orange and yellow leaves&#34;&gt;
&lt;p&gt;&lt;em&gt;Taking a break on the way up.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We reached &lt;strong&gt;Perkins Memorial Tower&lt;/strong&gt; at the top around noon, after a lot of stops for photos. It&amp;rsquo;s a stone tower, about four storeys tall, with coin-operated binoculars at the windows, which of course we had to try.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/tower-binoculars.jpg&#34; width=450 alt=&#34;A friend looking through coin-operated binoculars out of a window in the stone tower&#34;&gt;
&lt;p&gt;&lt;em&gt;Trying the binoculars at the top.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;From the top you can see the Hudson winding between the hills, all of it in fall colours.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/hudson-view.jpg&#34; width=700 alt=&#34;The Hudson River seen from the top of Bear Mountain, with autumn trees in the foreground&#34;&gt;
&lt;p&gt;&lt;em&gt;The view from the top.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Away from the river, the whole ridge was covered in red shrubs.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/red-ridge.jpg&#34; width=700 alt=&#34;A hillside covered in red shrubs with forested hills stretching into the distance&#34;&gt;
&lt;p&gt;&lt;em&gt;Red everywhere you looked.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Coming down, we took a different, steeper trail to finish the loop, which turned into a proper workout. We came out back by the lake.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/three-of-us-lake.jpg&#34; width=700 alt=&#34;Aldrin, Chris and Nathan standing on a rock by the lake with fall trees and a mountain behind&#34;&gt;
&lt;p&gt;&lt;em&gt;Back down at the lake.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;a-fall-festival-and-the-bridge&#34;&gt;A fall festival, and the bridge&lt;/h2&gt;
&lt;p&gt;Back at the bottom there was a fall festival going on, with a band playing and people dancing a little. The merry-go-round was closed, but we had apple cider, cider donuts and Belgian waffles. We also bought a few magnets, and some things for Chris, for his birthday.&lt;/p&gt;
&lt;p&gt;The zoo had already closed at 4:30, so we walked across the &lt;strong&gt;Bear Mountain Bridge&lt;/strong&gt; instead, with the river below and the hills on both sides.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/bridge-walk.jpg&#34; width=450 alt=&#34;The Bear Mountain Bridge roadway and its suspension towers under a streaky sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Walking onto the Bear Mountain Bridge.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Halfway across, we stopped for the obligatory selfie, with the mountain we&amp;rsquo;d climbed right behind us.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/bridge-selfie.jpg&#34; width=700 alt=&#34;Aldrin, Chris and Nathan in a selfie on the bridge with a green mountain behind&#34;&gt;
&lt;p&gt;&lt;em&gt;On the bridge.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;From the middle of the bridge we watched a train go by along the river&amp;rsquo;s edge, tucked right under the cliffs.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/bear-mountain/train-along-the-hudson.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;A train running along the Hudson, seen from the bridge.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;cold-spring&#34;&gt;Cold Spring&lt;/h2&gt;
&lt;p&gt;From there we took an Uber to &lt;strong&gt;Cold Spring&lt;/strong&gt;, a small village on the river with one main street of old shops and cafés. We got there just as the sun was going down.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/hudson-dusk.jpg&#34; width=700 alt=&#34;The Hudson at dusk with dark hills reflected in the water&#34;&gt;
&lt;p&gt;&lt;em&gt;The Hudson at dusk, from Cold Spring.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The riverfront has a small park and a dock, and the trees there were turning too.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/bear-mountain/cold-spring-riverfront.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The riverfront at Cold Spring.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Walking up into the village, we passed this old stone church, framed by red maples.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/cold-spring-church.jpg&#34; width=450 alt=&#34;A stone church with a tall spire among autumn trees in Cold Spring&#34;&gt;
&lt;p&gt;&lt;em&gt;A church on the way into the village.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We ended the day with pizza, four different kinds, split between the three of us.&lt;/p&gt;
&lt;h2 id=&#34;the-train-home&#34;&gt;The train home&lt;/h2&gt;
&lt;p&gt;The evening train was full of other day-trippers heading home. We stood for a few stops, and Nathan managed to fall asleep standing up. Then we hopped onto a later train, got seats, and recorded a little voice note about the day on the way back.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/grand-central-night.jpg&#34; width=700 alt=&#34;Aldrin, Chris and Nathan, tired but smiling, in a selfie back at the station that night&#34;&gt;
&lt;p&gt;&lt;em&gt;Back in the city that night.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The best part came later. At about 2 AM, after he got home, Nathan sent us a photo of his watch.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/bear-mountain/recovery-watch.jpg&#34; width=450 alt=&#34;A smartwatch on a wrist showing Recovery 100% Fully Recovered&#34;&gt;
&lt;p&gt;&lt;em&gt;Nathan, 2 AM: fully recovered, ready for the next trip.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It was a full, happy day: good friends, a real hike, and beautiful fall colours. I&amp;rsquo;d do it again in a heartbeat.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The Appalachian Trail stairs up to the tower are the easy way. Next time, go back down the same way.&lt;/li&gt;
&lt;li&gt;Good shoes, and tight laces for the steep parts.&lt;/li&gt;
&lt;li&gt;Catch an earlier or later train home to get a seat.&lt;/li&gt;
&lt;/ul&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Thing&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Taxi from Peekskill to Bear Mountain&lt;/td&gt;
&lt;td&gt;$45, split three ways&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Metro-North, Grand Central ↔ Peekskill&lt;/td&gt;
&lt;td&gt;round trip&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</description>
    </item>
    
    <item>
      <title>Four days in Yosemite, without a car</title>
      <link>https://aldrinjenson.com/travel/yosemite/</link>
      <pubDate>Mon, 07 Sep 2026 02:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/yosemite/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Yosemite National Park, California · September 2–7, 2026 · with my friend Chris · four days in the park, all by bus&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Yosemite was the last big one on my American list. Labor Day weekend was the last long weekend that made sense, so my friend Chris and I booked it over about a week in late August, and went. Neither of us drives, so the whole trip ran on buses, which turned out to work really well.&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/yosemite/half-dome-from-glacier-point.jpg&#34; width=700 alt=&#34;Half Dome rising above Yosemite Valley and the high Sierra, seen from Glacier Point under a clear blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Half Dome from Glacier Point.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;getting-there-wed-sep-2&#34;&gt;Getting there (Wed Sep 2)&lt;/h2&gt;
&lt;p&gt;We flew into Fresno late on Wednesday night and stayed at a hotel by the airport.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/fresno-arrival.jpg&#34; width=700 alt=&#34;Aldrin and Chris grinning in a selfie at night in front of the colourful FRESNO letters at the airport&#34;&gt;
&lt;p&gt;&lt;em&gt;Landing in Fresno, late at night.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The plan was the &lt;strong&gt;YARTS&lt;/strong&gt; bus, a seasonal public bus that runs from Fresno airport straight up into Yosemite Valley. So the next morning we were back at the airport at 7 AM, a little cold, waiting for it.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/yosemite/fresno-morning.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Waiting for the bus at Fresno airport, Thursday morning.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;day-one-into-the-valley-thu-sep-3&#34;&gt;Day one: into the valley (Thu Sep 3)&lt;/h2&gt;
&lt;p&gt;The ride up takes about four hours, and we were in the valley before 11. You come through a tunnel and El Capitan is suddenly just &lt;em&gt;there&lt;/em&gt;, a sheer grey wall, and &amp;ldquo;looming&amp;rdquo; is the only word for it.&lt;/p&gt;
&lt;p&gt;We dropped our bags at &lt;strong&gt;Curry Village&lt;/strong&gt;, where we stayed in a canvas tent cabin, and had pizza because we were starving. Then we walked out to &lt;strong&gt;Mirror Lake&lt;/strong&gt;, about 1.7 miles in. At the end of summer there&amp;rsquo;s no water in it (it fills with snowmelt in spring), but it&amp;rsquo;s a nice walk through the woods, and the squirrels along the way were very bold. One made a serious attempt on our pizza.&lt;/p&gt;
&lt;p&gt;At 2 PM we did a tour of &lt;strong&gt;the Ahwahnee&lt;/strong&gt;, the grand old hotel in the valley. The detail that stuck with me: the building looks like it&amp;rsquo;s made of huge timber beams, but almost all of it is concrete, poured and then stained and textured to look like wood. The colours inside come straight from the valley: the blues from the sky, the browns and reds from the trees and rock.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/ahwahnee.jpg&#34; width=700 alt=&#34;The stone and timber Ahwahnee hotel on a green lawn with a granite cliff behind it&#34;&gt;
&lt;p&gt;&lt;em&gt;The Ahwahnee.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We checked in properly at Curry Village in the evening.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/camp-curry.jpg&#34; width=700 alt=&#34;Aldrin and Chris in a selfie under the Camp Curry welcome sign&#34;&gt;
&lt;p&gt;&lt;em&gt;Home for the week.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then we walked out to &lt;strong&gt;El Capitan Meadow&lt;/strong&gt; for the evening light, which is where the trip really started for me.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/valley-evening.jpg&#34; width=450 alt=&#34;Aldrin standing by a wooden rail at dusk with pink clouds over the valley walls&#34;&gt;
&lt;p&gt;&lt;em&gt;On the way out to the meadow.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/el-capitan-sunset.jpg&#34; width=700 alt=&#34;El Capitan and Cathedral Rocks at sunset over a golden meadow, with orange clouds between them&#34;&gt;
&lt;p&gt;&lt;em&gt;El Capitan Meadow at sunset.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/meadow-dusk.jpg&#34; width=700 alt=&#34;El Capitan&#39;s granite wall and the valley cliffs glowing at dusk over the meadow, with pink clouds overhead&#34;&gt;
&lt;p&gt;&lt;em&gt;The same meadow a few minutes later, as the light went.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s no phone signal in the valley at all, no data, nothing. I&amp;rsquo;d expected that to be annoying, and it ended up being one of the best parts of the week: four days of not being reachable.&lt;/p&gt;
&lt;h2 id=&#34;day-two-the-mist-trail-fri-sep-4&#34;&gt;Day two: the Mist Trail (Fri Sep 4)&lt;/h2&gt;
&lt;p&gt;Getting around the valley floor is all on the free shuttle loop.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/shuttle-map.jpg&#34; width=700 alt=&#34;The Yosemite Valley Shuttle System map on a wooden sign board among pine trees&#34;&gt;
&lt;p&gt;&lt;em&gt;The valley shuttle map.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;d booked the all-day Grand Tour for this morning, but the valley shuttle ran very late and we missed it. The staff at the Valley Lodge, a guy called Philip, moved us to the next day without any fuss, and we bought tickets for the Tioga Road bus while we were there. So we had a free day, and spent it on the &lt;strong&gt;Mist Trail&lt;/strong&gt;, the classic Yosemite hike.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s a climb, up a long stone staircase beside the river. It felt a bit like climbing the Great Wall.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/yosemite/mist-trail-climb.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Climbing the Mist Trail, with Chris behind me.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The trail goes right up past &lt;strong&gt;Vernal Fall&lt;/strong&gt;, close enough that the spray throws rainbows.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/vernal-fall.jpg&#34; width=700 alt=&#34;Vernal Fall pouring over a granite cliff surrounded by pine forest&#34;&gt;
&lt;p&gt;&lt;em&gt;Vernal Fall.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/vernal-fall-rainbow.jpg&#34; width=450 alt=&#34;Aldrin standing on the trail with Vernal Fall and a rainbow in its spray behind him&#34;&gt;
&lt;p&gt;&lt;em&gt;A rainbow in the spray.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;At the top you can look back down at the whole route you just climbed, and the people still coming up it.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/yosemite/top-of-vernal-fall.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;At the top of Vernal Fall, looking back at the climb.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/mist-trail-top.jpg&#34; width=700 alt=&#34;Aldrin smiling in a selfie at the railings at the top of the falls with Chris behind him&#34;&gt;
&lt;p&gt;&lt;em&gt;Made it.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We kept going towards &lt;strong&gt;Nevada Fall&lt;/strong&gt;, and turned back at about three-quarters of the way because we&amp;rsquo;d started late. On the way, the view opened up onto Half Dome.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/half-dome-view-hike.jpg&#34; width=700 alt=&#34;Aldrin and Chris standing together on a granite ledge with Half Dome and pine-covered cliffs behind them&#34;&gt;
&lt;p&gt;&lt;em&gt;Half Dome, from the trail.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We came down by the &lt;strong&gt;John Muir Trail&lt;/strong&gt;, which loops back on loose granite. It was long, and my shoe strap gave out on the way down, so the last stretch was improvised. Four and a half to five hours in all, and the best physical day of the trip.&lt;/p&gt;
&lt;p&gt;That night we did the &lt;strong&gt;Night Sky walk&lt;/strong&gt;, a naturalist-led programme where you lie on tarps in a dark field and look up. The guide was a great storyteller, with lots of star mythology, and with no light pollution the sky was completely full of stars. It got cold sitting still, and we walked back to the tents in the dark.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/tent-cabins.jpg&#34; width=700 alt=&#34;Rows of white canvas tent cabins among tall pines at Curry Village&#34;&gt;
&lt;p&gt;&lt;em&gt;The tent cabins at Curry Village.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;day-three-the-grand-tour-sat-sep-5&#34;&gt;Day three: the Grand Tour (Sat Sep 5)&lt;/h2&gt;
&lt;p&gt;The tour bus picked us up early, with El Capitan right there in the morning light.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/tour-bus.jpg&#34; width=700 alt=&#34;People boarding a white tour bus on a sunny morning with granite cliffs behind&#34;&gt;
&lt;p&gt;&lt;em&gt;Boarding the Grand Tour bus.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The first stop was El Capitan itself, and a selfie.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/el-capitan-selfie.jpg&#34; width=450 alt=&#34;Aldrin and Chris in a selfie, Chris with both arms up, in front of El Capitan&#34;&gt;
&lt;p&gt;&lt;em&gt;Day three, take two.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Our guide, &lt;strong&gt;Bill&lt;/strong&gt;, was excellent: the kind of guide who has done the route a thousand times and is still interested in it. Most of what I learned in the park, I learned from him on that bus. The route was &lt;strong&gt;El Capitan&lt;/strong&gt;, &lt;strong&gt;Glacier Point&lt;/strong&gt;, the historic &lt;strong&gt;Wawona&lt;/strong&gt; area, &lt;strong&gt;Mariposa Grove&lt;/strong&gt;, and finally &lt;strong&gt;Tunnel View&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Glacier Point&lt;/strong&gt; was one of the big highlights. You stand at the edge and the entire valley is laid out below you at once: Half Dome right across, Curry Village as a little cluster of roofs far below, the falls, El Capitan. Everything we&amp;rsquo;d walked around for two days, in a single view.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/glacier-point-selfie.jpg&#34; width=700 alt=&#34;Aldrin and Chris in a selfie at Glacier Point with Half Dome behind them&#34;&gt;
&lt;p&gt;&lt;em&gt;Glacier Point, with Half Dome.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;From up there I could point out the whole hike from the day before: Nevada Fall, and Vernal Fall just downstream of it.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/yosemite/glacier-point.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;From Glacier Point: Half Dome, and the falls we hiked to the day before.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Wawona&lt;/strong&gt; was a quiet surprise: an old white hotel with long verandas, and a collection of historic wagons and carriages. It was peaceful and almost empty compared to the valley.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/wawona-hotel.jpg&#34; width=700 alt=&#34;The long white Wawona Hotel with verandas among tall pines&#34;&gt;
&lt;p&gt;&lt;em&gt;The Wawona Hotel.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Next to it is the old Yosemite Transportation Company office, a little wooden building from the stagecoach days, when this was how people came into the park.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/wawona-transportation.jpg&#34; width=450 alt=&#34;A rustic wooden building with a sign reading Yosemite Transportation Co.&#34;&gt;
&lt;p&gt;&lt;em&gt;The old transportation office at Wawona.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Mariposa Grove&lt;/strong&gt; is where the giant sequoias are, and photos really don&amp;rsquo;t prepare you. We walked through the &lt;strong&gt;California Tunnel Tree&lt;/strong&gt;, and saw the &lt;strong&gt;Grizzly Giant&lt;/strong&gt;, which is around three thousand years old.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/california-tunnel-tree.jpg&#34; width=700 alt=&#34;Aldrin and Chris standing inside the tunnel cut through the base of a giant sequoia&#34;&gt;
&lt;p&gt;&lt;em&gt;The California Tunnel Tree.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;There was a fallen giant so thick that Chris and I stood side by side with our arms fully stretched out and still couldn&amp;rsquo;t span it.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/fallen-giant.jpg&#34; width=450 alt=&#34;Two small figures with arms outstretched in front of the huge root end of a fallen sequoia&#34;&gt;
&lt;p&gt;&lt;em&gt;Not even close.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/grizzly-giant.jpg&#34; width=450 alt=&#34;The massive, leaning trunk of the Grizzly Giant sequoia with a person standing at its base for scale&#34;&gt;
&lt;p&gt;&lt;em&gt;The Grizzly Giant. That&amp;rsquo;s a person at the bottom.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Bill told one story there that I keep repeating. The Grizzly Giant lost its top at some point in its very long life. So it &lt;strong&gt;grew a branch out sideways and turned it ninety degrees upward&lt;/strong&gt; to make a new crown, and then, to stop the whole tree toppling under the new weight, &lt;strong&gt;it grew a buttress on the opposite side to balance it.&lt;/strong&gt; A tree solving a structural engineering problem over centuries.&lt;/p&gt;
&lt;p&gt;The last stop was &lt;strong&gt;Tunnel View&lt;/strong&gt;, the classic postcard of the valley: El Capitan on the left, Bridalveil on the right, and Half Dome in the distance.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/tunnel-view.jpg&#34; width=700 alt=&#34;Aldrin and Chris standing at Tunnel View with El Capitan and Yosemite Valley behind them&#34;&gt;
&lt;p&gt;&lt;em&gt;Tunnel View.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We ended the day with pizza at Curry Village, and an evening talk at the amphitheatre (more on that below).&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/pizza.jpg&#34; width=450 alt=&#34;A pizza with sausage and burrata held over a sandy patch of ground&#34;&gt;
&lt;p&gt;&lt;em&gt;Pizza at Curry Village.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;day-four-tioga-road-sun-sep-6&#34;&gt;Day four: Tioga Road (Sun Sep 6)&lt;/h2&gt;
&lt;p&gt;On our last day we took the hikers&amp;rsquo; bus up &lt;strong&gt;Tioga Road&lt;/strong&gt;, which climbs out of the valley to around 8,600 feet. It&amp;rsquo;s a completely different park up there. The valley is enclosed and green; Tioga is open, pale granite and thin, bright air.&lt;/p&gt;
&lt;p&gt;We got off at &lt;strong&gt;Tuolumne Meadows&lt;/strong&gt;, got coffee, and walked the short trail out to &lt;strong&gt;Twin Bridges&lt;/strong&gt; on the Lyell Fork. It turned out to be one of my two favourite places in the whole park, and I&amp;rsquo;d never even heard of it before. The river runs wide and glassy over pale rock with the peaks behind it, and there wasn&amp;rsquo;t a cloud in the sky.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/twin-bridges.jpg&#34; width=700 alt=&#34;Aldrin standing in a shallow, clear river with pines and a granite dome behind him&#34;&gt;
&lt;p&gt;&lt;em&gt;Twin Bridges, on the Lyell Fork.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Further along, the creek runs over rocks through the pines, and it was so quiet you could hear birds the whole way.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/lyell-fork-creek.jpg&#34; width=700 alt=&#34;A clear creek running over rocks through a pine forest under a blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;The creek near Twin Bridges.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/yosemite/twin-bridges-creek.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Peaceful, calm and quiet, high up on Tioga Road.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then &lt;strong&gt;Lembert Dome&lt;/strong&gt;, and a free shuttle down to &lt;strong&gt;Tenaya Lake&lt;/strong&gt;, the bluest lake I&amp;rsquo;ve ever seen, and my other favourite of the whole trip.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/tenaya-lake.jpg&#34; width=450 alt=&#34;Tenaya Lake, deep blue, with a sandy beach, pines and a granite peak behind it&#34;&gt;
&lt;p&gt;&lt;em&gt;Tenaya Lake.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/yosemite/tenaya-lake.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;ldquo;The bluest lake I&amp;rsquo;ve ever seen.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/tenaya-lake-two.jpg&#34; width=700 alt=&#34;Aldrin and Chris standing on the sandy shore of Tenaya Lake under a clear sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Chris and me at Tenaya Lake.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;On the way back we stopped at &lt;strong&gt;Olmsted Point&lt;/strong&gt;, which shows you Half Dome from behind, a completely different shape from the valley view.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/tioga-high-country.jpg&#34; width=700 alt=&#34;Pale granite mountains and dark pine forest under a deep blue sky on Tioga Road&#34;&gt;
&lt;p&gt;&lt;em&gt;The high country along Tioga Road.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then the 7 PM bus back down to Fresno, a last night at the airport hotel, and the flight home on Monday.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/yarts-bus-night.jpg&#34; width=450 alt=&#34;The blue YARTS bus with its lights on, loading passengers in the evening under tall trees&#34;&gt;
&lt;p&gt;&lt;em&gt;The YARTS bus home.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;what-i-actually-learned&#34;&gt;What I actually learned&lt;/h2&gt;
&lt;p&gt;I came back knowing more than I went in with, which is my own test of a good trip. Some of this came from Bill on the bus, some from an evening talk, and some I looked up afterwards to get the details right.&lt;/p&gt;
&lt;h3 id=&#34;the-valley-was-carved-by-ice-and-thats-why-there-are-waterfalls&#34;&gt;The valley was carved by ice, and that&amp;rsquo;s why there are waterfalls&lt;/h3&gt;
&lt;p&gt;On our third night a presenter called &lt;strong&gt;Malcolm Davis&lt;/strong&gt; was doing an evening programme at the Camp Curry amphitheatre. It was meant to be a film; the projector failed, so he did it live instead, and it was much better for it.&lt;/p&gt;
&lt;p&gt;The mechanism, which I&amp;rsquo;d never understood: sunlight and pressure &lt;strong&gt;melt a glacier at its base&lt;/strong&gt;, so the whole frozen mass slowly slides downhill, grinding as it goes.&lt;/p&gt;
&lt;p&gt;A river cuts a narrow &lt;strong&gt;V&lt;/strong&gt; into a landscape. A glacier is wide and blunt and scours out a &lt;strong&gt;U&lt;/strong&gt; — which is exactly the profile of Yosemite Valley, with those sheer vertical walls.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/valley-u-shape.jpg&#34; width=700 alt=&#34;Yosemite Valley from Tunnel View, a wide U shape between El Capitan and Cathedral Rocks&#34;&gt;
&lt;p&gt;&lt;em&gt;The U-shaped valley, from Tunnel View.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;And here&amp;rsquo;s the part that connects: the glacier cut the main valley &lt;strong&gt;deeper and faster than the little side streams could keep up with.&lt;/strong&gt; So those tributary streams were left stranded high up on the walls — &amp;ldquo;hanging&amp;rdquo; — and now they simply drop off a cliff into a floor that was carved away beneath them. &lt;strong&gt;That&amp;rsquo;s what a Yosemite waterfall is.&lt;/strong&gt; Not a river running over a ledge; a stream left behind by ice.&lt;/p&gt;
&lt;h3 id=&#34;waterfalls-come-in-three-kinds-and-the-famous-one-is-the-unreliable-one&#34;&gt;Waterfalls come in three kinds, and the famous one is the unreliable one&lt;/h3&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/falls-from-above.jpg&#34; width=450 alt=&#34;A waterfall pouring through a granite gorge below a footbridge, with tall pines and clouds above&#34;&gt;
&lt;p&gt;&lt;em&gt;One of the falls that still had water in September.&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Perennial&lt;/strong&gt; — runs all year. Vernal and Nevada Falls, fed by the Merced River. These are the ones that had water when we were there.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ephemeral&lt;/strong&gt; — seasonal, fed by snowmelt. &lt;strong&gt;Yosemite Falls is this one.&lt;/strong&gt; It peaks in May and is usually dry by late summer, which is precisely why we didn&amp;rsquo;t see it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Pluvial&lt;/strong&gt; — driven by actual rainfall.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I had assumed the biggest, most famous fall must be the most reliable one. It&amp;rsquo;s the opposite.&lt;/p&gt;
&lt;h3 id=&#34;fire-is-not-the-enemy--and-this-was-the-best-idea-i-brought-home&#34;&gt;Fire is not the enemy — and this was the best idea I brought home&lt;/h3&gt;
&lt;p&gt;We passed a lot of dead and blackened trees, and I&amp;rsquo;d assumed that was damage. It&amp;rsquo;s more complicated than that.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/burned-forest.jpg&#34; width=700 alt=&#34;A hillside of young green growth among standing burned trees, with mountains in the distance&#34;&gt;
&lt;p&gt;&lt;em&gt;Old fire, new growth.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Giant sequoias are fire-adapted.&lt;/strong&gt; Thick bark protects the mature trees. The heat of a fire dries their cones so they release seed, and it clears the ground to the bare mineral soil that seedlings actually need. &lt;strong&gt;Douglas squirrels&lt;/strong&gt; help too, gnawing the cones open. Fire is part of how the species reproduces, not just something it survives.&lt;/p&gt;
&lt;p&gt;The really striking version of this came from a staff member at the Ahwahnee. For roughly a century, fire was suppressed in Yosemite as a matter of policy. The result was that the forest &lt;strong&gt;overcrowded&lt;/strong&gt; — pines grew in dense stands where regular low fires would previously have thinned them — and &lt;strong&gt;the open sightlines across the valley closed in.&lt;/strong&gt; You used to be able to stand at one end and see the other. You can&amp;rsquo;t now.&lt;/p&gt;
&lt;p&gt;So the park has reversed course, and now runs &lt;strong&gt;deliberate prescribed burns, informed by the practices of the Indigenous peoples who managed this land with fire for thousands of years before it was a park.&lt;/strong&gt; A century of well-intentioned protection did more damage to the forest than the fires it was preventing. That&amp;rsquo;s the single idea I most want to remember from this trip.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/yosemite/sequoias.jpg&#34; width=450 alt=&#34;Tall giant sequoias with red-brown trunks reaching into a blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Giant sequoias in Mariposa Grove.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Two corrections to my own notes while I&amp;rsquo;m here: &lt;strong&gt;sequoias bear cones, not acorns&lt;/strong&gt; (acorns are oaks — I said this out loud and Chris corrected me on the spot), and the cones themselves are about the size of a chicken egg and can hang on the tree unopened for twenty years.&lt;/p&gt;
&lt;h3 id=&#34;telling-the-conifers-apart&#34;&gt;Telling the conifers apart&lt;/h3&gt;
&lt;p&gt;I spent a fun hour on the trail trying to work this out with Chris. The species Bill named were &lt;strong&gt;ponderosa pine&lt;/strong&gt;, &lt;strong&gt;lodgepole pine&lt;/strong&gt;, &lt;strong&gt;incense cedar&lt;/strong&gt; and the &lt;strong&gt;Douglas squirrel&lt;/strong&gt; that lives off them. The working rules we arrived at:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Oaks&lt;/strong&gt; are broadleaf. &lt;strong&gt;Pine, fir and cedar are conifers&lt;/strong&gt; — they carry cones.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Pine&lt;/strong&gt; needles grow in &lt;strong&gt;bundles&lt;/strong&gt; — little clumps of two or three sharing a base. This is the most reliable thing to look for. Ponderosa has three to a bundle, lodgepole two.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fir&lt;/strong&gt; needles attach &lt;strong&gt;singly&lt;/strong&gt; along the twig, and the tree has the classic Christmas-tree shape, with the needles angling gently upward at the branch ends.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Incense cedar&lt;/strong&gt; doesn&amp;rsquo;t have needles at all really — flat, scaly sprays.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;the-people-the-park-is-named-after&#34;&gt;The people the park is named after&lt;/h3&gt;
&lt;p&gt;Half the names I came home with were mangled, so for the record:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;John Muir&lt;/strong&gt; — the naturalist who founded the Sierra Club in 1892. He &lt;strong&gt;camped with Theodore Roosevelt in Yosemite for three nights in May 1903&lt;/strong&gt;, and Roosevelt came away and expanded federal protection. The trail we came down on is named after him.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Galen Clark&lt;/strong&gt; — discovered Mariposa Grove in 1857 and became the first official Guardian of the Yosemite Grant.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Abraham Lincoln&lt;/strong&gt; — signed the &lt;strong&gt;Yosemite Grant Act on 30 June 1864&lt;/strong&gt;, in the middle of the Civil War, setting the valley and Mariposa Grove aside for protection. This is the first time the US government ever protected land purely because it was beautiful, which makes it the direct ancestor of the whole national-park idea. Yellowstone came eight years later; Yosemite itself only became a national park in 1890.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And the two names I&amp;rsquo;d wondered about all week: &lt;strong&gt;El Capitan&lt;/strong&gt; is Spanish for &amp;ldquo;the captain&amp;rdquo;, a nineteenth-century rendering of the Ahwahneechee name &lt;em&gt;To-tock-ah-noo-lah&lt;/em&gt;. &lt;strong&gt;Curry Village&lt;/strong&gt; is named for &lt;strong&gt;David and Jennie Curry&lt;/strong&gt;, who set up Camp Curry on that spot in &lt;strong&gt;1899&lt;/strong&gt; — which is why the amphitheatre and the pizza place still carry the Camp Curry name.&lt;/p&gt;
&lt;h3 id=&#34;a-small-vocabulary-fix&#34;&gt;A small vocabulary fix&lt;/h3&gt;
&lt;p&gt;The words for animal activity patterns, which I could not retrieve at the time and which turn out to be simple: &lt;strong&gt;diurnal&lt;/strong&gt; (active by day), &lt;strong&gt;nocturnal&lt;/strong&gt; (active by night), and &lt;strong&gt;crepuscular&lt;/strong&gt; (active at dawn and dusk) — which is the one most of the deer and coyotes here follow. &lt;em&gt;Circadian&lt;/em&gt; is a different thing entirely: it&amp;rsquo;s the internal twenty-four-hour clock, not a category of animal.&lt;/p&gt;
&lt;h2 id=&#34;what-i-made-of-it&#34;&gt;What I made of it&lt;/h2&gt;
&lt;p&gt;While I was there, I kept saying &amp;ldquo;it was okay&amp;rdquo;, but looking back that&amp;rsquo;s just how I talk when I&amp;rsquo;m in the middle of something. The specifics tell the real story. My two favourites were &lt;strong&gt;Twin Bridges&lt;/strong&gt; and &lt;strong&gt;Tenaya Lake&lt;/strong&gt;, up on Tioga Road. Then Glacier Point, the Mist Trail, and that first sight of El Capitan through the tunnel. I&amp;rsquo;d go back for any of them.&lt;/p&gt;
&lt;p&gt;Some of the simplest things were the best: a short flat trail at Twin Bridges, a clear blue lake, an evening in a meadow. In a place like this, the landscape is the whole show. And doing it all without a car turned out to be completely fine.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;How we got around.&lt;/strong&gt; Flew into Fresno, stayed at an airport hotel with a free shuttle, and took the seasonal &lt;strong&gt;YARTS Highway 41&lt;/strong&gt; bus into the valley and back. The early bus in and the last bus out gave us full first and last days.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The valley shuttle.&lt;/strong&gt; Leave lots of buffer before anything timed.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Shoes.&lt;/strong&gt; Real hiking boots next time.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;No signal&lt;/strong&gt; in the valley. Download maps and tickets before going.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;September.&lt;/strong&gt; Warm days, clear skies and thin crowds on Tioga Road. For full waterfalls, come in late spring.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What we spent (two people, September 2026):&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Thing&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Flights&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;JFK → Fresno via Salt Lake City; back via Phoenix&lt;/td&gt;
&lt;td&gt;~$280 out, ~$409 back, per person&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;YARTS Highway 41&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Each way, per person, plus a small booking fee&lt;/td&gt;
&lt;td&gt;~$20 each way&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Curry Village tent cabin&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Canvas tent cabin for two. We were barely in it&lt;/td&gt;
&lt;td&gt;~$236/night&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Fresno airport hotel&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Free 24-hour airport shuttle, breakfast from 6 AM&lt;/td&gt;
&lt;td&gt;~$120–128/night&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Yosemite Grand Tour&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Full day, 8 AM–4 PM, guided bus. Glacier Point and Mariposa Grove made it&lt;/td&gt;
&lt;td&gt;~$141/person&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Night Sky naturalist walk&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;~90 min, run by the Yosemite Conservancy&lt;/td&gt;
&lt;td&gt;~$25/person&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Twin Bridges, Tenaya Lake, Mirror Lake, El Capitan Meadow, the Ahwahnee tour&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Some of my favourite parts&lt;/td&gt;
&lt;td&gt;free&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;My favourites:&lt;/strong&gt; Twin Bridges and Tenaya Lake on Tioga Road. Then Glacier Point for the view that explains the park, the Mist Trail for the walk, and an hour in Mariposa Grove with the sequoias.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Moodle Automation</title>
      <link>https://aldrinjenson.com/projects/moodle-automation/</link>
      <pubDate>Wed, 19 Jan 2022 19:25:18 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/projects/moodle-automation/</guid>
      <description>&lt;p&gt;Reflections on a nodeJS program I wrote to automate marking online attendance.&lt;/p&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;p&gt;I used to attend online classes. Sometimes I&amp;rsquo;ll be sleepy or the class may be really boring, but I always used to attend them given a choice. However, at times I used to forget marking the attendance.&lt;/p&gt;
&lt;p&gt;The attendance marking system in our college(and in many other Govt. colleges) for online classes was kinda ridiculous. We use the awesome &lt;a href=&#34;https://moodle.com/lms/&#34;&gt;Moodle LMS&lt;/a&gt; system for managing online classes.
The students have to go to the Moodle course page every hour and mark the attendance for that particular subject happening at that particular hour. That&amp;rsquo;s right, the students mark their own attendance irrespective of whether they actually attends any classes at all🤦. The funniness of this situation becomes even more evident when the student is presented with the following three options for marking attendance in the course page:
Present, Late or Absent.
Seriously.. will any absent or late student actually mark the same given an option?🤷&lt;/p&gt;
&lt;!-- todo: add image here --&gt;
&lt;p&gt;Anyways.. I used to attend classes, but the attendance marking was very hard for me. I used to occasionally forget and sometimes by the time I&amp;rsquo;d have remembered about marking the attendance, the hour would&amp;rsquo;ve run out and the option would have been gone to mark it for that subject.&lt;/p&gt;
&lt;p&gt;It once reached a dangerous point where I had only 38% of attendance for DS subject in which I had actually missed only 2 classes which I think were due to some genuine reasons. This led me to find a solution which was foolproof.&lt;/p&gt;
&lt;h2 id=&#34;thought-process&#34;&gt;Thought Process&lt;/h2&gt;
&lt;p&gt;I thought about the flow a student takes to mark his attendance.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;He navigates to the course page&lt;/li&gt;
&lt;li&gt;He logs in to the moodle account by entering email and password. (yeah there are no persistent cookies in Moodle to preserve login state, atleast it&amp;rsquo;s not set up in the Moodle installation our college uses).&lt;/li&gt;
&lt;li&gt;He clicks the attendance anchor tag element to go to the attendance page.&lt;/li&gt;
&lt;li&gt;He selects the list item for the date which is having a field for marking attendance.&lt;/li&gt;
&lt;li&gt;Once clicked he is navigated to another page having the 3 options: Present, Absent, Late&lt;/li&gt;
&lt;li&gt;He selects the radio button for Present(obviously)&lt;/li&gt;
&lt;li&gt;He clicks the Submit button.&lt;/li&gt;
&lt;li&gt;He sighs at having marked his own attendance. The End&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The fact that I could describe the steps this way meant that I could definitely ask a computer to do these for me ie. to automate the process. Now the question was how to implement a program which could log in on my behalf and mark the attendance by following the above steps. Additionally I also wanted a way to let me know once the attendance had been successfully marked or if the attendance marking failed for some reason as then I could go and mark the attendance manually.&lt;/p&gt;
&lt;h2 id=&#34;building-the-automation-program&#34;&gt;Building the automation program&lt;/h2&gt;
&lt;p&gt;I used the nodeJs &lt;a href=&#34;https://github.com/puppeteer/puppeteer/&#34;&gt;puppeteer&lt;/a&gt; library for browser automation.
I had once used it an year before for generating PDFs out of html. &lt;br/&gt;
Anyways, I created a new nodeJs project, installed puppeteer and added my username and password as environment variables.
&lt;br&gt;
I created a file wherein I could add the subjectLinks for which I wanted to automatically mark attendance. I also installed expressJs and created a web UI - something like a dashboard which could show me the stats for various subjects - whether they were marked, when is the next check etc.&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/moodle-bot/dashboard.png&#34; width=400 alt=&#34;Dashboard preview&#34;&gt;
&lt;br/&gt;
&lt;p&gt;I tested the program a couple of times. Testing was a bit slow because there would be only one slot for me to test in one hour when there is an actual attendance open to automate.&lt;/p&gt;
&lt;p&gt;Afterwards I installed the awesome &lt;a href=&#34;https://github.com/yagop/node-telegram-bot-api&#34;&gt;node-telegram-bot-api&lt;/a&gt; library for getting notifications through Telegram and also added some control commands as well.
Anyways, within a few days, I had ironed out the bugs(most of them that is) and had the code working fine. Now the question was regarding hosting the server.&lt;/p&gt;
&lt;p&gt;Running a web server is costly(atleast for a student that is). The only option I had was to use an AWS ec2 instance. In the initial code I wrote, I used the node-cron library to set a cron job which automatically executes the scraping program every 30 minutes from morning to evening every day and checks if any of my subject links have got an open attendance to mark. This worked fine.. but the problem was that this would mean my server would have to be continuously running to have the program be executed at the right time.
This was not acceptable.&lt;/p&gt;
&lt;p&gt;So I started looking for alternate solutions, and came upon this wonderful &lt;a href=&#34;https://cron-job.org/en/&#34;&gt;site&lt;/a&gt;🤩.My new approach didn&amp;rsquo;t have the cron script in my code. I had an API endpoint which will be called by the cron-job site every 30 minutes from morning to evening. I hosted by code in Heroku and gave the api endpoint url to the cron-job site to ping. Heroku has some serious limitations for free apps which prevents them to be up more than 21 days etc. With my new approach however this was not at all a problem as now my server will be active exactly only when the cron site executes ie. it&amp;rsquo;ll be active only when it is time to mark the attendance. No extra wasted awake time.&lt;/p&gt;
&lt;p&gt;I hosted the project, and I have to say by the end of semester I had more than 75% of attendance for all subjects. Mind you that I actually did attend all the online classes myself, just that I didn&amp;rsquo;t have to do the boring process of opening Moodle and marking the attendance manually.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/moodle-bot/bot.png&#34; width=400 alt=&#34;bot preview&#34;&gt;
&lt;br/&gt;
&lt;h2 id=&#34;afterthoughts&#34;&gt;Afterthoughts&lt;/h2&gt;
&lt;p&gt;One doubt I initially had was if this was a good project from an ethical standpoint and whether my code could be used by others for getting attendance without coming to class. Since I was conflicted on this, for over one year, I didn&amp;rsquo;t tell to anyone about this project and kept the code in a private Github repo. However it was only a matter of time before I saw that students were just tired of this stupid process of manually going to moodle and marking their own attendance. I saw over 4 other automation projects for marking attendance, ie students were trying to find a way to get around the broken system;&lt;/p&gt;
&lt;p&gt;Me keeping my project closed because I was afraid of my code being misused didn&amp;rsquo;t really matter much, people were always looking for a workaround and it was only a matter of time before they follow similar paths that you took.&lt;/p&gt;
&lt;p&gt;That being said, each time I saw another attendance automation project, I couldn&amp;rsquo;t just think that my version of automation was actually kinda good. You didn&amp;rsquo;t even have to enter any timetable, just the attendance page urls would suffice. I saw projects for which you have to enter time-tables which was a problem because sometimes time tables may change or a different teacher may take class on a different subject if one teacher is on leave etc. Other automation projects I sad didn&amp;rsquo;t have a notification system as well, they were all python programs written to be run in the terminal. I was kinda happy though that I wasn&amp;rsquo;t the only one fed up of this system, but this also made me wonder if using your skills to get around a broken system is actually wrong..&lt;/p&gt;
&lt;p&gt;I open sourced the project after 14 months of the initial commit. Within that period I have seen good people losing attendance(and hence their marks due to the minimum 75% attendance scheme in Kerala colleges) because they had forgotten to mark in Moodle often times when they had attended the actual classes as well. I open sourced my code without any flashy announcements in the firm belief that if one is genuinely looking for a solution, he should find it. As the Bible says, &amp;ldquo;Seek and You will Find&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Check out the code &lt;a href=&#34;https://github.com/aldrinjenson/moodle-automation&#34;&gt;here&lt;/a&gt; :).&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>A solo weekend in New Orleans</title>
      <link>https://aldrinjenson.com/travel/new-orleans/</link>
      <pubDate>Mon, 22 Jun 2026 02:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/new-orleans/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; New Orleans, Louisiana · June 19–21, 2026 · solo · one backpack&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;New Orleans had been on my list for a while. It&amp;rsquo;s one of those American places that feels like its own country — French, Spanish, Caribbean and Southern all layered on top of each other — and I wanted to see it before I run out of weekends in the US. So I booked a flight, packed a single backpack, and went alone for three days.&lt;/p&gt;
&lt;p&gt;This is how it went, what I ate, and the things I learned along the way — including a museum that I went in expecting to tick off a box and came out of genuinely moved.&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/new-orleans/french-quarter-street.jpg&#34; width=700 alt=&#34;A white mule pulling a Royal Carriages tour buggy near Jackson Square in the New Orleans French Quarter, under a bright blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;A mule-drawn carriage near Jackson Square — the first thing that hits you about New Orleans is that it doesn&amp;rsquo;t feel like the rest of America.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;first-impressions-a-wall-of-humidity&#34;&gt;First impressions: a wall of humidity&lt;/h2&gt;
&lt;p&gt;I almost missed my flight (a story for another day), but I made it, and by early afternoon I was walking from my hotel toward the French Quarter. The first thing New Orleans gives you in June is &lt;strong&gt;the humidity&lt;/strong&gt;. I was sweating within minutes of stepping outside — it was somewhere around a 110°F &amp;ldquo;feels-like&amp;rdquo; with a heat advisory in effect. The first thing I bought in the city was a &lt;strong&gt;straw hat&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The Quarter itself is wonderful to walk through. It reminded me, oddly, a little of Bangalore at first, and then it settled into something more Caribbean — colour everywhere, wrought-iron balconies, people out eating and laughing and putting on a show. It&amp;rsquo;s a place that wears its character openly. Bordering the Quarter is &lt;strong&gt;Canal Street&lt;/strong&gt;, the wide downtown boulevard, where I was amused to spot a &lt;strong&gt;Caesars casino&lt;/strong&gt; — the same brand I&amp;rsquo;d walked past in Las Vegas only the month before.&lt;/p&gt;
&lt;p&gt;I stayed in the &lt;strong&gt;Arts / Warehouse District&lt;/strong&gt;, a short walk from the Quarter and, as it happened, right near the museum that would become the highlight of the trip.&lt;/p&gt;
&lt;h2 id=&#34;friday--the-french-quarter&#34;&gt;Friday — the French Quarter&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;d booked a &lt;strong&gt;walking history tour of the French Quarter&lt;/strong&gt; for the afternoon. Honest take: it was a bit long (about two and a quarter hours) and very heavy on theory — and I made the rookie mistake of trying to power through on nothing but protein bars, so by the end I was fading. But the history stuck, and it&amp;rsquo;s the kind of history that reframes the whole city:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;New Orleans passed through three hands — &lt;strong&gt;French, then Spanish, then American&lt;/strong&gt; (after a treaty) — and you can read that in the architecture. The buildings look French, but many are actually built in the Spanish style that went up after the great fires.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Sicilian Italians&lt;/strong&gt; came later, for work.&lt;/li&gt;
&lt;li&gt;The land was reclaimed &lt;strong&gt;swampland&lt;/strong&gt;, made valuable by all the sediment the &lt;strong&gt;Mississippi River&lt;/strong&gt; dumps here. At one point this was one of the richest places in the country.&lt;/li&gt;
&lt;li&gt;And the fact I keep repeating to people: the city is &lt;strong&gt;not named after Orléans in France&lt;/strong&gt; — it&amp;rsquo;s named after the &lt;strong&gt;Duke of Orléans&lt;/strong&gt;, the regent for the boy-king Louis XV. (Napoleon turns up in the story too.)&lt;/li&gt;
&lt;/ul&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/new-orleans/st-louis-cathedral.jpg&#34; width=700 alt=&#34;St. Louis Cathedral framed by palm trees, with the equestrian statue of Andrew Jackson in front, seen from Jackson Square in the New Orleans French Quarter&#34;&gt;
&lt;p&gt;&lt;em&gt;St. Louis Cathedral, framed by Jackson Square and the Andrew Jackson statue. It was closed by the time my tour finished on Friday — I&amp;rsquo;d have to come back for it.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;For lunch (well, late lunch) I ate at &lt;strong&gt;Napoleon House&lt;/strong&gt;, a roughly 200-year-old landmark, where I had Creole &lt;strong&gt;jambalaya&lt;/strong&gt;. More on the food below — there&amp;rsquo;s a lot of it.&lt;/p&gt;
&lt;h3 id=&#34;preservation-hall&#34;&gt;Preservation Hall&lt;/h3&gt;
&lt;p&gt;The evening was the surprise of the day. I went to a set at &lt;strong&gt;Preservation Hall&lt;/strong&gt; — $28 for a standing ticket, about 45 minutes — with basically no idea what to expect. I&amp;rsquo;m not someone who knows jazz. But it was &lt;em&gt;wonderful&lt;/em&gt;. At one point I closed my eyes and just listened to the instruments chime in one by one: a big upright bass, a keyboard, and three wind instruments — clarinet, trombone, and one more — carrying the melody between them. Totally worth it. (I had no cash on me to tip the band that night — so I came back on Sunday, when I had some, and dropped a bit in.)&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/new-orleans/preservation-hall-exterior.jpg&#34; width=700 alt=&#34;The weathered exterior of Preservation Hall in the French Quarter, a crowd gathered outside under a mural reading &#39;KEEP YOUR HEAD UP&#39;&#34;&gt;
&lt;p&gt;&lt;em&gt;Outside Preservation Hall before the set — an unassuming, beautifully worn old building.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/new-orleans/preservation-hall.jpg&#34; width=700 alt=&#34;A packed crowd inside the dim, weathered room at Preservation Hall, New Orleans, facing the band area with paintings on the worn walls&#34;&gt;
&lt;p&gt;&lt;em&gt;A packed house at Preservation Hall — standing room only, in a beautifully worn old room. I went in not knowing what to feel and came out a believer.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Afterwards I walked &lt;strong&gt;Bourbon Street&lt;/strong&gt; in a light rain — costumes, street performers, a kind of permanent carnival energy that reminded me a little of Times Square. I capped the night with &lt;strong&gt;gumbo and a chicory coffee&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id=&#34;saturday-morning--into-the-swamp&#34;&gt;Saturday morning — into the swamp&lt;/h2&gt;
&lt;p&gt;Saturday I went out on a &lt;strong&gt;swamp and bayou boat tour&lt;/strong&gt; — a covered pontoon boat (not an airboat), with a hotel pickup around 8 AM, out to the &lt;strong&gt;Barataria / Jean Lafitte&lt;/strong&gt; wetlands south of the city. We saw &lt;strong&gt;alligators&lt;/strong&gt;, glided through the bayou, and the guide turned out to be a great source of facts that I&amp;rsquo;ve been hoarding ever since:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;bayou&lt;/strong&gt; is a slow-moving body of water whose &lt;strong&gt;water can flow in both directions&lt;/strong&gt; — unlike a normal river or canal, which always runs from high ground to low.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Spanish moss&lt;/strong&gt; is one of the great misnomers: it&amp;rsquo;s &lt;strong&gt;not a moss, not a parasite, and not from Spain&lt;/strong&gt;. It&amp;rsquo;s a silvery plant that, during the &lt;strong&gt;Great Depression&lt;/strong&gt;, was harvested as a cheap substitute for cotton to stuff cushions and pillows — and gave a lot of people work.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cypress trees&lt;/strong&gt; here can grow as large and as useful as redwoods.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Marsh vs. swamp&lt;/strong&gt;: a swamp is forested; a marsh is treeless, floating vegetation.&lt;/li&gt;
&lt;li&gt;On the wildlife: everything we saw was &lt;strong&gt;alligators, not crocodiles&lt;/strong&gt;. Alligators are relatively lazy, docile, nocturnal predators — they mostly take prey smaller than themselves and only go after a human by mistake (a squatting person or a kid slapping the water can read as &amp;ldquo;small prey&amp;rdquo;). Their teeth don&amp;rsquo;t even touch when their mouths close. Crocodiles are the aggressive ones.&lt;/li&gt;
&lt;li&gt;A genuinely odd fact: &lt;strong&gt;Louisiana — and New Orleans especially — is one of the only places you can privately own a body of water.&lt;/strong&gt; You can&amp;rsquo;t feed gators in public waters, but in private waters the rules are looser, which is why the guides can lure them with marshmallows.&lt;/li&gt;
&lt;/ul&gt;
&lt;video controls preload=&#34;metadata&#34; width=700 style=&#34;max-width:100%;height:auto;&#34;&gt;
  &lt;source src=&#34;https://aldrinjenson.com/images/new-orleans/gator.mp4&#34; type=&#34;video/mp4&#34;&gt;
  Your browser doesn&#39;t support embedded video. &lt;a href=&#34;https://aldrinjenson.com/images/new-orleans/gator.mp4&#34;&gt;Download the clip&lt;/a&gt;.
&lt;/video&gt;
&lt;p&gt;&lt;em&gt;One of the locals, swimming right up to our boat. Alligators are surprisingly docile — they mostly ignore you.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;saturday-afternoon--the-national-wwii-museum&#34;&gt;Saturday afternoon — the National WWII Museum&lt;/h2&gt;
&lt;p&gt;This was the best thing I did all weekend.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll be honest about why it landed so hard. One of my long-standing weaknesses is &lt;strong&gt;history and geography&lt;/strong&gt; — I&amp;rsquo;d pick up scattered facts in small museums and never had a frame to hang them on. The National WWII Museum gave me that frame. I did the &lt;strong&gt;guided tour&lt;/strong&gt; plus their signature cinematic film, &lt;strong&gt;&amp;ldquo;Beyond All Boundaries,&amp;rdquo;&lt;/strong&gt; narrated by Tom Hanks. It&amp;rsquo;s not cheap (around $76 all-in), but it&amp;rsquo;s worth every dollar.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/new-orleans/wwii-museum.jpg&#34; width=700 alt=&#34;An exhibit hall inside the National WWII Museum in New Orleans&#34;&gt;
&lt;p&gt;&lt;em&gt;The National WWII Museum. I came in expecting to tick a box and left wanting to learn for months.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;For the first time, the whole war clicked into a &lt;strong&gt;timeline&lt;/strong&gt; instead of a pile of disconnected facts. A few things that crystallised:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The war &amp;ldquo;ends&amp;rdquo; in 1945, but the trouble really starts in &lt;strong&gt;1919, with the Treaty of Versailles&lt;/strong&gt;. After that comes the Great Depression, and roughly a decade later the war proper.&lt;/li&gt;
&lt;li&gt;Two forces expanding at the same time — &lt;strong&gt;Nazi Germany&lt;/strong&gt; in Europe and &lt;strong&gt;Japan&lt;/strong&gt; in the Pacific — eventually threatening both Europe and America, until &lt;strong&gt;Pearl Harbor&lt;/strong&gt; pulled the US fully in. (I&amp;rsquo;ll admit it: before this trip I didn&amp;rsquo;t even know where Pearl Harbor &lt;em&gt;was&lt;/em&gt;.)&lt;/li&gt;
&lt;li&gt;What stayed with me most was the sheer &lt;strong&gt;resilience and coordination&lt;/strong&gt; — building weapons and ammunition at scale, organising across an entire society without any of the communication tools we take for granted, and a country that was deeply divided by race and class at home pulling together for the war effort. It left me with a real respect for what was achieved.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It also left me with a pile of questions I&amp;rsquo;m still chasing — what was Italy&amp;rsquo;s stake in joining the Axis? What was Russia&amp;rsquo;s role, and why did Hitler march on Moscow? I walked out wanting to learn the &lt;strong&gt;map of the world&lt;/strong&gt; properly and to memorise a few anchor dates so the next thing I read has somewhere to attach. The single biggest realisation: most of my confusion about history came simply from &lt;strong&gt;not knowing where countries are&lt;/strong&gt; and &lt;strong&gt;not having a timeline&lt;/strong&gt;. Fix those two and everything else has a place to hang.&lt;/p&gt;
&lt;p&gt;And there was a nice little connection on the way out: the &lt;strong&gt;Spanish moss&lt;/strong&gt; I&amp;rsquo;d learned about that very morning became popular during the &lt;strong&gt;Great Depression&lt;/strong&gt; — which I now knew sat &lt;em&gt;before&lt;/em&gt; the Second World War. Two facts from two completely different tours, suddenly linked. That&amp;rsquo;s the feeling I travel for.&lt;/p&gt;
&lt;h3 id=&#34;dinner-at-cochon&#34;&gt;Dinner at Cochon&lt;/h3&gt;
&lt;p&gt;I had dinner at &lt;strong&gt;Cochon&lt;/strong&gt;, chef Donald Link&amp;rsquo;s Cajun restaurant near the museum. It was a bit of a splurge (around $42 with tip) and worth it — proper &lt;strong&gt;South Louisiana cuisine&lt;/strong&gt;: &lt;strong&gt;fried alligator&lt;/strong&gt;, &lt;strong&gt;wood-fired oysters&lt;/strong&gt;, and the namesake &lt;strong&gt;cochon&lt;/strong&gt; — slow-cooked pork with cracklins.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/new-orleans/cochon-dinner.jpg&#34; width=700 alt=&#34;A Cajun dinner at Cochon in New Orleans — fried alligator, wood-fired oysters and slow-cooked pork&#34;&gt;
&lt;p&gt;&lt;em&gt;Dinner at Cochon — fried alligator, wood-fired oysters, and the pork dish the place is named for.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;sunday--a-slow-goodbye&#34;&gt;Sunday — a slow goodbye&lt;/h2&gt;
&lt;p&gt;My last morning was deliberately unhurried. I left the hotel late, wandered back into the French Quarter, and finally got &lt;strong&gt;inside St. Louis Cathedral&lt;/strong&gt; — this time for the &lt;strong&gt;11 AM Mass&lt;/strong&gt;, which felt like the right way to close the loop after finding it shut on Friday.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/new-orleans/cathedral-interior.jpg&#34; width=700 alt=&#34;The ornate interior of St. Louis Cathedral during Mass — a vaulted, painted ceiling, chandeliers, flags hanging in the nave, and a black-and-white checkerboard marble floor&#34;&gt;
&lt;p&gt;&lt;em&gt;Inside St. Louis Cathedral during Sunday Mass. The flags down the nave represent the nations whose flags once flew over New Orleans — France, Spain, Britain and the US among them.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then the part of the day I&amp;rsquo;d most been looking forward to: &lt;strong&gt;breakfast at Café du Monde&lt;/strong&gt;. I&amp;rsquo;d actually tried to go on Friday and been defeated by not carrying cash (a recurring theme — more on that below), but the main Jackson Square stand runs basically around the clock, so I came back for it. &lt;strong&gt;Beignets and a café au lait&lt;/strong&gt; — powdered sugar everywhere, exactly as advertised. They were fine, honestly — pleasant rather than mind-blowing — but it&amp;rsquo;s one of those things you do for the ritual as much as the pastry. I wandered the &lt;strong&gt;French Market&lt;/strong&gt; alongside it.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/new-orleans/cafe-du-monde-beignets.jpg&#34; width=700 alt=&#34;A plate of beignets dusted with powdered sugar and a café au lait at Café du Monde, New Orleans&#34;&gt;
&lt;p&gt;&lt;em&gt;Café du Monde beignets and a café au lait. Bring cash.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;To get out to the &lt;strong&gt;Garden District&lt;/strong&gt;, I took the &lt;strong&gt;St. Charles Avenue streetcar&lt;/strong&gt; — one of the oldest continuously operating streetcars in the world, an olive-green wooden car that rattles down a track shaded by enormous oaks. It&amp;rsquo;s a lovely, slow way to watch the city change from the dense Quarter to wide avenues and grand houses. Out there I joined a &lt;strong&gt;pay-what-you-wish walking tour&lt;/strong&gt; of the Garden District (I caught it about halfway through, gave $15), had a mocktail at a café, and then headed for the airport.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/new-orleans/st-charles-streetcar.jpg&#34; width=700 alt=&#34;The historic olive-green St. Charles Avenue streetcar, car number 460, crossing an intersection in downtown New Orleans&#34;&gt;
&lt;p&gt;&lt;em&gt;The St. Charles streetcar out to the Garden District — my favourite way to move around the city.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/new-orleans/garden-district.jpg&#34; width=700 alt=&#34;A huge spreading live oak arching over the corner of First Street in the Garden District of New Orleans, grand houses on either side under a blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;The Garden District — enormous live oaks arching over quiet streets of grand old houses. A completely different New Orleans from the French Quarter.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;music-everywhere&#34;&gt;Music everywhere&lt;/h2&gt;
&lt;p&gt;If there&amp;rsquo;s one thing that defines New Orleans more than the food or the history, it&amp;rsquo;s the music. It isn&amp;rsquo;t confined to venues — it&amp;rsquo;s the city&amp;rsquo;s baseline hum. Beyond Preservation Hall, live jazz pours out of the bars all down &lt;strong&gt;Bourbon Street&lt;/strong&gt; and &lt;strong&gt;Royal Street&lt;/strong&gt;, and street musicians set up on corners with a trumpet, a clarinet, a sousaphone and a bucket for tips. You genuinely can&amp;rsquo;t walk far without running into a band. It&amp;rsquo;s the most musical place I&amp;rsquo;ve ever been.&lt;/p&gt;
&lt;video controls preload=&#34;metadata&#34; width=700 style=&#34;max-width:100%;height:auto;&#34;&gt;
  &lt;source src=&#34;https://aldrinjenson.com/images/new-orleans/jazz-bourbon-street.mp4&#34; type=&#34;video/mp4&#34;&gt;
  Your browser doesn&#39;t support embedded video. &lt;a href=&#34;https://aldrinjenson.com/images/new-orleans/jazz-bourbon-street.mp4&#34;&gt;Download the clip&lt;/a&gt;.
&lt;/video&gt;
&lt;p&gt;&lt;em&gt;Street jazz in the French Quarter — this kind of thing is happening on half the corners.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;by-the-river&#34;&gt;By the river&lt;/h2&gt;
&lt;p&gt;It was down on the bank of the &lt;strong&gt;Mississippi&lt;/strong&gt; that I came across the &lt;strong&gt;Monument to the Immigrant&lt;/strong&gt; — a white marble statue of a family stepping off the boat, dedicated in 1995 by the Italian American Marching Club. It stuck with me more than I expected.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/new-orleans/immigrant-monument.jpg&#34; width=700 alt=&#34;The Monument to the Immigrant in New Orleans — a white marble statue of an immigrant family on a pedestal beside the Mississippi River&#34;&gt;
&lt;p&gt;&lt;em&gt;The Monument to the Immigrant, on the bank of the Mississippi.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It got me thinking about how much of America is a story of people arriving from somewhere else — though it&amp;rsquo;s worth being precise about &lt;em&gt;who&lt;/em&gt;. The &lt;strong&gt;French and Spanish&lt;/strong&gt; who founded and ruled New Orleans in the 1700s were really &lt;strong&gt;colonists&lt;/strong&gt;, establishing colonial rule rather than immigrating to a country that already existed. Much of the city was then physically &lt;strong&gt;built by enslaved Africans&lt;/strong&gt;, brought here by force — not immigrants in any sense, but central to what the place became. It was only later, in the 1800s, that the genuine waves of &lt;strong&gt;immigrants&lt;/strong&gt; — Sicilian Italians, Irish, Germans — arrived through the port to settle and work. That last wave is what the Monument to the Immigrant honours, and it&amp;rsquo;s what rhymed with two places I&amp;rsquo;d visited recently back in New York: the &lt;strong&gt;&lt;a href=&#34;https://www.eldridgestreet.org/&#34;&gt;Museum at Eldridge Street&lt;/a&gt;&lt;/strong&gt;, a beautifully restored synagogue that tells the story of Jewish immigration, and the &lt;strong&gt;Tenement Museum&lt;/strong&gt; on the Lower East Side, where Italian and Jewish families were packed into a single building. Different city, same story of arrival.&lt;/p&gt;
&lt;p&gt;The river itself is worth a pause. The Mississippi is a mighty thing to stand beside, even if it&amp;rsquo;s not the cleanest water you&amp;rsquo;ll ever see — one of my guides told me flatly that you can&amp;rsquo;t swim in it. He talked about the city&amp;rsquo;s endless fight with water: New Orleans sits low and floods easily, so the river is held back by &lt;strong&gt;levees&lt;/strong&gt; (the raised embankments built up along the banks), and about &lt;strong&gt;Hurricane Katrina&lt;/strong&gt; in 2005, when those defences failed and much of the city went under. It&amp;rsquo;s a reminder that this lovely place lives in a slightly precarious truce with the water around it.&lt;/p&gt;
&lt;h2 id=&#34;the-food&#34;&gt;The food&lt;/h2&gt;
&lt;p&gt;New Orleans food deserves its own section. Over three days I worked my way through most of the classics:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Jambalaya&lt;/strong&gt; — a rice dish with meat cooked in; mine was Creole-style at Napoleon House. Hearty, a little sweet.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Muffuletta&lt;/strong&gt; — the famous New Orleans sandwich, stacked with cured meats, cheese and an olive salad. I had mine at &lt;strong&gt;Café Beignet&lt;/strong&gt; on Canal Street.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Gumbo&lt;/strong&gt; — a thick stew over rice; I had a bowl with a chicory coffee.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Fried alligator&lt;/strong&gt; — yes, really, at Cochon. Tastes a bit like firm chicken.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Wood-fired oysters&lt;/strong&gt; — also at Cochon, smoky and rich.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cochon&lt;/strong&gt; — the slow-cooked pork dish the restaurant is named after, with cracklins.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Beignets and café au lait&lt;/strong&gt; at Café du Monde — the iconic finale. I&amp;rsquo;ll be honest: the beignets were &lt;em&gt;okay&lt;/em&gt;, pleasant rather than a revelation. The ritual is half the point.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Chicory coffee&lt;/strong&gt; — the local style, coffee cut with roasted chicory root; worth trying at least once.&lt;/li&gt;
&lt;/ul&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/new-orleans/nola-food.jpg&#34; width=700 alt=&#34;Three scoops of New Orleans jambalaya — rice cooked with meat — served with crusty bread and a pat of butter&#34;&gt;
&lt;p&gt;&lt;em&gt;Jambalaya, served as three rice scoops with bread and butter. There&amp;rsquo;s a reason people come to New Orleans just to eat.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;what-i-made-of-it&#34;&gt;What I made of it&lt;/h2&gt;
&lt;p&gt;Honestly, it was a good trip and I&amp;rsquo;m glad I went. It was humid, and I walked a &lt;em&gt;lot&lt;/em&gt; — but walking is the way to see the place. The city is walkable enough, and the public transport (the streetcars especially) is good; the only time I needed an Uber the whole weekend was to and from the airport.&lt;/p&gt;
&lt;p&gt;The people were what I remember most. Every guide I had — the French Quarter history walk, the Garden District tour, the swamp tour — was warm and genuinely good company. That&amp;rsquo;s not a given, and it coloured the whole trip.&lt;/p&gt;
&lt;p&gt;On cost: it was a little cheaper than New York, but not by as much as I&amp;rsquo;d expected. I&amp;rsquo;d assumed a Southern city would be a fair bit easier on the wallet, and it was only marginally so. Still, the things worth doing were worth the money. If I were advising someone, I&amp;rsquo;d say &lt;strong&gt;skip the big riverboat cruise and do the swamp tour instead&lt;/strong&gt;, and &lt;strong&gt;spend an evening at Preservation Hall for the jazz&lt;/strong&gt; — those were the right calls. And just sitting by the water for a while was lovely in its own quiet way.&lt;/p&gt;
&lt;p&gt;The best thing, by some distance, was the &lt;strong&gt;National WWII Museum&lt;/strong&gt;. I came away having genuinely learned — about the war, and about the French and Spanish layers of the city&amp;rsquo;s own history. That&amp;rsquo;s exactly what I want from travel: to come home knowing more than I did, and to have it stick.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s been a memorable trip. I&amp;rsquo;m really glad I went.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;When I went.&lt;/strong&gt; June, which was brutally humid, with heat advisories. Next time, spring or autumn.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Where I stayed.&lt;/strong&gt; The Arts / Warehouse District. It was walkable to both the French Quarter and the WWII Museum, and quieter than being right on Bourbon Street.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cash.&lt;/strong&gt; I got caught out with only cards and had to come back the next day for my Café du Monde beignets and to tip the Preservation Hall band.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Eating.&lt;/strong&gt; I tried to power through the days on snacks, which was a mistake in a city where the food is half the point.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What I did and what it cost:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Thing&lt;/th&gt;
&lt;th&gt;My take&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;National WWII Museum&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The highlight. The &lt;strong&gt;&amp;ldquo;Beyond All Boundaries&amp;rdquo;&lt;/strong&gt; film is part of it. I wish I&amp;rsquo;d given it more time.&lt;/td&gt;
&lt;td&gt;~$76 all-in&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;French Quarter history walk&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Friends of the Cabildo&lt;/strong&gt;, from Jackson Square. History-dense, so eat first.&lt;/td&gt;
&lt;td&gt;~$30&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Swamp tour&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Covered pontoon boat with hotel pickup, out to the Barataria / Jean Lafitte wetlands.&lt;/td&gt;
&lt;td&gt;~$75&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Preservation Hall&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Standing-room jazz, about 45 minutes. Punched way above its ticket price.&lt;/td&gt;
&lt;td&gt;$28&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</description>
    </item>
    
    <item>
      <title>Query Search Bot</title>
      <link>https://aldrinjenson.com/projects/query-search-bot/</link>
      <pubDate>Sun, 24 Oct 2021 19:25:18 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/projects/query-search-bot/</guid>
      <description>&lt;p&gt;I started my experiments with Telegram Bots in the November of 2020 when I wanted an easy way to receive notifications.
Discord was the first option, but it was just too cumbersome for the simple purpose of receiving notifications. Telegram was much more convenient and easy to use. I used and built various Telegram bots of different complexities during my tenure at TGH Tech. I also used it for my &lt;a href=&#34;https://aldrinjenson.com/projects/moodle-automation&#34;&gt;Moodle Automation&lt;/a&gt; program as well.&lt;/p&gt;
&lt;h2 id=&#34;motivation&#34;&gt;Motivation&lt;/h2&gt;
&lt;p&gt;This is one of my first major Telegram bot and was first made to get myself familiar with the functions offered by the &lt;a href=&#34;https://github.com/yagop/node-telegram-bot-api&#34;&gt;node-telegram-bot-api&lt;/a&gt; library. The idea is simple - make Internet queries without leaving telegram.&lt;/p&gt;
&lt;h2 id=&#34;the-flow&#34;&gt;The flow&lt;/h2&gt;
&lt;p&gt;The steps involved are as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The user adds the bot to a group&lt;/li&gt;
&lt;li&gt;He uses a command to trigger the bot&lt;/li&gt;
&lt;li&gt;He sends the bot a query to search&lt;/li&gt;
&lt;li&gt;The bot sends the top search results of that particular query.&lt;/li&gt;
&lt;li&gt;END&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;implementation&#34;&gt;Implementation&lt;/h2&gt;
&lt;p&gt;Searching part is basically web-scraping. While google doesn&amp;rsquo;t provide a free api to search, there are some alternative implementation like &lt;a href=&#34;https://github.com/jarun/googler&#34;&gt;googlr&lt;/a&gt;. I tried to use these alternatives, but they either works only in the cli or were just too cumbersome to use.
&lt;br/&gt;
With Google unavailable, I started looking for alternatives, which lead me to my answer -&amp;gt; Bing api. Initially I was a bit skeptical about using bing search engine, but turns out it&amp;rsquo;s the second most popular search engine after Google even though there&amp;rsquo;s a large market share gap.
I found that the results for search queries were quite reasonable as well.
&lt;br/&gt;
So with bing fixed, I used the &lt;a href=&#34;https://www.npmjs.com/package/bing-scraper&#34;&gt;bing-scraper&lt;/a&gt; npm package for my query searching.&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;The logic was quite simple actually. Whenever the user sends a search query to the bot, in the backend, the bot uses the above library to scrape bing and find the top results which are then sent as response messages back to the user.&lt;/p&gt;
&lt;p&gt;Since this was a small project, I didn&amp;rsquo;t want to host it on a server as usual. Heroku was the first option I thought about. However, due to Heroku&amp;rsquo;s free tier limitations, once the server entered a sleep state, it needs an external HTTP request to wake it up. The telegram bot I set up was using constant polling mechanism to listen for requests, which meant that the telegram triggers won&amp;rsquo;t wake up the Heroku server.&lt;/p&gt;
&lt;p&gt;I initially tried to create a simple API endpoint from the server, and then constantly pinging it at regular intervals to prevent the server from going to sleep. However even this wasn&amp;rsquo;t sustainable as Heroku free tier has this limitation that your server cannot be active for more than 500 hours per month. Bummer.&lt;/p&gt;
&lt;p&gt;So as usual, I started looking for other options to get free hosting. I had an AWS account. I didn&amp;rsquo;t want to use and ec2 for this small project. But there were &lt;a href=&#34;https://aws.amazon.com/lambda&#34;&gt;Lambdas&lt;/a&gt; available. I didn&amp;rsquo;t have much experiences with serverless computing before, but this seemed like a good opportunity to try them out. AWS Lambda offers 1 million free requests per month, which seemed more than plenty for my use case😇.&lt;/p&gt;
&lt;h2 id=&#34;implementing-lambda-functions&#34;&gt;Implementing Lambda functions&lt;/h2&gt;
&lt;p&gt;Implementing lambda functions can be made very easy using the &lt;a href=&#34;https://www.serverless.com/&#34;&gt;serverless framework&lt;/a&gt;.
It was very confusing for me initially on the product&amp;rsquo;s name - Serverless, the same name as the serverless architecture. 🤷 I&amp;rsquo;ll refer to the Serverless platform with a capital S.
The process involved the following steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You install Serverless cli and generates the serverless boilerplate for nodeJs(other languages also available)&lt;/li&gt;
&lt;li&gt;You create a Serverless account and login to your dashboard&lt;/li&gt;
&lt;li&gt;You connect your cloud provider(AWS Lambda in my case) to Serverless&lt;/li&gt;
&lt;li&gt;You push your code to a github repo and connect it to the Serverless platform. (optional)&lt;/li&gt;
&lt;li&gt;You enter the command &lt;code&gt;sls deploy&lt;/code&gt; in your code directory to deploy the code to the connected cloud provider.&lt;/li&gt;
&lt;li&gt;END&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Now there was one change I had to make for the bot to work with serverless. Since serverless functions will be active only once a request has been received, my initial approach of using long polling(default approach in the node-telegram-bot-api library as well) to query for updates won&amp;rsquo;t work. So I used webhook approach to fix this issue. Basically once the user sends a message to the bot, it reaches the Telegram servers first, and then from there it calls the deployed serverless url wherein I have a switch statement that fires functions depending on the message content/command. &lt;a href=&#34;https://github.com/aldrinjenson/tg-querySearchBot/blob/d5260c7672909f07ca664bb075369f4bfbe0b5cd/index.js#L50&#34;&gt;Here&amp;rsquo;s&lt;/a&gt; the actual code implementation.
Check out the &lt;a href=&#34;https://github.com/aldrinjenson/tg-querySearchBot/blob/main/README.md&#34;&gt;ReadMe file&lt;/a&gt; as well where I&amp;rsquo;ve added some instructions on the process of setting up webhooks for telegram bots.&lt;/p&gt;
&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;Once the serverless flow was understood, then building and deploying the bot was not that difficult. I had used this same bot as an example to explain the concept of building and deploying bots to many others. Overall even thought the project was kinda small in code or logic, it contained many learnings and people other than me were able to benefit out of this project. So Lesson learned, it&amp;rsquo;s better almost always to learn something by building rather than just by simply watching a Youtube tutorial without applying the concepts.&lt;/p&gt;
&lt;p&gt;This bot was actually the base of many other complex Telegram bots I made. By the end of 2 months in TGH Tech, I was pretty well-versed in the node-telegram-bot-api library and had even written several utility functions to make a lot of tasks much, much easier. It was my wish to group them together and publish them as a library so that many other who faced similar problems could use it. Sadly though, I got busy afterwards with other projects and by the time I was free, I had lost all touch with bots and I had this feeling that even if I had published them as a library, I may not be able to fix any issues people may raise or even test PRs because I won&amp;rsquo;t be working with any Telegram bots at all. Now though, while writing about this, I&amp;rsquo;m having different thoughts.. may be I think even if I won&amp;rsquo;t be feeling any motivation to fix these, the code could be useful to many people and maybe someone could fork it and work on it to improve.. The chances of bugs are pretty low as well, because several bots are running in production level at TGH tech using the utility functions I wrote.. so hmm, let me see, I&amp;rsquo;ll update it here if I&amp;rsquo;m publishing the library🤞.&lt;/p&gt;
&lt;p&gt;Check out the project &lt;a href=&#34;https://github.com/aldrinjenson/tg-querySearchBot&#34;&gt;here&lt;/a&gt;.
&lt;br/&gt;
Live Demo at &lt;a href=&#34;https://t.me/querySearchBot&#34;&gt;querySearchBot&lt;/a&gt;.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Vegas and the Grand Canyon, solo</title>
      <link>https://aldrinjenson.com/travel/las-vegas/</link>
      <pubDate>Tue, 23 Jun 2026 00:20:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/las-vegas/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Las Vegas, Nevada + the Grand Canyon, Arizona · May 23–26, 2026 · solo · one backpack&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I had a four-day Memorial Day weekend and a simple goal: see one of the iconic, bucket-list American places before I run out of long weekends here. The shortlist came down to Las Vegas (with the Grand Canyon as a day trip) or New Orleans. I went with Vegas, mostly because the Grand Canyon was the real draw — Vegas was the airport you fly into and the spectacle you get for free on either side of it.&lt;/p&gt;
&lt;p&gt;So I booked a flight, packed a single backpack, and went alone for four days. This is how it went: the canyon, the Strip, and the things I learned.&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/las-vegas/grand-canyon-sunrise.jpg&#34; width=700 alt=&#34;The Grand Canyon at dawn from the South Rim — layered red rock ridges receding into haze under a clear sky, a bird in flight over the canyon&#34;&gt;
&lt;p&gt;&lt;em&gt;The Grand Canyon at sunrise from the South Rim. This is what I came for, and no photo really does the scale of it justice.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;first-impressions-an-oasis-built-for-splurging&#34;&gt;First impressions: an oasis built for splurging&lt;/h2&gt;
&lt;p&gt;The first thing that hits you, even from the Uber in from the airport, is the setting. It&amp;rsquo;s a &lt;strong&gt;desert&lt;/strong&gt; — cacti and dry mountains in every direction — and then this dense, glittering city rises out of it like an &lt;strong&gt;oasis&lt;/strong&gt;. The contrast is genuinely striking. And it&amp;rsquo;s &lt;strong&gt;hot&lt;/strong&gt; — but it&amp;rsquo;s a dry desert heat, so it&amp;rsquo;s nowhere near as oppressive as the sticky humidity of somewhere like New Orleans; the sun is intense, but you&amp;rsquo;re not constantly drenched.&lt;/p&gt;
&lt;p&gt;The second thing hits you about ten minutes later: the whole place is engineered to separate you from your money, and it does it brilliantly. Gambling machines are &lt;em&gt;everywhere&lt;/em&gt; — sit down at a bar and there&amp;rsquo;s a slot machine built into the counter in front of you, glowing, waiting. It is so easy to gamble. Showgirls, neon, people in skimpy outfits, free drinks appearing at your elbow the moment you sit down at a table. My one-line summary, which I kept repeating to myself all weekend: &lt;strong&gt;it&amp;rsquo;s an adult Disneyland.&lt;/strong&gt; A theme park for grown-up vices.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll say up front what I concluded by the end: it&amp;rsquo;s a fun place to visit and I&amp;rsquo;m glad I went, but &lt;strong&gt;I would not want to live there&lt;/strong&gt;. By the third day I was ready to leave. It feels like exactly what it is — a place in the desert you come to for a few days of fun, and then you go home.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/las-vegas/welcome-sign.jpg&#34; width=700 alt=&#34;The iconic &#39;Welcome to Fabulous Las Vegas Nevada&#39; neon sign lit up at night, with a palm tree beside it&#34;&gt;
&lt;p&gt;&lt;em&gt;The &amp;ldquo;Welcome to Fabulous Las Vegas&amp;rdquo; sign, lit up at night — the first stop on the overnight tour out to the canyon.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;saturday--downtown-and-fremont-street&#34;&gt;Saturday — downtown and Fremont Street&lt;/h2&gt;
&lt;p&gt;I stayed downtown at the &lt;strong&gt;Four Queens&lt;/strong&gt; on &lt;strong&gt;Fremont Street&lt;/strong&gt;, rather than on the Strip. I&amp;rsquo;d worried about street noise, but I lucked into a room on the quiet side, high up around the tenth floor, so it was fine.&lt;/p&gt;
&lt;p&gt;Fremont Street at night is basically a &lt;strong&gt;compressed, slightly seedier Times Square&lt;/strong&gt;: a barrel-vaulted canopy of lights overhead, street performers everywhere, a zip-line running over the crowd, and dancers in not-much-clothing up on platforms by the bars. It&amp;rsquo;s loud and a lot, in the way the whole city is a lot.&lt;/p&gt;
&lt;video controls preload=&#34;metadata&#34; width=700 style=&#34;max-width:100%;height:auto;&#34;&gt;
  &lt;source src=&#34;https://aldrinjenson.com/images/las-vegas/fremont-street.mp4&#34; type=&#34;video/mp4&#34;&gt;
  Your browser doesn&#39;t support embedded video. &lt;a href=&#34;https://aldrinjenson.com/images/las-vegas/fremont-street.mp4&#34;&gt;Download the clip&lt;/a&gt;.
&lt;/video&gt;
&lt;p&gt;&lt;em&gt;Fremont Street at night — the light canopy overhead, performers everywhere, a permanent party.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Downtown also has two museums worth knowing about, both a short walk from the Four Queens: the &lt;strong&gt;Mob Museum&lt;/strong&gt; — the history of organized crime in America, set in an old federal courthouse — and the &lt;strong&gt;Neon Museum&lt;/strong&gt;, the &amp;ldquo;boneyard&amp;rdquo; of retired Vegas signs. Both only open in the afternoon (around 4 PM), so I worked them into the trip later rather than on arrival. My &amp;ldquo;lunch,&amp;rdquo; eaten mid-afternoon, was a big &lt;strong&gt;All-American breakfast&lt;/strong&gt; at a downtown diner — the first of a lot of huge American plates this trip.&lt;/p&gt;
&lt;p&gt;Once the afternoon opening hours rolled around, I spent some time at the &lt;strong&gt;Mob Museum&lt;/strong&gt; — the history of organized crime and law enforcement in America, housed in a genuine former federal courthouse a couple of blocks from the hotel. I wandered it on my own (no tour). It was &lt;em&gt;okay&lt;/em&gt; — a bit on the pricey side for what it is — but genuinely interesting in places: the story of how &lt;strong&gt;Italian immigrants&lt;/strong&gt; arrived and the way that ties into the broader history of immigration and migration, and the famous figures like &lt;strong&gt;Al Capone&lt;/strong&gt;. More than once it had me thinking of &lt;em&gt;The Godfather&lt;/em&gt;. Worth a look if you&amp;rsquo;re downtown anyway.&lt;/p&gt;
&lt;p&gt;That night, a little before 10 PM, I went down to the hotel lobby for the part of the trip I&amp;rsquo;d actually come for.&lt;/p&gt;
&lt;h2 id=&#34;sunday--the-grand-canyon-the-whole-point&#34;&gt;Sunday — the Grand Canyon (the whole point)&lt;/h2&gt;
&lt;p&gt;This was the heart of the trip, and the reason I&amp;rsquo;d pick this itinerary again.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d booked a &lt;strong&gt;small-group sunrise tour&lt;/strong&gt; out to the Grand Canyon, and the logistics are wild: the &amp;ldquo;Sunday&amp;rdquo; tour actually picks you up &lt;strong&gt;Saturday night&lt;/strong&gt;, around 10 PM, and drives through the dark so you reach the rim for sunrise. We went out in a white Mercedes Sprinter van — a group of about eleven — with a Korean guide named &lt;strong&gt;Sean&lt;/strong&gt; and a Las Vegas local named &lt;strong&gt;Deziree&lt;/strong&gt; (&amp;ldquo;Dez&amp;rdquo;) running the day.&lt;/p&gt;
&lt;p&gt;The first real stop was a &lt;strong&gt;stargazing&lt;/strong&gt; break out in the desert, far from any city light. The sky was unbelievable — a proper carpet of stars, something I&amp;rsquo;d never seen like that growing up around city lights.&lt;/p&gt;
&lt;p&gt;Then, after roughly four hours of driving, we reached the &lt;strong&gt;South Rim&lt;/strong&gt; for sunrise, around 5 AM. Because tourism was noticeably down that season, the rim was nearly &lt;strong&gt;empty&lt;/strong&gt; — almost no crowds at one of the most-visited places in America.&lt;/p&gt;
&lt;p&gt;And then you see it.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/las-vegas/grand-canyon-rim-me.jpg&#34; width=700 alt=&#34;Aldrin standing on the rocks at the Grand Canyon&#39;s edge, arms spread wide, silhouetted against the rising sun&#34;&gt;
&lt;p&gt;&lt;em&gt;Sunrise at the rim. I stood there with my arms out because that&amp;rsquo;s genuinely how it makes you feel.&lt;/em&gt; The single thought that struck me, standing there, was just: &lt;strong&gt;it was so big.&lt;/strong&gt; Pictures genuinely don&amp;rsquo;t prepare you for the scale. It was majestic in a way I wasn&amp;rsquo;t ready for — I felt like I &lt;strong&gt;could sit there and stare at it for hours.&lt;/strong&gt; Standing at the edge I said a very small, quiet prayer — just &lt;em&gt;&amp;ldquo;this is impressive, and thank you for showing me this.&amp;rdquo;&lt;/em&gt; It felt like the right response to something that big.&lt;/p&gt;
&lt;p&gt;The one thing I&amp;rsquo;d change: &lt;strong&gt;time.&lt;/strong&gt; The tour had a lot of ground to cover, so I got maybe &lt;strong&gt;ten or twelve minutes at the rim&lt;/strong&gt; before it was time for the group photos and back to the van. I left wanting much more, and I have a real feeling I&amp;rsquo;ll &lt;strong&gt;come back someday and spend a proper amount of time there.&lt;/strong&gt; If the Grand Canyon portion had been twice as long, the trip would have been perfect.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/las-vegas/grand-canyon-sign.jpg&#34; width=700 alt=&#34;Aldrin standing beside the stone &#39;Grand Canyon National Park&#39; entrance sign on a sunny morning&#34;&gt;
&lt;p&gt;&lt;em&gt;Proof I made it. Tourism was so quiet that season that the rim itself was nearly empty.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;One thing I couldn&amp;rsquo;t stop thinking about: the &lt;strong&gt;Colorado River&lt;/strong&gt; at the bottom now looks &lt;em&gt;tiny&lt;/em&gt;. It&amp;rsquo;s genuinely hard to picture how that small a river carved something this vast. I asked the guide about it on the spot, and I&amp;rsquo;ve been meaning to watch some explainer videos ever since to actually understand the geology.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/las-vegas/horseshoe-bend.jpg&#34; width=700 alt=&#34;Aldrin perched on the rock ledge above Horseshoe Bend, the Colorado River curving in a deep U around a sandstone butte far below&#34;&gt;
&lt;p&gt;&lt;em&gt;Horseshoe Bend — the Colorado River wrapping a full U-turn around the rock, seen from the cliff above.&lt;/em&gt;&lt;/p&gt;
&lt;h3 id=&#34;the-other-stops&#34;&gt;The other stops&lt;/h3&gt;
&lt;p&gt;The tour was really a tour of canyon country, not just the Grand Canyon:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Horseshoe Bend&lt;/strong&gt; — the famous sweeping bend in the Colorado River, seen from the cliff above. Genuinely striking; I took a lot of photos here.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lower Antelope Canyon&lt;/strong&gt; — the narrow, sculpted slot canyon with the light coming down through the walls. Very interesting, but it &lt;strong&gt;ran long&lt;/strong&gt; — we had about an hour and forty minutes, and by three-quarters of the way through I&amp;rsquo;d seen what there was to see and was ready to head back.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Lake Powell&lt;/strong&gt; — a quick stop, fine but rushed.&lt;/li&gt;
&lt;/ul&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/las-vegas/lake-powell.jpg&#34; width=700 alt=&#34;Aldrin with arms outstretched on the sandy shore of Lake Powell, blue water and pale desert hills stretching into the distance under a deep blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Lake Powell — the last stop of a very long day, blue water in the middle of all that desert.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/las-vegas/antelope-canyon.jpg&#34; width=700 alt=&#34;The smooth, wave-like orange and red sandstone walls of Lower Antelope Canyon curving overhead, with daylight filtering down through the narrow slot&#34;&gt;
&lt;p&gt;&lt;em&gt;Inside Lower Antelope Canyon — the sandstone is sculpted into these smooth orange waves, with light coming down through the slot above.&lt;/em&gt;&lt;/p&gt;
&lt;h3 id=&#34;the-people-made-it&#34;&gt;The people made it&lt;/h3&gt;
&lt;p&gt;Here&amp;rsquo;s my biggest takeaway from the whole trip, and it&amp;rsquo;s about &lt;em&gt;how&lt;/em&gt; I traveled more than where: &lt;strong&gt;for a solo trip, take the guided tour whenever you can.&lt;/strong&gt; You get the history and the context you&amp;rsquo;d never piece together alone, and — maybe more importantly — you get &lt;strong&gt;people&lt;/strong&gt;. Over the long day I talked to almost everyone in the van: &lt;strong&gt;Laura&lt;/strong&gt;, Swedish but raised in Argentina; &lt;strong&gt;Dina&lt;/strong&gt; from Russia; three young Korean women who were endlessly photographing everything; a Mexican family living in Florida; and a solo woman from Queens.&lt;/p&gt;
&lt;p&gt;The one who stayed with me was Dez, the guide. Over food she told me her story — &lt;strong&gt;foster care, a mother who struggled with addiction, a grandmother who raised her but was hard on her&lt;/strong&gt; — and how she&amp;rsquo;d worked her way up through driving big bus tours into guiding. She was warm and funny and good company all day. I tipped her well. (She also quietly waved the new $100 non-resident park fee when I showed my New York ID — more on that fee in my notes at the end.)&lt;/p&gt;
&lt;p&gt;The drive itself was its own kind of education. Watching the landscape roll past for hours — mountain ranges, canyons, water, valleys, &lt;strong&gt;buffalo grazing&lt;/strong&gt;, small towns — I kept being struck by how &lt;strong&gt;vast and varied&lt;/strong&gt; this country is, and how much engineering it takes to make it all work (the Hoover Dam, the roads cut through mountains). It&amp;rsquo;s the kind of thing you can only really feel by crossing it overland.&lt;/p&gt;
&lt;p&gt;We got back to Vegas around 6:30 PM — I&amp;rsquo;d been awake and moving for roughly 24 hours — and somehow my body was fine.&lt;/p&gt;
&lt;h3 id=&#34;sunday-night--the-neon-museum-skip-it&#34;&gt;Sunday night — the Neon Museum (skip it)&lt;/h3&gt;
&lt;p&gt;After a shower and dinner I went out to the &lt;strong&gt;Neon Museum&lt;/strong&gt;, the &amp;ldquo;boneyard&amp;rdquo; of retired Vegas signs. Honest verdict: &lt;strong&gt;not worth it.&lt;/strong&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/las-vegas/neon-museum.jpg&#34; width=700 alt=&#34;The restored, brightly-lit Stardust casino sign at night in the Neon Museum boneyard, with other old neon signs around it&#34;&gt;
&lt;p&gt;&lt;em&gt;The old Stardust sign at the Neon Museum. The signs are cool to look at — I just didn&amp;rsquo;t think it was worth the price.&lt;/em&gt; It was $35 to get in plus $15 for the guided tour, and the guide&amp;rsquo;s history narration didn&amp;rsquo;t land for me. If you&amp;rsquo;re tight on time or money, this is the easy thing to cut.&lt;/p&gt;
&lt;h2 id=&#34;monday--the-strip&#34;&gt;Monday — the Strip&lt;/h2&gt;
&lt;p&gt;Monday was my one full free day, and I spent it walking the Strip end to end, gawking at the architecture and watching the city do its thing.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/las-vegas/caesars-palace.jpg&#34; width=700 alt=&#34;Aldrin standing in front of the ornate marble &#39;Fountain of the Gods&#39; inside Caesars Palace, beneath a painted blue-sky ceiling&#34;&gt;
&lt;p&gt;&lt;em&gt;The Fountain of the Gods inside Caesars Palace — fake sky, real marble, completely over the top, and I loved it.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I went from one themed mega-casino to the next: &lt;strong&gt;Luxor&lt;/strong&gt; (the black glass pyramid), &lt;strong&gt;New York-New York&lt;/strong&gt; (a whole skyline rebuilt indoors), &lt;strong&gt;Caesars Palace&lt;/strong&gt; (which was genuinely impressive), the &lt;strong&gt;Bellagio&lt;/strong&gt; (the conservatory gardens and the fountains — a highlight), the &lt;strong&gt;Cosmopolitan&lt;/strong&gt;, and the &lt;strong&gt;Venetian&lt;/strong&gt;. The Venetian was my favourite — the indoor canals and painted-sky ceiling and the gardens &lt;strong&gt;reminded me of actually being in Venice&lt;/strong&gt; a few months earlier, and it was lovely in its own slightly unreal way. Somewhere near there I found a &lt;strong&gt;Zoltar&lt;/strong&gt; machine — the fortune-telling automaton from the movie &lt;em&gt;Big&lt;/em&gt; — which was a fun little thing to stumble on.&lt;/p&gt;
&lt;video controls preload=&#34;metadata&#34; width=700 style=&#34;max-width:100%;height:auto;&#34;&gt;
  &lt;source src=&#34;https://aldrinjenson.com/images/las-vegas/bellagio-gardens.mp4&#34; type=&#34;video/mp4&#34;&gt;
  Your browser doesn&#39;t support embedded video. &lt;a href=&#34;https://aldrinjenson.com/images/las-vegas/bellagio-gardens.mp4&#34;&gt;Download the clip&lt;/a&gt;.
&lt;/video&gt;
&lt;p&gt;&lt;em&gt;The Bellagio&amp;rsquo;s conservatory gardens — an enormous, elaborate indoor flower display that they redo through the year. One of the nicer free things on the Strip.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The big-ticket item was the &lt;strong&gt;Sphere&lt;/strong&gt; — the giant spherical venue — where I saw their cinematic production of &lt;em&gt;The Wizard of Oz&lt;/em&gt; on the enormous wraparound screen. My honest take: it was &lt;strong&gt;okay&lt;/strong&gt;. The technology is genuinely something — watching anything on a screen that big and immersive is a real experience — but I wish they&amp;rsquo;d played something &lt;em&gt;newer&lt;/em&gt;. &lt;em&gt;The Wizard of Oz&lt;/em&gt; is a very old film, and I kept wishing the incredible screen had a more modern movie to show off with. Still, no regrets seeing it; the Sphere is one of those things you go to Vegas to see.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/las-vegas/sphere-wizard-of-oz.jpg&#34; width=700 alt=&#34;Promotional artwork for &#39;The Wizard of Oz at Sphere&#39; — the Emerald City at the end of a yellow brick road winding through green hills and a field of red poppies&#34;&gt;
&lt;p&gt;&lt;em&gt;&amp;ldquo;The Wizard of Oz&amp;rdquo; at the Sphere. The screen is genuinely incredible — I just wish they&amp;rsquo;d put a newer film on it.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;One small thing I stumbled into on my second-to-last night: back at the hotel, I watched the whole of &lt;em&gt;&lt;strong&gt;The Hangover&lt;/strong&gt;&lt;/em&gt;. Watching it &lt;em&gt;in Vegas&lt;/em&gt;, after a few days of actually walking these streets and casinos, was oddly perfect — half the gags suddenly made sense, and I recognised the places and the whole ridiculous logic of the city in a way I never would have from my couch in New York.&lt;/p&gt;
&lt;h3 id=&#34;on-gambling--i-watched-i-didnt-play&#34;&gt;On gambling — I watched, I didn&amp;rsquo;t play&lt;/h3&gt;
&lt;p&gt;I&amp;rsquo;d been struck on day one by how aggressively the city pushes gambling, and I&amp;rsquo;ll admit I was curious. But I &lt;strong&gt;never gambled&lt;/strong&gt; — it just seemed like a bad idea, money lit on fire by design. What I &lt;em&gt;did&lt;/em&gt; do, quite a lot, was wander the casino floors and &lt;strong&gt;watch&lt;/strong&gt; people play. The thing I remember most is the &lt;strong&gt;older women&lt;/strong&gt; parked at the slot machines for hours, cigarette smoke hanging over everything, the workers bringing them &lt;strong&gt;free drinks&lt;/strong&gt; to keep them seated and playing. The whole machine of it — the lights, the noise, the free booze, the slot built into the bar — is engineered so precisely to keep you there that watching it was more interesting to me than joining in.&lt;/p&gt;
&lt;h2 id=&#34;the-food&#34;&gt;The food&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ll be honest: food was not the highlight of this trip the way it is in some cities. It was mostly &lt;strong&gt;big American plates&lt;/strong&gt; — that opening All-American breakfast, burgers, some Mexican food that was decent — and the portions were &lt;em&gt;huge&lt;/em&gt;. There&amp;rsquo;s no shortage of food in Vegas; there&amp;rsquo;s almost too much of it. The tour included a breakfast and lunch stop out in canyon country, which were fine. If you&amp;rsquo;re going to Vegas for the eating, the high-end celebrity-chef restaurants are the move — I kept it simple and cheap, and that was the right call for a trip that was really about the canyon.&lt;/p&gt;
&lt;h2 id=&#34;what-i-made-of-it&#34;&gt;What I made of it&lt;/h2&gt;
&lt;p&gt;Vegas is exactly what everyone says it is: an &lt;strong&gt;adult Disneyland in the desert&lt;/strong&gt; — a place engineered for a few days of spectacle and indulgence, and then you leave. I had a good time, I&amp;rsquo;m glad I saw it, and I have zero desire to go back or to live anywhere near it. By day three the novelty had worn through and I was ready for the airport. That&amp;rsquo;s not a complaint — I think that&amp;rsquo;s the city working as intended.&lt;/p&gt;
&lt;p&gt;What I didn&amp;rsquo;t expect was to find the city&amp;rsquo;s &lt;em&gt;origin story&lt;/em&gt; so interesting. Las Vegas began as a small railroad town, and then boomed in the 1930s when thousands of workers arrived to build the &lt;strong&gt;Hoover Dam&lt;/strong&gt; and Nevada legalised gambling at the same time — the casinos essentially grew up to entertain the dam workers, and everything since has been built on top of that. (The railroad thread was a nice echo of my earlier trip to &lt;strong&gt;Sacramento&lt;/strong&gt;, where the railroad&amp;rsquo;s history was the whole story too.) Talking to my &lt;strong&gt;Uber drivers&lt;/strong&gt; filled in the rest: almost none of them are originally from Vegas — people move here from all over the country to make money and then move on — and, to a person, every one of them was firmly &lt;strong&gt;against gambling&lt;/strong&gt;. It&amp;rsquo;s a transient, car-dependent, dry desert city built around an industry most of the people running it would tell you to stay away from. That contrast stuck with me.&lt;/p&gt;
&lt;p&gt;But the &lt;strong&gt;Grand Canyon&lt;/strong&gt; was the real thing, and it more than justified the whole trip. It was the most majestic thing I&amp;rsquo;ve seen — big enough to reset your sense of scale — and my only regret is that I didn&amp;rsquo;t get to sit with it longer. I&amp;rsquo;ll be back for that.&lt;/p&gt;
&lt;p&gt;The other thing I took home wasn&amp;rsquo;t a place at all, it was a method: &lt;strong&gt;solo travel plus a guided tour is a great combination.&lt;/strong&gt; You get the depth of someone who knows the place, and you get a van full of strangers from all over the world to talk to for a day. For a trip I took entirely alone, I was rarely actually lonely.&lt;/p&gt;
&lt;p&gt;It was a memorable weekend. I&amp;rsquo;m really glad I went.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;The canyon was the trip.&lt;/strong&gt; Vegas was fun for two days. If I did it again, I&amp;rsquo;d pick a tour with more time at the rim, even if it meant fewer other stops.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;No car needed.&lt;/strong&gt; I don&amp;rsquo;t have a US license, so it was all tours and rideshare, and that worked fine. Uber and Lyft were instant, even at 2 AM.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The overnight pickup.&lt;/strong&gt; The &amp;ldquo;Sunday&amp;rdquo; sunrise tour picked me up on Saturday around 10 PM, so I basically didn&amp;rsquo;t sleep that night.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The $100 park fee.&lt;/strong&gt; Since January 2026 there&amp;rsquo;s a $100 fee for non-US-residents at the Grand Canyon. I&amp;rsquo;d brought the cash, but the guide waved it when I showed my New York State ID.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Downtown vs the Strip.&lt;/strong&gt; I stayed downtown on Fremont Street. Cheaper, with its own energy, but about $15 by rideshare to the Strip each time.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Weather.&lt;/strong&gt; Late May was hot but dry, much easier than a humid city. The South Rim at sunrise was around 15°C, so I was glad of a light jacket.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What I did and what it cost:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Thing&lt;/th&gt;
&lt;th&gt;My take&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Grand Canyon sunrise tour&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;The best thing I did. Included Antelope Canyon and Horseshoe Bend.&lt;/td&gt;
&lt;td&gt;~$384 + fees/tip&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;The Sphere&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Worth seeing once for the screen alone. I saw &lt;em&gt;The Wizard of Oz&lt;/em&gt;.&lt;/td&gt;
&lt;td&gt;~$124&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Bellagio fountains + conservatory&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Genuinely lovely.&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Walking the Strip casinos&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Venetian, Caesars, Luxor, New York-New York. A free spectacle.&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Mob Museum&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Interesting in parts (the Italian-immigration story, Al Capone), a touch pricey.&lt;/td&gt;
&lt;td&gt;~$30&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Neon Museum&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Not worth it, for me.&lt;/td&gt;
&lt;td&gt;$35 + $15 tour&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://aldrinjenson.com/travel/new-orleans/&#34;&gt;A solo weekend in New Orleans&lt;/a&gt; — the other big solo American weekend, and a useful contrast: culture and food versus spectacle and desert.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Sending Whatsapp messages without saving contact</title>
      <link>https://aldrinjenson.com/projects/whatsapp-msg-without-save/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://aldrinjenson.com/projects/whatsapp-msg-without-save/</guid>
      <description>&lt;h3 id=&#34;abstract&#34;&gt;Abstract&lt;/h3&gt;
&lt;p&gt;An app I made to ensure that you can share links and files really easily to anyone without having to save the contact number of that person by using the already existing most famous digital medium of communication - Whatsapp.&lt;/p&gt;
&lt;p&gt;Get the code and APK from this &lt;a href=&#34;https://github.com/aldrinjenson/send-whatsapp-msg-without-save&#34;&gt;link&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;I had to learn flutter for a mini-project in my college. I wanted to build something to try out and this is regarding a very simple Flutter app I made which I believe solves a great problem in the lives of the common people.&lt;/p&gt;
&lt;h1 id=&#34;the-problem&#34;&gt;The Problem&lt;/h1&gt;
&lt;p&gt;For a common person, the most familiar app in their phone is Whatsapp. All the controls for texting and sending files are so familiar to them. When they see someone new and have to send something to them, what they usually do is to save the contact number and then searches whatsapp to locate their chat and send the file or link.
This is cool and all, but why save someone&amp;rsquo;s contact if it&amp;rsquo; going to be a one time file sharing..&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve faced this dilemma before as well when I&amp;rsquo;m part of the organizing team for some event and often times we may have to message the participants regarding some important announcement or even Google Meet links. E-mails cannot be relied upon for short term reminders while Whatsapp messages would be an excellent way.&lt;/p&gt;
&lt;p&gt;If only there was some way to send messages and files through whatsapp without having to save contact&amp;hellip;.&lt;/p&gt;
&lt;h2 id=&#34;the-solution&#34;&gt;The Solution&lt;/h2&gt;
&lt;p&gt;Whatsapp have this public api which can be used to open the Whatsapp chat of a user by passing in the mobile number as parameter.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s of this form:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href=&#34;https://api.whatsapp.com/send&#34;&gt;https://api.whatsapp.com/send&lt;/a&gt;?&amp;lt;mobile-number&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This is nice if you&amp;rsquo;re a techie as this is way better than actually having to save a contact number. However, it&amp;rsquo;s still clumsy as you&amp;rsquo;d have to enter this long URL each time you want to text someone on Whatsapp. Aha, I know what you&amp;rsquo;re thinking, what if me pass this to a url shortener like bit.ly&amp;hellip; Well, you&amp;rsquo;re right, an even easier way would be to have the url of the form:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;wa.me/&amp;lt;mobile-number&amp;gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I&amp;rsquo;ve been using this above URL method for months and it works flawlessly.&lt;/p&gt;
&lt;h2 id=&#34;even-better-solution&#34;&gt;Even better solution&lt;/h2&gt;
&lt;p&gt;Now, what if there was one app which could automate this even further so that even very common man could use this without having to use a browser to enter a URL each time!&lt;/p&gt;
&lt;p&gt;Well, that&amp;rsquo;s exactly what I made: An app which behind the scenes, calls the above link with a mobile number accepted as parameter.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s a demo:&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/wa_msg_without_save_demo.gif&#34; width=400 alt=&#34;demo workflow gif&#34;&gt;
&lt;br/&gt;
&lt;h2 id=&#34;code-and-implementation&#34;&gt;Code and implementation&lt;/h2&gt;
&lt;p&gt;The code is written in Flutter because the main reason for the starting of this project was for me to try out Flutter.&lt;/p&gt;
&lt;p&gt;Right now, it&amp;rsquo;s built only for Android as I don&amp;rsquo;t have access to a Macbook.&lt;/p&gt;
&lt;p&gt;The implementation part is very simple with just one class and one dart file.&lt;/p&gt;
&lt;p&gt;The code can be found in this Github repo: &lt;a href=&#34;https://github.com/aldrinjenson/send-whatsapp-msg-without-save&#34;&gt;aldrinjenson/send-whatsapp-msg-without-save&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;conclusion-and-afterthoughts&#34;&gt;Conclusion and afterthoughts&lt;/h2&gt;
&lt;p&gt;Most of my projects so far which a lot of people have felt really useful are those which were really simple to implement. Within just 2 months of building this app, I felt myself using this way more than I initially anticipated. An app like this is really useful if you&amp;rsquo;re organizing an event and you&amp;rsquo;d want to just start a conversation with a participant but you know for sure that you won&amp;rsquo;t be contacting them again after this one time event.&lt;/p&gt;
&lt;p&gt;Also really useful if you started talking to someone at a conference and you want to send them a link about your project.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve also used the app when I&amp;rsquo;ve gone to churches or festivals and have someone send a copy of the notice or brochure but usually folks only know to send via Whatsapp and hence need to save contact number.&lt;/p&gt;
&lt;p&gt;I found this really useful and when I showed it to a few friends, even they could instantly relate with the problem. I realized that opening up the app and entering a number is way faster than opening browser, typing wa.me/+91 and then entering the 10 digit phone number. It won&amp;rsquo;t seem obvious until you actually try it out yourself!&lt;/p&gt;
&lt;p&gt;Hey, maybe you can try it out now and see if it&amp;rsquo;s useful to you as well✨.&lt;/p&gt;
&lt;p&gt;Get the code and APK file from &lt;a href=&#34;https://github.com/aldrinjenson/send-whatsapp-msg-without-save&#34;&gt;here&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Sacramento, and judging HackDavis</title>
      <link>https://aldrinjenson.com/travel/sacramento/</link>
      <pubDate>Sat, 31 Oct 2026 10:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/sacramento/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Sacramento + Davis, California · May 9–10, 2026 · solo · judging at HackDavis&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I was invited to be a judge at &lt;strong&gt;HackDavis&lt;/strong&gt;, the student hackathon at UC Davis, just outside Sacramento. So I turned it into a weekend: a day exploring Sacramento, then a day of judging.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/tower-bridge.jpg&#34; width=700 alt=&#34;The golden Tower Bridge over the Sacramento River on a clear blue afternoon&#34;&gt;
&lt;h2 id=&#34;getting-there&#34;&gt;Getting there&lt;/h2&gt;
&lt;p&gt;It was an early start: up at 4:30 AM for a 7:15 flight out of JFK, with a change in Minneapolis, landing in Sacramento around lunchtime.&lt;/p&gt;
&lt;p&gt;The night before had not gone to plan. At about 11 PM my Airbnb host cancelled on me, so at around 1 AM, a few hours before my alarm, I was booking a room at the &lt;strong&gt;Governors Inn&lt;/strong&gt; instead. It worked out fine. I dropped my backpack there and went straight out to walk.&lt;/p&gt;
&lt;h2 id=&#34;a-slower-kind-of-city&#34;&gt;A slower kind of city&lt;/h2&gt;
&lt;p&gt;Sacramento felt calm right away. People were relaxed and moving slower, it was a sunny 89°F, and there were convertibles driving by with music playing. The houses are mostly one or two storeys, with lots of open space, so the city spreads out instead of up. It&amp;rsquo;s the opposite of New York in almost every way, and it was a nice change for a day.&lt;/p&gt;
&lt;h2 id=&#34;the-california-state-railroad-museum&#34;&gt;The California State Railroad Museum&lt;/h2&gt;
&lt;p&gt;My first stop, and the best one of the day, was the &lt;strong&gt;California State Railroad Museum&lt;/strong&gt; in &lt;strong&gt;Old Sacramento&lt;/strong&gt;. There were so many trains. I finally understood how steam locomotives actually work, and how hard it was to build the railroads and tunnels through the mountains. A lot of that work was done by Chinese workers who came over to build them. Walking around it, I kept thinking about how much ingenuity went into all of it.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/railroad-museum-locomotive.jpg&#34; width=450 alt=&#34;A black steam locomotive with a big brass headlamp, set against a rocky mountain backdrop inside the museum&#34;&gt;
&lt;p&gt;&lt;em&gt;A locomotive in the mountain-pass gallery.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/railroad-museum-track-layers.jpg&#34; width=450 alt=&#34;Life-size figures of workers laying railroad track in front of an old wooden station&#34;&gt;
&lt;p&gt;&lt;em&gt;Laying the track, by hand.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;They even have the silver from the old dining cars, laid out as if dinner was about to be served.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/southern-pacific-dining-china.jpg&#34; width=700 alt=&#34;Southern Pacific silverware, plates and teapots laid out in a glass case in a dining car&#34;&gt;
&lt;p&gt;From the museum I walked along the river to the &lt;strong&gt;Tower Bridge&lt;/strong&gt;, the golden lift bridge over the Sacramento River.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/tower-bridge-selfie.jpg&#34; width=700 alt=&#34;Aldrin in a grey cap and polo shirt taking a selfie in front of the Tower Bridge&#34;&gt;
&lt;p&gt;I&amp;rsquo;d planned to go to the &lt;strong&gt;Crocker Art Museum&lt;/strong&gt; next, but I got there at a quarter to five, too late to go in. (I came back for it on Sunday.)&lt;/p&gt;
&lt;h2 id=&#34;an-evening-walk&#34;&gt;An evening walk&lt;/h2&gt;
&lt;p&gt;From there I walked through Fremont Park to the &lt;strong&gt;R Street&lt;/strong&gt; area, where I had dinner. After dark I looped through &lt;strong&gt;Capitol Park&lt;/strong&gt; to the State Capitol, all lit up.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/capitol-at-night.jpg&#34; width=450 alt=&#34;The California State Capitol dome lit up white at night, seen down an empty street&#34;&gt;
&lt;p&gt;&lt;em&gt;The Capitol, around 9 PM.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then I finished back on the river in Old Sacramento, where the &lt;strong&gt;Delta King&lt;/strong&gt;, an old paddle steamer that&amp;rsquo;s now a hotel, was lit up along the water.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/delta-king-at-night.jpg&#34; width=450 alt=&#34;The Delta King paddle steamer glowing with lights on the dark Sacramento River&#34;&gt;
&lt;p&gt;&lt;em&gt;The Delta King.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;judging-hackdavis&#34;&gt;Judging HackDavis&lt;/h2&gt;
&lt;p&gt;On Sunday morning I went straight out to UC Davis. The day started with a briefing in a lecture hall, and the judging itself was in the afternoon, in the arena at the University Credit Union Center. There were around 30 judges, each going from table to table with a scoring sheet while the student teams demoed what they&amp;rsquo;d built in a weekend. One of the categories I scored was &lt;strong&gt;Best Interdisciplinary Hack&lt;/strong&gt;.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/hackdavis-opening.jpg&#34; width=450 alt=&#34;A lecture hall with the HackDavis title slide on the projector screen before the judges&#39; briefing&#34;&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/hackdavis-arena.jpg&#34; width=450 alt=&#34;An arena floor filled with rows of tables, students and laptops, seen from the stands&#34;&gt;
&lt;p&gt;&lt;em&gt;The arena, mid-judging.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/hackdavis-judge-upper-deck.jpg&#34; width=700 alt=&#34;Aldrin smiling on the upper deck of the University Credit Union Center, with the hackathon tables and the big screen behind him&#34;&gt;
&lt;p&gt;Two projects I remember: &lt;strong&gt;Third Eye&lt;/strong&gt;, a neighbourhood security camera that runs computer vision on the device itself, as a free alternative to Ring, and &lt;strong&gt;Anticipate&lt;/strong&gt;, which tracks pests in real time so farmers can see them on a map of their fields. I&amp;rsquo;ve been on the other side of hackathons many times, as a participant and an organiser, and this time I was the one judging. I also met a few of the other judges and connected with some of them.&lt;/p&gt;
&lt;h2 id=&#34;the-crocker-second-try&#34;&gt;The Crocker, second try&lt;/h2&gt;
&lt;p&gt;After the judging I went back into Sacramento and made it into the &lt;strong&gt;Crocker Art Museum&lt;/strong&gt; this time, with about 45 minutes before closing. It&amp;rsquo;s two buildings joined together: a modern white pavilion, and the original Crocker family mansion, with painted ceilings, columns and a grand wooden staircase.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/crocker-mansion-hall.jpg&#34; width=450 alt=&#34;Aldrin standing in a grand hall of the old Crocker mansion with columns, chandeliers and a painted ceiling&#34;&gt;
&lt;p&gt;&lt;em&gt;Inside the old mansion.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/crocker-pavilion.jpg&#34; width=700 alt=&#34;The white, curved modern pavilion of the Crocker Art Museum under a blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;The new wing.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;sunday-evening-mass&#34;&gt;Sunday evening Mass&lt;/h2&gt;
&lt;p&gt;From the Crocker I went to the evening Mass at &lt;strong&gt;St. Stephen the Martyr&lt;/strong&gt;. It was a traditional Latin Mass, and it was the first time I&amp;rsquo;d seen women wearing chapel veils in church. It was Mother&amp;rsquo;s Day, and the homily was about gratitude to mothers and about Mary.&lt;/p&gt;
&lt;h2 id=&#34;frank-fats-and-the-red-eye-home&#34;&gt;Frank Fat&amp;rsquo;s, and the red-eye home&lt;/h2&gt;
&lt;p&gt;Before my flight I had dinner at &lt;strong&gt;Frank Fat&amp;rsquo;s&lt;/strong&gt;, right across from the Capitol: chicken, vegetables and rice. I only found out later that it&amp;rsquo;s a Sacramento institution. It opened in 1939, and it&amp;rsquo;s famous among politicians, including for a 1987 deal California legislators supposedly worked out on a napkin there.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/sacramento/capitol-sunday-evening.jpg&#34; width=450 alt=&#34;The California State Capitol in warm evening sun, with trees on either side&#34;&gt;
&lt;p&gt;&lt;em&gt;The Capitol again on Sunday evening, near Frank Fat&amp;rsquo;s.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then I took the red-eye back to Newark and was home Monday morning.&lt;/p&gt;
&lt;h2 id=&#34;what-i-took-from-it&#34;&gt;What I took from it&lt;/h2&gt;
&lt;p&gt;Sacramento made one thing clear to me: I&amp;rsquo;m a city person. I like having lots to go out and do, and that&amp;rsquo;s why New York suits me. But I can see the appeal of slowing down somewhere like this one day.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Check museum closing times. The Crocker closes at 5, and I only got in on the second try.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Five days in Orlando: Disney, Universal, and EPCOT</title>
      <link>https://aldrinjenson.com/travel/orlando/</link>
      <pubDate>Thu, 23 Jul 2026 02:30:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/orlando/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Orlando, Florida · April 23–27, 2026 · with Dan&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In April I did the most touristy trip of my time in America: five days in Orlando with Dan, hitting Magic Kingdom, Universal&amp;rsquo;s Islands of Adventure and EPCOT back to back to back. I landed on two and a half hours of sleep and came home very happy. It was a lot more fun than I expected.&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/orlando/castle-arms-up.jpg&#34; width=450 alt=&#34;Aldrin with both arms raised in front of Cinderella Castle under a bright blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Magic Kingdom, finally.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;arrival-day-disney-springs-ifly-and-the-wheel&#34;&gt;Arrival day: Disney Springs, iFLY and the wheel&lt;/h2&gt;
&lt;p&gt;Orlando is a city built entirely around fun, and you feel it the moment you land: everything is an experience. Our warm-up day started at &lt;strong&gt;Disney Springs&lt;/strong&gt;, the free shopping and food area, which gives you the Disney atmosphere without a park ticket. There&amp;rsquo;s a volcano with a waterfall pouring down it outside the Rainforest Cafe.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/disney-springs-volcano.jpg&#34; width=450 alt=&#34;Aldrin standing in front of a fake volcano with waterfalls at Disney Springs&#34;&gt;
&lt;p&gt;&lt;em&gt;The volcano at Disney Springs.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;There were vintage cars parked along the water, including an old amphibious car that actually drives into the lake.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/amphicar.jpg&#34; width=450 alt=&#34;A turquoise vintage amphibious car parked beside a waterfront walkway with palm trees&#34;&gt;
&lt;p&gt;&lt;em&gt;An Amphicar, the car that&amp;rsquo;s also a boat.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;And of course I had to try a lightsaber in the Star Wars shop.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/orlando/lightsaber.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Trying out a lightsaber at Disney Springs.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then &lt;strong&gt;iFLY indoor skydiving&lt;/strong&gt;, where you float on a column of air in an orange jumpsuit. It&amp;rsquo;s shorter than you&amp;rsquo;d think, but really fun. We finished on the &lt;strong&gt;ICON Park wheel&lt;/strong&gt; at sunset, which goes round twice. By then my two and a half hours of sleep had caught up with me, and I nearly dozed off mid-loop.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/icon-park-wheel.jpg&#34; width=450 alt=&#34;The ICON Park observation wheel in Orlando against a blue sky with scattered clouds, the entrance plaza below&#34;&gt;
&lt;p&gt;&lt;em&gt;The ICON Park wheel.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;From the top you can see all of Orlando, flat and green all the way to the horizon.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/wheel-view.jpg&#34; width=450 alt=&#34;Aldrin standing inside the glass gondola of the wheel with Orlando spread out below&#34;&gt;
&lt;p&gt;&lt;em&gt;The view from the top, still awake.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;magic-kingdom&#34;&gt;Magic Kingdom&lt;/h2&gt;
&lt;p&gt;We took the &lt;strong&gt;boat&lt;/strong&gt; to Magic Kingdom instead of the monorail, and approaching the castle slowly over the water felt exactly like arriving at a kingdom.&lt;/p&gt;
&lt;p&gt;We did a full day: Space Mountain, Pirates of the Caribbean, the Haunted Mansion, Seven Dwarfs Mine Train, the Mad Tea Party, the Tiki Room, and It&amp;rsquo;s a Small World, which is so gentle it nearly put me to sleep in the boat.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/dumbo.jpg&#34; width=450 alt=&#34;Aldrin smiling next to a golden Dumbo statue among flowers&#34;&gt;
&lt;p&gt;&lt;em&gt;Dumbo, in gold.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The Little Mermaid ride was one of the prettiest, all glowing fish and colours.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/little-mermaid.jpg&#34; width=450 alt=&#34;A dark ride scene of glowing colourful fish and sea creatures from The Little Mermaid&#34;&gt;
&lt;p&gt;&lt;em&gt;Under the sea.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;At the centre of the park is the &lt;strong&gt;Partners&lt;/strong&gt; statue, Walt Disney and Mickey holding hands, with the castle right behind.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/partners-statue.jpg&#34; width=450 alt=&#34;Aldrin standing beside the statue of Walt Disney and Mickey Mouse with Cinderella Castle behind them&#34;&gt;
&lt;p&gt;&lt;em&gt;Walt, Mickey and the castle.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Inside the castle&amp;rsquo;s archway there are huge mosaics telling the Cinderella story in tiny glass tiles.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/castle-mosaic.jpg&#34; width=450 alt=&#34;Aldrin standing in front of a large glass mosaic inside Cinderella Castle&#39;s archway&#34;&gt;
&lt;p&gt;&lt;em&gt;The mosaics inside the castle.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;When it got dark, the parade came through, every float lit up in thousands of lights.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/night-parade.jpg&#34; width=700 alt=&#34;A night parade float covered in glowing lights, with a colourful lit-up creature&#34;&gt;
&lt;p&gt;&lt;em&gt;The night parade.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then the castle turned blue for the night, and we stayed for the &lt;strong&gt;10 PM fireworks&lt;/strong&gt;. Everyone tells you to stay for them, and everyone is right.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/castle-night.jpg&#34; width=450 alt=&#34;Cinderella Castle lit up deep blue at night&#34;&gt;
&lt;p&gt;&lt;em&gt;The castle at night.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;And then the sky lit up.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/castle-fireworks.jpg&#34; width=450 alt=&#34;A burst of gold and pink fireworks filling the night sky over Magic Kingdom, treetops and rooftops silhouetted below&#34;&gt;
&lt;p&gt;&lt;em&gt;The fireworks.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline width=450 src=&#34;https://aldrinjenson.com/images/orlando/castle-fireworks.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Fireworks over the castle.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We didn&amp;rsquo;t get to Tron or the Jungle Cruise. A full day isn&amp;rsquo;t enough for everything, even with passes.&lt;/p&gt;
&lt;h2 id=&#34;universals-islands-of-adventure-the-best-day&#34;&gt;Universal&amp;rsquo;s Islands of Adventure: the best day&lt;/h2&gt;
&lt;p&gt;Universal was the high point of the trip for me. We rode &lt;strong&gt;Hagrid&amp;rsquo;s Magical Creatures Motorbike Adventure&lt;/strong&gt;, my favourite ride of the whole trip, then the &lt;strong&gt;Forbidden Journey&lt;/strong&gt; inside Hogwarts, &lt;strong&gt;Spider-Man&lt;/strong&gt;, &lt;strong&gt;Kong: Skull Island&lt;/strong&gt;, and the &lt;strong&gt;Hulk coaster&lt;/strong&gt;, twice.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/hagrids-ride.jpg&#34; width=450 alt=&#34;A coaster train on Hagrid&#39;s Magical Creatures Motorbike Adventure threading past the ruined castle arches at Islands of Adventure&#34;&gt;
&lt;p&gt;&lt;em&gt;Hagrid&amp;rsquo;s Magical Creatures Motorbike Adventure.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In the Wizarding World I had my first &lt;strong&gt;Butterbeer&lt;/strong&gt;. I don&amp;rsquo;t even have a big Harry Potter attachment, and it was still my favourite thing all day. The detail in that part of the park is unreal. There was even a choir of Hogwarts students singing outside the castle.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/butterbeer.jpg&#34; width=450 alt=&#34;Aldrin smiling and holding up a cup of Butterbeer in a crowded street at Universal&#34;&gt;
&lt;p&gt;&lt;em&gt;My first Butterbeer.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/hogwarts-choir.jpg&#34; width=700 alt=&#34;Performers in Hogwarts robes singing in front of a tall standing stone&#34;&gt;
&lt;p&gt;&lt;em&gt;The Hogwarts choir.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Over in the Jurassic Park area there&amp;rsquo;s the original movie jeep.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/jurassic-park-jeep.jpg&#34; width=700 alt=&#34;Aldrin standing next to the red and yellow Jurassic Park jeep in front of bamboo and a T-rex head&#34;&gt;
&lt;p&gt;&lt;em&gt;The Jurassic Park jeep.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Marvel Super Hero Island was all comic-book colours, with Spider-Man&amp;rsquo;s building towering over the street.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/spider-man.jpg&#34; width=450 alt=&#34;The Amazing Adventures of Spider-Man building with a giant Spider-Man figure under a cloudy sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Spider-Man.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Hulk&lt;/strong&gt; coaster was the one we went back for. It looks even better lit up green at night.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/hulk-coaster.jpg&#34; width=450 alt=&#34;Aldrin standing under the green tracks of the Incredible Hulk coaster at night&#34;&gt;
&lt;p&gt;&lt;em&gt;The Hulk coaster, after dark.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We also rode the &lt;strong&gt;Popeye river-rapids raft&lt;/strong&gt;, which soaks every single person on it. As the park closed, Seuss Landing was all lit up.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/seuss-landing-night.jpg&#34; width=700 alt=&#34;The colourful, curvy buildings and trees of Seuss Landing lit up at night&#34;&gt;
&lt;p&gt;&lt;em&gt;Seuss Landing at night.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The one I missed was the &lt;strong&gt;VelociCoaster&lt;/strong&gt;. It was closed for weather, then reopened while we were at lunch. It&amp;rsquo;s first on my list next time.&lt;/p&gt;
&lt;h2 id=&#34;epcot-the-park-for-grown-ups&#34;&gt;EPCOT: the park for grown-ups&lt;/h2&gt;
&lt;p&gt;EPCOT (&lt;em&gt;Experimental Prototype Community of Tomorrow&lt;/em&gt;) was the chill closer, and it felt like the most grown-up of the parks. You walk in under &lt;strong&gt;Spaceship Earth&lt;/strong&gt;, the giant silver ball.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/spaceship-earth.jpg&#34; width=450 alt=&#34;Close-up of the faceted silver geodesic sphere of Spaceship Earth against a blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Spaceship Earth.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;World Showcase&lt;/strong&gt; is a ring of country pavilions around a lagoon, and in one afternoon we walked through France, Norway, Germany, the UK, Morocco, China, Japan, Mexico and Canada, each with its own buildings and its own food.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/phone-box.jpg&#34; width=450 alt=&#34;Aldrin standing in a red British telephone box at the UK pavilion&#34;&gt;
&lt;p&gt;&lt;em&gt;A red phone box in the UK pavilion, months before I saw the real ones in London.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Japan was one of the most beautiful pavilions, with a pagoda among the pines.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/japan-pagoda.jpg&#34; width=450 alt=&#34;A five-tiered Japanese pagoda among pine trees at the EPCOT Japan pavilion&#34;&gt;
&lt;p&gt;&lt;em&gt;The pagoda at the Japan pavilion.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Its red torii gate stands right at the edge of the water.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/epcot-world-showcase.jpg&#34; width=700 alt=&#34;The Japan pavilion&#39;s red torii gate at the edge of the World Showcase lagoon at EPCOT at dusk&#34;&gt;
&lt;p&gt;&lt;em&gt;The torii gate on the lagoon.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Mexico is inside a pyramid, where it&amp;rsquo;s always night, with a little market and a boat ride under a starry sky.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/mexico-pavilion.jpg&#34; width=700 alt=&#34;A twilight-lit interior with a Mayan pyramid and trees under a deep blue artificial night sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Inside the Mexico pyramid.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Mission: SPACE turned out to be easier than its warnings make it sound. Guardians of the Galaxy, Test Track and Frozen Ever After were still on my list when the day ended. EPCOT quietly needs more than a day.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/world-showcase-lagoon.jpg&#34; width=700 alt=&#34;Aldrin standing by the World Showcase lagoon on a sunny evening&#34;&gt;
&lt;p&gt;&lt;em&gt;The lagoon, in the evening.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;EPCOT was also the one place on the whole trip where I caught myself thinking, &lt;em&gt;I could live somewhere like this&lt;/em&gt;. Which makes sense, since the park started as a prototype of a planned community.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/orlando/spaceship-earth-night.jpg&#34; width=450 alt=&#34;Spaceship Earth glowing pink and purple at night with palm trees in front&#34;&gt;
&lt;p&gt;&lt;em&gt;Spaceship Earth at night.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;a-solo-hour-with-dolphins&#34;&gt;A solo hour with dolphins&lt;/h2&gt;
&lt;p&gt;My flight home was hours after checkout, so I spent the gap at &lt;strong&gt;SeaWorld&lt;/strong&gt;, mostly just watching the dolphins. I stood there with a growing pile of physics questions: how do they float without moving? How does the blubber keep them buoyant? How do they turn that fast? No answers, just open questions, which are my favourite souvenir from any trip.&lt;/p&gt;
&lt;h2 id=&#34;looking-back&#34;&gt;Looking back&lt;/h2&gt;
&lt;p&gt;I had a great time. The express passes made a huge difference, one park a day was the right pace (and we still didn&amp;rsquo;t finish), and taking the boat to Magic Kingdom and staying for the fireworks were the two best calls of the trip. And next time, the VelociCoaster.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;We stayed near Celebration for about $72 a night, 10–15 minutes from the Disney parks and 20–25 from Universal.&lt;/li&gt;
&lt;li&gt;The order that worked: Disney Springs on arrival day, then Magic Kingdom, Universal, and EPCOT to wind down.&lt;/li&gt;
&lt;li&gt;Express passes at Universal sold out that morning. Book them early.&lt;/li&gt;
&lt;li&gt;The Popeye raft ride soaks you completely.&lt;/li&gt;
&lt;li&gt;Kennedy Space Center got squeezed out. It&amp;rsquo;s first on the list if I go back.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Love Calculator Prank: the one that Rickrolls you</title>
      <link>https://aldrinjenson.com/projects/love-calculator/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://aldrinjenson.com/projects/love-calculator/</guid>
      <description>&lt;p&gt;Before reading any further, visit this &lt;a href=&#34;https://aldrinjenson.github.io/Love-Calc/&#34;&gt;link&lt;/a&gt; and follow the instructions.&lt;/p&gt;
&lt;hr&gt;
Seriously dude, only continue if you visited the page and followed the instructions.
&lt;p&gt;This project was inspired by an article written by Subin Siby of Vidhya Institute of Sciences where he mentioned about how we once got pranked by a similar site.
I haven&amp;rsquo;t talked to him directly other than in an online meet when he answered a question I asked in chat, but I&amp;rsquo;ve heard he&amp;rsquo;s a cool dude interested in building cool software. (Wish I could talk to him directly for once🤞).&lt;/p&gt;
&lt;p&gt;Anyways, On April 1st 2020, I decided to build something since it&amp;rsquo;s April Fool&amp;rsquo;s and all. During those days, some of us in class had created a Whatsapp group for those interested in programming, where we shared different articles, tutorials etc for everyone to pick up and improve. In that group, began a conversation which somehow ended on the topic of compatibility between partners(I know, just the usual typical topic discussed in a programming group.😁). Anyway, I saw this message in the morning and this got me thinking. Since it was April Fool&amp;rsquo;s day, I definitely wanted to do something fun; plus around that time, I had gotten myself pretty familiar with the awesome CSS framework &lt;a href=&#34;https://materializecss.com/&#34;&gt;Materialize-CSS&lt;/a&gt; and I wanted to build something cool with it as well.
So with all these reasons, I decided to build a Love compatibility calculator(Not an actual one ofc.)&lt;/p&gt;
&lt;h2 id=&#34;the-idea&#34;&gt;The Idea&lt;/h2&gt;
&lt;p&gt;The idea was simple - prank folks by asking them to enter the details of their crush for finding the percentage of love compatibility between them. What&amp;rsquo;s the prank in this you ask? Well, once they details are submitted, instead of the data gets stored in a db and instead of a percentage value, the users get &lt;a href=&#34;https://en.wikipedia.org/wiki/Rickrolling&#34;&gt;Rick Rolled&lt;/a&gt;😇.&lt;/p&gt;
&lt;h2 id=&#34;implementation&#34;&gt;Implementation&lt;/h2&gt;
&lt;p&gt;The project was built fairly quickly. I started working on it in the afternoon and by evening the whole project was pretty much completed.
The site was built using just HTML, Materialize-CSS and vanilla Javascript.
I used firebase as the database since it was super quick to set up.&lt;/p&gt;
&lt;p&gt;Basically once the user filled the form with details, a POST request is made and a new record is created in the firebase DB.
The coding part was hence fairly easy. I added some GIFs and Mr.Been Youtube video as well.
Sadly though, I wasn&amp;rsquo;t able to figure out how to autoplay Youtube videos in HTML at that time.&lt;/p&gt;
&lt;h2 id=&#34;aftermath&#34;&gt;Aftermath&lt;/h2&gt;
&lt;p&gt;I hosted the site using Netlify and put the link in the above mentioned Whatsapp group.
Well, a lot of people tried it out and quite a good number of people entered the names of their actual crush. When they found out at the end that it was a prank, well some took the joke lightly while others it seemed were quite anxious🙈.&lt;/p&gt;
&lt;p&gt;I was actually very excited about this nice joke and had sent the link to 2 seniors from my college as well without much thinking. One chechi(elder sister) who was 3 years senior to me, sent me just one message after a while: &lt;code&gt;&amp;quot;Why?&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;All the excitement and pride of having built something cool suddenly drained out of me. I didn&amp;rsquo;t know how to reply. After a while I took down the site, cleared the database and apologized. She was cool about my innocent joke though, as she later told me that she had a hunch about this being some sort of phishing website, so it was cool and all. But I was very much shaken. At that time, I didn&amp;rsquo;t even know about the concept of phishing. On that day, I suddenly became very much aware of powers a programmer or a tech person holds. It&amp;rsquo;s easy to trick people with innocent looking sites and apps. as much cliché as it may sound, with great power, comes great responsibility. It is not that difficult even for a single person to create a make believe site and ask people to enter sensitive information in the promise of some great reward. The collected information could then be used to blackmail the user and collect money or whatever.&lt;/p&gt;
&lt;p&gt;This project hence, even though was a small one(only a few hours worth of work), it was an important one in my programming life. I realized that whatever you create could technically be used with a wrong intention as well which could result in major loss and sadness for people.&lt;/p&gt;
&lt;p&gt;The main site was took down, and I had removed the firebase Db connections. What you might have already seen contains just the UI. So no data is sent to anyone in case you actually entered any sensitive information when you visited the above site. But of-course, you were smart and you didn&amp;rsquo;t enter any actual details right?🌝&lt;/p&gt;
&lt;p&gt;Check out the project code &lt;a href=&#34;https://github.com/aldrinjenson/Love-Calc&#34;&gt;here&lt;/a&gt;!&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>A long weekend in Washington, DC</title>
      <link>https://aldrinjenson.com/travel/washington-dc/</link>
      <pubDate>Sat, 31 Oct 2026 10:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/washington-dc/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Washington, DC · Jan 17–19, 2026 · with Dan · MLK Day long weekend&lt;/p&gt;
&lt;/blockquote&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/capitol-in-the-rain.jpg&#34; width=450 alt=&#34;The US Capitol under a grey sky, the plaza in front of it wet with rain&#34;&gt;
&lt;p&gt;&lt;em&gt;The Capitol, first thing on Saturday.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;getting-there&#34;&gt;Getting there&lt;/h2&gt;
&lt;p&gt;We were in an Uber to Moynihan Train Hall at 5:20 on Saturday morning, for the 6 AM Amtrak down from New York. We got into Union Station at about a quarter to ten. The main hall has a huge coffered ceiling, and I stopped to take a photo before we went out.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/union-station.jpg&#34; width=450 alt=&#34;The coffered, vaulted ceiling over the main concourse of Union Station&#34;&gt;
&lt;p&gt;&lt;em&gt;Union Station.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;the-capitol&#34;&gt;The Capitol&lt;/h2&gt;
&lt;p&gt;From the station it was a short ride to Capitol Hill. It was cold and grey, and the plaza was wet from the rain.&lt;/p&gt;
&lt;p&gt;We did the tour inside, with the little audio headsets. In the &lt;strong&gt;Rotunda&lt;/strong&gt; you stand right under the dome and look straight up at the painting at the very top.&lt;/p&gt;
&lt;p&gt;The painting up there is &lt;em&gt;The Apotheosis of Washington&lt;/em&gt;, and Dan Brown&amp;rsquo;s &lt;em&gt;&lt;strong&gt;The Lost Symbol&lt;/strong&gt;&lt;/em&gt; opens right under it. I&amp;rsquo;d read the book before, so I kept looking up and picking out things I remembered. More on that book in a minute.&lt;/p&gt;
&lt;p&gt;Then &lt;strong&gt;National Statuary Hall&lt;/strong&gt;, where every state sends statues of its own people. I took photos of the ones from Nebraska and Ohio. Down in the visitor centre there&amp;rsquo;s the full-size plaster model of the &lt;strong&gt;Statue of Freedom&lt;/strong&gt;, the figure that stands on top of the dome.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/capitol-rotunda.jpg&#34; width=450 alt=&#34;Looking straight up into the Capitol Rotunda dome, with its ring of windows and the painting at the very top&#34;&gt;
&lt;p&gt;&lt;em&gt;Straight up, inside the Rotunda.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;the-library-of-congress&#34;&gt;The Library of Congress&lt;/h2&gt;
&lt;p&gt;Next was the &lt;strong&gt;Library of Congress&lt;/strong&gt;, the Thomas Jefferson Building, just across the street. We bought the timed tickets on the spot, two minutes before the 12:45 entry.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Great Hall&lt;/strong&gt; is all marble staircases, gold on the ceilings, and skylights in coloured glass.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/library-of-congress-great-hall.jpg&#34; width=450 alt=&#34;The Great Hall of the Library of Congress, with marble stairs, arches and a gold-and-blue painted ceiling&#34;&gt;
&lt;p&gt;&lt;em&gt;The Great Hall.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This was the part of the day that stood out most for me, because of &lt;em&gt;&lt;strong&gt;The Lost Symbol&lt;/strong&gt;&lt;/em&gt;. I&amp;rsquo;d read it before, and part of it happens in this very building. The whole book is about mysteries hidden in the capital&amp;rsquo;s buildings, with the Freemasons behind a lot of it, and walking through the real Great Hall felt a little like being inside it.&lt;/p&gt;
&lt;p&gt;I also saw the &lt;strong&gt;Gutenberg Bible&lt;/strong&gt;, one of the first books ever printed with movable type, open in a glass case, and the exhibit of &lt;strong&gt;Thomas Jefferson&amp;rsquo;s own library&lt;/strong&gt;: the books he sold to Congress to restart the library after the British burned the Capitol in 1814.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/gutenberg-bible.jpg&#34; width=450 alt=&#34;The Gutenberg Bible lying open in a glass case under a sign with its name&#34;&gt;
&lt;p&gt;&lt;em&gt;The Gutenberg Bible.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/jefferson-library.jpg&#34; width=450 alt=&#34;Shelves of old leather-bound books behind glass, under the title Thomas Jefferson&#39;s Library&#34;&gt;
&lt;p&gt;&lt;em&gt;Jefferson&amp;rsquo;s library.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;where-we-stayed&#34;&gt;Where we stayed&lt;/h2&gt;
&lt;p&gt;After the library we drove past the Washington Monument to the hotel. We stayed at &lt;strong&gt;The River Inn&lt;/strong&gt; in Foggy Bottom, a short walk from the Potomac, Georgetown and the Kennedy Center.&lt;/p&gt;
&lt;h2 id=&#34;georgetown-at-night&#34;&gt;Georgetown at night&lt;/h2&gt;
&lt;p&gt;On Saturday evening we walked over to &lt;strong&gt;Georgetown&lt;/strong&gt;. In the dark we found the &lt;strong&gt;Exorcist Steps&lt;/strong&gt;, the long, steep stone staircase from the old horror film, squeezed between a stone wall and a red-brick building, and the start of the &lt;strong&gt;C&amp;amp;O Canal&lt;/strong&gt; towpath.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/georgetown-steps-at-night.jpg&#34; width=450 alt=&#34;A steep, narrow stone staircase at night between a stone wall and a red-brick building&#34;&gt;
&lt;p&gt;&lt;em&gt;The Exorcist Steps, Saturday night.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;sunday-the-bus-the-white-house-air-and-space&#34;&gt;Sunday: the bus, the White House, Air and Space&lt;/h2&gt;
&lt;p&gt;On Sunday we took a hop-on hop-off &lt;strong&gt;Big Bus&lt;/strong&gt; loop around the city. We got off near the &lt;strong&gt;White House&lt;/strong&gt; around half past twelve and walked through Lafayette Square, past the statue of Andrew Jackson on his horse. Later the bus took us down the Mall to the Capitol again, this time from the other side.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/white-house.jpg&#34; width=450 alt=&#34;The White House behind the equestrian statue of Andrew Jackson in Lafayette Square, under a cloudy sky&#34;&gt;
&lt;p&gt;&lt;em&gt;The White House, from Lafayette Square.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In the afternoon we went to the &lt;strong&gt;National Air and Space Museum&lt;/strong&gt; (it&amp;rsquo;s free, you just reserve a pass). Before going in I&amp;rsquo;d looked up the Wright Flyer, the Apollo 11 command module &lt;em&gt;Columbia&lt;/em&gt;, and the &lt;em&gt;Spirit of St. Louis&lt;/em&gt;. What I actually came away with photos of was &lt;strong&gt;Neil Armstrong&amp;rsquo;s spacesuit&lt;/strong&gt;, a lunar module, a gallery of old hot-air balloons, and, of course, the panel about &lt;strong&gt;Buzz Aldrin&lt;/strong&gt;.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/armstrong-spacesuit.jpg&#34; width=450 alt=&#34;Neil Armstrong&#39;s white Apollo 11 spacesuit in a glass case, next to the words &#39;That&#39;s one small step for man, one giant leap for mankind&#39;&#34;&gt;
&lt;p&gt;&lt;em&gt;One small step.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;the-monuments-at-dusk&#34;&gt;The monuments at dusk&lt;/h2&gt;
&lt;p&gt;We thought about the Spy Museum, but decided to walk the monuments instead as it got dark: the &lt;strong&gt;WWII Memorial&lt;/strong&gt;, the &lt;strong&gt;Reflecting Pool&lt;/strong&gt; with the &lt;strong&gt;Washington Monument&lt;/strong&gt; in it, and down to the &lt;strong&gt;Lincoln Memorial&lt;/strong&gt; at the far end of the Mall.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/washington-monument-at-dusk.jpg&#34; width=450 alt=&#34;The Washington Monument lit up at night, reflected in the long Reflecting Pool&#34;&gt;
&lt;p&gt;&lt;em&gt;The Washington Monument, from the Lincoln end of the Reflecting Pool.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/lincoln-memorial-at-night.jpg&#34; width=450 alt=&#34;The Lincoln Memorial at night, its columns lit, with the seated statue of Lincoln visible inside&#34;&gt;
&lt;p&gt;&lt;em&gt;The Lincoln Memorial.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d missed Mass that morning, so from the Lincoln Memorial we took an Uber up to &lt;strong&gt;St. Ann&amp;rsquo;s&lt;/strong&gt; in Tenleytown for the 7 PM Mass.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/sunday-evening-mass.jpg&#34; width=450 alt=&#34;The inside of a stone church during an evening Mass, people in the pews and a tall crucifix behind the altar&#34;&gt;
&lt;p&gt;&lt;em&gt;Sunday evening Mass.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;monday-one-more-museum-and-the-piano&#34;&gt;Monday: one more museum, and the piano&lt;/h2&gt;
&lt;p&gt;On Monday, MLK Day, we checked out and spent about an hour and a half at the &lt;strong&gt;National Museum of Natural History&lt;/strong&gt; before the airport. The big African elephant stands in the middle of the rotunda as you walk in. From there we went round the life-size &lt;strong&gt;megalodon&lt;/strong&gt; hanging in the ocean hall, an Easter Island &lt;strong&gt;moai&lt;/strong&gt;, the gems, and the &lt;strong&gt;Hall of Human Origins&lt;/strong&gt;, where I&amp;rsquo;d gone looking for &lt;strong&gt;Lucy&lt;/strong&gt;, the 3.2-million-year-old fossil.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/natural-history-rotunda.jpg&#34; width=450 alt=&#34;The rotunda of the Natural History museum seen from the balcony, with the big elephant in the middle and people below&#34;&gt;
&lt;p&gt;&lt;em&gt;The rotunda, from the balcony.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/washington-dc/moai.jpg&#34; width=450 alt=&#34;Me smiling next to a tall stone moai head from Easter Island&#34;&gt;
&lt;p&gt;&lt;em&gt;With the moai.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;d only booked the flight home the day before, after weighing up the train: a 3:15 United flight from Reagan National to Newark. When we landed in Newark there was a public piano in the terminal, painted with blue waves, that anyone could play. So I sat down and played for a bit. My mom was very happy when I sent it to the family group. Then NJ Transit from Newark back into the city.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/washington-dc/airport-piano.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The piano at Newark.&lt;/em&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Free museums need a timed pass on busy weekends. Reserve it before you go.&lt;/li&gt;
&lt;li&gt;Book the way home before the trip, not the day before.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Europe, part 3: Christmas in Italy — Rome, Florence, Venice</title>
      <link>https://aldrinjenson.com/travel/italy/</link>
      <pubDate>Thu, 23 Jul 2026 02:20:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/italy/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Rome → Florence → Venice · December 24–30, 2025 · final leg of a three-country European trip&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;After &lt;a href=&#34;https://aldrinjenson.com/travel/berlin/&#34;&gt;Berlin&lt;/a&gt; and &lt;a href=&#34;https://aldrinjenson.com/travel/barcelona/&#34;&gt;Barcelona&lt;/a&gt;, Italy was the leg I&amp;rsquo;d been saving up for — a week over Christmas with Dan, moving Rome → Florence → Venice by train. It ended up being the best part of the entire trip, and the part I&amp;rsquo;d most readily repeat.&lt;/p&gt;
&lt;h2 id=&#34;rome-dec-2427&#34;&gt;Rome (Dec 24–27)&lt;/h2&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/italy/st-peters-christmas.jpg&#34; width=700 alt=&#34;The façade of St. Peter&#39;s Basilica on Christmas morning, the papal balcony hung with red, a crowd under umbrellas in the square and the big screens showing the Mass&#34;&gt;
&lt;p&gt;&lt;em&gt;Christmas morning at St. Peter&amp;rsquo;s Square — the Pope celebrated the Mass.&lt;/em&gt;&lt;/p&gt;
&lt;h3 id=&#34;christmas-morning-at-st-peters&#34;&gt;Christmas morning at St. Peter&amp;rsquo;s&lt;/h3&gt;
&lt;p&gt;We were in St. Peter&amp;rsquo;s Square for &lt;strong&gt;Christmas morning Mass, with the Pope himself celebrating&lt;/strong&gt; — and we&amp;rsquo;d ended up in a good spot, close to where the papal carriage passed. I&amp;rsquo;m Catholic, and I don&amp;rsquo;t really have language for what it&amp;rsquo;s like to spend Christmas at the centre of the church you grew up in, an ocean away from where you grew up. It&amp;rsquo;s the single most memorable Christmas I&amp;rsquo;ve had.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/st-peters-square-me.jpg&#34; width=450 alt=&#34;Aldrin smiling in a grey puffer jacket and a bright yellow scarf, hands in his pockets, in a wet St. Peter&#39;s Square with the basilica behind him&#34;&gt;
&lt;p&gt;&lt;em&gt;Me in the square on Christmas morning.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We also did &lt;strong&gt;St. Peter&amp;rsquo;s Basilica properly&lt;/strong&gt; — including climbing the dome, which I&amp;rsquo;d rank as one of the best things in Rome: you come out overlooking the whole of Vatican City. Worth every one of the several hundred stairs.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/inside-the-dome.jpg&#34; width=700 alt=&#34;Looking up into Michelangelo&#39;s dome from the inner gallery of St. Peter&#39;s, gold coffers and painted panels rising to the lantern&#34;&gt;
&lt;p&gt;&lt;em&gt;Looking up into the dome from the gallery, on the climb to the top.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/pieta.jpg&#34; width=700 alt=&#34;Michelangelo&#39;s Pietà in its side chapel in St. Peter&#39;s Basilica, behind glass beneath a tall cross&#34;&gt;
&lt;p&gt;&lt;em&gt;Michelangelo&amp;rsquo;s Pietà, inside the basilica.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Vatican Museums and Sistine Chapel&lt;/strong&gt; came with fast-track entry (the regular line is measured in hours). Room after room of Michelangelo and Botticelli, ending under &lt;em&gt;that&lt;/em&gt; ceiling. No photos allowed in the chapel, which honestly makes people actually look up.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/bramante-staircase.jpg&#34; width=450 alt=&#34;Looking down the Bramante double-spiral staircase at the Vatican Museums, people walking down the curling ramp&#34;&gt;
&lt;p&gt;&lt;em&gt;The spiral staircase on the way out of the Vatican Museums.&lt;/em&gt;&lt;/p&gt;
&lt;h3 id=&#34;two-thousand-years-still-standing&#34;&gt;Two thousand years, still standing&lt;/h3&gt;
&lt;p&gt;What impressed me most about Rome wasn&amp;rsquo;t any single sight — it was the &lt;strong&gt;age of things that are still just… there&lt;/strong&gt;. The Colosseum has stood since around 80 AD. The Pantheon is over 2,000 years old, with marble brought from Egypt, and you can walk in for free and see Raphael&amp;rsquo;s tomb (which delighted the Dan Brown reader in me — &lt;em&gt;Angels and Demons&lt;/em&gt; fans will understand). Every carving is done to a level of detail that made me reflect on focus itself: the people who made these had an intensity of attention that we, with our phones, mostly don&amp;rsquo;t.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/pantheon.jpg&#34; width=700 alt=&#34;The Pantheon&#39;s portico from the piazza, M·AGRIPPA·L·F·COS·TERTIVM·FECIT across the pediment, a winter crowd filling the square&#34;&gt;
&lt;p&gt;&lt;em&gt;The Pantheon — over 2,000 years old and still in use.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;One evening at the Colosseum I did something that became my favourite travel hack of the trip: I stood in front of it and used &lt;strong&gt;ChatGPT as a live tour guide&lt;/strong&gt;, going back and forth for a couple of hours — Roman history, gladiator psychology, why civilisations collapse, why the marble skin was stripped off the stone skeleton. A knowledgeable guide in your pocket, for free, at night, at your own pace. I&amp;rsquo;ll be doing this at every historical site from now on.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/colosseum-at-night.jpg&#34; width=700 alt=&#34;The Colosseum lit up gold against a deep blue night sky&#34;&gt;
&lt;p&gt;&lt;em&gt;The Colosseum at night.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;On the evening of the 26th we also went to &lt;strong&gt;Santa Maria Maggiore&lt;/strong&gt;, one of the four great basilicas of Rome, which had its &lt;strong&gt;Holy Door&lt;/strong&gt; set up for the 2025 Jubilee year.&lt;/p&gt;
&lt;p&gt;The rest of Rome: the &lt;strong&gt;Spanish Steps&lt;/strong&gt;, the &lt;strong&gt;Trevi Fountain&lt;/strong&gt; (we made our wishes — but beware the currency exchanges nearby, where $100 bought a scandalous 57 euros), and a walking tour with a guide named &lt;strong&gt;Virgilio&lt;/strong&gt;, who was our favourite person of the whole week. A guide named Virgil, guiding people through Rome — the jokes write themselves.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/pasta-in-rome.jpg&#34; width=700 alt=&#34;A plate of pasta in ragù on a blue-and-white flowered plate, a fork twirling it&#34;&gt;
&lt;p&gt;&lt;em&gt;Pasta for dinner in Rome.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/vespa.jpg&#34; width=450 alt=&#34;A yellow Vespa parked on a cobbled Roman street, a stuffed toy dog sitting on the seat&#34;&gt;
&lt;p&gt;&lt;em&gt;A yellow Vespa on a Roman side street, with a passenger.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;florence-dec-2728&#34;&gt;Florence (Dec 27–28)&lt;/h2&gt;
&lt;p&gt;Florence got barely a day and a half and deserved a week. It felt more alive than Rome somehow — more families, more children, more of a lived-in city wrapped around Renaissance bones.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/duomo-at-night.jpg&#34; width=450 alt=&#34;Aldrin taking a selfie in front of the white-and-green marble façade of Florence&#39;s Duomo at night&#34;&gt;
&lt;p&gt;&lt;em&gt;The Duomo on our first evening in Florence.&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;David.&lt;/strong&gt; The real one, at the Accademia. Photos do not prepare you — it&amp;rsquo;s the smoothness that gets you, marble that reads as skin. The same gallery has Michelangelo&amp;rsquo;s &lt;em&gt;Prisoners&lt;/em&gt;: unfinished figures half-emerged from their marble blocks, which show you exactly how a statue is &amp;ldquo;freed&amp;rdquo; from the stone. Seeing the unfinished ones next to the finished David is the best art lesson I&amp;rsquo;ve ever gotten in ten minutes.
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/david-head.jpg&#34; width=700 alt=&#34;The head and shoulders of Michelangelo&#39;s David under the dome of the Tribune at the Galleria dell&#39;Accademia, seen from below&#34;&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;David at the Accademia. It&amp;rsquo;s the smoothness that gets you — marble that reads as skin.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/accademia-keyboards.jpg&#34; width=450 alt=&#34;An antique wooden harpsichord in a museum room at the Accademia&#34;&gt;
&lt;p&gt;&lt;em&gt;The Accademia also has a room of old harpsichords and early pianos.&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The Vasari Corridor.&lt;/strong&gt; This is the secret elevated passage the Medici built from the Palazzo Vecchio over the Ponte Vecchio. I knew it from Dan Brown&amp;rsquo;s &lt;em&gt;&lt;strong&gt;Inferno&lt;/strong&gt;&lt;/em&gt;, where Robert Langdon runs through it to escape across the river. Standing on the bridge and seeing it in real life, I kept picturing that chase. It was a proper full-circle moment.&lt;/li&gt;
&lt;/ul&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/ponte-vecchio-vasari-night.jpg&#34; width=700 alt=&#34;The Ponte Vecchio at night across the Arno, the Vasari Corridor glowing along the top of the bridge, old riverside houses lit up and reflected in the water&#34;&gt;
&lt;p&gt;&lt;em&gt;The Ponte Vecchio at night. The Vasari Corridor is the long lit-up passage running along the top of the bridge.&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The Duomo&lt;/strong&gt; — really beautiful, though we couldn&amp;rsquo;t get inside on the Sunday. We came back to it at night instead, when the whole marble front is lit up, and there was a big nativity scene set up in the square. Piazzale Michelangelo, for the view over the city, is on the list for next time.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The T-bone steak.&lt;/strong&gt; Bistecca alla fiorentina is sold by the kilogram, and we ordered a full kilo (85 euros) on confident advice. We could not finish it. Order less than you think.&lt;/li&gt;
&lt;/ul&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/all-antico-vinaio.jpg&#34; width=450 alt=&#34;Aldrin smiling outside All&#39;Antico Vinaio, the famous Florence sandwich shop, under its pink neon-style sign&#34;&gt;
&lt;p&gt;&lt;em&gt;Outside All&amp;rsquo;Antico Vinaio, the famous sandwich shop.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Left for next time: the interactive Leonardo da Vinci museum. Florence is firmly on the return list.&lt;/p&gt;
&lt;h2 id=&#34;venice-dec-2830&#34;&gt;Venice (Dec 28–30)&lt;/h2&gt;
&lt;p&gt;The arrival alone is worth it: the train crosses the lagoon and you step out of the station directly onto a canal. No cars, no roads — your bus is a boat. We took the &lt;strong&gt;Vaporetto&lt;/strong&gt; (the public water bus) four stops to the hotel and I never stopped finding it charming, even after we missed our stop once because the thing moves faster than you expect.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/venice-canal.jpg&#34; width=700 alt=&#34;A narrow Venetian canal at night, moored gondolas under a lit bridge and the glow of a canal-side restaurant on the water&#34;&gt;
&lt;p&gt;&lt;em&gt;Venice — no cars, no roads. Your bus is a boat.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/st-marks-at-night.jpg&#34; width=450 alt=&#34;The gold mosaics and carved arches of St. Mark&#39;s Basilica lit up at night&#34;&gt;
&lt;p&gt;&lt;em&gt;St. Mark&amp;rsquo;s Basilica, our first night in Venice.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/venice-fog.jpg&#34; width=450 alt=&#34;Gondolas moored at the water&#39;s edge, the lagoon vanishing into thick white fog&#34;&gt;
&lt;p&gt;&lt;em&gt;The next morning, the fog rolled in.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/bridge-of-sighs.jpg&#34; width=450 alt=&#34;The white stone Bridge of Sighs over a canal between the Doge&#39;s Palace and the prison, on a grey foggy day&#34;&gt;
&lt;p&gt;&lt;em&gt;The Bridge of Sighs, which connects the Doge&amp;rsquo;s Palace to the prison.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Doge&amp;rsquo;s Palace&lt;/strong&gt; was the intellectual highlight. Venice was once a merchant-republic superpower — the palace is basically the machinery of that power preserved in marble. And then the sobering coda: the city&amp;rsquo;s population has fallen something like 95%, with fewer than 5,000 actual residents left in the historic centre. You&amp;rsquo;re walking through a working museum whose city has mostly moved out. Look for the &lt;strong&gt;Squero di San Trovaso&lt;/strong&gt; — one of the last working gondola repair yards — for a glimpse of the Venice that still functions.&lt;/p&gt;
&lt;p&gt;There were posters for &lt;strong&gt;Vivaldi concerts&lt;/strong&gt; in churches all over Venice. I really wanted to go to one, but it didn&amp;rsquo;t happen this time, so that&amp;rsquo;s on the list for next time.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/vivaldi-poster.jpg&#34; width=450 alt=&#34;A framed poster for Interpreti Veneziani&#39;s performance of Vivaldi&#39;s Four Seasons&#34;&gt;
&lt;p&gt;&lt;em&gt;The Four Seasons, in Venice. One for next time.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We did climb the &lt;strong&gt;campanile&lt;/strong&gt; in St. Mark&amp;rsquo;s Square, all the way to the very top. It was so foggy that day that we couldn&amp;rsquo;t see much at all, but we made it up there.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/italy/campanile-in-fog.jpg&#34; width=450 alt=&#34;Aldrin standing in a foggy St. Mark&#39;s Square, the tall brick campanile rising behind him&#34;&gt;
&lt;p&gt;&lt;em&gt;Under the campanile, before we climbed into the fog.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;verdict&#34;&gt;Verdict&lt;/h2&gt;
&lt;p&gt;Italy was the clear winner of the three countries — I&amp;rsquo;d rank Florence and Venice above everywhere else on the trip, and I&amp;rsquo;ll definitely be back (Milan, Bologna, and a Pompeii day trip are already on the list, on good advice from a friend who&amp;rsquo;s been to Rome six times). Winter turned out to be a great time for it: thinner crowds, mild days, and Christmas in Rome as the anchor.&lt;/p&gt;
&lt;p&gt;The trip home had one last gift: a flight in a two-seat row — the best economy configuration that exists — and landing in New York on the 30th, just in time to close out the year.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Climbing St. Peter&amp;rsquo;s dome was one of the best things in Rome, stairs and all.&lt;/li&gt;
&lt;li&gt;Trains between Rome, Florence and Venice were fast, cheap and scenic. In Venice, the Vaporetto pass.&lt;/li&gt;
&lt;li&gt;Using ChatGPT as a tour guide in front of the monuments is something I&amp;rsquo;ll do again anywhere history-heavy.&lt;/li&gt;
&lt;li&gt;The currency exchanges near the Trevi Fountain are a rip-off. Card or ATM.&lt;/li&gt;
&lt;li&gt;Fiorentina steak is priced per kilo. A kilo is a lot.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Europe, part 2: Barcelona</title>
      <link>https://aldrinjenson.com/travel/barcelona/</link>
      <pubDate>Thu, 23 Jul 2026 02:10:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/barcelona/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Barcelona, Spain · December 20–23, 2025 · part two of a three-country European trip&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;After the &lt;a href=&#34;https://aldrinjenson.com/travel/berlin/&#34;&gt;work-heavy Berlin leg&lt;/a&gt;, I flew to Barcelona — my first time in Spain, and the first stretch of the trip that felt like an actual vacation. Younger me would never have believed I&amp;rsquo;d casually be in Spain one December. That thought alone was worth the flight.&lt;/p&gt;
&lt;h2 id=&#34;gaudí-days&#34;&gt;Gaudí days&lt;/h2&gt;
&lt;p&gt;I had a couple of days on my own and spent them doing the full architecture circuit, and Barcelona&amp;rsquo;s architecture really is the show:&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/barcelona/sagrada-familia.jpg&#34; width=700 alt=&#34;The interior of the Sagrada Família in Barcelona, tree-like columns and stained glass flooding the nave with coloured light&#34;&gt;
&lt;p&gt;&lt;em&gt;Inside the Sagrada Família — Gaudí designed the light itself. The one thing in Barcelona that exceeded the hype.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/sagrada-familia-stained-glass.jpg&#34; width=450 alt=&#34;Late-morning light through the Sagrada Família&#39;s stained glass, throwing orange and green across the stone columns&#34;&gt;
&lt;p&gt;&lt;em&gt;Mid-morning, the light coming through orange and green.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline muted loop width=450 style=&#34;max-width:100%;height:auto;&#34; aria-label=&#34;Looking up at the tree-like columns and stained glass inside the Sagrada Família&#34; src=&#34;https://aldrinjenson.com/images/barcelona/sagrada-familia-inside.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Looking up, inside.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/sagrada-familia-nativity-facade.jpg&#34; width=450 alt=&#34;The Nativity façade of the Sagrada Família against a clear blue sky, cranes beside the spires&#34;&gt;
&lt;p&gt;&lt;em&gt;The Nativity façade from outside.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/sagrada-familia-me.jpg&#34; width=450 alt=&#34;Aldrin in a grey puffer jacket standing in front of the Sagrada Família, a yellow-and-black Barcelona taxi beside him&#34;&gt;
&lt;p&gt;&lt;em&gt;Me outside, after the visit.&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Sagrada Família&lt;/strong&gt; — the one thing that fully lived up to the hype. It&amp;rsquo;s less a church than a piece of architectural theology: Gaudí designed the light itself, so the nave glows green and gold in the morning and burns red and orange in the evening. Every geometric choice means something. It&amp;rsquo;s been under construction for over 140 years and somehow that adds to it. Book the skip-the-line entry; do not attempt the walk-up queue.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Park Güell, Casa Batlló, Casa Milà&lt;/strong&gt; — the rest of the Gaudí trail. I&amp;rsquo;ll be honest: after the Sagrada Família these felt a bit overhyped to me. Worth seeing, but the church is the masterpiece and the houses are the B-sides.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The Gothic Quarter and El Born&lt;/strong&gt; — medieval lanes that suddenly open into cathedral squares. This is the best aimless-walking territory in the city.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The Picasso Museum&lt;/strong&gt; and &lt;strong&gt;Montjuïc&lt;/strong&gt; — the museum for the early work (you watch him learn to paint like an old master before he unlearns it), and Montjuïc for the views. I saved the cable car for later and it was a good call — it&amp;rsquo;s the best cheap thrill in Barcelona.&lt;/li&gt;
&lt;/ul&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/park-guell-view.jpg&#34; width=700 alt=&#34;The view from Park Güell&#39;s terrace over the gingerbread-like entrance pavilions and the mosaic bench, with the city stretching to the sea&#34;&gt;
&lt;p&gt;&lt;em&gt;Park Güell, looking down over the entrance pavilions to the city.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/park-guell-me.jpg&#34; width=450 alt=&#34;Aldrin standing on the Park Güell terrace by the curving mosaic bench, the pavilions and the city behind him&#34;&gt;
&lt;p&gt;&lt;em&gt;Me on the terrace.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/park-guell-mosaic-ceiling.jpg&#34; width=450 alt=&#34;Looking up at the mosaic medallions set into the ceiling of Park Güell&#39;s Hypostyle Room, above the Doric columns&#34;&gt;
&lt;p&gt;&lt;em&gt;The mosaic ceiling under the terrace.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline muted loop width=450 style=&#34;max-width:100%;height:auto;&#34; aria-label=&#34;Gaudí&#39;s mosaic dragon on the steps of Park Güell, with crowds around it&#34; src=&#34;https://aldrinjenson.com/images/barcelona/park-guell.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The mosaic dragon at Park Güell.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/casa-batllo.jpg&#34; width=450 alt=&#34;The façade of Casa Batlló on Passeig de Gràcia, framed by a bare plane tree and an iron streetlamp&#34;&gt;
&lt;p&gt;&lt;em&gt;Casa Batlló, from across Passeig de Gràcia.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/casa-mila-rooftop.jpg&#34; width=700 alt=&#34;The undulating rooftop of Casa Milà, Gaudí&#39;s stone chimneys framing a view over the terracotta rooftops of the Eixample toward the Sagrada Família&#34;&gt;
&lt;p&gt;&lt;em&gt;The roof of Casa Milà — Gaudí&amp;rsquo;s chimneys above the Eixample.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/casa-mila-rooftop-me.jpg&#34; width=450 alt=&#34;Aldrin smiling on the Casa Milà rooftop, the Eixample rooftops and the Sagrada Família&#39;s spires behind him&#34;&gt;
&lt;p&gt;&lt;em&gt;Me on the same roof, with the Sagrada Família in the distance.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline muted loop width=450 style=&#34;max-width:100%;height:auto;&#34; aria-label=&#34;Walking among the swirling chimneys on the roof of Casa Milà&#34; src=&#34;https://aldrinjenson.com/images/barcelona/casa-mila-chimneys.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Among the chimneys on the Casa Milà roof.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/el-born.jpg&#34; width=450 alt=&#34;An El Born street at dusk, a neon BORN sign and a vertical NADAL banner on the old stone buildings&#34;&gt;
&lt;p&gt;&lt;em&gt;El Born at dusk, all lit up for Christmas.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/cathedral-christmas-tree.jpg&#34; width=450 alt=&#34;Barcelona Cathedral&#39;s Gothic façade at blue hour, a tall Christmas tree of white lights in the square in front&#34;&gt;
&lt;p&gt;&lt;em&gt;Barcelona Cathedral, with its Christmas tree.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline muted loop width=450 style=&#34;max-width:100%;height:auto;&#34; aria-label=&#34;The Christmas tree lit up in front of Barcelona Cathedral at dusk&#34; src=&#34;https://aldrinjenson.com/images/barcelona/cathedral-christmas.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/paella.jpg&#34; width=450 alt=&#34;A pan of seafood paella with mussels and a prawn on a restaurant table&#34;&gt;
&lt;p&gt;&lt;em&gt;Paella for dinner that first full day.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I also took the hop-on-hop-off bus tour about three times, which I maintain is an underrated way to learn a city&amp;rsquo;s geography fast. One of the loops took me out to FC Barcelona&amp;rsquo;s ground, where the Camp Nou is in the middle of being rebuilt.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/rambla-del-barca.jpg&#34; width=450 alt=&#34;Aldrin standing under the &#39;La Rambla del Barça&#39; entrance sign outside FC Barcelona&#39;s stadium on a grey afternoon&#34;&gt;
&lt;p&gt;&lt;em&gt;La Rambla del Barça, outside the stadium.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Toward the end, Dan flew in from New York. I went to the airport in the late morning to meet her at arrivals, holding a little handmade sign welcoming her, which I recommend doing no matter who you&amp;rsquo;re picking up. It took me a while to work out which arrivals exit she&amp;rsquo;d come out of, but I found her, and we took an Uber back into the city. With one shared day in the city, I wanted her to get a feel for the whole place, so I did the hop-on hop-off bus again, this time with her. We took the route that goes up to &lt;strong&gt;Montjuïc&lt;/strong&gt;, rode the cable car from there, and then had the beach and a proper paella.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/montjuic-cable-car.jpg&#34; width=700 alt=&#34;Looking out of a Montjuïc cable-car cabin at the cabins ahead climbing over the wooded hillside toward the castle&#34;&gt;
&lt;p&gt;&lt;em&gt;The Montjuïc cable car, the best cheap thrill in Barcelona.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/montjuic-castle-me.jpg&#34; width=450 alt=&#34;Aldrin smiling in a neon-yellow scarf in front of the gate of Montjuïc Castle&#34;&gt;
&lt;p&gt;&lt;em&gt;Up at Montjuïc Castle.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline muted loop width=700 style=&#34;max-width:100%;height:auto;&#34; aria-label=&#34;The port and the city from the walls of Montjuïc Castle&#34; src=&#34;https://aldrinjenson.com/images/barcelona/montjuic-castle-view.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The port, from up at Montjuïc Castle.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/barcelona/sagrada-familia-night.jpg&#34; width=450 alt=&#34;The Sagrada Família&#39;s Nativity façade lit up gold against the night sky&#34;&gt;
&lt;p&gt;&lt;em&gt;The Sagrada Família at night, on my last evening.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;what-surprised-me&#34;&gt;What surprised me&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Catalonia was news to me.&lt;/strong&gt; I hadn&amp;rsquo;t known before this trip that Barcelona sees itself as Catalan first — its own language, flags on balconies, a whole distinct identity within Spain. Street signs are in Catalan, not Spanish. I&amp;rsquo;d arrived thinking &amp;ldquo;Spain&amp;rdquo; was one thing, and left understanding it&amp;rsquo;s a federation of identities that don&amp;rsquo;t fully agree with each other. This is exactly the kind of thing you can&amp;rsquo;t learn properly except by standing in it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The scam.&lt;/strong&gt; At 1:30 AM, hungry and alone at a late-night place, I tapped my card for a croissant and got charged &lt;strong&gt;€17&lt;/strong&gt; — the receipt showed three items I never ordered. I didn&amp;rsquo;t confront the vendor: middle of the night, alone, didn&amp;rsquo;t speak the language. I just took the loss and the lesson. In tourist-heavy areas, look at the amount on the terminal &lt;em&gt;before&lt;/em&gt; you tap, always.&lt;/p&gt;
&lt;h2 id=&#34;verdict&#34;&gt;Verdict&lt;/h2&gt;
&lt;p&gt;My honest take: Barcelona didn&amp;rsquo;t click for me the way I expected it to, given its reputation. The Gaudí buildings, and the Sagrada Família above all, are worth the trip on their own, and the old town is lovely to wander. But beyond those, I didn&amp;rsquo;t find the thing that pulls me back. Of the cities on this trip, I&amp;rsquo;d put it below Berlin and the Italian stops. I&amp;rsquo;m really glad I went. I probably wouldn&amp;rsquo;t go back just for the city, but if a reason comes up, I&amp;rsquo;d happily see more of it.&lt;/p&gt;
&lt;p&gt;The trip&amp;rsquo;s final act was the best one: a week in Italy over Christmas — Rome, Florence, and Venice. That&amp;rsquo;s &lt;a href=&#34;https://aldrinjenson.com/travel/italy/&#34;&gt;part three&lt;/a&gt;.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The Sagrada Família is timed entry and sells out, so book it ahead. It was the best thing I saw in the city.&lt;/li&gt;
&lt;li&gt;Look at the card terminal before tapping, especially late at night. (See: the 1:30 AM croissant.)&lt;/li&gt;
&lt;li&gt;The Montjuïc cable car at golden hour was my favourite view of Barcelona.&lt;/li&gt;
&lt;li&gt;December was mild and not crowded, which made it a good month to be there.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Europe, part 1: Berlin in December</title>
      <link>https://aldrinjenson.com/travel/berlin/</link>
      <pubDate>Thu, 23 Jul 2026 02:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/berlin/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Berlin, Germany · December 12–20, 2025 · first stop of a three-country European trip&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Last December I finally made it to Europe. The trip ended up spanning three countries — Germany, Spain, and Italy — and I&amp;rsquo;m writing it up in three parts. This is part one: Berlin, which was the strangest leg of the three, because it wasn&amp;rsquo;t really a vacation at all.&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/berlin/brandenburg-gate.jpg&#34; width=700 alt=&#34;The Brandenburg Gate on a clear December afternoon, its six Doric columns and the Quadriga against a blue sky, a few people crossing the cobbled Pariser Platz&#34;&gt;
&lt;p&gt;&lt;em&gt;The Brandenburg Gate on a clear December afternoon.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;the-work-trip-reality&#34;&gt;The work-trip reality&lt;/h2&gt;
&lt;p&gt;I flew JFK → Amsterdam → Berlin with a colleague, and the first half of the trip was mostly work. We were there partly to co-work with a collaborator at his co-working space, and the days were long: up at 7:30 AM and working until about 9 PM. Day one we booked a hop-on-hop-off bus tour and were both too sleepy to actually get off the bus. On the Sunday I worked until noon, took a nap, and woke at 5 PM to find it already dark — December in Berlin gives you about seven and a half hours of usable daylight, and I&amp;rsquo;d slept through most of them.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/spree-berliner-dom-from-bus.jpg&#34; width=700 alt=&#34;The Spree river and the green dome of the Berliner Dom, seen through the window of a hop-on hop-off bus&#34;&gt;
&lt;p&gt;&lt;em&gt;Day one, from the bus: the Spree and the Berliner Dom. We didn&amp;rsquo;t get off.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;By day four I&amp;rsquo;d learned something I&amp;rsquo;ve kept since: &lt;strong&gt;a work trip is a work trip.&lt;/strong&gt; We were there to work, and the work was good. If I want to actually see a place, I add a few days of my own at the end. December in Berlin gets dark by 4 PM, so &amp;ldquo;I&amp;rsquo;ll explore in the evenings&amp;rdquo; doesn&amp;rsquo;t really work.&lt;/p&gt;
&lt;h2 id=&#34;what-german-work-culture-taught-me-anyway&#34;&gt;What German work culture taught me anyway&lt;/h2&gt;
&lt;p&gt;Ironically, the thing Berlin taught me most clearly was how to &lt;em&gt;stop&lt;/em&gt; working. People there disconnect completely — nobody replies to Slack after hours; they&amp;rsquo;re at the pub. Sitting in a pub one evening with my colleagues, this came up explicitly, and it stuck with me. Coming from New York, where it&amp;rsquo;s easy to stay switched on all the time, watching a whole city treat evenings as properly off was something I hadn&amp;rsquo;t seen before.&lt;/p&gt;
&lt;p&gt;The fashion was its own culture lesson: deliberately chosen secondhand clothes, a punky thrift-store style where a great jacket costs five euros. Nothing about it reads as &amp;ldquo;cheap&amp;rdquo; — it reads as chosen. Very different from New York.&lt;/p&gt;
&lt;h2 id=&#34;a-city-that-refuses-to-forget&#34;&gt;A city that refuses to forget&lt;/h2&gt;
&lt;p&gt;Once the work thinned out, I got to the part of Berlin that actually moved me. Berlin is not a &amp;ldquo;top 10 attractions&amp;rdquo; city — it&amp;rsquo;s a city organised around remembering things most cities would rather bury:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The Berlin Wall and the East Side Gallery&lt;/strong&gt; — including the famous mural of the two presidents kissing. Walking a former death strip that&amp;rsquo;s now an open-air art gallery is a strange, hopeful feeling.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The DDR Museum&lt;/strong&gt; — daily life in East Germany, down to the furniture and the surveillance. I hadn&amp;rsquo;t understood viscerally what living under that system meant until this.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The Holocaust Memorial and the Topography of Terror&lt;/strong&gt; — sobering, deliberately so. What struck me is that Germany &lt;em&gt;built these on purpose&lt;/em&gt;, in the middle of its capital. The country institutionalised confronting its own worst history.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The TV Tower&lt;/strong&gt;, the tallest structure in Berlin. I went all the way up to the viewing deck at the top on my last morning, and it&amp;rsquo;s the best way to get a sense of how big the city is.&lt;/li&gt;
&lt;/ul&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/east-side-gallery-night.jpg&#34; width=700 alt=&#34;The long painted stretch of the East Side Gallery at night, seen across an empty road under bright street lights&#34;&gt;
&lt;p&gt;&lt;em&gt;The East Side Gallery after dark. It was already night by the time I got there.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/holocaust-memorial.jpg&#34; width=700 alt=&#34;Rows of grey concrete slabs of the Memorial to the Murdered Jews of Europe under an overcast sky&#34;&gt;
&lt;p&gt;&lt;em&gt;The Holocaust Memorial, right in the middle of the city.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/checkpoint-charlie.jpg&#34; width=700 alt=&#34;The small white Checkpoint Charlie guard hut with sandbags in front, on a grey street lined with office buildings&#34;&gt;
&lt;p&gt;&lt;em&gt;Checkpoint Charlie, on the bus tour on my last full day.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/view-from-tv-tower.jpg&#34; width=700 alt=&#34;Looking down from the TV Tower over Berlin on a hazy morning, the city spreading out to the horizon&#34;&gt;
&lt;p&gt;&lt;em&gt;From the top of the TV Tower on my last morning, before the flight to Barcelona.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/tv-tower-selfie.jpg&#34; width=450 alt=&#34;Aldrin smiling in a selfie at the TV Tower&#39;s viewing deck, the city below through the windows&#34;&gt;
&lt;p&gt;&lt;em&gt;Up at the top.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/world-clock-alexanderplatz.jpg&#34; width=450 alt=&#34;Aldrin standing in front of the World Clock at Alexanderplatz, the TV Tower rising behind him under a blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;The World Clock at Alexanderplatz, right under the TV Tower.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We moved around a lot and stayed in three different places over the week. The first two nights were in &lt;strong&gt;Friedrichshain&lt;/strong&gt;, which felt like &amp;ldquo;the Lower East Side of East Berlin&amp;rdquo;. The RAW-Gelände complex nearby is a reused industrial site full of clubs and street art, very much post-wall youth-rebellion energy. Then a night near &lt;strong&gt;Breitscheidplatz&lt;/strong&gt; and the Kurfürstendamm, and for the last three nights an Airbnb in &lt;strong&gt;Westend&lt;/strong&gt;, in Charlottenburg, on the west side of the city and closer to where we were working.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/oberbaum-bridge-night.jpg&#34; width=700 alt=&#34;The red-brick Oberbaum Bridge lit up purple at night, its two towers glowing over the Spree&#34;&gt;
&lt;p&gt;&lt;em&gt;The Oberbaum Bridge at night, on the edge of Friedrichshain.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/berlin-wall-topography.jpg&#34; width=700 alt=&#34;A surviving stretch of the Berlin Wall along Niederkirchnerstraße at the Topography of Terror, weathered concrete behind a low fence with the outdoor exhibition panels beside it&#34;&gt;
&lt;p&gt;&lt;em&gt;The Wall at the Topography of Terror — the Gestapo and SS headquarters site, kept as an open exhibition. Berlin confronts its history on purpose.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;December also means &lt;strong&gt;Christmas markets&lt;/strong&gt;. The one by the Kaiser Wilhelm Memorial Church and the one at Alexanderplatz were my favourites — Glühwein stands, wooden stalls, that whole atmosphere. And I made it to Mass at Sankt Hedwig&amp;rsquo;s Cathedral, which ran in German and English — there&amp;rsquo;s something grounding about finding the same liturgy in a foreign language.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/christmas-market.jpg&#34; width=700 alt=&#34;Wooden stalls strung with lights at the Christmas market on Breitscheidplatz, next to the Kaiser Wilhelm Memorial Church, in the December afternoon&#34;&gt;
&lt;p&gt;&lt;em&gt;The Christmas market at Breitscheidplatz, beside the Kaiser Wilhelm Memorial Church — December in Berlin is dark by 4 PM, but the markets make up for it.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/kaiser-wilhelm-church-ruin.jpg&#34; width=450 alt=&#34;The broken, blackened tower of the Kaiser Wilhelm Memorial Church against a clear blue sky, a small Christmas tree at its base&#34;&gt;
&lt;p&gt;&lt;em&gt;The old church tower, left as a ruin from the war on purpose.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/gluhwein-stall.jpg&#34; width=450 alt=&#34;A Christmas market Glühwein stall glowing with rows of lights and painted signs&#34;&gt;
&lt;p&gt;&lt;em&gt;A Glühwein stall at the same market.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;KaDeWe, the giant department store nearby, was fully dressed up for Christmas too.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/kadewe-christmas.jpg&#34; width=700 alt=&#34;Aldrin in a grey puffer jacket next to a Christmas tree and a big round &#39;The Most Joyful Season&#39; sign inside KaDeWe&#34;&gt;
&lt;p&gt;&lt;em&gt;KaDeWe at Christmas.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/berlin/currywurst.jpg&#34; width=450 alt=&#34;A paper tray of currywurst with curry ketchup and a little wooden fork, held over a cobbled street&#34;&gt;
&lt;p&gt;&lt;em&gt;Currywurst, near the Brandenburg Gate.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;One of the best evenings had nothing to do with sights. On my last night I stayed with an old friend who now lives near Berlin, at his girlfriend&amp;rsquo;s cozy apartment in Potsdam, and we talked for hours. Old friends in new cities are one of travel&amp;rsquo;s best features.&lt;/p&gt;
&lt;h2 id=&#34;verdict&#34;&gt;Verdict&lt;/h2&gt;
&lt;p&gt;Berlin is &amp;ldquo;nice for starters&amp;rdquo; — genuinely good for a short visit, and I&amp;rsquo;m glad I went. But it&amp;rsquo;s not somewhere I&amp;rsquo;d want to live. What I took from it wasn&amp;rsquo;t a list of attractions; it was a question the whole city seems built around: &lt;em&gt;how do people live under constraint, and what do they build after liberation?&lt;/em&gt; Every museum, mural, and reused factory is a different answer to that.&lt;/p&gt;
&lt;p&gt;Next stop: Barcelona, where I finally got to travel like a tourist. That&amp;rsquo;s &lt;a href=&#34;https://aldrinjenson.com/travel/barcelona/&#34;&gt;part two&lt;/a&gt;.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;December daylight is short, about 7.5 hours. Outdoor things go in the middle of the day.&lt;/li&gt;
&lt;li&gt;A work trip is a work trip. Next time I&amp;rsquo;ll add personal days at the end instead of hoping the evenings will be enough.&lt;/li&gt;
&lt;li&gt;Friedrichshain is the young, scruffy, street-art side of Berlin. Mitte is the polished one.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Niagara Falls in a day</title>
      <link>https://aldrinjenson.com/travel/niagara-falls/</link>
      <pubDate>Mon, 02 Nov 2026 12:00:00 -0500</pubDate>
      
      <guid>https://aldrinjenson.com/travel/niagara-falls/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Niagara Falls, NY · Sat Oct 18, 2025 · with Dan · there and back in one day, about 15 km on foot&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Dan and I had been talking about Niagara for a long time, and it kept not happening. Then we realised the Maid of the Mist stops running for the season in early November, so if we wanted the boat it had to be October. We booked flights for a Saturday and decided to do the whole thing in one day.&lt;/p&gt;
&lt;h2 id=&#34;getting-there&#34;&gt;Getting there&lt;/h2&gt;
&lt;p&gt;The flight was JetBlue at 7:30 AM out of JFK, which meant waking up at 4:30 after about three hours of sleep. The Uber left at 5:20, and then the traffic to JFK was terrible. We got there with very little time, and the last part was a proper run to the gate. We made it. The running also told me I should be exercising more than I was.&lt;/p&gt;
&lt;p&gt;We also bought the Maid of the Mist tickets at 5:30 that morning, from the car.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/niagara-falls/wing-at-sunrise.jpg&#34; width=700 alt=&#34;An airplane wing over a calm bay at early morning, under a pale blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Leaving JFK, a little after 7:30.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We landed in Buffalo just after nine. A 30-minute Uber took us to the town of Niagara Falls, and we were walking into the state park by ten to ten.&lt;/p&gt;
&lt;h2 id=&#34;the-maid-of-the-mist&#34;&gt;The Maid of the Mist&lt;/h2&gt;
&lt;p&gt;We started with the boat. They hand you a pink poncho, you get on, and it goes straight up the river towards the Horseshoe Falls.&lt;/p&gt;
&lt;p&gt;From far away the falls look calm. Close up, it&amp;rsquo;s huge. When the boat is right in front of the Horseshoe everything around you turns white with mist and foam, and you can&amp;rsquo;t see any land at all. It felt like being in the middle of a storm at sea. We got completely drenched. My shoes were soaked through.&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline loop width=450 style=&#34;max-width:100%;height:auto;&#34; aria-label=&#34;Pink ponchos on the deck of the Maid of the Mist as it heads into the mist of the Horseshoe Falls&#34; src=&#34;https://aldrinjenson.com/images/niagara-falls/maid-of-the-mist.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Heading into the Horseshoe.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I had come prepared with a spare pair of socks, and Dan had brought napkins and a plastic bag, so after the boat we sat for a bit, dried off, and I changed into dry ones. Then lunch at a South Indian and Himalayan buffet, $20 each, good value after a morning like that.&lt;/p&gt;
&lt;h2 id=&#34;walking-the-falls&#34;&gt;Walking the falls&lt;/h2&gt;
&lt;p&gt;After lunch we just walked. The weather was perfect: not cold, clear blue sky, and the water at the bottom of the falls was a very clear blue-green. I had my blue jacket on over a Boston sweater, which turned out to be exactly right.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/niagara-falls/me-at-american-falls.jpg&#34; width=450 alt=&#34;Me smiling in a blue jacket at the railing, with the American Falls and the Rainbow Bridge behind me&#34;&gt;
&lt;p&gt;&lt;em&gt;At the American Falls, with the Rainbow Bridge behind.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;From the observation point you see the American Falls side-on, with the Maid of the Mist boats going back and forth below, small and red.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/niagara-falls/american-falls.jpg&#34; width=700 alt=&#34;The American Falls seen from the side, with mist rising and a river gorge stretching away&#34;&gt;
&lt;p&gt;&lt;em&gt;The American Falls.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Mid-October was right for the trees too. The paths around the park were yellow, orange, green and bright red, all mixed together.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/niagara-falls/autumn-maple.jpg&#34; width=450 alt=&#34;Me on a park path next to a bright red maple tree, under a blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;The red maple near the Cave of the Winds sign.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Canada is right there across the river, with its hotels and the Skylon Tower. We waved at it. Dan said &amp;ldquo;Hello, Canadians!&amp;rdquo; and I said &amp;ldquo;¡Hola!&amp;rdquo;, which made sense to me at the time, since we were both in a Spanish class.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/niagara-falls/canada-across-the-river.jpg&#34; width=450 alt=&#34;The Canadian side of Niagara across the river, with tall hotels and the Skylon Tower, and a tour boat on the water&#34;&gt;
&lt;p&gt;&lt;em&gt;Canada, across the river.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;the-cave-of-the-winds&#34;&gt;The Cave of the Winds&lt;/h2&gt;
&lt;p&gt;This was my favourite part of the day. The Cave of the Winds is a set of wooden stairs and decks built right up against the Bridal Veil Falls, the small falls next to the American Falls. We took our shoes off and put them in the bag, put on another poncho, and walked down and then up towards the water.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/niagara-falls/bridal-veil-stairs.jpg&#34; width=450 alt=&#34;Red wooden stairs and decks climbing up the rocks towards a white waterfall&#34;&gt;
&lt;p&gt;&lt;em&gt;The stairs up to the Bridal Veil Falls.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The higher you go, the closer you are. On the top deck the water is hitting your face and your whole body, and it&amp;rsquo;s so loud you can feel it. It was really fun. With the sun out, there was a rainbow in the spray the whole time, a full, bright one.&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline loop width=450 style=&#34;max-width:100%;height:auto;&#34; aria-label=&#34;Looking up at the Bridal Veil Falls from the deck, with a rainbow in the spray&#34; src=&#34;https://aldrinjenson.com/images/niagara-falls/cave-of-the-winds.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Under the Bridal Veil Falls.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We stayed up there for a long time, getting soaked, taking photos and videos, and dancing a little in the spray.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/niagara-falls/rainbow-poncho.jpg&#34; width=700 alt=&#34;Me grinning in a wet poncho on the deck, with a rainbow arching over the spray behind me&#34;&gt;
&lt;p&gt;&lt;em&gt;The top deck, with the rainbow.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;the-horseshoe-side-and-home&#34;&gt;The Horseshoe side, and home&lt;/h2&gt;
&lt;p&gt;Later in the afternoon we walked over to see the Horseshoe Falls from the American side. By then the light was low and golden and the mist was glowing.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/niagara-falls/terrapin-point-evening.jpg&#34; width=450 alt=&#34;Me holding my jacket by the railing in the late afternoon, with the mist of the Horseshoe Falls behind&#34;&gt;
&lt;p&gt;&lt;em&gt;The Horseshoe side, late afternoon.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;By the end we were both really tired. The early start caught up with us. We took an Uber back to Buffalo airport, flew out at 8:20 PM to Newark, and both of us dozed off on the way home. We were back in the city by eleven. I could have done this trip on my own, but it wouldn&amp;rsquo;t have been half as fun. I&amp;rsquo;m glad Dan and I did it together. It was a really good day.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Niagara works as a day trip from New York if you fly: Buffalo is an hour away, and the falls are 30 minutes from the airport.&lt;/li&gt;
&lt;li&gt;The Maid of the Mist closes in early November, so it&amp;rsquo;s a September or October trip.&lt;/li&gt;
&lt;li&gt;Bring spare socks and a plastic bag. Both rides soak you.&lt;/li&gt;
&lt;/ul&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What&lt;/th&gt;
&lt;th&gt;Roughly&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Flight JFK → Buffalo (JetBlue)&lt;/td&gt;
&lt;td&gt;$168 each&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Maid of the Mist&lt;/td&gt;
&lt;td&gt;$30 each&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lunch buffet&lt;/td&gt;
&lt;td&gt;$20 each&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Uber, Buffalo airport → falls&lt;/td&gt;
&lt;td&gt;$43&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lyft, Newark → home&lt;/td&gt;
&lt;td&gt;$60&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
</description>
    </item>
    
    <item>
      <title>Los Angeles, my first work trip</title>
      <link>https://aldrinjenson.com/travel/los-angeles/</link>
      <pubDate>Sat, 31 Oct 2026 10:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/los-angeles/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Los Angeles, California · March 2025 · a work trip with my team · Sunday to Wednesday, near Manhattan Beach&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In March 2025 I went to Los Angeles with my team. It was my first work trip since moving to New York, and I hadn&amp;rsquo;t expected to be on it. There were five of us: Anton, Jeff, Brendon, Ben and me.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/welcome-to-manhattan-beach.jpg&#34; width=450 alt=&#34;The white &#39;Welcome to Manhattan Beach, since 1912&#39; sign on a street corner&#34;&gt;
&lt;h2 id=&#34;getting-there&#34;&gt;Getting there&lt;/h2&gt;
&lt;p&gt;We started the Sunday in the New York office at 9:30, then took an Uber to the airport and flew out at noon. We landed at around 3 in the afternoon, LA time.&lt;/p&gt;
&lt;p&gt;We stayed at an Airbnb about three miles from Manhattan Beach. It was a yellow house, and my room was quite big.&lt;/p&gt;
&lt;h2 id=&#34;manhattan-beach&#34;&gt;Manhattan Beach&lt;/h2&gt;
&lt;p&gt;We dropped our bags and at about 5 took an Uber down to the beach by the pier.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/walk-down-to-beach.jpg&#34; width=700 alt=&#34;Walking down a palm-lined street toward the beach and the pier, with the sun low over the ocean&#34;&gt;
&lt;p&gt;&lt;em&gt;The walk down to the water.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It was a really nice beach, and so clean. I honestly couldn&amp;rsquo;t find any trash anywhere. People were sunbathing, couples were walking, kids had made little sand castles, and everyone was just having fun and being respectful. There were seagulls, a couple of boats out on the water, and no street vendors. The ice cream shops were a little way up the hill.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/manhattan-beach-pier.jpg&#34; width=700 alt=&#34;The long concrete Manhattan Beach pier with blue railings, and our shadows stretched across it&#34;&gt;
&lt;p&gt;&lt;em&gt;Out on the pier.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Anton and I got ice cream. Ben and Anton went for a swim. I didn&amp;rsquo;t want to risk it, but I did dip my toes in. The water was very cold.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/pier-selfie-with-anton.jpg&#34; width=600 alt=&#34;A selfie of me and Anton on the Manhattan Beach pier, the beach and houses behind us&#34;&gt;
&lt;p&gt;&lt;em&gt;Anton and me on the pier.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Seeing a beach that clean got me thinking about India. I think part of the reason our beaches aren&amp;rsquo;t that clean is that there are just too many people. But I also think that when a place is clean and pristine to begin with, people think twice before spoiling it, especially if there are plenty of bins around.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/manhattan-beach-volleyball.jpg&#34; width=700 alt=&#34;A wide, clean sandy beach lined with rows of volleyball nets under a clear blue sky&#34;&gt;
&lt;p&gt;&lt;em&gt;Volleyball nets as far as you can see.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;a-team-dinner&#34;&gt;A team dinner&lt;/h2&gt;
&lt;p&gt;That evening we went for dinner at &lt;strong&gt;The Strand House&lt;/strong&gt;, a big restaurant right by the pier.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/strand-house-night.jpg&#34; width=700 alt=&#34;The Strand House restaurant at night, its glass front glowing red and gold&#34;&gt;
&lt;p&gt;&lt;em&gt;The Strand House, after dinner.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;That dinner was my first time trying oysters. I also had sea bass, and over the trip I tried crab cakes for the first time too. I didn&amp;rsquo;t know most of these dishes until someone showed me.&lt;/p&gt;
&lt;p&gt;It was also my first company dinner. As the evening went on I felt more and more at ease. Everyone was trying to make me feel at home, and Ben was really helpful. It felt like I was just another member of the team, and that was a very nice feeling.&lt;/p&gt;
&lt;h2 id=&#34;the-work-days&#34;&gt;The work days&lt;/h2&gt;
&lt;p&gt;The next three days were work. We spent them at the office, building things, with lunch delivered to the table: tacos one day, Thai the next. I kept going even though I was tired. I think the week went well.&lt;/p&gt;
&lt;h2 id=&#34;flying-home&#34;&gt;Flying home&lt;/h2&gt;
&lt;p&gt;We flew back on Wednesday and landed in Newark late that night. On the plane I watched movies, my first in a really long month, and I wasn&amp;rsquo;t stressed at all.&lt;/p&gt;
&lt;p&gt;Looking back the next day, the whole trip felt memorable. I got to learn a bit about American customs, and try food I&amp;rsquo;d never tried before. Mostly I just felt grateful. If it weren&amp;rsquo;t for this job, I wouldn&amp;rsquo;t have been in Los Angeles at all.&lt;/p&gt;
&lt;h2 id=&#34;coming-back&#34;&gt;Coming back&lt;/h2&gt;
&lt;p&gt;I went back to LA for work twice more in 2025. In June it was a quick one with Jeff, Monday to Wednesday, and we were near Manhattan Beach again. One afternoon I got back out on the pier.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/manhattan-beach-pier-june.jpg&#34; width=450 alt=&#34;Me in a black zip jacket on the Manhattan Beach pier, with the beach and the ocean behind me&#34;&gt;
&lt;p&gt;&lt;em&gt;Back on the pier in June.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In October I flew in from Chicago on the Friday night, straight after a client onboarding there, and gave myself the weekend before the next on-site. I stayed in a small Airbnb room on the edge of Beverly Hills, near Koreatown.&lt;/p&gt;
&lt;h3 id=&#34;a-day-tour&#34;&gt;A day tour&lt;/h3&gt;
&lt;p&gt;On Saturday morning I booked a &lt;strong&gt;full-day tour&lt;/strong&gt; at 8 AM and was at the meeting point in Santa Monica by 9:30: Hollywood, Beverly Hills and the beaches, all in one day.&lt;/p&gt;
&lt;p&gt;We started on the &lt;strong&gt;Santa Monica Pier&lt;/strong&gt;, at the sign that marks the end of Route 66.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/santa-monica-route-66.jpg&#34; width=450 alt=&#34;Me with my arms out under the Santa Monica Route 66 &#39;End of the Trail&#39; sign on the pier&#34;&gt;
&lt;p&gt;&lt;em&gt;The end of Route 66.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then down the coast to &lt;strong&gt;Venice Beach&lt;/strong&gt;: the skatepark, the boardwalk with its shops and stalls, and rows of palm trees along the sand.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/venice-skatepark.jpg&#34; width=450 alt=&#34;Me standing in the Venice Beach skatepark with palm trees and the beach behind&#34;&gt;
&lt;p&gt;&lt;em&gt;Venice Beach.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Around lunchtime we were in &lt;strong&gt;Beverly Hills&lt;/strong&gt;. Photo at the Beverly Hills sign, then a walk down &lt;strong&gt;Rodeo Drive&lt;/strong&gt;, past the Beverly Wilshire hotel and the designer shops.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/beverly-hills-sign.jpg&#34; width=450 alt=&#34;Me with my arms spread wide in front of the Beverly Hills sign and its reflecting pool&#34;&gt;
&lt;p&gt;&lt;em&gt;Beverly Hills.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;After that we stopped at the &lt;strong&gt;Original Farmers Market&lt;/strong&gt; and &lt;strong&gt;The Grove&lt;/strong&gt; for lunch and a walk around. Then in the afternoon we went up to &lt;strong&gt;Griffith Observatory&lt;/strong&gt;. From the terrace you can see the Hollywood sign across the hills on one side and downtown LA on the other.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/griffith-hollywood-sign.jpg&#34; width=450 alt=&#34;Me at Griffith Observatory with the Hollywood sign on the hills behind me&#34;&gt;
&lt;p&gt;&lt;em&gt;The Hollywood sign from Griffith Observatory.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The last stop was &lt;strong&gt;Hollywood Boulevard&lt;/strong&gt;: the Walk of Fame, the handprints in the cement outside the TCL Chinese Theatre, and &lt;strong&gt;Madame Tussauds&lt;/strong&gt;, where I got a photo with Marilyn Monroe.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/chinese-theatre-handprints.jpg&#34; width=450 alt=&#34;Handprints and signatures pressed into the concrete outside the TCL Chinese Theatre&#34;&gt;
&lt;p&gt;&lt;em&gt;Outside the Chinese Theatre.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/madame-tussauds-marilyn.jpg&#34; width=450 alt=&#34;Me at a podium next to the Marilyn Monroe wax figure at Madame Tussauds Hollywood&#34;&gt;
&lt;p&gt;&lt;em&gt;With Marilyn, at Madame Tussauds.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/hollywood-oscar-statues.jpg&#34; width=600 alt=&#34;Me standing between two giant golden Oscar statues in front of a Hollywood sign backdrop&#34;&gt;
&lt;p&gt;&lt;em&gt;Between two Oscars.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;That evening I ended up back on the Santa Monica Pier, all lit up for Saturday night.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/santa-monica-pier-night.jpg&#34; width=450 alt=&#34;The Santa Monica Pier at night, with the lit-up Pacific Park Ferris wheel and a big crowd&#34;&gt;
&lt;p&gt;&lt;em&gt;Santa Monica at night.&lt;/em&gt;&lt;/p&gt;
&lt;h3 id=&#34;warner-bros&#34;&gt;Warner Bros.&lt;/h3&gt;
&lt;p&gt;On Sunday morning I went to Mass at &lt;strong&gt;St. Gregory Nazianzen&lt;/strong&gt;, near where I was staying. Then I checked out, left my bags in storage, and went to &lt;strong&gt;Warner Bros.&lt;/strong&gt; in Burbank for the 1:30 Studio Tour. I&amp;rsquo;d booked that the same morning too.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/warner-bros-water-tower.jpg&#34; width=450 alt=&#34;Me standing under the Warner Bros. water tower on the studio lot&#34;&gt;
&lt;p&gt;&lt;em&gt;The Warner Bros. water tower.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;We rode around the backlot in a tram, past streets of fake buildings that turn up in one show after another. Then the sets, including &lt;strong&gt;Central Perk&lt;/strong&gt; from &lt;em&gt;Friends&lt;/em&gt;, and the orange couch from the opening credits, set up by a fountain outside.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/central-perk.jpg&#34; width=450 alt=&#34;Me outside the Central Perk café set from Friends, with its Espresso and Cappuccino neon signs&#34;&gt;
&lt;p&gt;&lt;em&gt;Central Perk.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/friends-couch-fountain.jpg&#34; width=600 alt=&#34;Me sitting on the orange Friends couch in front of a fountain on the backlot&#34;&gt;
&lt;p&gt;&lt;em&gt;The couch from the Friends opening.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;There was a whole DC section too, with the Batmobile and the superhero costumes.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/batmobile.jpg&#34; width=450 alt=&#34;The Batmobile on display in a dark room at the Warner Bros. studio tour&#34;&gt;
&lt;p&gt;&lt;em&gt;The Batmobile.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;After the tour I went back up to &lt;strong&gt;Griffith Observatory&lt;/strong&gt; for sunset, and stayed until it was dark and the whole city was lit up below.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/los-angeles/griffith-observatory-night.jpg&#34; width=450 alt=&#34;Me on the Griffith Observatory terrace at night, with the lights of Los Angeles spread out below&#34;&gt;
&lt;p&gt;&lt;em&gt;LA at night, from Griffith.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then two days of work, and a JetBlue flight home on the Wednesday afternoon.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;The Pacific is cold in March. Dipping my toes in was enough.&lt;/li&gt;
&lt;li&gt;Write down restaurant names on the night. I forgot this one almost straight away.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>San Francisco, for a hackathon</title>
      <link>https://aldrinjenson.com/travel/san-francisco/</link>
      <pubDate>Sat, 31 Oct 2026 10:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/san-francisco/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; San Francisco, California · Oct 3–7, 2024 · with Brendon and Tithi · the E2B hackathon, during my first month in the US&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;In October 2024 I was about a month into my first ever stay in the US. I&amp;rsquo;d &lt;a href=&#34;https://aldrinjenson.com/travel/boston/&#34;&gt;started in Boston&lt;/a&gt;, and then spent the rest of the time in New York, working at the AI company I&amp;rsquo;d just joined. In the middle of that, I flew out to &lt;strong&gt;San Francisco&lt;/strong&gt; with two of my colleagues, Brendon and Tithi, for the &lt;strong&gt;E2B hackathon&lt;/strong&gt;. It was my first time in San Francisco and in California.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ll be honest: I don&amp;rsquo;t remember this trip very well. Work was so busy those weeks that I stopped taking voice notes for about 15–20 days, and San Francisco fell right in that gap. Looking back, I really wish I&amp;rsquo;d recorded more. So this post is mostly pieced together from my photos.&lt;/p&gt;
&lt;p&gt;We flew out on Thursday, October 3, after a morning at the office, and landed at SFO at around 9 at night. We had a late dinner and went to the place we were staying.&lt;/p&gt;
&lt;h2 id=&#34;the-hackathon&#34;&gt;The hackathon&lt;/h2&gt;
&lt;p&gt;The reason for the trip was the hackathon run by &lt;strong&gt;E2B&lt;/strong&gt;. We weren&amp;rsquo;t competing: Brendon was one of the judges, and Tithi and I went along with him.&lt;/p&gt;
&lt;p&gt;We stayed in a place on Pfeiffer Street, up on the slope of Telegraph Hill above North Beach. It had a rooftop, and on the first morning I went up at sunrise. You could see the whole bay from there, with Alcatraz sitting in the middle of it.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/rooftop-view-alcatraz.jpg&#34; width=700 alt=&#34;The view from a rooftop on Telegraph Hill at sunrise: colourful houses, the bay, and Alcatraz island&#34;&gt;
&lt;p&gt;&lt;em&gt;The view from our roof, first morning.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It was a busy few days, with plenty of work in between and some very late nights. There&amp;rsquo;s a food delivery receipt for 2:44 on Saturday morning.&lt;/p&gt;
&lt;p&gt;On Saturday morning I took my first ride in a &lt;strong&gt;Waymo&lt;/strong&gt;, a car with nobody in the driver&amp;rsquo;s seat. A screen in the back shows you the route as it drives.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/waymo.jpg&#34; width=450 alt=&#34;Inside a Waymo self-driving car: the empty front seats and a screen in the back showing the route&#34;&gt;
&lt;p&gt;&lt;em&gt;A Waymo. Nobody driving.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;By lunchtime on Saturday the room was full of people at long tables, and Brendon gave a session on Athena, the company we work at.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/meet-athena-screen.jpg&#34; width=700 alt=&#34;A big screen on a stand in a bright event space, showing &#39;Meet Athena, the 24/7 Enterprise AI Analyst&#39;&#34;&gt;
&lt;p&gt;&lt;em&gt;Brendon&amp;rsquo;s session, just before it started.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;meeting-the-copilotkit-team&#34;&gt;Meeting the CopilotKit team&lt;/h2&gt;
&lt;p&gt;While we were there, we also got to meet the team behind &lt;strong&gt;CopilotKit&lt;/strong&gt; in person. We&amp;rsquo;d been using their tools at work since my very first week, so it was nice to finally meet them face to face.&lt;/p&gt;
&lt;h2 id=&#34;the-city&#34;&gt;The city&lt;/h2&gt;
&lt;p&gt;On Saturday night I went out to see the &lt;strong&gt;Golden Gate Bridge&lt;/strong&gt;, all lit up orange in the dark.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/golden-gate-night.jpg&#34; width=700 alt=&#34;The Golden Gate Bridge lit up orange at night&#34;&gt;
&lt;p&gt;&lt;em&gt;The Golden Gate, Saturday night.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Sunday was my one free day, and I spent all of it walking. In the morning I went to &lt;strong&gt;Saints Peter and Paul&lt;/strong&gt;, the big white church on Washington Square in North Beach.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/saints-peter-and-paul.jpg&#34; width=450 alt=&#34;The white twin-spired Saints Peter and Paul Church on Washington Square&#34;&gt;
&lt;p&gt;Then I climbed up to &lt;strong&gt;Coit Tower&lt;/strong&gt;, right above where we were staying. From the top you can see the Bay Bridge, the piers and the whole waterfront.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/view-from-coit-tower.jpg&#34; width=450 alt=&#34;The view from the top of Coit Tower: the Bay Bridge, the piers and the city below&#34;&gt;
&lt;p&gt;&lt;em&gt;From the top of Coit Tower.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;From there I walked down to &lt;strong&gt;Pier 39&lt;/strong&gt; and Fisherman&amp;rsquo;s Wharf. There&amp;rsquo;s a big &lt;em&gt;California&lt;/em&gt; mural there that everyone takes a photo with, so I did too.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/california-mural-pier-39.jpg&#34; width=450 alt=&#34;Me smiling in front of a colourful &#39;California&#39; mural at Pier 39&#34;&gt;
&lt;p&gt;I got a coffee from a &lt;strong&gt;robot barista&lt;/strong&gt;, a robot arm behind glass that made the whole thing while I watched.&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline muted loop width=450 style=&#34;max-width:100%;height:auto;&#34; aria-label=&#34;A robot arm making coffee behind a glass counter at Pier 39&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/robot-barista.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;My coffee, made by a robot.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/pier-seagull.jpg&#34; width=450 alt=&#34;A seagull perched on a railing by the bay&#34;&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/bay-bridge-selfie.jpg&#34; width=700 alt=&#34;Me smiling with the Bay Bridge and the water behind me on a sunny day&#34;&gt;
&lt;p&gt;&lt;em&gt;With the Bay Bridge behind me.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then I walked up to &lt;strong&gt;Lombard Street&lt;/strong&gt;, the crooked one, which was packed with people taking photos.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/lombard-street.jpg&#34; width=450 alt=&#34;Crowds at the top of Lombard Street, looking out over the city and the bay&#34;&gt;
&lt;p&gt;&lt;em&gt;Lombard Street.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I ended the day on &lt;strong&gt;Twin Peaks&lt;/strong&gt; for the sunset. The whole city was spread out below, and the sun went down over the ocean.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/twin-peaks-view.jpg&#34; width=700 alt=&#34;The view over San Francisco from Twin Peaks in the evening light&#34;&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/san-francisco/twin-peaks-sunset.jpg&#34; width=700 alt=&#34;The sunset from Twin Peaks, orange sky over the city with people silhouetted&#34;&gt;
&lt;p&gt;&lt;em&gt;Sunset from Twin Peaks.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;On Monday we flew back to New York, and on October 13 I flew home to India.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Take voice notes even when work is busy. A two-minute note would have saved this whole trip.&lt;/li&gt;
&lt;li&gt;Go back to San Francisco with proper time to see it.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Boston, my first day in America</title>
      <link>https://aldrinjenson.com/travel/boston/</link>
      <pubDate>Sat, 31 Oct 2026 10:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/travel/boston/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Trip:&lt;/strong&gt; Boston + Cambridge, Massachusetts · Sep 14–15, 2024 · solo · mentoring at HackMIT, then on to New York&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;This was my first time ever in the US. I&amp;rsquo;d just joined an AI company in New York, and on the way there I stopped in Boston for a weekend to mentor at &lt;strong&gt;HackMIT&lt;/strong&gt;, the yearly student hackathon at MIT. I was honestly a bit hesitant to go at all. Early on the morning of the flight I called Papa and Mama and asked if I should really go. They told me to go, first to Boston and then to New York, and I&amp;rsquo;m so glad they did.&lt;/p&gt;
&lt;h2 id=&#34;getting-there&#34;&gt;Getting there&lt;/h2&gt;
&lt;p&gt;I left India at 3 AM on September 14 and flew Emirates, with a stop in Dubai. Altogether it was about 20.5 hours of flying, and I landed in Boston at around 3 PM the same day. Economy had ten seats in a row, and the food was really good. I sat next to a lady called Janet, from Jamaica, who gave me her number before she got off.&lt;/p&gt;
&lt;p&gt;The plane and both airports were full of people from everywhere: Germany, Africa, India, all over.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d planned to review code or watch a documentary on the flight. None of that happened. I mostly just sat there taking it all in.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/boston/emirates-seat.jpg&#34; width=450 alt=&#34;The seatback screen and the long cabin of the Emirates plane, lights dimmed&#34;&gt;
&lt;p&gt;&lt;em&gt;Somewhere over the Atlantic.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;From the airport I took an Uber to the &lt;strong&gt;Residence Inn&lt;/strong&gt; in Kendall Square, Cambridge, a few minutes from MIT. (The first driver picked up someone else instead of me, but Uber refunded it, so all good.) The room was really nice, a proper two-person room. I came up with a little rule for prices that first day: multiply the dollar price by 15 and you get roughly what it would cost back home. A $3 packet of Lay&amp;rsquo;s came to about 45–50 rupees, which felt about right.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/boston/hotel-room-mirror.jpg&#34; width=450 alt=&#34;Me in a blue hoodie taking a mirror selfie in the hotel room&#34;&gt;
&lt;p&gt;&lt;em&gt;Sunday morning at the Residence Inn.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;mit-and-hackmit&#34;&gt;MIT and HackMIT&lt;/h2&gt;
&lt;p&gt;After resting a bit at the hotel, I went to MIT. It&amp;rsquo;s a proper big university, kind of like an IIT, with students cycling around between buildings. There are huge 3D printing labs, big libraries and student centres. I couldn&amp;rsquo;t go inside all of them, and I kind of wish I&amp;rsquo;d explored more.&lt;/p&gt;
&lt;p&gt;My mentor shifts were meant to start at 1 PM on Saturday, but I was still in the air then, so I got there at around half past seven in the evening and stayed till almost eleven. I walked in past the big columns under the dome, lit up at night.&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline muted loop width=700 style=&#34;max-width:100%;height:auto;&#34; aria-label=&#34;MIT&#39;s Great Dome and its columns lit up at night&#34; src=&#34;https://aldrinjenson.com/images/boston/mit-dome-night.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;MIT at night.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;HackMIT itself was in the &lt;strong&gt;Johnson Ice Rink&lt;/strong&gt;, turned into one huge hall: rows and rows of tables full of students on laptops, a big screen at the front, and the red rink walls all around. Outside the hall, the sponsors had their booths set up with QR codes and laptops.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/boston/hackmit-rink.jpg&#34; width=700 alt=&#34;The Johnson Ice Rink at MIT filled with long rows of tables and hundreds of students hacking, behind a red barrier&#34;&gt;
&lt;p&gt;&lt;em&gt;HackMIT, Saturday night.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline muted loop width=700 style=&#34;max-width:100%;height:auto;&#34; aria-label=&#34;Students talking to people at the HackMIT sponsor booths, with banners and QR codes&#34; src=&#34;https://aldrinjenson.com/images/boston/hackmit-sponsor-booths.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The sponsor booths.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I also saw MIT&amp;rsquo;s athletics Hall of Fame, with people who&amp;rsquo;d done great things in everything from skydiving to water polo to basketball. I really liked that there&amp;rsquo;s a strong sports culture alongside the studying.&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline muted loop width=450 style=&#34;max-width:100%;height:auto;&#34; aria-label=&#34;Walking past the framed photos on MIT&#39;s athletics Hall of Fame wall&#34; src=&#34;https://aldrinjenson.com/images/boston/mit-hall-of-fame.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;The students were really nice and super chill. During a talk, people sat with their legs up on another chair, cross-legged, however they liked. Nobody minded. It&amp;rsquo;s up to you how you spend your time there, and I thought that was really cool. There were students from all over the world.&lt;/p&gt;
&lt;p&gt;For the mentoring itself, people didn&amp;rsquo;t ask a lot of questions, so I went round to the tables to check in. At one table I went to confirm that their issue was fixed, and it turned out they actually had a different problem, so I sat down and helped them with that.&lt;/p&gt;
&lt;p&gt;Walking around MIT, part of me wished I could study there. I studied computer science and learned a lot of it on my own, but if I&amp;rsquo;d been doing something like mechanical engineering that needs a lot of hardware, the labs and the professors here would make such a difference. Until then I&amp;rsquo;d never really considered doing a master&amp;rsquo;s. After seeing MIT, I started to.&lt;/p&gt;
&lt;h2 id=&#34;sunday-morning-my-first-american-breakfast&#34;&gt;Sunday morning: my first American breakfast&lt;/h2&gt;
&lt;p&gt;I was up at 3 AM recording a voice note about the journey so far. On Sunday morning I was back at HackMIT for my second mentoring shift, and after that, hungry, I walked to a bright little café near where I was staying, with a long counter, wooden bar stools and big windows.&lt;/p&gt;
&lt;p&gt;I didn&amp;rsquo;t know what to order, so I asked the waiter what was good, and ended up with a &lt;strong&gt;breakfast hash&lt;/strong&gt; and a &lt;strong&gt;peanut butter smoothie&lt;/strong&gt;. It was huge. I was full after less than a third of it, and I couldn&amp;rsquo;t finish the smoothie at all. It came to $21.75 with the tip. This was my first breakfast in the US, and I could already see myself getting used to it.&lt;/p&gt;
&lt;p&gt;&lt;video controls preload=&#34;metadata&#34; playsinline muted loop width=450 style=&#34;max-width:100%;height:auto;&#34; aria-label=&#34;A breakfast hash with a soft egg on top, roasted peppers, potatoes and crumbled cheese&#34; src=&#34;https://aldrinjenson.com/images/boston/breakfast-hash.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The breakfast hash.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;walking-around-boston&#34;&gt;Walking around Boston&lt;/h2&gt;
&lt;p&gt;I had most of Sunday before my flight to New York. At about 11 I took an Uber across the river to &lt;strong&gt;Park Street&lt;/strong&gt;, on the edge of Boston Common, and walked from there. The Common had an old carousel going, with families queueing for it.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/boston/boston-common-carousel.jpg&#34; width=450 alt=&#34;An old-fashioned carousel with a red and gold canopy on Boston Common&#34;&gt;
&lt;p&gt;&lt;em&gt;The carousel on Boston Common.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The first thing I noticed was how clean and well kept everything was. Even the streets had separate marked lanes and meters just for parking, and there seemed to be good public transport. I wished I could take a video of everything I saw; there were so many cool things I wanted to capture.&lt;/p&gt;
&lt;p&gt;I saw my first ever &lt;strong&gt;Cybertruck&lt;/strong&gt; in real life, gliding off around a corner without any sound at all.&lt;/p&gt;
&lt;p&gt;I stopped at &lt;strong&gt;Tatte Bakery&lt;/strong&gt; just to see what it was like. It was packed, with families and kids and people just going about their Sunday.&lt;/p&gt;
&lt;h3 id=&#34;the-public-garden&#34;&gt;The Public Garden&lt;/h3&gt;
&lt;p&gt;I walked through the &lt;strong&gt;Boston Public Garden&lt;/strong&gt;. Everything was so green and well looked after. People were out exercising in shorts and t-shirts, and walking their dogs, who were all very well behaved.&lt;/p&gt;
&lt;p&gt;A lady came up and asked if I could take a photo of her, her friend and two kids. Afterwards she told me I was so nice. It was a small thing, but it felt really good to hear.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/boston/public-garden-lagoon.jpg&#34; width=700 alt=&#34;Ducks swimming in the Public Garden lagoon, with willow trees and people on the grass&#34;&gt;
&lt;p&gt;&lt;em&gt;The lagoon in the Public Garden.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/boston/public-garden-washington.jpg&#34; width=450 alt=&#34;The George Washington statue on horseback in the Public Garden, with flower beds below&#34;&gt;
&lt;p&gt;What I kept noticing all day was how free people seemed. They wore what they wanted and did what they wanted, and no one was judging them. No one minded what I was doing either. That felt huge.&lt;/p&gt;
&lt;h3 id=&#34;boston-public-library&#34;&gt;Boston Public Library&lt;/h3&gt;
&lt;p&gt;Then on through Back Bay to Copley Square. The &lt;strong&gt;Boston Public Library&lt;/strong&gt; was so huge. There were lots of computers, lots of tables where people could sit by themselves and read, and even little cafés in the corners. Anyone can just walk in and use all of it. That really stayed with me.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/boston/boston-public-library.jpg&#34; width=450 alt=&#34;The big open lobby of the Boston Public Library with a wooden ceiling and a red balcony&#34;&gt;
&lt;p&gt;&lt;em&gt;Inside the Boston Public Library.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;On the way back I went into &lt;strong&gt;St. Cecilia&amp;rsquo;s&lt;/strong&gt;, a church on Belvidere Street just round the corner, where Mass was going on. Inside it was all gold and pink, with stained glass above the altar.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/boston/st-cecilia.jpg&#34; width=450 alt=&#34;The gold and pink interior of St. Cecilia&#39;s church in Boston, with people at the altar&#34;&gt;
&lt;h3 id=&#34;the-harbour&#34;&gt;The harbour&lt;/h3&gt;
&lt;p&gt;From there I took an Uber down to &lt;strong&gt;Long Wharf&lt;/strong&gt; on the harbour. It was really beautiful, and so clean. I really liked Boston, even compared to New York, and I remember wishing I could just stay there for a while.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/boston/long-wharf-selfie.jpg&#34; width=450 alt=&#34;Me smiling in a blue hoodie with the harbour and sailboats behind me&#34;&gt;
&lt;p&gt;&lt;em&gt;Long Wharf.&lt;/em&gt;&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/boston/boston-harbour.jpg&#34; width=700 alt=&#34;Boston harbour on a sunny day, with sailboats and motorboats on deep blue water&#34;&gt;
&lt;p&gt;After that I walked up to &lt;strong&gt;Quincy Market&lt;/strong&gt; and &lt;strong&gt;Faneuil Hall&lt;/strong&gt;. It was busy: a balloon artist, stalls, pizza counters, and crowds in the square in front of the old red-brick hall.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/boston/faneuil-hall.jpg&#34; width=700 alt=&#34;Faneuil Hall, an old red-brick building with a statue in front and people in the square&#34;&gt;
&lt;p&gt;&lt;em&gt;Faneuil Hall.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Then I walked past the Old State House and took a ride back to MIT for the last hour of HackMIT, before heading to the airport. I got one last photo in front of the athletics department&amp;rsquo;s big red MIT wall.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/boston/mit-athletics-wall.jpg&#34; width=450 alt=&#34;Me standing in front of a red wall with the MIT logo and &#39;Department of Athletics, Physical Education and Recreation&#39;&#34;&gt;
&lt;h2 id=&#34;on-to-new-york&#34;&gt;On to New York&lt;/h2&gt;
&lt;p&gt;At some point that day I rode in a taxi with a driver from Algeria. He told me he&amp;rsquo;d come to America about twenty years ago, and his wife came from Algeria too. Once you come here, he said, it&amp;rsquo;s hard to go back.&lt;/p&gt;
&lt;p&gt;That evening I flew &lt;strong&gt;American Eagle&lt;/strong&gt; from Boston to JFK, leaving at 5:34 PM and landing just before 7. The next day I was at the office in New York. The whole thing moved so fast I barely had time to sit and think about how I was feeling. Boston was a really good first day in America.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;notes-to-myself&#34;&gt;Notes to myself&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Take more videos and voice notes. I kept wishing I&amp;rsquo;d recorded more.&lt;/li&gt;
&lt;li&gt;The &amp;ldquo;multiply by 15&amp;rdquo; rule worked pretty well for prices that first week.&lt;/li&gt;
&lt;li&gt;American breakfast portions are big. Order one thing, or share.&lt;/li&gt;
&lt;li&gt;Go back to Boston with more time, and actually go inside the MIT labs and libraries.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>ApplyWiz — auto-applying to LinkedIn Easy Apply jobs while you watch</title>
      <link>https://aldrinjenson.com/projects/applywiz/</link>
      <pubDate>Thu, 17 Aug 2023 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/projects/applywiz/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Code:&lt;/strong&gt; &lt;a href=&#34;https://github.com/aldrinjenson/applywiz-chrome-extension&#34;&gt;github.com/aldrinjenson/applywiz-chrome-extension&lt;/a&gt; · &lt;strong&gt;Launched:&lt;/strong&gt; Product Hunt, Aug 17 2023&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;ApplyWiz auto-applies to LinkedIn &amp;ldquo;Easy Apply&amp;rdquo; jobs while you watch. You open a job search, hit go, and the extension walks through the listings one by one — opening each job, stepping through the multi-page application modal, filling the fields, and submitting — while you sit back and watch the counter climb. This is the story of building it, and of the one hard problem that made the whole thing interesting.&lt;/p&gt;
&lt;p&gt;One honest note up front: this automated LinkedIn, which is against their Terms of Service. I&amp;rsquo;m writing it up as a past technical project, not a product I&amp;rsquo;d point people at today. The repo is public now, and the engineering is the part worth keeping.&lt;/p&gt;
&lt;h2 id=&#34;three-moving-parts&#34;&gt;Three moving parts&lt;/h2&gt;
&lt;p&gt;ApplyWiz was three pieces that had to work together:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;Manifest-V3 Chrome extension&lt;/strong&gt; — the actual automation engine that drives the browser.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;Next.js web app&lt;/strong&gt; — auth, the dashboard, Stripe subscriptions, and the analytics that showed you how many jobs you&amp;rsquo;d applied to.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;Supabase Postgres backend&lt;/strong&gt; — the data layer tying users, subscriptions, and stats together.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The web app was the boring-but-necessary scaffolding: Chakra/Tailwind on the front, Stripe for the subscription billing, Supabase holding state. Standard stuff, and it shipped. The interesting part lived in the extension.&lt;/p&gt;
&lt;h2 id=&#34;the-hard-part-choreographing-a-ui-that-fights-back&#34;&gt;The hard part: choreographing a UI that fights back&lt;/h2&gt;
&lt;p&gt;LinkedIn&amp;rsquo;s Easy Apply has no API. There&amp;rsquo;s no documented endpoint you can POST an application to. All you get is a multi-step modal — Continue, then maybe a few question pages, then Review, then Submit — rendered by a single-page app that lazily injects DOM nodes whenever it feels like it. And LinkedIn changes that markup constantly. So the entire automation is &lt;strong&gt;DOM choreography&lt;/strong&gt;: pretend to be a human, but reliably, thousands of times.&lt;/p&gt;
&lt;p&gt;The foundation is a tiny &lt;code&gt;waitForElement&lt;/code&gt; primitive that polls the DOM every &lt;strong&gt;75ms&lt;/strong&gt; until a selector shows up (or times out). Because the SPA renders lazily, you can&amp;rsquo;t assume anything is on screen when you look for it — you have to wait for it the way a human&amp;rsquo;s eyes wait for the page to settle. Everything else is built on top of this.&lt;/p&gt;
&lt;p&gt;On top of that sits the real engine: a &lt;strong&gt;multi-step modal state machine&lt;/strong&gt; (&lt;code&gt;applyToJobs&lt;/code&gt;). The modal doesn&amp;rsquo;t tell you what state it&amp;rsquo;s in, so the machine infers it from the buttons present — distinguishing &lt;strong&gt;Continue&lt;/strong&gt; vs. &lt;strong&gt;Review&lt;/strong&gt; vs. &lt;strong&gt;Submit&lt;/strong&gt; by their &lt;code&gt;aria-label&lt;/code&gt;. To detect when a form is stuck or looping (you hit Continue and nothing advances), it reads LinkedIn&amp;rsquo;s own &lt;strong&gt;completeness progress meter&lt;/strong&gt; — the little &amp;ldquo;your application is 60% complete&amp;rdquo; indicator — and bails out of jobs that aren&amp;rsquo;t making forward progress instead of spinning forever.&lt;/p&gt;
&lt;p&gt;The cleverest piece is the autofill. When a step has unanswered required fields, an &lt;strong&gt;intelligent autofill cascade&lt;/strong&gt; (&lt;code&gt;handleAnyUnfilledColumns&lt;/code&gt;) kicks in. It finds the error-flagged fields, reads each field&amp;rsquo;s label, and tries to fill it through a priority order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;An &lt;strong&gt;experience-by-skill map&lt;/strong&gt; — if the question is &amp;ldquo;how many years of React?&amp;rdquo;, it looks up React.&lt;/li&gt;
&lt;li&gt;The user&amp;rsquo;s &lt;strong&gt;&amp;ldquo;advanced tags&amp;rdquo;&lt;/strong&gt; — custom answers the user pre-configured.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Generic profile keys&lt;/strong&gt; — name, phone, the usual.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dropdown / checkbox fallbacks&lt;/strong&gt; for anything that&amp;rsquo;s a select or a yes/no.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Crucially, it dispatches &lt;strong&gt;React-friendly &lt;code&gt;input&lt;/code&gt; and &lt;code&gt;change&lt;/code&gt; events&lt;/strong&gt; after setting values — because just setting &lt;code&gt;.value&lt;/code&gt; doesn&amp;rsquo;t register with React&amp;rsquo;s controlled inputs; the framework needs to see the event to update its own state. And if a field genuinely can&amp;rsquo;t be answered honestly — a question the cascade has no real answer for — it &lt;strong&gt;gracefully discards the job&lt;/strong&gt; rather than submitting a made-up answer. That restraint mattered to me. The tool shouldn&amp;rsquo;t lie on your behalf.&lt;/p&gt;
&lt;p&gt;Around all of that is the unglamorous robustness work that makes an automation actually survive a real session: lazy-load scrolling to force listings to render, pagination to walk through pages of results, error-toast detection with retry, already-applied detection so it skips jobs you&amp;rsquo;ve done, and resume selection.&lt;/p&gt;
&lt;p&gt;The whole extension was TypeScript on Webpack 5, MV3, styled with Sass, tested with Mocha and c8 coverage, and built in CI with GitHub Actions.&lt;/p&gt;
&lt;h2 id=&#34;what-i-took-away-from-it&#34;&gt;What I took away from it&lt;/h2&gt;
&lt;p&gt;This was one of the most complex solo automation builds I&amp;rsquo;ve done. Not because any single piece was hard, but because the target actively resisted being automated — an undocumented, lazily-rendered, frequently-changing UI with no contract you could rely on. The real lesson was about &lt;strong&gt;making an unreliable, undocumented UI behave deterministically&lt;/strong&gt;: poll instead of assume, infer state from observable signals instead of trusting the page to tell you, and always have a graceful exit for the cases you can&amp;rsquo;t handle honestly.&lt;/p&gt;
&lt;p&gt;That mindset — treat the messy interface as the thing you have, not the thing you wish you had, and build certainty on top of it — is something I&amp;rsquo;ve carried into everything I&amp;rsquo;ve built since.&lt;/p&gt;
&lt;p&gt;Code&amp;rsquo;s open at &lt;a href=&#34;https://github.com/aldrinjenson/applywiz-chrome-extension&#34;&gt;github.com/aldrinjenson/applywiz-chrome-extension&lt;/a&gt;.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Music</title>
      <link>https://aldrinjenson.com/music/</link>
      <pubDate>Fri, 30 Oct 2026 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/music/</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve played guitar since high school, mostly for myself, working out songs and melodies by ear. In college I played in our college bands for arts fests and events, and I whistle too. These are a few recordings I like, including two songs of my own. There&amp;rsquo;s more, rougher stuff on my &lt;a href=&#34;https://www.youtube.com/@aldrinjenson&#34;&gt;YouTube&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;house-of-the-rising-sun-2026&#34;&gt;House of the Rising Sun (2026)&lt;/h2&gt;
&lt;p&gt;My most recent one. Fingerstyle guitar, plus a little falsetto.&lt;/p&gt;

&lt;div style=&#34;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;&#34;&gt;
  &lt;iframe src=&#34;https://www.youtube.com/embed/wq_A9Q1oqlg&#34; style=&#34;position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;&#34; allowfullscreen title=&#34;YouTube Video&#34;&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;h2 id=&#34;while-my-guitar-gently-weeps-2023&#34;&gt;While My Guitar Gently Weeps (2023)&lt;/h2&gt;
&lt;p&gt;The Beatles, with the Garudas western band in my final year. I&amp;rsquo;m on bass this time.&lt;/p&gt;

&lt;div style=&#34;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;&#34;&gt;
  &lt;iframe src=&#34;https://www.youtube.com/embed/19RCEvj7sHE&#34; style=&#34;position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;&#34; allowfullscreen title=&#34;YouTube Video&#34;&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;h2 id=&#34;ieee--bharatham-mec-2022&#34;&gt;IEEE × Bharatham, MEC (2022)&lt;/h2&gt;
&lt;p&gt;Our friend Amith had to talk Devan and me into this one. I&amp;rsquo;m on lead guitar, Devan on rhythm and Madhav on cajón: Counting Stars, Shape of You, the Game of Thrones theme and Love Yourself.&lt;/p&gt;

&lt;div style=&#34;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;&#34;&gt;
  &lt;iframe src=&#34;https://www.youtube.com/embed/EYSXHlyE2-Y&#34; style=&#34;position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;&#34; allowfullscreen title=&#34;YouTube Video&#34;&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;h2 id=&#34;a-song-i-wrote-with-arun-2022&#34;&gt;A song I wrote, with Arun (2022)&lt;/h2&gt;
&lt;p&gt;An original I still really like, played with my good friend Arun. It was recorded during COVID, hence the mask. I messed up the ending, but I left it in.&lt;/p&gt;

&lt;div style=&#34;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;&#34;&gt;
  &lt;iframe src=&#34;https://www.youtube.com/embed/KggkavFHgtg&#34; style=&#34;position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;&#34; allowfullscreen title=&#34;YouTube Video&#34;&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;h2 id=&#34;a-piano-tune-i-came-up-with-in-a-mall-2023&#34;&gt;A piano tune I came up with in a mall (2023)&lt;/h2&gt;
&lt;p&gt;I barely play piano. But a mall had small keyboards stacked up on display, I had time to kill, and this melody came out of it.&lt;/p&gt;

&lt;div style=&#34;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;&#34;&gt;
  &lt;iframe src=&#34;https://www.youtube.com/embed/e1OD4OGFnts&#34; style=&#34;position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;&#34; allowfullscreen title=&#34;YouTube Video&#34;&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;h2 id=&#34;gulaabi-aankhen-whistled-2022&#34;&gt;Gulaabi Aankhen, whistled (2022)&lt;/h2&gt;
&lt;p&gt;A whistle version of the old Hindi song, for the after-hours evening at KochiFOSS. I was volunteering at the conference that week, so we put it together with two practice rounds.&lt;/p&gt;

&lt;div style=&#34;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;&#34;&gt;
  &lt;iframe src=&#34;https://www.youtube.com/embed/-KSnGTaecjQ&#34; style=&#34;position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;&#34; allowfullscreen title=&#34;YouTube Video&#34;&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;h2 id=&#34;parayaathe-ariyaathe-with-iedc-friends-2022&#34;&gt;Parayaathe Ariyaathe, with IEDC friends (2022)&lt;/h2&gt;
&lt;p&gt;An evening after first-year orientations with the IEDC MEC team. Arun brought his guitar to Kasa, and Arun, Dev and I took turns playing while the juniors sang along to the old Malayalam song.&lt;/p&gt;

&lt;div style=&#34;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;&#34;&gt;
  &lt;iframe src=&#34;https://www.youtube.com/embed/O0HV3iS_ucA&#34; style=&#34;position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;&#34; allowfullscreen title=&#34;YouTube Video&#34;&gt;&lt;/iframe&gt;
&lt;/div&gt;

</description>
    </item>
    
    <item>
      <title>Slides from my talks and workshops</title>
      <link>https://aldrinjenson.com/highlights/slides/</link>
      <pubDate>Fri, 30 Oct 2026 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/highlights/slides/</guid>
      <description>&lt;p&gt;These are the slides from talks, workshops and pitches I&amp;rsquo;ve given over the years. Some come with a longer write-up of the day, which is linked where there is one. The decks themselves live at &lt;a href=&#34;https://slides.aldrinjenson.com/&#34;&gt;slides.aldrinjenson.com&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This isn&amp;rsquo;t every talk I&amp;rsquo;ve given. There were more over the years whose slides I no longer have, or that didn&amp;rsquo;t have slides at all. These are the ones I kept.&lt;/p&gt;

&lt;h2&gt;Talks&lt;/h2&gt;
&lt;ul class=&#34;slides-list&#34;&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/ideas-to-reality-with-genai/&#34;&gt;&lt;strong&gt;Turning Ideas into Reality with GenAI&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;ICGAIFE 2.0, the Kerala government&amp;#39;s International Conclave on GenAI and the Future of Education · Dec 2024&lt;/span&gt;
    &lt;br&gt;Lessons from building real projects with AI, and how anyone can turn an idea into something real with today&amp;#39;s GenAI tools.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/intro-to-genai/&#34;&gt;&lt;strong&gt;Introduction to Generative AI&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;GDSC Kerala WoW, Kochi · May 2024&lt;/span&gt;
    &lt;br&gt;A beginner-friendly tour of what generative AI is and what you can do with it.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/introduction-to-foss/&#34;&gt;&lt;strong&gt;Introduction to FOSS, and Why You Should Care&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;MEC.Conf 2023, Model Engineering College · Oct 2023&lt;/span&gt;
    &lt;br&gt;An hour on free and open source software, the four freedoms, and how to get started. &lt;a href=&#34;https://aldrinjenson.com/highlights/speaking-at-mec.conf/&#34;&gt;Read the write-up&lt;/a&gt;.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/open-source-ai-image-generation/open-source-ai-image-generation.pdf&#34;&gt;&lt;strong&gt;Stable Diffusion 101: Getting Started with Open Source AI Image Generation&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;FOSS United Kochi · Aug 2023&lt;/span&gt;
    &lt;br&gt;How open source image generation works, and how to run it yourself.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/mine-dojo-research/mine-dojo-research.pdf&#34;&gt;&lt;strong&gt;MineDojo: Building Embodied Agents with Internet-Scale Knowledge&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;Paper presentation, Model Engineering College · Mar 2023&lt;/span&gt;
    &lt;br&gt;A research paper on building AI agents in Minecraft. Very technical, so I balanced the math with memes and analogies. &lt;a href=&#34;https://aldrinjenson.com/talks/minedojo-seminar/&#34;&gt;Read the write-up&lt;/a&gt;.
  &lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Workshops&lt;/h2&gt;
&lt;ul class=&#34;slides-list&#34;&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/llm101/&#34;&gt;&lt;strong&gt;Introduction to LLMs&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;FOSSMeet &amp;#39;24, NIT Calicut · Mar 2024&lt;/span&gt;
    &lt;br&gt;A six-hour, hands-on workshop on Large Language Models, with Kurian Benoy and Nithin Sabu. &lt;a href=&#34;https://aldrinjenson.com/highlights/llm-workshop/&#34;&gt;Read the write-up&lt;/a&gt;.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/git-workshop/git-workshop.pdf&#34;&gt;&lt;strong&gt;Let&amp;#39;s Git It&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;FOSS MEC&lt;/span&gt;
    &lt;br&gt;A Git workshop with Gokulnath M. Prabhu, including a custom workflow for making your first pull request.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/firebase-101/firebase-101.pdf&#34;&gt;&lt;strong&gt;Firebase 101&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;Google Developer Student Club, MEC&lt;/span&gt;
    &lt;br&gt;A session on Firebase with Adithya.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/agile-workshop/agile-workshop.pdf&#34;&gt;&lt;strong&gt;Agile Workshop&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;IEDC tech team, MEC&lt;/span&gt;
    &lt;br&gt;Agile methodologies for a student tech team, made with help from Arti Bhatia.
  &lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Tech talks&lt;/h2&gt;
&lt;ul class=&#34;slides-list&#34;&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/agentic-workflow/&#34;&gt;&lt;strong&gt;Agentic Workflows&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;Apr 2024&lt;/span&gt;
    &lt;br&gt;LLM agents, multi-agent workflows, and the research behind why they work.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/ollama-experiements/&#34;&gt;&lt;strong&gt;Ollama Experiments&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;Mar 2024&lt;/span&gt;
    &lt;br&gt;Getting every drop of GPU power out of a machine by running Ollama instances in parallel.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/software-freedom/&#34;&gt;&lt;strong&gt;Software Freedom&lt;/strong&gt;&lt;/a&gt;
    &lt;br&gt;A PechaKucha (20 slides, 20 seconds each) on software freedom, explained with a masala dosa.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/talisman-101/&#34;&gt;&lt;strong&gt;Talisman 101&lt;/strong&gt;&lt;/a&gt;
    &lt;br&gt;Talisman, an open source pre-commit hook that stops secrets from being committed to Git.
  &lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Pitches and hackathons&lt;/h2&gt;
&lt;ul class=&#34;slides-list&#34;&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/re-thread-sustainable-clothing/re-thread-sustainable-clothing.pdf&#34;&gt;&lt;strong&gt;Re-thread Inc.&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;Hult Prize 2023&lt;/span&gt;
    &lt;br&gt;A used-clothes marketplace to fight fast fashion.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/memoraide/memoraide_pitch_deck.pdf&#34;&gt;&lt;strong&gt;Memoraide&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;Mar 2023&lt;/span&gt;
    &lt;br&gt;A mobile app for people with memory issues, built with Nayana Vinod, Gokulnath and Sharat Jacob. &lt;a href=&#34;https://github.com/aldrinjenson/memoraide&#34;&gt;Code on GitHub&lt;/a&gt;.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/aqua-harvest/aqua-harvest.pdf&#34;&gt;&lt;strong&gt;AquaHarvest&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;BeachHack 5&lt;/span&gt;
    &lt;br&gt;A platform to help new fish farmers get started. Won 2nd prize.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/anomaly-detection/anomaly-detection.pdf&#34;&gt;&lt;strong&gt;Anomaly Detection System&lt;/strong&gt;&lt;/a&gt;
    &lt;br&gt;A pitch for a general-purpose system to detect anomalies in surveillance networks.
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href=&#34;https://slides.aldrinjenson.com/oregano-farming/oregano-farming.pdf&#34;&gt;&lt;strong&gt;Oregano&lt;/strong&gt;&lt;/a&gt;&lt;br&gt;&lt;span class=&#34;slides-meta&#34;&gt;Hult Prize MEC&lt;/span&gt;
    &lt;br&gt;Software to help organic farmers sell directly to wholesalers. Top 3 on campus.
  &lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    
    <item>
      <title>Giving my Limitless Pendant a second life (no cloud required)</title>
      <link>https://aldrinjenson.com/posts/limitless-pendant-second-life/</link>
      <pubDate>Mon, 05 Oct 2026 04:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/posts/limitless-pendant-second-life/</guid>
      <description>&lt;h2 id=&#34;the-problem-good-hardware-dying-software&#34;&gt;The problem: good hardware, dying software&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ve had a &lt;a href=&#34;https://www.limitless.ai/&#34;&gt;Limitless Pendant&lt;/a&gt; since late 2025. It&amp;rsquo;s a small clip-on that records everything around you and turns it into transcripts and summaries. Then in December 2025, &lt;strong&gt;Limitless announced it was being acquired by Meta&lt;/strong&gt;. Pendant sales stopped the same day. I emailed their support to ask what happens next, and the answer was polite but clear: existing Pendants are supported &lt;strong&gt;through 2026&lt;/strong&gt;, and after that you&amp;rsquo;re on your own. I got the &amp;ldquo;export your data&amp;rdquo; email, did the export, and was left holding a perfectly good piece of hardware.&lt;/p&gt;
&lt;p&gt;That bothered me. I paid for the device. It has a decent microphone, a battery that lasts, a button, and half a gigabyte of storage. The only thing dying is the company&amp;rsquo;s cloud. So I spent a late night (with Claude Code doing a lot of the heavy lifting) figuring out how to keep using it &lt;strong&gt;without any company in the loop&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;What I wanted was simple: a mic I can leave in my bedroom or wear around the house, &lt;strong&gt;ramble thoughts into&lt;/strong&gt;, and have those thoughts land in my personal wiki where I can query them later. It doesn&amp;rsquo;t need to be live. It does need to be private, and it can&amp;rsquo;t be one more subscription.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s how it went: what failed, what worked, and all the code.&lt;/p&gt;
&lt;h2 id=&#34;step-0-what-is-this-thing-actually&#34;&gt;Step 0: what is this thing, actually?&lt;/h2&gt;
&lt;p&gt;First I wanted to see what the Pendant looks like over Bluetooth. A quick scan from the Mac with Python&amp;rsquo;s &lt;a href=&#34;https://github.com/hbldh/bleak&#34;&gt;&lt;code&gt;bleak&lt;/code&gt;&lt;/a&gt; library found nothing called &amp;ldquo;Pendant&amp;rdquo; at first. &lt;strong&gt;A Bluetooth Low Energy device usually stops advertising once it&amp;rsquo;s connected to its phone.&lt;/strong&gt; After I turned my phone&amp;rsquo;s Bluetooth off, it showed up right away as the closest device in the room.&lt;/p&gt;
&lt;p&gt;Connecting and listing what it exposes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Battery Service&lt;/strong&gt; (standard): mine read 4%, which explained a few things.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A custom Limitless service&lt;/strong&gt; &lt;code&gt;632de001-604c-446b-a80f-7963e950f3fb&lt;/code&gt;, with one characteristic for sending commands (&lt;code&gt;…e002&lt;/code&gt;) and one for receiving data (&lt;code&gt;…e003&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;An MCUmgr (SMP) service.&lt;/strong&gt; This is the standard management channel of Zephyr, the embedded OS the chip runs. Read-only queries told me the firmware is &lt;strong&gt;1.1.20&lt;/strong&gt; on the &lt;strong&gt;MCUboot&lt;/strong&gt; bootloader.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I also made a little live &amp;ldquo;Bluetooth radar&amp;rdquo; page that plotted every nearby device by signal strength, which was more fun than useful. Mostly it showed me how many of my neighbours&amp;rsquo; AirPods are always broadcasting.&lt;/p&gt;
&lt;h2 id=&#34;step-1-whats-already-out-there&#34;&gt;Step 1: what&amp;rsquo;s already out there&lt;/h2&gt;
&lt;p&gt;A few people have been down this road already. The useful projects:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Project&lt;/th&gt;
&lt;th&gt;What it does&lt;/th&gt;
&lt;th&gt;Catch&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/MAkcanca/pendant-cli&#34;&gt;MAkcanca/pendant-cli&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Python CLI built from analysing the official app and firmware 1.1.20. Downloads recordings over BLE and &lt;strong&gt;deletes each page from the Pendant after saving it&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Needs exclusive pairing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/girlflipwebsite-spec/limitless-pendant&#34;&gt;girlflipwebsite-spec/limitless-pendant&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;macOS tool, deliberately read-only, with Whisper transcription&lt;/td&gt;
&lt;td&gt;Never frees space on the Pendant&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/BasedHardware/omi&#34;&gt;Omi&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Open-source AI wearable app with Limitless Pendant support&lt;/td&gt;
&lt;td&gt;Audio goes through Omi&amp;rsquo;s cloud&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;https://github.com/COREkunas/RePendant&#34;&gt;RePendant&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Fully open replacement firmware&lt;/td&gt;
&lt;td&gt;You open the device and flash it with a hardware programmer. One-way, tested on one unit&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The most important finding, from pendant-cli&amp;rsquo;s README: &lt;strong&gt;on firmware 1.1.20 the Pendant&amp;rsquo;s &amp;ldquo;real-time&amp;rdquo; mode does nothing.&lt;/strong&gt; The Pendant always records to its own flash, and a client has to download (&amp;ldquo;drain&amp;rdquo;) it afterwards. So there&amp;rsquo;s no live streaming. You record, then sync. For rambling into a wiki that&amp;rsquo;s fine.&lt;/p&gt;
&lt;h2 id=&#34;step-2-the-omi-detour-didnt-work-but-worth-knowing&#34;&gt;Step 2: the Omi detour (didn&amp;rsquo;t work, but worth knowing)&lt;/h2&gt;
&lt;p&gt;Omi looked like the easiest path: install an app, pair, done. I turned on wireless ADB debugging on my Android phone so Claude could drive the phone from the Mac (install the app, tap through screens, read the logs). That turned out to be the killer feature of the whole night: &lt;strong&gt;you can debug a phone app by reading its &lt;code&gt;logcat&lt;/code&gt; instead of guessing.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;What happened:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;The old Limitless app kept stealing the Pendant.&lt;/strong&gt; Every time Bluetooth turned on, it relaunched itself and connected first. The fix was revoking its Bluetooth permissions with &lt;code&gt;adb shell pm revoke ai.limitless.mobile android.permission.BLUETOOTH_CONNECT&lt;/code&gt; (and &lt;code&gt;BLUETOOTH_SCAN&lt;/code&gt;). That&amp;rsquo;s reversible from Settings.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Omi found the Pendant and connected&lt;/strong&gt;, even showing a nice note that my firmware &amp;ldquo;works great with Omi&amp;rdquo;. It reused the phone&amp;rsquo;s existing pairing, so no reset was needed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The live transcript stayed empty.&lt;/strong&gt; The logs said it plainly: &lt;code&gt;Realtime stream silent (rx_without_audio_frames)&lt;/code&gt;. Same 1.1.20 limitation.&lt;/li&gt;
&lt;li&gt;Omi has a &lt;strong&gt;&amp;ldquo;Transcribe Later&amp;rdquo;&lt;/strong&gt; mode (Settings → Recording &amp;amp; Transcription) that drains the flash instead. It started working, then &lt;strong&gt;jammed on Android Bluetooth &amp;ldquo;busy&amp;rdquo; errors&lt;/strong&gt; (&lt;code&gt;writeCharacteristic returned 201&lt;/code&gt;). Two parts of the app were writing commands at once. The one recording that got through was 2 seconds of static.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Honest take:&lt;/strong&gt; Omi&amp;rsquo;s Limitless support is real and actively developed (there were relevant fixes merged days before I tried), but the Play Store build I had (1.0.554) wasn&amp;rsquo;t there yet. If you&amp;rsquo;re reading this later, it may well just work, and it&amp;rsquo;s the easiest option if it does. I also looked at building Omi from source with the latest fixes. That doesn&amp;rsquo;t work either: a self-built app can&amp;rsquo;t sign in to Omi&amp;rsquo;s cloud, so you&amp;rsquo;d also be self-hosting their whole backend.&lt;/p&gt;
&lt;h2 id=&#34;step-3-the-mac-as-the-hub-this-works&#34;&gt;Step 3: the Mac as the hub (this works)&lt;/h2&gt;
&lt;p&gt;The plan that worked: &lt;strong&gt;make the Mac the Pendant&amp;rsquo;s only paired device and do everything locally.&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id=&#34;factory-reset-to-free-the-pairing&#34;&gt;Factory reset to free the pairing&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;The Pendant allows only one pairing.&lt;/strong&gt; It was still paired to my phone, so every command from the Mac was rejected with &lt;code&gt;GATT Protocol Error: Insufficient Encryption&lt;/code&gt;. Turning the phone&amp;rsquo;s Bluetooth off doesn&amp;rsquo;t help, because the pairing is stored on the Pendant itself. You have to factory-reset it (&lt;a href=&#34;https://help.limitless.ai/en/articles/10547401-how-do-i-factory-reset-my-pendant&#34;&gt;Limitless&amp;rsquo;s guide&lt;/a&gt;):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Unplug it from the charger (the orange charging light makes the reset colours confusing).&lt;/li&gt;
&lt;li&gt;Press the button twice: &lt;strong&gt;press-and-release, then press-and-hold.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;A purple light appears. Keep holding until it goes out, then release.&lt;/li&gt;
&lt;li&gt;Blue light means it&amp;rsquo;s reset and ready to pair.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;On macOS you don&amp;rsquo;t pair explicitly. Bleak&amp;rsquo;s &lt;code&gt;pair()&lt;/code&gt; isn&amp;rsquo;t implemented for CoreBluetooth, and you don&amp;rsquo;t need it: &lt;strong&gt;macOS pairs automatically the first time a program asks for a secure connection.&lt;/strong&gt; Running &lt;code&gt;pendant info &amp;lt;address&amp;gt;&lt;/code&gt; once was enough. After a reset the recordings are &lt;strong&gt;not encrypted&lt;/strong&gt;, so pendant-cli&amp;rsquo;s output plays directly.&lt;/p&gt;
&lt;h3 id=&#34;the-first-sync&#34;&gt;The first sync&lt;/h3&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;pendant sync &amp;lt;address&amp;gt; -o first.opus
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;About three minutes of me talking came back as four Ogg Opus files, plus a manifest with timestamps. Afterwards the Pendant reported &lt;code&gt;Flash pages: 0 .. 0&lt;/code&gt;. &lt;strong&gt;pendant-cli acknowledges each page after saving it, and that frees it on the device&lt;/strong&gt;, so storage never fills up.&lt;/p&gt;
&lt;h3 id=&#34;transcription-whisper-locally&#34;&gt;Transcription: Whisper, locally&lt;/h3&gt;
&lt;p&gt;For speech-to-text I used &lt;a href=&#34;https://github.com/ggml-org/whisper.cpp&#34;&gt;whisper.cpp&lt;/a&gt; (&lt;code&gt;brew install whisper-cpp&lt;/code&gt;) with OpenAI&amp;rsquo;s &lt;strong&gt;Whisper &lt;code&gt;large-v3-turbo&lt;/code&gt;&lt;/strong&gt; model in ggml format (&lt;code&gt;ggml-large-v3-turbo.bin&lt;/code&gt;, about 1.6 GB, &lt;a href=&#34;https://huggingface.co/ggerganov/whisper.cpp&#34;&gt;from Hugging Face&lt;/a&gt;). Turbo is large-v3 with the decoder cut from 32 layers to 4. You get close to large-v3 accuracy at several times the speed, and on an Apple Silicon Mac it runs on the GPU through Metal. A few minutes of audio transcribes in seconds, with no cloud, no API key and no monthly minute cap.&lt;/p&gt;
&lt;p&gt;The first transcript:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;I&amp;rsquo;m just talking randomly. I just hope this works. Not sure if it&amp;rsquo;s working, but…&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It works. It mishears some words (&amp;ldquo;Deepgram&amp;rdquo; became &amp;ldquo;deep grammar&amp;rdquo;), but that&amp;rsquo;s fine for notes, where whatever reads them later can work out what was meant.&lt;/p&gt;
&lt;h2 id=&#34;step-4-the-pipeline&#34;&gt;Step 4: the pipeline&lt;/h2&gt;
&lt;p&gt;The pieces:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Pendant ──BLE──▶ pendant-cli (download + delete pages on the device)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                     │
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                     ▼
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;               .opus recordings ──ffmpeg──▶ 16 kHz wav ──whisper.cpp──▶ text
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                                                         │
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                       ~/notes/raw/pendant/YYYY-MM-DD.md ◀┘
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                                     │
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                  local web UI (localhost:8766)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                  + my wiki agent files it into articles
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;A few decisions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;On-demand, not always-on.&lt;/strong&gt; I first set up a launchd job to sync every 5 minutes, then realised I don&amp;rsquo;t need that. The Pendant buffers everything, so I sync when I sit down at the Mac. In my wiki that&amp;rsquo;s a &lt;code&gt;/pendant&lt;/code&gt; command in Claude Code, which runs the sync and then files anything worth keeping into the right wiki articles.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Plan for slow drains.&lt;/strong&gt; BLE downloads run at roughly &lt;strong&gt;10 KB/s&lt;/strong&gt;, so a full day of recording can take an hour or more to pull. The script allows up to 4 hours and uses a lock file so two syncs never overlap.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Skip junk.&lt;/strong&gt; Recordings under 3 seconds are skipped. So are Whisper&amp;rsquo;s classic silence hallucinations (&amp;ldquo;Thank you.&amp;rdquo;, &amp;ldquo;you&amp;rdquo;, &lt;code&gt;[BLANK_AUDIO]&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Raw transcripts stay out of git.&lt;/strong&gt; Ambient audio can catch other people. Only what gets compiled into wiki articles is committed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;step-5-a-small-ui&#34;&gt;Step 5: a small UI&lt;/h2&gt;
&lt;p&gt;I wanted somewhere to glance at what was captured, so there&amp;rsquo;s a tiny local web app. Python standard library only, no frameworks. It lists transcripts by day, plays the audio for each one, has full-text search, shows battery and last-sync status, and has a &lt;strong&gt;Sync now&lt;/strong&gt; button. It runs as a launchd agent, so &lt;code&gt;http://localhost:8766&lt;/code&gt; is always up.&lt;/p&gt;
&lt;h2 id=&#34;build-your-own&#34;&gt;Build your own&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;All the code is on GitHub: &lt;a href=&#34;https://github.com/aldrinjenson/pendant-sync&#34;&gt;aldrinjenson/pendant-sync&lt;/a&gt;.&lt;/strong&gt; You need a Mac (Apple Silicon is ideal for Whisper), a Limitless Pendant, and about 30 minutes.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# 1. Tools&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew install whisper-cpp ffmpeg opus
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# 2. This repo + pendant-cli inside it&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git clone https://github.com/aldrinjenson/pendant-sync.git ~/pendant-sync &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; cd ~/pendant-sync
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git clone https://github.com/MAkcanca/pendant-cli.git
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;python3 -m venv .venv
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;./.venv/bin/pip install -e &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;./pendant-cli[dev,opus]&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;cd pendant-cli &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; ../.venv/bin/python scripts/gen_proto.py&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# 3. Whisper model (~1.6 GB)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mkdir -p models &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; curl -L -o models/ggml-large-v3-turbo.bin &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;  https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-v3-turbo.bin
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# 4. Factory-reset the Pendant (see above), keep it near the Mac, then:&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;./.venv/bin/pendant scan                 &lt;span style=&#34;color:#75715e&#34;&gt;# prints the address&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;./.venv/bin/pendant info &amp;lt;address&amp;gt;       &lt;span style=&#34;color:#75715e&#34;&gt;# first secure request = macOS pairs it&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# 5. Set ADDRESS at the top of pendant_sync.py, then:&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;./.venv/bin/python pendant_sync.py       &lt;span style=&#34;color:#75715e&#34;&gt;# sync + transcribe&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;./.venv/bin/python ui.py                 &lt;span style=&#34;color:#75715e&#34;&gt;# open http://localhost:8766&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To keep the UI running in the background, add a launchd agent at &lt;code&gt;~/Library/LaunchAgents/com.you.pendant-ui.plist&lt;/code&gt; that runs &lt;code&gt;.venv/bin/python ui.py&lt;/code&gt; with &lt;code&gt;KeepAlive&lt;/code&gt; set to true, then load it with &lt;code&gt;launchctl bootstrap gui/$(id -u) &amp;lt;plist&amp;gt;&lt;/code&gt;.&lt;/p&gt;
&lt;details&gt;
&lt;summary&gt;&lt;strong&gt;pendant_sync.py&lt;/strong&gt;: download, transcribe, append to daily notes&lt;/summary&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#!/usr/bin/env python3&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;#34;&amp;#34;Pendant → Mac → Whisper → MemoryPalace pipeline.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;Each run: connect to the Limitless Pendant over BLE (pendant-cli), drain its
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;flash (pendant-cli ACK-deletes pages after download, so the pendant never
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;fills), transcribe new recordings locally with whisper.cpp, append them to
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;~/notes/raw/pendant/YYYY-MM-DD.md, and update status.json
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;(read by the local UI, ui.py).
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;Run on demand (by hand, from a Claude Code command, or the UI&amp;#39;s Sync now
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;button in ui.py): `.venv/bin/python pendant_sync.py`.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; datetime &lt;span style=&#34;color:#66d9ef&#34;&gt;as&lt;/span&gt; dt
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; fcntl
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; json
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; shutil
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; subprocess
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; sys
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; time
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;from&lt;/span&gt; pathlib &lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; Path
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;HOME &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; Path(__file__)&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;resolve()&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;parent
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ADDRESS &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;YOUR-PENDANT-ADDRESS&amp;#34;&lt;/span&gt;  &lt;span style=&#34;color:#75715e&#34;&gt;# from `pendant scan` (on macOS this is a per-host UUID)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;PENDANT &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; HOME &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;.venv/bin/pendant&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;MODEL &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; HOME &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;models/ggml-large-v3-turbo.bin&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;WHISPER &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; shutil&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;which(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;whisper-cli&amp;#34;&lt;/span&gt;) &lt;span style=&#34;color:#f92672&#34;&gt;or&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/opt/homebrew/bin/whisper-cli&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;FFMPEG &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; shutil&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;which(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;ffmpeg&amp;#34;&lt;/span&gt;) &lt;span style=&#34;color:#f92672&#34;&gt;or&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/opt/homebrew/bin/ffmpeg&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;WIKI_RAW &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; Path&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;home() &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;notes/raw/pendant&amp;#34;&lt;/span&gt;  &lt;span style=&#34;color:#75715e&#34;&gt;# where daily transcript files go&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;AUDIO &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; HOME &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;data/audio&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;RUNS &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; HOME &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;data/runs&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;STATUS_JSON &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; HOME &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;status.json&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;LOG &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; HOME &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;logs/sync.log&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;MIN_SECONDS &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;3.0&lt;/span&gt;          &lt;span style=&#34;color:#75715e&#34;&gt;# skip blips shorter than this&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;SYNC_TIMEOUT_S &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;4&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;*&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;3600&lt;/span&gt;  &lt;span style=&#34;color:#75715e&#34;&gt;# BLE drains ~10 KB/s, so a multi-day backlog can take hours&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;KEEP_RUNS_DAYS &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;14&lt;/span&gt;        &lt;span style=&#34;color:#75715e&#34;&gt;# wire-fidelity .bin captures kept this long&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Whisper&amp;#39;s stock outputs for silence/noise; never worth writing to the wiki.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;HALLUCINATIONS &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; {&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;you&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;thank you&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;thank you.&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;thanks for watching!&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;bye.&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;okay.&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;[blank_audio]&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;(silence)&amp;#34;&lt;/span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;log&lt;/span&gt;(msg):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    LOG&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;parent&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;mkdir(parents&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;, exist_ok&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    line &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;dt&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;datetime&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;now()&lt;span style=&#34;color:#e6db74&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;%Y-%m-%d %H:%M:%S&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;msg&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    print(line, flush&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;with&lt;/span&gt; LOG&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;open(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;a&amp;#34;&lt;/span&gt;) &lt;span style=&#34;color:#66d9ef&#34;&gt;as&lt;/span&gt; f:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        f&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;write(line &lt;span style=&#34;color:#f92672&#34;&gt;+&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;\n&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;load_status&lt;/span&gt;():
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;try&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; json&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;loads(STATUS_JSON&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;read_text())
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;except&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;Exception&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; {&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;recent&amp;#34;&lt;/span&gt;: [], &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;days&amp;#34;&lt;/span&gt;: {}}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;save_status&lt;/span&gt;(st):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    STATUS_JSON&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;write_text(json&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;dumps(st, indent&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;))
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;recording_start&lt;/span&gt;(rec):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;#34;&amp;#34;Pendant clock is unset for the first chunk after a reset (epoch ~0), so
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;    fall back to last_chunk minus duration when first_chunk looks bogus.&amp;#34;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    first &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; rec&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;get(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;first_chunk&amp;#34;&lt;/span&gt;, {})&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;get(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;absolute_timestamp_ms&amp;#34;&lt;/span&gt;) &lt;span style=&#34;color:#f92672&#34;&gt;or&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; first &lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1_600_000_000_000&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; dt&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;datetime&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;fromtimestamp(first &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1000&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    last &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; rec&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;get(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;last_chunk&amp;#34;&lt;/span&gt;, {})&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;get(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;absolute_timestamp_ms&amp;#34;&lt;/span&gt;) &lt;span style=&#34;color:#f92672&#34;&gt;or&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; last &lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1_600_000_000_000&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; dt&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;datetime&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;fromtimestamp((last &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt; rec&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;get(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;approx_duration_ms&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;)) &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1000&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; dt&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;datetime&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;now()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;transcribe&lt;/span&gt;(opus: Path) &lt;span style=&#34;color:#f92672&#34;&gt;-&amp;gt;&lt;/span&gt; str:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    wav &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; opus&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;with_suffix(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;.wav&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#75715e&#34;&gt;# The last Ogg packet of a drained recording is often truncated; ffmpeg&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#75715e&#34;&gt;# complains but still writes everything before it.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    subprocess&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;run([FFMPEG, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;-loglevel&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;quiet&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;-y&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;-i&amp;#34;&lt;/span&gt;, str(opus), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;-ar&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;16000&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;-ac&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;1&amp;#34;&lt;/span&gt;, str(wav)])
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;not&lt;/span&gt; wav&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;exists() &lt;span style=&#34;color:#f92672&#34;&gt;or&lt;/span&gt; wav&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;stat()&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;st_size &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;16000&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    out &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; subprocess&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;run([WHISPER, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;-m&amp;#34;&lt;/span&gt;, str(MODEL), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;-f&amp;#34;&lt;/span&gt;, str(wav), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;-l&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;en&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;-nt&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;-np&amp;#34;&lt;/span&gt;],
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                         capture_output&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;, text&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;, timeout&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;600&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    wav&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;unlink(missing_ok&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34; &amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;join(out&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;stdout&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;split())&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;strip()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;append_to_wiki&lt;/span&gt;(start: dt&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;datetime, seconds: float, text: str, audio_rel: str):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    WIKI_RAW&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;mkdir(parents&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;, exist_ok&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    day &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; WIKI_RAW &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;start&lt;span style=&#34;color:#e6db74&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;%Y-%m-%d&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;.md&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;not&lt;/span&gt; day&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;exists():
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        day&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;write_text(
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;---&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;\n&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;date: &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;start&lt;span style=&#34;color:#e6db74&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;%Y-%m-%d&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;\n&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;source: limitless-pendant (local sync via pendant-cli + whisper.cpp)&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;\n&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;processed: false&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;\n&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;---&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;\n\n&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;# Pendant transcripts — &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;start&lt;span style=&#34;color:#e6db74&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;%A, %B %-d %Y&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;\n\n&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Raw ambient/rambling transcripts from the Limitless Pendant. Whisper output: expect &amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;misheard words. Audio kept locally in `pendant-sync/data/audio/`.&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;\n&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        )
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;with&lt;/span&gt; day&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;open(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;a&amp;#34;&lt;/span&gt;) &lt;span style=&#34;color:#66d9ef&#34;&gt;as&lt;/span&gt; f:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        f&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;write(&lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;\n&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;## &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;start&lt;span style=&#34;color:#e6db74&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;%H:%M&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; (&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;seconds&lt;span style=&#34;color:#e6db74&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;.0f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;s)&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;\n\n&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;text&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;\n\n&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;!-- audio: &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;audio_rel&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; --&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;\n&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;cleanup_runs&lt;/span&gt;():
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    cutoff &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; time&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;time() &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt; KEEP_RUNS_DAYS &lt;span style=&#34;color:#f92672&#34;&gt;*&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;86400&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; d &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; RUNS&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;glob(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;*&amp;#34;&lt;/span&gt;):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; d&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;is_dir() &lt;span style=&#34;color:#f92672&#34;&gt;and&lt;/span&gt; d&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;stat()&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;st_mtime &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt; cutoff:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            shutil&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;rmtree(d, ignore_errors&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;run&lt;/span&gt;():
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    st &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; load_status()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    st[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;last_attempt&amp;#34;&lt;/span&gt;] &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; dt&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;datetime&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;now()&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;isoformat(timespec&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;seconds&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    run_dir &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; RUNS &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; dt&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;datetime&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;now()&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;strftime(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;%Y%m&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;%d&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;-%H%M%S&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    run_dir&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;mkdir(parents&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;, exist_ok&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    base &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; run_dir &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;cap.opus&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;try&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        proc &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; subprocess&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;run([str(PENDANT), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;sync&amp;#34;&lt;/span&gt;, ADDRESS, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;-o&amp;#34;&lt;/span&gt;, str(base)],
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                              capture_output&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;, text&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;, timeout&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;SYNC_TIMEOUT_S)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;except&lt;/span&gt; subprocess&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;TimeoutExpired:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        st[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;last_error&amp;#34;&lt;/span&gt;] &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;sync timed out&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        log(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;sync timed out&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        save_status(st)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    manifest_path &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; run_dir &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;cap.opus.manifest.json&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; proc&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;returncode &lt;span style=&#34;color:#f92672&#34;&gt;!=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;or&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;not&lt;/span&gt; manifest_path&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;exists():
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        tail &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; (proc&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;stderr &lt;span style=&#34;color:#f92672&#34;&gt;or&lt;/span&gt; proc&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;stdout)&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;strip()&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;splitlines()[&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;:] &lt;span style=&#34;color:#f92672&#34;&gt;or&lt;/span&gt; [&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;unknown&amp;#34;&lt;/span&gt;]
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        st[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;last_error&amp;#34;&lt;/span&gt;] &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;not reachable / sync failed: &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;tail[&lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;][:&lt;span style=&#34;color:#ae81ff&#34;&gt;200&lt;/span&gt;]&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        st[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;connected&amp;#34;&lt;/span&gt;] &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;False&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        log(&lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;sync failed rc=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;proc&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;returncode&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;: &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;tail[&lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;][:&lt;span style=&#34;color:#ae81ff&#34;&gt;200&lt;/span&gt;]&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        shutil&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;rmtree(run_dir, ignore_errors&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        save_status(st)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    manifest &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; json&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;loads(manifest_path&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;read_text())
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    dev &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; manifest&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;get(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;device&amp;#34;&lt;/span&gt;, {})
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    st&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;update(connected&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;, last_error&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;None&lt;/span&gt;, last_success&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;st[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;last_attempt&amp;#34;&lt;/span&gt;],
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;              battery&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;dev&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;get(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;battery_percent&amp;#34;&lt;/span&gt;), firmware&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;dev&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;get(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;firmware_ver&amp;#34;&lt;/span&gt;))
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    recs &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; manifest&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;get(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;recordings&amp;#34;&lt;/span&gt;, [])
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    kept &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; rec &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; recs:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        seconds &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; rec&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;get(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;approx_duration_ms&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;) &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1000&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        src &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; run_dir &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; rec[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;file&amp;#34;&lt;/span&gt;]
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; seconds &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt; MIN_SECONDS &lt;span style=&#34;color:#f92672&#34;&gt;or&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;not&lt;/span&gt; src&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;exists():
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;continue&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        start &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; recording_start(rec)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        dest_dir &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; AUDIO &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;start&lt;span style=&#34;color:#e6db74&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;%Y-%m-%d&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        dest_dir&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;mkdir(parents&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;, exist_ok&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        dest &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; dest_dir &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;start&lt;span style=&#34;color:#e6db74&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;%H%M%S&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;.opus&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        shutil&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;move(str(src), dest)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        text &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; transcribe(dest)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        day &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; st[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;days&amp;#34;&lt;/span&gt;]&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;setdefault(&lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;start&lt;span style=&#34;color:#e6db74&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;%Y-%m-%d&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;, {&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;recordings&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;seconds&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;transcribed&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;})
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        day[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;recordings&amp;#34;&lt;/span&gt;] &lt;span style=&#34;color:#f92672&#34;&gt;+=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        day[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;seconds&amp;#34;&lt;/span&gt;] &lt;span style=&#34;color:#f92672&#34;&gt;+=&lt;/span&gt; round(seconds)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; text&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;lower() &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; HALLUCINATIONS:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            log(&lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;dest&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;name&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;: &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;seconds&lt;span style=&#34;color:#e6db74&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;.0f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;s, no speech&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;continue&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        append_to_wiki(start, seconds, text, str(dest&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;relative_to(HOME)))
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        day[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;transcribed&amp;#34;&lt;/span&gt;] &lt;span style=&#34;color:#f92672&#34;&gt;+=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        kept &lt;span style=&#34;color:#f92672&#34;&gt;+=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        st[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;recent&amp;#34;&lt;/span&gt;] &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; ([{&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;at&amp;#34;&lt;/span&gt;: start&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;isoformat(timespec&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;minutes&amp;#34;&lt;/span&gt;), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;seconds&amp;#34;&lt;/span&gt;: round(seconds), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;text&amp;#34;&lt;/span&gt;: text[:&lt;span style=&#34;color:#ae81ff&#34;&gt;400&lt;/span&gt;]}]
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                        &lt;span style=&#34;color:#f92672&#34;&gt;+&lt;/span&gt; st[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;recent&amp;#34;&lt;/span&gt;])[:&lt;span style=&#34;color:#ae81ff&#34;&gt;15&lt;/span&gt;]
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        log(&lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;dest&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;name&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;: &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;seconds&lt;span style=&#34;color:#e6db74&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;.0f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;s -&amp;gt; &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;len(text)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; chars&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;not&lt;/span&gt; recs:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        shutil&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;rmtree(run_dir, ignore_errors&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;)  &lt;span style=&#34;color:#75715e&#34;&gt;# nothing captured; don&amp;#39;t keep empty runs&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    log(&lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;sync ok: battery=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;st[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;battery&amp;#39;&lt;/span&gt;]&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;% recordings=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;len(recs)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; transcribed=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;kept&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    cleanup_runs()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    save_status(st)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; __name__ &lt;span style=&#34;color:#f92672&#34;&gt;==&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;__main__&amp;#34;&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    lock &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; open(HOME &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;.sync.lock&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;w&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;try&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        fcntl&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;flock(lock, fcntl&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;LOCK_EX &lt;span style=&#34;color:#f92672&#34;&gt;|&lt;/span&gt; fcntl&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;LOCK_NB)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;except&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;BlockingIOError&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        sys&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;exit(&lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;)  &lt;span style=&#34;color:#75715e&#34;&gt;# previous run still draining&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    run()
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/details&gt;
&lt;details&gt;
&lt;summary&gt;&lt;strong&gt;ui.py&lt;/strong&gt;: the local server (stdlib only)&lt;/summary&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#!/usr/bin/env python3&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;#34;&amp;#34;Local Pendant browser: http://localhost:8766
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;Reads the transcripts pendant_sync.py appends to ~/notes/raw/pendant/,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;plays the matching audio, shows sync status, and can trigger a sync.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;Keep it running with a launchd agent (or just run it); stdlib only.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; json
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; re
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; subprocess
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; sys
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;from&lt;/span&gt; http.server &lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; BaseHTTPRequestHandler, ThreadingHTTPServer
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;from&lt;/span&gt; pathlib &lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; Path
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;from&lt;/span&gt; urllib.parse &lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; unquote, urlparse
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;HOME &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; Path(__file__)&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;resolve()&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;parent
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;WIKI_RAW &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; Path&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;home() &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;notes/raw/pendant&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;PORT &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;8766&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ENTRY &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; re&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;compile(&lt;span style=&#34;color:#e6db74&#34;&gt;r&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;^## (\d\d:\d\d) \((\d+)s\)\n\n(.*?)\n\n&amp;lt;!-- audio: (.*?) --&amp;gt;&amp;#34;&lt;/span&gt;, re&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;M &lt;span style=&#34;color:#f92672&#34;&gt;|&lt;/span&gt; re&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;S)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;day_entries&lt;/span&gt;(day: str):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    f &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; WIKI_RAW &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;day&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;.md&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;not&lt;/span&gt; f&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;exists():
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; []
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; [{&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;time&amp;#34;&lt;/span&gt;: t, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;seconds&amp;#34;&lt;/span&gt;: int(s), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;text&amp;#34;&lt;/span&gt;: txt&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;strip(), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;audio&amp;#34;&lt;/span&gt;: a}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; t, s, txt, a &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; ENTRY&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;findall(f&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;read_text())]
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;days&lt;/span&gt;():
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    out &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; []
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; f &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; sorted(WIKI_RAW&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;glob(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;*.md&amp;#34;&lt;/span&gt;), reverse&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        es &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; day_entries(f&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;stem)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        out&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;append({&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;day&amp;#34;&lt;/span&gt;: f&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;stem, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;count&amp;#34;&lt;/span&gt;: len(es), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;seconds&amp;#34;&lt;/span&gt;: sum(e[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;seconds&amp;#34;&lt;/span&gt;] &lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; e &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; es)})
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; out
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;search&lt;/span&gt;(q: str):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    q &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; q&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;lower()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    hits &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; []
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; d &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; days():
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; e &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; day_entries(d[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;day&amp;#34;&lt;/span&gt;]):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; q &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; e[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;text&amp;#34;&lt;/span&gt;]&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;lower():
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                hits&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;append({&lt;span style=&#34;color:#f92672&#34;&gt;**&lt;/span&gt;e, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;day&amp;#34;&lt;/span&gt;: d[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;day&amp;#34;&lt;/span&gt;]})
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; hits[:&lt;span style=&#34;color:#ae81ff&#34;&gt;200&lt;/span&gt;]
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;class&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;H&lt;/span&gt;(BaseHTTPRequestHandler):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;log_message&lt;/span&gt;(self, &lt;span style=&#34;color:#f92672&#34;&gt;*&lt;/span&gt;a):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;pass&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;send&lt;/span&gt;(self, body, ctype&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;application/json&amp;#34;&lt;/span&gt;, code&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;200&lt;/span&gt;):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; isinstance(body, (dict, list)):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            body &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; json&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;dumps(body)&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;encode()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;elif&lt;/span&gt; isinstance(body, str):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            body &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; body&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;encode()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send_response(code)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send_header(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Content-Type&amp;#34;&lt;/span&gt;, ctype)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send_header(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Content-Length&amp;#34;&lt;/span&gt;, str(len(body)))
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send_header(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Cache-Control&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;no-store&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;end_headers()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;wfile&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;write(body)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;do_GET&lt;/span&gt;(self):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        u &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; urlparse(self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;path)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        p &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; unquote(u&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;path)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; p &lt;span style=&#34;color:#f92672&#34;&gt;==&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/&amp;#34;&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send((HOME &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;ui.html&amp;#34;&lt;/span&gt;)&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;read_bytes(), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;text/html; charset=utf-8&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; p &lt;span style=&#34;color:#f92672&#34;&gt;==&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/api/status&amp;#34;&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;try&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                st &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; json&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;loads((HOME &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;status.json&amp;#34;&lt;/span&gt;)&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;read_text())
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;except&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;Exception&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                st &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; {}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            st[&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;syncing&amp;#34;&lt;/span&gt;] &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; (HOME &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;.sync.running&amp;#34;&lt;/span&gt;)&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;exists()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send(st)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; p &lt;span style=&#34;color:#f92672&#34;&gt;==&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/api/days&amp;#34;&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send(days())
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; p&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;startswith(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/api/day/&amp;#34;&lt;/span&gt;):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send(day_entries(p&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;rsplit(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;)[&lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;]))
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; p &lt;span style=&#34;color:#f92672&#34;&gt;==&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/api/search&amp;#34;&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            q &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; dict(x&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;split(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;=&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;) &lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; x &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; u&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;query&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;split(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;amp;&amp;#34;&lt;/span&gt;) &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;=&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; x)&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;get(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;q&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send(search(unquote(q&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;replace(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;+&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34; &amp;#34;&lt;/span&gt;))))
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; p&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;startswith(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/audio/&amp;#34;&lt;/span&gt;):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            f &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; (HOME &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; p[len(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/audio/&amp;#34;&lt;/span&gt;):])&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;resolve()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; HOME &lt;span style=&#34;color:#f92672&#34;&gt;in&lt;/span&gt; f&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;parents &lt;span style=&#34;color:#f92672&#34;&gt;and&lt;/span&gt; f&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;exists() &lt;span style=&#34;color:#f92672&#34;&gt;and&lt;/span&gt; f&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;suffix &lt;span style=&#34;color:#f92672&#34;&gt;==&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;.opus&amp;#34;&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send(f&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;read_bytes(), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;audio/ogg&amp;#34;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send({&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;error&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;not found&amp;#34;&lt;/span&gt;}, code&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;404&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;def&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;do_POST&lt;/span&gt;(self):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;path &lt;span style=&#34;color:#f92672&#34;&gt;==&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/api/sync&amp;#34;&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            marker &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; HOME &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;.sync.running&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;not&lt;/span&gt; marker&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;exists():
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                marker&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;touch()
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                &lt;span style=&#34;color:#75715e&#34;&gt;# Same script launchd runs; its file lock prevents overlapping drains.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                subprocess&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;Popen([&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/bin/sh&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;-c&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;sys&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;executable&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34; &amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;HOME&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;/pendant_sync.py&amp;#34;; rm -f &amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;marker&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;#39;&lt;/span&gt;],
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;                                 cwd&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;HOME, stdout&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;subprocess&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;DEVNULL, stderr&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;subprocess&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;DEVNULL)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;            &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send({&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;started&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;})
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        self&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;send({&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;error&amp;#34;&lt;/span&gt;: &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;not found&amp;#34;&lt;/span&gt;}, code&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;404&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; __name__ &lt;span style=&#34;color:#f92672&#34;&gt;==&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;__main__&amp;#34;&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    print(&lt;span style=&#34;color:#e6db74&#34;&gt;f&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Pendant UI on http://localhost:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;{&lt;/span&gt;PORT&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;, flush&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;True&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ThreadingHTTPServer((&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;127.0.0.1&amp;#34;&lt;/span&gt;, PORT), H)&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;serve_forever()
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/details&gt;
&lt;details&gt;
&lt;summary&gt;&lt;strong&gt;ui.html&lt;/strong&gt;: the transcript browser&lt;/summary&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&amp;lt;!doctype html&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;html&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;lang&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;en&amp;#34;&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;head&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;meta&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;charset&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;utf-8&amp;#34;&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;meta&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;name&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;viewport&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;content&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;width=device-width, initial-scale=1&amp;#34;&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;title&lt;/span&gt;&amp;gt;Pendant Transcripts&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;title&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;style&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;:&lt;span style=&#34;color:#a6e22e&#34;&gt;root&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --bg: &lt;span style=&#34;color:#ae81ff&#34;&gt;#f6f5f1&lt;/span&gt;; --panel: &lt;span style=&#34;color:#ae81ff&#34;&gt;#ffffff&lt;/span&gt;; --ink: &lt;span style=&#34;color:#ae81ff&#34;&gt;#1d1d1b&lt;/span&gt;; --muted: &lt;span style=&#34;color:#ae81ff&#34;&gt;#75736c&lt;/span&gt;; --line: &lt;span style=&#34;color:#ae81ff&#34;&gt;#e3e1da&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  --accent: &lt;span style=&#34;color:#ae81ff&#34;&gt;#d9480f&lt;/span&gt;; --accent-soft: &lt;span style=&#34;color:#ae81ff&#34;&gt;#fde4d6&lt;/span&gt;; --good: &lt;span style=&#34;color:#ae81ff&#34;&gt;#2f9e44&lt;/span&gt;; --bad: &lt;span style=&#34;color:#ae81ff&#34;&gt;#c92a2a&lt;/span&gt;; --hl: &lt;span style=&#34;color:#ae81ff&#34;&gt;#fff3bf&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;@&lt;span style=&#34;color:#66d9ef&#34;&gt;media&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;prefers-color-scheme&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;dark&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  :&lt;span style=&#34;color:#a6e22e&#34;&gt;root&lt;/span&gt; { --bg: &lt;span style=&#34;color:#ae81ff&#34;&gt;#121211&lt;/span&gt;; --panel: &lt;span style=&#34;color:#ae81ff&#34;&gt;#1b1b1a&lt;/span&gt;; --ink: &lt;span style=&#34;color:#ae81ff&#34;&gt;#ecebe6&lt;/span&gt;; --muted: &lt;span style=&#34;color:#ae81ff&#34;&gt;#9a978e&lt;/span&gt;; --line: &lt;span style=&#34;color:#ae81ff&#34;&gt;#2c2b29&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          --accent: &lt;span style=&#34;color:#ae81ff&#34;&gt;#ff7a3d&lt;/span&gt;; --accent-soft: &lt;span style=&#34;color:#ae81ff&#34;&gt;#3a2116&lt;/span&gt;; --good: &lt;span style=&#34;color:#ae81ff&#34;&gt;#51cf66&lt;/span&gt;; --bad: &lt;span style=&#34;color:#ae81ff&#34;&gt;#ff6b6b&lt;/span&gt;; --hl: &lt;span style=&#34;color:#ae81ff&#34;&gt;#5c4b00&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;*&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;box-sizing&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;border-box&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;body&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;margin&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;background&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;bg); &lt;span style=&#34;color:#66d9ef&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;ink&lt;/span&gt;); &lt;span style=&#34;color:#66d9ef&#34;&gt;font&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;14&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;1.55&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;apple-system, BlinkMacSystemFont, system-ui, &lt;span style=&#34;color:#66d9ef&#34;&gt;sans-serif&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;app&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;display&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;grid&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;grid-template-columns&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;260&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;fr; &lt;span style=&#34;color:#66d9ef&#34;&gt;min-height&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;100&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;vh&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;aside&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;border-right&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;solid&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;line); &lt;span style=&#34;color:#66d9ef&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;20&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;14&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;position&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;sticky&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;top&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;height&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;100&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;vh&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;overflow-y&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;auto&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;main&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;20&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;28&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;60&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;max-width&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;900&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;@&lt;span style=&#34;color:#66d9ef&#34;&gt;media&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;max-width&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;760px&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; { .&lt;span style=&#34;color:#a6e22e&#34;&gt;app&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;grid-template-columns&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;fr; } &lt;span style=&#34;color:#f92672&#34;&gt;aside&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;position&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;static&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;height&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;auto&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;border-right&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;border-bottom&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;solid&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;line); } &lt;span style=&#34;color:#f92672&#34;&gt;main&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;16&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; } }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;h1&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;font-size&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;18&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;margin&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;letter-spacing&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;-0.01&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;em&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;meta&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;muted); &lt;span style=&#34;color:#66d9ef&#34;&gt;font-size&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;12&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;status&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;background&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;panel); &lt;span style=&#34;color:#66d9ef&#34;&gt;border&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;solid&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;line); &lt;span style=&#34;color:#66d9ef&#34;&gt;border-radius&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;12&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;12&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;margin&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;14&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;status&lt;/span&gt; .&lt;span style=&#34;color:#a6e22e&#34;&gt;row&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;display&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;flex&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;justify-content&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;space-between&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;2&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;dot&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;display&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;inline-block&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;width&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;8&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;height&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;8&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;border-radius&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;50&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;%&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;margin-right&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;6&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;vertical-align&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;button&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;font&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;inherit&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;border&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;solid&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;line); &lt;span style=&#34;color:#66d9ef&#34;&gt;background&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;panel); &lt;span style=&#34;color:#66d9ef&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;ink&lt;/span&gt;); &lt;span style=&#34;color:#66d9ef&#34;&gt;border-radius&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;8&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;6&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;12&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;cursor&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;pointer&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;button&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;primary&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;background&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;accent); &lt;span style=&#34;color:#66d9ef&#34;&gt;border-color&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;accent); &lt;span style=&#34;color:#66d9ef&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;#fff&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;width&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;100&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;%&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;margin-top&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;8&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;button&lt;/span&gt;:&lt;span style=&#34;color:#a6e22e&#34;&gt;disabled&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;opacity&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;.6&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;cursor&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;default&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;input&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;type&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;search&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;width&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;100&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;%&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;font&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;inherit&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;8&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;10&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;border-radius&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;8&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;border&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;solid&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;line); &lt;span style=&#34;color:#66d9ef&#34;&gt;background&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;panel); &lt;span style=&#34;color:#66d9ef&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;ink&lt;/span&gt;); }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;days&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;list-style&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;none&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;margin&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;14&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;days&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;li&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;8&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;10&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;border-radius&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;8&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;cursor&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;pointer&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;display&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;flex&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;justify-content&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;space-between&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;days&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;li&lt;/span&gt;:&lt;span style=&#34;color:#a6e22e&#34;&gt;hover&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;background&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;panel); }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;days&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;li&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;sel&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;background&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;accent&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;soft&lt;/span&gt;); }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;days&lt;/span&gt; .&lt;span style=&#34;color:#a6e22e&#34;&gt;d&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;font-weight&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;500&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;entry&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;background&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;panel); &lt;span style=&#34;color:#66d9ef&#34;&gt;border&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;solid&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;line); &lt;span style=&#34;color:#66d9ef&#34;&gt;border-radius&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;12&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;14&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;16&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;margin-bottom&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;10&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;entry&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;header&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;display&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;flex&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;align-items&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;center&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;gap&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;10&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;margin-bottom&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;6&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;entry&lt;/span&gt; .&lt;span style=&#34;color:#a6e22e&#34;&gt;t&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;font-weight&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;600&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;font-variant-numeric&lt;/span&gt;: tabular-nums; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;entry&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;audio&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;height&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;30&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;margin-left&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;auto&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;max-width&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;260&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;entry&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;p&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;margin&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;white-space&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;pre-wrap&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;mark&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;background&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;hl); &lt;span style=&#34;color:#66d9ef&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;inherit&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;border-radius&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;3&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;empty&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;color&lt;/span&gt;: &lt;span style=&#34;color:#a6e22e&#34;&gt;var&lt;/span&gt;(&lt;span style=&#34;color:#f92672&#34;&gt;--&lt;/span&gt;muted); &lt;span style=&#34;color:#66d9ef&#34;&gt;padding&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;40&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;text-align&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;center&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;h2&lt;/span&gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;font-size&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;16&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;margin&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;14&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;px&lt;/span&gt;; }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;style&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;head&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;body&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;div&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;class&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;app&amp;#34;&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;aside&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;h1&lt;/span&gt;&amp;gt;Pendant&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;h1&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;div&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;class&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;meta&amp;#34;&lt;/span&gt;&amp;gt;Transcripts synced from your Limitless Pendant&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;div&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;div&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;class&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;status&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;id&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;status&amp;#34;&lt;/span&gt;&amp;gt;Loading…&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;div&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;input&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;type&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;search&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;id&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;q&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;placeholder&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Search all transcripts&amp;#34;&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;ul&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;class&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;days&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;id&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;days&amp;#34;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;ul&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;aside&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;main&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;id&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;main&amp;#34;&lt;/span&gt;&amp;gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;div&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;class&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;empty&amp;#34;&lt;/span&gt;&amp;gt;Loading…&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;div&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;main&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;div&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;script&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;$&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt; =&amp;gt; document.&lt;span style=&#34;color:#a6e22e&#34;&gt;querySelector&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;esc&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt; =&amp;gt; String(&lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;??&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;replace&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;/[&amp;amp;&amp;lt;&amp;gt;&amp;#34;]/g&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;c&lt;/span&gt; =&amp;gt; ({&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;amp;&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;amp;amp;&amp;#39;&lt;/span&gt;,&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;lt;&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;amp;lt;&amp;#39;&lt;/span&gt;,&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;gt;&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;amp;gt;&amp;#39;&lt;/span&gt;,&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#34;&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;amp;quot;&amp;#39;&lt;/span&gt;}[&lt;span style=&#34;color:#a6e22e&#34;&gt;c&lt;/span&gt;]));
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;mins&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt; =&amp;gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;60&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;`&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;Math.&lt;span style=&#34;color:#a6e22e&#34;&gt;round&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;60&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; min`&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;`&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;s`&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;ago&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;iso&lt;/span&gt; =&amp;gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; (&lt;span style=&#34;color:#f92672&#34;&gt;!&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;iso&lt;/span&gt;) &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;never&amp;#39;&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; (Date.&lt;span style=&#34;color:#a6e22e&#34;&gt;now&lt;/span&gt;() &lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;new&lt;/span&gt; Date(&lt;span style=&#34;color:#a6e22e&#34;&gt;iso&lt;/span&gt;)) &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1000&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;60&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;just now&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;3600&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;`&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;Math.&lt;span style=&#34;color:#a6e22e&#34;&gt;floor&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;60&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; min ago`&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;86400&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;`&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;3600&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;toFixed&lt;/span&gt;(&lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; h ago`&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;`&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;Math.&lt;span style=&#34;color:#a6e22e&#34;&gt;floor&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;s&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;86400&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; d ago`&lt;/span&gt;; };
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;fmtDay&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;d&lt;/span&gt; =&amp;gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;new&lt;/span&gt; Date(&lt;span style=&#34;color:#a6e22e&#34;&gt;d&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;+&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;T12:00&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;toLocaleDateString&lt;/span&gt;(&lt;span style=&#34;color:#66d9ef&#34;&gt;undefined&lt;/span&gt;, {&lt;span style=&#34;color:#a6e22e&#34;&gt;weekday&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;short&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;month&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;short&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;numeric&amp;#39;&lt;/span&gt;});
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;selected&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;null&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;async&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;function&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;loadStatus&lt;/span&gt;() {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;st&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;await&lt;/span&gt; (&lt;span style=&#34;color:#66d9ef&#34;&gt;await&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;fetch&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;/api/status&amp;#39;&lt;/span&gt;)).&lt;span style=&#34;color:#a6e22e&#34;&gt;json&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;ok&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;st&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;connected&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;!&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;st&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;last_error&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;$&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;#status&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;innerHTML&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;`
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;    &amp;lt;div class=&amp;#34;row&amp;#34;&amp;gt;&amp;lt;span&amp;gt;&amp;lt;span class=&amp;#34;dot&amp;#34; style=&amp;#34;background:var(&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;ok&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;--good&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;--bad&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;)&amp;#34;&amp;gt;&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;ok&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;In range&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;Not reachable&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;st&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;battery&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;!=&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;null&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;🔋 &amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;+&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;st&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;battery&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;+&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;%&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;    &amp;lt;div class=&amp;#34;row meta&amp;#34;&amp;gt;&amp;lt;span&amp;gt;Last sync&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;ago&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;st&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;last_success&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;    &amp;lt;div class=&amp;#34;row meta&amp;#34;&amp;gt;&amp;lt;span&amp;gt;Last attempt&amp;lt;/span&amp;gt;&amp;lt;span&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;ago&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;st&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;last_attempt&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;    &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;st&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;last_error&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;`&amp;lt;div class=&amp;#34;meta&amp;#34; style=&amp;#34;margin-top:4px&amp;#34;&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;esc&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;st&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;last_error&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;/div&amp;gt;`&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;    &amp;lt;button class=&amp;#34;primary&amp;#34; id=&amp;#34;sync&amp;#34; &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;st&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;syncing&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;disabled&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;st&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;syncing&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;Syncing…&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;Sync now&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;/button&amp;gt;`&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;$&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;#sync&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;onclick&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;async&lt;/span&gt; () =&amp;gt; { &lt;span style=&#34;color:#66d9ef&#34;&gt;await&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;fetch&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;/api/sync&amp;#39;&lt;/span&gt;, {&lt;span style=&#34;color:#a6e22e&#34;&gt;method&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;POST&amp;#39;&lt;/span&gt;}); &lt;span style=&#34;color:#a6e22e&#34;&gt;loadStatus&lt;/span&gt;(); };
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;async&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;function&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;loadDays&lt;/span&gt;() {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;ds&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;await&lt;/span&gt; (&lt;span style=&#34;color:#66d9ef&#34;&gt;await&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;fetch&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;/api/days&amp;#39;&lt;/span&gt;)).&lt;span style=&#34;color:#a6e22e&#34;&gt;json&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;$&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;#days&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;innerHTML&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;ds&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;map&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;d&lt;/span&gt; =&amp;gt; &lt;span style=&#34;color:#e6db74&#34;&gt;`&amp;lt;li data-day=&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;d&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34; class=&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;d&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;===&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;selected&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;sel&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;gt;&amp;lt;span class=&amp;#34;d&amp;#34;&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;fmtDay&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;d&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;#34;meta&amp;#34;&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;d&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;count&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; · &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;mins&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;d&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;seconds&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;/span&amp;gt;&amp;lt;/li&amp;gt;`&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;join&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt;)
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;||&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;lt;li class=&amp;#34;meta&amp;#34;&amp;gt;No transcripts yet&amp;lt;/li&amp;gt;&amp;#39;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  document.&lt;span style=&#34;color:#a6e22e&#34;&gt;querySelectorAll&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;#days li[data-day]&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;forEach&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;li&lt;/span&gt; =&amp;gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;li&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;onclick&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; () =&amp;gt; { &lt;span style=&#34;color:#a6e22e&#34;&gt;$&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;#q&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;value&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt;; &lt;span style=&#34;color:#a6e22e&#34;&gt;showDay&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;li&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;dataset&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt;); });
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; (&lt;span style=&#34;color:#f92672&#34;&gt;!&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;selected&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;ds&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;length&lt;/span&gt;) &lt;span style=&#34;color:#a6e22e&#34;&gt;showDay&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;ds&lt;/span&gt;[&lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;].&lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; (&lt;span style=&#34;color:#f92672&#34;&gt;!&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;ds&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;length&lt;/span&gt;) &lt;span style=&#34;color:#a6e22e&#34;&gt;$&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;#main&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;innerHTML&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;lt;div class=&amp;#34;empty&amp;#34;&amp;gt;No transcripts yet. Talk near the Pendant, then press Sync now.&amp;lt;/div&amp;gt;&amp;#39;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;function&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;entryHtml&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;q&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;showDay&lt;/span&gt;) {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;text&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;esc&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;text&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; (&lt;span style=&#34;color:#a6e22e&#34;&gt;q&lt;/span&gt;) &lt;span style=&#34;color:#a6e22e&#34;&gt;text&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;text&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;replace&lt;/span&gt;(&lt;span style=&#34;color:#66d9ef&#34;&gt;new&lt;/span&gt; RegExp(&lt;span style=&#34;color:#a6e22e&#34;&gt;q&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;replace&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;/[.*+?^${}()|[\]\\]/g&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;\\$&amp;amp;&amp;#39;&lt;/span&gt;), &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;gi&amp;#39;&lt;/span&gt;), &lt;span style=&#34;color:#a6e22e&#34;&gt;m&lt;/span&gt; =&amp;gt; &lt;span style=&#34;color:#e6db74&#34;&gt;`&amp;lt;mark&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;m&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;/mark&amp;gt;`&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;`&amp;lt;div class=&amp;#34;entry&amp;#34;&amp;gt;&amp;lt;header&amp;gt;&amp;lt;span class=&amp;#34;t&amp;#34;&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;showDay&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;fmtDay&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt;) &lt;span style=&#34;color:#f92672&#34;&gt;+&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39; · &amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;time&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;#34;meta&amp;#34;&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;mins&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;seconds&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;/span&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;    &amp;lt;audio controls preload=&amp;#34;none&amp;#34; src=&amp;#34;/audio/&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;encodeURI(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;audio&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;replace&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;/^data\//&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;data/&amp;#39;&lt;/span&gt;))&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;gt;&amp;lt;/audio&amp;gt;&amp;lt;/header&amp;gt;&amp;lt;p&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;text&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;`&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;async&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;function&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;showDay&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt;) {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;selected&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  document.&lt;span style=&#34;color:#a6e22e&#34;&gt;querySelectorAll&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;#days li&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;forEach&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;li&lt;/span&gt; =&amp;gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;li&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;classList&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;toggle&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;sel&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;li&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;dataset&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;===&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt;));
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;es&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;await&lt;/span&gt; (&lt;span style=&#34;color:#66d9ef&#34;&gt;await&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;fetch&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;/api/day/&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;+&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt;)).&lt;span style=&#34;color:#a6e22e&#34;&gt;json&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;$&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;#main&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;innerHTML&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;`&amp;lt;h2&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;new&lt;/span&gt; Date(&lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;+&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;T12:00&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;toLocaleDateString&lt;/span&gt;(&lt;span style=&#34;color:#66d9ef&#34;&gt;undefined&lt;/span&gt;, {&lt;span style=&#34;color:#a6e22e&#34;&gt;weekday&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;long&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;month&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;long&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;day&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;numeric&amp;#39;&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;year&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;numeric&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;)}&amp;lt;/h2&amp;gt;`&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;+&lt;/span&gt; (&lt;span style=&#34;color:#a6e22e&#34;&gt;es&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;length&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;es&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;slice&lt;/span&gt;().&lt;span style=&#34;color:#a6e22e&#34;&gt;reverse&lt;/span&gt;().&lt;span style=&#34;color:#a6e22e&#34;&gt;map&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt; =&amp;gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;entryHtml&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;)).&lt;span style=&#34;color:#a6e22e&#34;&gt;join&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt;) &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;lt;div class=&amp;#34;empty&amp;#34;&amp;gt;Nothing this day.&amp;lt;/div&amp;gt;&amp;#39;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;let&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;t&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;$&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;#q&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;oninput&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; () =&amp;gt; { &lt;span style=&#34;color:#a6e22e&#34;&gt;clearTimeout&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;t&lt;/span&gt;); &lt;span style=&#34;color:#a6e22e&#34;&gt;t&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;setTimeout&lt;/span&gt;(&lt;span style=&#34;color:#66d9ef&#34;&gt;async&lt;/span&gt; () =&amp;gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;q&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;$&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;#q&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;value&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;trim&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; (&lt;span style=&#34;color:#f92672&#34;&gt;!&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;q&lt;/span&gt;) &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;selected&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;showDay&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;selected&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;hits&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;await&lt;/span&gt; (&lt;span style=&#34;color:#66d9ef&#34;&gt;await&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;fetch&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;/api/search?q=&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;+&lt;/span&gt; encodeURIComponent(&lt;span style=&#34;color:#a6e22e&#34;&gt;q&lt;/span&gt;))).&lt;span style=&#34;color:#a6e22e&#34;&gt;json&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;$&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;#main&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;innerHTML&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;`&amp;lt;h2&amp;gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;hits&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;length&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; result&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;hits&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;length&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;===&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;?&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;s&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; for “&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;esc&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;q&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;”&amp;lt;/h2&amp;gt;`&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;+&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;hits&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;map&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt; =&amp;gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;entryHtml&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;q&lt;/span&gt;, &lt;span style=&#34;color:#66d9ef&#34;&gt;true&lt;/span&gt;)).&lt;span style=&#34;color:#a6e22e&#34;&gt;join&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}, &lt;span style=&#34;color:#ae81ff&#34;&gt;250&lt;/span&gt;); };
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;loadStatus&lt;/span&gt;(); &lt;span style=&#34;color:#a6e22e&#34;&gt;loadDays&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;setInterval&lt;/span&gt;(() =&amp;gt; { &lt;span style=&#34;color:#a6e22e&#34;&gt;loadStatus&lt;/span&gt;(); &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; (&lt;span style=&#34;color:#f92672&#34;&gt;!&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;$&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;#q&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;value&lt;/span&gt;) &lt;span style=&#34;color:#a6e22e&#34;&gt;loadDays&lt;/span&gt;(); }, &lt;span style=&#34;color:#ae81ff&#34;&gt;15000&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;script&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;body&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;html&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/details&gt;
&lt;h2 id=&#34;what-i-made-of-it&#34;&gt;What I made of it&lt;/h2&gt;
&lt;p&gt;The surprising part wasn&amp;rsquo;t the Bluetooth. It was &lt;strong&gt;how much of this was already solved by strangers on GitHub&lt;/strong&gt;. Someone had reverse-engineered the protocol from the official app. Someone else had hit the same macOS quirks and written them down. Omi had built a whole drain engine for a device they don&amp;rsquo;t even sell. My job was mostly to put the pieces together and get past the one-pairing-at-a-time wall.&lt;/p&gt;
&lt;p&gt;The other lesson: &lt;strong&gt;when a gadget company dies, the hardware usually doesn&amp;rsquo;t have to.&lt;/strong&gt; The mic, battery and storage were never the problem. If you have a Pendant in a drawer, it can still be useful.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;practical-notes&#34;&gt;Practical notes&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Firmware:&lt;/strong&gt; everything here is tested on Pendant firmware &lt;strong&gt;1.1.20&lt;/strong&gt;. Don&amp;rsquo;t update through the Limitless app; Omi also warns that newer firmware may break compatibility.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Whisper model:&lt;/strong&gt; &lt;code&gt;ggml-large-v3-turbo.bin&lt;/code&gt; with whisper.cpp 1.9.1. If you&amp;rsquo;re on an older Intel Mac, &lt;code&gt;ggml-small.en.bin&lt;/code&gt; is a lighter option.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Range:&lt;/strong&gt; syncing only happens near the Mac. If you want it on the go, the Bluetooth part has to stay near the Pendant (a phone or a Raspberry Pi at home). Transcription could move to a server.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Consent:&lt;/strong&gt; this is an always-on microphone. I use it for my own rambling at home. If you wear it around people, tell them.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Costs:&lt;/strong&gt; $0 ongoing. Whisper runs locally, nothing is cloud-hosted, and there&amp;rsquo;s no subscription.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Show and tell at NYU, and meeting Daniel Shiffman</title>
      <link>https://aldrinjenson.com/highlights/processing-community-day-nyu/</link>
      <pubDate>Sat, 03 Oct 2026 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/highlights/processing-community-day-nyu/</guid>
      <description>&lt;p&gt;In October 2026 I went to &lt;strong&gt;&lt;a href=&#34;https://www.pcd2026.nyc/&#34;&gt;Processing Community Day&lt;/a&gt;&lt;/strong&gt; at NYU&amp;rsquo;s ITP (Interactive Telecommunications Program) in Brooklyn. It&amp;rsquo;s a day of talks, workshops and demos from the creative-coding community around Processing and p5.js.&lt;/p&gt;
&lt;img src=&#34;https://aldrinjenson.com/images/pcd-2026/with-daniel-shiffman.jpg&#34; width=700 alt=&#34;Aldrin and Daniel Shiffman smiling and waving in a selfie in the ITP auditorium&#34;&gt;
&lt;p&gt;&lt;em&gt;With Daniel Shiffman at ITP.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I spent the afternoon walking around the exhibitions, where people were showing interactive pieces built with code. One was a mirror made of small wooden tiles that tilt to follow whoever stands in front of it.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/pcd-2026/wooden-mirror.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;A mirror of wooden tiles reacting to a hand.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The exhibition hall had a whole row of these: laptops and screens running people&amp;rsquo;s sketches and projects, each with a little label next to it about the work.&lt;/p&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/pcd-2026/exhibition-hall.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Walking through the exhibitions.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id=&#34;meeting-daniel-shiffman&#34;&gt;Meeting Daniel Shiffman&lt;/h2&gt;
&lt;p&gt;A lot of what I know about creative coding I learned from &lt;strong&gt;Daniel Shiffman&lt;/strong&gt;. He runs &lt;a href=&#34;https://thecodingtrain.com/&#34;&gt;The Coding Train&lt;/a&gt; on YouTube, wrote &lt;a href=&#34;https://natureofcode.com/&#34;&gt;&lt;em&gt;The Nature of Code&lt;/em&gt;&lt;/a&gt;, and teaches at ITP. I used to watch his videos a lot when I was younger. When I met him, I told him it was great to finally see him in person, because I never expected to get to meet him and take a photo with him. He thanked me and was really warm about it, and he gave me some of his Coding Train stickers (the little choo-choo train).&lt;/p&gt;
&lt;p&gt;I met him around the &lt;strong&gt;Intro to Open Source&lt;/strong&gt; talk in the auditorium.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/pcd-2026/intro-to-open-source.jpg&#34; width=700 alt=&#34;A speaker in the ITP auditorium in front of a slide titled What will we talk about?&#34;&gt;
&lt;p&gt;&lt;em&gt;Intro to Open Source in the auditorium.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;When we talked, he suggested I try building &lt;strong&gt;boids&lt;/strong&gt;: Craig Reynolds&amp;rsquo; flocking simulation, where each bird follows three simple rules (stay apart, line up, stay together), and a whole flock emerges from that.&lt;/p&gt;
&lt;h2 id=&#34;my-show-and-tell&#34;&gt;My show and tell&lt;/h2&gt;
&lt;p&gt;In the evening there was an &lt;strong&gt;Open Projector&lt;/strong&gt; slot, where anyone could plug in their laptop and show something. So I got up and showed some of the things I&amp;rsquo;ve built:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Flappy Bird that learns to play itself&lt;/strong&gt;, built with &lt;a href=&#34;https://ml5js.org/&#34;&gt;ml5.js&lt;/a&gt;, a project I&amp;rsquo;d shared on Twitter a while back&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/aldrinjenson/fashion-agent&#34;&gt;Sophie&lt;/a&gt;&lt;/strong&gt;, a voice-based shopping assistant that helps you explore and pick clothes&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A smart voice dictation assistant&lt;/strong&gt; that understands what you mean, not just what you say&lt;/li&gt;
&lt;/ul&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/pcd-2026/open-projector.jpg&#34; width=700 alt=&#34;Aldrin smiling at the lectern in the ITP auditorium with code on the big screen behind him&#34;&gt;
&lt;p&gt;&lt;em&gt;Presenting at Open Projector.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;My message to the room was simple: with LLMs, you can now build things that just weren&amp;rsquo;t possible for one person to build before. It was a good crowd, and it went well.&lt;/p&gt;
&lt;h2 id=&#34;building-boids-the-same-day&#34;&gt;Building boids the same day&lt;/h2&gt;
&lt;p&gt;I didn&amp;rsquo;t want to wait to try Shiffman&amp;rsquo;s suggestion, so I built it right there at the event with Claude Code, and then kept going:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://aldrinjenson.github.io/sketches/boids/&#34;&gt;Boids&lt;/a&gt;&lt;/strong&gt;: the flocking simulation, with sliders for each rule. You can click to add birds, or place obstacles they steer around.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://aldrinjenson.github.io/sketches/boids-3d/&#34;&gt;Boids 3D&lt;/a&gt;&lt;/strong&gt;: the same flock inside a 3D box you can rotate.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://aldrinjenson.github.io/sketches/rotating-circles/&#34;&gt;Rotating Circles&lt;/a&gt;&lt;/strong&gt;: three rotating circles joined by lines, which weave into string-art patterns as you change their speeds.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;video preload=&#34;metadata&#34; controls playsinline width=450 src=&#34;https://aldrinjenson.com/images/pcd-2026/boids-in-the-auditorium.mp4&#34;&gt;&lt;/video&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Boids running on my laptop in the auditorium.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;All three went into my &lt;a href=&#34;https://aldrinjenson.github.io/sketches/&#34;&gt;sketches gallery&lt;/a&gt; that night, the first new sketches there since 2023.&lt;/p&gt;
&lt;p&gt;The day ended with live performances, including a cellist playing next to visuals on the big screen.&lt;/p&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/pcd-2026/evening-performance.jpg&#34; width=700 alt=&#34;A cellist and a musician performing in front of a large green projected screen&#34;&gt;
&lt;p&gt;&lt;em&gt;Evening performances to close the day.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;It felt like a loop closing. I learned creative coding from Shiffman&amp;rsquo;s videos years ago, and now I got to show my own work in his building and build something he suggested.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>That time my college put me on its homepage</title>
      <link>https://aldrinjenson.com/highlights/o1-visa/</link>
      <pubDate>Thu, 09 Jul 2026 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/highlights/o1-visa/</guid>
      <description>&lt;p&gt;In May 2026 I was approved for an O-1 visa. It&amp;rsquo;s the US visa for people with &amp;ldquo;extraordinary ability&amp;rdquo;, which is a very grand name for something that mostly involved me collecting documents for months.&lt;/p&gt;
&lt;p&gt;The fun part came a few weeks later. Someone from my college, Model Engineering College in Kochi, asked if they could share the news, and the poster they made ended up as the very first thing on the college website, Statue of Liberty, American flag and all.&lt;/p&gt;
&lt;center&gt;
  &lt;img src=&#34;https://aldrinjenson.com/images/o1/mec-homepage.jpg&#34; width=&#34;700&#34; alt=&#34;The mec.ac.in homepage with a congratulations banner for Aldrin Jenson&#39;s O-1 visa&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;mec.ac.in, July 9, 2026. Slide 1 of 18.&lt;/p&gt;
&lt;/center&gt;
&lt;p&gt;After that, teachers and students I had never met started sending me congratulations, and the alumni cell even did an &lt;a href=&#34;https://www.linkedin.com/feed/update/urn:li:share:7484601967688974337/&#34;&gt;Alumni Spotlight&lt;/a&gt; on LinkedIn. It was really kind, and honestly a little hard to know how to respond. I&amp;rsquo;ve always been more comfortable keeping things quiet than taking credit. My mom said it was good that it was out there, because it might make some kid at MEC think they could do it too. I hope she&amp;rsquo;s right.&lt;/p&gt;
&lt;p&gt;Big thanks to everyone at Athena, my lawyers, and the people who took the time to write letters for me.&lt;/p&gt;
&lt;p&gt;And in case anyone thinks I made this up, here&amp;rsquo;s an &lt;a href=&#34;http://web.archive.org/web/20260709091022/https://www.mec.ac.in/&#34;&gt;archived copy of the college homepage from that day&lt;/a&gt;.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>A day at IBM in New York</title>
      <link>https://aldrinjenson.com/posts/ibm-customer-advisory-board-nyc/</link>
      <pubDate>Tue, 31 Mar 2026 18:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/posts/ibm-customer-advisory-board-nyc/</guid>
      <description>&lt;center&gt;
  &lt;image src=&#34;https://aldrinjenson.com/images/ibm-cab/cab-sign-full.jpg&#34; alt=&#34;Outside IBM HQ in NYC&#34;/&gt;
  &lt;p class=&#39;caption&#39;&gt;IBM HQ, NYC — March 31, 2026&lt;/p&gt;
&lt;/center&gt;
&lt;h2 id=&#34;a-small-note-before-i-begin&#34;&gt;A small note before I begin&lt;/h2&gt;
&lt;p&gt;This is a personal reflection, not a recap. I&amp;rsquo;m deliberately not writing about the sessions, the content, or the specifics of what was discussed — those belong to their owners, not to me. Think of this as a journal entry from a day that meant something, not a newsletter about the day&amp;rsquo;s substance.&lt;/p&gt;
&lt;h2 id=&#34;how-i-got-here&#34;&gt;How I got here&lt;/h2&gt;
&lt;p&gt;About two years ago I was a fresh graduate from Model Engineering College in Kerala, writing far too many late-night side projects, organizing hackathons with my friends, and giving FOSS talks in college auditoriums. The company I work at now, &lt;a href=&#34;https://athenaintelligence.ai/&#34;&gt;Athena Intelligence&lt;/a&gt;, didn&amp;rsquo;t really exist for me yet. The skyline of New York existed only in YouTube vlogs.&lt;/p&gt;
&lt;p&gt;On March 31st, I spent the day at IBM in New York representing Athena. It&amp;rsquo;s hard to express how far that sentence would&amp;rsquo;ve been from plausible, even two years ago.&lt;/p&gt;
&lt;p&gt;The building is at &lt;a href=&#34;https://www.onemadison.com/&#34;&gt;One Madison Avenue&lt;/a&gt; — the Flatiron district, right across from the old Met Life Clocktower. The lobby is all polished stone and sharp angles; the elevators are so quiet they feel architectural. I went up the escalator to the 10th floor with a visitor badge clipped to my jacket, took the turn they told me to take, and suddenly I was in a room with twenty-something enterprise leaders.&lt;/p&gt;
&lt;p&gt;I was genuinely nervous.&lt;/p&gt;
&lt;h2 id=&#34;the-moleskine-moment&#34;&gt;The Moleskine moment&lt;/h2&gt;
&lt;p&gt;I arrived early. Found my name on the table. Sat down. Briefly stared.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Aldrin Jenson · Athena Intelligence.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I wasn&amp;rsquo;t prepared to be affected by something as small as seeing my name on a printed placeholder. But I was. For a few seconds it felt strangely weighty — &lt;em&gt;this is the job, this is the life, you are the person holding this seat today, whether or not the voice in your head agrees.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I didn&amp;rsquo;t say anything. I just breathed and opened the Moleskine they&amp;rsquo;d left at each seat.&lt;/p&gt;
&lt;p&gt;I took more notes that day than I did in all of my final year of college combined. Not necessarily because the content was transformative — I can&amp;rsquo;t talk about that anyway — but because the writing itself was a way to stay present. Every time the imposter voice showed up, I just wrote another line. The Moleskine was armour.&lt;/p&gt;
&lt;h2 id=&#34;what-i-was-thinking-about&#34;&gt;What I was thinking about&lt;/h2&gt;
&lt;p&gt;In quiet moments between conversations, I kept coming back to the same question I&amp;rsquo;ve been sitting with at &lt;a href=&#34;https://athenaintelligence.ai/&#34;&gt;Athena&lt;/a&gt; for a while now: &lt;em&gt;what do enterprises actually want from AI right now?&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;My honest answer, from what I see every day in our customer conversations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;They don&amp;rsquo;t want more tooling.&lt;/strong&gt; They want fewer surfaces that do more. The CTO who gave me the clearest articulation of this at Athena said: &lt;em&gt;&amp;ldquo;I have ten AI vendors. I don&amp;rsquo;t need an eleventh. I need one of them to actually work.&amp;rdquo;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;They don&amp;rsquo;t want to be wowed.&lt;/strong&gt; They want to be de-risked. The promise of generative AI for three years has been &amp;ldquo;look at this amazing demo.&amp;rdquo; The promise enterprises actually care about is &lt;em&gt;&amp;ldquo;this will not break, and when it does, you can see why.&amp;rdquo;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;They don&amp;rsquo;t want autonomy.&lt;/strong&gt; They want accountability. Autonomy without accountability is a liability. The interesting design problem is giving agents real latitude while keeping the audit trail a human can actually reason about.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;None of this is radical. It&amp;rsquo;s just the stuff I see every week. It was interesting to sit in a room where versions of the same questions were being asked at much bigger scale than Athena&amp;rsquo;s customer base.&lt;/p&gt;
&lt;h2 id=&#34;talking-about-athena&#34;&gt;Talking about Athena&lt;/h2&gt;
&lt;p&gt;I didn&amp;rsquo;t do a live demo, but I got to talk about what we&amp;rsquo;re building in several smaller conversations. The piece I came back to most often was our &lt;strong&gt;spreadsheet agent&lt;/strong&gt; — the part of &lt;a href=&#34;https://athenaintelligence.ai/&#34;&gt;Athena&lt;/a&gt; that writes real formulas, respects existing formatting, and produces multiple document artifacts from a single input.&lt;/p&gt;
&lt;p&gt;The shape that seemed to land in every conversation:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Describe what you need in one place. Let the agent produce the five artifacts downstream.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;That framing is the whole bet, in a sentence. Instead of humans producing a spreadsheet → humans producing a slide → humans producing a memo → humans reconciling all three, the humans describe the intent once and the agent emits the consistent set of downstream outputs. It sounds small. It isn&amp;rsquo;t. Ask any CFO team how much time they spend reconciling four versions of the same number.&lt;/p&gt;
&lt;p&gt;I also mentioned our &lt;a href=&#34;https://twitter.com/BrendonGeils/status/1886253538663387550&#34;&gt;multi-agent analyst system&lt;/a&gt; — coordinated LLM-based agents working in parallel on analytical workflows around the clock. That&amp;rsquo;s the product I&amp;rsquo;ve spent most of the past year on. It&amp;rsquo;s public, it&amp;rsquo;s been demoed on Twitter, and it&amp;rsquo;s been publicly endorsed by &lt;a href=&#34;https://assistant-ui.com/&#34;&gt;AssistantUI&lt;/a&gt; — but saying it to someone face-to-face in a room like that one has a different quality than posting about it.&lt;/p&gt;
&lt;p&gt;I had the quiet thought: &lt;em&gt;the product you made. The product other companies are paying for. You are the one representing it today.&lt;/em&gt; That&amp;rsquo;s a small sentence that takes years to earn the right to think about yourself.&lt;/p&gt;
&lt;h2 id=&#34;going-solo&#34;&gt;Going solo&lt;/h2&gt;
&lt;p&gt;The most unexpected thing wasn&amp;rsquo;t the content — it was the feeling. Walking in alone, as the only Athena person in the room. Realizing for one full day that &amp;ldquo;the company&amp;rdquo; in the room was me.&lt;/p&gt;
&lt;p&gt;A few times, someone asked me a question I couldn&amp;rsquo;t answer. I said:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;&amp;ldquo;I don&amp;rsquo;t know — let me find out and get back to you.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Which, it turns out, is what everyone in a room like that also says, just with more gray hair and more practice saying it without flinching.&lt;/p&gt;
&lt;p&gt;I think the biggest internal shift for me during the day wasn&amp;rsquo;t about IBM, or Athena, or the market. It was noticing that the difference between me in that room and the more senior people around me was almost entirely &lt;strong&gt;composure&lt;/strong&gt; — not capability. Capability they had, but so did I (for the things in my lane). What they had more of was the &lt;em&gt;willingness to not pretend&lt;/em&gt;. To say &amp;ldquo;I don&amp;rsquo;t know&amp;rdquo; without panicking. To ask a dumb-sounding question that turned out to be the exact right one.&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s the real senior move, I think. Not knowing more. Being okay with not knowing.&lt;/p&gt;
&lt;center&gt;
  &lt;image src=&#34;https://aldrinjenson.com/images/ibm-cab/cab-sign-selfie.jpg&#34; alt=&#34;Quiet selfie in the IBM lobby&#34;/&gt;
  &lt;p class=&#39;caption&#39;&gt;Small quiet moment of &#34;okay, this is actually happening.&#34;&lt;/p&gt;
&lt;/center&gt;
&lt;h2 id=&#34;meeting-chad&#34;&gt;Meeting Chad&lt;/h2&gt;
&lt;center&gt;
  &lt;image src=&#34;https://aldrinjenson.com/images/ibm-cab/cab-with-chad.jpg&#34; alt=&#34;With Chad Jennings&#34;/&gt;
  &lt;p class=&#39;caption&#39;&gt;With Chad Jennings — warm, generous, and very good at making a first-timer feel less like a first-timer.&lt;/p&gt;
&lt;/center&gt;
&lt;p&gt;One of the quiet highlights of the day was finally meeting &lt;strong&gt;Chad Jennings&lt;/strong&gt; in person. Chad was generous with his time, thoughtful in his questions, and made it easy for me to stop being nervous. I don&amp;rsquo;t remember much of what I &lt;em&gt;said&lt;/em&gt; in those few minutes, but I remember the feeling of &lt;em&gt;being listened to carefully by someone who didn&amp;rsquo;t need to&lt;/em&gt;. That&amp;rsquo;s a small thing and also a large thing.&lt;/p&gt;
&lt;h2 id=&#34;the-walk-home&#34;&gt;The walk home&lt;/h2&gt;
&lt;p&gt;We ended the day with a team dinner at the &lt;a href=&#34;https://www.theclocktowernyc.com/&#34;&gt;Clocktower&lt;/a&gt; — a beautiful restaurant inside the old Met Life tower, right across from the IBM building. I watched the sun set over Madison Square Park, listened to conversations about markets and models and mortgages in no particular order, and quietly realized I wasn&amp;rsquo;t as nervous as I&amp;rsquo;d been in the morning.&lt;/p&gt;
&lt;p&gt;The walk back to my apartment afterwards was slow. NYC in early April is cold enough to notice but mild enough that you don&amp;rsquo;t mind walking. I had the kind of quiet that comes after something you were dreading turned out to be good.&lt;/p&gt;
&lt;h2 id=&#34;afterthoughts&#34;&gt;Afterthoughts&lt;/h2&gt;
&lt;p&gt;A few things I was sitting with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Showing up is most of it.&lt;/strong&gt; I nearly let imposter anxiety talk me out of being fully present. I&amp;rsquo;m glad I didn&amp;rsquo;t. You learn more in one day of being in a room than in six months of reading about what happens in the room.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;My job is a privilege.&lt;/strong&gt; Not every early-career engineer gets to represent a company at a place like this. I want to remember that instead of only the stress of it. There&amp;rsquo;s a version of me from two years ago who would&amp;rsquo;ve given anything to sit in that chair, and I owe him the gratitude.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Capability is the floor; composure is the ceiling.&lt;/strong&gt; Technical skill gets you in the room. What gets you &lt;em&gt;useful&lt;/em&gt; in the room is the willingness to be honest about what you don&amp;rsquo;t know and keep listening anyway.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Gratitude to IBM&lt;/strong&gt; for the generous welcome — and to &lt;a href=&#34;https://x.com/BrendonGeils&#34;&gt;Brendon&lt;/a&gt; and the rest of the Athena team for the trust. It matters more than I&amp;rsquo;d say out loud.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;That&amp;rsquo;s the post. No hot takes, no listicle of insights. Just a good day in New York I wanted to remember.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>My Bio (Deprecated 2021 Version)</title>
      <link>https://aldrinjenson.com/posts/deprecated-2021-bio/</link>
      <pubDate>Sat, 17 May 2025 19:19:16 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/deprecated-2021-bio/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;This is my old bio from 2021, preserved for archival purposes. For my current information, please see the &lt;a href=&#34;https://aldrinjenson.com/&#34;&gt;homepage&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;center&gt;
  &lt;img src=&#39;https://aldrinjenson.com/images/me.webp&#39; width=&#34;60%&#34; height=&#34;auto&#34; alt=&#39;my old photo&#39;&gt;
  &lt;p class=&#39;caption&#39;&gt;An old photo of mine before I started wearing specs&lt;/p&gt;
&lt;/center&gt;
&lt;p&gt;My name is Aldrin Jenson. I&amp;rsquo;m currently a final year student pursuing my Bachelor&amp;rsquo;s degree in Computer Science Engineering from Govt. Model Engineering College Kochi, Kerala.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve been fascinated by computers from a really young age and love tinkering with various softwares and hacks.&lt;/p&gt;
&lt;p&gt;I consider myself good at programming and I&amp;rsquo;m really passionate about developing software. Tech stack doesn&amp;rsquo;t matter much to my anymore. Most of the projects I now work on is with the language or framework most easy to do the task at hand, or using a language I want to explore more.
With the amount of information available on the internet, given enough time I believe that we can solve any problem.&lt;/p&gt;
&lt;p&gt;Other than tinkering with Computers, I also love playing guitar and going out with close friends.&lt;/p&gt;
&lt;center&gt;
&lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; width=&#34;100%&#34; src=&#34;https://aldrinjenson.com/images/group.jpg&#34; height=&#34;auto&#34; alt=&#34;me in group photo&#34;&gt;
&lt;p class=&#34;caption&#34;&gt;Pranav, Nikita, Nayana and me during our first Bangalore trip&lt;/p&gt;
&lt;/center&gt;
&lt;p&gt;This blog is an archive of some thoughts, experiences and learnings from my life - Writings which I can look back in a few years and feel &lt;em&gt;cringe&lt;/em&gt;!&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Speaking at Kerala&#39;s international conclave on GenAI and education</title>
      <link>https://aldrinjenson.com/highlights/icgaife-2024/</link>
      <pubDate>Mon, 09 Dec 2024 12:00:00 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/highlights/icgaife-2024/</guid>
      <description>&lt;p&gt;In December 2024 I spoke at &lt;strong&gt;ICGAIFE 2.0&lt;/strong&gt;, the &lt;em&gt;International Conclave on Generative AI and the Future of Education&lt;/em&gt;, in Trivandrum. It&amp;rsquo;s organised by &lt;strong&gt;IHRD&lt;/strong&gt; (the Institute of Human Resources Development) under the Government of Kerala, and brings together educators, researchers and people building with AI.&lt;/p&gt;
&lt;p&gt;My talk was &lt;strong&gt;&amp;ldquo;Turning Ideas into Reality with GenAI&amp;rdquo;&lt;/strong&gt;: lessons from actually building projects with AI, and how anyone with an idea can now use these tools to turn it into something real.&lt;/p&gt;

&lt;div style=&#34;position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;&#34;&gt;
  &lt;iframe src=&#34;https://www.youtube.com/embed/W0GAuVxVJJc&#34; style=&#34;position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;&#34; allowfullscreen title=&#34;YouTube Video&#34;&gt;&lt;/iframe&gt;
&lt;/div&gt;

&lt;p&gt;&lt;em&gt;The recording of my talk.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The slides are &lt;a href=&#34;https://slides.aldrinjenson.com/ideas-to-reality-with-genai/&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A nice surprise afterwards: &lt;a href=&#34;https://www.thehindu.com/news/national/kerala/ihrd-international-conference-on-ai-gets-under-way/article68962521.ece&#34;&gt;The Hindu&amp;rsquo;s coverage of the conclave&lt;/a&gt; mentioned me alongside speakers from IIT Bombay and IISc.&lt;/p&gt;
&lt;p&gt;IHRD invited me back for the next edition in January 2026. I couldn&amp;rsquo;t make it from New York that time, but it meant a lot to be asked.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Clone any website locally with HTTrack</title>
      <link>https://aldrinjenson.com/til/clone-any-website-to-local-using-httrack/</link>
      <pubDate>Mon, 02 Sep 2024 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/til/clone-any-website-to-local-using-httrack/</guid>
      <description>&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;brew install httrack
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;httrack &amp;lt;website_url&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Source: &lt;a href=&#34;https://hackzism.blogspot.com/2020/06/clone-websites-using-httrack.html&#34;&gt;https://hackzism.blogspot.com/2020/06/clone-websites-using-httrack.html&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>YouTube transcript formatter for LLMs</title>
      <link>https://aldrinjenson.com/til/youtube-transcript-formatter/</link>
      <pubDate>Sun, 21 Jul 2024 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/til/youtube-transcript-formatter/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Demo here:&lt;/strong&gt;&lt;br&gt;
&lt;a href=&#34;https://x.com/aldrinjenson/status/1815007108934332486&#34;&gt;https://x.com/aldrinjenson/status/1815007108934332486&lt;/a&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#!/bin/bash
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# YouTube Transcript Extractor&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# This script downloads and extracts the transcript from a YouTube video,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# calculates some statistics, and copies the result to the clipboard.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Instructions:&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# 1. Ensure you have the following dependencies installed:&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#    - yt-dlp: https://github.com/yt-dlp/yt-dlp#installation&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#    - jq: https://stedolan.github.io/jq/download/&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#    - xclip (for Linux) or pbcopy (for macOS, comes pre-installed)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# 2. Make this script executable: chmod +x youtube_transcript_extractor.sh&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# 3. Run the script with a YouTube URL: ./youtube_transcript_extractor.sh &amp;#34;https://www.youtube.com/watch?v=VIDEO_ID&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Requirements:&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# - Linux or macOS&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# - Bash shell&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# - yt-dlp&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# - jq&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# - xclip (Linux) or pbcopy (macOS)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Function to copy to clipboard&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;copy_to_clipboard&lt;span style=&#34;color:#f92672&#34;&gt;()&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; command -v pbcopy &amp;gt; /dev/null; &lt;span style=&#34;color:#66d9ef&#34;&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        pbcopy
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;elif&lt;/span&gt; command -v xclip &amp;gt; /dev/null; &lt;span style=&#34;color:#66d9ef&#34;&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        xclip -selection clipboard
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;else&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Unable to copy to clipboard: neither pbcopy nor xclip is available.&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Function to format duration&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;format_duration&lt;span style=&#34;color:#f92672&#34;&gt;()&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    local total_seconds&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;$1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    local hours&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$((&lt;/span&gt;total_seconds &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;3600&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;))&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    local minutes&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$((&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;total_seconds &lt;span style=&#34;color:#f92672&#34;&gt;%&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;3600&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;60&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;))&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    local seconds&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$((&lt;/span&gt;total_seconds &lt;span style=&#34;color:#f92672&#34;&gt;%&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;60&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;))&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    printf &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;%02d:%02d:%02d&amp;#34;&lt;/span&gt; $hours $minutes $seconds
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Check if a URL is provided&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt; $# -eq &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Please provide a YouTube video URL as an argument.&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Usage: &lt;/span&gt;$0&lt;span style=&#34;color:#e6db74&#34;&gt; &amp;lt;YouTube_URL&amp;gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    exit &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# YouTube video URL&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;URL&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$1&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Download subtitles and metadata&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;yt-dlp --skip-download --write-subs --write-auto-subs --sub-lang en --sub-format ttml --convert-subs srt --output &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;transcript.%(ext)s&amp;#34;&lt;/span&gt; --write-info-json &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$URL&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Clean up the subtitle file&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sed -i.bak -e &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;/^[0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9][0-9] --&amp;gt; [0-9][0-9]:[0-9][0-9]:[0-9][0-9].[0-9][0-9][0-9]$/d&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;    -e &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;/^[[:digit:]]\{1,3\}$/d&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;    -e &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;s/&amp;lt;[^&amp;gt;]*&amp;gt;//g&amp;#39;&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;    ./transcript.en.srt &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; rm ./transcript.en.srt.bak
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Create the final output file&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sed -e &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;s/&amp;lt;[^&amp;gt;]*&amp;gt;//g&amp;#39;&lt;/span&gt; -e &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;/^[[:space:]]*$/d&amp;#39;&lt;/span&gt; transcript.en.srt &amp;gt; output.txt
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Remove the intermediate .srt file&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;rm transcript.en.srt
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Transcript extraction complete. The result is saved in output.txt&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Calculate word count and line count&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;WORD_COUNT&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;wc -w &amp;lt; output.txt&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;LINE_COUNT&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;wc -l &amp;lt; output.txt&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Extract metadata&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;TITLE&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;jq -r &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;.title&amp;#39;&lt;/span&gt; transcript.info.json&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;DURATION&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;jq -r &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;.duration&amp;#39;&lt;/span&gt; transcript.info.json&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;UPLOAD_DATE&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;jq -r &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;.upload_date&amp;#39;&lt;/span&gt; transcript.info.json&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Format duration&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;DURATION_FORMATTED&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;format_duration $DURATION&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Prepare metadata string&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;METADATA&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Video Title: &lt;/span&gt;$TITLE&lt;span style=&#34;color:#e6db74&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;Duration: &lt;/span&gt;$DURATION_FORMATTED&lt;span style=&#34;color:#e6db74&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;Upload Date: &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;UPLOAD_DATE:0:4&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;UPLOAD_DATE:4:2&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;-&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;UPLOAD_DATE:6:2&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;Word Count: &lt;/span&gt;$WORD_COUNT&lt;span style=&#34;color:#e6db74&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;Line Count: &lt;/span&gt;$LINE_COUNT&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Transcript Statistics and Metadata:&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$METADATA&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Copy the transcript to clipboard with the specified format and metadata&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;The following youtube video transcript:&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    cat output.txt
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;}&lt;/span&gt; | copy_to_clipboard
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt; $? -eq &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Transcript and metadata have been copied to clipboard.&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;else&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Transcript and metadata were not copied to clipboard due to an error.&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Clean up metadata file&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;rm transcript.info.json
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>A super fast voice translation system</title>
      <link>https://aldrinjenson.com/til/super-fast-voice-based-translation-system/</link>
      <pubDate>Sat, 20 Jul 2024 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/til/super-fast-voice-based-translation-system/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;a href=&#34;https://x.com/aldrinjenson/status/1814683816679903551&#34;&gt;https://x.com/aldrinjenson/status/1814683816679903551&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;Super simple voice based translation system with probably the fastest speeds available right now&lt;/p&gt;
&lt;p&gt;— Aldrin Jenson (@aldrinjenson) &lt;a href=&#34;https://twitter.com/aldrinjenson/status/1814683816679903551&#34;&gt;Original tweet date&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
</description>
    </item>
    
    <item>
      <title>Changing the email on old git commits</title>
      <link>https://aldrinjenson.com/til/changing-git-commit-email-address/</link>
      <pubDate>Sat, 20 Jul 2024 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/til/changing-git-commit-email-address/</guid>
      <description>&lt;p&gt;To change the email address for all commits in your Git repository to a new correct one, you can use the &lt;code&gt;git filter-branch&lt;/code&gt; command. Here&amp;rsquo;s a step-by-step process:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;First, ensure you have the correct email set for future commits:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;git config user.email &amp;#34;your-new-correct-email@example.com&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Then, run the following command to rewrite the history:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;git filter-branch --env-filter &amp;#39;
OLD_EMAIL=&amp;#34;your-old-incorrect-email@example.com&amp;#34;
CORRECT_EMAIL=&amp;#34;your-new-correct-email@example.com&amp;#34;
if [ &amp;#34;$GIT_COMMITTER_EMAIL&amp;#34; = &amp;#34;$OLD_EMAIL&amp;#34; ]
then
    export GIT_COMMITTER_EMAIL=&amp;#34;$CORRECT_EMAIL&amp;#34;
fi
if [ &amp;#34;$GIT_AUTHOR_EMAIL&amp;#34; = &amp;#34;$OLD_EMAIL&amp;#34; ]
then
    export GIT_AUTHOR_EMAIL=&amp;#34;$CORRECT_EMAIL&amp;#34;
fi
&amp;#39; --tag-name-filter cat -- --branches --tags
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;br&gt;
Replace &lt;code&gt;your-old-incorrect-email@example.com&lt;/code&gt; with the wrong email you used, and &lt;code&gt;your-new-correct-email@example.com&lt;/code&gt; with your correct email.\&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;After running this command, Git will rewrite your repository&amp;rsquo;s history, changing the email address for all commits.\&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you&amp;rsquo;ve already pushed your commits to a remote repository, you&amp;rsquo;ll need to force push the changes:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;git push --force --tags origin &amp;#39;refs/heads/*&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Be cautious with this operation, especially if you&amp;rsquo;re working on a shared repository, as it rewrites history. This can cause issues for other contributors if they&amp;rsquo;ve based work on the old history.&lt;/p&gt;
&lt;p&gt;source: Claude sonnet 3.5 :)&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Different options for doing LLM inference</title>
      <link>https://aldrinjenson.com/til/different-options-for-doing-llm-inference/</link>
      <pubDate>Thu, 11 Jul 2024 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/til/different-options-for-doing-llm-inference/</guid>
      <description>&lt;h3 id=&#34;intro&#34;&gt;Intro&lt;/h3&gt;
&lt;p&gt;While many developers default to using OpenAI&amp;rsquo;s APIs for large language model (LLM) inference, there are numerous alternatives available that offer different advantages in terms of cost, performance, and flexibility. This guide explores various options for LLM inference, including both self-hosted and cloud-based solutions, as well as serverless and traditional hosting approaches.&lt;/p&gt;
&lt;h3 id=&#34;cloud-based-solutions&#34;&gt;Cloud-Based Solutions&lt;/h3&gt;
&lt;h4 id=&#34;1-replicate&#34;&gt;1. Replicate&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Pros&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Offers thousands of models, including popular and fine-tuned versions&lt;/li&gt;
&lt;li&gt;Supports custom model deployment (both public and private)&lt;/li&gt;
&lt;li&gt;Easy to get started quickly&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cons&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Initial pricing may be higher compared to other options&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you want to build a prototype quickly for a startup, this is recommended&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;2-modalcom&#34;&gt;2. Modal.com&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Pros&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Affordable pricing (e.g., 10 applications for $9 on GPUs)&lt;/li&gt;
&lt;li&gt;Serverless architecture&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cons&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Cold start issues, which can lead to longer initial processing times&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Based on experience with Indic Subtitler, this is cheap but the free tier will have sufficient lag if you have a large model which needs to be loaded to memory once the serverless system boots up&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;3-hugging-face-spaces&#34;&gt;3. Hugging Face Spaces&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Pros&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Always running, no cold start issues&lt;/li&gt;
&lt;li&gt;Exposes API using Gradio&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cons&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;No pay-as-you-go pricing&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;4-falai&#34;&gt;4. Fal.ai&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Offers serverless inference options&lt;/li&gt;
&lt;li&gt;Compare with Replicate and make a decision&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;5-groq&#34;&gt;5. Groq&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Pros&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Significantly cheaper than OpenAI (e.g., 10x less cost for Whisper model)&lt;/li&gt;
&lt;li&gt;Faster processing due to specialized LPU chips&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cons&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Limited model availability (currently offering Whisper v3, Llama 2, Llama 3, Gemma, Mixtral)&lt;/li&gt;
&lt;li&gt;Requires contacting for premium trial, with potential delays as of now&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;6-aws-options&#34;&gt;6. AWS Options&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Bedrock&lt;/strong&gt;: Umbrella service for various AI tools&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SageMaker&lt;/strong&gt;: For model training and deployment&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;7-nvidia-nim-new&#34;&gt;7. NVIDIA NIM (New)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Pros&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Containerizes LLM models (similar to Kubernetes approach)&lt;/li&gt;
&lt;li&gt;Allows local development and easy cloud deployment&lt;/li&gt;
&lt;li&gt;Simple inference, similar to OpenAI APIs&lt;/li&gt;
&lt;li&gt;Supports local testing and cloud deployment&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cons&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Currently not open for everyone (requires filling out a form to try)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;How it works:
&lt;ul&gt;
&lt;li&gt;Containerize your LLM model (e.g., GPT-3.5, GPT-4)&lt;/li&gt;
&lt;li&gt;Develop locally&lt;/li&gt;
&lt;li&gt;Push to cloud, which spins up a separate container for the model to run&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;self-hosted-solutions&#34;&gt;Self-Hosted Solutions&lt;/h3&gt;
&lt;h4 id=&#34;1-exlama-v2&#34;&gt;1. eXLama V2&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Pros&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;One of the fastest open-source LLM inference options&lt;/li&gt;
&lt;li&gt;Supports quantized models&lt;/li&gt;
&lt;li&gt;Based on LLaMA.cpp&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cons&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Cannot offload to CPU; requires good VRAM&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;2-vllm&#34;&gt;2. VLLM&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Pros&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;High-performance inference&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cons&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Does not support quantized models&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;3-llamacpp&#34;&gt;3. LLaMA.cpp&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Pros&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Supports quantized models&lt;/li&gt;
&lt;li&gt;Offers HTTP server functionality for API exposure&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;4-bentoml&#34;&gt;4. BentoML&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Supports serverless inference&lt;/li&gt;
&lt;li&gt;Kubernetes based&lt;/li&gt;
&lt;li&gt;Open Source&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;5-seldonio&#34;&gt;5. Seldon.io&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Kubernetes-based open-source solution for scaling models&lt;/li&gt;
&lt;li&gt;Alternative to BentoML&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;6-ollama&#34;&gt;6. Ollama&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Pros&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;One of the easiest ways to run models locally&lt;/li&gt;
&lt;li&gt;Supports multiple GGUF format versions easily pullable from Ollama hub&lt;/li&gt;
&lt;li&gt;Offers both CLI and API interfaces&lt;/li&gt;
&lt;li&gt;Recently added support for concurrency and parallelization&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How it works&lt;/strong&gt;:
&lt;ul&gt;
&lt;li&gt;Pull models from Ollama hub&lt;/li&gt;
&lt;li&gt;Run locally with simple commands&lt;/li&gt;
&lt;li&gt;Use CLI or API for inference&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;considerations-when-choosing-an-llm-inference-solution&#34;&gt;Considerations When Choosing an LLM Inference Solution&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Cost&lt;/strong&gt;: Compare pricing structures, especially for long-term usage.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Performance&lt;/strong&gt;: Consider factors like cold start times and inference speed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Scalability&lt;/strong&gt;: Evaluate how well the solution can handle increasing loads.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Flexibility&lt;/strong&gt;: Check support for custom models and fine-tuning capabilities.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ease of Use&lt;/strong&gt;: Consider the learning curve and integration complexity.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hardware Requirements&lt;/strong&gt;: For self-hosted solutions, ensure you have the necessary hardware (e.g., GPUs with sufficient VRAM).&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h3&gt;
&lt;p&gt;While OpenAI&amp;rsquo;s APIs are popular, exploring alternative LLM inference options can lead to cost savings, improved performance, or better alignment with specific project requirements. For those just starting, cloud-based solutions like Replicate or Modal.com offer an easy entry point. As your needs grow or become more specific, you might consider transitioning to more comprehensive services like AWS or self-hosted solutions for greater control and customization.&lt;/p&gt;
&lt;p&gt;For local development and testing, tools like Ollama provide an excellent balance of ease of use and flexibility. NVIDIA NIM presents an interesting containerized approach that could bridge the gap between local development and cloud deployment.&lt;/p&gt;
&lt;p&gt;Remember to regularly reassess your chosen solution as the field of AI and LLMs is rapidly evolving, with new options and improvements emerging frequently.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Representing Thoughtworks at GIDS 2024</title>
      <link>https://aldrinjenson.com/highlights/gids-conference-participant-from-tw/</link>
      <pubDate>Wed, 24 Apr 2024 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/highlights/gids-conference-participant-from-tw/</guid>
      <description>&lt;p&gt;We demoed multiple of our creations along with a Text to Song demo which impressed a lot of people including the CTO of Thoughtworks!&lt;/p&gt;
&lt;center&gt;
  &lt;img src=&#34;https://aldrinjenson.com/images/til/gids-conference-participant-fr-image-1-1.jpg&#34; width=&#34;700&#34; alt=&#34;With the CTO Emerita of Thoughtworks&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;With the CTO Emerita of Thoughtworks&lt;/p&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/gids-conference-participant-fr-image-2-1.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/gids-conference-participant-fr-image-5-1.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/gids-conference-participant-fr-image-4-1.jpg&#34; width=&#34;700&#34; alt=&#34;Met some great people IRL!&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;Met some great people IRL!&lt;/p&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;video preload=&#34;metadata&#34; controls width=&#34;700&#34; src=&#34;https://aldrinjenson.com/images/til/gids-conference-participant-fr-experience-tw-booth.mp4&#34;&gt;&lt;/video&gt;
  &lt;p class=&#39;caption&#39;&gt;Experience sharing by a manager at Google about our booth and the Text to Song Demo!&lt;/p&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/gids-conference-participant-fr-image-6.jpg&#34; width=&#34;700&#34; alt=&#34;Goodies and stuff!&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;Goodies and stuff!&lt;/p&gt;
&lt;/center&gt;
&lt;p&gt;&lt;a href=&#34;https://developersummit.com/&#34;&gt;https://developersummit.com/&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Generate subtitles locally using Whisper</title>
      <link>https://aldrinjenson.com/til/generate-subtitles-locally-using-whisper/</link>
      <pubDate>Sat, 30 Mar 2024 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/til/generate-subtitles-locally-using-whisper/</guid>
      <description>&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#!/bin/bash
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Single script to convert a file to wav and have it be transcribed by whisper&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Check if a filename is provided as an argument&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt; -z &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$1&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Usage: &lt;/span&gt;$0&lt;span style=&#34;color:#e6db74&#34;&gt; &amp;lt;filename&amp;gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  exit &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;fileName&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$1&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# If the file is not already a WAV file, convert it&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;[[&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;file -b --mime-type &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$fileName&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt; !&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; audio/wav &lt;span style=&#34;color:#f92672&#34;&gt;]]&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Converting to WAV file&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#75715e&#34;&gt;# Modify the conversion command as needed&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  ffmpeg -i &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$fileName&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt; -acodec pcm_s16le -ar &lt;span style=&#34;color:#ae81ff&#34;&gt;16000&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;basename &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$fileName&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt; .&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;fileName##*.&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;.wav&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  convertedFileName&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;basename &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$fileName&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt; .&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;fileName##*.&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;.wav&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;else&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  convertedFileName&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$fileName&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt; ! -f &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$convertedFileName&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Error: Conversion failed.&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  exit &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Transcribe the WAV file&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;echo -e &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;\n\n\nTranscribing..\n\n\n&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;~/code/whisper.cpp/main -osrt -m /Users/aldrinjenson/code/whisper.cpp/models/ggml-medium.en.bin &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$convertedFileName&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Transcribed successfully&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;||&lt;/span&gt; echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Error in transcribing!&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;next-steps&#34;&gt;Next steps:&lt;/h3&gt;
&lt;p&gt;Add the above script to path&lt;/p&gt;
&lt;p&gt;P.S. Do remember to change the path of whisper.cpp to the correct location in your computer.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Talking AI companion</title>
      <link>https://aldrinjenson.com/til/talking-ai-companion/</link>
      <pubDate>Fri, 29 Mar 2024 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/til/talking-ai-companion/</guid>
      <description>&lt;p&gt;A quick afternoon build — a voice-based AI companion meant to help people talk things out when they&amp;rsquo;re having a rough time.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://twitter.com/i/status/1773643579140760053&#34;&gt;Demo on X →&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Essential Components for Building Human-Like AI Assistants</title>
      <link>https://aldrinjenson.com/posts/essential-components-for-human-like-ai-assistants/</link>
      <pubDate>Sun, 24 Mar 2024 00:00:00 +0000</pubDate>
      
      <guid>https://aldrinjenson.com/posts/essential-components-for-human-like-ai-assistants/</guid>
      <description>&lt;p&gt;In this article, I&amp;rsquo;ll explore the key components that I believe are essential for current Large Language Models (LLMs) to function effectively as AI assistants or agents. Based on my analysis, there are five core elements, plus one bonus feature, that bring us really close to creating truly human-like AI assistants.&lt;/p&gt;
&lt;h3 id=&#34;core-components&#34;&gt;Core Components&lt;/h3&gt;
&lt;h3 id=&#34;1-computer-interaction-capabilities&#34;&gt;1. Computer Interaction Capabilities&lt;/h3&gt;
&lt;p&gt;The LLM should be able to navigate computers and browsers just as a human would. This fundamental ability enables the AI to interact with digital interfaces naturally and effectively.&lt;/p&gt;
&lt;p&gt;Ref: &lt;a href=&#34;https://openai.com/index/introducing-operator/&#34;&gt;OpenAI operator&lt;/a&gt;, &lt;a href=&#34;https://www.hyperbrowser.ai/&#34;&gt;Hyperbrowser&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;2-robust-coding-environment&#34;&gt;2. Robust Coding Environment&lt;/h3&gt;
&lt;p&gt;Rather than judging an AI assistant by its pre-built tools, we should evaluate its ability to create tools in real-time using a coding environment like Python. This environment should enable the AI to write functions for specific tasks, such as making API calls to fetch data, and create reusable tools as needed.&lt;/p&gt;
&lt;p&gt;Ref: &lt;a href=&#34;https://resources.athenaintel.com/docs/task-studio/task-builder&#34;&gt;Task builder&lt;/a&gt; in Athena Intelligence which lets the AI write code to save new tools that it can use&lt;/p&gt;
&lt;h3 id=&#34;3-voice-communication&#34;&gt;3. Voice Communication&lt;/h3&gt;
&lt;p&gt;An ideal AI assistant shouldn&amp;rsquo;t be limited to text-based interactions. Like a human executive assistant, it should be capable of natural and efficient voice communication, making interactions more intuitive and accessible.&lt;/p&gt;
&lt;p&gt;Ref: OpenAIs real-time Voice mode&lt;/p&gt;
&lt;h3 id=&#34;4-context-awareness-and-memory&#34;&gt;4. Context Awareness and Memory&lt;/h3&gt;
&lt;p&gt;Personalization is crucial for an effective AI assistant. The system should maintain context through vector embeddings of past interactions and user preferences, allowing it to learn from experience and apply this knowledge in future sessions.&lt;/p&gt;
&lt;p&gt;Ref: &lt;a href=&#34;https://github.com/getzep/graphiti&#34;&gt;Graphiti&lt;/a&gt; by Zep or normal RAG of learnings -&amp;gt; with memories injected to context for every new human message.&lt;/p&gt;
&lt;p&gt;Ideally there should be a tool the agent can call to save learnings to the graph or Embedding space whenever required. I think for every human message, the right memories are fetched from the vector space and given as probable context.&lt;/p&gt;
&lt;h3 id=&#34;5-real-time-feedback-loop&#34;&gt;5. Real-time Feedback Loop&lt;/h3&gt;
&lt;p&gt;For managing long-running tasks, a robust feedback system is essential. The LangChain framework demonstrates this well with its messaging system. When handling extended tasks, the tool should:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Provide immediate acknowledgment (e.g., &amp;ldquo;Task initiated&amp;rdquo;) by yielding a Tool Response Msg&lt;/li&gt;
&lt;li&gt;Offer a function handler/listener for progress monitoring — that the agent can call at any later time to check progress&lt;/li&gt;
&lt;li&gt;Once the long-running task is done, inject the output as a ToolResponse message — The llms with their increasingly large context windows would be smart enough to associate the responce with the originally called tool.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Ref: &lt;a href=&#34;https://python.langchain.com/api_reference/core/messages/langchain_core.messages.tool.ToolMessage.html&#34;&gt;Langchain&amp;rsquo;s ToolResponse&lt;/a&gt; message&lt;/p&gt;
&lt;h3 id=&#34;bonus-feature-task-branching&#34;&gt;Bonus Feature: Task Branching&lt;/h3&gt;
&lt;p&gt;An additional powerful capability would be task branching or forking. This feature would allow the agent to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create separate execution threads while maintaining full context&lt;/li&gt;
&lt;li&gt;Work independently on specific tasks&lt;/li&gt;
&lt;li&gt;Report back to the main thread upon completion&lt;/li&gt;
&lt;li&gt;Continue main operations uninterrupted while ensuring that every branched task has full context of everything till previous flow Ref: num_past_messages = infinity for subagents in Athena Agents&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This mirrors how a human team member might take on an assigned task, work independently, and report back upon completion.&lt;/p&gt;
&lt;p&gt;These components, when implemented effectively, bring us much closer to creating AI assistants that can truly emulate human-like capabilities and interactions.&lt;/p&gt;
&lt;p&gt;I strongly feel that the system built and improved at &lt;a href=&#34;https://athenaintel.com/&#34;&gt;Athena Intelligence&lt;/a&gt; will be one of the first ones that can truly achieve the incredible feat of making a near identical AI assistant.&lt;/p&gt;
&lt;p&gt;Credits: The AI system — Winston from the novel &lt;a href=&#34;https://en.wikipedia.org/wiki/Origin_(Brown_novel)&#34;&gt;Origin&lt;/a&gt;, by Dan Brown&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;Originally published on &lt;a href=&#34;https://medium.com/@Aldrinjenson/essential-components-for-building-human-like-ai-assistants-23be8be400bd&#34;&gt;Medium&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Teaching a 6-hour LLM workshop at NIT Calicut</title>
      <link>https://aldrinjenson.com/highlights/llm-workshop/</link>
      <pubDate>Sat, 23 Mar 2024 12:00:00 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/highlights/llm-workshop/</guid>
      <description>&lt;p&gt;I got invited as a speaker to conduct a 6 hour Workshop on Large Language Models(LLMs) for FOSS Meet&#39;24 at NIT Calicut in the end of March.&lt;/p&gt;
&lt;p&gt;It was nice.&lt;/p&gt;
&lt;p&gt;There was Kurian Benoy and Nithin Sabu as co-speakers to help as well.&lt;/p&gt;
&lt;p&gt;Met some cool people over there as well.&lt;/p&gt;
&lt;p&gt;The slides from the workshop are &lt;a href=&#34;https://slides.aldrinjenson.com/llm101/&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;center&gt;
  &lt;img src=&#34;https://aldrinjenson.com/images/til/llm-workshop-image-4-1-1.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/llm-workshop-image-6-1-1.jpg&#34; width=&#34;700&#34; alt=&#34;Me, Kurian and Nitin Sabu. 3 xMEC-ians&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;Me, Kurian and Nitin Sabu. 3 xMEC-ians&lt;/p&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/llm-workshop-image-5-1-1.jpg&#34; width=&#34;700&#34; alt=&#34;With my trusty ol&#39; Thinkpad&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;With my trusty ol&#39; Thinkpad&lt;/p&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/llm-workshop-image-3-1-1.jpg&#34; width=&#34;700&#34; alt=&#34;Cool friends I&#39;ve come to know over the years.&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;Cool friends I&#39;ve come to know over the years.&lt;/p&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/llm-workshop-image-2-1-1.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/llm-workshop-image-1-1-1.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/llm-workshop-image-6-1.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
</description>
    </item>
    
    <item>
      <title>Drag and drop files from the macOS terminal</title>
      <link>https://aldrinjenson.com/til/adding-drag-drop-from-terminal-in-mac-os/</link>
      <pubDate>Wed, 20 Mar 2024 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/til/adding-drag-drop-from-terminal-in-mac-os/</guid>
      <description>&lt;p&gt;Use this cool tool:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://github.com/Wevah/dragterm&#34;&gt;https://github.com/Wevah/dragterm&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;steps-to-install&#34;&gt;Steps to install:&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;git clone the above repo&lt;/li&gt;
&lt;li&gt;cd dragterm&lt;/li&gt;
&lt;li&gt;&lt;code&gt;brew install cocoapods&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;g++ DTDraggingSourceView.m main.m -framework Cocoa -o drag&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Add the folder to PATH&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;code&gt;export PATH=&amp;quot;&amp;lt;your drag term folder path&amp;gt;:$PATH&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;h3 id=&#34;usage&#34;&gt;Usage:&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;drag &amp;lt;filename&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;h3 id=&#34;bonus&#34;&gt;Bonus&lt;/h3&gt;
&lt;p&gt;If you are using &lt;code&gt;ranger&lt;/code&gt; or some other CLI based file manager, you can easily add support to dragging from terminal using &lt;code&gt;dragterm&lt;/code&gt; with a key-map as follows:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;map &amp;lt;C-d&amp;gt; shell drag %p
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Paste the above to &lt;code&gt;.config/ranger/rc.conf&lt;/code&gt; to map ctrl+d to drag a file from ranger&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Fetching Train availability in IRCTC</title>
      <link>https://aldrinjenson.com/til/fetching-train-availability-in-irctc/</link>
      <pubDate>Mon, 11 Mar 2024 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/til/fetching-train-availability-in-irctc/</guid>
      <description>&lt;h3 id=&#34;problem&#34;&gt;Problem&lt;/h3&gt;
&lt;p&gt;When you search for trains in &lt;a href=&#34;https://www.irctc.co.in&#34;&gt;irctc&lt;/a&gt; page, it never shows the seat availability directly. You&amp;rsquo;ll have to manually go and click the refresh button of every listed train&lt;/p&gt;
&lt;center&gt;
  &lt;img src=&#34;https://aldrinjenson.com/images/til/fetching-train-availability-in-image-2-1-1-1.jpg&#34; width=&#34;700&#34; alt=&#34;List of trains, but availability is not present&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;List of trains, but availability is not present&lt;/p&gt;
&lt;/center&gt;
&lt;h3 id=&#34;steps-to-fix&#34;&gt;Steps to fix&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Search for trains in &lt;a href=&#34;https://www.irctc.co.in&#34;&gt;https://www.irctc.co.in&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Apply filters to narrow down the list of trains&lt;/p&gt;
&lt;center&gt;
&lt;/li&gt;
&lt;/ol&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/fetching-train-availability-in-image-1-1-1-1.jpg&#34; width=&#34;700&#34; alt=&#34;Narrow down list of trains using filters&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;Narrow down list of trains using filters&lt;/p&gt;
&lt;/center&gt;
&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Paste the following script in console to get the availability status of all trains at once&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-javascript&#34; data-lang=&#34;javascript&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;document.&lt;span style=&#34;color:#a6e22e&#34;&gt;querySelectorAll&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;.fa.fa-repeat&amp;#39;&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;forEach&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;el&lt;/span&gt;=&amp;gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;el&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;click&lt;/span&gt;())
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;The end. Tada!&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;note&#34;&gt;Note:&lt;/h3&gt;
&lt;p&gt;Ensure that you always try this out after narrowing down the list using filters. Else it&amp;rsquo;ll be too many requests going on at once.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Compressing images from the CLI</title>
      <link>https://aldrinjenson.com/til/compressing-images-from-the-cli/</link>
      <pubDate>Fri, 01 Mar 2024 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/til/compressing-images-from-the-cli/</guid>
      <description>&lt;h3 id=&#34;steps&#34;&gt;Steps&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Move all your image files to a folder&lt;/li&gt;
&lt;li&gt;calculate it&amp;rsquo;s folder size using &lt;code&gt;du&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;create a copy of the folder.&lt;/li&gt;
&lt;li&gt;install imagemagick&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;brew install imagemagick&lt;/code&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;in this folder, perform the following actions:&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mkdir compressed
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; i in *; &lt;span style=&#34;color:#66d9ef&#34;&gt;do&lt;/span&gt; convert $i -resize 40% compressed/$i; &lt;span style=&#34;color:#66d9ef&#34;&gt;done&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The above will compress all images by making the size 40% of the initial size and will move it to a folder called &lt;code&gt;compressed&lt;/code&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Check folder structure again using &lt;code&gt;du&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;if it&amp;rsquo;s still too much, repeat again but this time reduce quality to even lower&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Running parallel Ollama inference</title>
      <link>https://aldrinjenson.com/til/running-parallel-ollama-inference/</link>
      <pubDate>Fri, 01 Mar 2024 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/til/running-parallel-ollama-inference/</guid>
      <description>&lt;h3 id=&#34;problem&#34;&gt;Problem&lt;/h3&gt;
&lt;p&gt;Ollama runs based on a single backend concept.&lt;/p&gt;
&lt;p&gt;Even if you have good specs in your system, every new request is processed in a queue manner to make maximum resource  usage for a single query.&lt;/p&gt;
&lt;p&gt;This is useful for personal laptop usage. But if you have a powerful machine with 10s of GPU RAM, and multiple users inferring at same time, it would be a problem&lt;/p&gt;
&lt;h3 id=&#34;solution&#34;&gt;Solution&lt;/h3&gt;
&lt;p&gt;Run multiple ollama instances as isolated container using docker.&lt;/p&gt;
&lt;h3 id=&#34;references&#34;&gt;References:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://ollama.com/blog/ollama-is-now-available-as-an-official-docker-image&#34;&gt;Ollama blog &lt;/a&gt;announcing docker containers&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;approach-1&#34;&gt;Approach 1&lt;/h3&gt;
&lt;p&gt;Use docker swarm&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker swarm init
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker service create --replicas &lt;span style=&#34;color:#ae81ff&#34;&gt;10&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;--name ollama &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;--constraint &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;node.labels.gpu&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;==&lt;/span&gt;true &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;--mount type&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;volume,source&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;ollama,target&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;/root/.ollama &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;--publish published&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;11434,target&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;11434&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;ollama/ollama
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This creates 10 replicas managed by docker swarm.&lt;/p&gt;
&lt;p&gt;The base url is same as that of a single instance which you can connect to just like connecting to a regular standalone instance of ollama&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; This one doesn&amp;rsquo;t have GPU support&lt;/p&gt;
&lt;h3 id=&#34;approach-2&#34;&gt;Approach 2&lt;/h3&gt;
&lt;p&gt;Manage everything ourselves with a tiny bit of help from litellm&lt;/p&gt;
&lt;h3 id=&#34;steps&#34;&gt;Steps:&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Write a script to create the specified number(n) of ollama container from port 11434 to 11434+n&lt;/li&gt;
&lt;li&gt;Ensure that all of them uses the same volume to store the models so as to save up space&lt;/li&gt;
&lt;li&gt;Create litellm proxy server using a custom config file(generated automatically from create script)&lt;/li&gt;
&lt;li&gt;Connect to this litellm proxy just as connecting to a single ollama instance.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#!/bin/bash
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# create.sh - to create a given set of docker containers running llama2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;CONFIG_FILE&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;config.yml&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;VOLUME_NAME&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;ollama_volume&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;MODEL&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;llama2&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;model_list:&amp;#34;&lt;/span&gt; &amp;gt; $CONFIG_FILE
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Define function to create and manage ollama containers&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;create_ollama_container&lt;span style=&#34;color:#f92672&#34;&gt;()&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    local container_name&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;ollama&lt;/span&gt;$1&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    local port&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;$2
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#75715e&#34;&gt;# Check if the container with the same name exists, if yes, remove it&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; docker ps -a --format &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;{{.Names}}&amp;#39;&lt;/span&gt; | grep -q &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;^&lt;/span&gt;$container_name$&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Removing existing container: &lt;/span&gt;$container_name&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        docker rm -f $container_name
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#75715e&#34;&gt;# Check if the container on the specified port exists, if yes, remove it&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; docker ps -a --format &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;{{.Ports}}&amp;#39;&lt;/span&gt; | grep -q &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;0.0.0.0:&lt;/span&gt;$port&lt;span style=&#34;color:#e6db74&#34;&gt;-&amp;gt;&amp;#34;&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;then&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Removing existing container on port &lt;/span&gt;$port&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        docker rm -f &lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;docker ps -a --format &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;{{if (index (split .Ports &amp;#34;/&amp;#34;) 0) | (index (split . &amp;#34;-&amp;gt;&amp;#34;) 0) | (eq &amp;#34;&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;0.0.0.0:&lt;/span&gt;$port&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;&amp;#34;)}}{{.Names}}{{end}}&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;fi&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#75715e&#34;&gt;# Create and run the new container&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    docker run -d --gpus&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;all &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;        -v $VOLUME_NAME:/root/.ollama &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;        -p $port:11434 &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;        --name $container_name &lt;span style=&#34;color:#ae81ff&#34;&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;&lt;/span&gt;        ollama/ollama
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Created container: &lt;/span&gt;$container_name&lt;span style=&#34;color:#e6db74&#34;&gt; on port &lt;/span&gt;$port&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#75715e&#34;&gt;# Add entry to the config file&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;  - model_name: &lt;/span&gt;$MODEL&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt; &amp;gt;&amp;gt; $CONFIG_FILE
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;    litellm_params:&amp;#34;&lt;/span&gt; &amp;gt;&amp;gt; $CONFIG_FILE
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;        model: ollama/&lt;/span&gt;$MODEL&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt; &amp;gt;&amp;gt; $CONFIG_FILE
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;        api_base: http://localhost:&lt;/span&gt;$port&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt; &amp;gt;&amp;gt; $CONFIG_FILE
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Create n different ollama containers with unique names and ports&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; i in &lt;span style=&#34;color:#f92672&#34;&gt;{&lt;/span&gt;1..6&lt;span style=&#34;color:#f92672&#34;&gt;}&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;do&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    port&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;$((&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;11434&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;+&lt;/span&gt; i&lt;span style=&#34;color:#66d9ef&#34;&gt;))&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    create_ollama_container $i $port
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;done&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;destroy.sh&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#!/bin/bash
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Script to destroy running docker containers&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker stop &lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;docker ps -a -q&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; docker rm &lt;span style=&#34;color:#66d9ef&#34;&gt;$(&lt;/span&gt;docker ps -a -q&lt;span style=&#34;color:#66d9ef&#34;&gt;)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;test.sh&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#!/bin/bash
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# test.sh - to make request to a given  number of llama2 instances&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;rm file.txt &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;file.txt cleare&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Define the command to be executed&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;curl_command&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;curl --location &amp;#39;http://0.0.0.0:8000/chat/completions&amp;#39; --header &amp;#39;Content-Type: application/json&amp;#39; --data &amp;#39; {
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;  \&amp;#34;model\&amp;#34;: \&amp;#34;llama2\&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;  \&amp;#34;messages\&amp;#34;: [
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;    {
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;      \&amp;#34;role\&amp;#34;: \&amp;#34;user\&amp;#34;,
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;      \&amp;#34;content\&amp;#34;: \&amp;#34;tell a long story about unicorns\&amp;#34;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;    }
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;  ]
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;}&amp;#39; | jq .choices[0].message.content  &amp;gt;&amp;gt; file.txt&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Run the command n times in parallel&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;for&lt;/span&gt; i in &lt;span style=&#34;color:#f92672&#34;&gt;{&lt;/span&gt;1..3&lt;span style=&#34;color:#f92672&#34;&gt;}&lt;/span&gt;; &lt;span style=&#34;color:#66d9ef&#34;&gt;do&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    eval &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt;$curl_command&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Command &lt;/span&gt;$i&lt;span style=&#34;color:#e6db74&#34;&gt; succeeded.&amp;#34;&lt;/span&gt; &amp;amp;  &lt;span style=&#34;color:#75715e&#34;&gt;# Run the command in the background&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;done&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Wait for all background processes to finish&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;wait
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;echo &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;All commands completed.&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Sample config.yaml&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;model_list&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  - &lt;span style=&#34;color:#f92672&#34;&gt;model_name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;llama2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;litellm_params&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;model&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;ollama/llama2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;api_base&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;http://localhost:11435&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  - &lt;span style=&#34;color:#f92672&#34;&gt;model_name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;llama2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;litellm_params&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;model&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;ollama/llama2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;api_base&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;http://localhost:11436&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  - &lt;span style=&#34;color:#f92672&#34;&gt;model_name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;llama2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;litellm_params&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;model&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;ollama/llama2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;api_base&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;http://localhost:11437&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  - &lt;span style=&#34;color:#f92672&#34;&gt;model_name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;llama2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;litellm_params&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;model&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;ollama/llama2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;api_base&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;http://localhost:11438&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>My Honours degree, from Kerala&#39;s Education Minister</title>
      <link>https://aldrinjenson.com/highlights/honours-degree-from-education-minister/</link>
      <pubDate>Fri, 01 Mar 2024 12:00:00 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/highlights/honours-degree-from-education-minister/</guid>
      <description>&lt;p&gt;I was awarded the Bachelor&amp;rsquo;s in Technology with Honours in Machine Learning by Smt. R. Bindu, the honourable Minister of Higher Education of Kerala state.&lt;/p&gt;
&lt;p&gt;This was given to around 50 people from the whole state who qualified that year.&lt;/p&gt;
&lt;p&gt;Along the way, I also earned an &lt;strong&gt;Elite certificate in the Top 2%&lt;/strong&gt; of IIT Madras&amp;rsquo;s &lt;em&gt;Introduction to Machine Learning&lt;/em&gt; course on NPTEL (the Government of India&amp;rsquo;s national online learning programme). That was about 36 people out of 1,816 who took the exam in April 2023.&lt;/p&gt;
&lt;center&gt;
  &lt;img src=&#34;https://aldrinjenson.com/images/til/honours-degree-from-education--image-8.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/honours-degree-from-education--image-10.jpg&#34; width=&#34;700&#34; alt=&#34;Model Engineering College Students at University Convocation with our Former Principal&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;Model Engineering College Students at University Convocation with our Former Principal&lt;/p&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/honours-degree-from-education--image-9.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/honours-degree-from-education--image-11.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
</description>
    </item>
    
    <item>
      <title>Judging the Hack4Tomorrow hackathon</title>
      <link>https://aldrinjenson.com/highlights/being-a-judge-at-hack4tomorrow-hackathon/</link>
      <pubDate>Sat, 24 Feb 2024 12:00:00 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/highlights/being-a-judge-at-hack4tomorrow-hackathon/</guid>
      <description>&lt;p&gt;I was fortunate to be invited as a Judge for the Hack4Tomorrow hackathon at Excel 2023&lt;/p&gt;
&lt;p&gt;This was a nice new experience.&lt;/p&gt;
&lt;p&gt;From participating in hackathons to organizing them to now finally Judging one!&lt;/p&gt;
&lt;center&gt;
  &lt;img src=&#34;https://aldrinjenson.com/images/til/being-a-judge-at-hack4tomorrow-image-12.jpg&#34; width=&#34;700&#34; alt=&#34;With Rindish Krishna, Afnan, Vishruth, and Abid Omar - my fellow judges. Cool people&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;With Rindish Krishna, Afnan, Vishruth, and Abid Omar - my fellow judges. Cool people&lt;/p&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/being-a-judge-at-hack4tomorrow-image-13.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/being-a-judge-at-hack4tomorrow-image-14.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
&lt;p&gt;It was a good hackathon. Nice projects&lt;/p&gt;
&lt;p&gt;After discussing among the judges, we finalized a few projects for the prize money. But I felt a bit sad thinking of the other teams who didn&amp;rsquo;t win. I don&amp;rsquo;t think I&amp;rsquo;d want to go into judging again if possible. The judges may have valid reasons to select certain projects, but it&amp;rsquo;s hard for other participants to directly understand them I feel. Especially since they spent so much effort in the past 24-48 hours on their work in the hopes to win the prize.&lt;/p&gt;
&lt;p&gt;Since I&amp;rsquo;ve been on both sides, I think I&amp;rsquo;d personally rather not judge again.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Creating and embedding Subtitles for custom videos</title>
      <link>https://aldrinjenson.com/posts/create-subtitles-for-a-video/</link>
      <pubDate>Sun, 24 Dec 2023 00:45:00 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/create-subtitles-for-a-video/</guid>
      <description>&lt;h1 id=&#34;how-to-create-and-add-subtitles-to-your-custom-video&#34;&gt;How to create and add subtitles to your custom video&lt;/h1&gt;
&lt;p&gt;It consists of the following steps&lt;/p&gt;
&lt;h2 id=&#34;step-1-have-the-video-be-ready-at-hand&#34;&gt;Step 1: Have the video be ready at hand.&lt;/h2&gt;
&lt;p&gt;No-brainer. But ensure that you have a video in which there is speech present. You can record the video using any web based recorders if you don&amp;rsquo;t have camera software installed.&lt;/p&gt;
&lt;p&gt;If you are in Mac, you can also record using QuickTime Player -&amp;gt; File -&amp;gt; New Movie Recording. This way you don&amp;rsquo;t need to use any other extra software than the ones already installed!&lt;/p&gt;
&lt;p&gt;Linux has a bunch of cli and GUI based free software available that you can use as well.&lt;/p&gt;
&lt;h2 id=&#34;step-2-download-whisper&#34;&gt;Step 2: Download whisper&lt;/h2&gt;
&lt;p&gt;Whisper is state of the speech recognition model released by OpenAI.
There is both the original whisper python package and also &lt;a href=&#34;https://github.com/ggerganov/whisper.cpp&#34;&gt;whisper.cpp&lt;/a&gt;.
Second one is highly recommended as it&amp;rsquo;s much more faster and optimised(cus it&amp;rsquo;s in C++ 🚀).&lt;/p&gt;
&lt;p&gt;If you have a good CPU, choose the medium model to begin with.&lt;/p&gt;
&lt;p&gt;So now,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Just install whisper by following the ReadMe instructions specific to your OS.&lt;/li&gt;
&lt;li&gt;choose the medium model&lt;/li&gt;
&lt;li&gt;build the binary by running: &lt;code&gt;make&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;step-3-creating-an-wav-file-from-video&#34;&gt;Step 3: Creating an wav file from video&lt;/h2&gt;
&lt;p&gt;Now you&amp;rsquo;d need to convert the video file to an audio file to pass it on to &lt;code&gt;whisper&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;As of writing this blog, whisper takes in only 16-bit &lt;code&gt;wav&lt;/code&gt; file as input.&lt;/p&gt;
&lt;p&gt;Converting the video to .wav is as easy as running this simple &lt;code&gt;ffmpeg&lt;/code&gt; command:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ffmpeg -i input.mov -ar &lt;span style=&#34;color:#ae81ff&#34;&gt;16000&lt;/span&gt; -ac &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt; -c:a pcm_s16le output.wav
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This will create a new file called &lt;code&gt;output.wav&lt;/code&gt; which contains just the audio from your video file.&lt;/p&gt;
&lt;h2 id=&#34;step-4-generating-an-srt-file-using-whisper&#34;&gt;Step 4: Generating an srt file using whisper&lt;/h2&gt;
&lt;p&gt;Now,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;pass in this audio file as input and generate subtitles&lt;/li&gt;
&lt;li&gt;If the subtitles generated are not &lt;em&gt;that&lt;/em&gt; great, just choose a bigger model.&lt;/li&gt;
&lt;li&gt;pass the &lt;code&gt;-osrt&lt;/code&gt; flag to generate the output as a &lt;code&gt;.srt &lt;/code&gt;file&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This would be the final command to achieve the above:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;./main -m  models/ggml-medium.en.bin ./output2.wav -osrt
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This will generate subtitles in the file &lt;code&gt;output2.wav.srt&lt;/code&gt; and place it in the same directory.&lt;/p&gt;
&lt;p&gt;Open this file and do some minor manual editing if necessary.&lt;/p&gt;
&lt;p&gt;Whisper is pretty good, but in some rare cases like for names, it may need some additional manual corrections.&lt;/p&gt;
&lt;h2 id=&#34;step-5-encoding-the-subtitle-file-to-the-original-videooptional&#34;&gt;Step 5: Encoding the subtitle file to the original video(optional)&lt;/h2&gt;
&lt;p&gt;The final step involves creating a video which has the subtitles embedded inside.
This can be easily achieved using a simple ffmpeg script:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ffmpeg -i input.mov -vf subtitles&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;output2.wav.srt final_with_sub.mp4
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The above script uses the &lt;code&gt;-vf&lt;/code&gt; flag to pass in the subtitle file. It generates the final output in a &lt;code&gt;.mp4&lt;/code&gt; format as well.&lt;/p&gt;
&lt;h2 id=&#34;step-6-boost-the-volume-of-videooptional&#34;&gt;Step 6: Boost the volume of video(optional)&lt;/h2&gt;
&lt;p&gt;If for some reason, you may want to increase the volume of the audio, you can achieve that also using ffmpeg with the -af param and passing the required audio.&lt;/p&gt;
&lt;p&gt;eg:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ffmpeg -i input.mov -vf subtitles&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;output2.wav.srt -af &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;volume=1.3&amp;#34;&lt;/span&gt; final_with_sub.mov
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;hr&gt;
&lt;p&gt;There you go. That&amp;rsquo;s all there is to adding custom subtitles to your videos!&lt;/p&gt;
&lt;p&gt;No need for any proprietary fancy video editing software.&lt;/p&gt;
&lt;p&gt;FFMPEG FTW ✨&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Speaking at MEC.Conf 2023</title>
      <link>https://aldrinjenson.com/highlights/speaking-at-mec.conf/</link>
      <pubDate>Sat, 07 Oct 2023 12:00:00 -0400</pubDate>
      
      <guid>https://aldrinjenson.com/highlights/speaking-at-mec.conf/</guid>
      <description>&lt;p&gt;This was one of the great memories!&lt;/p&gt;
&lt;p&gt;I was invited to give a talk on Free and Open Source Software (FOSS) to an audience of around 150 people.&lt;/p&gt;
&lt;p&gt;At first I was very hesitant. I gave the volunteers the contact number of a lot of other people. Still, in the end it came back to me due to multiple reasons. I spent days making a good presentation.&lt;/p&gt;
&lt;p&gt;And it paid off! it paid off big time!!&lt;/p&gt;
&lt;p&gt;This was one of the happiest moments. At the end of the talk, I got such great feedback that I was very proud and happy!&lt;/p&gt;
&lt;p&gt;I talked about FOSS, the origins, the 4 freedoms, why one should care, how to get started etc. This was a topic that was very close to my heart. The slides are &lt;a href=&#34;https://slides.aldrinjenson.com/introduction-to-foss/&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;center&gt;
  &lt;img src=&#34;https://aldrinjenson.com/images/til/speaking-at-mec.conf-image-4.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/speaking-at-mec.conf-image-5.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/speaking-at-mec.conf-image.jpg&#34; width=&#34;700&#34; alt=&#34;Me showing how Open Source helped me build one of the most used project of mine - MEC Diffusion&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;Me showing how Open Source helped me build one of the most used project of mine - MEC Diffusion&lt;/p&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/speaking-at-mec.conf-image-1.jpg&#34; width=&#34;700&#34; alt=&#34;&#34;&gt;
&lt;/center&gt;
&lt;center&gt;
  &lt;img loading=&#34;lazy&#34; decoding=&#34;async&#34; src=&#34;https://aldrinjenson.com/images/til/speaking-at-mec.conf-image-2.jpg&#34; width=&#34;700&#34; alt=&#34;With Iqbal and the organizing team&#34;&gt;
  &lt;p class=&#39;caption&#39;&gt;With Iqbal and the organizing team&lt;/p&gt;
&lt;/center&gt;
&lt;p&gt;I was heavily inspired by a good friend Abraham Raji and a lot of very enthusiastic people from the FOSS community, because of which all the effort put into the talk felt very much worth it.&lt;/p&gt;
&lt;p&gt;I used several real-life examples and analogies (the 4 Freedoms through a Masala Dosa example) to make the concepts much clearer and more relatable.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>How to add meta tags to a Streamlit app</title>
      <link>https://aldrinjenson.com/posts/adding-metatags-to-streamlit/</link>
      <pubDate>Sun, 27 Aug 2023 07:00:55 +0000</pubDate>
      
      <guid>https://aldrinjenson.com/posts/adding-metatags-to-streamlit/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Streamlit is a cool Python library to build GUIs for python based web-apps&lt;/li&gt;
&lt;li&gt;It doesn&amp;rsquo;t support the feature to provide custom meta-tags for the apps you make and instead always have the default streamlit-tags instead&lt;/li&gt;
&lt;li&gt;The following steps is based on deploying a streamlit app bundled as a docker which you can deploy in your VPS.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;workaround-tldr&#34;&gt;Workaround tl;dr&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Replace the default index file used by streamlit with our custom file containing meta tags of our own&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;pre-requisites&#34;&gt;Pre-requisites&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Ensure docker/docker-compose is installed on your VPS&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;steps&#34;&gt;Steps&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Create an index.html in the src directory with similar contents:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;html&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;lang&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;en&amp;#34;&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;head&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;meta&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;charset&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;UTF-8&amp;#34;&lt;/span&gt; /&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;link&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;rel&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;shortcut icon&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;href&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;./favicon.png&amp;#34;&lt;/span&gt; /&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;title&lt;/span&gt;&amp;gt;Your Site Name&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;title&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;script&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      window.&lt;span style=&#34;color:#a6e22e&#34;&gt;prerenderReady&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;!&lt;/span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;script&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#75715e&#34;&gt;&amp;lt;!-- changes to be made here --&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;script&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;defer&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;defer&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;src&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;./static/js/main.dccfd6b5.js&amp;#34;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;script&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;link&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;href&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;./static/css/main.f4a8738f.css&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;rel&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;stylesheet&amp;#34;&lt;/span&gt; /&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#75715e&#34;&gt;&amp;lt;!-- changes to be made above this --&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;meta&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;name&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;title&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;content&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Custom Title&amp;#34;&lt;/span&gt; /&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;head&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;body&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;noscript&lt;/span&gt;&amp;gt;You need to enable JavaScript to run this app.&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;noscript&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;div&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;id&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;root&amp;#34;&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;div&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;body&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;html&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Feel free to add in more meta tags of your choice.&lt;/p&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Update your dockerfile to have a line like the following:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-dockerfile&#34; data-lang=&#34;dockerfile&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;FROM&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; python:3.9&lt;/span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;WORKDIR&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt; /app&lt;/span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;COPY&lt;/span&gt; requirements.txt .&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;RUN&lt;/span&gt; pip install --no-cache-dir -r requirements.txt&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# important line for adding custom metatags&lt;/span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;COPY&lt;/span&gt; src/index.html /usr/local/lib/python3.9/site-packages/streamlit/static/index.html&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# ensure that the above line is present in your dockerfile&lt;/span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;COPY&lt;/span&gt; . .&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;CMD&lt;/span&gt; [&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;streamlit&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;run&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Home.py&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;--server.headless&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;true&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;--server.fileWatcherType&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;none&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;--browser.gatherUsageStats=False&amp;#34;&lt;/span&gt;]&lt;span style=&#34;color:#960050;background-color:#1e0010&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Basically we&amp;rsquo;re copying the index file to replace the streamlit default index.html inside the docker container.&lt;/p&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Start the container. eg: &lt;code&gt;docker-compose up&lt;/code&gt;
You&amp;rsquo;ll notice that what you get is just a white screen in the streamlit app endpoint. This is because the javascript is not loaded yet.&lt;/li&gt;
&lt;li&gt;Find the pid of the container(&lt;code&gt;docker ps&lt;/code&gt;) and exec into it to run bash&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker exec -it &amp;lt;pid&amp;gt; bash
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This basically lets you go inside the running container and inspect it using bash. Replace the PID with the PID of your container&lt;/p&gt;
&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;
&lt;p&gt;Go to the path &lt;code&gt;/usr/local/lib/python3.9/site-packages/streamlit/static/static/js&lt;/code&gt; inside the interactive bash shell inside container.
Note that the python3.9 may be different in your case. In that case, just let &lt;code&gt;cd&lt;/code&gt; + &lt;code&gt;tab&lt;/code&gt; autocomplete the path for you based on the python version you have installed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Now do an &lt;code&gt;ls&lt;/code&gt; like the following:&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ls main*.js
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;6&#34;&gt;
&lt;li&gt;Copy the full filename of this file and replace it in the script tag of the index.html file we created earlier.&lt;/li&gt;
&lt;li&gt;Restart the container.(rebuild if necessary too).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This should let the javascript load correctly and have your project be loaded fine with custom meta tags.&lt;/p&gt;
&lt;p&gt;If you note that somehow css seems to have broken, then just &lt;code&gt;cd&lt;/code&gt; to &lt;code&gt;/usr/local/lib/python3.9/site-packages/streamlit/static/static/css&lt;/code&gt; inside the container and do an ls like:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ls main.*.css
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Once you identify the the main css file, replace main.f4a8738f.css in the index.html file with this one.&lt;/p&gt;
&lt;p&gt;Essentially, we&amp;rsquo;re replacing the basic html file from streamlit with our custom file and then loading the streamlit libraries(js and css) from their path inside the docker container.&lt;/p&gt;
&lt;p&gt;Alright, with these steps, you should easily be able to create a streamlit application with custom Meta-tags.&lt;/p&gt;
&lt;h2 id=&#34;bonus-tip&#34;&gt;Bonus tip&lt;/h2&gt;
&lt;p&gt;Maybe you are already aware of this, but to get meta images freely hosted, just paste your images to postimg.cc site. Upload the image and then paste the url to the meta image tag as the following:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;meta&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;property&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;og:image&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;content&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;https://i.postimg.cc/&amp;lt;code&amp;gt;/image.png&amp;#34;&lt;/span&gt; /&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;meta&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;property&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;twitter:image&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;content&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;https://i.postimg.cc/&amp;lt;code&amp;gt;/image.png&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;/&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Tada✨&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>I wrote a poem in 10 minutes!</title>
      <link>https://aldrinjenson.com/posts/i-wrote-poems-in-10-mins/</link>
      <pubDate>Mon, 03 Jul 2023 21:56:59 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/i-wrote-poems-in-10-mins/</guid>
      <description>&lt;p&gt;Yes chatGPT is involved. But way lesser than you think.&lt;/p&gt;
&lt;h2 id=&#34;what-happened&#34;&gt;What happened&lt;/h2&gt;
&lt;p&gt;Inspiration randomly stuck and I wrote this poem within 2-3 minutes (Yes, I noted the time. It&amp;rsquo;s definitely lesser than 4 minutes).&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-md&#34; data-lang=&#34;md&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh what is love,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but a fleeting romance
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh, what is anger,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but a fleeting moment of rage..
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh what is passion,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but a fleeting glimpse of action
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh what is disgust,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but a fleeting moment of distate
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh, in this world, what is real
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but not a fleeting moment of emotion
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh why do we care so much
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;for something that is fleeting..
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh, for validation and appreciation
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;isn&amp;#39;t worth the subjugation
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh, for anger and annoyance,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;isn&amp;#39;t worth the pain
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Everything is temporary
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Everything is fleeting
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Why hurt yourself
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Trying so hard
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;in this fleeting world..
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;It&amp;rsquo;s a short about the fleeting momentary thing in life, proving that in the end everything is fleeting, so why care so much about anything in particular.&lt;/p&gt;
&lt;p&gt;Now, after a few hours, I randomly thought, why don&amp;rsquo;t I just put it into chatGPT and see if it can improve. This was the prompt:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;This is a short poem I wrote in less than a minute about the fleeting momentary feelings of life, proving that in the end everything is fleeting, so why care so much about others. What do you think? How to improve? [Paste poem here]&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr&gt;
&lt;p&gt;This was the response:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Your poem captures the essence of fleeting emotions and the transient nature of life. Here are a few suggestions to enhance it:&lt;/p&gt;
&lt;/blockquote&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-md&#34; data-lang=&#34;md&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh, what is love,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but a fleeting dance of hearts
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh, what is anger,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but a fleeting storm that departs
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh, what is passion,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but a fleeting flame that ignites
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh, what is disgust,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but a fleeting shadow that bites
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;In this vast world, what is real,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but fleeting moments we borrow
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Why then obsess and cling,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;to what brings only sorrow
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Validation and appreciation,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;not worth sacrificing our worth
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Anger and annoyance,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;not worth the pain we unearth
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Everything in life is transient,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;like ripples in the wind
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Why exhaust ourselves chasing,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;what soon begins to rescind
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Embrace the fleeting nature,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;with a heart light and free
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;For in acceptance we find solace,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;and true contentment shall be.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;mind--blown&#34;&gt;Mind = Blown🤯&lt;/h2&gt;
&lt;p&gt;I was blown away by the response. It rightly added rhyming schemes while correctly keeping the message of the poem.&lt;/p&gt;
&lt;p&gt;I tried one more variation that was okayish, but nothing too spectacular as this one.&lt;/p&gt;
&lt;p&gt;So I then took parts from both and rewrote some lines myself to finally I have this final piece that took all around 10 minutes in total, right from the writing phase. Here goes:&lt;/p&gt;
&lt;h2 id=&#34;fleeting&#34;&gt;Fleeting&lt;/h2&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-md&#34; data-lang=&#34;md&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh, what is love,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but a fleeting dance of hearts
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh, what is anger,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but a fleeting storm that departs
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh, what is passion,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but a fleeting flame that ignites
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Oh, what is disgust,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but a fleeting shadow that bites
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;In this vast world, what is real,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;but fleeting moments we borrow
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Why then hold on so tightly,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;to what slips away so fast?
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Validation and appreciation,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mere whispers in the breeze
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Anger and annoyance,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;like waves upon the seas
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Everything in life is transient,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;like ripples in the wind
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Why exhaust ourselves chasing,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;what soon begins to rescind
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;So embrace the fleeting nature,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;with a heart light and free
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;For in acceptance we find solace,
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;and contentment shall ours be.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;-&lt;/span&gt; Aldrin Jenson and ChatGPT
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;afterthoughts&#34;&gt;Afterthoughts&lt;/h2&gt;
&lt;p&gt;I think this revolution of AI tools going on right now is awesome. I have never studied any formal music or song writing. In fact I have ever written only a handful of writings that can even borderline be close to a poem.&lt;/p&gt;
&lt;p&gt;But now, I was able to jot down my ideas and chatGPT gave me a piece of writing that I am quite happy to share with others and convey the same feelings and ideas I wanted to convey with them.&lt;/p&gt;
&lt;br/&gt;
&lt;p&gt;I asked chatGPT in a fresh chat instance to write a poem about: &lt;code&gt;the fleeting momentary feelings of life proving that in the end everything is fleeting, so why care so much about others&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;But this one turned out to be extremely different from the key aspects I came up with. Thus, my point being is that, with AI tools like chatGPT, the common man can now do things like an average trained person. Of course chatGPT can never make me a professional song writer (yet🤞). There may be people who are more capable, but maybe chatGPT can give me average performance to proudly share my ideas as a poem or a literature work without being too embarrassed about conveying the idea through a poem at all due to the fear of being judged at the poor writing skills? Maybe, whatever teh case, I think this is a win for a poem written in just 10 minutes :)&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Easy SSH based Continuous delivery pipeline</title>
      <link>https://aldrinjenson.com/posts/easy-ssh-deploy/</link>
      <pubDate>Tue, 25 Apr 2023 00:32:13 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/easy-ssh-deploy/</guid>
      <description>&lt;p&gt;If you have a Virtual Private Server(VPS) and want to have the code you push to github/VCS, be deployed in your server, here is a super simple and quick way to do so.&lt;/p&gt;
&lt;p&gt;It basically involves creating a github action workflow that does the following.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-yml&#34; data-lang=&#34;yml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Deploy to Server&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;on&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;push&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;branches&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#ae81ff&#34;&gt;main&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;jobs&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;deploy&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;runs-on&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;ubuntu-latest&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;steps&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Install sshpass&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;run&lt;/span&gt;: |&lt;span style=&#34;color:#e6db74&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;          &lt;/span&gt;          &lt;span style=&#34;color:#ae81ff&#34;&gt;sudo apt install sshpass -y&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Git pull and Deploy with Docker Compose&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;run&lt;/span&gt;: |&lt;span style=&#34;color:#e6db74&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;          &lt;/span&gt;          &lt;span style=&#34;color:#ae81ff&#34;&gt;sshpass -p ${{ secrets.SERVER_PASS }} ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_NAME }} &amp;#34;cd project-folder &amp;amp;&amp;amp; git pull &amp;amp;&amp;amp; docker compose up -d&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;pre-requisites&#34;&gt;Pre-Requisites&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Install git and docker on your VM&lt;/li&gt;
&lt;li&gt;configure your vm for ssh&lt;/li&gt;
&lt;li&gt;store the server ssh url and server ssh password as github secrets with the same variable names as mentioned above in the workflow&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;what-the-workflow-does&#34;&gt;What the workflow does&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Installs &lt;code&gt;sshpass&lt;/code&gt; on the github VM&lt;/li&gt;
&lt;li&gt;Does SSH to your VM with &lt;code&gt;sshpass&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Runs the command to
&lt;ul&gt;
&lt;li&gt;git clone the repository&lt;/li&gt;
&lt;li&gt;run the command to start the project(&lt;code&gt;docker compose up&lt;/code&gt; in this case )&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;customisability&#34;&gt;Customisability&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Currently it&amp;rsquo;s based on docker. But you can easily replace the final command with anything else to build your product (eg: &lt;code&gt;make&lt;/code&gt; or &lt;code&gt;npx serve&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Replace &lt;code&gt;project-folder&lt;/code&gt; with the path to the folder in which you have the project. sshpass will run the command to clone the latest version from VCS to this folder and will run the start/build/serve command.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;for-aws-ec2-or-servers-requiring-pem-file-based-auth&#34;&gt;For AWS ec2 or servers requiring pem file based auth&lt;/h2&gt;
&lt;p&gt;Use the following workflow yaml&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Deploy to AWS EC2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;on&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;push&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;branches&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#ae81ff&#34;&gt;main&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;jobs&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;deploy&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;runs-on&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;ubuntu-latest&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;steps&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Add SSH Key&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;run&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;echo &amp;#34;${{ secrets.AWS_SECRET }}&amp;#34; &amp;gt; ssh_key.pem &amp;amp;&amp;amp; chmod 600 ssh_key.pem&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Deploy to AWS EC2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;run&lt;/span&gt;: |&lt;span style=&#34;color:#e6db74&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;          &lt;/span&gt;          &lt;span style=&#34;color:#ae81ff&#34;&gt;ssh -i ssh_key.pem -o StrictHostKeyChecking=no ${{ secrets.EC2_ADDRESS }} &amp;#34;cd ~/project/ &amp;amp;&amp;amp; git pull origin main &amp;amp;&amp;amp; sudo docker compose restart&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;env&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#f92672&#34;&gt;PRIVATE_KEY&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;${{ secrets.DEPLOY_KEY }}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Just add the contents of pem file to AWS_SECRET. Then add the username@aws-ip to the EC2_ADDRESS secret as well&lt;/p&gt;
&lt;h2 id=&#34;how-did-this-come-to-be&#34;&gt;How did this come to be?&lt;/h2&gt;
&lt;p&gt;It basically started of by thinking about the steps you would do to push your code to production without having to automate it. This would come to have the following steps in a really high level way:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Pushing your local code to a VCS.&lt;/li&gt;
&lt;li&gt;SSH-ing to your VPS&lt;/li&gt;
&lt;li&gt;Pulling the code from VCS to the server&lt;/li&gt;
&lt;li&gt;Running the start command&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now, what are github actions? A way to run linux commands when certain events occur in github. So can we combine them both? Of course yes.
There you go.🙂&lt;/p&gt;
&lt;h2 id=&#34;things-to-note&#34;&gt;Things to note&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;I use ssh-pass to do steps 2,3 and 4 at once.
sshpass allows you to ssh to a server and run custom commands on it as the user doing SSH.&lt;/p&gt;
&lt;p&gt;You can also use rsync&lt;/p&gt;
&lt;p&gt;SSHPass is first installed in the serverless instance where the github action is run.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Store the SSH username and passwords as a Github secret to not let it be exposed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the workflow file, don&amp;rsquo;t have commands with any stateful logic as the workflow instance would be a fresh one each time.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
</description>
    </item>
    
    <item>
      <title>How to deploy an express application to serverless with AWS Lambda</title>
      <link>https://aldrinjenson.com/posts/serverless-express-api/</link>
      <pubDate>Sun, 26 Mar 2023 16:04:39 +0000</pubDate>
      
      <guid>https://aldrinjenson.com/posts/serverless-express-api/</guid>
      <description>&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;
&lt;p&gt;AWS Lambda is an easy way to set up APIs which you don&amp;rsquo;t use regularly. The free tier from AWS is very generous (1 million requests per month). I personally found it to be a pain to find an easy way to setup a CI/CD workflow with it. After several hours, here is the approach I made myself to have a super easy way to set up a pipeline to Lambda.&lt;/p&gt;
&lt;h1 id=&#34;steps&#34;&gt;Steps&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;Initialise a nodejs application if you don&amp;rsquo;t have one already&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;npm init
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Install the packages &lt;code&gt;express&lt;/code&gt; and &lt;code&gt;serverless-http&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;npm install express serverless-http
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;In the index.js file, create an express app and export it&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-js&#34; data-lang=&#34;js&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;express&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;require&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;express&amp;#34;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;app&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;express&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;app&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;get&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/&amp;#34;&lt;/span&gt;, (&lt;span style=&#34;color:#a6e22e&#34;&gt;_&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;res&lt;/span&gt;) =&amp;gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;res&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;send&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Server active&amp;#34;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;});
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;if&lt;/span&gt; (&lt;span style=&#34;color:#a6e22e&#34;&gt;process&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;env&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;isDev&lt;/span&gt;) {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;app&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;listen&lt;/span&gt;(&lt;span style=&#34;color:#ae81ff&#34;&gt;5000&lt;/span&gt;, () =&amp;gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;console&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;log&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;listening on port 5000&amp;#34;&lt;/span&gt;));
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;module&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;exports&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;app&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;Create a file called &lt;code&gt;lambda.js&lt;/code&gt; which takes this exported app and converts the routes to lambda functions using &lt;code&gt;serverless-http&lt;/code&gt; package.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-js&#34; data-lang=&#34;js&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;// lambda.js
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;use strict&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;app&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;require&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;./index&amp;#34;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;serverless&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;require&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;serverless-http&amp;#34;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;module&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;exports&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;handler&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;serverless&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;app&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;Create a &lt;code&gt;serverless.yml&lt;/code&gt; file like the one below. The service property can be renamed to anything you see fit.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;There needs to be only one handler. Any routes created using standard express convention will be automatically configured as lambda routes using the filename as the endpoint slug.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-yml&#34; data-lang=&#34;yml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;service&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;express-to-lambda&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;provider&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;aws&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;runtime&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;nodejs16.x&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;stage&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;prod&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;region&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;ap-south-1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;memorySize&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;512&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;functions&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;app&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;handler&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;lambda/lambda.handler&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;events&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f92672&#34;&gt;http&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#f92672&#34;&gt;path&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;/&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#f92672&#34;&gt;method&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;ANY&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#f92672&#34;&gt;cors&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f92672&#34;&gt;http&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#f92672&#34;&gt;path&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;/{proxy+}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#f92672&#34;&gt;method&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;ANY&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#f92672&#34;&gt;cors&lt;/span&gt;: &lt;span style=&#34;color:#66d9ef&#34;&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;NOTE: CORS is taken care by default in the above yml. If you would require fine grained control, you can add fine-grained and programmatic CORS control using the nodeJS CORS middleware.&lt;/p&gt;
&lt;ol start=&#34;6&#34;&gt;
&lt;li&gt;Deploy the functions&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Deploying to AWS Lambda is super easy and can be done by the &lt;code&gt;serverless&lt;/code&gt; nodejs library.
Run the following from the root directory of your project.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;npm i -g serverless
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;serverless config credentials --provider aws --key AWS_ACCESS_KEY_ID --secret  AWS_SECRET_ACCESS_KEY
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# replace the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY with your own values which can be received from AWS IAM&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;serverless deploy
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For easier way, wake it into a shell alias or add it as a script to do one command deploy as well. You can also try adding it as new workflow in github actions for getting CI/CD.&lt;/p&gt;
&lt;p&gt;There you go. That&amp;rsquo;s it. The above step may take some time, but with it, you would be able to deploy your express application with AWS Lambda.&lt;/p&gt;
&lt;h1 id=&#34;bonus&#34;&gt;Bonus&lt;/h1&gt;
&lt;p&gt;Setting up CI/CD pipeline to deploy from a github repo is super easy as well.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-yml&#34; data-lang=&#34;yml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# Place in .github/workflows/deploy.yml&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;deploy to lambda&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;on&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;push&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;branches&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;main&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;jobs&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;lambda-deploy&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;runs-on&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;ubuntu-latest&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;steps&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Checkout repo&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;uses&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;actions/checkout@v2&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Setup node environment&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;uses&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;actions/setup-node@v1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;with&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#f92672&#34;&gt;node-version&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;16&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Install serverless globally&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;run&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;npm install -g serverless&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Configure serverless authentication&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;run&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;sls config credentials --provider aws --key ${{ secrets.AWS_ACCESS_KEY_ID }} --secret ${{ secrets.AWS_SECRET_ACCESS_KEY }}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Install npm dependencies&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;run&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;npm ci&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;      - &lt;span style=&#34;color:#f92672&#34;&gt;name&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;Deploy lambda function&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;        &lt;span style=&#34;color:#f92672&#34;&gt;run&lt;/span&gt;: &lt;span style=&#34;color:#ae81ff&#34;&gt;sls deploy&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Add the AWS values AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in github secrets and you&amp;rsquo;re good to go. Now each time a new change is made and the code committed to the main branch, this workflow will run and the updated serverless function will be deployed to AWS Lambda✨&lt;/p&gt;
&lt;p&gt;By the way, small tip - when doing local development, you can just add the following dev script in &lt;code&gt;package.json&lt;/code&gt; to get live-reload as well.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-js&#34; data-lang=&#34;js&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;scripts&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;dev&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;isDev=true nodemon index.js&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  }
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Just run &lt;code&gt;npm run dev&lt;/code&gt; the next time when developing locally.&lt;/p&gt;
&lt;p&gt;Now, you can develope the function routes using the normal familiar express way, while also getting the ability to host these functions in a serverless environment on pushing to your VCS.&lt;/p&gt;
&lt;h2 id=&#34;remarks&#34;&gt;Remarks&lt;/h2&gt;
&lt;p&gt;I wrote it for IEDC during my tenure as CTO. Once this was made multiple students were using it our projects. We had several serverless functions running for sending emails, doing cleanups, knowing status etc. Everyone who used it really found the benefit of this, especially in such ease of getting started with development.&lt;/p&gt;
&lt;h3 id=&#34;extra-things-to-keep-in-mind&#34;&gt;Extra things to keep in mind&lt;/h3&gt;
&lt;p&gt;Do note that while lambda is great, it doesn&amp;rsquo;t usually go too well with things like puppeteer and other automation tools which spins up a full blown browser. You can get around this using special puppeteer packages made specifically for lambda. In our case, we had a small ec2 instance which was free and we just used that to run our puppeteer script quickly; Depending on your use case, you can do it either way✨.&lt;/p&gt;
&lt;h1 id=&#34;references&#34;&gt;References&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/IEDCMEC/lambda-functions&#34;&gt;https://github.com/IEDCMEC/lambda-functions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://aws.amazon.com/lambda&#34;&gt;https://aws.amazon.com/lambda&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;ChatGPT&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>How to SSH to Termux Shell</title>
      <link>https://aldrinjenson.com/posts/ssh-termux/</link>
      <pubDate>Fri, 27 Jan 2023 03:06:56 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/ssh-termux/</guid>
      <description>&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;
&lt;p&gt;Easy way to ssh to termux shell running on Android&lt;/p&gt;
&lt;h1 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;A device running Android with Termux installed&lt;/li&gt;
&lt;li&gt;A Linux machine with OpenSSH installed&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;steps&#34;&gt;Steps&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Find the IP address of termux using the following command&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ip addr | grep &lt;span style=&#34;color:#ae81ff&#34;&gt;192&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;install open ssh&lt;/li&gt;
&lt;li&gt;start ssh service using the following&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sshd
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;Find hostname of termux machine using &lt;code&gt;hostname&lt;/code&gt; command&lt;/li&gt;
&lt;li&gt;From host machine, perform ssh using the following command&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  ssh -p &lt;span style=&#34;color:#ae81ff&#34;&gt;8022&lt;/span&gt; $hostname@$phoneIp
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;6&#34;&gt;
&lt;li&gt;The END&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;Tada, You&amp;rsquo;ve successfully done ssh to termux✨&lt;/p&gt;
&lt;p&gt;Use termux to start web-servers (Apache, Nginx etc) just like you would normally do in a Linux machine and you can expose it to the internet using free services like ngrok.&lt;/p&gt;
&lt;h2 id=&#34;bonus-tip&#34;&gt;Bonus Tip&lt;/h2&gt;
&lt;p&gt;replace &lt;code&gt;ssh&lt;/code&gt; in step 5 using &lt;code&gt;sftp&lt;/code&gt; and suddenly you now have an extremely safe and easy way to transfer files to and from your phone. You&amp;rsquo;re welcome😊&lt;/p&gt;
&lt;h2 id=&#34;troubleshooting&#34;&gt;Troubleshooting&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Connection refused: Make sure that your device is connected to the same network as your Linux machine and that the SSH service is running on Termux.&lt;/li&gt;
&lt;li&gt;Incorrect IP address: Double-check that you have the correct IP address of your device.&lt;/li&gt;
&lt;li&gt;Firewall issues: Make sure that your firewall is not blocking the SSH connection.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;additional-resources&#34;&gt;Additional Resources&lt;/h2&gt;
&lt;p&gt;-&lt;a href=&#34;https://wiki.termux.com/wiki/Main_Page&#34;&gt;Termux Wiki&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;-&lt;a href=&#34;https://www.openssh.com/&#34;&gt;OpenSSH&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>How to crack almost any OS password </title>
      <link>https://aldrinjenson.com/posts/crack-os-password/</link>
      <pubDate>Mon, 16 Jan 2023 02:33:48 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/crack-os-password/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Use the infamous &lt;a href=&#34;https://github.com/ohmybahgosh/RockYou2021.txt&#34;&gt;RockYou.txt&lt;/a&gt; password list containing 14 million used passwords to brute force the user passwords in almost any system you&amp;rsquo;ve got&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Your computer is not safe, make your password stronger&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;boot into the system using kali live usb&lt;/li&gt;
&lt;li&gt;create a hash of etc password and etc shadow (default location where passwords are stored in Linux)&lt;/li&gt;
&lt;li&gt;crack it using tools like john the ripper&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;steps&#34;&gt;Steps&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Create a live USB of Kali Linux&lt;/li&gt;
&lt;li&gt;Boot into this usb from the victim&amp;rsquo;s computer&lt;/li&gt;
&lt;li&gt;mount the root partition under /mnt&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;lsblk &lt;span style=&#34;color:#75715e&#34;&gt;# shows connected drives&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mount /dev/sda2 /mnt  &lt;span style=&#34;color:#75715e&#34;&gt;# mount the drive in /mnt. You&amp;#39;ll have to change the sda name according to lsblk output&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;Navigate to etc from /mnt and create hash out of shadow and password file using the &lt;code&gt;unshadow&lt;/code&gt; util of kali linux. Save this in the home directory&lt;/li&gt;
&lt;/ol&gt;
&lt;blockquote&gt;
&lt;p&gt;In linux, the passwords of all users are stored as a hash in a /etc/shadow file. The corresponding names can be taken from &lt;code&gt;/etc/password&lt;/code&gt; file&lt;/p&gt;
&lt;/blockquote&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo unshadow /etc/passwd /etc/shadow &amp;gt; ~/shadowhash &lt;span style=&#34;color:#75715e&#34;&gt;#storing the unshadowed file in home directory&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;Crack this using tools like &lt;a href=&#34;https://www.openwall.com/john/&#34;&gt;john-the-ripper&lt;/a&gt;. Pass in a wordlist if the password may be complex.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;john --format&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;crypt shadowhash
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# or&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;john shadowhash --wordlist&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;/usr/share/wordlists/rockyou.txt
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This should give you the password in plain text format for the victim&amp;rsquo;s OS in 70% + cases.&lt;/p&gt;
&lt;br&gt;
Reboot the system and log in to the victim&#39;s OS with cracked password to gain full access to the system.
&lt;p&gt;Note: This article focuses only on Linux machines. However, keep in mind that similar thing can be used for Windows systems as well.&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;P.S. It goes without saying that the purpose of the article is to show that we need to have a really complex password in our computers. Otherwise it can be cracked like above. Use proper long passwords containing both alphanumeric and special characters. Add a personal tinge something to the password as well so that it cannot be directly matched from a wordlist.&lt;/p&gt;
&lt;p&gt;The End&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Redirecting Subdomains to docker containers in same server</title>
      <link>https://aldrinjenson.com/posts/redirect-subdomains-to-docker/</link>
      <pubDate>Sun, 25 Dec 2022 18:15:07 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/redirect-subdomains-to-docker/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Article on how to have multiple running docker containers (or any other web servers) and have separate subdomains which map to these services.&lt;/p&gt;
&lt;!-- Bonus tip on how to add https on these as well :) --&gt;
&lt;h2 id=&#34;requirements&#34;&gt;Requirements&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;A Linux machine on which you have docker containers running&lt;/li&gt;
&lt;li&gt;SSH access to this Linux machine.&lt;/li&gt;
&lt;li&gt;DNS management access.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;steps&#34;&gt;Steps&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Start by installing a tool to manage a reverse proxy. nginx is a really good option.&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo apt install nginx
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;
&lt;p&gt;Ensure that you can access your docker containers locally using curl/wget command.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start running your services or docker containers to which you want to route traffic&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cd &amp;lt;your_project_folder&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;docker-compose up &lt;span style=&#34;color:#75715e&#34;&gt;# or whatever other command you have assigned to start your server.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;Find the port in which your container or services re running. Double check and ensure that the API is working fine in localhost, using the following commands&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ss -lntp &lt;span style=&#34;color:#75715e&#34;&gt;# check that the correct port is exposed.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;curl localhost:PORT &lt;span style=&#34;color:#75715e&#34;&gt;# verify that you get the expected response.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;Decide on the subdomains to which you want to route traffic and add them using your dns management console&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Here&amp;rsquo;s an example image using cloudflare&lt;/p&gt;
&lt;center&gt;
	&lt;image src=&#34;https://aldrinjenson.com/images/ssl/cloudflareDns.png&#34; alt=&#34;Cloudflare DNS - Adding new subdomain&#34;&gt;&lt;/image&gt;
&lt;p class=&#39;caption&#39;&gt;Cloudflare DNS - Adding new subdomain(replace the ip with your server&#39;s public ip)&lt;/p&gt;
&lt;/center&gt;
&lt;p&gt;Note: You can get the public IP of your server using the following &lt;code&gt;curl&lt;/code&gt; command&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;curl ipinfo.io/ip
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;6&#34;&gt;
&lt;li&gt;Once you add a subdomain in cloudflare, the next step is to ask nginx to route traffic from these subdomains to the docker services. This can be achieved by the following configuration in &lt;code&gt;/etc/nginx/nginx.conf&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-nginx&#34; data-lang=&#34;nginx&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;http&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   	&lt;span style=&#34;color:#f92672&#34;&gt;server&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   	    &lt;span style=&#34;color:#f92672&#34;&gt;listen&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;80&lt;/span&gt;; &lt;span style=&#34;color:#75715e&#34;&gt;# replace with the line below if ssl support is added
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#       listen 443 ssl;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;   	    &lt;span style=&#34;color:#f92672&#34;&gt;server_name&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;subdomain.your-domain.com&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#    	    ssl_certificate /etc/letsencrypt/live/subdomain.domain.com/fullchain.pem;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;#    	    ssl_certificate_key /etc/letsencrypt/live/subdomain.domain.com/privkey.pem;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   	    &lt;span style=&#34;color:#f92672&#34;&gt;location&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;/&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   	        &lt;span style=&#34;color:#f92672&#34;&gt;proxy_pass&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;http://localhost:9000&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   	        &lt;span style=&#34;color:#f92672&#34;&gt;proxy_set_header&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;Host&lt;/span&gt; $host;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   	        &lt;span style=&#34;color:#f92672&#34;&gt;proxy_set_header&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;X-Real-IP&lt;/span&gt; $remote_addr;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   	        &lt;span style=&#34;color:#f92672&#34;&gt;proxy_set_header&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;X-Forwarded-For&lt;/span&gt; $proxy_add_x_forwarded_for;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   	        &lt;span style=&#34;color:#f92672&#34;&gt;proxy_set_header&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;X-Forwarded-Proto&lt;/span&gt; $scheme;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   	    }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   	}
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The ssl_certificate fields are optional and need to be added only if you want to add https in your subdomain. For more details on adding SSL to your subdomain using &lt;code&gt;certbot&lt;/code&gt;, checkout &lt;a href=&#34;../set-up-ssl&#34;&gt;this link&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Alright, that&amp;rsquo;s it. Now you can navigate to http:&amp;lt;you_subdomain&amp;gt;.&amp;lt;your_domain_with_tld&amp;gt; to access your API.&lt;/p&gt;
&lt;p&gt;You can add multiple subdomains and add other server blocks like above in nginx.conf file.&lt;/p&gt;
&lt;p&gt;Tada✨&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>How to add SSL and make a server https</title>
      <link>https://aldrinjenson.com/posts/set-up-ssl/</link>
      <pubDate>Sun, 25 Dec 2022 18:14:39 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/set-up-ssl/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;An easy way to set up Secure Socket Layer (SSL) on a web server without having necessary nginx installation. SSL is a security protocol that encrypts data sent between a client and a server, helping to protect against hacking and other online threats. By enabling SSL on your web server, you can ensure that sensitive data sent to and from your server is protected.&lt;/p&gt;
&lt;h2 id=&#34;requirements&#34;&gt;Requirements&lt;/h2&gt;
&lt;p&gt;To set up SSL on your server, you will need the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A Linux machine on which you want to enable SSL.&lt;/li&gt;
&lt;li&gt;SSH access to the Linux machine.&lt;/li&gt;
&lt;li&gt;A web server that listens on a route for requests.&lt;/li&gt;
&lt;li&gt;DNS management access.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;steps-to-follow&#34;&gt;Steps to follow&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Install the certbot package on your machine. Certbot is a tool for interacting with Letsencrypt, a free, automated, and open certificate authority. You can install Certbot using the following command:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo apt-get install certbot
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Find the public IP address of your machine. You can get it from the cloud console of your cloud provider, or by running the following command:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;curl ipinfo.io/ip
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Go to the DNS manager and add a new DNS entry for the server domain for which you want to enable SSL. For example, if you want to add SSL for the domain &amp;lt;your.domain.tld&amp;gt;, you would add a DNS entry for the public IP address of your server.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;4 a. Run Certbot to generate an SSL certificate for this domain using the command:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo certbot certonly --standalone
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;4 b. If you&amp;rsquo;re having nginx already running, then use the following command instead:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo certbot --nginx --domain &amp;lt;your.domain.name&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Note: If you get the error: &lt;code&gt;The requested nginx plugin does not appear to be installed&lt;/code&gt; on running the above command(usually on the first time), just install the cerbot-nginx plugin using the following:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo apt install python3-certbot-nginx
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;
&lt;p&gt;Follow the instructions provided by the Certbot wizard. At the end, you will have SSL certificate .pem files stored in the location /etc/letsencrypt/live/&amp;lt;your.url.entered&amp;gt;. Make note of this location, as you will need it later.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start your web server and note down the port on which it is listening (e.g. 8080).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add the path to the SSL certificate and private key generated earlier to your web server. The process for doing this will depend on the type of web server you are using.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For example, if you are using a Node.js server, you can do it using the following code:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-javascript&#34; data-lang=&#34;javascript&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;express&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;require&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;express&amp;#34;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;https&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;require&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;https&amp;#34;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;fs&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;require&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;fs&amp;#34;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;app&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;express&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;// Read SSL certificate and private key
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;options&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;key&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;fs&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;readFileSync&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/etc/letsencrypt/live/&amp;lt;your.domain.tld&amp;gt;/privkey.pem&amp;#34;&lt;/span&gt;),
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;cert&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;fs&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;readFileSync&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/etc/letsencrypt/live/&amp;lt;your.domain.tld&amp;gt;/cert.pem&amp;#34;&lt;/span&gt;),
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;};
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;// Define GET method in the root route
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;app&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;get&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;/&amp;#34;&lt;/span&gt;, (&lt;span style=&#34;color:#a6e22e&#34;&gt;req&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;res&lt;/span&gt;) =&amp;gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;res&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;send&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Hello, World!&amp;#34;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;});
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;// Create HTTPS server
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;https&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;createServer&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;options&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;app&lt;/span&gt;).&lt;span style=&#34;color:#a6e22e&#34;&gt;listen&lt;/span&gt;(&lt;span style=&#34;color:#ae81ff&#34;&gt;443&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;console&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;log&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Server listening on port 443&amp;#34;&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For nginx, you will have a server block having configuration similar to the following:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-nginx&#34; data-lang=&#34;nginx&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	&lt;span style=&#34;color:#66d9ef&#34;&gt;server&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	    &lt;span style=&#34;color:#f92672&#34;&gt;listen&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;443&lt;/span&gt;; &lt;span style=&#34;color:#75715e&#34;&gt;# listens for https requests
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;	    &lt;span style=&#34;color:#f92672&#34;&gt;server_name&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;your.domain.tld&amp;gt;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    	    &lt;span style=&#34;color:#f92672&#34;&gt;ssl_certificate&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;/etc/letsencrypt/live/&amp;lt;your.domain.tld&amp;gt;/fullchain.pem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    	    &lt;span style=&#34;color:#f92672&#34;&gt;ssl_certificate_key&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;/etc/letsencrypt/live/&amp;lt;your.domain.tld&amp;gt;/privkey.pem&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;          &lt;span style=&#34;color:#75715e&#34;&gt;# serves the files mentioned here
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;	    &lt;span style=&#34;color:#f92672&#34;&gt;location&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;/&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	        &lt;span style=&#34;color:#f92672&#34;&gt;root&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;/usr/share/nginx/html&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	        &lt;span style=&#34;color:#f92672&#34;&gt;index&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;index.html&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;index.htm&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	    }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;There you go, by now you should have the web server listening to https request on port 443✨.&lt;/p&gt;
&lt;p&gt;To configure SSL for other types of web servers, such as Apache or even a Python/Flask server, you will need to consult the documentation for those servers.&lt;/p&gt;
&lt;p&gt;But essentially, the process is simple. Generate ssl certificate for a site that has a DNS entry pointing to the public IP address of your server and have this certificate be referenced in code of your web server.&lt;/p&gt;
&lt;p&gt;You can even write redirect rules which automatically forwards/redirects a request in http to https.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s a demo using nginx.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-nginx&#34; data-lang=&#34;nginx&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; 	&lt;span style=&#34;color:#66d9ef&#34;&gt;server&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; 	    &lt;span style=&#34;color:#f92672&#34;&gt;server_name&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;lt;your.domain.tld&amp;gt;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    	    &lt;span style=&#34;color:#75715e&#34;&gt;# to redirect http requests automatically to https
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt; 	    &lt;span style=&#34;color:#f92672&#34;&gt;return&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;301&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;https://&lt;/span&gt;$host$request_uri;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;references&#34;&gt;References&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://letsencrypt.org/getting-started/&#34;&gt;Letsencrypt Getting Started&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04&#34;&gt;How To Set Up a Self-Signed SSL Certificate for Apache in Ubuntu 20.04&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://nginx.org/en/docs/http/configuring_https_servers.html&#34;&gt;Nginx SSL Configuration&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;https://chat.openai.com/&#34;&gt;Chat GPT&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>Notes</title>
      <link>https://aldrinjenson.com/posts/notes/</link>
      <pubDate>Mon, 12 Sep 2022 19:02:56 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/notes/</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Reverting back git history from a commit:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git revert --no-commit 0766c053..HEAD
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git commit
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&#34;https://stackoverflow.com/a/21718540/11879596&#34;&gt;source: stackoverflow&lt;/a&gt;&lt;/p&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;getting the IP Address quickly in most linux systems including termux:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ip a | grep inet
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Downloading protected PDFs from google drive and having them be searchable:&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://bytesbin.com/download-view-only-pdf-google-drive/&#34;&gt;https://bytesbin.com/download-view-only-pdf-google-drive/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://askubuntu.com/a/474324&#34;&gt;https://askubuntu.com/a/474324&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;Finding the public IP of a computer or server&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;curl ipinfo.io/ip
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;(Optional) Create a bash alias like the following to make it even easier&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;alias whatismypublicip&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;curl ipinfo.io/ip&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;5&#34;&gt;
&lt;li&gt;
&lt;p&gt;Removing sensitive data after having it be committed to github
&lt;code&gt;Use git filter branch&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Getting saved wifi passwords from a linux machine&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cd /etc/NetworkManager/system-connections/
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ls
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;# find the correct connection-name / wifi SSID&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cat &amp;lt;connection-name&amp;gt; | grep psk
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>How we hacked an entire computer lab✨</title>
      <link>https://aldrinjenson.com/posts/hacking-cs-lab/</link>
      <pubDate>Tue, 26 Jul 2022 19:09:07 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/hacking-cs-lab/</guid>
      <description>&lt;p&gt;Linux is cool.&lt;/p&gt;
&lt;p&gt;Computer Networks is cool.&lt;/p&gt;
&lt;p&gt;Rick roll is cool.&lt;/p&gt;
&lt;p&gt;Our lab teacher - Titty sir, is definitely cool.&lt;/p&gt;
&lt;p&gt;So, hacking all the computers over there, should be cool too.?🙂&lt;/p&gt;
&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Short write up of how I wrote a script to play rick roll in all computers in our lab. 🙂&lt;/p&gt;
&lt;center&gt;
  &lt;video preload=&#34;metadata&#34; alt=&#34;demo of us rick-rolling&#34; src=&#34;https://aldrinjenson.com/videos/hackCSLab.mp4&#34; controls muted poster=&#34;/thumbs/hackCSLab.jpg&#34; &gt;&lt;/video&gt;
  &lt;p class=&#39;caption&#39;&gt;In hindsight, should have added the --fullscreen flag to the browser as well!&lt;/p&gt;
&lt;/center&gt;
&lt;ol&gt;
&lt;li&gt;find your ip address using&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ip a | grep 192.
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;center&gt;
  &lt;image src=&#34;https://aldrinjenson.com/images/hackCsLab/ipGrep.jpg&#34; alt=&#34;ip grep image&#34;&gt;&lt;/image&gt;
  &lt;p class=&#39;caption&#39;&gt;
  If the computer is connected to two or more networks(ethernet and wifi for example) the above would result in more than one entries.
  Note that the address ending with 255 is for broadcast and hence should not be used.
  &lt;/p&gt;
&lt;/center&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Get the list of all devices connected to your network using the &lt;strong&gt;nmap&lt;/strong&gt; tool&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo nmap -sn 192.168.143.0-255
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo nmap -sn 192.168.143.0-255 &amp;gt; ips.txt &lt;span style=&#34;color:#75715e&#34;&gt;# to store output to a file&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;3&#34;&gt;
&lt;li&gt;Install &lt;a href=&#34;https://man.archlinux.org/man/sshpass.1&#34;&gt;sshpass&lt;/a&gt; on your host machine&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo apt install sshpass
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;(i) Create simple bash script to ssh into one file and remotely execute a command&lt;/li&gt;
&lt;/ol&gt;
&lt;center&gt;
  &lt;image src=&#34;https://aldrinjenson.com/images/hackCsLab/remoteExec.jpg&#34; alt=&#34;Remote exec sample script&#34;&gt;&lt;/image&gt;
  &lt;p class=&#39;caption&#39;&gt;
  Simple script to remotely execute a command in a single client machine in network using sshpass.
  &lt;/p&gt;
&lt;/center&gt;
&lt;ol start=&#34;4&#34;&gt;
&lt;li&gt;(ii) Create script to loop through the script and remotely execute a command.&lt;/li&gt;
&lt;/ol&gt;
&lt;center&gt;
  &lt;image src=&#34;https://aldrinjenson.com/images/hackCsLab/loopIpScript.jpg&#34; alt=&#34;sample script for looping over ips and executing a bash command&#34;&gt;&lt;/image&gt;
  &lt;p class=&#39;caption&#39;&gt;
  Simple script to loop over a set of ips and execute a bash command.
  &lt;/p&gt;
&lt;/center&gt;
&lt;h2 id=&#34;afterthoughts&#34;&gt;Afterthoughts&lt;/h2&gt;
&lt;p&gt;There you go. This script should let you run a command remotely in all the devices in your network.&lt;/p&gt;
&lt;p&gt;I used this only once for playing rickRoll in all the computers in our lab just as a proof of concept.&lt;/p&gt;
&lt;p&gt;Now, even though we demoed using a rick roll, just know that if one could do this much, really dangerous stuff can be done once access to these many computers are granted. Stuff can range from crypto-mining to running keyloggers for accessing passwords of students.&lt;/p&gt;
&lt;p&gt;This worked perfectly in our case because the passwords of all the computers were same. In little more stricter scenarios, the passwords being same are rare and hence you&amp;rsquo;d need to create separate files to map the ips to passwords before looping through.&lt;/p&gt;
&lt;p&gt;Finally, we were able to pull this off only because the staff in CS Lab were kind and understanding of the student&amp;rsquo;s curiosity and interest to explore stuff.✨&lt;/p&gt;
&lt;p&gt;I suppose I should mention that this is a powerful method and you should use it only with care respecting privacy of others in the network.🙂&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Speaking at IndiaFOSS 2.0 — and how Murphy&#39;s Law made it interesting</title>
      <link>https://aldrinjenson.com/posts/i-gave-a-talk/</link>
      <pubDate>Tue, 26 Jul 2022 19:09:07 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/i-gave-a-talk/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;
&lt;p&gt;I was selected to deliver a Flash Talk at &lt;strong&gt;IndiaFOSS 2.0&lt;/strong&gt;, held on &lt;strong&gt;July 23–24, 2022 at the NIMHANS Convention Centre in Bengaluru&lt;/strong&gt;. IndiaFOSS is the flagship annual Free and Open Source Software conference organised by the &lt;a href=&#34;https://fossunited.org/&#34;&gt;FOSS United Foundation&lt;/a&gt;, and the 2.0 edition received approximately 122 talk submissions of which around 30 were selected through peer review — about a 25% acceptance rate. This was my first time speaking at a conference of this scale, and as it turned out, &lt;a href=&#34;https://en.wikipedia.org/wiki/Murphy&#39;s_law&#34;&gt;Murphy&amp;rsquo;s Law&lt;/a&gt; had plans of its own.&lt;/p&gt;
&lt;center&gt;
  &lt;image src=&#34;https://aldrinjenson.com/images/indiaFoss/indiaFossTalk.jpg&#34; alt=&#34;Speaking at IndiaFOSS 2.0, NIMHANS Convention Centre, Bengaluru — July 2022&#34;/&gt;
&lt;p class=&#39;caption&#39;&gt;On stage at IndiaFOSS 2.0, NIMHANS Convention Centre, Bengaluru. (Excuse the 240p quality!)&lt;/p&gt;
&lt;/center&gt;
&lt;h2 id=&#34;the-talk&#34;&gt;The talk&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Title:&lt;/strong&gt; &lt;em&gt;How to make sharing of digital assets as easy and accessible as possible.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The talk was built around &lt;a href=&#34;https://aldrinjenson.com/projects/whatsapp-msg-without-save/&#34;&gt;a small open-source app I had shipped earlier&lt;/a&gt; that lets you send a WhatsApp message to any phone number &lt;em&gt;without first having to save the contact&lt;/em&gt; — by generating a &lt;code&gt;wa.me&lt;/code&gt; link in the background and triggering the WhatsApp chat directly.&lt;/p&gt;
&lt;h2 id=&#34;why-i-built-the-project&#34;&gt;Why I built the project&lt;/h2&gt;
&lt;p&gt;The inspiration came from a previous IndiaFOSS talk by Akash Hamirwasia, who built &lt;a href=&#34;https://blaze.vercel.app/&#34;&gt;Blaze&lt;/a&gt; — a web app for sending files peer-to-peer over the internet. Blaze is a beautiful piece of engineering, but I kept thinking about the user I most wanted to reach: not the developer, not the early adopter, but the everyday person who is more comfortable inside WhatsApp than inside any web browser.&lt;/p&gt;
&lt;p&gt;Anyone who has helped a parent or a grandparent open a browser knows what I mean. WhatsApp is the one app almost everyone in India is fluent in. So I built the smallest possible tool that meets people where they already are: enter a number, hit send, and you&amp;rsquo;re inside a WhatsApp chat — no contact saved, no friction.&lt;/p&gt;
&lt;h2 id=&#34;and-then-arch-linux-happened&#34;&gt;And then Arch Linux happened&lt;/h2&gt;
&lt;p&gt;I had been daily-driving Arch Linux for a while and had recently switched to a new laptop. I&amp;rsquo;d seen ThinkPad-wielding speakers connect to the projector with no fuss all morning, so I assumed Linux&amp;rsquo;s plug-and-play would have me covered. I was, in retrospect, perhaps a bit too confident.&lt;/p&gt;
&lt;p&gt;I had been given slot 8 of 9, and by the time my name was called the schedule had slipped. I walked up, plugged in the HDMI cable, and… nothing on the projector. I&amp;rsquo;d intended to check the display setup during one of the breaks, but another speaker had grabbed the stage to test theirs and time had run out.&lt;/p&gt;
&lt;p&gt;So there I was, in front of the room, with no slides and no demo.&lt;/p&gt;
&lt;p&gt;I started talking anyway. I didn&amp;rsquo;t want to delay the program any further, so I described the problem, walked through the solution, and explained how the app worked — without the live demo I&amp;rsquo;d planned (the one where I&amp;rsquo;d call up someone in the audience and send them a &amp;ldquo;hi&amp;rdquo; on WhatsApp without ever saving their number). I shared a &lt;code&gt;bit.ly&lt;/code&gt; link to the demo and the GitHub repo so people could try it later.&lt;/p&gt;
&lt;h2 id=&#34;what-happened-afterwards&#34;&gt;What happened afterwards&lt;/h2&gt;
&lt;p&gt;The reaction surprised me. Before I&amp;rsquo;d even left the hall, three people had come up to ask whether I could ship an iOS version. I had to explain that the project was built in Flutter and I didn&amp;rsquo;t have a Mac at the time to compile and sign the iOS build.&lt;/p&gt;
&lt;p&gt;That moment is when I understood something about giving a talk that you can&amp;rsquo;t really get from shipping code into a repository. People learn about your project, give you feedback in real time, and tell you — to your face — whether the problem you solved actually mattered to them. It&amp;rsquo;s a much faster signal than waiting on GitHub stars.&lt;/p&gt;
&lt;h2 id=&#34;final-thoughts&#34;&gt;Final thoughts&lt;/h2&gt;
&lt;p&gt;Speaking at a conference of this scale was a different kind of experience entirely. I went in expecting to deliver a clean demo and instead delivered an unscheduled lesson in resilience. The slides didn&amp;rsquo;t survive contact with the projector, but the idea did, and that turned out to be the part that mattered.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;re considering submitting to a community-organised FOSS conference for the first time: do it. The selection process is open, the audience is generous, and the worst that can happen — your laptop doesn&amp;rsquo;t connect — is the kind of thing you&amp;rsquo;ll be writing about years later anyway.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;EDIT (post-publication):&lt;/strong&gt; WhatsApp has since introduced a click-to-chat feature that replicates the core functionality of this app — paste an unsaved number into any chat, click it, and you&amp;rsquo;re taken to a WhatsApp conversation with that number. The problem the project was built to solve has now been solved upstream by WhatsApp itself, which is, in its own way, the best outcome an open-source side project can hope for.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>How to Speed up your programming workflow by adding auto-correct in git</title>
      <link>https://aldrinjenson.com/posts/git-autocorrect/</link>
      <pubDate>Sun, 01 Nov 2020 17:07:10 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/git-autocorrect/</guid>
      <description>&lt;p&gt;In this short post I would like to share a neat trick I learned which you can use to speed up your development workflow - adding auto-correct to git.&lt;/p&gt;
&lt;h2 id=&#34;current-scenario&#34;&gt;Current Scenario&lt;/h2&gt;
&lt;p&gt;Currently, if you have a typo or some small error in your git command, git will automatically suggest the most plausible command corresponding to your keyboard input.
Majority of the time this suggested command is bound to be the one you were trying to use. However, just suggesting the command is not that helpful since the programmer still has to navigate around and change the typo.&lt;/p&gt;
&lt;br/&gt;
&lt;p&gt;&lt;img src=&#34;https://aldrinjenson.com/images/git-autocorrect/image1.png&#34; alt=&#34;image1&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;
&lt;/p&gt;
&lt;p align = &#34;center&#34;&gt;
Before setting up auto-correct
&lt;/p&gt;
&lt;br/&gt;
&lt;p&gt;According to the official git &lt;a href=&#34;https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_code_help_autocorrect_code&#34;&gt;docs&lt;/a&gt;,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Git helpfully tries to figure out what you meant, but it still refuses to do it. If you set help.autocorrect to 1, Git will actually run this command for you&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&#34;solution&#34;&gt;Solution:&lt;/h2&gt;
&lt;p&gt;Just open your terminal and add the following line&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git config --global help.autocorrect &lt;span style=&#34;color:#ae81ff&#34;&gt;1&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Adding the above command in your terminal results in the following :&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aldrinjenson.com/images/git-autocorrect/image2.png&#34; alt=&#34;image2&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;
&lt;/p&gt;
&lt;p align = &#34;center&#34;&gt;
With auto-correct turned on
&lt;/p&gt;
&lt;br/&gt;
&lt;p&gt;See, git gave us a warning saying that there is a typo in our command and then executed the most matching/similar command.&lt;/p&gt;
&lt;p&gt;Now, here the value which we assigned at the end has to be an integer which represents the tenths of a second after which your command will be executed.&lt;/p&gt;
&lt;h2 id=&#34;preventing-accidental-commands&#34;&gt;Preventing accidental commands&lt;/h2&gt;
&lt;p&gt;If you are worried about git accidentally executing a command which is similar to your input but is not what you actually wanted to run, then you can add a few seconds of extra time before which the command will be executed, so that you can cancel out the execution if needed.&lt;/p&gt;
&lt;p&gt;This can be achieved by changing the final integer value at the end to a multiple of 10 (say 20 or 30 which corresponds to 2 or 3 seconds respectively).&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git config --global help.autocorrect &lt;span style=&#34;color:#ae81ff&#34;&gt;30&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Adding the above code in your terminal gives the following output when you have another typo in your code.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aldrinjenson.com/images/git-autocorrect/image3.png&#34; alt=&#34;image3&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;
&lt;/p&gt;
&lt;p align = &#34;center&#34;&gt;
Executing a git command after 3 seconds
&lt;/p&gt;
&lt;br/&gt;
&lt;p&gt;The actual command will be executed only after 3 seconds; which means that you can cancel the execution anytime within three seconds by just pressing &lt;strong&gt;ctrl-c&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id=&#34;disabling-auto-correct&#34;&gt;Disabling auto-correct:&lt;/h2&gt;
&lt;p&gt;If for some reason, you want to disable autocorrect feature (though I can’t really imagine why), all you need is to set the final integer to 0.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git config --global help.autocorrect &lt;span style=&#34;color:#ae81ff&#34;&gt;0&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This will revert back the config settings to the default stage – to how it was before we modified it.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aldrinjenson.com/images/git-autocorrect/image4.png&#34; alt=&#34;image4&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;
&lt;/p&gt;
&lt;p align = &#34;center&#34;&gt;
Just like how it was before
&lt;/p&gt;
&lt;br/&gt;
&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;I have been using this cool autocorrect feature of git for some years now and it&amp;rsquo;s really a cool time saver. The small few micro seconds it saves by preventing us from not pressing the up arrow and then navigating around to fix typos in our command, can get compounded and become a huge time saver in the long run.&lt;/p&gt;
&lt;h3 id=&#34;references&#34;&gt;References:&lt;/h3&gt;
&lt;p&gt;&lt;a href=&#34;https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration&#34;&gt;Here&lt;/a&gt; is the official git docs in case you have further doubts.&lt;/p&gt;
&lt;p&gt;P.S. Other than the auto-correct, git has got some other cool features as well. Be sure to check them out too while you are at it :).&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://aldrinjenson.com/images/bg/bg1.jpg&#34; alt=&#34;background image&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;
&lt;/p&gt;
&lt;p&gt;Have a good day!&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Easiest way to add a splash screen in a React Native App</title>
      <link>https://aldrinjenson.com/posts/add-splash-screen-in-react-native-app/</link>
      <pubDate>Wed, 24 Jun 2020 00:58:27 +0530</pubDate>
      
      <guid>https://aldrinjenson.com/posts/add-splash-screen-in-react-native-app/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Note: This article was initially written in &lt;a href=&#34;https://medium.com/swlh/the-easiest-way-to-add-a-splash-screen-to-your-react-native-app-2d36bee3117b&#34;&gt;Medium&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi, this article is a result of me spending a hell lot of time to figure out the best and easiest way to solve the above problem of adding a splash screen to a React-native app. Almost all the tutorials available as of when this post is being written (2020 June) have at least some part of the code outdated and so if you are lazy and tries to copy-paste all the code mentioned in them, your gradle config will break some way or the other and its total frustration.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Note: If you are building your app using the awesome expo-cli, then you don’t need to go through the below tutorial, adding a splash screen to an expo app is as simple as replacing the default splash image in assets folder with your own custom image and then renaming it as ‘splash.png’.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Now, for those of us who have built the app with the good-old react-native init, adding a splash screen consists of the following 4 steps:&lt;/p&gt;
&lt;h2 id=&#34;step-0-get-the-splash-image-ready&#34;&gt;Step 0: Get the splash image ready!&lt;/h2&gt;
&lt;p&gt;I know, this is a no-brainier. But hey, do you exactly have the splash image in 6 different dimensions? No? Well guess what, you actually do need the same image in 6 dimensions! So how will you manage to make-do with just one image if that’s all what you got?&lt;/p&gt;
&lt;p&gt;Don’t bother going to Photoshop and resizing, here’s an awesome tool I found to make the process of splash image generation a piece of cake.&lt;/p&gt;
&lt;p&gt;Just go to &lt;a href=&#34;https://apetools.webprofusion.com/#/tools/imagegorilla&#34;&gt;this&lt;/a&gt; site, add your one splash image(preferably with the highest quality), choose the required platform(andoid and/or ios) and punch the Kapow button). The tool will generate a zip file of the splash screen in various different pixel dimensions.&lt;/p&gt;
&lt;p&gt;Extract it and copy all the contents in the android and/or ios folder from the bundle to your android/app/src/main/res folder.&lt;/p&gt;
&lt;h2 id=&#34;step-1-install-the-super-cool-npm-package-react-native-splash-screen&#34;&gt;Step 1: Install the super cool npm package: react-native-splash-screen&lt;/h2&gt;
&lt;p&gt;This will make the whole process dead simple&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;npm i react-native-splash-screen
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;or using yarn,&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;yarn add react-native-splash-screen
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;blockquote&gt;
&lt;p&gt;Note: if your react-native cli version is below 0.6, don’t forget to link the above package using: &lt;code&gt;react-native link react-native-splash-screen&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&#34;step-2-configuration&#34;&gt;Step 2: Configuration&lt;/h2&gt;
&lt;h3 id=&#34;android&#34;&gt;Android:&lt;/h3&gt;
&lt;p&gt;You have got to update the MainActivity.java file (located at &lt;code&gt;android/app/src/main/java/com/your_project_name&lt;/code&gt; folder) in order to use react-native-splash-screen in your project. Just make changes to the file like given below:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-java&#34; data-lang=&#34;java&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; android.os.Bundle&lt;span style=&#34;color:#f92672&#34;&gt;;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; com.facebook.react.ReactActivity&lt;span style=&#34;color:#f92672&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;import&lt;/span&gt; org.devio.rn.splashscreen.SplashScreen&lt;span style=&#34;color:#f92672&#34;&gt;;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;public&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;class&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;MainActivity&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;extends&lt;/span&gt; ReactActivity &lt;span style=&#34;color:#f92672&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;@Override&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;protected&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;void&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;onCreate&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;Bundle savedInstanceState&lt;span style=&#34;color:#f92672&#34;&gt;)&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;{&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    SplashScreen&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;show&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;this&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#66d9ef&#34;&gt;super&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;onCreate&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;(&lt;/span&gt;savedInstanceState&lt;span style=&#34;color:#f92672&#34;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;// ...other code
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now, create a file called &lt;code&gt;launch_screen.xml&lt;/code&gt; in &lt;code&gt;app/src/main/res/layout&lt;/code&gt; (create the layout folder if it doesn&amp;rsquo;t exist). The contents of the file should be the following:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-xml&#34; data-lang=&#34;xml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&amp;lt;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;utf-8&amp;#34;?&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;RelativeLayout&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;xmlns:android=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;http://schemas.android.com/apk/res/android&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;android:orientation=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;vertical&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;android:layout_width=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;match_parent&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;android:layout_height=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;match_parent&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;ImageView&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;android:layout_width=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;match_parent&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;android:layout_height=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;match_parent&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;android:src=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;@drawable/screen&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;android:scaleType=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;centerCrop&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;/&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;/RelativeLayout&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now we have got to add a color called primary_dark in app/src/main/res/values/colors.xml(create if it doesn&amp;rsquo;t exist already)by pasting in the following code:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-xml&#34; data-lang=&#34;xml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&amp;lt;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;utf-8&amp;#34;?&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;resources&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;color&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;name=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;primary_dark&amp;#34;&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;gt;&lt;/span&gt;#000000&lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;/color&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;&amp;lt;/resources&amp;gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;ios&#34;&gt;iOS:&lt;/h3&gt;
&lt;p&gt;Update AppDelegate.m (located at ios/splashapp) with the following additions:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-swift&#34; data-lang=&#34;swift&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;#&lt;span style=&#34;color:#66d9ef&#34;&gt;import&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;AppDelegate.h&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;#&lt;span style=&#34;color:#66d9ef&#34;&gt;import&lt;/span&gt; &amp;lt;&lt;span style=&#34;color:#a6e22e&#34;&gt;React&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;RCTBundleURLProvider&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;h&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;#&lt;span style=&#34;color:#66d9ef&#34;&gt;import&lt;/span&gt; &amp;lt;&lt;span style=&#34;color:#a6e22e&#34;&gt;React&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;/&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;RCTRootView&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;h&lt;/span&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;#&lt;span style=&#34;color:#66d9ef&#34;&gt;import&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;RNSplashScreen.h&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;@implementation AppDelegate&lt;span style=&#34;color:#f92672&#34;&gt;-&lt;/span&gt; (BOOL)application:(UIApplication &lt;span style=&#34;color:#66d9ef&#34;&gt;_&lt;/span&gt;)application didFinishLaunchingWithOptions:(NSDictionary &lt;span style=&#34;color:#66d9ef&#34;&gt;_&lt;/span&gt;)launchOptions{
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#75715e&#34;&gt;// ...other code&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  [RNSplashScreen show]; &lt;span style=&#34;color:#75715e&#34;&gt;// or//[RNSplashScreen showSplash:@&amp;#34;LaunchScreen&amp;#34; inRootView:rootView];&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; YES;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  }@end
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;step-3-hiding-the-splash-and-loading-your-main-screen&#34;&gt;Step 3: Hiding the splash and loading your main-screen&lt;/h2&gt;
&lt;p&gt;By now, if you run your app, you would be able to see the splash image cover the entire screen(like it should) and showing forever(like it shouldn’t). Basically it would never close, and there is even a chance of your app crashing after a few seconds of the image showing like this.&lt;/p&gt;
&lt;p&gt;Now, when should the splash screen be closed? Maybe when the main entry file of your app is executed? Yes! So let’s just modify App.js so that exactly when the project files would finish loading and is ready to be executed, the splash screen would give way to your main/primary screen.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-javascript&#34; data-lang=&#34;javascript&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;// make following changes to App.js
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;import&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;SplashScreen&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;from&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;react-native-splash-screen&amp;#34;&lt;/span&gt;;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;export&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;default&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;class&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;App&lt;/span&gt; &lt;span style=&#34;color:#66d9ef&#34;&gt;extends&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;Component&lt;/span&gt; {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;componentDidMount&lt;/span&gt;() {
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#75715e&#34;&gt;// do stuff while splash screen is shown
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;    &lt;span style=&#34;color:#75715e&#34;&gt;// After having done stuff (such as async tasks) hide the splash screen
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&lt;/span&gt;    &lt;span style=&#34;color:#a6e22e&#34;&gt;SplashScreen&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;hide&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  }
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In case you are using functional components, just call SplashScreen.hide() inside a &lt;code&gt;useEffect&lt;/code&gt; hook with an empty dependency array.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;And, there you go my friends, that’s all there is to it.&lt;/p&gt;
&lt;p&gt;I have tested the above in android and it works perfectly. Inability of having Apple device have prevented me from verifying it on iOS, but hopefully this should all work fine. If the above solution for some reason didn’t work for you, or if you want to add some advanced effects in your splash screen like customizing the color of the status bar when loading etc, here are the references I used. However, do keep in mind that all software related guides(including this one) tend to get outdated as new features get added to the various packages used and some breaking change occurs. That being said, all the best to your project. Cheers ✨&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://medium.com/handlebar-labs/how-to-add-a-splash-screen-to-a-react-native-app-ios-and-android-30a3cec835ae&#34;&gt;https://medium.com/handlebar-labs/how-to-add-a-splash-screen-to-a-react-native-app-ios-and-android-30a3cec835ae&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.npmjs.com/package/react-native-splash-screen&#34;&gt;https://www.npmjs.com/package/react-native-splash-screen&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.netguru.com/blog/react-native-splash-screen&#34;&gt;https://www.netguru.com/blog/react-native-splash-screen&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    
    <item>
      <title>How to host a Hugo static site using Github pages</title>
      <link>https://aldrinjenson.com/posts/hosting-hugo-sites-on-gh-pages/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://aldrinjenson.com/posts/hosting-hugo-sites-on-gh-pages/</guid>
      <description>&lt;p&gt;It took me a day to fix a bug related to hosting a Hugo blog on github pages. Thought I&amp;rsquo;d compile down my learnings here.&lt;/p&gt;
&lt;p&gt;Check out these two links to get started with the local installation and setting up of the development environment. This part is quite easy.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://opensource.com/article/18/3/start-blog-30-minutes-hugo?utm_source=nomedium&amp;amp;utm_medium=web&amp;amp;utm_campaign=nomedium&#34;&gt;Start a blog in 30 minutes with Hugo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://gohugo.io/getting-started/quick-start/&#34;&gt;Official Hugo Quick Start Guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By now you should be having a blog with atleast one post which can be previewed locally using &lt;code&gt;hugo server -D&lt;/code&gt; command.&lt;/p&gt;
&lt;p&gt;Now, the part which I found difficult is to host this site and make it available for the public. While there are guides available on the official docs for a lot of hosting options, the one for hosting with github pages isn&amp;rsquo;t very helpful (general opinion of a lot of developers).&lt;/p&gt;
&lt;p&gt;Anyways, here are the simple gotchas you need to take note of for easy hosting after following the official guide.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;The baseUrl in your config file should point to the url where which your site will be deployed. (Usually, &lt;code&gt;yourusername.github.io/&lt;/code&gt;). No need to change it to rawgithubUserContent link if images or css doesn&amp;rsquo;t load initially.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If images are not being displayed on your site, add on &lt;code&gt;canonifyURLs: true&lt;/code&gt; in your &lt;code&gt;config.yaml&lt;/code&gt; file or the toml version in your &lt;code&gt;config.toml&lt;/code&gt; file if you are using toml.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When using the &lt;a href=&#34;https://github.com/peaceiris/actions-gh-pages&#34;&gt;gh-pages&lt;/a&gt; github action as mentioned in the docs for deploying with Github, it&amp;rsquo;s basically creating a new branch called gh-pages and then putting in the build files (from the public folder) in this branch and this is the one that is getting deployed in github pages. Basically, your source code is in the main branch, and the build output is in the gh-pages branch. (Not knowing this can confuse you in understanding how the magic happens ). The static HTML pages in this branch are deployed using github pages.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you want to host your site in a custom domain, then you got to create a file &lt;code&gt;CNAME&lt;/code&gt; and put it in the hugo static folder. This file should contain just the domain name eg: &lt;code&gt;www.example.com&lt;/code&gt;. This file from static folder will be put in the root folder of gh-pages branch once the site has been built by the gh action on push. If you get some errors regarding the domain, check out &lt;a href=&#34;https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/troubleshooting-custom-domains-and-github-pages#cname-errors&#34;&gt;this part&lt;/a&gt; of the official docs.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So there you go, these are the three simple points which you need to take note of so as to make the whole deployment process with hugo a bit easier. Now you can write blog posts and the site gets deployed once you push to the main branch.&lt;/p&gt;
&lt;p&gt;P.S. Just so you know, this current site you are looking at has been made completely using Hugo by following the above steps. So yeah, this works. You can check out the source code for this site &lt;a href=&#34;https://github.com/aldrinjenson/aldrinjenson.github.io&#34;&gt;here&lt;/a&gt; if interested.&lt;/p&gt;
&lt;h2 id=&#34;pro-tip&#34;&gt;Pro Tip:&lt;/h2&gt;
&lt;p&gt;If you want to make your life a bit easier, add the following alias script to your bash or zsh shell to start up the dev server and open up your browser quickly to the localhost hugo dev URL.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  alias hs&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#39;firefox --new-tab http://localhost:1313/ &amp;amp; hugo server -D&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The above works for most modern browsers and hence you can replace firefox with the browser of your choice. So next time you want to write a new blog, fire up your editor and simply enter the &lt;code&gt;hs&lt;/code&gt; command in your blog directory to start up hugo dev server and have your browser navigate to the hugo dev port.&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>
