The state of the digital world today is really bumming me out. As a programmer & a lifelong technologist it's necessitating a shift in my priorities & where my energy is going, for my mental health & to align with my values.
- I mostly stopped listening to #programming & #PHP podcasts - the ones I loved have become shills for #AI or their own US commercial activities.
- My hobbies are shifting more into low-tech interests - reading, #handiwork, #numismatics, #BoardGames.
Resumable Chunk Upload That Survives Crashes
Checksum every chunk and assemble only when all parts land.
#php #python #chunkedupload #resumable #checksum #fileuploads #crashrecovery #storagepipeline #backendreliability #productionpatterns #viralcoding
https://www.youtube.com/watch?v=P5kSZ65JOGU
Had the time to check some "new legacy" code that, ironically, I accepted when we needed throughput (or I refused to deal with it). Dealing with the basic case of two params going from function to function, describing different state of the same thing, but which can never exist at the same time. 5h into it i now wonder -how could I accept it, how didn't I see it... why?
#refactoring #php #programming
Hmm it seems Junie is evolving, it has found my non-default PHPUnit config file location, and has started getting into segfaults:

it's time for new version of my little library for writing php extensions in D language https://github.com/kaja47/phpmod.d
@namespace("xxx"): on top your file and every exported function, class and constant will be namespaced)scopevoid x(scope const(char)[] arg = "default value"))apart from that i added some examples
Attributes vs Decorators: Metadata Systems Battle
PHP 8 attributes vs JavaScript decorators (proposed). Which language's metadata system is more powerful? This will make you rethink everything!
#php #javascript #phpvsjavascript #attributes #decorators #metadata #php8 #annotations #programmingcomparison #codecomparison #frameworkfeatures #viralcoding
https://www.youtube.com/watch?v=ZpgvS9n6grY
Now this animation is available for the 1000 sequences decomposed on my website.
Accessible from the 3Dgraph, 2Dgraph500terms and 2dgraphs pages ➡️ https://decompwlj.com
#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
4: The palindromes in base 10 (A002113) ➡️ https://decompwlj.com/3DgraphGen/Palindromes.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
3: The triangular numbers (A000217) ➡️ https://decompwlj.com/3DgraphGen/Triangular_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
2: The prime numbers (A000040) ➡️ https://decompwlj.com/3DgraphGen/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
Generation of four sequences decomposed into weight × level + jump (log(weight), log(level), log(jump)) - three.js animation:
🧵⬇️
1: The natural numbers (A000027) ➡️ https://decompwlj.com/3DgraphGen/Natural_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
A133870: Primes of the form 32*n + 1
A133870 ➡️ https://oeis.org/A133870
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A133870.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A133870.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A133870.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
