Notes on software engineering

Archive / page 28

541–550 of 550 posts, newest first.

  1. 2023
  2. Configuring auto-update for an Electron app

    This is almost really simple. I used electron/update-electron-app for it, the instructions for which are: - Add it to with - Make sure your field in that file points to your GitHub repository - Use…

    1 min read
  3. Running LLaMA 7B and 13B on a 64GB M2 MacBook Pro with llama.cpp

    Facebook's LLaMA is a "collection of foundation language models ranging from 7B to 65B parameters", released on February 24th 2023. It claims to be small enough to run on consumer hardware.

    4 min read
  4. Converting no-decimal-point latitudes and longitudes using jq

    I had some data with weird co-ordinates in it: Note the and in there. I know that this data refers to somewhere in Houston, and a few people on Twitter pointed out that it's actually really simple…

    1 min read
  5. Reviewing your history of public GitHub repositories using ClickHouse

    There's a story going around at the moment that people have found code from their private GitHub repositories in the AI training data known as The Stack, using this search tool…

    2 min read
  6. Browse files (including SQLite databases) on your iPhone with ifuse

    I spotted an intriguing note in the release notes for osxphotos 0.51.7: Added ability to read Photos.sqlite from iPhone This lead me to osxphotos issue 745 which lead me to How to access iPhone files…

    1 min read
  7. Updating a Markdown table of contents with a GitHub Action

    markdown-toc is a Node script that parses a Markdown file and generates a table of contents for it, based on the headings.

    1 min read
  8. Running OpenAI's large context models using llm

    OpenAI announced new models today. Of particular interest to me is the new model, which provides GPT 3.5 with a 16,000 token context window (up from 4,000) priced at 1/10th of GPT-4 - $0.003 per 1K…

    2 min read
  9. Unix timestamp in milliseconds in SQLite

    I wanted to retrieve the time in milliseconds since the Unix epoch in SQLite. Fetching seconds since the epoch is easy: Prior to SQLite 3.42.0 (released in May 2023) milliseconds were much more…

    2 min read
  10. Use labels on Cloud Run services for a billing breakdown

    Thanks to @glasnt for the tip on this one. If you want a per-service breakdown of pricing on your Google Cloud Run services within a project (each service is a different deployed application) the…

    1 min read
  11. Talking to a PostgreSQL service container from inside a Docker container

    I have a Django application which uses PostgreSQL. I build the Django application into its own Docker container, push that built container to the GitHub package registery and then deploy that…

    1 min read