Somewhere Within Boredom

  • About
Illustration of a bird flying.
  • Stateless-Passwordless Authentication using Cryptography

    Say you want to ensure a user has access to a given email address (or phone number) on the device that they are trying to access your service. This is handy in a number of circumstances, but more importantly, can you authenticate the user without using a database? It turns out the answer is yes, […]

    June 22, 2022
  • Um, since when is PHP faster than C++?

    Last week I was working on porting an encryption scheme to PHP from C++, mostly to embed it in a website and make changes to it specific to my use case; and for fun. Needless to say, I was surprised to see my PHP version was faster than the C++ version. TL;DR: it isn’t faster, […]

    June 20, 2022
  • Finally Getting ipv6 in WSL2

    I really like using Windows to get around the web and write software, but I prefer Linux and bash for a CLI. Thus I tend to use WSL2 to do lots of things around the house. One thing missing for a long time is IPv6. Finally, today, I managed to get IPv6 working. Requirements If […]

    April 2, 2022
  • A More In-Depth Reasoning behind PHP as a good language

    Yesterday, I wrote a post over lunch that people just absolutely hated. It was great, in sort of weird way, to see that many people didn’t see what I saw when I posted it. I think it was a somewhat-not-gentle reminder that I see the world differently. The post was shared on Reddit and I […]

    March 17, 2022
  • Yes, PHP is faster than C#

    So, I got an interesting spam comment on my post today: “It gets even crazier when you actually benchmark the two languages only to discover in some real-world cases, PHP outperforms C#.” I triple dare you to show code examples so we can explain why you’re wrong. Quadruple dare Jesus christ, how did you think […]

    March 16, 2022
  • My Favorite Language has Changed to PHP

    For the last 15 years or so, my favorite language has been C#, despite using mostly PHP in my workplace since 2012. Over the years, I’ve written a lot of side-projects in C#, and it’s been great, for the most part. Until I learned Assembly… last year. When I learned Assembly, I think I broke […]

    March 16, 2022
  • Thoughts on PHP Fibers

    The last couple of days of my winter vacation, I wanted to really understand PHP 8’s fibers. To do so, I attempted to implement RAFT simply by reading the dissertation on it. My key takeaway was that it has been a really long time since I’ve tried to implement something like this by reading plain […]

    January 4, 2022
  • Dissecting WordPress: Hooks: Filters and Actions

    Dissecting WordPress: Hooks: Filters and Actions

    Many people tend to take WordPress hooks for granted (or loathe them). Hooks are a powerful way to change the [ex# name=’behavior’]behavior of WordPress fairly drastically.[/ex#][ex#d name=’behavior’] Hooks are built into WordPress. Without hooks, you’d have to fork the original code and modify it to change it’s behavior. They allow you to literally hook into […]

    May 31, 2021
  • Search is too good

    Search is too good

    I remember being eight or nine years old and wandering around the young adult section, trying to find a good book. I would basically just tilt my head and wander the shelves, reading titles. If something sounded unique or interesting, I’d read the first page. If I liked it, I’d take it home. Deep in […]

    August 12, 2020
  • WTAF: Designer, meet a programmer

    So, I know I kinda promised a short story in my last post … but I was going to retheme this site first. And, well, I ran into some atrocious patterns trying to make the theme do what I want. I just wanted to share this, because I seriously went WTAF. Some time ago, people […]

    March 15, 2020
←Previous Page
1 2 3 4 … 10
Next Page→

Somewhere Within Boredom

Proudly powered by WordPress