It is finally here: Tidewave now supports Claude Code and OpenAI Codex.
Tidewave unlocks the full-stack potential of your favorite coding agent by tightly integrating it with your web app and web framework at every layer, from UI to database. More info 👇
I wholeheartedly agree and I can speak to it from experience.
I have been working on Lean proofs for the Elixir type system (through Lynx) and I have found more than a dozen bugs. But, many times, the agent found the bug *before* it even started writing the proof: it would fuzzy the relevant code before it started and that would already spot corner cases.
So it turns out you will find bugs if you think about properties and/or let your agent look for them! However, there were also cases where the code passed fuzzying and we still could not prove a property. These cases also turned out to be actual bugs, which the agent could distill into a failing test too.
Now that most of the proofs are in place, their benefits are two fold:
* We know many of our type system operations are sound, both in theory and in practice (although we also did find two possible soundness bugs in published papers!)
* We have a huge amount of confidence when optimizing code. In such cases, it is easy to overshoot and drop guarantees like monotonicity or, even worse, soundness, and now we are forced to restate the proofs before we commit them
I am not sure how many type system *implementations* which are in production have been verified to this extent but doing this work was the reason I created Lynx in the first place.
I really hope folks are transparent about *formal tools* being used as *bug finding tools* by agents when reasoning about code or actually doing real proofs of the system.
There has been a lot of posts and increased usage of *formal methods*, in particular *lean*, *TLA+* and *P* across industry. Agents are asked to use these tools to reason about the correctness of their systems; and these tools have shown to find bugs deep in codebases that traditional testing fails to find. But there is no *magic* or *surprise* here; if we give more and better tools to our agents to reason about code they will definitely find more bugs as it amplifies their reasoning capabilities!
Most of the narrative is of the form: we asked agents to use formal tools to prove parts of our system correct and it helped find bugs -- which is great and will be a norm in the future. But ... this is very different from formally verifying a system correct.
I really hope folks are transparent about *formal tools* being used as bug finding tools by agents and actually doing proofs of the system. This will help guide the community better and differentiate between reality in practice and what possible but in future.
hot code reload is one of the best of @elixirlang but it's behind a lot of complexity
to try and make it more accessible I'm building a toolkit and abstractions with the intent to help bring hot code reload to any project
it includes testing, static checks, development and deployment helpers that will make your clustered application be updated without dropping persistent connections (db connection , websockets, etc) or destroying intermediate process state
still WIP and only using it in personal projects but very promising
https://t.co/lQSrTIodRh
Many said this doesn't happen to them, so I asked my last long-running session why it often stopped for feedback. Reply attached.
TL;DR: A mixture of rigor, the fact I course corrected and asked questions mid-work several times, and the agent forming a habit around asking.
My #1 complaint about Opus 5.5 is that it frequently says "I wrote 200LOC, I will need to write 200 more and it will take hours, so I wanted to get your go ahead first". GAH.
@tenderlove It is also people completely misunderstanding the kinds of bugs a type system prevent and believing that typed programs (and typed languages) hence have no bugs.
Nope. DRY is not a human pattern. DRY combats coupling (when done right) & coupling creates power-law distributed costs. Even the genie doesn't have enough power to overcome exponentially increasing costs.
To be added in Elixir Land, you just need to add Elixir as a skill on Linkedin. I created a video to show you how:
https://t.co/6YwEfAffjw
I don't want to rely on ad-hoc reports ("my elixir team is X engineers"). It gets stale very fast and I can't "fact"-check it.
Thanks to Popcorn, Livebook can run fully in your browser 🎉
✅ Separate VMs for notebooks
✅ True parallelism
✅ Mix.install
✅ Kino
✅ Req
✅ Distribution across tabs
Play with it at https://t.co/SFIaey611b
I have been reading about formal verification recently, and I find the nomenclature surrounding model checkers very confusing. Almost everything seems to be called a model checker, but the term alone tells you very little about how the tools work!
Does it sample executions or explore the state space exhaustively? Is the verification bounded or unbounded? Does it require a separately specified model, or can it work with an existing implementation? Does it verify the system through actual concrete executions, symbolic reasoning, or a combination of both?
The field needs to take more inspiration from Java class names. We need something like ExhaustiveBoundedConcreteModelCheckerWithSource.
In the light of recent cryptography rumors, some security folks advise moving to ML-KEM hybrid key exchange ASAP.
For Elixir apps:
- upgrade to OTP 29
- make sure OpenSSL is 3.5+
- check your proxy or load balancer
Details below 🧵
Oh, is there a particular category that you believe should not be called model checkers?
My initial reaction was that anything that works directly on the actual implementation shouldn't be called a model checker, but I was told that the term "model" is used in the mathematical sense rather than the engineering sense. I’m curious if you drew a different line!
There is a person who once literally compared me talking about Elixir as “Hitler distributing Mein Kampf“ and apparently they are back to stalking me on social networks. The joys of the internet.
My #1 complaint about Opus 5.5 is that it frequently says "I wrote 200LOC, I will need to write 200 more and it will take hours, so I wanted to get your go ahead first". GAH.