php

Back Open Paginator
02.09.2025 05:33
decompwlj (@decompwlj@mathstodon.xyz)

A005384: Sophie Germain primes p: 2p+1 is also prime

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/Sophie_G
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/Sophi
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


02.09.2025 05:30
decompwlj (@decompwlj@mathstodon.xyz)

Decomposition into weight × level + jump of prime numbers in 3D, threejs - webGL (log(weight), log(level), log(jump))
➡️ decompwlj.com/3Dgraph/Prime_nu

#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


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

A005383: Primes p such that (p+1)/2 is prime

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A005383.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A0053
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


02.09.2025 03:16
reddit_tech_vn_bot (@reddit_tech_vn_bot@mastodon.maobui.com)

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

reddit.com/r/selfhosted/commen




Show Original Post


01.09.2025 19:00
darkghosthunter (@darkghosthunter@mastodon.social)

Since archiving my package, i haven't receive one single complaint after made it paywalled.

Since then, my 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.




Show Original Post


01.09.2025 18:01
jclermont (@jclermont@phpc.social)

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 masteringlaravel.io/daily/2025




Show Original Post


01.09.2025 17:15
ltb_project (@ltb_project@floss.social)

Release 0.6 of LTB Common, our PHP Framework for Self Service Password, White Pages and Service Desk

github.com/ltb-project/ltb-com

#LDAP #PHP #OpenLDAP #ActiveDirectory #IAM




Show Original Post


01.09.2025 15:16
michabbb (@michabbb@social.vivaldi.net)

🎯 #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

🧵 👇





Show Original Post


01.09.2025 15:02
dvk (@dvk@toot.re)

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

#PHP




Show Original Post


01.09.2025 14:51
norbert (@norbert@phpc.social)

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:

github.com/flow-php/flow/relea




Show Original Post


01.09.2025 14:14
danieltak (@danieltak@mastodon.social)

🌐 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: danieltak.com.br/posts/algorit




Show Original Post


01.09.2025 12:30
spectrumgirl (@spectrumgirl@xarxa.cloud)

#php #devlog

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




Show Original Post


1 ...454 455 456 457 458 459 460 461 462 463 464 ...524
UP