@Pol@mathstodon.xyz
@Pol@mathstodon.xyz avatar

Pol

@Pol@mathstodon.xyz

Research, analysis, development, reproducibility. Keywords about me: STEM, piano, nature, bikes, swimming.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

dantleech, to random
@dantleech@fosstodon.org avatar

Need to create my first invoice and the only thing I can think of is to create a "plain text" invoicing system:

  • want to own my own invoices
  • want invoices to have state
  • want to store them under VCS

Probably over thinking this. How do others manage invoices?

Pol,
@Pol@mathstodon.xyz avatar

@dantleech Typst. All the way.

dokuwiki, to random
@dokuwiki@phpc.social avatar

Only had to fix a single line to have tests running through on PHP 8.3. nice.

Pol,
@Pol@mathstodon.xyz avatar

@dokuwiki rm -rf tests/??

nielsdos, to random
@nielsdos@phpc.social avatar

I just merged HTML5 support for ext-dom into PHP's 8.4 development branch. Available via the new DOM\HTMLDocument class. Please give it a try and report any issues ;)

Pol,
@Pol@mathstodon.xyz avatar

@nielsdos Cool ! You can use snapshot builds of PHP (master branch and others) with this project: https://github.com/loophp/php-src-nix/

Just do:

cachix use php-src-nix  
nix run github:loophp/php-src-nix#**php-master-snapshot -- -v**  

To see all the PHP versions available:

nix flake show github:loophp/php-src-nix  
dantleech, to random
@dantleech@fosstodon.org avatar

I am now a company director 🎩

Pol,
@Pol@mathstodon.xyz avatar

@dantleech No more coding for you then!

Pol,
@Pol@mathstodon.xyz avatar

@dantleech Congratulations man ! Well deserved :)

Pol,
@Pol@mathstodon.xyz avatar

@dantleech Indeed! Nice move!

danielsiepmann, to php German

