davert πŸ‡ΊπŸ‡¦ (@davert) header
davert πŸ‡ΊπŸ‡¦ (@davert) profile picture

Prince of Persia on day, developer at night. Author of @CodeceptJS and @Codeception testing frameworks. Currently working on @testomatio to make tests visible!

Kyiv. Ukraine
Joined November 2008
Photo by davert πŸ‡ΊπŸ‡¦ (@davert)Photo by davert πŸ‡ΊπŸ‡¦ (@davert)Photo by davert πŸ‡ΊπŸ‡¦ (@davert)Photo by davert πŸ‡ΊπŸ‡¦ (@davert)Photo by davert πŸ‡ΊπŸ‡¦ (@davert)Photo by davert πŸ‡ΊπŸ‡¦ (@davert)Photo by davert πŸ‡ΊπŸ‡¦ (@davert)Photo by davert πŸ‡ΊπŸ‡¦ (@davert)Photo by davert πŸ‡ΊπŸ‡¦ (@davert)Photo by davert πŸ‡ΊπŸ‡¦ (@davert)
The competition us not about Laravel, PHP, or Rust anymore. Can't you see, it is about Vercel, Cloudflare and Laravel Cloud. But not about you. The next web app will be built without web develops. Only by customer and hosted on cloud. It won't even know which framework used
6
1
17
1,863
Ups, I can't use pstack I have my own pstack at home:
1
197
Scripted yaml got a new look Much wow so professional davertmik.github.io/scripted…
1
119
Today my agent consumed all RAM by running a browser check developing a minor feature Chromium+Playwright are great until you see your apps crash because agent decided to check the button position... So I took a look what could be alternatives
3
12
564
So I compared Lightpanda, Obscura, and Moli for agentic checking And we have a total winner. You never guess who!
1
3
138
Exposing codebase to mere humans is a new task, especlay when codebase grow like an avalanche I already tweeted about about ScriptedYaml on this. But what you should use to get understanding of project at whole? Just question Claude until dead? Well, nope. We need requirements:
2
166
And here is the trick: requirements can be gathered from the existing codebase. Let's take the current codebase as the base. And write whatever it does in requirement format. This way we can quicker navigate and understand built-in features
1
27
Skill /scripted-yaml-convert is opposite to /grill-me It forces agent to explain the exact code base extracting its most crucial parts into a config file until you fully understand how it works Even more: you learn how simple config switches can change that behavior!
1
2
94
Even agent grilled you at first it will still take a lot of decisions along the way that won't be reported to you You could be 100% sure you passed all info to agent but it will do its own thing So taking back control is essential if you plan to maintain your project
1
1
52
ScriptedYaml or ScrustedYaml has no hardcoded structure So you can build any configs with it However, it has a philosophy: be short and readable Finally I found the right syntax for state machines and I love how clean they look now:
1
166
My main 64G laptop with Ubuntu is out of work. So I switched to my old Lenovo with 16G RAM running on @omarchy While some keybindings are hard to use the overall experience and speed is so awesome, I don't feel the need for that 64G anymore! Should I fully switch to omarchy?
2
2
594
We are using Jev for explorbot However, Jev can't be used alone for navigation because... you know not all controls are quite seen in ARIA tree Works nice on specially created site But in reality browser actor should eat some HTML to pass some sites. Jev is for shortcuts
Example of the extremely fast browser capability we're adding to @pydantic AI, and pax soon. We're using jev to drive the browser and haiku to navigate (plan and control the higher level task).
2
257
Tools are > skills What tools do I mean? Sure, tools like linting, static analysis, security checks However, I have some special tools I found useful for agentic development I would like to tell about Did it ever happen to you? Agent suddenly wrote some ugly code into scripts/
2
4
530
Happens a lot recently Scripts are useful one-shot commands that could be reused during workflow. However, agent has no way on making them structured so it just puts whatever it wants That's why when I see this, I tell agent: Stop writing scripts, just use Bunosh
1
1
89
That what I told about replacing skills with tools. Same advuce here However, you can imagine how long such prompt will run and how many tokens will be burned So do not postpone this transition! Keep skills for intent and use tools and code to nail the rules
increasingly feel like most if not all of the unstructured text you have in your codebase is a liability if you're being disciplined about it you should run evals. you may be surprised to see that it can hurt model performance much better to make it obvious in code so no text is needed
1
187
You know what's fun? You can migrate your app to a new platform just every day if you keep business logic, rules, and configs accross them That's why I built scripted-yaml and scRusted yaml
1
3
596
I don't believe in skills I believe in tooling Skills come and go, they get quickly outdated: written by discontinued models for newer models While proper tools can be balanced, tested, optimized for futher usage. Maintaining a tool is far less costy than maintaing a skill
2
7
547
What's so good about Laravel Brainfuck? It removese noise and abstractions keeping you focused on things that matter
1
10
829
It is not about language anymore. Agent can write perfect PHP, Go, Rust, whatever. It is about level of control you have over the code. Agent can make wrong decisions, copy-paste solutions, implement unneeded abstractions. Engineer must spot when agent goes wrong direction
2
26
1,266
If you go to a new ecosystem like quickly jumping into Rust or Go - you can't feel when something goes wrong. Ah, probably it's how things work in Rust. So confidence is quite important part of control Losing control even on mid-size project can cause the avalanche
1
3
142
ScrustedYaml is now @laravel Rust package Dynamically load your YAML configs with business rules without recompilation Live reload for development / compiled for production
2
291
When you come from PHP you may need parts of app still to be scripted. That's why ScruptedYaml can be a thing for you. Not everything must land into compiled code. Keep business logic and configs for review and edit davertmik.github.io/scrusted…
94
Let me introduce you my first Rust project Scrusted-Yaml Created specially for @laravel developers coming from PHP to Rust PHP is a dynamic language. Let's not lose its flexibility and bring that to Rust. Write YAML configs for rules that matter and make them Live Reload
1
1
9
4,962
Agents can make a lot of decisions. And because you won't review them all and you may not understand Rust that deep - you can miss something. That's why what I found working with agent to move business logic to YAML - it helped to clarify the app behavior where I didn't see it
1
2
309
Ok, you convinced me Here we go! Let's do some Rust for fun and profit!
9
858
So, today you decided to rewrite your @laravel app into Laravel Rust Good idea Except you don't know Rust. Should it stop you? No. However, you must be caucious about the code Do you understand this one?
20
4
17
210
128,234
Well, you should As it defines rate limiting for your users. If client doing mgration asking about rate limits you must know that. Not redirect question Claude. So let's step a side and write same rate limit rule as YAML:
1
15
9,890
Agents take decisions on your behalf. That's fine if you control that decisions and if you have one place to review them. Changing one word or one condition should not cause full app rebuild Development is not about language to run anymore. It's about language you can understand
1
204