<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Safe By Design AI: AI Experiments]]></title><description><![CDATA[Here I will drop information about experiments with AI]]></description><link>https://www.safebydesign.ai/s/ai-experiments</link><image><url>https://substackcdn.com/image/fetch/$s_!BfWc!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a19a890-c3a9-4781-a7d2-8462a3bd00af_1254x1254.png</url><title>Safe By Design AI: AI Experiments</title><link>https://www.safebydesign.ai/s/ai-experiments</link></image><generator>Substack</generator><lastBuildDate>Mon, 06 Jul 2026 11:59:54 GMT</lastBuildDate><atom:link href="https://www.safebydesign.ai/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Safe By Design AI]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[safebydesignai@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[safebydesignai@substack.com]]></itunes:email><itunes:name><![CDATA[SafeByDesign AI]]></itunes:name></itunes:owner><itunes:author><![CDATA[SafeByDesign AI]]></itunes:author><googleplay:owner><![CDATA[safebydesignai@substack.com]]></googleplay:owner><googleplay:email><![CDATA[safebydesignai@substack.com]]></googleplay:email><googleplay:author><![CDATA[SafeByDesign AI]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Visualizing Code Change Over Time]]></title><description><![CDATA[Tree map meets git repo meets time-series analysis]]></description><link>https://www.safebydesign.ai/p/visualizing-code-change-over-time</link><guid isPermaLink="false">https://www.safebydesign.ai/p/visualizing-code-change-over-time</guid><dc:creator><![CDATA[SafeByDesign AI]]></dc:creator><pubDate>Mon, 06 Jul 2026 08:14:10 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Gtig!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>How do you show how a software product changes over time? At a code level?</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Gtig!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Gtig!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png 424w, https://substackcdn.com/image/fetch/$s_!Gtig!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png 848w, https://substackcdn.com/image/fetch/$s_!Gtig!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png 1272w, https://substackcdn.com/image/fetch/$s_!Gtig!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Gtig!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png" width="1456" height="649" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:649,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:864073,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.safebydesign.ai/i/205451207?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Gtig!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png 424w, https://substackcdn.com/image/fetch/$s_!Gtig!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png 848w, https://substackcdn.com/image/fetch/$s_!Gtig!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png 1272w, https://substackcdn.com/image/fetch/$s_!Gtig!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bf1df9d-9ad8-4310-b5bc-cd291fd2ca07_3064x1366.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>There are 13,000+ commits across 17 years in ~50 seconds.</p><div class="native-video-embed" data-component-name="VideoPlaceholder" data-attrs="{&quot;mediaUploadId&quot;:&quot;9fa42bc8-5f32-4681-becb-f62dcbdc73d2&quot;,&quot;duration&quot;:null}"></div><p>In git repo logs, you have information about what file was modified, added, deleted or touched in some way. This is important for codebases because it gives teams the ability to trend and track code over time.</p><p>This is how it works at every organization: there are people, and processes that modify code over time. Those changes then get pushed into production systems. </p><p>This visualization follows the history of Redis, an open-source, in-memory database. Because its development history is public, we can examine how the code changed over time. But <a href="https://github.com/redis/redis">Redis</a> is only the example; not the point. It is showing how code evolves over time.</p><p>This particular visualization is an aggregation of the lines of code worked within an area (directory). Even if a line of code was deleted, it is counted. This is to show density of where the actual work of the engineering went. </p><p>Each block is a directory, sized by accumulated work, colored by who touched it.</p><p>The expanding color palette reflects a broader group of contributors working across the codebase.</p><p>The primary areas being worked in the code are <code>src</code> and <code>tests</code>. That is the two most active regions. They are lighting up across all time. </p><p>There are three major events to watch in the video:</p><p>Take note of the dependency update in 2017 to jemalloc. This was a large addition to the codebase, that was then later removed that year. This is why the visualization of work instead of raw files matters. Effort went in, and was then extracted.</p><p>Take note of the dependency update in 2018 to jemalloc 5.0.1. This is the big update. You can see the deps region flare up. ~88,000 lines of code were changed in a single day.  </p><p>Take note of when <a href="https://en.wikipedia.org/wiki/Redis_(company)#cite_note-21">Redis creator, Salvatore stepped down</a> in 2020. Shortly after that, you see that there is a full transition to a new team of engineers, resulting in a change of color patterns.</p><p>When systems undergo large systemic changes, such as dependency updates or new staff, it can require a lot of transitional work to get the software back into a good working state.</p><p>You can see the Human patterns in the data.</p><div><hr></div><p><em>Visualization - custom tooling</em></p><p><em><a href="https://www.safebydesign.ai/p/the-great-flattening-part-1">Music by Suno, again, why hire a Musician? </a></em></p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.safebydesign.ai/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Safe By Design AI! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item></channel></rss>