deleted_by_author

  • Loading...
  • Pol,
    @Pol@mathstodon.xyz avatar

    @danielsiepmann No FOSDEM ?!

    ploum, to random
    @ploum@mamot.fr avatar

    After Python, Firefox is now moving to Github.

    While I understand those who have an historical addiction to Github, I don’t understand moving to it now. It’s like they don’t even try to think about the consequences…

    https://ploum.net/2023-02-22-leaving-github.html

    Pol,
    @Pol@mathstodon.xyz avatar

    @raito @ploum @raito I fully share your point of view (@raito)

    dunglas, to random French
    @dunglas@mastodon.social avatar

    I just deployed a Discourse forum that uses Cloudflare and a managed Postgres. Thanks to Docker, it’s amazing how simple it is. Tweak some config files, run a command and all the stack (Rails, Sidekiq, Redis…) is up and running!

    Pol,
    @Pol@mathstodon.xyz avatar

    @dunglas you still haven't tried Nix?

    dantleech, to php
    @dantleech@fosstodon.org avatar

    I've written up my progress on PHP-TUI over the past 3 weeks, it's come a long way and has been an adventure:

    https://www.dantleech.com/blog/2023/11/03/php-tui-progress/

    Pol,
    @Pol@mathstodon.xyz avatar

    @dantleech
    Don't hire this guy !

    Jeremiah, (edited ) to Bulgaria
    @Jeremiah@alpaca.gold avatar

    🚨 Urgent

    The proposed EU eIDAS regulation will force web browsers to include government-issued certificate authorities. The key technology that makes HTTPS secure would have a backdoor to enable governments to intercept and decrypt your web traffic.

    @mozilla, @internetsociety, @edri, @eff, and I have written the European Parliament about the disastrous consequences if this becomes law.

    Please join me in emailing your MEPs today!

    https://www.jeremiahlee.com/posts/2023-eu-eidas-feedback/

    Pol,
    @Pol@mathstodon.xyz avatar

    @Jeremiah @mozilla @internetsociety @edri @eff Job done, I wrote all the Belgian MEPs! Thanks for the letter template!

    thomrstrom, to programming
    @thomrstrom@triangletoot.party avatar

    I don't normally shill for my employer here, but it's big news: https://www.wsj.com/articles/chainguard-an-open-source-security-firm-raises-61-million-a4a940da

    It's been a rocket ship adventure, for sure. We tried a few things, but It turns out that 0-vulnerability open-source container images are a big deal.

    Somehow in 2023, we are still at the point where projects like , & publish container images with hundreds of CVEs. We minimize, harden, and remove vulns from these images, and our customers love it.

    Want 0 images? Choose .

    Pol,
    @Pol@mathstodon.xyz avatar

    @Girgias @thomrstrom that's odd, the description mentions that these are official images! https://hub.docker.com/_/php maybe it could be nice to change that if this is not the case.

    Pol, (edited ) to NixOS
    @Pol@mathstodon.xyz avatar

    The first successful reproducible build of Nixos Minimal install ISO has been made! See the message: https://discourse.nixos.org/t/nixos-reproducible-builds-minimal-installation-iso-successfully-independently-rebuilt/34756 Congrats @raboof !

    Pol, to programming
    @Pol@mathstodon.xyz avatar

    🎉 Just got back from the International PHP Conference in Munich!

    An amazing experience, I even gave a talk (see previous toot)!

    🎤 Noted some recurring themes:

    1️⃣ Reproducibility is often overlooked or ignored, sadly 🤔
    2️⃣ The benefits of functional programming in PHP aren't widely understood 🔄
    3️⃣ Docker ≠ Full reproducibility 🐳

    Stay tuned! I'm planning to write some articles to delve deeper into these topics.

    💡📝

    Pol,
    @Pol@mathstodon.xyz avatar

    @Crell I could mention that next time for sure!!!

    Pol, to php
    @Pol@mathstodon.xyz avatar

    Definition of "To phel in love": https://www.phel-lang.org/ !

    Pol,
    @Pol@mathstodon.xyz avatar

    @danielsiepmann Ahah ! Switching to a fully functional language is a game-changer when you're accustomed to PHP. The pros? It broadens your perspective and enhances your skills as a programmer. Plus, it shares many similarities with Nix, offering nothing but benefits!

    Pol,
    @Pol@mathstodon.xyz avatar

    @danielsiepmann True, the unfamiliar styling can be attributed to our background in PHP. As for the parentheses, a helpful tip is to think of the first word following the opening parenthesis as a function, with everything else serving as parameters.
    One puzzling aspect in that code example is the default-directory variable; it doesn't appear to be used. It might be implicitly captured by subsequent function calls, which may not be the most elegant design. But hey, that's perhaps just the Lisp way of doing things. I should consult my friendly local Lisp expert: @gijs !

    Pol,
    @Pol@mathstodon.xyz avatar

    @danielsiepmann @gijs You made your point. I guess someone fluent in LISP might be more helpful than me here. I'll ask around :)

    Crell, to php
    @Crell@phpc.social avatar

    Using arrays as pseudo-objects is almost never the right answer. They're less self-documenting, slower, worse on memory, and more bug prone.

    https://peakd.com/php/@crell/php-use-associative-arrays-basically-never

    Pol,
    @Pol@mathstodon.xyz avatar

    @Crell
    s/langauge/language

    Pol,
    @Pol@mathstodon.xyz avatar
    Pol,
    @Pol@mathstodon.xyz avatar

    @Crell first time I read it :) you're welcome mate

    dantleech, to php
    @dantleech@fosstodon.org avatar

    have ported the best part of the Canvas widget from Ratatui to tui. It supports braille!

    video/mp4

    Pol,
    @Pol@mathstodon.xyz avatar

    @dantleech
    Maaan, excellent !

    Pol,
    @Pol@mathstodon.xyz avatar

    @dantleech
    I prefer to use native stuff than a wrong pattern.

    Pol,
    @Pol@mathstodon.xyz avatar

    @dantleech Indeed. IMHO, I would use that (using new) internally and eventually propose shortcuts through static functions or another pattern.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • rosin
  • mdbf
  • khanakhh
  • tacticalgear
  • modclub
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • Youngstown
  • osvaldo12
  • slotface
  • kavyap
  • megavids
  • cubers
  • cisconetworking
  • anitta
  • tester
  • ngwrru68w68
  • everett
  • ethstaker
  • Durango
  • normalnudes
  • provamag3
  • Leos
  • GTA5RPClips
  • lostlight
  • All magazines