RSSAmplifier

Blog

glitch.land

Recent content on glitch.land

glitch.landRSS feed ↗32 posts

Latest posts

Impressive Claude Code Features

I’ve been spending some time exploring Claude Code at work, and a few features stood out to me, so I wanted to share. Individually they may seem small, but together I think they can really change how we work with agents. Number One : Hooks Hooks are probably the most important feature to discover. They let you run logic at different points in the agent life-cycle. I’ve included an image of…

Rust Non-Lexical Lifetimes

Sorry for lack of content, I’m still alive, life has just been very hard. I will try to get back to writing more ❤️. I was doing a quiz on rust lifetimes last night, and got the following question wrong. Will this code compile? let mut v = vec! [ 1 , 2 , 3 ]; let a = & v [ 0 ]; println! ( ' {a} ' ); v . push ( 4 ); Click here to see the answer :) I thought it would not compile, because a…

LLM Self Confidence

Before I begin, I must disclose my expertise is in software engineering, game dev, and application security. I have a growing curiosity and passion to learn ML, but I am still very much a beginner. A Simple Notion? While thinking a little about LLM hallucinations, I was curious how difficult it would be to measure the confidence an LLM has in its answer. So where do I start, I’m a single mom…

Micros

Even when I’m super busy :D

Indroducing

