Welcome to the Blog!

This is where I write about life, programming, and other interests.

Browse recent posts below, view Tags, or subscribe via Newsletter or RSS.


[Video] Let's Build a DALLE-3 UI Using Elixir & Livebook
• 1 min read

Video
Continue Reading »

[Video] Testing Google Gemini Audio Capabilities
• 5 min read

Gemini with audio
Continue Reading »

TIL: Sum Types With `instructor_ex`
• 6 min read

The Instructor Elixir library lets you retrieve structured output from LLMs like the OpenAI GPT models.
Continue Reading »

TIL: Running `cargo-flamegraph` With Tauri Apps
• 1 min read

A Tauri app is just a Rust-compiled binary. But because the Tauri workflow also involves some frontend development you normally develop your app using something like:
Continue Reading »

TIL: Base64 Encoding an ImageBuffer as PNG(in Rust)
• 1 min read

Recently, I had to base64-encode an image::ImageBuffer to send it as a data URL like
Continue Reading »

TIL: File Uploads Using the Req Elixir Library
• 1 min read

The Req Elixir library doesn't support file uploads(as of version 0.4.5). Instead, you need to use multipart to construct the HTTP request before you send it.
Continue Reading »

Project: Try DALLE-3
• 1 min read

Recently, I wanted to use OpenAI's DALLE-3 to generate some images.
Continue Reading »

TIL: Creating `sentence-transformers` Embeddings From Bumblebee
• 1 min read

One amazing thing about the Elixir machine learning ecosystem is that you can run state-of-the-art ML models right from Elixir. You can go pick your favorite Hugging Face model and get it running without any ceremony.
Continue Reading »

Biology:Chemistry :: Chemistry:Physics :: Physics : ??
• 2 min read

On the first day of class in eleventh grade, a physics teacher posed the question above to us. He explained that if you look closely enough at a biological process, you'll see that the "why" is explained by chemistry. Photosynthesis, for example, can be written down as a chemical equation.
Continue Reading »

Recently
• 1 min read

Continue Reading »