<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ben Weller on Medium]]></title>
        <description><![CDATA[Stories by Ben Weller on Medium]]></description>
        <link>https://medium.com/@benmweller?source=rss-1a127ae9d283------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*8fpmmLDdcJ2EsOk1.jpg</url>
            <title>Stories by Ben Weller on Medium</title>
            <link>https://medium.com/@benmweller?source=rss-1a127ae9d283------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 23:41:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@benmweller/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Convert Markdown to Anki Cards with VS Code and AnkiConnect]]></title>
            <link>https://medium.com/@benmweller/convert-markdown-to-anki-cards-with-vs-code-and-ankiconnect-880c4da8d0e7?source=rss-1a127ae9d283------2</link>
            <guid isPermaLink="false">https://medium.com/p/880c4da8d0e7</guid>
            <category><![CDATA[vs-code-extensions]]></category>
            <category><![CDATA[anki]]></category>
            <category><![CDATA[vscode-extension]]></category>
            <category><![CDATA[srs]]></category>
            <category><![CDATA[vscode]]></category>
            <dc:creator><![CDATA[Ben Weller]]></dc:creator>
            <pubDate>Sat, 24 Oct 2026 16:45:57 GMT</pubDate>
            <atom:updated>2026-10-24T16:45:57.436Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fuTBGRCTp1hp4Rgt" /><figcaption>Photo by <a href="https://unsplash.com/@mattragland?utm_source=medium&amp;utm_medium=referral">Matt Ragland</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Setup</h3><ul><li>Install <a href="https://ankiweb.net/shared/info/2055492159">AnkiConnect</a> in Anki.</li><li>Install the <a href="https://marketplace.visualstudio.com/items?itemName=jasew.anki">Anki extension</a> in VS Code.</li></ul><p>Update the VS Code settings.json file to include:</p><pre>&quot;anki.md.insertNewCardID&quot;: true,<br>&quot;anki.md.updateCards&quot;: true,</pre><h3>Usage</h3><h3>Creating/Updating Cards</h3><ul><li>Open Anki.</li><li>In VS Code, navigate to any Markdown file from which you’d like to create Anki cards.</li><li><strong>Note:</strong> The optimal format for this workflow is:</li></ul><pre>```<br>## Card Front<br><br>Card back<br>```</pre><ul><li>Run one of the VS Code commands to send the content to a deck:</li><li><a href="https://github.com/jasonwilliams/anki?tab=readme-ov-file#send-to-deck">Anki: Send To Deck</a></li><li><a href="https://github.com/jasonwilliams/anki?tab=readme-ov-file#send-to-own-deck">Anki: Send To Own Deck</a></li><li><a href="https://github.com/jasonwilliams/anki?tab=readme-ov-file#send-to-dirname-deck">Anki: Send to DirName Deck</a></li><li>Your notes will now be up to date in Anki!</li></ul><p>*I implemented these features: <a href="https://github.com/jasonwilliams/anki/pull/92">create</a>, <a href="https://github.com/jasonwilliams/anki/pull/106">update</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=880c4da8d0e7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Poor Man’s Claude Pro]]></title>
            <link>https://medium.com/@benmweller/poor-mans-claude-pro-7fb2659f4273?source=rss-1a127ae9d283------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fb2659f4273</guid>
            <category><![CDATA[claude]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Ben Weller]]></dc:creator>
            <pubDate>Sun, 16 Aug 2026 04:49:29 GMT</pubDate>
            <atom:updated>2026-10-24T16:35:06.898Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t4pux5a6AT2jLtXF" /></figure><h3>Write all the code you’ll ever need from your phone for $20 per month</h3><p>A <a href="https://www.yeti.com/drinkware/hydration/21071504096.html?ref=bweller.me">Yeti water bottle</a> + <a href="https://www.nike.com/t/sportswear-club-mens-t-shirt-ShrJfX/AR4997-014?ref=bweller.me">a Nike T-shirt</a> + <a href="https://www.cvs.com/shop/irish-spring-5-in-1-body-wash-sea-salt-cedarwood-20-oz-prodid-472435?ref=bweller.me">Irish Spring 5 in 1: Body, Face, Shampoo, Conditioner, and 24 Hour Deodorant</a>, or <a href="https://www.amazon.com/AeroPress-Portable-Travel-Coffee-Press/dp/B07YVL8SF3?th=1&amp;ref=bweller.me">an AeroPress Go Portable Coffee Maker</a> + <a href="https://www.amazon.com/Victorinox-Swiss-Classic-Various-Colors/dp/B092DZCM42?ref=bweller.me">a three-pack of the Field Notes memo books</a> + the classic <a href="https://www.amazon.com/Field-Notes-Kraft-Ruled-3-Pack/dp/B0034KDEMO?ref=bweller.me">Swiss Army Knife</a>, or <a href="https://www.amazon.com/Power-Broker-Robert-Moses-Fall/dp/0394720245?ref=bweller.me"><em>The Power Broker</em></a> + <a href="https://www.amazon.com/Graza-Drizzle-Extra-Virgin-Olive-Oil-Finishing-High-Polyphenol/dp/B09WTZRV6Z?th=1&amp;ref=bweller.me">Graza Drizzle Extra Virgin Olive Oil</a> + <a href="https://www.patagonia.com/product/p-6-logo-lopro-trucker-hat/38283.html?ref=bweller.me">a Patagonia snapback</a>.</p><p>That’s how much more you’re missing out <strong>per month</strong> by spending on the Claude Max plan vs. <em>just</em> the Pro plan.</p><p>My coworkers bragged about how much they could code on the go via the Claude Max plan that allows them to run Claude remotely on a server Anthropic provides and push to a GitHub repo by default….jokes on them, I can now attempt to carry around my three Yeti water bottles while layered under three layers of shirts, but I don’t have to worry about any BO from sweat because I used my Irish Spring 5 in 1 magic serum today; all while doing the <strong><em>same exact thing</em></strong>.</p><p>To get started with using Claude to write code/research/design documents on the go:</p><pre>function claudeonserver() {<br>  local ts<br>  ts=&quot;$(date +%Y%m%d-%H%M%S)&quot;<br>  ssh &lt;username@server&gt; -i &lt;keyfile&gt; \<br>    &quot;mkdir -p ~/&lt;project_path&gt;/${ts} &amp;&amp; tmux new-session -d -s claude-${ts} -c ~/&lt;project_path&gt;/${ts} &#39;/home/&lt;username&gt;/.local/bin/claude --remote-control&#39;&quot;<br>}</pre><p>Then it’s as simple as opening your terminal and launching a new Claude session per project. If you want Claude to have the ability to create repositories to host these projects in, you could install/set up the <a href="https://cli.github.com/?ref=bweller.me">GitHub CLI</a> and ask it to push (or just do it manually, you animals).</p><p>Now enjoy your coffee while staring at the blank pages of your Field Notes memo book while playing five-finger fillet with your Swiss Army knife; or whatever else you’re into.</p><p><em>Originally published at </em><a href="https://bweller.me/write-all-the-code-youll-ever-need-from-your-phone-for-20-per-month/"><em>https://bweller.me</em></a><em> on August 16, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fb2659f4273" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Terminal on Android]]></title>
            <link>https://medium.com/@benmweller/terminal-on-android-b18ada667e85?source=rss-1a127ae9d283------2</link>
            <guid isPermaLink="false">https://medium.com/p/b18ada667e85</guid>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Ben Weller]]></dc:creator>
            <pubDate>Sat, 15 Aug 2026 00:23:17 GMT</pubDate>
            <atom:updated>2026-10-24T16:33:30.236Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SbzrqAgNVtSPEbb7" /></figure><p>I want to have a functional terminal on my phone (you never know when you’re going to need it). I opted for Termux.</p><p>Bear in mind that this setup was greatly aided <a href="https://bweller.me/android-keyboard-shortcuts/">by using a keyboard and mouse</a>.</p><h3>Setup</h3><ul><li><a href="https://wiki.termux.com/wiki/ZSH?ref=bweller.me">Install ZSH + Oh-My-ZSH</a></li><li>Generate SSH key for dotfiles repo: ssh-keygen -t rsa -b 4096</li><li>Add the key to the SSH agent by running this in .zshrc:</li></ul><pre>{ eval `ssh-agent`; ssh-add; } &amp;&gt;/dev/null</pre><ul><li>Re-source .zshrc</li><li>Copy out the public key value via: cat &lt;keyfile.pub&gt; and share it to my home computer with Google Drive</li><li><a href="https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account?ref=bweller.me#adding-a-new-ssh-key-to-your-account">Add the key file to Github</a></li><li>Pull the dotfiles</li><li>Manually edit .zshrc to add:</li></ul><pre>source ~/dotfiles/commonzshrc<br>source ~/dotfiles/linuxspecific</pre><h3>Cleanup</h3><ul><li>Remove the SSH agent business from .zshrc (it&#39;s all taken care of in the commonzshrc)</li></ul><p><em>Originally published at </em><a href="https://bweller.me/terminal-on-android/"><em>https://bweller.me</em></a><em> on August 15, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b18ada667e85" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Keyboard Shortcuts]]></title>
            <link>https://medium.com/@benmweller/android-keyboard-shortcuts-e7752c165da9?source=rss-1a127ae9d283------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7752c165da9</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[mechanical-keyboards]]></category>
            <dc:creator><![CDATA[Ben Weller]]></dc:creator>
            <pubDate>Sat, 15 Aug 2026 00:14:41 GMT</pubDate>
            <atom:updated>2026-10-24T16:30:47.715Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*doWs3BUzcR0xawHs" /></figure><p>On <a href="https://amzn.to/41RpR3K?ref=bweller.me">my keyboard</a>, there’s three different stored Bluetooth connections, so why not use all of them? I already have stored settings for my work laptop and my personal laptop, but I use my phone every day, so why can’t I use a non-touchscreen-based interface on the phone? Needless to say, I connected a mouse and keyboard to my Android phone.</p><p>Despite the interfaces not being designed for mouse/keyboard at all, it worked shockingly well, and I think this might become part of my regular usage if there’s something process-heavy I need to do on my phone.</p><p>While kicking the tires, I was shocked at the lack of easily searchable blogs writing about this topic, see the main exception <a href="https://journal.paoloamoroso.com/using-a-bluetooth-keyboard-on-android?ref=bweller.me">to this trend</a>.</p><p>Notable shortcuts:<br>Command + E: Mail <br>Command + Y: YouTube <br>Command + I: Settings <br>Command + P: Music <br>Command + A: Calculator <br>Command + G: Mail <br>Command + H: Home <br>Command + L: Calendar <br>Command + C: Contacts <br>Command + B: Chrome (even despite the fact I have Firefox as the default) <br>Command + N: Notification shade <br>Command + M: Maps <br>Alt + Tab: Quickly opens the recent apps <br>Super + Tab: Opens up recent apps but stays open</p><p><em>Originally published at </em><a href="https://bweller.me/android-keyboard-shortcuts/"><em>https://bweller.me</em></a><em> on August 15, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7752c165da9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Terminal Batch Web Search]]></title>
            <link>https://medium.com/@benmweller/terminal-batch-web-search-f776f7668673?source=rss-1a127ae9d283------2</link>
            <guid isPermaLink="false">https://medium.com/p/f776f7668673</guid>
            <category><![CDATA[xkcd]]></category>
            <category><![CDATA[search]]></category>
            <category><![CDATA[google-search]]></category>
            <dc:creator><![CDATA[Ben Weller]]></dc:creator>
            <pubDate>Fri, 28 Nov 2025 03:09:49 GMT</pubDate>
            <atom:updated>2026-10-24T16:28:29.410Z</atom:updated>
            <content:encoded><![CDATA[<p>We’ve all been there, Google doesn’t one shot your search query and so you have to add “hackernews”, “reddit” or “stackoverflow” to your query to find the relevant results.</p><p>Most of the time you know even prior to sending that search if it’ll be in this camp, so why not send multiple searches at once?</p><p>In the spirit of the relevant <a href="https://xkcd.com/1654/?ref=bweller.me">XKCD</a> and <a href="https://github.com/devflowinc/uzi?ref=bweller.me">uzi</a> I’ve created a batch search function you can use from the terminal, pull the trigger once and you’ve covered your bases.</p><h3>Pre-reqs</h3><ul><li>Oh my ZSH</li><li>Default web browser</li></ul><h3>Implementation</h3><pre>plugins=( ... web-search)<br><br>function shotgun {<br>    web_search google $1; web_search google site:news.ycombinator.com $1; web_search reddit $1; web_search stackoverflow $1;<br>}</pre><p><em>Originally published at </em><a href="https://bweller.me/terminal-batch-web-search/"><em>https://bweller.me</em></a><em> on November 28, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f776f7668673" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ultimate YouTube Enhancement]]></title>
            <link>https://medium.com/@benmweller/ultimate-youtube-enhancement-f4198edca438?source=rss-1a127ae9d283------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4198edca438</guid>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[youtuber]]></category>
            <category><![CDATA[focus]]></category>
            <category><![CDATA[attention-economy]]></category>
            <dc:creator><![CDATA[Ben Weller]]></dc:creator>
            <pubDate>Tue, 22 Apr 2025 04:36:03 GMT</pubDate>
            <atom:updated>2026-10-24T16:26:08.968Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o3rzbGeOUCosMG7L" /></figure><p>For better or worse, YouTube hosts some of the best content on the web.</p><p>One of YouTube’s major downsides is that it’s optimized for stealing your attention.</p><p>To help mitigate this, I’ve added a few tools to ensure I stay on task when watching YouTube.</p><h3>Ads</h3><p>To block ads and improve the overall viewing experience, I use <a href="https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/?ref=bweller.me">uBlock Origin</a>.<br>Additionally, I block ads at the DNS level using <a href="https://nextdns.io/?ref=bweller.me">NextDNS</a>.</p><p>To avoid sitting through sponsored segments, I use <a href="https://addons.mozilla.org/en-US/firefox/addon/sponsorblock/?ref=bweller.me">SponsorBlock</a>.</p><h3>General Distractions</h3><p>To avoid getting sucked into doomscrolling loops through repeated usage, I use the <a href="https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/?ref=bweller.me">Cookie AutoDelete</a> extension.</p><p>To hide recommended videos in the sidebar, I added the following filter to uBlock Origin:</p><pre>! Jan 1, 1970 https://www.youtube.com<br>www.youtube.com###secondary</pre><p>To eliminate distractions from comments and other UI clutter, I use the <a href="https://addons.mozilla.org/en-US/firefox/addon/youtube-enhancer-vc/?ref=bweller.me">YouTube Enhancer extension</a> to automatically enter theater mode and hide YouTube Shorts.</p><p>Enhancer extension config:</p><pre>{<br>  &quot;button_placements&quot;: {<br>    &quot;copyTimestampUrlButton&quot;: &quot;player_controls_right&quot;,<br>    &quot;decreasePlaybackSpeedButton&quot;: &quot;player_controls_left&quot;,<br>    &quot;forwardButton&quot;: &quot;player_controls_right&quot;,<br>    &quot;hideEndScreenCardsButton&quot;: &quot;player_controls_right&quot;,<br>    &quot;increasePlaybackSpeedButton&quot;: &quot;player_controls_left&quot;,<br>    &quot;loopButton&quot;: &quot;feature_menu&quot;,<br>    &quot;maximizePlayerButton&quot;: &quot;feature_menu&quot;,<br>    &quot;openTranscriptButton&quot;: &quot;feature_menu&quot;,<br>    &quot;rewindButton&quot;: &quot;player_controls_right&quot;,<br>    &quot;screenshotButton&quot;: &quot;feature_menu&quot;,<br>    &quot;volumeBoostButton&quot;: &quot;feature_menu&quot;<br>  },<br>  &quot;custom_css_code&quot;: &quot;&quot;,<br>  &quot;deep_dark_custom_theme_colors&quot;: {<br>    &quot;colorShadow&quot;: &quot;#383c4a4d&quot;,<br>    &quot;dimmerText&quot;: &quot;#cccccc&quot;,<br>    &quot;hoverBackground&quot;: &quot;#4e5467&quot;,<br>    &quot;mainBackground&quot;: &quot;#22242d&quot;,<br>    &quot;mainColor&quot;: &quot;#367bf0&quot;,<br>    &quot;mainText&quot;: &quot;#eeeeee&quot;,<br>    &quot;secondBackground&quot;: &quot;#242730&quot;<br>  },<br>  &quot;deep_dark_preset&quot;: &quot;Deep-Dark&quot;,<br>  &quot;enable_automatic_theater_mode&quot;: true,<br>  &quot;enable_automatically_set_quality&quot;: false,<br>  &quot;enable_copy_timestamp_url_button&quot;: false,<br>  &quot;enable_custom_css&quot;: false,<br>  &quot;enable_deep_dark_theme&quot;: false,<br>  &quot;enable_hide_official_artist_videos_from_home_page&quot;: false,<br>  &quot;enable_forced_playback_speed&quot;: false,<br>  &quot;enable_forward_rewind_buttons&quot;: false,<br>  &quot;enable_hide_end_screen_cards&quot;: true,<br>  &quot;enable_hide_end_screen_cards_button&quot;: true,<br>  &quot;enable_hide_live_stream_chat&quot;: false,<br>  &quot;enable_hide_paid_promotion_banner&quot;: false,<br>  &quot;enable_hide_scrollbar&quot;: false,<br>  &quot;enable_hide_shorts&quot;: true,<br>  &quot;enable_hide_translate_comment&quot;: false,<br>  &quot;enable_loop_button&quot;: false,<br>  &quot;enable_maximize_player_button&quot;: false,<br>  &quot;enable_open_transcript_button&quot;: false,<br>  &quot;enable_open_youtube_settings_on_hover&quot;: false,<br>  &quot;enable_pausing_background_players&quot;: false,<br>  &quot;enable_playback_speed_buttons&quot;: false,<br>  &quot;enable_playlist_length&quot;: false,<br>  &quot;enable_redirect_remover&quot;: false,<br>  &quot;enable_remaining_time&quot;: false,<br>  &quot;enable_remember_last_volume&quot;: false,<br>  &quot;enable_screenshot_button&quot;: false,<br>  &quot;enable_scroll_wheel_speed_control&quot;: false,<br>  &quot;enable_scroll_wheel_volume_control&quot;: false,<br>  &quot;enable_scroll_wheel_volume_control_hold_modifier_key&quot;: false,<br>  &quot;enable_scroll_wheel_volume_control_hold_right_click&quot;: false,<br>  &quot;enable_share_shortener&quot;: false,<br>  &quot;enable_shorts_auto_scroll&quot;: false,<br>  &quot;enable_skip_continue_watching&quot;: false,<br>  &quot;enable_video_history&quot;: false,<br>  &quot;enable_volume_boost&quot;: false,<br>  &quot;feature_menu_open_type&quot;: &quot;hover&quot;,<br>  &quot;forward_rewind_buttons_time&quot;: 5,<br>  &quot;language&quot;: &quot;en-US&quot;,<br>  &quot;osd_display_color&quot;: &quot;white&quot;,<br>  &quot;osd_display_hide_time&quot;: 750,<br>  &quot;osd_display_opacity&quot;: 75,<br>  &quot;osd_display_padding&quot;: 5,<br>  &quot;osd_display_position&quot;: &quot;center&quot;,<br>  &quot;osd_display_type&quot;: &quot;text&quot;,<br>  &quot;playback_buttons_speed&quot;: 0.25,<br>  &quot;player_quality&quot;: &quot;auto&quot;,<br>  &quot;player_quality_fallback_strategy&quot;: &quot;lower&quot;,<br>  &quot;player_speed&quot;: 1,<br>  &quot;playlist_length_get_method&quot;: &quot;api&quot;,<br>  &quot;playlist_watch_time_get_method&quot;: &quot;youtube&quot;,<br>  &quot;remembered_volumes&quot;: {<br>    &quot;shortsPageVolume&quot;: 100,<br>    &quot;watchPageVolume&quot;: 100<br>  },<br>  &quot;screenshot_format&quot;: &quot;png&quot;,<br>  &quot;screenshot_save_as&quot;: &quot;file&quot;,<br>  &quot;scroll_wheel_speed_control_modifier_key&quot;: &quot;altKey&quot;,<br>  &quot;scroll_wheel_volume_control_modifier_key&quot;: &quot;ctrlKey&quot;,<br>  &quot;speed_adjustment_steps&quot;: 0.25,<br>  &quot;video_history_resume_type&quot;: &quot;prompt&quot;,<br>  &quot;volume_adjustment_steps&quot;: 5,<br>  &quot;volume_boost_amount&quot;: 5,<br>  &quot;volume_boost_mode&quot;: &quot;global&quot;,<br>  &quot;youtube_data_api_v3_key&quot;: &quot;&quot;,<br>  &quot;enable_automatically_disable_closed_captions&quot;: false<br>}</pre><p><em>Originally published at </em><a href="https://bweller.me/ultimate-youtube-enhancement/"><em>https://bweller.me</em></a><em> on April 22, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4198edca438" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AGI Prepping]]></title>
            <link>https://medium.com/@benmweller/agi-prepping-8fcffb4ea34e?source=rss-1a127ae9d283------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fcffb4ea34e</guid>
            <category><![CDATA[employment]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[gpt]]></category>
            <category><![CDATA[agi]]></category>
            <dc:creator><![CDATA[Ben Weller]]></dc:creator>
            <pubDate>Sun, 23 Mar 2025 19:03:03 GMT</pubDate>
            <atom:updated>2026-10-24T16:24:26.936Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MfzTmpyT8lgSO948" /></figure><p>The massive growth of LLMs has been shocking to witness, especially considering my first experience with ChatGPT. A coworker gained beta access, and I used it to generate poems in the voices of various celebrities. It repeated words excessively and had a low word limit on its output. At the time, I saw it as nothing more than a cool toy. I would have never predicted how powerful these models would become.</p><p>There was certainly skepticism in online communities like Hacker News and Reddit, where many doubted the long-term viability of LLMs. However, using these models for daily tasks and interacting with them at Google has left me with little doubt-they are here to stay. I find it highly unlikely that they will have no impact, or even a net positive effect, on the software engineering job market.</p><p>There is a lot of angst among software engineers, even within Google, about the trajectory of LLMs and how to plan for an uncertain future. In an effort to foster a more productive conversation, I want to share my thoughts on these risks and potential strategies to mitigate or navigate them.</p><h3>AGI Properties</h3><p>When considering AGI and job automation, I find two key dimensions particularly interesting:</p><ol><li><strong>The time horizon</strong>-how soon AGI will emerge.</li><li><strong>The strength of AGI</strong>-how capable it will be.</li></ol><p>I define <strong>slow AGI</strong> as any system that takes more than five years to develop. This threshold feels appropriate because a five-year lead time, even for a major life change, allows for solid risk mitigation strategies to be put in place. If AGI arrives more quickly, protecting oneself and ensuring a comfortable future becomes significantly harder.</p><p>I define <strong>weak AGI</strong> as any system advanced enough to eliminate my ability to find work as a software engineer. While some might argue about whether such a system qualifies as true AGI, that distinction is irrelevant to me. What matters is its impact on my employment and life-not whether it meets a philosophical definition.</p><p><strong>Strong AGI</strong>, on the other hand, is a system capable of fully automating all human jobs essential to sustaining human life.</p><h3>Overall Approach</h3><h3>Overall Approach</h3><p>Weak, Slow AGI: <a href="https://bweller.me/agi-prepping#stay-the-course-software-engineer">⌨</a></p><p>Weak, Fast AGI: <a href="https://bweller.me/agi-prepping#weakfast-agi-financial-manager">🤑</a></p><p>Strong, Slow AGI: <a href="https://bweller.me/agi-prepping#slowstrong-agi-registered-nurses">🏥</a></p><p>Strong, Fast AGI: <a href="https://bweller.me/agi-prepping#prepping-doomsayer">🫨</a></p><h3>General Scenarios</h3><h3>Stay the Course: Software Engineer</h3><blockquote><em>Don’t do something! Stand there!</em></blockquote><p>Continue as a software engineer. Keep an eye on the ML space, but understand that you’ll likely be employed long enough to carve out a decent living.</p><p>When the time comes, there will be a very large number of unemployed people. At that point, cultural shifts may make unemployment more palatable.</p><p>If cultural shifts don’t occur, there will at least be more information about the remaining playing field-what’s left unconquered by AGI. You’ll be able to plan better and find a more defensible position.</p><h3>Find Alternative Employment</h3><blockquote><em>Never let a perfectly good crisis go to waste.</em></blockquote><p>Choosing the right field to enter next involves many factors, but I’m drawing inspiration from the sources of monopoly power that businesses rely on to identify the most favorable characteristics.</p><p>Key Barriers to Entry:</p><ul><li><strong>Legal Barriers</strong> — Does the government restrict entry into this industry, keeping wages high?</li><li><strong>Capital Requirements</strong> — How much money would a new competitor need to enter this field?</li><li><strong>Physical Location Barriers</strong> — Is this job “text to text” (text input for text output), or does it require a strong physical component, making it accessible only to those in a specific location?</li><li>Thomas Friedman, in <em>The World is Flat</em>, refers to these jobs as “anchored.”</li></ul><p>While I’m open to some additional education, I don’t want to spend an extensive amount of time retraining. Ideally, I’d reach a $100K salary within five years. However, I also want a field with a high earning ceiling, allowing me to continue retraining while employed to further increase my income potential.</p><p>I’ll use data from the U.S. Bureau of Labor Statistics to refine my search and explain my reasoning for favoring or rejecting specific paths.</p><p>Relevant list of occupations (see appendix for full data):</p><h4>Unfavored</h4><ul><li><a href="https://www.bls.gov/ooh/math/actuaries.htm?ref=bweller.me"><strong>Actuaries</strong></a> — Likely requires reeducation in statistics. While LLMs are currently weak at math, effective tool integration could eventually dominate this field.</li><li><a href="https://www.bls.gov/ooh/computer-and-information-technology/computer-and-information-research-scientists.htm?ref=bweller.me"><strong>Computer and Information Research Scientists</strong></a> — Likely requires an MS in CS, a field I believe will become significantly less valuable.</li><li><a href="https://www.bls.gov/ooh/computer-and-information-technology/information-security-analysts.htm?ref=bweller.me"><strong>Information Security Analysts</strong></a> — CS-adjacent and potentially vulnerable to automation.</li><li><a href="https://www.bls.gov/ooh/computer-and-information-technology/software-developers.htm?ref=bweller.me"><strong>Software Developers</strong></a> — My current field, which I expect to decline in value.</li><li><a href="https://www.bls.gov/ooh/math/data-scientists.htm?ref=bweller.me"><strong>Data Scientists</strong></a> — CS-adjacent and requires significant retraining in statistics.</li></ul><h4>Semi-Favored</h4><ul><li><a href="https://www.bls.gov/ooh/management/top-executives.htm?ref=bweller.me"><strong>General and Operations Managers</strong></a> — Unlikely to land a C-level job anytime soon, making it a poor backup plan.</li><li><a href="https://www.bls.gov/ooh/management/medical-and-health-services-managers.htm?ref=bweller.me"><strong>Medical and Health Services Managers</strong></a> — The healthcare system has significant inefficiencies, particularly in administration and management (<a href="https://respiratory-therapy.com/public-health/healthcare-policy/34-percent-us-healthcare-spending/?ref=bweller.me#:~:text=According%20to%20a%20study%20in,2017%2C%20or%20%242%2C500%20per%20American.">source</a>). While this makes the field lucrative in the short term, long-term structural reforms could disrupt it.</li><li><a href="https://www.bls.gov/ooh/business-and-financial/management-analysts.htm?ref=bweller.me"><strong>Management Analysts</strong></a> — These roles are typically filled by prestigious university graduates. While I would enjoy solving business problems, landing one of these jobs may not be realistic.</li><li><a href="https://www.bls.gov/ooh/management/computer-and-information-systems-managers.htm?ref=bweller.me"><strong>Computer and Information Systems Managers</strong></a> — CS-adjacent but involves a more human-focused, deal-making component. I may be able to slot into one of these roles early on in a transition and then later transition away as I feel the field will continue to shrink</li><li><a href="https://www.bls.gov/ooh/healthcare/veterinarians.htm?ref=bweller.me"><strong>Veterinarians</strong></a> — Requires extensive training and, in my opinion, is more challenging than nursing (with a higher risk of being bitten by an animal than a human). It meets all three key barriers to entry, but for personal reasons, I don’t favor this route.</li></ul><h4>Highly Favored</h4><ul><li><a href="https://www.bls.gov/ooh/management/financial-managers.htm?ref=bweller.me"><strong>Financial Managers</strong></a> — A field I’m passionate about. It’s highly transactional but relatively insulated from overseas competition due to legal barriers. I’ve considered this my informal backup plan, though I may need additional finance training. This training could come in the form of further education, which would also serve as an additional barrier to entry. However, I believe LLMs could eventually handle financial analysis, making this a potentially short-term option.</li><li><a href="https://www.bls.gov/ooh/healthcare/registered-nurses.htm?ref=bweller.me"><strong>Registered Nurses</strong></a> — Pays slightly under $100K but offers growth potential into higher-paying roles like nurse practitioner or physician assistant. This profession aligns with all three barriers I’m optimizing for: it has licensing requirements (legal barriers), requires a significant financial investment in education (capital barriers), and is physically anchored.</li><li><a href="https://www.bls.gov/ooh/healthcare/nurse-anesthetists-nurse-midwives-and-nurse-practitioners.htm?ref=bweller.me"><strong>Nurse Practitioners</strong></a> — Requires a master’s degree but can be pursued as an advancement from an RN role, offering the same advantages.</li><li><a href="https://www.bls.gov/ooh/healthcare/physician-assistants.htm?ref=bweller.me"><strong>Physician Assistants</strong></a> — Requires a master’s degree but provides strong compensation. This role could be pursued as a follow-up to an RN and carries the same advantages.</li></ul><h3>Weak/Fast AGI: Financial Manager</h3><blockquote><em>Money, money, money, money, moonnnnnaayyyyyyyyyy</em></blockquote><p>I’ve already passed the Series 65 exam, and I believe I could establish myself in this industry relatively easily.</p><p>With a strong passion for economics and finance, this seems like the natural path if I get laid off and software engineering opportunities start to dwindle.</p><p>This field also offers the potential for a stable 9-to-5 job, which could give me the flexibility to study on the side if I decide to transition into nursing.</p><h3>Slow/Strong AGI: Registered nurses</h3><blockquote><em>Sana sana</em></blockquote><p>Returning to a two-year institution to earn an associate’s degree in nursing is a viable option.</p><p>I can steadily increase my pay by continuing to take additional training. The stability and low likelihood of automation or an influx of new entrants make this field attractive. If the world moves toward fast but weak AGI, the resulting chaos will make a stable career even more valuable.</p><p>One significant tail risk is another pandemic, which could increase personal risk in this field. However, that remains a low-probability event in the grand scheme of things.</p><p>While there has been increasing discussion about robotics, I find it unlikely that automation will replace nurses in the near future. When people are in pain, human touch is essential-something robots won’t replicate effectively anytime soon. In the long term, I expect robotics to take over complex surgeries first, leaving lower-level nursing roles relatively untouched.</p><p>Even if robots advance to the point of automating nursing tasks, nurses form a large voting bloc and are legally protected through boards and licensing regulations. I find it unlikely that they would passively accept widespread automation without resistance.</p><h3>Prepping: Doomsayer</h3><blockquote><em>Ahhhhh!</em></blockquote><p>True strong AGI or ASI is on the horizon, leaving little time to worry about trivial matters like making money.</p><p>The very existence of the human species may be at stake, making it crucial to prepare for what were once considered tail-risk scenarios. Ensuring readiness for these potential disruptions is now a paramount priority.</p><p>While I’m not rushing to the nearest bunker with an emergency supply kit for the next few years, I will be taking some simple, common-sense measures to hedge against this potential outcome.</p><h3>Appendix</h3><h3><a href="https://www.bls.gov/ooh/fastest-growing.htm?ref=bweller.me">Highest projected percentage growth</a></h3><p>OCCUPATION GROWTH RATE, 2023–33 2023 MEDIAN PAY <a href="https://www.bls.gov/ooh/computer-and-information-technology/computer-and-information-research-scientists.htm?ref=bweller.me"><strong>Computer and information research scientists</strong></a> 26% $145,080 per year <a href="https://www.bls.gov/ooh/healthcare/physician-assistants.htm?ref=bweller.me"><strong>Physician assistants</strong></a> 28% $130,020 per year <a href="https://www.bls.gov/ooh/healthcare/nurse-anesthetists-nurse-midwives-and-nurse-practitioners.htm?ref=bweller.me"><strong>Nurse practitioners</strong></a> 46% $126,260 per year <a href="https://www.bls.gov/ooh/computer-and-information-technology/information-security-analysts.htm?ref=bweller.me"><strong>Information security analysts</strong></a> 33% $120,360 per year <a href="https://www.bls.gov/ooh/math/actuaries.htm?ref=bweller.me"><strong>Actuaries</strong></a> 22% $120,000 per year <a href="https://www.bls.gov/ooh/healthcare/veterinarians.htm?ref=bweller.me"><strong>Veterinarians</strong></a> 19% $119,100 per year <a href="https://www.bls.gov/ooh/management/medical-and-health-services-managers.htm?ref=bweller.me"><strong>Medical and health services managers</strong></a> 29% $110,680 per year <a href="https://www.bls.gov/ooh/math/data-scientists.htm?ref=bweller.me"><strong>Data scientists</strong></a> 36% $108,020 per year <a href="https://www.bls.gov/ooh/business-and-financial/financial-examiners.htm?ref=bweller.me"><strong>Financial examiners</strong></a> 21% $84,300 per year <a href="https://www.bls.gov/ooh/math/operations-research-analysts.htm?ref=bweller.me"><strong>Operations research analysts</strong></a> 23% $83,640 per year <a href="https://www.bls.gov/ooh/life-physical-and-social-science/epidemiologists.htm?ref=bweller.me"><strong>Epidemiologists</strong></a> 19% $81,390 per year <a href="https://www.bls.gov/ooh/business-and-financial/logisticians.htm?ref=bweller.me"><strong>Logisticians</strong></a> 19% $79,400 per year <a href="https://www.bls.gov/ooh/healthcare/occupational-therapy-assistants-and-aides.htm?ref=bweller.me"><strong>Occupational therapy assistants</strong></a> 22% $67,010 per year <a href="https://www.bls.gov/ooh/healthcare/physical-therapist-assistants-and-aides.htm?ref=bweller.me"><strong>Physical therapist assistants</strong></a> 25% $64,080 per year <a href="https://www.bls.gov/ooh/installation-maintenance-and-repair/wind-turbine-technicians.htm?ref=bweller.me"><strong>Wind turbine service technicians</strong></a> 60% $61,770 per year <a href="https://www.bls.gov/ooh/community-and-social-service/substance-abuse-behavioral-disorder-and-mental-health-counselors.htm?ref=bweller.me"><strong>Substance abuse, behavioral disorder, and mental health counselors</strong></a> 19% $53,710 per year <a href="https://www.bls.gov/ooh/construction-and-extraction/solar-photovoltaic-installers.htm?ref=bweller.me"><strong>Solar photovoltaic installers</strong></a> 48% $48,800 per year <a href="https://www.bls.gov/ooh/healthcare/veterinary-technologists-and-technicians.htm?ref=bweller.me"><strong>Veterinary technologists and technicians</strong></a> 19% $43,740 per year <a href="https://www.bls.gov/ooh/healthcare/veterinary-assistants-and-laboratory-animal-caretakers.htm?ref=bweller.me"><strong>Veterinary assistants and laboratory animal caretakers</strong></a> 19% $36,440 per year</p><h3><a href="https://www.bls.gov/ooh/most-new-jobs.htm?ref=bweller.me">Most new jobs</a></h3><p>Occupation Number Of New Jobs (Projected), 2023–33 2023 Median Pay <a href="https://www.bls.gov/ooh/management/computer-and-information-systems-managers.htm?ref=bweller.me"><strong>Computer and information systems managers</strong></a> 106,900 $169,510 per year <a href="https://www.bls.gov/ooh/management/financial-managers.htm?ref=bweller.me"><strong>Financial managers</strong></a> 138,300 $156,100 per year <a href="https://www.bls.gov/ooh/computer-and-information-technology/software-developers.htm?ref=bweller.me"><strong>Software developers</strong></a> 303,700 $132,270 per year <a href="https://www.bls.gov/ooh/healthcare/nurse-anesthetists-nurse-midwives-and-nurse-practitioners.htm?ref=bweller.me"><strong>Nurse practitioners</strong></a> 135,500 $126,260 per year <a href="https://www.bls.gov/ooh/management/medical-and-health-services-managers.htm?ref=bweller.me"><strong>Medical and health services managers</strong></a> 160,600 $110,680 per year <a href="https://www.bls.gov/ooh/management/top-executives.htm?ref=bweller.me"><strong>General and operations managers</strong></a> 210,400 $101,280 per year <a href="https://www.bls.gov/ooh/business-and-financial/management-analysts.htm?ref=bweller.me"><strong>Management analysts</strong></a> 107,900 $99,410 per year <a href="https://www.bls.gov/ooh/healthcare/registered-nurses.htm?ref=bweller.me"><strong>Registered nurses</strong></a> 197,200 $86,070 per year <a href="https://www.bls.gov/ooh/business-and-financial/accountants-and-auditors.htm?ref=bweller.me"><strong>Accountants and auditors</strong></a> 91,400 $79,880 per year <a href="https://www.bls.gov/ooh/construction-and-extraction/electricians.htm?ref=bweller.me"><strong>Electricians</strong></a> 84,300 $61,590 per year <a href="https://www.bls.gov/ooh/transportation-and-material-moving/heavy-and-tractor-trailer-truck-drivers.htm?ref=bweller.me"><strong>Heavy and tractor-trailer truck drivers</strong></a> 102,000 $54,320 per year <a href="https://www.bls.gov/ooh/community-and-social-service/substance-abuse-behavioral-disorder-and-mental-health-counselors.htm?ref=bweller.me"><strong>Substance abuse, behavioral disorder, and mental health counselors</strong></a> 84,500 $53,710 per year <a href="https://www.bls.gov/ooh/construction-and-extraction/construction-laborers-and-helpers.htm?ref=bweller.me"><strong>Construction laborers</strong></a> 115,400 $45,300 per year <a href="https://www.bls.gov/ooh/transportation-and-material-moving/delivery-truck-drivers-and-driver-sales-workers.htm?ref=bweller.me"><strong>Light truck drivers</strong></a> 96,300 $42,470 per year <a href="https://www.bls.gov/ooh/healthcare/medical-assistants.htm?ref=bweller.me"><strong>Medical assistants</strong></a> 118,000 $42,000 per year <a href="https://www.bls.gov/ooh/transportation-and-material-moving/hand-laborers-and-material-movers.htm?ref=bweller.me"><strong>Laborers and freight, stock, and material movers, hand</strong></a> 125,700 $37,660 per year <a href="https://www.bls.gov/ooh/transportation-and-material-moving/hand-laborers-and-material-movers.htm?ref=bweller.me"><strong>Stockers and order fillers</strong></a> 168,600 $36,390 per year <a href="https://www.bls.gov/ooh/food-preparation-and-serving/cooks.htm?ref=bweller.me"><strong>Cooks, restaurant</strong></a> 244,500 $35,780 per year <a href="https://www.bls.gov/ooh/healthcare/home-health-aides-and-personal-care-aides.htm?ref=bweller.me"><strong>Home health and personal care aides</strong></a> 820,500 $33,530 per year <a href="https://www.bls.gov/ooh/food-preparation-and-serving/food-and-beverage-serving-and-related-workers.htm?ref=bweller.me"><strong>Fast food and counter workers</strong></a> 212,500</p><p><em>Originally published at </em><a href="https://bweller.me/agi-prepping/"><em>https://bweller.me</em></a><em> on March 23, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fcffb4ea34e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ultimate Dotfiles]]></title>
            <link>https://medium.com/@benmweller/ultimate-dotfiles-9ef36308f868?source=rss-1a127ae9d283------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ef36308f868</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[dotfiles]]></category>
            <dc:creator><![CDATA[Ben Weller]]></dc:creator>
            <pubDate>Tue, 18 Mar 2025 03:27:03 GMT</pubDate>
            <atom:updated>2026-10-24T16:09:21.845Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/134/0*dTzK2cjKvWTCdC1U.png" /></figure><p>There are more than a few systems to manage dotfiles (examples <a href="https://alexpearce.me/2016/02/managing-dotfiles-with-stow/?ref=bweller.me">1</a>, <a href="https://www.reddit.com/r/zsh/comments/gvkuor/auto_update_dotfiles_just_like_ohmyzsh_from_git/?ref=bweller.me">2</a>, and <a href="https://helloerika.medium.com/easy-and-beautiful-method-to-automate-dotfiles-6dc169db34f8?ref=bweller.me">3</a>).<br>I needed a system that would be compatible with Windows (WSL), Mac, and Linux.<br>I wanted to share some of the functionality between all OSes/systems, but I also wanted to keep some configurations/aliases to be OS specific and system specific.<br>Unlike the above solutions, I didn’t want to install extra software just for this task.<br>I wanted to automatically have my my most recent changes on any machine, and I didn’t want to manually copy ( cp) files to the expected destination directories.<br>I settled on a simple private git repo + symlink solution.<br>Below I&#39;ve individually outlined how I implemented each feature of my system in the hope that others can pull each feature they want in ad-hoc.</p><h3>Splitting files between OS/System</h3><p>I put individual system configurations in a named file (ex: personal_wsl), while keeping OS specific configurations in separate files ( windowsspecific, macspecific, and linuxspecific).<br>Then for any aliases I wanted to share across all OSes/systems I would place them in a commonzshrc file.<br>At shell startup my .zshrc file would be sourced, so I use that as a simple entry point for a specific machine, and as such I don&#39;t include each individual .zshrc file in my dotfiles repo.</p><p>Thus for a Windows, Mac and Linux system the .zshrc would respectively be:</p><pre># System specific source ...<br>source ~/dotfiles/windowsspecific<br>source ~/dotfiles/commonzshrc<br># source ~/dotfiles/machinespecific</pre><pre># System specific source ...<br>source ~/dotfiles/macspecific<br>source ~/dotfiles/commonzshrc<br># source ~/dotfiles/machinespecific</pre><pre># System specific source ...<br>source ~/dotfiles/linuxspecific<br>source ~/dotfiles/commonzshrc<br># source ~/dotfiles/machinespecific</pre><h3>Auto-pull</h3><p>commonzshrc:</p><pre>alias dotpull=&quot;git -C ~/dotfiles pull&quot;<br>alias dotpush=&quot;git -C ~/dotfiles push&quot;<br>alias dotcommit=&quot;git -C ~/dotfiles add -A &amp;&amp; git -C ~/dotfiles commit -m \&quot;Default common commit message\&quot;&quot;<br>alias dotcommitandpush=&quot;dotcommit &amp;&amp; dotpush&quot;<br>alias dotcap=&quot;dotcommit &amp;&amp; dotpush&quot;<br><br># SSH agent initialize<br>{ eval `ssh-agent`; ssh-add; } &amp;&gt;/dev/null<br><br># Try and pull the most recent version of the files<br># This should give errors if it hits a merge conflict<br>{ git -C ~/dotfiles pull } 1&gt;/dev/null</pre><p>I still have to manually push any changes ( dotcap), but in practice that hasn&#39;t been a big issue.</p><h3>Auto-symlink</h3><p>commonzshrc:</p><pre># Pull logic ...<br><br>{ln -s ~/dotfiles/.tmux.conf ~/.tmux.conf} &amp;&gt;/dev/null<br>{ln -s ~/dotfiles/.gitconfig ~/.gitconfig} &amp;&gt;/dev/null<br>{ln -s ~/dotfiles/.vimrc ~/.vimrc} &amp;&gt;/dev/null</pre><p><em>Originally published at </em><a href="https://bweller.me/ultimate-dotfiles/"><em>https://bweller.me</em></a><em> on March 18, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ef36308f868" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scheduling ad hoc commands]]></title>
            <link>https://medium.com/@benmweller/scheduling-ad-hoc-commands-bb0d42f0a040?source=rss-1a127ae9d283------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb0d42f0a040</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[cron]]></category>
            <dc:creator><![CDATA[Ben Weller]]></dc:creator>
            <pubDate>Mon, 10 Mar 2025 05:00:39 GMT</pubDate>
            <atom:updated>2026-10-24T16:04:12.125Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="An old looking picture of a variety of clocks and what look like the garbage" src="https://cdn-images-1.medium.com/max/1024/0*zH8p9rWAO9AnBHBg" /></figure><p>The most common scheduler on Linux is, by far, <strong>Cron</strong>.<br>That said, it is not the only scheduler available on Linux.</p><p>While <strong>Cron</strong> has many advantages, it is relatively weak for one-off, ad-hoc commands that need to be run at a specific time in the future.</p><p>I love <strong>Cron</strong>, but it doesn’t address the full use case that I need.</p><h3>Enter the at command.</h3><p>You can easily schedule a command to run at a specific time.</p><ul><li>Need to send code out for review first thing in the morning for that coworker who only skims their inbox? The <strong>at</strong> command can do that for you.</li><li>Your company requires you to restart your machine, but the suggested time is inconvenient? The <strong>at</strong> command lets you restart on your terms.</li><li>Want to check the status of a website in another time zone, like the European version of Reddit or Hacker News? The <strong>at</strong> command can handle that too.</li></ul><p>However, one thing the <strong>at</strong> command doesn’t do-and isn’t designed to do-is run in full interactive mode.</p><p>The problem arises if you’ve built up a large collection of aliases that are crucial for your development work. Most of these aliases are likely stored in your interactive shell’s <strong>rc</strong> files.</p><p>While the <strong>at</strong> command isn’t meant to run in interactive mode, I’ve chosen to bend the rules. I run it in full interactive mode so that I have access to all my aliases without any extra setup.</p><p>To ensure full interactive mode works seamlessly, I’ve created a system that generates scripts for each new invocation of the <strong>at</strong> command.</p><p>This setup allows me to version control every script I’ve ever run with <strong>at</strong> and provides a simple, organized script management system.</p><h3>One-time setup:</h3><pre>alias atcommandonetimesetup=&#39;mkdir -p ~/at_scripts &amp;&amp; touch ~/at_scripts/golden &amp;&amp; echo &quot;#!/bin/zsh -i&quot; &gt;&gt; ~/at_scripts/golden&#39;</pre><h3>Script creation:</h3><pre>alias atsetup=&#39;CURRENT_TIME=`date +%s`; cp ~/at_scripts/golden ~/at_scripts/$CURRENT_TIME &amp;&amp; chmod +x ~/at_scripts/$CURRENT_TIME &amp;&amp; vim ~/at_scripts/$CURRENT_TIME &amp;&amp; echo ~/at_scripts/$CURRENT_TIME&#39;</pre><h3>Sample workflow:</h3><pre>➜  / atsetup<br>#!/bin/zsh -i<br>#sudo touch /yolo<br>/home/$USER/at_scripts/1741579525<br>➜  / at now + 2 minutes<br>warning: commands will be executed using /bin/sh<br>at Mon Mar 10 04:48:00 2025<br>at&gt; /home/$USER/at_scripts/1741579525<br>at&gt; &lt;EOT&gt;<br>job 3 at Mon Mar 10 04:48:00 2025<br>➜  / atq<br>3       Mon Mar 10 04:48:00 2025 a $USER<br>➜  / atq<br>➜  / ls yolo<br>yolo</pre><p><em>Originally published at </em><a href="https://bweller.me/scheduling-ad-hoc-commands/"><em>https://bweller.me</em></a><em> on March 10, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb0d42f0a040" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VS Code String Interpolation]]></title>
            <link>https://medium.com/@benmweller/vs-code-string-interpolation-b95c081ba110?source=rss-1a127ae9d283------2</link>
            <guid isPermaLink="false">https://medium.com/p/b95c081ba110</guid>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[text]]></category>
            <dc:creator><![CDATA[Ben Weller]]></dc:creator>
            <pubDate>Tue, 11 Aug 2020 01:32:58 GMT</pubDate>
            <atom:updated>2020-08-11T01:32:58.847Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*RhOiWGCeSxyKHbfko4WvZA.jpeg" /><figcaption>The one stop shop for just about anything, VS Code</figcaption></figure><p>It happens every once in a while. You write some code that takes a string off the clipboard, adds some surrounding text and then put it back on the clipboard.</p><p>While a dedicated script might be necessary for strings that need more than one unique variable added, I would say that VS Code will do just fine with almost all other cases.</p><p>The enabling feature here is VS Code’s <a href="https://code.visualstudio.com/docs/editor/userdefinedsnippets#_variables">predefined variables</a>, specifically the $CLIPBOARD variable, that contains the string that&#39;s currently on your clipboard.</p><p>One great way I use this feature is to format standard responses to InMail messages from recruiters.</p><p>The snippet I use for this is:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7b08c871194cb96f2bbb96cb0ee825ca/href">https://medium.com/media/7b08c871194cb96f2bbb96cb0ee825ca/href</a></iframe><p>Remember that you can still use standard placeholders that store 1–9 for variable entry. I’ve used mine has a split placeholder, where I can select all the text to the beginning of the file as the message response, and then select all to the end as the invite without moving my mouse.</p><p>So in my case just pretend that I got a message from Jon Doe, I would copy his first name from the signature of his message; then move over and activate my snippet in VS Code.</p><p>The output would be:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/781136a51b81075cac779daeac6b897c/href">https://medium.com/media/781136a51b81075cac779daeac6b897c/href</a></iframe><p>Now if you’re planning on using this snippet heavily I would suggest that you find a keyboard shortcut for it, you can find more information on how to activate snippets via keyboard shortcuts <a href="https://code.visualstudio.com/docs/editor/userdefinedsnippets#_assign-keybindings-to-snippets">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b95c081ba110" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>