#ftl-infra

21 articles tagged #ftl-infra. All tags

Open sourcing the home CMS I’ve been bragging about my website software for years! For… whew, it’s been 5 years! I’ve been teasing folks about the cool things I did from the beginning — here are all the articles and series… 7 min State of the fasterthanlime 2024 It’s time for some personal and professional news! TL;DR: I started a podcast with James, I’m stable on antidepressants, I’m giving a P99 CONF about my Rust/io_uring/HTTP work, I’m trying on… 17 min Cut for time This series has to end somewhere, so let’s end it here! However, here is a list of some things I’d like to come back to: Bundling & TypeScript. Using a bundler like Parcel so I can write some of the… 3 min Async fn in trait, for real this time async_trait’s one weird type ascription trick. Now that I got the Log in with GitHub feature working, let’s explore what this would’ve looked like with the async_trait crate. First up, the trait… 8 min Implementing "Log in with GitHub" Because I started accepting donations via GitHub Sponsors, and because donating at the “Silver” tier or above gives you advance access to articles and your name in the credits, I need to interface… 12 min Trying to use nix Now that my website is deployed as a container image, I wanted to give nix a try. I’m still doing it the old-fashioned way right now: with a Dockerfile, running cargo in a “builder” image, copying… 3 min Deploying at the edge Disclaimer: Although I no longer work for the company my website is hosted on, and this article is written in way that mentions neither my previous or current hosting provider: at the time of this… 9 min Async fn in trait... not Async fn in trait… not. I was planning on showing the in-progress async_fn_in_trait feature in the context of my website, but it turns out, I can’t! My website uses two databases: one local SQLite… 3 min Migrating from warp to axum Falling out of love with warp. Back when I wrote this codebase, warp was the best / only alternative for something relatively high-level on top of hyper. I was never super fond of warp’s model — it’s… 9 min Cleaning up and upgrading third-party crates The bleeding edge of rustc and clippy. Typically, you’d want a production application to use a stable version of Rust. At the time of this writing, that’s Rust 1.65.0, which stabilizes a bunch of… 10 min Updating fasterthanli.me for 2022 In 2020, I switched from a static site generator to something homemade. And, as tradition commands, I did a whole write-up about it. Since writing articles and making videos is now my full-time… 57 min One funny way to bundle assets There’s one thing that bothers me. In part 1, why are we using hyper-staticfile? Couldn’t we just use file:/// URLs? Well, first off: showing off how easy it is to serve some static files, even in a… 6 min The rest of the fucking owl NO! No no no. What? WE WERE DONE! Well… yes! But also no. We still shell out to a bunch of tools: $ rg 'Command::new' src/commands/mod.rs. 126: let variant = if let Ok(output) =… 7 min Productionizing our poppler build I was a bit anxious about running our poppler meson build in CI, because it’s the real test, you know? “Works on my machine” only goes so far, things have a tendency to break once you try to make… 19 min Porting poppler to meson It took a hot minute. Try several weeks. Well, yeah. I got to contribute to a bunch of open-source projects in the meantime though, so I’m fairly pleased with it! libffi (for static linking) cairo… 11 min Building poppler for Windows I know what you’re thinking: haven’t we strayed from the whole “content pipeline” theme in this series? Well… fair. But compiling and distributing software is part of software engineering, and unless… 14 min A static poppler build: the easy way So! Now our asset processing pipeline is almost complete. But we’ve just traded dependencies against CLI tools, for dependencies against dynamic libraries: $ ldd ./target/debug/pdftocairo.… 17 min From Inkscape to poppler What’s next? Well… poppler is the library Inkscape uses to import PDFs. Yes, the name comes from Futurama. Turns out, poppler comes with a bunch of CLI tools, including pdftocairo! Halfway through… 10 min Truly headless draw.io exports I love diagrams. I love them so much! In fact, I have fairly poor visualization skills, so making a diagram is extremely helpful to me: I’ll have some vague idea of how different things are… 16 min Don't shell out! In this series, I change a critical component of this website’s asset pipeline from “just calling a bunch of external tools” to statically linking with everything I need to process assets. It… 1 h 40 min A new website for 2020 Hi everyone. Has it been two months since I last posted something? Yes it has! That seems like a nice round duration, so let’s break the silence with a few announcements. I have a new website. If… 42 min