A090423: Primes that can be written in binary representation as concatenation of other primes
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A090423.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A090423.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A090423.html
#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

A090421: Numbers that can be written in binary representation as concatenation of primes
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A090421.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A090421.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A090421.html
#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

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 ➡️ https://decompwlj.com/3Dgraph/A090403.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A090403.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A090403.html
#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

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
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.

#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.
Nikhilesh Jasuja (@thisislobo)
작성자는 @simonw의 영감을 받아 @EmilStenstrom의 JustHTML을 GPT 5.2 Codex를 사용해 PHP로 포팅했다고 보고합니다. GPT 5.2 Codex가 자율적으로 잘 작동했고 컨텍스트 관리가 뛰어났으며, $20 요금제에서 속도 제한에 걸리지 않았다고 합니다. 프로젝트 링크와 실무적 교훈이 뒤따릅니다.
https://x.com/thisislobo/status/2012178091443884459
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/Webhook Event Idempotency
Ignore duplicates and stop double charges instantly.
#php #python #webhooks #idempotency #payments #antireplay #backendsafety #security #reliability #viralcoding
https://www.youtube.com/watch?v=5k8K-T9rQRg
PHP Hotline: Hilarious Hot Takes & Greenville Number! #shorts: 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. #PHP #hotline #Greenville #programming #demo #application https://www.youtube.com/shorts/zM8N2fS4YU0

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 👉 https://www.maxiorel.cz/composer-29-vyrazne-slape-do-bezpecnosti-projektu
#php #composer #security #webdev #tvorbawebu
My first set of contributions to #mago have been released, yay!
#PHP
https://github.com/carthage-software/mago/releases/tag/1.1.0