<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
    <channel>
        <title>phiresky's blog</title>
        <link>https://phiresky.github.io/blog/</link>
        <description>Code, Craft, and Creativity</description>
        <lastBuildDate>Sun, 02 Feb 2025 12:06:13 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <copyright>yup</copyright>
        <item>
            <title><![CDATA[SQLite performance tuning]]></title>
            <link>https://phiresky.github.io/blog/2020/sqlite-performance-tuning</link>
            <guid>https://phiresky.github.io/blog/2020/sqlite-performance-tuning</guid>
            <pubDate>Fri, 26 Jun 2020 00:00:00 GMT</pubDate>
            <description><![CDATA[SQLite is an embedded SQL database. It’s extremely easy to setup, buildable as a single C file with libraries existing for basically all common programming languages. It doesn’t need any server setup or configuration since the SQL logic is run in the host process, and the database consists of only...]]></description>
        </item>
        <item>
            <title><![CDATA[An overview of typed SQL libraries for TypeScript]]></title>
            <link>https://phiresky.github.io/blog/2020/sql-libs-for-typescript</link>
            <guid>https://phiresky.github.io/blog/2020/sql-libs-for-typescript</guid>
            <pubDate>Sat, 27 Jun 2020 00:00:00 GMT</pubDate>
            <description><![CDATA[Using relational databases in a typed language is a pain unless you have great libraries to support you. There’s a lot of different libraries for TypeScript, but they all have their own advantages and flaws. Since it’s hard to find anything other than TypeORM, this is a short list of the...]]></description>
        </item>
        <item>
            <title><![CDATA[sqlite-zstd: Transparent dictionary-based row-level compression for SQLite]]></title>
            <link>https://phiresky.github.io/blog/2022/sqlite-zstd</link>
            <guid>https://phiresky.github.io/blog/2022/sqlite-zstd</guid>
            <pubDate>Sun, 31 Jul 2022 00:00:00 GMT</pubDate>
            <description><![CDATA[Motivation (or side side projects) While working on my startup (DishDetective) I started a side project of an automatic time-tracking tool (timetrackrs), where I try to collect a lot of information about my habits for later analysis. The main component collects data from my computer about what...]]></description>
        </item>
        <item>
            <title><![CDATA[Creating a blog]]></title>
            <link>https://phiresky.github.io/blog/2019/about</link>
            <guid>https://phiresky.github.io/blog/2019/about</guid>
            <pubDate>Fri, 14 Jun 2019 00:00:00 GMT</pubDate>
            <description><![CDATA[Hello World! I finally decided to make a blog to put my ramblings and projects. After some deliberation I settled on using next.js, so I can use React+TypeScript, don’t need a server and the website is accessible without JS enabled. The content is written as markdown, though I’m adding some neat...]]></description>
        </item>
        <item>
            <title><![CDATA[Pandoc Test Suite]]></title>
            <link>https://phiresky.github.io/blog/2019/writer</link>
            <guid>https://phiresky.github.io/blog/2019/writer</guid>
            <pubDate>Sun, 16 Jul 2006 22:00:00 GMT</pubDate>
            <description><![CDATA[This is a set of tests for pandoc. Most of them are adapted from John Gruber’s markdown test suite.HeadersLevel 2 with an embedded linkLevel 3 with emphasisLevel 4Level 5Level 1Level 2 with emphasisLevel 3 with no blank lineLevel 2 with no blank lineParagraphs Here’s a regular paragraph. In...]]></description>
        </item>
        <item>
            <title><![CDATA[rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.]]></title>
            <link>https://phiresky.github.io/blog/2019/rga--ripgrep-for-zip-targz-docx-odt-epub-jpg</link>
            <guid>https://phiresky.github.io/blog/2019/rga--ripgrep-for-zip-targz-docx-odt-epub-jpg</guid>
            <pubDate>Sun, 16 Jun 2019 00:00:00 GMT</pubDate>
            <description><![CDATA[rga is a line-oriented search tool that allows you to look for a regex in a multitude of file types. rga wraps the awesome ripgrep and enables it to search in pdf, docx, sqlite, jpg, zip, tar.*, movie subtitles (mkv, mp4), etc. ExamplesPDFs Say you have a large folder of papers or lecture slides,...]]></description>
        </item>
        <item>
            <title><![CDATA[Automatic citation extraction from URLs]]></title>
            <link>https://phiresky.github.io/blog/2019/pandoc-url2cite</link>
            <guid>https://phiresky.github.io/blog/2019/pandoc-url2cite</guid>
            <pubDate>Fri, 13 Dec 2019 00:00:00 GMT</pubDate>
            <description><![CDATA[pandoc-url2cite[1] allows you to instantly and transparently cite most papers directly given only a single URL. You simply add a URL of a publication, and it will replace that with a real citation in whatever CSL[2] style you want. This means you can avoid dealing with Mendeley[3] or Zotero[4] and...]]></description>
        </item>
        <item>
            <title><![CDATA[Improving Lemmy (PostgreSQL) Performance]]></title>
            <link>https://phiresky.github.io/blog/2023/improving-lemmy-performance</link>
            <guid>https://phiresky.github.io/blog/2023/improving-lemmy-performance</guid>
            <pubDate>Sun, 27 Aug 2023 00:00:00 GMT</pubDate>
            <description><![CDATA[This article is a mix of a report of things I have worked on in Lemmy and generic advice you can use to improve the performance of any (Postgre)SQL project.What’s lemmy? Lemmy is an open-source federated social news aggregator and discussion site. It’s basically to Reddit what Mastodon is to...]]></description>
        </item>
        <item>
            <title><![CDATA[Using PostgreSQL production query planner statistics to fill a mock database]]></title>
            <link>https://phiresky.github.io/blog/2024/mock-data-from-postgres-stats</link>
            <guid>https://phiresky.github.io/blog/2024/mock-data-from-postgres-stats</guid>
            <pubDate>Sun, 03 Nov 2024 00:00:00 GMT</pubDate>
            <description><![CDATA[Did you know that PostgreSQL stores statistics about your data that can also be pretty useful not just for the query planner? Say you have a table users (id bigint, created timestamptz, category text): This information is a bit hard to interpret, so let’s just let AI give us a nice visualization of ...]]></description>
        </item>
        <item>
            <title><![CDATA[Visualizing all books of the world in ISBN-Space]]></title>
            <link>https://phiresky.github.io/blog/2025/visualizing-all-books-in-isbn-space</link>
            <guid>https://phiresky.github.io/blog/2025/visualizing-all-books-in-isbn-space</guid>
            <pubDate>Fri, 31 Jan 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[Libraries have been trying to collect humanity’s knowledge almost since the invention of writing. In the digital age, it might actually be possible to create a comprehensive collection of all human writing that meets certain criteria. That’s what shadow libraries do - collect and share as many...]]></description>
        </item>
        <item>
            <title><![CDATA[10 underused features of modern Python [incomplete]]]></title>
            <link>https://phiresky.github.io/blog/2021/python-features</link>
            <guid>https://phiresky.github.io/blog/2021/python-features</guid>
            <pubDate>Mon, 15 Feb 2021 00:00:00 GMT</pubDate>
            <description><![CDATA[Named tupleautomatic constructor generation etcstrong typingimmutablesame memory usage as normal tuplesdefault valuesmore safety than tuples, access params.name like objects, order does not mattercompatible API with tuplesTyping A must if you’re used to typed programming languages. Makes it much...]]></description>
        </item>
        <item>
            <title><![CDATA[Knowledge dump about LED Strips for indoor lighting]]></title>
            <link>https://phiresky.github.io/blog/2021/led-strips-for-indoor-lighting</link>
            <guid>https://phiresky.github.io/blog/2021/led-strips-for-indoor-lighting</guid>
            <pubDate>Thu, 14 Oct 2021 00:00:00 GMT</pubDate>
            <description><![CDATA[Introduction / Motivation Most people use LED strips only for decorative/moon lighting (with intense colours but not very bright). I have done this too. But I thought why not replace all lighting with LED strips? By now, most people have heard that reducing artifical or blue or any light during the ...]]></description>
        </item>
        <item>
            <title><![CDATA[Data Export Day]]></title>
            <link>https://phiresky.github.io/blog/2021/data-export-day</link>
            <guid>https://phiresky.github.io/blog/2021/data-export-day</guid>
            <pubDate>Tue, 05 Oct 2021 00:00:00 GMT</pubDate>
            <description><![CDATA[A few years ago, I was trying to get all transactions I had with a bank into a spreadsheet - but I realized that it only allowed me to export a CSV with the transactions from the past year. So all the older stuff I now only have in the form of paper or shitty PDFs. So I set myself a reminder to do...]]></description>
        </item>
        <item>
            <title><![CDATA[Hosting SQLite databases on Github Pages]]></title>
            <link>https://phiresky.github.io/blog/2021/hosting-sqlite-databases-on-github-pages</link>
            <guid>https://phiresky.github.io/blog/2021/hosting-sqlite-databases-on-github-pages</guid>
            <pubDate>Sat, 17 Apr 2021 00:00:00 GMT</pubDate>
            <description><![CDATA[I was writing a tiny website to display statistics of how much sponsored content a Youtube creator has over time when I noticed that I often write a small tool as a website that queries some data from a database and then displays it in a graph, a table, or similar. But if you want to use a...]]></description>
        </item>
    </channel>
</rss>