Ben Gubler
Ben Gubler

Posts

RSS

Thoughts on web development, AI, and building things that matter.

5 min read

Adding .md URLs for Raw Markdown Content in Next.js

How to add .md URLs to your Next.js blog to serve raw markdown content, inspired by Vercel's docs.

#nextjs
4 min read

Smooth Page Transitions in Next.js with next-view-transitions

Add smooth page transitions to Next.js using the View Transitions API.

#nextjs#react#ui/ux
2 min read

No, Children Aren't Naturally Better at Languages

A short summary of Mark Rosenfelder's thoughts on child language acquisition

#language-learning
2 min read

More Language Thoughts

Quick thoughts about miscellaneous language / linguistic topics

#language-learning
3 min read

Links #1

Interesting things I've been reading

#random
1 min read

Using HuggingFace Datasets Offline

How to save a HuggingFace dataset to disk and use it offline

#ml/ai
1 min read

Tips #1

Markdown detection in Google Docs, swiping between tabs in Brave Browser for iOS, and running TypeScript files from the command line.

#random#ml/ai
1 min read

Making a Radix Dropdown the Same Width as Its Trigger

How to make the dropdown content of a Radix or shadcn dropdown match the width of the trigger.

#tailwind#nextjs
1 min read

Debugging Python in VSCode

Using the code.interact() function to launch an interactive code interpreter

#python
2 min read

On Microblogging

Why I'm starting a microblog and how it differs from my main blog.

#writing
5 min read

Rebuilding Alpaca with the Hugging Face Trainer Class

Fine-tuning Llama-2-7B using the Alpaca dataset and Hugging Face Trainer

#ml/ai#open-source
2 min read

Introducing gom: GPU Monitoring across Containers

I published `gom`, a CLI tool for monitoring GPU usage across Docker containers.

#ml/ai#open-source
4 min read

Enroot on Slurm for Distributed ML: Part 2

How to use Enroot on Slurm for containerized multi-node training.

#ml/ai
2 min read

Enroot on Slurm for Distributed ML: Part 1

How to use Enroot on Slurm for containerized multi-node training.

#ml/ai
2 min read

Quick & Helpful Slurm Commands

A quick guide to using Slurm for distributed machine learning.

#ml/ai
2 min read

Setting Up Docker for Machine Learning

The Dockerfile I use to set up my machine learning environment.

#ml/ai
3 min read

Accelerate vs. DeepSpeed vs. FSDP

Which one should you use for distributed training?

#ml/ai
2 min read

LLMs Will Never Be Able to Do (Complicated) Math

Since contemporary LLM architectures lack recursion, they're fundamentally incapable of doing some math operations.

#ml/ai
2 min read

One Config File to Rule Them All

JavaScript tools have too many config files. Let's combine them.

#open-source
5 min read

Introducing Eta v3

The next version of Eta, an embedded JS template engine, brings API and documentation improvements.

#typescript#open-source
1 min read

Introducing My New Website

I created a brand-new personal website using Next.js, Tailwind CSS, and MDX.

Archived

Older posts that might be outdated but still have some value.