View Posts

  • C5Store for Rust

    |
    Updated at

    C5Store for Rust

    License: MPL-2.0

    C5Store is a Rust library providing a unified store for configuration and secrets. It aims to be a single point of access for your application's configuration needs, consolidating values from various sources (like YAML files), handling secrets securely via built-in decryption, and allowing dynamic loading through providers.

    The core idea is to simplify configuration management in complex applications by offering a hierarchical, type-aware, and extensible configuration layer.

    Key Features

    ...
  • I Created A Database that uses CASPaxos as the Consensus Layer but exposes Redis

    |
    Updated at

    Uh yeah, so it took <1 day to do it. The second day, I added recovery. A node can go offline, as long as there is a quorum the cluster will chug along, when it comes back online then it can recover from its peers.

    A lot of what I did was above my level of coding, clearly I used alchemy to do this. It's not a joke. I implemented all of Redis' data structures and can send commands to do exactly what Redis does to this database. The recovery mechanism is just one of those things that made sense.

    I have more feat...

  • Project Star-Spangled Phoenix #3: Development Video

    |
    Updated at

    Roast of The Republic is the official name of this marvelous creation.


    Information

    Roast of the Republic: Power Play is a casual online multiplayer card game focusing on strategic American political dominance. Players deploy cards on a shared board establishing territorial control, tactical upgrades and disruptive actions all in a bid to obtain the most influence.

    Key features
    - Wacky caricatures of historical political figures from US history
    - Uniquely Patriotic American Music
    - Capture the board with Contribut...

  • Project Star-Spangled Phoenix #2: Growth Strategy

    |
    Updated at

    One of the problems I find with multiplayer games, especially ones that are just getting out is the fact that they need a seed number of users who are online. Most do not, so they lose attention quickly as people stop checking the game to play. It's why I think companies need money to advertise heavily to get as much of a seed population in beta mode as possible before going critical with release.

    Well, I feel that isn't always a good deal for smaller games or games that are starting out. My game is 1 v 1, s...

  • Project Star-Spangled Phoenix #1: My Next Official Game Involves USA USA USA

    |
    Updated at

    I am fully committed to this new project with the advent of Gemini 2.5 Pro.

    This project is an online multiplayer game slated for release on iPhone and Android to start. Subsequently, Epic Store then Steam.

    It's written in Dart (Flutter/Flame) and Rust (for backend). Flutter ensures cross platform client availability while Rust ensures focus on logic and high performance.

    Project Star-Spangled Phoenix features American caricatures of political figures as cards who have influence. Your objective is to take as m...

  • Gemini 2.5 Pro Is A Game Changer. I Don't Say That Lightly!

    |
    Updated at

    There's few times that I think something is a game changer. Uber ws one of those. iPhone was one. Apple's M-series processor was one. SSDs were one. ChatGPT was one. Gemini 2.5 Pro is officially the best AI Model I have ever used.

    It's crazy because Gemini was just categorically and unequivocally bad. Gemini 2.0 made a leap, but still. Claude 3.5 was as good or better than ChatGPT at times, but Gemini 2.5 Pro has taken a lot of my attention away. I still use GPT and Claude for smaller tasks, but for programm...

  • MRNA is Below $25 Now Lining Up With Buy Range...

    |
    Updated at


    I said in a previous article about $19 - $25 being a good buy range. Might have to lower it to $15 - $21.

    But I wouldn't buy right now given the uncertainties around international trade. It's possible a depression could occur. A prolonged recession is a depression.

    Unfortunately, this is what happens when you want to elect unpredictable people and not caring about politics. People took politics for granted like they did in Germany in 1930s, they all figured nothing bad would happen and that it was all RHETORI...

  • Monkfruit Sweetener Is The Best Sweetener/Sugar-free I've Tasted By Far

    |
    Updated at

    Monkfruit Sweetener: https://www.amazon.com/dp/B08CC1FMJQ

    Lakanto, Monkfruit Sweetener, Cake Mix: https://www.amazon.com/dp/B08CC1FMJQ

    Imagine cake, brownies, muffins, pastries without the SUGAR you know and love 🥰, but instead sweetened with a sugar free alternative that tastes JUST LIKE sugar. Well, I've found just that with Lakanto Cake Mix among their Brownie Mix, Muffin Mix. I'm shocked that you can get a sugar taste without SUGAR!

    Enjoy all the hot chocolate, cake and sweets you want without getting diab...

  • Leet Code Solution 4 - Median of Two Sorted Arrays

    |
    Updated at

    4. Median of Two Sorted Arrays, Hard

    Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.


    The overall run time complexity should be O(log (m+n)).

    Solution, Typescript

    function findMedianSortedArrays(nums1: number[], nums2: number[]): number {
    let medianIdx = [];
    let totalCount = nums1.length + nums2.length;

    let firstMedianIdx = Math.floor(totalCount / 2);
    if(totalCount % 2 == 0) {
    medianIdx.push(firstMedianIdx-1);
    medianIdx....
  • Leet Code Solution 987 - Vertical Order Traversal of a Binary Tree

    |
    Updated at

    987. Vertical Order Traversal of a Binary Tree, Hard

    Given the root of a binary tree, calculate the vertical order traversal of the binary tree.


    For each node at position (row, col), its left and right children will be at positions (row + 1, col - 1) and (row + 1, col + 1) respectively. The root of the tree is at (0, 0).


    The vertical order traversal of a binary tree is a list of top-to-bottom orderings for each column index starting from the leftmost column and ending on the rightmost column. There may be mult...