RSSAmplifier

Blog

Homepage on SnailShell

powersnail.comRSS feed ↗37 posts

Latest posts

A Myopic Man’s Shower in Daylight

The sun with a photon takes a shot at me It runs across the atmosphere Evading dust and wings of birds It penetrates the double-paned window And ricochets off crystals falling in threads Losing its way on the lenses steamed opaque I take them off, trading fog for a blur Bare-eyed, I’m still bulletproof.

Happy Halloween (2025)

I don’t have a costume this year, so here’s a painting of mine of a pumpkin. A watercolor painting of a pumpkin sitting in a field of grass.

Claude Haiku 4.5 Released - Quotes and Notes

On 2025-10-16, Claude Haiku 4.5 was released. It is a smaller, faster model than the previously released Claude Sonnet 4.5.

Firefox 137 Nvidia Hardware Decoding

Recently, I’ve noticed that I don’t have hard decoding enabled in Firefox (my machine uses openSUSE Tumbleweed, and proprietary driver 570 for GTX 2080 video card).

<code>tmux</code> - Edit the Current Pane in Neovim

TL;DR: I put the following lines into my .tmux.conf: # Edit current pane in neovim bind e run 'tmux capture-pane -S 0 -p -J > /tmp/tmux-edit && tmux new-window 'nvim /tmp/tmux-edit'' bind E run 'tmux capture-pane -S - -p -J > /tmp/tmux-edit && tmux new-window 'nvim /tmp/tmux-edit'' Navigation in Neovim ## tmux and neovim are essential parts of my workflow, both of which are very good at being…

Disable 2.4GHz for iwd

Debugging an Erratic WIFI Connection ## Recently, I had a problem with the WIFI connection on my Linux workstation: sometimes, the latency fluctuates quite badly, occasionally to the point of going offline completely.

Lesson Learned Migrating Registrar

I originally registered my domain powersnail.com on Google Domain, which seemed to be a popular and well-made product at the time.

How to Make Neovim Open PDF and Images External Viewers

After some serious attempts to equip my terminal emulator with the ability rendering images, I&rsquo;ve given up on it. My experience is that in 2024, it&rsquo;s still not quite a practical endeavor, at least on my machine with all the CLI tools that I&rsquo;m using, specifically tmux and neovim.

Hardware Accelerated Jellyfin, Docker Composed, in openSUSE

What is it all about? ## Here is what I&rsquo;m trying to do: I want to watch TV at home.

My Config File for Downloading Albums from YouTube Music

The Config File ## Here&rsquo;s the config file: # yt-dlp.conf # Output format: album/tracks.format -o '%(album,playlist_title)U - [%(playlist_id)s]/%(track_number,playlist_index)s - %(title)U - [%(id)s].

Setting Wallpapers for Multiple Monitors through DBus for KDE Plasma

The Problem ## KDE Plasma is my favorite Linux DE, and it has its quirks and warts. The support for multiple monitors, for example, is fairly buggy at times, especially when monitors are turned on and off.

TIL: HTML Has a <code>&lt;time&gt;</code> Tag

Today I learned that HTML has a <time> tag which supplements a written date and time with a machine-readable format.1 Supposedly, this helps with parsability, and in turn, good for accessibility.

Engage the Pinky During Bow Change

Nathan Cole talking about shifting the balance to the pinky during one of his master classes.[^nathan] During one of his masterclasses, Nathan Cole was helping a student with landing the a soft note after a series of spiccato.

A few fun discoveries about Stable Diffusion

Standing opposed to OpenAI&rsquo;s DALL-E and Midjourney, is the open sourced model Stable Diffusion1. Some of the images it painted are genuinely impressive, coherent, and free of artifacts (at least at first glance).

Fixing Grub2 Theme Preview on Opensuse Tumbleweed

To use Grub2 theme preview on openSUSE, two environment variables needs to be overridden.

Making <em>Score In URL</em>

I&rsquo;m excited to publish my new project, Score In URL, a simple, privacy-friendly, sheet music sharing service, where the entire content is encoded in the URL itself as a query parameter.

