php

Back Open Paginator
17.01.2026 10:14
decompwlj (@decompwlj@mathstodon.xyz)

A090423: Primes that can be written in binary representation as concatenation of other primes

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A090423.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A0904
2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research





Show Original Post


17.01.2026 05:32
decompwlj (@decompwlj@mathstodon.xyz)

A090421: Numbers that can be written in binary representation as concatenation of primes

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A090421.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A0904
2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research





Show Original Post


17.01.2026 05:26
decompwlj (@decompwlj@mathstodon.xyz)

A090403: Balanced primes: Primes which are both the arithmetic mean and median of a sequence of 2k+1 consecutive primes, for some k>0

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A090403.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A0904
2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research





Show Original Post


17.01.2026 00:18
lawondyss (@lawondyss@mastodonczech.cz)

Varování o obsahu:Půlnoční přiznání zduněného vývojáře.


LLM je mi už dlouhou dobou víceméně programovacím asistentem. Tím, jak u sebe pozorují růst mých promptovacích schopností (pouze v oblasti programování 😅) spolu s růstem schopností asistentů 🦾, mě naplňuje podobným nadšením, jako u začátků s PHP 😊
#zivotvyvojare #vibecoding #php




Show Original Post


16.01.2026 23:45
k47 (@k47@margaras.k47.cz)

lets do something more fun, lets look into php jit codegen

for an empty function function actual_code(int $xxx) {} function-at-a-time jit (PHP defaults to tracing jit for reasons that will become obvious) generates this x86 binary.

there are quite reasonable things like parameter parsing and (in this case useless) checking for exceptions, but also quite lot of weird bullshit that messes with frame pointers.

php in a reasonable configuration stores pointer to zend_execute_data (which is basically a stack frame for php userland) in global register r14 and there's also global variable current_execute_data.

https://github.com/php/php-src/blob/master/Zend/zend_compile.h#L638
https://github.com/php/php-src/blob/master/ext/opcache/jit/zend_jit_vm_helpers.c#L37
https://github.com/php/php-src/blob/master/Zend/zend_globals.h#L200

it seems this global variable points to the same thing as r14. why this duplication? don't know. but you have to execute quite lot of instructions in this empty function to keep it correct. whatever it is.

what i find interesting is that the function-at-a-time jit compiles a function as a opline handler that neatly slots into php interpreter. instead of getting arguments in registers (following platform ABI) and returning a result in a register, it reads args from zend_execute_data struct and hands off execution by tailcalling into next opline. that might be a source of quite a lot of inefficiency.

also this might be the reason why the tracing jit is faster and therefore preferred one -- it compiles a linear trace of code, possibly across (userspace) function calls. that way you get inlining with a discount and you can decide when all this weird stack frame dance bullshit has to happen.

situation can be greatly improved - use native stack as php stack, pass zval arguments in a pair of registers (one for value, one for type), return values in registers (x86 can return 2 registers, ARM 8 regs) and handle exceptions by native stack unwinding.

#PHP





Show Original Post


16.01.2026 20:09
ghostwriter (@ghostwriter@phpc.social)

#Livewire claims single-file components improve “colocation,” but in practice this is misleading.

Bundling #PHP, #HTML, and #JS in one file only shifts mental overhead into scrolling, reduces clarity, and weakens static analysis.

True cohesion comes from separating responsibilities, not cramming them together.

For small, throwaway components single-file may be fine, but for long-lived, testable, maintainable code, class-based components remain the safer choice.

#Laravel




Show Original Post


16.01.2026 19:45
sayzard (@sayzard@mastodon.sayzard.org)

Nikhilesh Jasuja (@thisislobo)

작성자는 @simonw의 영감을 받아 @EmilStenstrom의 JustHTML을 GPT 5.2 Codex를 사용해 PHP로 포팅했다고 보고합니다. GPT 5.2 Codex가 자율적으로 잘 작동했고 컨텍스트 관리가 뛰어났으며, $20 요금제에서 속도 제한에 걸리지 않았다고 합니다. 프로젝트 링크와 실무적 교훈이 뒤따릅니다.

x.com/thisislobo/status/201217

#gpt #codex #php #ai




Show Original Post


16.01.2026 18:32
2026 (@2026@marginaa.li)

Silppusin salaatin. Jäljitin PHP:n kaatumisen syytä. Joonas kävi kylässä. Leikkasin parran ja tukan. Päivittelin palveluita, ja loppupäivän koodasin.

https://marginaa.li/2026/01/16/16-tammikuuta-2026/


Show Original Post


16.01.2026 17:10
TurboLearnPHP (@TurboLearnPHP@mastodon.social)

Webhook Event Idempotency

Ignore duplicates and stop double charges instantly.

youtube.com/watch?v=5k8K-T9rQRg




Show Original Post


16.01.2026 16:40
carolinacodes (@carolinacodes@mastodon.social)

PHP Hotline: Hilarious Hot Takes & Greenville Number! : See Andrew's amazing PHP Hot Takes hotline. This live number in Greenville gives a response on another reason to love or hate PHP. Don't call just yet; he doesn't want the demo to break before the presentation is finished. youtube.com/shorts/zM8N2fS4YU0





Show Original Post


16.01.2026 15:47
maxiorel (@maxiorel@mastodonczech.cz)

Pokud vám při aktualizaci závislostí Composer najednou odmítne pokračovat, možná jste nenarazili na chybu – ale na bezpečnostní upozornění. Novější verze Composeru už jen nehlásí zranitelnosti v knihovnách, ale dokáže aktualizaci i zablokovat, pokud ví o známém riziku.

Více v článku 👉 maxiorel.cz/composer-29-vyrazn

#php #composer #security #webdev #tvorbawebu




Show Original Post


16.01.2026 15:39
klausi (@klausi@mastodon.social)

My first set of contributions to have been released, yay!


github.com/carthage-software/m




Show Original Post


1 ...193 194 195 196 197 198 199 200 201 202 203 ...526
UP