← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 50
  1. Using PIE in Docker

    As you may know, PECL is now soft-deprecated and PIE is the recommended way to install exenetsions.

  2. Another post just turned from a useful algorithm to madskillz.

  3. TL;DR: find .

  4. Peso Framework

    Another thing I've been secretly building is the Peso Framework, a tool to query currency conversion rates.

  5. JSON5 Tools

    Presenting a couple of JSON5 tools I built.

  6. A Case for JSON6

    Just a required follow up for the previous post: JSON5 sucks too, like any other possible format.

  7. Yes it is, at least when it comes to configuration files.

  8. 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…

  9. 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.

  10. Note Update: PostgreSQL 18 added uuidv7() function.

  11. 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(…

  12. A feature that may be desired for some anti-V2 trackers.

  13. A followup for the previous post: the minimum required PHP versions in packages on the Packagist.

  14. As a library developer I often face a problem what should be a minimum PHP requirement.

  15. 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.

  16. I created a UUID and ULID library with Doctrine support.

  17. This is a short howto for people who already know how to compile PHP.

  18. It started with the firmware failing to update because the EFI partition was low on free space.

  19. I'm continuing to publish useless nih junk on the Packagist: arokettu/arithmetic-parser: A very configurable arithmetic parser and calculator.

  20. GPL Incompatibility

    "GPL incompatibility" of a FOSS license is not a problem of the incompatible license, it's the problem of the GPL.

  21. Just finished moving my old composer packages from sandfoxme/* to arokettu/*.

  22. While the original way is still valid, in Docker it's now easier to copy the Composer executable from its Docker image.

  23. TL;DR: Don't use LGPL, avoid library-based copyleft in general.

  24. OpenSpout

    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…

  25. 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.

  26. I have re-tested all my libraries for compatibility with PHP 8.2.

  27. PHP 8.2 Released

    PHP 8.2 has been released.

  28. Unsigned

    Unsigned is a fixed (but arbitrary) length unsigned integer arithmetic library for native PHP.

  29. Announcing my new library, a polyfill for the new sexy ext-random from PHP 8.2 that I mentioned a couple of posts ago.

  30. Python Type Hints

    Python type hints are garbage.

  31. It's a month before the feature freeze so we can predict what the release will look like.

  32. I found myself in a need to filter away some licenses for my dependencies (AGPL, I'm looking at you).

  33. No Discrimination

    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.

  34. PHP 5: if (\false)

    I was wondering why the typical class alias boilerplate code uses this weird backslash in if (\false) like here for example.

  35. PHP 8.1 was released when I was suffering from COVID so I'm a bit late. <?

  36. Torrent File 2.2

    The torrent file library got its biggest update.

  37. CVE-2021-41106

    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?

  38. IsResource

    Inspired by a recent discussion in the PHP Internals, I decided to provide a userland solution.

  39. sass-hsv

    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

  40. TOML vs YAML

    So...

  41. 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

  42. 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:…

  43. If you have a separate user writable drive mounted, you may have encountered the same problem I had.

  44. Another new thing in PHP 8.0 will be slightly less madness in non strict value comparison.

  45. OOP in PHP 4 and 8

    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.

  46. Since RC1 is released today, I decided to make a small demonstration of PHP 8.0 syntax features. <?

  47. OTP Links

    Have you ever seen an one time password link in a regular <a> tag?

  48. A discovery of the day.

  49. 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.

  50. At least among the libraries listed on the Packagist.