defer in Zig is the most underrated feature in systems programming
Readable cleanup > clever destructors
defer in Zig is the most underrated feature in systems programming
Readable cleanup > clever destructors
This is a very different side of you π
... and yet, I fish by Canadian Softball is a wild ride.
Been using jj for a week now for personal projects and I think im finally figuring out a workflow that I like enough to start using it for the day job as well. Feels good.
I think Im technically a Zig folk and my only gripe about Rust is that it didnt click for me soon enough. I love the Rust folks and I feel like they've done a ton for setting expectations around how a programming community should be.
The MCP server for this is gonna be wild
Ah gotcha. I could imagine usecases for a stove but a toilet? Forgot to flush and now youβre too far away to go back? Toilet mobile app time!
What does your toilet do that requires a connection to the Internet?
Quick response verifies my theory β€οΈ
Now that I have your attention though, I just want to say that I appreciate the perspectives you share on Fallthrough! Youβre an excellent addition to the panel imo.
Flutter is a fantastic platform, but it needs better stewardship than Google imo. Flutter web still feels like alpha software
@steveklabnik.com fallthough claims youβre chronically online, is that true?
Jokes aside, this type of stuff drives me crazy too. No one understands oneβs feelings better than oneself.
You feel entitled to how you feel.
Itβs difficult because it doesnβt seem like a great differentiator for companies, but Iβd much rather visit stores and restaurants that donβt make me do this type of junk just to reserve a table
You have to join Outback Steakhouseβs mailing list just to join the waitlist for a table if you do it online.
The onion or not, the Ruben is one of my favorite sandwiches
An image of zig code with the following syntax: pub fn deleteBookmark( self: Bookmark, writer: *std.Io.Writer, reader: std. Io. Reader, ) while (!std.mem.eqlu8, reader.peek(self.value.len), self.value)) reader. streamDelimiter(writer, "\n"); reader streamRemaining (writer); }
Fun little thing with the new Reader/Writer interfaces in Zig. Streaming the contents of a Reader into a Writer while omitting the line that starts with a value (`self.value`). Feels clean to me, but I'm ready to be humbled. is there a better way?
An image of code in the Zig programming language. The file assumes to be a main.zig or root.zig with the key element being a test block at the bottom of the file who's only line of code is std.testing.refAllDecls(@This());
This is my Zig trick of the week. Doing this in your main or root.zig will make sure that when you run zig build test, all of your tests will run (some exceptions apply -- tests inside of a struct for example).
zig build test not running all tests drove me crazy. Here's my fix.
I've been exploring Microzig lately and... tbh, the documentation is a little lacking. Have you built anything cool with Microzig? I'd love to help catalog your blogposts/videos/tutorials/etc! Lemme know!
You can do it cheaper than $18/month too if youβre just getting started.
Damn, thatβs more than a 185! (And way better than anything I bowl). Nice job!
What state are you in, John?
Heβs experiencing appeasing the borrow checker for the first time.
Syntax does a monthly potluck. I wouldnβt do them too much more often than that, but I definitely thinking rotating those in could be a nice change of pace :)
Good luck with your PHP π
@fallthrough.fm latest episode is one of my favorite. Really nice chat with Kris and Matt about a ton of relevant topics. I agree with the Gophercon sentiment. It felt off this year and that was a bummer.
Whoa that is interesting. I donβt see a way for us to model requirements about a bufferβs size at comptime though so it seems like youβre correct. I guess zstd throw an assertion error is useful, but really only in debug mode. Have you filed an issue yet?
Would you mind sharing a repo or keeping me updated on progress? I learn best from examples and feel that @proto is really something special so Iβd like to build for it, too.
To this day Iβve still never written an orm either. Hibernate is such an overcomplicated piece of software. Enterprise Java at its finest
From tamer ideas such as chemtrails to wild ideas such as birds not being real, I find the things people believe to be fascinating haha