blog

RSS
  1. How to control your Corsair RGB hardware in Linux

    I've been a Corsair fanboy for awhile now. Back in the day Corsair made a name for themselves by selling premium memory kits with lifetime warranties. Then they started releasing computer cases, mice, keyboards, SSDs and water cooling kits, and all of it was really good. Now they're even selling monitors and fully-built gaming PCs. Wow! Take my money, Corsair!

    Anyway Corsair has become notorious for putting RGB LEDs on pretty much everything they sell. (They even offer RGB RAM kits with no RAM!) All of this stuff can be controlled through Corsair's iCUE Application, which is sadly Windows- and MacOS-only. But what about us Linux users? Are we out of luck? The answer may shock you!

    Read More

    Posted 2023-07-17 14:00:00 CST by henriquez. 1 comment
  2. How to Self-Host your own Node.js Website

    Amazon, Microsoft and Google control too much of the Internet. If you're an employed web engineer chances are almost 100% that you're renting web hosting services from one or more of these companies at work. You will own nothing and be happy (at work)! But at home you have choice over where you host your web presence. If you have personal sites or side projects, you may want to consider self-hosting these on your home computer. It's easy, free, and fun. You will learn a lot by being your own sysadmin, and I'll show you how.

    In this guide I'll explain how to deploy your Node.js web app to a web server virtual machine (VM) running on a computer that you control. Our methodology will be configuring the Server VM to a "blank slate" status with network access, and then using Ansible over ssh to completely automate the process of installing and configuring your web project. For this to work you just need the following:

    • An Internet Service Provider that can assign you a Static IP address
    • A router that can do port forwarding
    • A computer that stays awake and connected to the Internet

    If this sounds intriguing, read on and I'll show you how deep the rabbit-hole goes.

    Read More

    Posted 2023-06-07 13:45:44 CST by henriquez. Comments
  3. My disappearing act

    Why the site went dark (and why it's back)

    I remember the feeling of compulsive resolve last summer as I disconnected and pulled my web server out of my closet. Along with my laptop, a monitor, some clothes, and my dog, I hastily packed everything into my Challenger and drove north. Despite having barely three hours of sleep I continued driving for twelve hours, through a tropical storm and into the mountains. When I reached Nashville, Tennessee, I called it a night and booked a room for myself and my dog at a plush hotel that caters to traveling recording artists. All day I had appreciated the opportunity to drive and think, and that night I appreciated the bed as I sank into a restful sleep.

    My marriage of 18 years was over, my life was permanently altered. I was reminded of a semi-lucid dream decades ago when I discovered the ability to move so fast that I could tear myself through the fabric of the universe itself into a new spacetime, a parallel universe. The only downside? You can never go back, no matter how fast you move, how desperately you tear. Nothing would ever be the same.

    Since then, my web server stayed packed away as the rest of my old life began to fall apart; divorce, the commercial failure of my company, mass layoffs of the team I had built, deep depression, the recent loss of my own job being just icing on the cake. A pessimist would say I am ruined, or that I wasted nearly two decades of my life on a failed marriage. But I'm not a pessimist and I think I learned some valuable lessons.

    1. You cannot change who another person is.

    You should try to be a better person, a more loving person, a better communicator, a better lover. You should try to improve all of the things you can control, but some things are impossible to control, and you shouldn't try. Instead, think about what you want and what you need out of a relationship and figure out if the other person is willing or able to meet you there. And note that being willing != being able.

    2. Human beings can take a lot of damage.

    "They say" that moving is one of the most stressful things a person can do. And also divorce. Oh also losing your job. I experienced all of these things in rapid succession and it was very stressful, it completely sucked, but it also wasn't the end of me. After rolling with enough punches one becomes an expert at rolling. In for a penny, in for a pound. That mentality almost made it fun.

    3. A chance to start over is a gift.

    It's easy to fall into ruts, personally, professionally, etc. A runner or weight-lifter would call this "hitting a plateau." In my case it was feeling like a lizard. A sense of extreme inertia can make it hard to self-examine, much less achieve the volition necessary to break away from patterns of mediocrity. Having the rug pulled out from under your life conveniently forces these issues to the forefront; when forced to adapt or perish, there's really only one constructive path forward. A chance to start over is a gift from fate, whether you wanted it or believe in fate.

    In that spirit, I've revived this web site. It's been going in one form or another since 2004 or earlier and I want to keep it going. The old web server is still packed away (RIP); that thing was powerful but sucked down electricity like it was going out of style with its 140 watt TDP. I've put together a much faster server that sips power, and took the opportunity to upgrade the operating system, the Ansible deployment system for this site, and the node version for the code.

    I still have to figure out what's next for me, but I'm feeling optimistic about my future.

    Posted 2023-04-26 04:20:00 EST by henriquez. Comments
  4. How to not use Twitter API to backup & delete your profile

    Twitter is really dumb and everyone should delete their accounts. I wrote a different piece on why, so let's just accept that premise. OK, well deleting seems scary because many people have spent years posting on Twitter with tons of original content and photos and whatever. The idea of deleting all of that just to spite Twitter is pretty extreme. But Twitter doesn't own your data—you do! So take it back.

    In this post, I'm learning as I go with Twitter API and hope to accomplish the following:

    1. Get access to Twitter API fuck it
    2. Use Twitter API to download all my old tweets and photos just scrape it
    3. Delete all tweets from my Twitter account
    4. Bonus: put the content formerly known as tweets on my own web site

    So let's get started and see how this unfolds.

    Read More

    Posted 2021-06-12 04:20:00 EST by henriquez. Comments
  5. I got bored of being a lizard

    but I still like hanging out in the swamp.

    About a month ago I wistfully recounted my enviousness of the compost lizard and his life of sedentary corpulence. I resolved to be more lizard-like in my own ambitions and have since given it an honest try. However, upon reflection of my life as a lizard, I've realized that it's not a life for me.

    The lizard exists solely to consume, become obese, and to proliferate reptilianism upon the world around it. These Lizard Imperitives map precisely to the set of ambitions that define the lizard-life. There is no place in the mind of a lizard for ambitions of the human soul; art, empathy, the pursuit of knowledge, friendship: all of these are irrelevant to the lizard. The raison d'etre for a lizard is to be a lizard, nothing more, nothing less.

    I knew all of this going into my experiment and hypothesized that it would be therapeutic. Since many of my own soul ambitions are difficult to fulfill while my creative energy is monopolized by a career I eventually want to leave, I figured that switching to the mindset of a lizard would provide comfort and resolve as I push forward towards the next phase of my life, a new life that hopefully provides me more creative space to realize my true ambitions.

    But while I did find comfort in the lizard-life, I did not find resolve, for the Lizard Imperitives leave no room for resolution beyond satisfying the narrow requirements of the lizard. Latent ambitions have no place or relevance; they simply do not exist. Certainly no true lizard resolves to eventually not be a lizard anymore. Thus, to become one with the lizard it is necessary to fully abandon your humanity and be a lizard, nothing more, nothing less.

    I am now interested in the chain of neuroticisms that lead me down this path. My shame at being a sell-out, a corporate shill who abandoned his art for money, a prostitute, a hypocrite, a poser; I could make the pain go away by becoming a lizard! Except, even as a lizard I was still a poser, for I refused to fully commit to the Lizard Imperitives and abandon altogether the ambitions of my soul.

    So the experiment was interesting but it also failed. I do have some other experiments to try, but ta ta for now.

    Posted 2021-06-02 05:43:00 EST by henriquez. Comments