A005384: Sophie Germain primes p: 2p+1 is also prime
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/Sophie_Germain_primes.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/Sophie_Germain_primes.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/Sophie_Germain_primes.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

Decomposition into weight × level + jump of prime numbers in 3D, threejs - webGL (log(weight), log(level), log(jump))
➡️ https://decompwlj.com/3Dgraph/Prime_numbers.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
A005383: Primes p such that (p+1)/2 is prime
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A005383.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A005383.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A005383.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

PHPIndex: Ứng dụng PHP nhỏ gọn giúp duyệt thư mục, liệt kê file và tạo lệnh download/execute (wget, curl, powershell). Có darkmode và khả năng xem nội dung file trước khi tải/chạy, tăng tính an toàn. Hữu ích cho việc tự động hóa các script cá nhân.
#php #selfhosted #automation #darkmode
#tự_động_hóa #lệnh #ứng_dụng_web
Since archiving my #RECaptcha package, i haven't receive one single complaint after #Google made it paywalled.
Since then, my #Turnstile package has been downloaded 1,000 times, 89 times less than the aforementioned.
I wonder if downloads will spike on Laravel 13, since there will be no support for it when it lands next february.
#Laravel #Bots #Cloudflare #Captcha #Programming #PHP #SoftwareDevelopment #WebDevelopment #WebDev
After sharing a tip on how I worked around a quirk with MySQL default values in my tests, several people suggested a better approach using Laravel default attribute values. This was a really nice improvement! #php #laravel https://masteringlaravel.io/daily/2025-09-01-using-eloquent-default-attribute-values-instead-of-mysql-default-values
Release 0.6 of LTB Common, our PHP Framework for Self Service Password, White Pages and Service Desk
https://github.com/ltb-project/ltb-common/releases/tag/v0.6.0
#LDAP #PHP #OpenLDAP #ActiveDirectory #IAM
🎯 #StateMachine Pattern in #PHP: Transform Complex Workflows Into Clean, Predictable Code
⚡ Replace tangled if/else statements with explicit states, events & transition rules for order processing, article workflows & business logic
🔒 Built-in safety: Forbidden transitions (like refund before payment) are blocked by design
🧪 Pure, testable logic: Guards decide transitions, actions handle side effects after state changes
🧵 👇

Ran the benchmark no was waiting for today: all the different ways to list all files in a local directory in PHP.
- A lot of time is spent on sorting, so providing flags for no sorting is an easy perf win
- scandir with SCANDIR_SORT_NONE is consistently fast
- Glob with sorting (the default) is consistently slow (2x scandir without sort)
- DirectoryIterator is slow for directories with less than 1000 files, but then starts gaining and becomes as fast as scandir at approx. 10000 files
Flow #PHP 0.23.0 was just released 🚀
Due to my vacation break and more focus on my consulting services, this is a smaller one, it comes mainly with minor bug fixes, you can find all the details here:
https://github.com/flow-php/flow/releases/tag/0.23.0
🌐 Novo no blog: Distância entre Dois Pontos na Esfera
Apresento métodos para calcular distâncias entre dois pontos na superfície da Terra usando latitudes e longitudes. Explico a fórmula de Haversine (mais simples e rápida) e comparo com Vincenty, que é mais precisa para elipsoides. Mostro também um exemplo em PHP e referências para aprofundar. Confira: https://danieltak.com.br/posts/algorithms/distancia-dois-pontos-esfera/
#Geodésia #Haversine #Vincenty #PHP #LatitudeLongitude #Programacao
My sniffer sniffes recursively the sniff of sniffes 👃
php bin/DumpSniffer.php src/Code/
Analyzing: src/Code/Code1.php
[Line 7] There is an "echo", please remove it.
[Line 8] There is a "var_dump()" detected, please remove it
[Line 9] There is a "dd()" detected, please remove it
Analyzing: src/Code/Code2.php
[Line 7] There is an "echo", please remove it.
Nice