RSSAmplifier

Blog

Technexus

technex.usRSS feed ↗10 posts

Latest posts

Retro: A Year of Change

To say that the last year in software engineering has been transformative is understating the obvious. After spending 23 years of my life coding manually about this time last year I started to play around with using language models to code. Before that my attempts at coding with them left me bewildered and frankly dismissive. I wasn't anti AI at the time or anything like that. I had even played…

While humans are flying to the moon I tried to build an Earth orbital system simulation, and then an astronaut took the photo that showed the lighting I was trying to simulate

I've been building a simulation of our local orbital system with the Moon and Earth in order to make my Earth simulator more real. Check it out at http://earth.technex.us . One thing I've been playing with is the atmospheric light map. Using Earth simulations for various mundane things like wallpapers and looking at the weather is a fun way to use scientific telemetry about our planet. But it's…

What is art?

What is art? Are humans the only ones capable of producing it? Can nature produce art? Is it art without a human's perception or would it be art regardless of whether a human is here to perceive? When a human take a photograph of nature is that art? Can a machine produce art? Can a machine be art? Is there any point to art or are we just Raging, Raging at the Dying of the Light? Why do we even…

I "Rewrote" My ORM Again with AI. And Ended Up Benchmarking Every PHP ORM in the Process.

You may or may not have read my other blog posts about how How I gamified unit testing my PHP framework and went from 0% unit test coverage to 93% in 30 days (7 years ago!) or about how PHP attributes are so awesome I just had to add attribute based field mapping to my ORM I've been writing ORMs by hand for 20+ years. This isn't even the only one I've worked on. ORMs for me are like puzzles so I…

Job queues, error handling, and exit codes. Oh my!

This post will talk about a pattern I started to use when working with an asynchronous job queue in PHP. During my time developing this pattern I went from initially using a typical Relational Database like MySQL to eventually converting the data storage to use a service like SQS. In any case the data storage mechanism is not pertinent to what I will be discussing. What is important is that the…

keyd on Gentoo with OpenRC and KDE Plasma

git clone https://github.com/rvaiya/keyd cd keyd make && sudo make install touch /etc/init.d/keyd nano /etc/init.d/keyd Pop this in there and save. #!/sbin/openrc-run # Description of the service description="keyd key remapping daemon" # The location of the keyd binary command="/usr/local/bin/keyd" #command_args="-d" pidfile="/run/keyd.pid" depend() { need localmount after bootmisc } start() {…

Workflow for making patches for Gentoo ebuilds

In this case I'll be working with www-client/ungoogled-chromium available in the PF4Public overlay. ~ locate ungoogled-chromium | grep ebuild /var/db/pkg/www-client/ungoogled-chromium-107.0.5304.87_p1/ungoogled-chromium-107.0.5304.87_p1. ebuild /var/db/repos/pf4public/www-client/ungoogled-chromium/ungoogled-chromium-118.0.5993.88_p1. ebuild…

PSR7 Controllers, Emitters, Output Buffers, Unit Testing, and Routing

In my last post you saw me gushing over the new pattern possibilities that attributes open up among ORMs both without tight coupling as well as ActiveRecord style implementations like mine . In this post I want to talk about the move to PSR7 controllers and how that makes it possible to make an emitter that is completely framework agnostic, while also making it possible to write cleaner unit…

Port forwarding a database through a VPN with Docker and Nginx

This goes into your docker-compose.yml version: '3.9' services: openvpn-client: image: ghcr.io/wfg/openvpn-client container_name: openvpn-client cap_add: - NET_ADMIN devices: - /dev/net/tun volumes: - ./.docker/openvpn:/config # place config.ovpn file into this folder #network_mode: container:openvpn-client #restart: unless-stopped environment: - CONFIG_FILE=config.ovpn -…

Configuring an RTMP streaming server for VRChat with Nginx

I recently picked up a Valve Index and I've started to explore the music community One of the most compelling aspects of VRChat as a platform is how you can use it as a way of discovering music. A vast and diverse community of individuals with varied musical tastes and backgrounds already exists. In VRChat, you can attend music festivals, explore custom-built music worlds, and interact with other…