Advertisement · 728 × 90

Posts by Brian Cardarella

Video

Because tailwind_compiler is written in @ziglang.bsky.social I can build an in-browser compiler pretty easily by targeting Wasm. Here is a demo

Try for yourself: beaconcms.github.io/tailwind_com...

The full @tailwindcss.com v4 tailwind_compiler is a 122kb Wasm asset

5 days ago 2 0 0 0

Heat pumps are increasingly becoming required by regulations and thus suppliers are intentionally over pricing them to make more money. Meanwhile, "get 'er done" installers are forced to install them in low ventilation locations where they are completely ineffective and provide worse outcomes.

5 days ago 0 0 0 0

I've completed the Zig 0.16 update for Zap. Now just waiting on the linux builds to complete then I can push.

5 days ago 2 0 0 0

Decided to look into what the 0.15.2 -> 0.16.0 upgrade for Zap's Zig fork would require.

Two hours later and I'm nearly ready to push it all up. Async will still wait for now but Zap should get some nice additional optimizations especially from the newer LLVM.

6 days ago 3 0 0 0

With Zig 0.16 now out I'm going to continue to work with Zig 0.15 for now for Zap. I may update Zap's Zig fork once 0.16.1 comes out but the big feature I was hoping for is Io.Evented but that's still marked as experimental.

6 days ago 2 0 0 0

I'm OK with that though, I have a ton of work on my plate to solve with single process work right now in Zap that I want to harden and prove out before introducing a concurrency model

6 days ago 1 0 0 0
0.16.0 Release Notes ⚡ The Zig Programming Language

Unfortuantely it looks like Io.Evented is still marked as experimental:

ziglang.org/download/0.1...

6 days ago 0 0 1 0

oh wow, I wasn't expecitng this until later in the year

6 days ago 0 0 1 0
Advertisement

"I want you to add value for users and remove entropy. No mistakes."

1 week ago 1 0 0 0
Preview
zap/test/enum_test.zap at main · DockYard/zap Contribute to DockYard/zap development by creating an account on GitHub.

Enums are now working in Zap

github.com/DockYard/zap...

1 week ago 0 0 0 0

No, mostly architecture changes. Cache all the things but the biggest culprit was we were compiling a module per page at runtime. Also, putting into place a mature cache invalidation strategy. But claude is useful for reading logs

1 week ago 1 0 0 0
Post image

I'm declaring victory on the Beacon CMS memory issues

1 week ago 5 0 1 0
Preview
GitHub - DockYard/zap Contribute to DockYard/zap development by creating an account on GitHub.

Just landed anonymous closures in Zap

github.com/dockyard/zap

1 week ago 2 0 0 0
Post image

Wrote tailwind_compiler in Zig with an Elixir NIF wrapper that has an order of magnitude faster Tailwind v4 compilation compared to Tailwind CLI v4.

This is for Beacon, API is being adjusted for Beacon. Feel free to use but I won't be accepting PRs.

github.com/beaconcms/ta...

1 week ago 4 0 1 0

I’m bringing it back

1 week ago 3 0 1 0
Video

New eager loading feature, which is configurable per site in Beacon.

if cache is cold on first hit it kicks off the cache warming job then will show this temp page until the site is available. Stampeding herds are properly managed as well.

1 week ago 8 0 1 0
Preview
A Hundred Eyes by Quinn Wilton "Let it crash" is the BEAM's answer to failure: processes crash, supervisors restart them, and the system recovers. That confidence is earned, but some bugs hide behind it. They live in the gaps…

She ducked off for a bit. There were more important things to address. It is our absolute pleasure to welcome Quinn Wilton back.

Last I handed her a mic she threw DIY dental care to people. I think this one is about Elixir...

www.goatmire.com/talk/a-hundr...
#elixirlang #goatmire

1 week ago 52 14 3 0
Advertisement
Post image

I don't know why people keep insisting that AI is good at writing
@elixir-lang.org

1 week ago 5 1 3 0

btw, I'm glad she lost. Good riddance.

2 weeks ago 0 0 0 0

It is one of systemic issues that has lead to the larger macro issues you're alluding to. When candidates are just opportunistic like her and seen to use an elected position for fame and national recognition rather than actual representation, yes it's an important issue.

2 weeks ago 0 0 1 0
Post image

I've got for-comprehension working in Zap

2 weeks ago 4 0 0 0

High-level programing languages are just prompts for machine code.

2 weeks ago 44 6 11 1

This is just going to make me swear at it more

2 weeks ago 0 0 0 0

We have nearly $40T in debt.
We have lobbyists that fight this.
We have weak feckless leaders.
We have a population that is focused only on what could have an ROI in the next three months.

2 weeks ago 3 0 0 0

If there is anything to be learned from Pam Bondi, it's that she is a horrible person.

2 weeks ago 1 0 0 0

so it's just fingerprinting?

2 weeks ago 0 0 1 0
Advertisement

browser extensions is a completely different animal, the article should be amended. It reads as if it is scaning your disk

2 weeks ago 2 0 2 0

the article references discovering what software is installed. Unles this is in Microsoft's own browser and they have some hidden feature to allow for that there's no way the browser security model would permit this

2 weeks ago 3 0 1 0

How is it possibly doing that through a browser?

2 weeks ago 3 0 3 0
Post image

I've never liked `with` in Elixir. So Zap is going to have a "catch basin" operator that will jump to when anywhere in the pipe returns {:error, _value}

2 weeks ago 5 0 1 0