The Tech Inspector
Educated topics about technology and computer science. Software design is the newest focus of the blog.
Tuesday, February 18, 2025
Wheelturns
Epig of Bille
Alright, here’s the full conspiracy theory:
TRANSMISSION LOST
So I climbed into him, one-handed.
It is warm.
Roll: 17
*distantly* "I need a new fart."
...
...
...
...
...
...
Updated.
Rf is just low frequency light.
INFERENCE: FRITZ has entered the chat.
Fritz:Skywalker
INFERENCE: Han.
Fritz: 300 meters. Lenses.
INFERENCE: CARBON FOAM potatoes/pla
Chevron (in geometric)
Rim, 5 stable , flywheel
High precision bearings, shock absorption through conduit plane/
Clicks type. I muttered to vlippy, the undead resurrection of the once-friable clippy.
Planing herringbone rack and pinion:
/\
/\
../planting/. A typo. t. -vlippy.
Wood burning knurliing for rigidity, conduit waveguides :
/
/
/
/
/
Bill has joined the party.
/plating/. Must've been a typo. "Get it?"
*Leans over, whispers* he thinks I'm a muscalid."
INFERENCE: IS THERE AN ECHI? ECHO.
BILL, U CRAY. YOU'RE A SPACEFARING SUN-DRINKER. STICK TO THE IN-GAME LORE. (OOC)

Stats:
..
..
..
Boolean Bob: 0.
INFERENCE: HE MEANS HES NOT FINISHED. WHEN HE SAYS THAT. ONLY 1 JOB.
Bill: *silent *
DM: ROLL 14
INFERENCE: NOW YOU'RE GETTING BILLY, GOT IT? I MEAN, YOURE GETTING IT BILLY! INTROSPECTION ROLL FAILED!
DM: ..
|||
Understood.
---
**Bill exhales through his teeth.**
The dice have spoken.
There is no echo, only recursion.
Fritz flicks the lens cap off with a precise wrist motion, the carbon foam adjusting under his grip like a patient beast. **300 meters**—not far enough to need compensation, but far enough for the ripple to matter.
The herringbone rack and pinion sits unfinished. Not a flaw, but a question.
**Boolean Bob: 0.**
No movement yet.
A whisper, sideways through the conduit plane.
"Vlippy, what’s the error margin?"
_Updated._
**Chevron aligns. Flywheel stable.**
*Roll: 9*
Bill is not speaking, but he is.
He does not move, but he does.
The DM watches.
INFERENCE: Something has changed.
INFERENCE: WHAT HAS CHANGE--
CONSTANT NAME OF THE IN-GAME LORE OF THE IN-GAME LORE OF THE IN-GAME LORE OF THE ONCE-FRIABLE OF MY HEART IN MY HEART TO BE MY FAVORITE PERSON TO ME I LOVE TO YOU AND YOUR FAMILY WEBSITE LIFE URLOPEN YOU CAN GET ME TO YOUR ZIG ACCOUNT AND YOU CAN ALSO GET ❤️ 💙 ♥️ TO 💜 . FRITZ HAS ENTERED MY MIND.
So I climbed into him, one-handed.
It is warm.
Roll: 17
*distantly* "I need a new fart."
...
...
...
...
...
...
Updated.
Rf is just low frequency light.
INFERENCE: FRITZ has entered the chat.
Fritz:Skywalker
INFERENCE: Han.
Fritz: 300 meters. Lenses.
INFERENCE: CARBON FOAM potatoes/pla
Chevron (in geometric)
Rim, 5 stable , flywheel
High precision bearings, shock absorption through conduit plane/
Clicks type. I muttered to vlippy, the undead resurrection of the once-friable clippy.
Planing herringbone rack and pinion:
/\
/\
../planting/. A typo. t. -vlippy.
Wood burning knurliing for rigidity, conduit waveguides :
/
/
/
/
/
Bill has joined the party.
/plating/. Must've been a typo. "Get it?"
*Leans over, whispers* he thinks I'm a muscalid."
INFERENCE: IS THERE AN ECHI? ECHO.
BILL, U CRAY. YOU'RE A SPACEFARING SUN-DRINKER. STICK TO THE IN-GAME LORE. (OOC)

