How to Replace strpos With str_contains
str_contains returns bool. No more === false checks. PHP 8+
#php #strcontains #php8 #strings #howto
https://www.youtube.com/watch?v=Omin0qJyRtA
That's also why I think it's a very good thing that the pipe operator was added to PHP.
https://wiki.php.net/rfc/pipe-operator-v3
Less config, more coding. 💻
#Webinoly: The fastest way to deploy and manage highly optimized #Nginx servers for development or production.
Ideal for: #PHP #WordPress #Laravel #Vue #Node #Angular #React #Django #Java #Python
#FOSS #SelfHosting #ServerAdmin #LEMP #DevOps
Working on extending features for Warlock, and this round of features requires a backend web service running in a centralized, controlled environment due to the requirement of privileged access to partner network resources, (aka, they require an API key and prior authorization to access certain data, thus cannot be distributed in an open source project).
SO, since this is a traditional web service, I opted to use the traditional technologies to power it, but wanted to try out Symfony since it makes use of a lot of the new PHP 8.* features. Been a few years since I seriously used PHP though, so I'm a little out of date on its stack.
Thus far though..... not real impressed with it. The auto routing is convenient (despite being implemented rather ungracefully), but this dependency injecting is a little wonky. Recommending that object constructors use dependency injection from yaml service files, useful in theory, but you can't just do
$lookup = new GameModProviderNameApi($apiKey);
Because that API key is loaded from the service handler...
I dunno, maybe I'm just old school and maybe I just need to get used to the way Symfony is doing things, but all this auto-plumbing just seems unnecessarily complicated and obscure.
#PHP #Programming #Development
We released 1.19.0 of hydrator! See here for the changelog: https://github.com/patchlevel/hydrator/releases/tag/1.19.0
#PHP #Hydrator
MongoDB is hiring Senior Developer Advocate
🔧 #csharp #java #javascript #php #python #rust #typescript #aws #azure #gcp #mongodb #nosql #seniorengineer
🌎 Dublin, Ireland
⏰ Full-time
🏢 MongoDB
Job details https://jobsfordevelopers.com/jobs/senior-developer-advocate-at-mongodb-com-jan-21-2026-651f72?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring
That's a bit worrying, but also kind of impressive:
Got a Hetzner CAX31 today, asked #ClaudeCode to setup automated preview instances for every Pull Request created on a specific GitHub repo, ask claude code to connect via SSH and set it all up - and it basically works.
https://github.com/mandrasch/n8n-craftcms-demo
(For experimental usage only, proof of concept - some issues left to solve. For production, security check by devops humans needed. Obviously.)
#n8n #craftcms #php #devops #dockercompose
"Mastering time in #Symfony with the clock component" https://nicolas-jourdan.medium.com/mastering-time-in-symfony-with-the-clock-component-d0caab0e38af #PHP
Encore une semaine riche sur notre infrastructure :
- mise à disposition de #PHP 8.5
- mises à jour de :
* https://pdf.ouvaton.coop/ basé sur #SignaturePDF
* https://sondage.ouvaton.coop/ basé sur #Pollaris
* https://ouvaton.link/ basé sur #YOURLS
* https://texte.ouvaton.coop/ basé sur #PrivateBin.
👉 Tous ces outils sont librement accessibles !
Enjoy 😊
A249374: Prime numbers Q such that the concatenation Q,1,Q is prime
A249374 ➡️ https://oeis.org/A249374
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A249374.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A249374.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A249374.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
A249134: Numbers k such that Bernoulli number B_k has denominator 2730
A249134 ➡️ https://oeis.org/A249134
3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A249134.html
3D graph Gen, threejs animation ➡️ https://decompwlj.com/3DgraphGen/A249134.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A249134.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
