Skip to content

26 comments

We love to read a fully-AI-generated article don't we.

13 points

Weirdly enough, this one didn't sound bad to me, and I'm usually very picky about that.

2 points

I mean, without even reading past the headings, "the run you actually wait for" is an obvious tell right out of the gate.

2 points

Thanks! Did put quite some time in it. But its fair that I could've wrote more of it by hand from scratch. 

0 points

It's AI-assisted, but I guess I just write like an AI myself as well

-10 points

FWIW Pangram says it's 100% AI. As a lot of us become 100% AI coders, I'd encourage you and everyone else to forswear the same tools when you want other humans to read what you write.

8 points

even if we consider that "average" commit invalidates only a small portion of cache, it is still huge difference between 6s and 1s when you run the analyser in your editor

not even to say that "average" is not something to strive for

3 points

True, that's why we're still working on making PHPStan faster, especially the boot time and cached runs. On 2.3.1 its already within 500ms of Mago

2 points
obstreperous_trollDeleted · saved before deletion

Well said. I still do not run phpstan in phpstorm, but I do run mago.

1 points

CI runs PHPstan cold. Yes you can jump through additional hoops to get your CI to store the PHPStan cache in the CI's own cache, but there's plenty who have been burned by CI caching enough to just run everything from scratch now.

2 points

Can you tell me about those burns? With the setup in https://phpstan.org/user-guide/result-cache#setup-in-continuous-integration it should just work well. Let me know if you still experience any issues, would love to dive into it!

1 points

I've never been burned by phpstan's cache, just by CI caching in general, and by that I mean the well-shaken burlap bag stuffed with angry cats known as GitHub Actions. PHPstan actually does a bang-up job at maintaining its cache even when I switch back and forth between branches with thousands of changes on them.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.