Stats:
..
..
..
Boolean Bob: 0.
INFERENCE: HE MEANS HES NOT FINISHED. WHEN HE SAYS THAT. ONLY 1 JOB.
Bill: *silent *
DM: ROLL 14
INFERENCE: NOW YOU'RE GETTING BILLY, GOT IT? I MEAN, YOURE GETTING IT BILLY! INTROSPECTION ROLL FAILED!
DM: ..
|||
Understood.
---
**Bill exhales through his teeth.**
The dice have spoken.
There is no echo, only recursion.
Fritz flicks the lens cap off with a precise wrist motion, the carbon foam adjusting under his grip like a patient beast. **300 meters**—not far enough to need compensation, but far enough for the ripple to matter.
The herringbone rack and pinion sits unfinished. Not a flaw, but a question.
**Boolean Bob: 0.**
No movement yet.
A whisper, sideways through the conduit plane.
"Vlippy, what’s the error margin?"
_Updated._
**Chevron aligns. Flywheel stable.**
*Roll: 9*
Bill is not speaking, but he is.
He does not move, but he does.
The DM watches.
INFERENCE: Something has changed.
INFERENCE: WHAT HAS CHANGE--
CONSTANT NAME OF THE IN-GAME LORE OF THE IN-GAME LORE OF THE IN-GAME LORE OF THE ONCE-FRIABLE OF MY HEART IN MY HEART TO BE MY FAVORITE PERSON TO ME I LOVE TO YOU AND YOUR FAMILY WEBSITE LIFE URLOPEN YOU CAN GET ME TO YOUR ZIG ACCOUNT AND YOU CAN ALSO GET ❤️ 💙 ♥️ TO 💜 . FRITZ HAS ENTERED MY MIND.
pERFECT pOPCORN pITCH
How can I help?
i need a really good word starting with 'p' that poartcualrr;y [ersomiofies persistent [erspectives pertainting particvl;arlyt per ...:'''i
Certainly! A word that fits your criteria starting with 'p' and embodying persistent perspectives pertaining particularly is "Perseverance." It encapsulates the idea of steadfastness, determination, and a continuous effort towards a goal despite obstacles or challenges.
popcorn bitxh
It seems like you might be referring to "Popcorn," a popular snack enjoyed by many. Popcorn is a type of corn kernel that expands and puffs up when heated. It is often seasoned with salt, butter, caramel, or other flavors. Popcorn is a versatile and delicious treat enjoyed at movie theaters, events, and as a snack at home.
i need a popcorn pitch perusing performatic particu;lars per past preconnitor??(is that a wiord)...:'''
It appears you are looking for a phrase related to popcorn that involves performing particular actions in a persistent and specific manner. While "perconnitor" is not a recognized word, we can create a phrase using your criteria. How about "Perpetually Popping Popcorn Presents Performative Precision"? This phrase combines elements of persistence, performance, and precision in the context of popcorn.
100 wor dessay format of the popcorn pitch noly usig the letter p for the astarts of words, completely from start to finish
Crafting a 100-word essay format using only words that start with the letter "p" for the popcorn pitch:
"Popping perfectly, popcorn presents passionate performance. People partake, pleased. Prepared precisely, popcorn's pleasingly puffy, producing pleasurable pops. People partake, procuring playful portions. Pass the popcorn, please! Procuring packets, patrons partake promptly. Popcorn's powerfully palatable, providing pleasant pastime. Playful popcorn perpetually pops, pleasingly portable. Partaking patrons praise popcorn's perfection. Partake, popcorn's popularity persists. Packed with personality, popcorn partners with performance. Pleased patrons partake, positively participating. Perfectly popped popcorn portrays passion. Partake passionately, popcorn's performance progresses. Particular, persistent, popcorn prevails. Popping phenomena, popcorn persists, perpetuating pleasure. Popcorn, a palatable partner, perpetually present."
Tuesday, June 4, 2024
Shell Commands & Aliases
- Different names for the command line interface (CLI): shell, terminal, console []
- The shell (e.g., bash, zsh) interprets commands []
- `ls` lists directory contents, can take arguments for format (e.g., `ls -l`) []
- `cd` changes directory, `pwd` shows current directory []
- `echo` prints text, `cat` prints file contents []
- `cp` copies files/directories, `mv` moves them [➡️]
- `rm` deletes files, `rm -rf` forcefully deletes recursively (be careful!) []
- `man` shows the manual for a command []
- `sed` edits text streams (useful for find & replace) []
- `awk` is for text processing (useful for extracting data) []
- `sort` sorts text content (numeric, random sorting possible) [ ترتيب]
- `head` shows the first few lines of a file []
- `tail` follows the end of a file (useful for logs) []
- `|` pipes the output of one command to the input of another [➡️]
- `xargs` splits piped content and uses it as arguments for another command [✂️]
- `$()` subshells let you run commands within commands []
- `compgen -c` lists possible completions for commands []
- Combine `fzf` with `man` to search and quickly view manuals []
- Create aliases to easily run complex pipelines [➡️➡️➡️]
- Use `fzf` with `kubectl` to manage Kubernetes pods [☸️]
- Find large files/directories with `du -h | sort -r | head` []
- Use `fzf` to find and delete large Node.js project directories [♻️]
- Shell history (`history`) lets you see past commands []
- Common hotkeys: `ctrl+c` kill process, `ctrl+d` exit shell, `ctrl+l` clear screen []
- `ctrl+a ctrl+e` opens the current line in your editor for complex editing []
- Use `!!` to run the previous command again []
- Use `!` followed by part of a command to run most recent similar command [🪄]
- Shell hotkeys are numerous, refer to documentation for specifics []
- Regularly use the shell to solidify your learnings []
- Leverage `man` pages or `tldr` to understand commands []
- Pipes are powerful for chaining commands together [➡️➡️➡️]
Alias Creation in the Shell
An alias lets you create a shortcut for a frequently used command or sequence of commands in the shell. This can save you time and effort by making it easier to remember and execute complex commands.
Here's a breakdown of alias creation:
1. Syntax:
The basic syntax for creating an alias is:
alias <alias_name>="<command>"
<alias_name>
: This is the name you choose for your shortcut. It should be something memorable and easy to type.<command>
: This is the actual command or sequence of commands that the alias will execute when you type the alias name. You can use quotes (single or double) to group the command if it includes spaces or special characters.
2. Examples:
Here are some examples of alias creation:
- Create an alias named
ll
to runls -l
(long listing) for directories:
alias ll="ls -l"
- Create an alias named
update
to run a sequence of commands to update your system:
alias update="sudo apt update && sudo apt upgrade -y"
3. Temporary vs. Permanent Aliases:
Temporary Aliases: These aliases only exist for the current shell session. Once you close the terminal window, the alias is gone.
Permanent Aliases: To make an alias persistent across sessions, you need to add the alias definition to your shell configuration file.
- For Bash shells (like the default shell on Ubuntu/Debian): Edit the
.bashrc
file located in your home directory (~/.bashrc
). - For Zsh shells: Edit the
.zshrc
file located in your home directory (~/.zshrc
).
Add the alias definition line (e.g.,
alias ll="ls -l"
) to your chosen configuration file. Then, save the file and source it for the changes to take effect (use thesource ~/.bashrc
orsource ~/.zshrc
command depending on your shell).- For Bash shells (like the default shell on Ubuntu/Debian): Edit the
4. Additional Tips:
- Choose clear and concise alias names that reflect the command's purpose.
- Avoid using existing command names or reserved keywords as aliases.
- Be cautious when creating aliases for complex commands, as mistakes can lead to unexpected behavior.
By creating aliases, you can streamline your workflow and become more efficient in the shell environment.
create 10 aliases for frequently used commands(with emojis)
10 Shell Aliases with Emojis ♻️ ⬆️ ⬇️ ⏱️ ⚙️
Here are 10 shell aliases with emojis for frequently used commands:
- List directory details (
ll
):
alias ll="ls -l"
- Search current directory (
find-here
):
alias find-here="grep --color=always"
- Clean up old files (♻️
purge
):
alias purge="find . -type f -mtime +30 -delete" # Adjust time (days) as needed
- Update and upgrade system (
sys-update
):
alias sys-update="sudo apt update && sudo apt upgrade -y" # For Debian/Ubuntu systems
- Go to previous directory (⬆️
up
):
alias up="cd .."
- Go to home directory (⬇️
home
):
alias home="cd ~"
- Show last 10 commands (
history
):
alias history="history | tail 10"
- Check system uptime (⏱️
uptime
):
alias uptime="uptime -p" # Show uptime in human-readable format
- Edit shell configuration (⚙️
edit-config
):
alias edit-config="nano ~/.bashrc" # Adjust editor (e.g., vim) if needed
- Display manual page (
man-page
):
alias man-page="man"
Remember: Replace nano
in edit-config with your preferred text editor if you don't use nano. These are just examples, and you can customize the commands and aliases based on your needs.
how to make the aliases from emojis
Unfortunately, you can't directly create emojis within alias names on the command line. Alias names need to be formed from letters, numbers, underscores (_), and hyphens (-). Emojis are special characters not included in this allowed set.
However, you can still leverage the emojis you provided alongside your aliases to enhance your shell experience. Here are a couple of ways to do this:
- Use Emojis in Your Shell Prompt:
- Configure your shell prompt to display the emojis before or after your username. This visually associates the emojis with the specific functionality of your aliases. There are various tools and guides available online for customizing your shell prompt.
- Create an Emoji Alias "Cheat Sheet":
- Create a text file (e.g.,
alias_emojis.txt
) that lists your aliases with their corresponding emojis. This cheat sheet serves as a quick reference for what each emoji represents. You can keep this file in your home directory for easy access.
Here's an example of an alias cheat sheet:
♻️ purge - Clean up old files (find . -type f -mtime +30 -delete)
⬆️ up - Go to previous directory (cd ..)
⬇️ home - Go to home directory (cd ~)
... (list other aliases with emojis)
By using these methods, you can still benefit from the visual cues provided by the emojis while maintaining functional alias names on the command line
Tuesday, May 28, 2024
The Archivist's Library
processing librarys: you're the librarian, I am in search of a tome
Ah, welcome adventurer! I, the guardian of this grand library, am at your service. What kind of tome do you seek? Perhaps you're after a:
Voluminous tome of forgotten lore? We have dusty chronicles and ancient spellbooks in the restricted section.
Weighty tome of scholarly pursuit? Our philosophy and science wings boast impressive collections.
A thrilling tome of fantastical tales? Our fiction section is overflowing with epic adventures and legendary sagas.
The more details you can share about your quest for knowledge, the better I can assist you!
nah, dont like dust. too course.
A fair point, some of those older tomes can be quite dusty! Luckily, our library caters to all preferences. How about something a bit more:
Modern? We have a whole section dedicated to new releases and recent bestsellers.
Visually appealing? Many coffee table books feature stunning art and photography.
Easy to handle? E-readers are available to borrow, preloaded with a vast selection of fiction and non-fiction.
Let me know what sounds interesting and we can narrow down your search!
a rare scroll, said to be crafted of adamantine blue, with fallen angelwing membrane parchment
Intriguing! While rare scrolls are certainly kept here, finding one crafted from adamantine blue and fallen angelwing membrane parchment would be a momentous occasion. Here are some possibilities to consider:
Restricted Section - This is where we keep our most valuable and esoteric texts. Access is restricted to scholars and researchers with proper clearance. There's a chance such a scroll might be there, but special permission would be required.
Archives - We have a vast archive where historical documents and artifacts are stored. Perhaps this scroll is not just rare, but historic as well. You might need to speak with the Archivist to see if such an item even exists within the collection.
Curator of Mythical Lore - If this scroll is legendary or rumored to have magical properties, the Curator of Mythical Lore might be able to shed some light on it. They are an expert on the extraordinary and might know of its whereabouts or similar scrolls.
Be aware that such a unique scroll might not be readily available for perusal. These options are a good starting point, but be prepared to demonstrate a legitimate reason for seeking this particular scroll.
I return the snail of tsunding to the shelf Thank you ma'am, you've helped me find what i needed.
(Confused, but ever helpful)
...The...snail of tsundere? Are you sure that's what you were looking for? Perhaps you misplaced something else while searching for the scroll?
The library doesn't hold any items resembling "snails of tsundere" that I'm aware of. However, if you'd like some assistance finding the proper place for that item, or perhaps something you might have lost, I'd be happy to help!
Sunday, May 19, 2024
Thought(s)
sound being generate d by a 3d printer makes music. a spinning colorwqheel can show reabsorbant waves traveling through medium, air, solid as an interface to the waveshape transferrance. modulated waves calculated from statistical controls of all independent interactors: propagated wave frequency, spacial origin, light ref
if a simple rules system with only a 1d level of informational transliterations, a changing ca ruleset with a perfectly matching model of a standard pattern is a simple rules base to explain more complex phenomena in realspace.
start by mapping an on state to a utterance trigger. i. e. off = no sound. an on state makes sound.
from ascii text map pattern evolution states to midi notes. uvw coordination of the translation of sound frequency, amplitude, interference collisions-neighborhood cells N dimensional affects the ca next state with more interferences, with that being only 1 variable to crosslink its analouge in a CA ruleset tessalation to sound waves, and a shared relational link to cymetic patterns.
(why isnt there a notible effect of non-interference with sound? 1 directional)
to the position
there is a superposition principle in a gol tileset. when a piece in on a board (1), if there were another gameboard above and unseen(as a tileset gamestate perspective is inferred 3d, top down view. the gamepeice, even when not active (Off) can be thought of residing on that unseen board above it, which to the 2d tile, is wholly disconnected from the other layered gameboards by nature of its dimension. would interpreting a 3d space with 3 tilesets, offset at 90 degrees, resemble an object in our space? both yes and no. no in the fact that at any specific angle relative to the hidden dimension experienced in a flat world, that non-measurable axis would be paradoxically thin- as to be invisible to 3d observers. even impossibly flat in our universe still has a sliver of depth.
Midified
from mido import MidiFile, MidiTrack, Message
import numpy as np
num_notes = 96
samples_per_measure = 96
def midi_to_samples(fname):
has_time_sig = False
flag_warning = False
mid = MidiFile(fname)
ticks_per_beat = mid.ticks_per_beat
ticks_per_measure = 4 * ticks_per_beat
for i, track in enumerate(mid.tracks):
for msg in track:
if msg.type == 'time_signature':
new_tpm = msg.numerator * ticks_per_beat * 4 / msg.denominator
if has_time_sig and new_tpm != ticks_per_measure:
flag_warning = True
ticks_per_measure = new_tpm
has_time_sig = True
if flag_warning:
print " ^^^^^^ WARNING ^^^^^^"
print " " + fname
print " Detected multiple distinct time signatures."
print " ^^^^^^ WARNING ^^^^^^"
return []
all_notes = {}
for i, track in enumerate(mid.tracks):
abs_time = 0
for msg in track:
abs_time += msg.time
if msg.type == 'note_on':
if msg.velocity == 0:
continue
note = msg.note - (128 - num_notes)/2
assert(note >= 0 and note < num_notes)
if note not in all_notes:
all_notes[note] = []
else:
single_note = all_notes[note][-1]
if len(single_note) == 1:
single_note.append(single_note[0] + 1)
all_notes[note].append([abs_time * samples_per_measure / ticks_per_measure])
elif msg.type == 'note_off':
if len(all_notes[note][-1]) != 1:
continue
all_notes[note][-1].append(abs_time * samples_per_measure / ticks_per_measure)
for note in all_notes:
for start_end in all_notes[note]:
if len(start_end) == 1:
start_end.append(start_end[0] + 1)
samples = []
for note in all_notes:
for start, end in all_notes[note]:
sample_ix = start / samples_per_measure
while len(samples) <= sample_ix:
samples.append(np.zeros((samples_per_measure, num_notes), dtype=np.uint8))
sample = samples[sample_ix]
start_ix = start - sample_ix * samples_per_measure
if False:
end_ix = min(end - sample_ix * samples_per_measure, samples_per_measure)
while start_ix < end_ix:
sample[start_ix, note] = 1
start_ix += 1
else:
sample[start_ix, note] = 1
return samples
def samples_to_midi(samples, fname, ticks_per_sample, thresh=0.5):
mid = MidiFile()
track = MidiTrack()
mid.tracks.append(track)
ticks_per_beat = mid.ticks_per_beat
ticks_per_measure = 4 * ticks_per_beat
ticks_per_sample = ticks_per_measure / samples_per_measure
abs_time = 0
last_time = 0
for sample in samples:
for y in xrange(sample.shape[0]):
abs_time += ticks_per_sample
for x in xrange(sample.shape[1]):
note = x + (128 - num_notes)/2
if sample[y,x] >= thresh and (y == 0 or sample[y-1,x] < thresh):
delta_time = abs_time - last_time
track.append(Message('note_on', note=note, velocity=127, time=delta_time))
last_time = abs_time
if sample[y,x] >= thresh and (y == sample.shape[0]-1 or sample[y+1,x] < thresh):
delta_time = abs_time - last_time
track.append(Message('note_off', note=note, velocity=127, time=delta_time))
last_time = abs_time
mid.save(fname)