Sneaky Shift in Bach&rsquo;s <em>Preludio</em> in Partita III

Preludio (Prelude in some version) is one of Bach&rsquo;s best violin pieces. From measure 17 to 28, a bariolage among three strings brings us a sublime polyphonic experience, with only single notes played detaché.

Reading <em>Steal Like an Artist</em>

Summary ## A short, inspirational book about how to be a productive artist. The first few chapters are about imitation, the necessity of it, and how to evolve from there.

Test Md Page

When you are tweaking your blog, creating a new CSS rule, or making a new theme, it is not uncommon

Chinese Caramel Color

糖色: Chinese Caramel Color ## The iconic Chinese cuisine Red Braised Pork Belly has an appetizing, deep, brick-red

A Warm-up for Chords: Bowing Planes Exercise

Chord and Bowing Planes ## How do we roll a clean chord on the violin? Or, perhaps a better question: how do we consistently roll a clean chord?

Theme-less Hugo, Almost Pure HTML, Styled with MVP CSS

Theme-less Hugo ## As popular as theming is, I can&rsquo;t help but feel unsatisfied by a plug-and-use theme made by someone else.

Tiramisu

Inspirations ## My recipe is loosely adapted from this recipe, with sparks of inspiration collected from here and there.

A New Way of Presenting Recipes and Chicken Abodo

Cooking for Engineers ## I bumped into a site called Cooking for Engineers today, and at the bottom of some recipes, they have this succinct table that summarizes the procedure in a refreshingly simple manner:

&ldquo;And Then There Were None&rdquo; Reading Notes

Summary # The book was the execution of ten people, carried out on an isolated island. Ten people of very different backgrounds were invited, by various ruses, to come on to the island.

南蛮鸡肉三明治 Chicken Sandwich with Nanban Sauce

菜谱改编自 MASAの料理ABC1. 材料 /

&ldquo;Pride and Prejudice&rdquo; Reading Notes: Highlights and Annotations

Summary of Pride and Prejudice ## A young intelligent woman, Elizabeth, had a tendency to judge people quickly. Based on impressions and gossips, she deemed Mr.

Reading Notes on &ldquo;The Adventure of Tom Sawyer&rdquo;

An Overall Review ## Tom Sawyer is a kid living in a small town, under the caring of his aunt.

A Constant Solution to Code-Fights Apple Boxes Problem

An Apple box coding challenge

Count 1s in Range

在 codefights 上做到了一个很有意思的题。给你 a, b 两

Valid Number - By DFA

Introduction to the Problem ## The question asks the programmer to validate whether a string is a valid representation of a number.

Exceptional Control Flow

Overview ## A processor accesses a sequence of instructions when it operates. The transition from one to the next, is called control transfer.

Code Optimizations

An example: Transpose for i in rows for j in cols b[i][j] = a[j][i]However, it might be the case that we do not know the size at compilation time, so we cannot statically declare this 2D array.

Fractals

Fractal # naming: fractional dimension Definition: ## self-similar $$\to$ when zoomed in, look the same Types: ## Exactly self-similar Statistically self-similar Exactly Self-similar ## If zoomed in, there is no way to tell that we have zoomed in.

Binary Search Tree implemented by C++

This is a simple implementation of binary search tree implemented by C++.

Production of Sentences and Properties of Languages: Parsing Techniques Notes (2)

Generating Sentences ## sentence vs. sentential sentence all symbols belongs to terminals (a valid element of the language) sentential may contain non-terminals, an intermediate form during sentence production Example: #### For a language where $V_N = {P, Q} \land V_T = {a, b, c, d}$, a valid sentential would be $aP$; a valid sentence would be $ac$.

Generative Grammar and Four Types of Grammars: Parsing Techniques Notes (1)

Generative Grammar ## There are several views of defining a language. The computer science and formal linguistics perspective: terms definition Language a set of sentences Sentence a sequence of symbols Alphabet a set of all symbols The semantics - meaning - of a sentence is described by its tokens cooperating with its structure.