Samuel W. Flint

A tech and academic blog

  • Announcing track-calorie-values

    In an effort to take control of my health, I've started to keep track of what I eat. To make collecting this information easier, I've written a package to cache foods and their relevant calorie values. It's fairly simple at the moment, but I intend on eventually making it a bit more generic, and potentially even connecting to public APIs to get more complete nutrition data. It's available here.

    Read more…
  • Sync It

    I'm pleased to announce the first release of my synchronization utility, sync-it. This is a replacement for the mr, or MyRepos utility, which is written in Perl, and natively supports a handful of repository types. However, it's hard to extend well, and less than flexible in adding new repository types. sync-it is written in Rust (as an excuse to learn the language and tooling), and distributed as a Nix Flake.

    Read more…
  • Filtered Capture in Orgmode

    I've talked about how I manage notes from reading, and a bit about how I work. Part of managing my reading list involves the Org Capture facility. I've got a set of templates (the reason I submitted this patch) that I use to add to a TODO list. These are under a hierarchy of capture templates "p", normally only allowed to be called in ebib-index or ebib-entry modes. But I don't want to have to select that hierarchy every time I want to add a paper to the list.

    Read more…
  • Reading and Keeping Notes

    As I start my PhD, reading literature and retaining the information is even more important that it had been. Finding a way to organize these notes (and the relevant literature) can help to make re-discovery possible, especially from something small that I may remember. I'm going to take a look at the tools I use for managing these notes, and how I use them. I'll consider two kinds of literature (generally): articles & books.

    Read more…
  • What I Work With

    Academics or not, nerds love to talk about how they work, and what tools they use. I've written about it before, but I'd like to clean it up, and discuss how things have changed. I'll talk about what software and hardware I use, as well as what my environment is like, and what non-tech things I use. Eventually, I'll get around to writing about how I work, but until then, here's what I use.

    Read more…
  • Using NixOS

    Like most GNU/Linux users, I'm a partisan in the Grand Distribution War. I have my preferences, and I've talked about them before here and here. I started with Ubuntu, moved to Fedora/CentOS and finally it seems, have settled on NixOS for most of my systems. Why NixOS? NixOS is very different from other distros. For one, packages are managed very differently, primarily declaratively rather than interactively or imperatively.

    Read more…
  • Publishing This Website

    I've recently changed how I publish my website. I had previously used the Org Publish system (see here), but I recently decided to update to use the Hugo site generator. In part, I chose to switch because the old system was slow, but I chose for several other reasons. I'll explain why first, and then talk about part of how I have things set up. The Why Org Publish worked, but it was slow, needed to be manually configured, and half of the logic needed to create, for instance, a posts listing and an RSS feed was hand-written, buggy and fragile.

    Read more…
  • Standing Desk

    Hardware So, I use the desk shown below, but here are the specs: Base The VIVO Electric Stand Up Desk Frame (DESK-V103E), goes from 28.7 to 48 inches with a load capacity of 220 pounds. Is adjustable in size – can handle large or small surfaces, and the controller allows you to set presets. Surface I use a 2.5 foot by 5.

    Read more…
  • Switching to Nixos

    This post is old, and may no longer reflect my current way of doing things or my current opinions. It may eventually be deleted or removed. Try this instead: Using NixOS.— Samuel W. Flint, Thursday, July 12, 2020 What is NixOS? NixOS is a distribution of GNU/Linux, built on top of the Nix package manager, and using a declarative configuration model. Because of this model it has some amazing features such as configuration roll-back, reliable upgrade and single-file whole-system configuration.

    Read more…
  • Publishing My Website

    This post is old, and may no longer reflect my current way of doing things or my current opinions. It may eventually be deleted or removed. Try this instead: Publishing This Website.— Samuel W. Flint, Thursday, July 12, 2020 It's all Static This whole site — except for a gallery script — is static. I do this for one single reason, I use org-mode and I don't want to deal with getting it and Wordpress to cooperate!

    Read more…