Plytas

361 posts

Plytas banner
Plytas

Plytas

@Plytas

Katılım Ocak 2013
162 Takip Edilen28 Takipçiler
Plytas
Plytas@Plytas·
@enunomaduro @danielhe4rt @phpstan IMO in phpstan example, the original output is more than good enough if we just clean up the unnecessary --- and stuff. Basically just file:line and error message should be enough. Ofc, it's not as convenient as just putting it in json_encode().
English
0
0
0
65
Plytas
Plytas@Plytas·
@enunomaduro @danielhe4rt @phpstan Unfortunately. We tried to use it in our app, tried a few PHP packages for it but each produced a different result. Some missing nested fields, some miss key names. I think the idea is good, but it hasn't matured yet.
English
2
0
1
77
danielhe4rt.php
danielhe4rt.php@danielhe4rt·
taking some time to contribute at @enunomaduro new project: nunomaduro/pao the goal is simple: format and output less tokens as possible for agents to parse and avoid verbose outputs. my implementation is strictly for @phpstan and i'm really glad it worked
danielhe4rt.php tweet media
English
2
2
22
4.4K
Plytas
Plytas@Plytas·
@PovilasKorop @tobias_petry Looks like it changed between v10 and v11. It used to be the SerializesModels trait. Not it is the Queueable trait. #class-structure" target="_blank" rel="nofollow noopener">laravel.com/docs/10.x/queu… #class-structure" target="_blank" rel="nofollow noopener">laravel.com/docs/11.x/queu…
English
2
0
2
154
Plytas
Plytas@Plytas·
@joetannenbaum Great work! Docs could benefit from gifs or screenshots showcasing different prompts. I always forget which one I want.
English
0
0
0
42
Joe Tannenbaum
Joe Tannenbaum@joetannenbaum·
We want to enable you to build robust and intelligent CLI applications, which are becoming more and more common these days. Let us know what else you need! As usual, all of these new prompts are documented in the docs: laravel.com/docs/prompts
English
1
1
27
1K
Joe Tannenbaum
Joe Tannenbaum@joetannenbaum·
Laravel Prompts v0.3.15 is out! A ton of new primitives came out of building the Cloud CLI (+ some unreleased stuff 👀), so we decided to bake them in Prompts itself. Let's start with `task()`: Run long processes with a live-updating spinner, scrolling log output, and stable success, warning, and error messages that stick around. Update the label as the task progresses. 🧵
Joe Tannenbaum tweet media
English
8
33
225
36.9K
Plytas
Plytas@Plytas·
@aarondfrancis Maybe it's some kind of Claude setting I need to enable?
English
0
0
0
7
Aaron Francis
Aaron Francis@aarondfrancis·
I added new onboarding to Solo! When you first download it, it launches with a "welcome to Solo" project that walks you through some of the features
Aaron Francis tweet media
Richard D. Worth@rworth

Don't walk. Run! Download soloterm.com and play the demo. It will take 5-10min. It will SCHOOL all builders on how to onboard users the right way. Chef's kiss! So much fun I might have to play again. Note: this is not an ad. Seriously. Just a happy user.

English
14
4
106
12.9K
Pushpak
Pushpak@pushpak1300·
@agentxagi @laravelphp Depends on agents. I use structured output going forward want to amke it easy on sharing state directly in ai sdk.
English
1
0
3
313
Pushpak
Pushpak@pushpak1300·
just dropped a new blog after a long time and this one’s on the Laravel website 👀 “Building Multi-Agent Workflows with the Laravel AI SDK” would love if you check it out and tell me what you think. also curious what patterns you all are using for production workflows. always fun to learn how others are doing it.
Pushpak tweet media
English
11
16
96
11.8K
Plytas
Plytas@Plytas·
@alexdaubois I didn't know about this. But now that I know, I'm not sure I would remember to use it if I had a good use case. Wondering if there would be any benefit using this as the underlying array in Laravel Collection? What would be the downsides?
English
1
0
0
403
Alexandre Daubois
Alexandre Daubois@alexdaubois·
SplFixedArray uses ~60% less RAM than a regular array in #PHP. That's because regular ones are always (re)allocated with a power-of-2 capacity. 1025 elements? 2048 allocated! Fixed size. Integer keys only. No hash table overhead. Since 5.3. I almost never see it used, do you?
Alexandre Daubois tweet media
English
12
12
128
10.2K
Plytas
Plytas@Plytas·
Hey @aarondfrancis, would it be possible to preserve selected playback speed on faster.dev? Now it resets back to normal every time you interact with the player (pause, play, rewind). This was not the case with database school courses. Thanks!
English
1
0
1
506
Plytas
Plytas@Plytas·
@brendt_gd @phpstorm @tideways Suggestion: separate leaderboard for single-core and multi-core? Optimizing for single-core is an interesting challenge in itself.
English
0
0
5
847
Plytas
Plytas@Plytas·
@simonswiss Ignore this... For some reason I couldn't see other replies that said the same.
English
0
0
1
6
Plytas
Plytas@Plytas·
@simonswiss You could use onSuccess() and focus the input after it is reset.
English
2
0
1
25
Simon Vrachliotis
Simon Vrachliotis@simonswiss·
Is it possible with Inertia's `router.get()` to clear an input field AND keep it in focus? - preserveState: false will allow the value to clear, but the focus is lost - preserveState: true maintains the focus, but the input value remains as it was
English
2
0
1
1.2K
Joe Tannenbaum
Joe Tannenbaum@joetannenbaum·
We took the @inertiajs infinite scroll component for 2.0 and turbo boosted it: - ⬆️ Reverse infinite scroll - 👬 Multiple infinite scroll components on the same page - 🔃 *Two way* infinite scroll - 🔗 Syncing page state in URL - 🖱️ Manual mode after X requests 🚀👨‍🚀
English
47
47
480
53K
Jack Ellis
Jack Ellis@JackEllis·
You are confident that your code is good because all of your tests pass. But what if you wrote your tests wrong?
English
29
3
70
12K