Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
As you may know, PECL is now soft-deprecated and PIE is the recommended way to install exenetsions.
-
Another post just turned from a useful algorithm to madskillz.
-
TL;DR: find .
-
Another thing I've been secretly building is the Peso Framework, a tool to query currency conversion rates.
-
Presenting a couple of JSON5 tools I built.
-
Just a required follow up for the previous post: JSON5 sucks too, like any other possible format.
-
Yes it is, at least when it comes to configuration files.
-
Note This post is slightly outdated and needs to be revised to align with PHP's internal policies. https://github.com/php/policies/blob/main/coding-standards-and-naming.rst#throwables While they are aimed at extensions, userspace libraries should benefit…
-
Very useful when you are developing anything WebAuthn related. google-chrome --ignore-certificate-errors --user-data-dir=$HOME/tmp/chrome-dev --ignore-certificate-errors will disable any SSL warnings like self-signed certs.
-
Note Update: PostgreSQL 18 added uuidv7() function.
-
A quick way to generate UUIDv7 in MySQL 8 and MariaDB 11: select concat( -- Use NOW(3) to get milliseconds lpad(hex(unix_timestamp(now(3)) * 1000), 12, '0'), '7', -- version substr(hex(random_bytes(2)), 2), hex(…
-
A feature that may be desired for some anti-V2 trackers.
-
A followup for the previous post: the minimum required PHP versions in packages on the Packagist.
-
As a library developer I often face a problem what should be a minimum PHP requirement.
-
A thing that was not obvious to me and relatively hard to google was a way to run a 32-bit docker image in the GitLab CI.
-
I created a UUID and ULID library with Doctrine support.
-
This is a short howto for people who already know how to compile PHP.
-
It started with the firmware failing to update because the EFI partition was low on free space.
-
I'm continuing to publish useless nih junk on the Packagist: arokettu/arithmetic-parser: A very configurable arithmetic parser and calculator.
-
"GPL incompatibility" of a FOSS license is not a problem of the incompatible license, it's the problem of the GPL.
-
Just finished moving my old composer packages from sandfoxme/* to arokettu/*.
-
While the original way is still valid, in Docker it's now easier to copy the Composer executable from its Docker image.
-
TL;DR: Don't use LGPL, avoid library-based copyleft in general.
-
I have recently found myself in a situation when 3 out of 4 libraries that I used to work with Excel files were abandoned: akeneo-labs/spreadsheet-parser (streaming reader) had no commits in 4 years mk-j/php_xlsxwriter (streaming writer) had no commits in…
-
A small step for the community may still be a huge leap for specific people, like Pierrick Charron and Sergey Panteleev who became this version release managers.
-
I have re-tested all my libraries for compatibility with PHP 8.2.
-
PHP 8.2 has been released.
-
Unsigned is a fixed (but arbitrary) length unsigned integer arithmetic library for native PHP.
-
Announcing my new library, a polyfill for the new sexy ext-random from PHP 8.2 that I mentioned a couple of posts ago.
-
Python type hints are garbage.
-
It's a month before the feature freeze so we can predict what the release will look like.
-
I found myself in a need to filter away some licenses for my dependencies (AGPL, I'm looking at you).
-
In these uneasy times I just want to remind to all these passionate activists around that there are other ethical points beyond any given "today thing" even when the today thing is truly horrible.
-
I was wondering why the typical class alias boilerplate code uses this weird backslash in if (\false) like here for example.
-
PHP 8.1 was released when I was suffering from COVID so I'm a bit late. <?
-
The torrent file library got its biggest update.
-
Nice, now I have my first CVE :D The one I've found, not the one I've created :D GitHub: https://github.com/advisories/GHSA-7322-jrq4-x5hf CVE: https://www.cve.org/CVERecord?
-
Inspired by a recent discussion in the PHP Internals, I decided to provide a userland solution.
-
I haven't found a nice small helper for HSV/HSB color format like the one LESS has so I published my first npm package. https://sandfox.dev/js/sass-hsv.html
-
So...
-
https://rms-support-letter.github.io Please even if you do not agree with him politically but still don't like that raging mobs decide for others, sign the letter here: https://github.com/rms-support-letter/rms-support-letter.github.io/pulls
-
I haven't found a good standalone pseudolocalization library for PHP so I wrote my own. https://sandfox.dev/php/pseudolocale.html Or if you're using Symfony Components or you don't mind using huge libraries for simple tasks, there is one good alternative:…
-
If you have a separate user writable drive mounted, you may have encountered the same problem I had.
-
Another new thing in PHP 8.0 will be slightly less madness in non strict value comparison.
-
Deprecation of class name constructors means that you no longer can write OOP code that works both in PHP 4 and PHP 8 without some hackery.
-
Since RC1 is released today, I decided to make a small demonstration of PHP 8.0 syntax features. <?
-
Have you ever seen an one time password link in a regular <a> tag?
-
A discovery of the day.
-
Opinion: Kernel#send should be deprecated and removed from future rubies. send always felt weird when I was an active ruby developer but I have never seen any strong criticisms on it.
-
At least among the libraries listed on the Packagist.