Pebbling Club 🐧đŸȘš

  • How I Track My Blog’s Analytics with Val Town
    Notes
    Random morning thoughts: how many people actually visit this blog? Where do they come from? What if I could just spend a little time to build my own analytics?
    Unfurl
  • What to do about SQLITE_BUSY errors despite setting a timeout
    Notes
    I've written about this a few times before, so I just started a sqlite-busy tag to collect my notes together on a single page.
    Feed
    Unfurl
  • What to do about SQLITE_BUSY errors despite setting a timeout - Bert Hubert's writings
    Notes
    The tl;dr on this, to prevent SQLITE_BUSY errors even when setting a timeout, don’t ever upgrade transactions to read-write. If you know you are going to write in a transaction, use ‘BEGIN IMMEDIATE’, or start off with the write. But do read on for why this is so, and how other databases struggle with this problem as well.
    Feed
    Unfurl
  • MessyComposer/django-sqlite-user-db: Django package enabling user-specific SQLite databases
    Notes
    Django package enabling user-specific SQLite databases
    Unfurl
  • The definitive guide to using Django with SQLite in production | alldjango.com
    Notes
    Especially for side projects with limited traffic requirements and scaling concerns, the promise of SQLite is that it can remove a lot of ongoing hassles. Without a separate database, cache, or queue, there is less network traffic (because the SQLite file is local), and less servers to manage, maintain, and backup.
    Unfurl
  • Welcome to TrailBase | TrailBase
    Notes
    A blazingly fast, open-source application server with type-safe APIs, built-in JS/ES6/TS Runtime, Auth, and Admin UI built on Rust, SQLite & V8.
    Unfurl
  • SQLiteStudio
    Notes
    Create, edit, browse SQLite databases.
    Unfurl
  • DB Browser for SQLite
    Notes
    DB Browser for SQLite (DB4S) is a high quality, visual, open source tool designed for people who want to create, search, and edit SQLite or SQLCipher database files. DB4S gives a familiar spreadsheet-like interface on the database in addition to providing a full SQL query facility. It works with Windows, macOS, and most versions of Linux and Unix. Documentation for the program is on the wiki.
    Feed
    Unfurl
  • frectonz/pglite-fusion: Embed an SQLite database in your PostgreSQL table. AKA multitenancy has been solved.
    Notes
    Embed an SQLite database in your PostgreSQL table. AKA multitenancy has been solved.
    Unfurl
  • SQLite Index Visualization: Structure
    Notes
    After learning about indexes, I understood their basic structure, but I wanted to dig deeper — to explore the data structure, understand the algorithm, and learn how the index data is stored on disk. The theory and actual implementation can differ, so I decided to explore this topic further.
    Unfurl
  • dbcli/litecli: CLI for SQLite Databases with auto-completion and syntax highlighting
    Notes
    CLI for SQLite Databases with auto-completion and syntax highlighting
    Unfurl
  • Database Remote-Copy Tool For SQLite
    Notes
    The following command causes REPLICA to become a copy of ORIGIN: $ sqlite3_rsync ORIGIN REPLICA ?OPTIONS?
    Unfurl
  • Cron-based backup - Litestream
    Notes
    Sometimes Litestream can be overkill for projects with a small database that do not have high durability requirements. In these cases, it may be more appropriate to simply back up your database daily or hourly. This approach can also be used in conjunction with Litestream as a fallback. You can never have too many backups!
    Unfurl
  • Using SQLite as Storage for Web Server Static Content – Internal Tools Deployment Platform | Clace
    Notes
    For Clace, the decision was made to use SQLite for app files storage instead of using the file system. The reasoning was mainly to be able to do atomic version changes. When updating an app, since there could be lots of files being updated, using a database would allow all changes to be done atomically in a transaction. This would prevent broken web pages from being served during a version change.
    Unfurl
  • JSON Functions And Operators
    Notes
    The json_extract(X,P1,P2,...) extracts and returns one or more values from the well-formed JSON at X.
    Unfurl
  • Introducing sqlite-lembed: A SQLite extension for generating text embeddings locally | Alex Garcia's Blog
    Notes
    sqlite-lembed is a SQLite extension for generating text embeddings, meant to work alongside sqlite-vec. With a single embeddings model file provided in the .gguf format, you can generate embeddings using regular SQL functions, and store them directly inside your SQLite database. No extra server, process, or configuration needed!
    Unfurl
  • KNN queries | sqlite-vec
    Notes
    The most common use-case for vectors in databases is for K-nearest-neighbors (KNN) queries. You'll have a table of vectors, and you'll want to find the K closest
    Unfurl
  • Hybrid full-text search and vector search with SQLite | Alex Garcia's Blog
    Notes
    You can use SQLite's builtin full-text search (FTS5) extension and semantic search with sqlite-vec to create "hybrid search" in your applications. You can combine results using different methods like keyword-first, re-ranking by "semantics", and reciprocal rank fusion. Best of all, since it's all in SQLite, experiments and prototypes are cheap and easy, no 3rd party services required!
    Unfurl
  • SQLite Pragma Cheatsheet for Performance and Consistency | ClĂ©ment Joly – Open-Source, Rust & SQLite
    Unfurl
  • SQLite performance tuning - Scaling SQLite databases to many concurrent readers and multiple gigabytes while maintaining 100k SELECTs per second - phiresky's blog
    Notes
    Scaling SQLite databases to many concurrent readers and multiple gigabytes while maintaining 100k SELECTs per second
    Feed
    Unfurl
  • Dogsheep | dogsheep.github.io
    Notes
    Dogsheep is a collection of tools for personal analytics using SQLite and Datasette.
    Unfurl
  • SQLite as a document database
    Notes
    This makes it possible to insert JSON straight into SQLite and then have it extract data and index them, i.e. you can treat SQLite as a document database. This has been possible with PostgreSQL and obviously is what something like Elastic provides but having it available in an embedded database is very nice for lightweight stuff.
    Feed
    Unfurl
  • Hosting SQLite databases on Github Pages - (or any static file hoster) - phiresky's blog
    Notes
    "so I implemented a virtual file system that fetches chunks of the database with HTTP Range requests when SQLite tries to read from the filesystem"
    Feed
    Unfurl
  • SQLite: the Case against Custom Application File Formats | Stackful.io
    Notes
    So, here is my thought experiment -- whenever you have the urge of building a custom file format, just don't.
    Unfurl
  • Dreaming of Dawn » Blog Archive » Hacking Wordpress
    Notes
    Wordpress with support for SQLite, among other things.
    Unfurl