Patrick Smith
royalicing.com
Patrick Smith
@royalicing.com
webassembly in elixir: https://useorb.dev · components everywhere: https://components.guide · blog: https://royalicing.com · he/him
Oh no I created a nano CSS library
June 24, 2025 at 12:37 PM
When your AI agent fails the first time
May 23, 2025 at 4:41 AM
May 23, 2025 at 3:02 AM
How on earth does Google survive if their main revenue streams are dropped like the fuel tank & rocket boosters on the Space Shuttle?
techcrunch.com/2025/05/06/u...
May 7, 2025 at 4:23 AM
How to change Tailwind 4’s dark: variant to work with the system dark mode and data-theme="light" / data-theme="dark" attributes.

play.tailwindcss.com/hYJSmS8Zlu?f...
April 29, 2025 at 3:10 AM
It’s very inspired by the idea of JSX, which allows composing of powerful puzzle pieces.

Rejigging the code example above and it might start to look more familiar:
April 27, 2025 at 11:04 AM
I finally implemented the feature I dreamed of when starting Orb. Composing different WebAssembly modules into a single HTML page.

Each component can return both content and content. These interleave with body content from the layout.

#myelixirstatus
April 27, 2025 at 10:42 AM
I just finished the book Origins, highly recommend. It shows how geology, the earth, the seas, the winds, and minerals in the ground all caused major circumstances in history, from coal & oil through to the Mongols.
April 27, 2025 at 2:32 AM
The send_css/2 function is then very simple, delegating the work to the GoldenOrb.CSS protocol and the venerable Plug library.
April 26, 2025 at 3:16 PM
Under the hood GoldenOrb.CSS is an Elixir protocol, whose default implementation uses the Wasmex library to execute our WebAssembly.
April 26, 2025 at 3:14 PM
Orb lets you write WebAssembly using an Elixir DSL.

Here we render dynamic CSS depending on a theme variable in a struct.

GoldenOrb.Plug.send_css/2 executes the WebAssembly & automatically passes in the theme then assigns the resulting CSS to a Plug HTTP Conn.

#myelixirstatus
April 26, 2025 at 3:07 PM
Sad to see Apple has fallen for the Evil Twin trope.
March 31, 2025 at 5:58 AM
I just wrote “Infinite Bicycles for the Mind” on the levels of surprise in vibe coding.
icing.space/2025/infinit...
March 27, 2025 at 11:02 AM
I added ISO8601 parsing and formatting to my WebAssembly + Elixir library SilverOrb:

Code: github.com/RoyalIcing/S...

#MyElixirStatus
March 27, 2025 at 7:29 AM
I made a SwiftUI Playground app to send the same prompt to both ChatGPT and Claude, it’s useful for seeing where they both agree or where one has deeper knowledge than the other.
November 15, 2024 at 4:43 AM
I wrote a new intro on the Orb site. Hopefully it explains the motivation for why I, as a front-end-developer, would create a WebAssembly compiler.
November 4, 2024 at 1:16 PM
I’m so happy Playwright exists! Here’s checking a page redirects to its canonical URL (so it doesn’t get indexed as two distinct pages by Google). So clean and simple, yet checks all 3 main browser engines.
December 8, 2023 at 2:36 AM
An example of how Apple dropped the ball with its software platforms. Ulysses is an amazing Markdown writing tool. It uses iCloud. Periodically it has to redownload everything. And I just have to cross my fingers and wait…
December 2, 2023 at 12:20 AM
Working on slides for ElixirConf US
August 17, 2023 at 1:08 PM