<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Peterbe.com</title><link>http://www.peterbe.com/rss.xml</link><description>Stuff in Peter's head</description><atom:link href="http://www.peterbe.com/rss.xml" rel="self"/><language>en-us</language><lastBuildDate>Sat, 28 Nov 2026 23:40:37 +0000</lastBuildDate><item><title>Feeding lemurs at The Haven Zoo</title><link>http://www.peterbe.com/photos/feeding-lemurs-at-the-haven-zoo</link><description/><pubDate>Sat, 28 Nov 2026 23:40:37 +0000</pubDate><guid>http://www.peterbe.com/photos/feeding-lemurs-at-the-haven-zoo</guid></item><item><title>clorb - CLI command to clone OrbStack VMs</title><link>http://www.peterbe.com/plog/clorb</link><description>&lt;p&gt;&lt;code&gt;clorb&lt;/code&gt; is a CLI command that uses &lt;code&gt;orbctl&lt;/code&gt; to clone &lt;a href="https://orbstack.dev/"&gt;OrbStack VMs&lt;/a&gt; based on the name of a git branch.&lt;/p&gt;
&lt;p&gt;At work, we do all our work inside OrbStack VMs. It's like &lt;code&gt;docker&lt;/code&gt; or &lt;code&gt;vagrant&lt;/code&gt;, but better :)&lt;br /&gt;
Cloning an orb is fast and practical. It only takes 1-3 seconds, and it accomplishes this by copying an existing orb without duplicating all of its data. A super practical feature is that it will clone any databases you might have inside the orb. This means that if your branch depends on making non-reversible database migrations, those migrations stay within the orb.&lt;/p&gt;
&lt;p&gt;Without this &lt;code&gt;clorb&lt;/code&gt; tool, you can run:&lt;/p&gt;
&lt;pre&gt;&lt;code class="hljs"&gt;
orbctl &lt;span class="hljs-built_in"&gt;clone&lt;/span&gt; my-orb my-new-orb-clone
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;What &lt;code&gt;clorb&lt;/code&gt; offers is simple: you only provide the name of the git branch and if the clone already exists it doesn't do anything. That means that running &lt;code&gt;clorb my-new-orb-clone&lt;/code&gt; is idempotent.&lt;/p&gt;
&lt;h4 id="how-it-was-created"&gt;&lt;a class="toclink" href="#how-it-was-created"&gt;How it was created&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;The code is available at &lt;a href="https://github.com/peterbe/clorb"&gt;https://github.com/peterbe/clorb&lt;/a&gt; and it's a Bun program. It compiles down to a single binary.&lt;/p&gt;
&lt;p&gt;Installing it is possible with:&lt;/p&gt;
&lt;pre&gt;&lt;code class="hljs"&gt;
curl -fsSL https://raw.githubusercontent.com/peterbe/clorb/main/install.sh | bash
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;that command will download the latest binary, for your operating system, and put the executable &lt;code&gt;clorb&lt;/code&gt; in your &lt;code&gt;~/bin/&lt;/code&gt; directory.&lt;/p&gt;
&lt;p&gt;Please consider installing it and contributing. It's easy to debug the functionality. All you need is &lt;code&gt;just&lt;/code&gt; and &lt;code&gt;bun&lt;/code&gt;. See the &lt;code&gt;README.md&lt;/code&gt; for instructions for &lt;a href="https://github.com/peterbe/clorb#dev"&gt;how to dev on the project&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Sun, 22 Nov 2026 21:06:15 +0000</pubDate><guid>http://www.peterbe.com/plog/clorb</guid></item><item><title>Bee Happy</title><link>http://www.peterbe.com/photos/bee-happy</link><description>&lt;p&gt;On the underside of my honey bottle. Cute touch!&lt;/p&gt;</description><pubDate>Wed, 11 Nov 2026 11:19:29 +0000</pubDate><guid>http://www.peterbe.com/photos/bee-happy</guid></item><item><title>describetime - A command line tool to say a date-time in different ways</title><link>http://www.peterbe.com/plog/describetime</link><description>&lt;p&gt;&lt;strong&gt;tl;dr: Run &lt;code&gt;bunx describetime 2026-10-16T15:41:41-04:00&lt;/code&gt; to see a date described in different ways.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Example output:&lt;/p&gt;
&lt;p&gt;&lt;a href="/cache/0a/98/0a98d7bc17bfbe09480407f2f13058c9.png"&gt;&lt;img src="https://www.peterbe.com/cache/0a/98/0a98d7bc17bfbe09480407f2f13058c9.png" class="fullsize"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The purpose of this tool is to help you understand a date-time you might come across. For example, how does &lt;code&gt;2026-10-22T01:28:43.000Z&lt;/code&gt; compare to &lt;code&gt;October 21, 2026 at 9:28:43 PM EDT&lt;/code&gt;? (Hint: they're the same moment in time.)&lt;/p&gt;
&lt;p&gt;Another advantage of this tool is its ability to describe a date-time in words relative to right now. As you can see in the picture, it says &lt;code&gt;4 days ago&lt;/code&gt;, but it also, if it helps you, says it "more accurately" as &lt;code&gt;3 days, 22 hours, 36 minutes and 32 seconds ago&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Lastly, it prints the date-time in a bunch of different time zones. Hopefully, that can help you quickly work out the time zone arithmetic.&lt;/p&gt;
&lt;h4 id="about-the-cli-itself"&gt;&lt;a class="toclink" href="#about-the-cli-itself"&gt;About the CLI itself&lt;/a&gt;&lt;/h4&gt;
&lt;p&gt;The code for it is here: &lt;a href="https://github.com/peterbe/describetime"&gt;https://github.com/peterbe/describetime&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It's written in TypeScript and uses Bun as the runtime. Every release is published to npmjs.com, but it is also compiled as a native binary, which you &lt;a href="https://github.com/peterbe/describetime/releases"&gt;can download here&lt;/a&gt;. For example, if you're on Linux, you can download &lt;code&gt;describetime-linux-arm64&lt;/code&gt; as a single binary file and rename it to &lt;code&gt;~/bin/describetime&lt;/code&gt;, and then you won't need to use &lt;code&gt;bunx&lt;/code&gt; to download and run it.&lt;/p&gt;</description><pubDate>Thu, 22 Oct 2026 19:21:04 +0000</pubDate><guid>http://www.peterbe.com/plog/describetime</guid></item><item><title>Google search with Gemini is amazing</title><link>http://www.peterbe.com/photos/google-search-with-gemini-is-amazing</link><description>&lt;p&gt;What an amazing achievement that it can generate such tables.&lt;/p&gt;</description><pubDate>Sun, 18 Oct 2026 01:47:10 +0000</pubDate><guid>http://www.peterbe.com/photos/google-search-with-gemini-is-amazing</guid></item><item><title>bun check vs. tsc</title><link>http://www.peterbe.com/photos/bun-check-vs-tsc</link><description>&lt;p&gt;&lt;a href="https://bun.com/blog/bun-v1.4.3"&gt;Bun v1.4.3&lt;/a&gt; just came out, and it includes a new native &lt;code&gt;bun check&lt;/code&gt; command that can replace TypeScript's &lt;code&gt;tsc&lt;/code&gt; command to validate that your TypeScript compiles to JavaScript.&lt;/p&gt;
&lt;p&gt;I tested it on a side project.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Yes, it's 2.6x faster&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;And 12x faster than &lt;code&gt;tsc&lt;/code&gt; v6.&lt;/p&gt;</description><pubDate>Thu, 15 Oct 2026 17:18:04 +0000</pubDate><guid>http://www.peterbe.com/photos/bun-check-vs-tsc</guid></item><item><title>Rocket launch morning show</title><link>http://www.peterbe.com/photos/rocket-launch-morning-show</link><description/><pubDate>Tue, 13 Oct 2026 10:44:26 +0000</pubDate><guid>http://www.peterbe.com/photos/rocket-launch-morning-show</guid></item><item><title>Level 600 on Magic Sort</title><link>http://www.peterbe.com/photos/level-600-on-magic-sort</link><description>&lt;p&gt;I play for two reasons: to avoid social media apps (for my mental health), and for when I'm bored and just want to veg out on something offline. I never cheat (i.e. use real money to buy tokens that make levels easier).&lt;/p&gt;</description><pubDate>Fri, 09 Oct 2026 11:28:56 +0000</pubDate><guid>http://www.peterbe.com/photos/level-600-on-magic-sort</guid></item><item><title>Licorice Pizza - highly recommended movie</title><link>http://www.peterbe.com/photos/licorice-pizza</link><description/><pubDate>Wed, 30 Sep 2026 11:42:54 +0000</pubDate><guid>http://www.peterbe.com/photos/licorice-pizza</guid></item><item><title>Our Mill year in review</title><link>http://www.peterbe.com/photos/our-mill-year-in-review</link><description>&lt;p&gt;"Mill Food Recycler" is a machine we have in the kitchen where we put all food scraps. It produces highly nutritious fertilizer which I sprinkle on the grass and bushes about once every 1-2 months.&lt;/p&gt;
&lt;p&gt;It doesn't smell. It's very silent. And it feels kinda fun to use because of that feeling of making a small impact, one banana peel at a time.&lt;/p&gt;</description><pubDate>Wed, 16 Sep 2026 12:05:33 +0000</pubDate><guid>http://www.peterbe.com/photos/our-mill-year-in-review</guid></item></channel></rss>