Im trying out a new thing, to help me to write little micro posts… void main (){ // Hello world? }

About Me

Email: [glitch{at}thisdomain] PGP Key Welcome dear reader! My name is Beatrice , my friends call me Bee . At my core, I’m a student of life, captivated by the intricate workings of our world. My learning journey has led me through diverse fields, where I’ve worked hard to develop expertise in software dev, game-dev, reverse-engineering, and analysis.

OSX Keychain For CLI Secrets

Important Correction : 12 Jan, 2024 In the initial version of this blog, I described a method to pass the secret to the security command using a subshell. This is not secure, as the secret is exposed to process exploration tools such as ps . I have updated the blog to use a custom tool written in go to pass the secret. I wish to thank my respected peer at Recurse Center, Jacob Vosmaer, for…

Social Media

Embracing A Pause Introduction I’m sorry for my lack of posts. I’ll keep things brief, I’ve had a really really hard time after coming out, and trying to find a stable life. I like how social media connects us when we are isolated, but I dont like how the technology constantly demands our attention, especially when you need more of your energy and focus for healing. I’ve…

Webgl Boids

Flocking Boids And Emergent Complexity While out on a stroll with a good friend, she mentioned a screensaver she had seen that simulated a flock of birds. It made me think of the boids algorithm, and the natural and mesmerizing flocking phenomena called murmuration. I couldn’t help but think about it for the rest of the day. So, I decided to try to implement a boids simulation in webgl so…

WebAudio Worklet

This was going to be part of a longer blog thats coming soon, but I decided to write a separate blog for this topic since it is important and I plan to use it in other projects in the future. If you are reading from a future blog, hello from the past! Summary While the WebAudio API provides a variety of built-in nodes for common audio tasks (like gain control, filtering, and panning), there are…

Vocal Underdoer

Intro Transgender voice training is an integral aspect of gender transition. Training is not just about pitch; it’s about resonance, intonation, and a myriad of subtle changes that can make a voice sound more congruent with one’s gender identity. For the longest time, I was so frustrated because it is literally the hardest thing that I have ever tried to do and I was unable to make…

Kalman Filter

The Kalman Filter Behold a wiggly and smooth lines animation for effect :crowd-cheering: Its terrible example, but I got your attention now so lets go! <3 Intro Imagine you&rsquo;re in a virtual world, wearing a VR headset that tracks your movements so you can explore, fight dragons, or build castles. But oh no! The sensors inside your headset, called IMUs, can sometimes get a bit confused and…

Anaglyphs

When I was out grocery shopping a rather handsome guy caught my eye, he had a cute tattoo of oldschool red and cyan 3D glasses. Long before 3D TVs, VR, and 3D movies with high-tech glasses, these glasses were a classic solution to produce a 3D effect: the effect is called the anaglyph effect. I was inspired to try and recreate the effect using Go and WebGL shaders. What is an Anaglyph? An anaglyph…

Voice Training with WebAudio Part 1

Hello there. I&rsquo;m going to explore a pitch detection method called the McLeod Pitch Method, using the power of JavaScript and WebAudio. I&rsquo;ll try to use this work later for a web-based voice training app to help with voice triggered dysphoria, but it can be used for other things as well. A Brief Overview of the McLeod Pitch Method Before we delve into the code, it&rsquo;s worthwhile to…

K Means 4 Tone

Hello friendos. Today we&rsquo;re going to explore the intriguing world of image processing with golang. At the end of this blog post, you&rsquo;ll find a well commented implementation for how to find the dominant colors in an image using the KMeans Clustering algorithm. I&rsquo;m going to use this algorithm to create a makeup palette based on the dominant skin-tone colors in an image. I have…

The union-find data structure

While working on a game, I needed a data structure that could efficiently answer the question &ldquo;do these two elements belong to the same set?&rdquo;. I found the union-find data structure and it was exactly what I needed. I thought it was pretty cool so I decided to write about it. Lets say you have a bunch of elements and you want to group them into sets. For example, you might have a bunch…

OSX Sandbox

Did you know that OSX has a native sandbox? It does! It&rsquo;s called sandbox-exec and it&rsquo;s pretty cool. The rules are written in a language called sbx and it&rsquo;s pretty easy to use. Here&rsquo;s an example of a simple sandbox rule that allows everything by default. ; Indicate the version of the sandbox profile language. ; As of my knowledge cutoff in September 2021, the only version is…

My Rules For Kindness

These are the rules that I try to live by. I often fail, because I am not a great human, but I will keep trying. Be Respectful : Treat everyone you interact with as you would like to be treated. Listen to others, validate their feelings, and consider their perspective. Be Considerate : Be mindful of the feelings of others. Be aware of how your actions and words might impact them. Be Helpful :…

A byte-sized unique identifier

I&rsquo;ve been experimenting with an algorithm I developed independently, and I thought it might be beneficial to share it. I&rsquo;ve named this algorithm &ldquo;bee-id&rdquo;. It&rsquo;s a single-byte unique identifier, compact enough to fit into just a byte. I devised this algorithm out of a need for a game project. I required a method for generating unique identifiers, but these identifiers…

Add Swap To Fix $tsc Killed

On low memory machines, you might run into an error like this when running yarn : Killed error Command failed with signal 'SIGKILL' . This may be because the machine is running out of memory. To fix this, you can add swap to the machine. This will allow the machine to use disk space as memory when it runs out of RAM. Please note that this is not something that you should do on a production…

GPG Encrypt Terraform State

This tutorial will guide you through the process of installing GnuPG (GPG), generating a secure key, and using it to encrypt and decrypt a terraform state file. All this can be done on a macOS system. Installing GPG Let&rsquo;s start with installing GPG. You can use the homebrew package manager, which simplifies the process. brew install gpg Generating a Key Once you&rsquo;ve installed GPG,…

Terraform With Virtual MFA

In this post, I will guide you on how to add an extra layer of security to Terraform when you&rsquo;re using it on hobby projects with AWS. This is particularly helpful when your AWS API keys are stored in an unencrypted form on your local machine. My suggested strategy involves creating a specific user with limited access. This user&rsquo;s only permission will be to assume a role that has more…

URLs I Love

Blender Tiltbrush Tools

Is a proof of concept addon for Blender, designed specifically for versions 2.8.x and above. This unique tool opens up new possibilities for artists and creators by enabling the creation of Tiltbrush art directly within Blender&rsquo;s versatile environment, instead of within virtual-reality. Imagine seamlessly integrating the immersive world of Tiltbrush art into your Blender projects, expanding…

Printing In Virtual Reality

Intro Welcome folks, I hope you are keeping safe and well. I&rsquo;m going to spend some time on a series of articles and some tooling to aid in the creation of brushes and technical art for TiltBrush software. This article is intended to be the first in a series. Please be aware that the Python code in this article and in the associated toolset is deliberately written to be verbose and…

Emulating CHIP-8

Intro Hiya again ♥ As a child I was pretty lonely and I used to pass the time by taking things apart so that I could understand how they work. Recently I&rsquo;ve re-discovered the pure joy of taking things apart in order to understand and explore them. I also love to read about antique electronic platforms and software and I thought that I could explore this a bit by attempting to emulate some…

Exploring The Maurer Rose

Hiya folks, I spent a little time over the week reading about Rhodonea (Rose) curves , and generating some beautiful plots from what I learned. The following image created by Jason Davies illustrates curves plotted from a number of different curve parameters. As you can see, some parameters produce beautiful graphs some even resembling flowers. Even the more complex plots can contain inset…

Christmas Tree Lights

Hiya folks, I read a clever code example over the holiday break, it rendered an xmas tree using trigonometry functions. I thought it would be interesting to remake this tree in Unity3D, but in an unconventional way. Today, I will create a similar tree using the Entity Component System. Hopefully it will be useful to somebody ❤️. Entity Component Systems Generally, Entity Component Systems (hereby…

Game: Remembery

This is a small game designed and built for the Design and Game Jam 2019. The theme was &ldquo;Compete&rdquo; so I designed a game that might provoke similar feelings of pressure as competition does. The goal is simple, you have to survive for as long as possible &ndash; by disarming bombs that travel to your tower from all sides! The disarm code appears briefly where the bomb appears, but is…

DLW Assembler And Emulator

This project encompasses an assembler and a virtual CPU modeled after the DLW-1 architecture, serving as an educational venture into the realms of computer architecture and assembly language programming. Crafted in Go, it draws inspiration from the concepts presented in the book &ldquo;Inside the Machine&rdquo; and aims to provide a hands-on learning experience. The tool not only simulates the…

Maelstrom Game Engine

Welcome to Maelstrom , a sleek and straightforward JavaScript Canvas-based game engine crafted from the ground up. Designed with simplicity in mind to teach browser game engine concepts. Explore with Asteroids: A Demo Game To showcase concepts implemented in Maelstrom, I wrote an example game inspired by the classic Asteroids . Dive into the Code : For those curious about the inner workings or…

(untitled)