Content warning:Advent of Code 2025 spoilers for Dec 6
Decided to give advent of code a spin today.
Here's my answer for part 2 of today's problem using PHP 8.5:
```
echo explode("\n", $data)
|> removeEmptyStrings(...)
|> splitStrings(...)
|> groupProblems(...)
|> cleanProblems(...)
|> filterOutEmptyProblems(...)
|> calculateProblems(...)
|> array_sum(...)
;
```
A053224: Numbers k for which sigma(k) < sigma(k+1)
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A053224.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A053224.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A053224.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 #numbers #primes #PrimeNumbers #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research
A053184: Primes p such that p^2+p-1 is prime
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A053184.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A053184.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A053184.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

I talked with two Computer Science students today and they were shocked when I said I work with PHP. They hadn't met anyone who works with PHP until me 😆
Hướng dẫn chia sẻ thư mục dự án PHP từ Windows sang Mac qua mạng nội bộ: bật SMB, cho Full Control, cấu hình Windows Firewall cho Apache/MySQL, mở cổng 80 & 443, truy cập phpMyAdmin bằng http://IP/phpmyadmin. Giờ bạn có thể lập trình đồng thời trên cả 2 máy mà không cần sao chép môi trường. #PHP #XAMPP #Mac #Windows #Development #LậpTrình #MạngTạiNhà
https://dev.to/tin0312/developing-a-php-project-across-windows-and-mac-on-your-home-network-26nd
#Laravel works on #AlterVista shared hosting 🥳
https://laravista.altervista.org/L12x/
I've completed "Trash Compactor" - Day 6 - Advent of Code 2025 #AdventOfCode https://adventofcode.com/2025/day/6
Done in PHP, as every year :)
Code available here, https://github.com/velkuns/adventofcode-2025/blob/main/src/Day/PuzzleDay6.php
Other days also available, I didn't post yet.
I don't optimize the day 4 now (but know how to do that, it is pretty simple).
But other part are quite optimised, globally around the milliseconds.
Pretty nice for #php code :)
Coming in league/uri 7.7 small DX improvement. the URI object is now more developer friendly thanks to lessons learn while working on the polyfill. #PHP #URI

@steampixel sogar in #PHP an sich ist #Argon2 Standart und deswegen in jeglichem entsprechenden (aktuellem) #Web Frameworks: https://www.php.net/manual/de/password.constants.php#constant.password-argon2id
🚀 Just launched a new VS Code theme: Quantum Blue Dark!
If you love dark themes with a modern blue vibe, give Quantum Blue Dark a try and tell me what you think! 💙
vscode link:
https://marketplace.visualstudio.com/items?itemName=6233c1c4-89f3-48cf-8c88-156b07876860.quantum-blue-theme
Your feedback means a lot 🤍
Happy coding! ⚡👨💻
#vscode #laravel #php #web #developer

Content Security Policy - No CSP vs Strict CSP
🛡️ Content Security Policy - No CSP vs Strict CSP - This security comparison will shock you! Junior code has major vulnerabilities, senior code is bulletproof. Learn how to write secure PHP! Learn the professional way! #PHP #WebDev #CodingTips #coding
#php #programming #coding #webdevelopment #softwareengineering #juniorvssenior #codereview #programmingtips #phptutorial #codingtutorial #bestpractices...
https://www.youtube.com/watch?v=FMk3S-MY924