I found some cool videos about writing an OS in Assembly:
John’s PHP Extension library
Note to self: my PHP extension is here: jj5@tact:/home/jj5/repo/git/git.php.net/php-src/ext/pext
The .so file (shared object) is in modules/pext.so
I linked it in like this:
------------------- Sun May 23 13:44:22 root@tact:/usr/lib/php/20170718 # ln -s /home/jj5/repo/git/git.php.net/php-src/ext/pext/modules/pext.so . -------------------
Configured it like this:
------------------- Sun May 23 13:44:47 root@tact:/usr/lib/php/20170718 # cat /etc/php/7.2/cli/conf.d/pext.ini extension=pext.so -------------------
And I can build it like this:
------------------- Sun May 23 13:51:37 jj5@tact:/home/jj5/repo/git/git.php.net/php-src/ext/pext $ make clean && make
Getting Started with PHP Extension Development via PHP-CPP
Today I found Getting Started with PHP Extension Development via PHP-CPP which talks about what it says on the label. But then some more searching revealed a more direct alternative: How to Create a PHP C Extension to Manipulate Arrays – Part 1: Basic Array Class Extension
Knuth on reusable code
Today via Lobsters: APL Style: Patterns/Anti-patterns:
I also must confess to a strong bias against the fashion for
reusable code. To me, “re-editable code” is much, much better
than an untouchable black box or toolkit. I could go on and on
about this. If you’re totally convinced that reusable code is
wonderful, I probably won’t be able to sway you anyway, but
you’ll never convince me that reusable code isn’t mostly a
menace.— Donald Knuth, Interview with Andrew Binstock
Front-End Performance Checklist 2021
Via Lobsters today: Front-End Performance Checklist 2021 from Smashing Magazine.
What problems do people solve with strace?
This via r/programming today: What problems do people solve with strace?
You Can’t Sacrifice Partition Tolerance
Today via Hacker News: You Can’t Sacrifice Partition Tolerance.
How To Win At Tech Publishing
From How To Win At Tech Publishing:
If, however, you’ve accumulated a lot of research on a personal topic and want to gather the threads together and reach some personal conclusions, long-form non-fiction is probably the only tool that’s going to work, whether you publish or not.
How to save up to 500€/year switching from Mailchimp to Open Source Mailtrain and AWS SES
This on lobsters today: How to save up to 500€/year switching from Mailchimp to Open Source Mailtrain and AWS SES.
Modern Javascript: Everything you missed over the last 10 years
This on r/programming today: Modern Javascript: Everything you missed over the last 10 years. A nice run down on contemporary JavaScript…