Alex Pătrănescu retweeted
Part of the LLM-assisted work here is that Fable+Sol put together a test suite of over 400 cases that are bare shell scripts plus a harness that runs Kitty and Ghostty GUIs and captures their full pty stream AND screenshots (multiple, for animations).
For the pty stream we assert byte equality. So Ghostty's success and error messages and field order of responses (its k=v) directly matches Kitty byte for byte.
For screenshots, we can't do pixel-identical comparisons because the way Kitty and Ghostty calculate grids and do alpha blending doesn't match. But, LLMs are pretty good now at "do they look the same" PLUS I went through all the screenshots myself in the end.
Super helpful AI assist. It allowed me to focus a lot of my brain energy and time on reading the spec, reading/writing the implementation, reviewing a lot of code, considering the right shape of things, the performance implications, etc. while I had a couple very good interns in the background doing work like this.
I plan on open sourcing this validation set and harness, with the full disclaimer that it is 100% AI written. But, I think its a perfect example of something that SHOULD be.
The way I had Fable+Sol work together here:
1. Sol put together the harness.
2. Fable + Sol (two separate agents) in parallel would write test cases and output them on disk in their own folders. These two are just in a ralph loop.
3. Sol + Fable (reversed) with an adversarial prompt would judge the others work by picking up the changes on disk that step 2 wrote. They would determine how accurate/worthwhile it is to keep. They'd put it in another folder.
4. Sol finally woke up for changes to this final folder and would determine if its a dup or not and then add it to the final repo.
Then I'd pick up the bug reports, validate them myself, and either fix them myself or kick off new agents manually, just Codex app or Claude app.
Finally, re-ran both agents once against the full test suite to verify what I saw myself: everything passed, all images look the same.
Ghostty (and libghostty!) now has a 100% complete implementation of the Kitty Graphics Protocol. We support every feature, every option. We are the first terminal beyond Kitty to do this.
Most terminals stop at basic image placements, then give up on the long tail of other features. Ghostty covers all of them:
- Unicode placeholders (so it works in tmux)
- Relative placements (so images can be positioned relative to other images)
- Animation
- Scroll region handling (so images scroll properly with terminal scroll regions)
- All transport mediums: shared memory, temp files, etc.
- etc...
All of these features don't impact steady-state use (CPU or memory, besides raw code size). And for libghostty consumers, you can use the compile-time features flags to disable them completely.
I read the spec myself a hundred times. I read Kitty's source code to validate behaviors (our implementation is markedly different, so no GPL violation).
I also utilized agents, primarily for validation. I spun Fable and Sol in a loop for 3 weeks (pausing only when their dedicated subs exhausted limits) with a prompt to find mismatches between the spec, Kitty's reference implementation, and Ghostty.
And now we're done. Ghostty is the most compliant Kitty Graphics implementation (ignoring Kitty itself of course). And, this is all in libghostty, so now everyone can be perfectly compliant.
Alex Pătrănescu retweeted
🥳 PHP 8.3 Released!
In this new release, we have:
⌨️ Typed Class Constants
🏛️ Dynamic Class Content Fetch
♻️ A New [#Override] Attribute
➕ …and more!
👓 Read all about it on: php.net/releases/8.3/en.php
🔗 php.net/ChangeLog-8#8.3.0
📦 php.net/downloads
Alex Pătrănescu retweeted
We are hiring engineers to develop the PHP language.
📅 Application deadline: September 30, 2023
thephp.foundation/blog/2023/…
Alex Pătrănescu retweeted
Starting today, the curl man page clearly explains - for all 248 curl options - what happens if you specify options multiple times. Check it out at curl.se/docs/manpage.html
Now at 5666 lines.
Alex Pătrănescu retweeted
New @BBCRealityCheck piece investigating doubts which have emerged about the positive Covid test @DjokerNole used to enter Australia earlier this month.
Fantastic research by BBC Serbia's @Popravljam and charts by @Danict89
Thread on our findings 👇
bbc.co.uk/news/59999541
Alex Pătrănescu retweeted
🥳 PHP 8.1 is released!
🔗 Read all about it at: php.net/archive/2021.php#202…
♻️ Migration Guide: php.net/migration81
🐘 Many thanks to the contributors for everything they implemented, and the RMs to get this amazing new version released!
❓ What's your favourite new feature?
Alex Pătrănescu retweeted
We’re happy and proud to announce the creation of The PHP Foundation – a non-profit organization to support, promote, and advance the PHP language 🎉
blog.jetbrains.com/phpstorm/…
Alex Pătrănescu retweeted
It seems like a relatively rare language-level opportunity to help people improve their codebases. The vote is tight, but I'd encourage people to vote "yes".
Alex Pătrănescu retweeted
PHPStan 1.0 is going to be released on 2021-11-01!
I’m happy with the number of 1s in that date so that’s why 😁
Alex Pătrănescu retweeted
New blog post: How opcache works
npopov.com/2021/10/13/How-op…
Alex Pătrănescu retweeted
Akamai is experiencing a service disruption. We are actively investigating the issue and will provide an update in 30 minutes.
Alex Pătrănescu retweeted
Enums for PHP have finally been merged! If you wanna help me do more cool stuff in the future consider supporting me on GitHub sponsors! github.com/sponsors/iluuu199…
iluuu1994 - Overview
iluuu1994 has 110 repositories available. Follow their code on GitHub.
github.com#PHP RFC moved to Implemented PHP 8.1: Enumerations wiki.php.net/rfc/enumeration…
Alex Pătrănescu retweeted
Full stop— We can’t prevent algorithmic bias in innovative tech if POC don’t have a seat at the table.
@RonWyden and I urged @Google CEO @sundarpichai to reaffirm his commitment to D&I and academic freedom. Now more than ever, @timnitGebru’s departure makes this work essential.
Alex Pătrănescu retweeted
📢 Look at this! PHP 8 is released. Whoop!
🐘 php.net/releases/8.0/en.php
👏 Thanks to all the developers who have made this possible!
📷 Photo by @heiglandreas
Alex Pătrănescu retweeted
Composer 2.0 is now available! 🚀 Faster, using less memory, more deterministic and packed with new features, read up at getcomposer.org/2 #composerphp #phpc 🎉
Alex Pătrănescu retweeted
There is no talent shortage; people with the skills you're asking for don't want to work for you at the price you're paying with the processes you have.
Alex Pătrănescu retweeted
🥳🎉 TypeScript 4.0 is here! 🎉🥳
Read up on what's new and get it today!
devblogs.microsoft.com/types…
Alex Pătrănescu retweeted
Happy birthday @official_php! 🎂
Can you believe it's been 25 years? So much has changed in that time! We've prepared a timeline with plenty of great memories. Here's to the next 25 years!
jb.gg/php25
PhpStorm is 50% OFF for the next 50 hours to celebrate #PHP25
























