/images/avatar.png

I am Rodrigue Tuss|

Fix 'Please free up some pty devices' on macOS

Fix “Please free up some pty devices” on macOS If you’re running tools that spawn many subprocesses (AI agents, tmux sessions, SSH connections), you may hit the default pseudo-terminal (pty) limit on macOS. Check your current limit 1 sysctl kern.tty.ptmx_max Default is 511. Check how many are in use: 1 ls /dev/ttys* | wc -l If the count is near or above the max, you’re out of ptys.

An inconvenient truth: Code Is Just the Exhaust

If your job is writing code, you’re forced to grapple with the fact that code has always been a means to an end. There was a time when the ability to write computer code was super valuable, new techniques would come out and increase developer productivity. A time we used to argue over what programming language was superior between Lisp and C. Then Java and .NET came along, and we had a way to standardize developer output.

Relating the Chinese Room thought experiment to LLMs.

There is an interesting discussion to be had about LLMs. How is it that what’s essentially a word predictor describes so much of human experience, mimics knowledge so well, and even gives the impression that it can learn? There are many debates over whether what we’re witnessing can be described as intelligence. Funny enough, many of these discussions have taken place before. I am thinking of John Searle’s rebuttal of the Turing test called the Chinese Room.

Les pensées s’enfuient.

Les pensées s’enfuient. Que faire quand tant de choses t’échappent ? À chaque clin d’œil, le monde s’efface, Et se refait, sans reconnaître sa propre image. Une illusion, des idéaux d’un autre temps. Faut-il faire face ? Ou continuer droit vers un mirage, qui, comme ces pensées, s’enfuit…

Understanding WordPress Filters & Hooks: A Guide For Drupal Developers

Understanding WordPress Filters & Hooks for Drupal Developers As a Drupal developer, you’re likely familiar with Drupal’s hook system, which allows modules to interact with and alter the core functionality of Drupal without modifying the core files directly. WordPress offers a similar feature known as Hooks, which are divided into two categories: Actions and Filters. Let’s dive into what they are, how they compare to Drupal’s hooks, and how to use them effectively.

inline_template vs #markup in Drupal

Imagine you want to render our text in your form. In the past, I would pass in the #markup index in my render array with some HTML as value. For example 1 2 3 4 5 6 $output['my_button'] = [ '#markup' => '<div> <button id="generate-images">Generate Images</button></div>', '#allowed_tags' => ['div', 'button'], ]; This works for the most part. Especially when all you need is to render out a straightforward markup.