Samuel Štancl

5.4K posts

Samuel Štancl

Samuel Štancl

@samuelstancl

24 founder @archtechx

Katılım Temmuz 2019
971 Takip Edilen3.9K Takipçiler
Samuel Štancl
Samuel Štancl@samuelstancl·
@joelmoss @aarondfrancis I think most of these tools support connecting to an external IDE? Shouldn't need to be "wrapped" by the IDE, as long as both processes are running they can communicate
English
1
0
0
67
Joel Moss
Joel Moss@joelmoss·
@aarondfrancis For example, the current file I have open, or line selection. In VSCode and Claude code CLI, Claude knows about file and/or code selection, without any explicit action by me.
English
4
0
0
516
Samuel Štancl
Samuel Štancl@samuelstancl·
@timacdonald87 I think the JIT sort of does this, but probably not with helpers like env() because that's a userland helper. Maybe $_ENV could be different. Either way, dead code, including branch, elimination doesn't do much in PHP since the perf bottleneck is typically IO
English
0
0
0
127
Jared Palmer
Jared Palmer@jaredpalmer·
@nexxeln Can you send a link to this PR? This is indeed odd
English
4
0
48
11.1K
nexxel
nexxel@nexxeln·
what
nexxel tweet media
English
24
5
394
151K
Samuel Štancl
Samuel Štancl@samuelstancl·
@brendt_gd Specifically disable it because to my knowledge there's pretty much no performance benefit in regular apps that don't do any heavy math or similar, and the implementation has some issues (if you look at the php-src repo you can see a bunch of JIT segfault issue threads)
English
0
0
0
240
Brent
Brent@brendt_gd·
Do you use PHP JIT in production?
English
4
0
4
6.3K
Samuel Štancl
Samuel Štancl@samuelstancl·
Just learned a horrifying thing about PHP asserts
Samuel Štancl tweet media
English
1
0
14
1.3K
Samuel Štancl
Samuel Štancl@samuelstancl·
@brendt_gd I don't like locking things like PHPStan since it consistently gets better - usually manifests as failing CI due to a new check or smarter logic that makes some ignores redundant. Typically a quick fix and I know I'm getting the most out of the tool
English
0
0
2
326
Brent
Brent@brendt_gd·
I'm curious how other #PHP #OSS devs deal with this: every other month or so, our CI pipeline breaks because one of our QA packages introduced a bug or incompatibility with another QA package (PHPUnit, PHPStan, Rector, and Mago). Should we just lock QA tools to a fixed version?
English
9
1
23
4.2K
Samuel Štancl
Samuel Štancl@samuelstancl·
@gonedark Speaking of wifi, one underappreciated aspect of latency is how bad (and variable) wifi can be. If you ping your own router, depending on how congested the channel is (+ other interference), you could be seeing some unexpected latency spikes
Samuel Štancl tweet media
English
1
0
1
100
Jason McCreary
Jason McCreary@gonedark·
So, those response times were actually when I was traveling and tethering from my iPhone. Still pretty good, but not epic. Here's from over wifi. 🔥
Jason McCreary tweet media
English
1
0
1
2.7K
Jason McCreary
Jason McCreary@gonedark·
Now I’m moving the needle! I migrated simple pages like the FAQ, privacy policy, and terms of service under my new `static` middleware group. No other changes needed. But, there’s more I can do…
Jason McCreary tweet media
English
2
1
14
2.4K
Samuel Štancl
Samuel Štancl@samuelstancl·
@ctjlewis @tszzl @mpopv with what the gold card site says, it seems they're going to try to make it part of EB1/EB2 and use the large fee as evidence of extraordinary ability, basically commercial success. I think at least some of those subcategories have clearly defined criteria directly in INA though
English
1
0
2
123
Lewis 🇺🇸
Lewis 🇺🇸@ctjlewis·
we’ll have to see their argument. presumptively it won’t go, almost for sure. unless there’s some carve out for giving the govt full authority over filing fees or something, which seems unlikely given market. Congress sets the caps and everything else, hard to argue WH can just tack a fee on. the Gold Card likely also same thing. the INA is written by Congress. WH cannot really just create a new green card.
English
1
0
3
423
roon
roon@tszzl·
what are we even doing here
roon tweet media
English
23
6
348
52.9K
Steve Bauman
Steve Bauman@heystevebauman·
Looks like somebody saw my post
Steve Bauman tweet media
English
16
0
69
41K
Samuel Štancl
Samuel Štancl@samuelstancl·
@mholt6 @jaydrogers Kind of, but benchmarking without any I/O is somewhat pointless if you're trying to compare how two production-like deployments perform. I think Jay's idea here is to test just that, rather than only benchmarking the web *servers* themselves.
English
0
0
0
45
Jay Rogers 👨‍💻
Jay Rogers 👨‍💻@jaydrogers·
To really figure out how much faster FrankenPHP is compared to NGINX + FPM, we're thinking of building an open source Laravel application to test it. It would run real-world Laravel scenarios, not just simple benchmarks. What benchmarks should we include? 🤔
Jay Rogers 👨‍💻 tweet media
English
21
5
161
10.7K
Samuel Štancl
Samuel Štancl@samuelstancl·
@jaydrogers Also when using a DB it'd be cool to see how PDO::ATTR_PERSISTENT affects these results
English
0
0
0
45
Samuel Štancl
Samuel Štancl@samuelstancl·
@jaydrogers Should definitely involve DB queries (possibly complex ones) to replicate a real-world app With both FrankenPHP and PHP-FPM configured for maximum possible throughput given the hardware. Noticed a lot of these benchmarks don't configure PHP-FPM very well so def a focus point
English
3
0
9
625
Samuel Štancl
Samuel Štancl@samuelstancl·
@aarondfrancis tbh as someone who was NOT in high school/college back then, I still think this is objectively true
English
1
0
2
831
Aaron Francis
Aaron Francis@aarondfrancis·
It's crazy that the best music ever (objectively) was produced from 2004 - 2010, when I was in late high school through college. So funny how that worked out
English
68
5
343
33.3K