<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>tinkering on Suriya's site</title><link>https://subygan.com/tech/tinkering/</link><description>Recent content in tinkering on Suriya's site</description><generator>Hugo</generator><language>en</language><copyright>This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</copyright><item><title>Cloud intro</title><link>https://subygan.com/tech/tinkering/cloud/</link><pubDate>Tue, 28 Apr 2026 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/cloud/</guid><description>&lt;h2 id="what-is-the-cloud-">What is the cloud ?&lt;/h2>
&lt;p>essentially a bunch of server running in a random datacenter.&lt;/p>
&lt;figure>
 &lt;img src="https://subygan.com/assets/images/cloud-intro/rack.jpeg"
 alt="server rack"
 loading="lazy">
 &lt;figcaption>server rack&lt;/figcaption>
&lt;/figure>
&lt;p>These racks and racks of servers can run cohesively together as one simple computer using the Internet. by communicating to each other.&lt;/p></description></item><item><title>recursions</title><link>https://subygan.com/tech/tinkering/recursions/</link><pubDate>Wed, 04 Mar 2026 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/recursions/</guid><description>&lt;p>Recursion is often taught in Computer Science 101 as an elegant, mathematically pure way to solve problems and used widely in leetcode style problems. However, in production environments using mainstream imperative languages (like Python, JavaScript, Java, or C++), it is heavily discouraged. Recursions are usually a footgun in waiting because of some technical&lt;/p></description></item><item><title>qmd for hugo</title><link>https://subygan.com/tech/tinkering/qmd/</link><pubDate>Mon, 29 Dec 2025 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/qmd/</guid><description>&lt;p>I really love just taking notes, run code and having it in my blog.&lt;/p>
&lt;p>Quarto is quite cool, I end up committing both the &lt;code>.qmd&lt;/code> and &lt;code>.md&lt;/code> files generated from running &lt;code>quarto render&lt;/code> locally. (haven&amp;rsquo;t gotten to cicd yet.)&lt;/p></description></item><item><title>media processing in the cli</title><link>https://subygan.com/tech/tinkering/image-processing/</link><pubDate>Fri, 12 Dec 2025 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/image-processing/</guid><description>&lt;p>convert &lt;code>RW2&lt;/code> format to &lt;code>jpg&lt;/code> with imagemagick. while maintaining quality.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">for&lt;/span> f in *.RW2; &lt;span style="color:#66d9ef">do&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> magick &lt;span style="color:#e6db74">&amp;#34;&lt;/span>$f&lt;span style="color:#e6db74">&amp;#34;&lt;/span> -quality &lt;span style="color:#ae81ff">85&lt;/span> &lt;span style="color:#e6db74">&amp;#34;GooglePhotosBackup/&lt;/span>&lt;span style="color:#e6db74">${&lt;/span>f%.*&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">.jpg&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> exiftool -tagsFromFile &lt;span style="color:#e6db74">&amp;#34;&lt;/span>$f&lt;span style="color:#e6db74">&amp;#34;&lt;/span> -all:all &lt;span style="color:#e6db74">&amp;#34;GooglePhotosBackup/&lt;/span>&lt;span style="color:#e6db74">${&lt;/span>f%.*&lt;span style="color:#e6db74">}&lt;/span>&lt;span style="color:#e6db74">.jpg&amp;#34;&lt;/span> -overwrite_original
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">done&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>convert mp4 into good quality video.&lt;/p></description></item><item><title>server setup</title><link>https://subygan.com/tech/tinkering/server/</link><pubDate>Fri, 07 Mar 2025 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/server/</guid><description>&lt;h3 id="oh-my-zsh">oh my zsh&lt;/h3>
&lt;ul>
&lt;li>oh-my-zsh has hands down been a godsend for me.&lt;/li>
&lt;/ul>
&lt;p>for that though we first need to install &lt;code>zsh&lt;/code>&lt;/p></description></item><item><title>mobile dev</title><link>https://subygan.com/tech/tinkering/mobile_dev/</link><pubDate>Fri, 28 Feb 2025 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/mobile_dev/</guid><description>&lt;p>Mobile development is probably the most highest abstracted operation possible. because of this there are too many pitfalls that trip up&lt;/p></description></item><item><title>react native</title><link>https://subygan.com/tech/tinkering/react-native/</link><pubDate>Sat, 22 Feb 2025 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/react-native/</guid><description>&lt;p>I&amp;rsquo;ve worked with React Native before but never professionally.&lt;/p>
&lt;p>Recently I&amp;rsquo;ve been getting into building a complete react-native app&lt;/p>
&lt;p>And, that is when you see the dark underside of things.&lt;/p></description></item><item><title>vscode</title><link>https://subygan.com/tech/tinkering/vscode/</link><pubDate>Sat, 15 Feb 2025 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/vscode/</guid><description>&lt;h2 id="why-switch-from-intellij">why switch from intellij&lt;/h2>
&lt;p>Intellij was my most common IDE but I&amp;rsquo;m so tired of having to be a second citizen for every single plugin. Intellij needs to do a huge platform shift and become more open or be consumed by vscode. The amount of people who start with vscode is insane.&lt;/p></description></item><item><title>poetry</title><link>https://subygan.com/tech/tinkering/poetry/</link><pubDate>Thu, 14 Nov 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/poetry/</guid><description>&lt;p>Python package management is a nightmare. Poetry somewhat solves it.&lt;/p>
&lt;h2 id="new-project">new project&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-shell" data-lang="shell">&lt;span style="display:flex;">&lt;span>poetry new &amp;lt;project_name&amp;gt;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="new-shell">new shell&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-shell" data-lang="shell">&lt;span style="display:flex;">&lt;span>poetry shell
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="setting-up">setting up&lt;/h2>
&lt;p>pipx first&lt;/p></description></item><item><title>llms and unstructured data</title><link>https://subygan.com/tech/tinkering/structure/</link><pubDate>Sat, 31 Aug 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/structure/</guid><description>&lt;p>Close on the heels of running a &lt;a href="https://subygan.com/tech/cloud/batch_processing_llm">batch processing job over 1M documents&lt;/a>
, I was thinking about how LLMs are changing the way we process unstructured data.&lt;/p></description></item><item><title>zsh</title><link>https://subygan.com/tech/tinkering/zshrc/</link><pubDate>Mon, 19 Aug 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/zshrc/</guid><description>&lt;h2 id="setting-up-new-zsh-with-oh-my-zsh">setting up new zsh with oh my zsh&lt;/h2>
&lt;p>firs installing zsh involves&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-shell" data-lang="shell">&lt;span style="display:flex;">&lt;span>brew install zsh
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>While I don&amp;rsquo;t really trust and run randomly downloaded shell files. This one is quite painless.&lt;/p></description></item><item><title>library of congress information</title><link>https://subygan.com/tech/tinkering/loc/</link><pubDate>Sat, 17 Aug 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/loc/</guid><description>&lt;p>Library of Congress is really an incredible repository of content.
Just scrolling through library of congress is a fascinating mental exercise.&lt;/p></description></item><item><title>terminal</title><link>https://subygan.com/tech/tinkering/terminal/</link><pubDate>Thu, 08 Aug 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/terminal/</guid><description>&lt;p>&lt;strong>Raw mode&lt;/strong> in a terminal is receiving the raw bytes from the &lt;code>STDIN&lt;/code> file.
terminal usually gets opened in &lt;strong>canonical mode&lt;/strong> which means input is fed to the program one line at a time, instead of character by character. This can be done by unsetting the &lt;code>ICANON&lt;/code> flag. There are a lot of these &lt;em>bitflags&lt;/em>&lt;/p></description></item><item><title>read the docs</title><link>https://subygan.com/tech/tinkering/read_docs/</link><pubDate>Tue, 23 Jul 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/read_docs/</guid><description>&lt;p>Failing to read the documentation and understanding the code underneath is the bane of all software bugs and I&amp;rsquo;ve guilty of it on multiple counts&lt;/p></description></item><item><title>shell hacks</title><link>https://subygan.com/tech/tinkering/shell/</link><pubDate>Tue, 23 Jul 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/shell/</guid><description>&lt;h2 id="number-of-lines-in-a-file">number of lines in a file&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span>wc -l file.txt
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="split-file-into-multiple-files">split file into multiple files&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span>split -l &lt;span style="color:#ae81ff">1000&lt;/span> file.txt
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="append-two-files-into-one">append two files into one&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span>cat file1.txt file2.txt &amp;gt; file3.txt
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="find-pid-of-port">find pid of port&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-sh" data-lang="sh">&lt;span style="display:flex;">&lt;span>sudo lsof -i :&amp;lt;portnumber&amp;gt;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>git lfs</title><link>https://subygan.com/tech/tinkering/git/</link><pubDate>Thu, 11 Jul 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/git/</guid><description>&lt;h2 id="global-gitignore">global gitignore&lt;/h2>
&lt;p>I&amp;rsquo;m surprised I only came to know on 2024 that you can have a global gitignore&lt;/p>
&lt;p>you can just put this inside &lt;code>~/.gitignore&lt;/code>&lt;/p></description></item><item><title>sprites.dev</title><link>https://subygan.com/tech/tinkering/sprites/</link><pubDate>Thu, 11 Jul 2024 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/sprites/</guid><description>&lt;p>I like to have a standard work environment that I can have multiple zellij is important, installing it with,&lt;/p>
&lt;p>&lt;code>cargo install zellij&lt;/code>&lt;/p></description></item><item><title>intellij hacks</title><link>https://subygan.com/tech/tinkering/intellij/</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/intellij/</guid><description>&lt;p>live templates is very useful to record oft repeated patterns&lt;/p>
&lt;p>&lt;code>control + '&lt;/code> to toggle soft wrap in a file&lt;/p></description></item><item><title>web</title><link>https://subygan.com/tech/tinkering/web/</link><pubDate>Mon, 03 Apr 2023 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/web/</guid><description>&lt;h3 id="no-cache-image">no cache image&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-shell" data-lang="shell">&lt;span style="display:flex;">&lt;span>curl -s -I -X GET https://i.countdownmail.com/2212f0.gif
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> 
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> HTTP/2 &lt;span style="color:#ae81ff">200&lt;/span> 
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> date: Sat, &lt;span style="color:#ae81ff">08&lt;/span> Oct &lt;span style="color:#ae81ff">2022&lt;/span> 07:10:40 GMT
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> content-type: image/gif
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> vary: Accept-Encoding
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> cache-control: no-cache,no-store,must-revalidate,max-age&lt;span style="color:#f92672">=&lt;/span>0,proxy-revalidate,no-transform,private
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> pragma: no-cache
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> expires: -1
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> cf-cache-status: BYPASS
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> report-to: &lt;span style="color:#f92672">{&lt;/span>&lt;span style="color:#e6db74">&amp;#34;endpoints&amp;#34;&lt;/span>:&lt;span style="color:#f92672">[{&lt;/span>&lt;span style="color:#e6db74">&amp;#34;url&amp;#34;&lt;/span>:&lt;span style="color:#e6db74">&amp;#34;https:\/\/a.nel.cloudflare.com\/report\/v3?s=ojsVIWtY5FGmXMXpki%2BZhdPypWt9kJuNg1tWhv8q691GSk7n5Y2zuCCtFcFvTP%2FCMdLASEF90CYfW7sTh3rrcdGzwwEHl524UpTYmJrIU9uoFJ%2Br%2FTCOBAiBJeySbcA7UDrt%2Fr3e&amp;#34;&lt;/span>&lt;span style="color:#f92672">}]&lt;/span>,&lt;span style="color:#e6db74">&amp;#34;group&amp;#34;&lt;/span>:&lt;span style="color:#e6db74">&amp;#34;cf-nel&amp;#34;&lt;/span>,&lt;span style="color:#e6db74">&amp;#34;max_age&amp;#34;&lt;/span>:604800&lt;span style="color:#f92672">}&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> nel: &lt;span style="color:#f92672">{&lt;/span>&lt;span style="color:#e6db74">&amp;#34;success_fraction&amp;#34;&lt;/span>:0,&lt;span style="color:#e6db74">&amp;#34;report_to&amp;#34;&lt;/span>:&lt;span style="color:#e6db74">&amp;#34;cf-nel&amp;#34;&lt;/span>,&lt;span style="color:#e6db74">&amp;#34;max_age&amp;#34;&lt;/span>:604800&lt;span style="color:#f92672">}&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> server: cloudflare
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> cf-ray: 756d0edc3bd13c13-BLR
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> alt-svc: h3&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;:443&amp;#34;&lt;/span>; ma&lt;span style="color:#f92672">=&lt;/span>86400, h3-29&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;:443&amp;#34;&lt;/span>; ma&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">86400&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Basically, this is a service that creates timer gifs. based on the URL. the &lt;code>cache-control&lt;/code> part is the most interesting. This is pretty efficient and asks the browser to not cache anything. This ensures that everytime the cache is new&lt;/p></description></item><item><title>hugo notes</title><link>https://subygan.com/tech/tinkering/hugo/</link><pubDate>Mon, 26 Dec 2022 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/hugo/</guid><description>&lt;h3 id="making-a-nested-map">making a nested map&lt;/h3>
&lt;p>&lt;code>$m := dict (slice &amp;quot;n&amp;quot; &amp;quot;m&amp;quot; &amp;quot;new&amp;quot;) &amp;quot;true&amp;quot;&lt;/code> creates a nested map with &lt;code>m.n.m.new&lt;/code> returning &amp;ldquo;true&amp;rdquo;&lt;/p></description></item><item><title>pocketbase</title><link>https://subygan.com/tech/tinkering/pocketbase/</link><pubDate>Thu, 01 Sep 2022 22:15:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/pocketbase/</guid><description>&lt;p>I&amp;rsquo;ve been looking for an alternative to firebase. Because OSS FTW!!&lt;/p>
&lt;p>Pocketbase is an alternative with A bold claim.&lt;/p>
&lt;p>But, it really does 2 things very well, AUTH APIs and CRUD APIs over DBs.&lt;/p></description></item><item><title>visualising performance</title><link>https://subygan.com/tech/tinkering/profiler/</link><pubDate>Wed, 13 Apr 2022 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/profiler/</guid><description>&lt;h3 id="interesting">interesting:&lt;/h3>
&lt;ul>
&lt;li>Flame graphs don&amp;rsquo;t show sequentiality. They are not sorted based on time. They are sorted by alphabets. Which means in the flame graphs, if&lt;/li>
&lt;/ul>
&lt;p>eg.
&lt;figure>
 &lt;img src="https://subygan.com/assets/images/flamegraph.png"
 alt="flamegraph image"
 loading="lazy">
 &lt;figcaption>flamegraph image&lt;/figcaption>
&lt;/figure>
&lt;/p></description></item><item><title>django issues and quick fixes</title><link>https://subygan.com/tech/tinkering/django/</link><pubDate>Fri, 04 Feb 2022 22:15:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/django/</guid><description>&lt;p>CSRF token invalid &lt;code>__URL__&lt;/code> not in trusted origin&lt;/p>
&lt;p>This happens because there is no &lt;code>CSRF_TRUSTED_ORIGINS&lt;/code> in the settings file. Also make sure that the url &lt;strong>does not have an end slash&lt;/strong>&lt;/p></description></item><item><title>building an extension</title><link>https://subygan.com/tech/tinkering/browser_extension/</link><pubDate>Wed, 02 Feb 2022 22:15:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/browser_extension/</guid><description>&lt;p>browser extensions have been an area of interest for a while. I tried building an extension that would help me save stuff in my &lt;a href="https://subygan.com/readlog">readlog&lt;/a>
. Sort of simply highlight stuff from within the page.&lt;/p></description></item><item><title>searching for a cross platform framework</title><link>https://subygan.com/tech/tinkering/search_cross_platform/</link><pubDate>Sat, 29 Jan 2022 22:15:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/search_cross_platform/</guid><description>&lt;p>This is still a WIP and I&amp;rsquo;ll be updating each one as I discover and play with new stuff.&lt;/p>
&lt;h2 id="why-cross-platform">why cross platform?&lt;/h2>
&lt;p>There are majorly 2 mobile platforms and 3 desktop platforms. Browsers are acting as a cool layer between this, within the realms of which applications are consistently rendered and usability is not spoilt. This is awesome, because now you don&amp;rsquo;t need 5X the development effort to deliver a software experience But only one. Which means velocity can be much faster. But the problem with this, is that &amp;ldquo;websites&amp;rdquo; are not really perceived as serious applicaitons. And there is very little control over the user experience. Native apps are a better way to deliver applications.&lt;/p></description></item><item><title>registering with google and other</title><link>https://subygan.com/tech/tinkering/seo/</link><pubDate>Thu, 23 Dec 2021 22:15:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/seo/</guid><description>&lt;p>Without praying at the altar of google, A site doesn&amp;rsquo;t exist in the internet.&lt;/p>
&lt;p>A site can be registered by visiting &lt;a href="https://search.google.com/search-console">search.google.com&lt;/a>

But, before I&amp;rsquo;m handed over the tools for SEO google does a &amp;ldquo;ownership validation&amp;rdquo;. they gave me a secret of sorts. I had to add a TXT Record in my DNS provider. And verify it.&lt;/p></description></item><item><title>installing jekyll for the first time and issues</title><link>https://subygan.com/tech/tinkering/ruby_v_xcode/</link><pubDate>Tue, 21 Dec 2021 22:15:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/ruby_v_xcode/</guid><description>&lt;p>I was trying to install jekyll in my local machine and faced this error&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-shell" data-lang="shell">&lt;span style="display:flex;">&lt;span>/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/mkmf.rb:467:in &lt;span style="color:#e6db74">`&lt;/span>try_do&lt;span style="color:#960050;background-color:#1e0010">&amp;#39;&lt;/span>: The compiler failed to generate an executable file. &lt;span style="color:#f92672">(&lt;/span>RuntimeError&lt;span style="color:#f92672">)&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>You have to install development tools first.
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>this was fixed by running&lt;/p></description></item><item><title>local tunnels with cloudflare</title><link>https://subygan.com/tech/tinkering/local_tunnels/</link><pubDate>Tue, 06 Jul 2021 22:15:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/local_tunnels/</guid><description>&lt;h1 id="exposing-local-services-with-cloudflare-tunnels">Exposing Local Services with Cloudflare Tunnels&lt;/h1>
&lt;p>Cloudflare Tunnels let you expose local services to the internet without opening ports or configuring firewalls. Here&amp;rsquo;s how to set it up.&lt;/p></description></item><item><title>ruby hack</title><link>https://subygan.com/tech/tinkering/ruby/</link><pubDate>Tue, 06 Jul 2021 22:15:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/ruby/</guid><description>&lt;p>&lt;code>rvm&lt;/code> is a tool to maintain a Ruby environment.
&lt;code>rvm --default&lt;/code> is a shortcut to set the default Ruby environment.
&lt;code>rvm use&lt;/code> is a shortcut to set the current Ruby environment.&lt;/p></description></item><item><title>searching for a self-hosted vpn</title><link>https://subygan.com/tech/tinkering/vpn/</link><pubDate>Tue, 06 Jul 2021 22:15:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/vpn/</guid><description>&lt;h2 id="goals">goals:&lt;/h2>
&lt;ul>
&lt;li>Find a VPN solution that would be able to maintain an ACL.&lt;/li>
&lt;li>No licensing solutions&lt;/li>
&lt;/ul>
&lt;p>OpenVPN - Not Truly self-hosted, in the sense that you will have to pay for the software in the range of $7 per user. Even if you self host it&lt;/p></description></item><item><title>GPT2</title><link>https://subygan.com/tech/tinkering/gpt-2/</link><pubDate>Tue, 16 Jul 2019 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/gpt-2/</guid><description>&lt;p>It is such a great time to be alive! so many new things and so many innovations in all fields. I was reading about the GPT-2 which was released by OpenAI a few months back, in this blog. GPT-2 is a Natural language synthesiser, that is able to synthesise paragraphs naturally based on the raw input given to it.&lt;/p></description></item><item><title>entropy, displays and disruption</title><link>https://subygan.com/tech/tinkering/led-cube/</link><pubDate>Sat, 21 Apr 2018 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/led-cube/</guid><description>&lt;p>Extremely long back. I saw this random video of an 8x8x8 which had these crazy animations that were mind-boggling to me and I’ve always been wanting to create one of my own. Only problem being I’m just too much of a lazy douche to do anything.&lt;/p></description></item><item><title/><link>https://subygan.com/tech/tinkering/flexbox/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/flexbox/</guid><description/></item><item><title/><link>https://subygan.com/tech/tinkering/git-diff/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/git-diff/</guid><description>&lt;p>git diff only diffs unstaged commits&lt;/p>
&lt;p>git add . does not stage empty directories&lt;/p>
&lt;p>if you add a new file to the empty directory it does not get tracked&lt;/p></description></item><item><title>custom user agent for testing</title><link>https://subygan.com/tech/tinkering/custom_ua/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://subygan.com/tech/tinkering/custom_ua/</guid><description>&lt;p>A &lt;a href="https://en.wikipedia.org/wiki/User_agent">user-agent&lt;/a>
 is used to recognize the browser and the device the project, &lt;a href="https://developers.whatismybrowser.com/useragents/explore/">whatismybrowser.com&lt;/a>
 have a database of user agents it&amp;rsquo;s just a string that says about your browser and device type that is sent as a cookie in every request. You can find your current user agent by googling &amp;ldquo;&lt;a href="https://www.google.com/search?q=what&amp;#43;is&amp;#43;my&amp;#43;user&amp;#43;agent">what is my user agent&lt;/a>
&amp;rdquo;&lt;/p></description></item></channel></rss>