RSSAmplifier

Blog

Vitor Py

Recent content on Vitor Py

vitorpy.comRSS feed ↗10 posts

Latest posts

Daily Art Wallpapers with Google Arts & Culture and Systemd

Google has a lovely Arts & Culture extension for Chrome that displays a random masterpiece from museums around the world every time you open a new tab. It’s a nice way to discover art you’d never otherwise encounter. The problem: it only works when Chrome is open. I wanted this on my desktop wallpaper, system-wide, updating automatically even if I never touch a browser. Here’s my…

Making Confer.to Work on Linux with TPM-backed WebAuthn

Confer.to is an end-to-end encrypted AI chat service. Unlike typical AI assistants where your conversations feed into corporate training data, Confer uses the WebAuthn PRF extension to derive encryption keys directly from your fingerprint. No passwords, no server-side key storage—just your biometric tied to a hardware-backed credential. There’s a catch: this requires a platform authenticator…

Zignocchio - Building Solana Programs in Zig

Zignocchio is a zero-dependency SDK for writing Solana programs in Zig. It uses the standard BPF target and sbpf-linker to compile Zig code to Solana’s eBPF bytecode. Prerequisites # Install sbpf-linker from master (includes latest fixes) cargo install --git https://github.com/blueshift-gg/sbpf-linker.git # Install Zig 0.15.2 or later Hello World Program Here’s a minimal Solana program…

solhtmx: Simpler Solana Interactions with HTML Attributes

Introduction solhtmx is a Solana-native extension to htmx that simplifies blockchain interactions using HTML attributes. It lets you: Connect wallets Sign transactions Interact with Solana All using declarative HTML, without complex JavaScript. Problem Building blockchain apps typically involves: Complex wallet SDKs Managing connection state Handling transaction signing Coordinating UI updates…

Monero Native Prediction Markets with FHE

Background Talking to my friend Kyle Corsola at Token 2049, he suggested something fascinating: Monero native DeFi. Can we build something on the most OG of the privacy cryptocurrencies without compromising its privacy aspects? Monero design makes creating native DeFi primitives really hard. I think it’s possible to build Monero native prediction markets. There are probably other primitives…

mosh 1.4.0, rebuilt from mosh-1.4.0-1.el9.src.rpm for Amazon Linux 2023

mosh 1.4.0, rebuilt from mosh-1.4.0-1.el9.src.rpm for Amazon Linux 2023 mosh-1.4.0-1.amzn2023.x86_64.rpm If you want to rebuild yoursrlf, just download mosh-1.4.0-1.el9.src.rpm from Fedora and run rpmbuild --rebuild mosh-1.4.0-1.el9.src.rpm . rpmbuild is available on the rpm-build package.

NestJS - Debugging with VS Code

I decided to document my debugging set up for NestJS. I had two main prereqs: Hot reload Debugging inside VSCode From the hot reload instructions on Nest website, first, add the dependencies: yarn add --dev webpack webpack-cli webpack-node-externals ts-loader run-script-webpack-plugin Then I createed a webpack-hmr-debug.config.js file: const webpack = require ( 'webpack' ); const path = require (…

Dealing with multiple GitHub Accounts

The first Google result for “multiple GitHub accounts” right now points to a solution using a SSH config change: # Personal account, - the default config Host github.com HostName github.com User git IdentityFile ~/.ssh/id_rsa # Work account-1 Host github.com-work_user1 HostName github.com User git IdentityFile ~/.ssh/id_rsa_work_user1 I’m not a big fan of this solution as it…

Built with Hugo

This site is built with Hugo , a fast and modern static site generator written in Go. Tech Stack Generator : Hugo 0.160.0 Theme : Custom minimal theme lightly based on Zenburn Syntax Highlighting : Chroma with zenburn theme Fonts : Roboto , Roboto Mono , and FontAwesome Features No JavaScript (100% functional without JS) Single bundled CSS file (~6KB) Optimized fonts (FontAwesome subset) Automatic…

LaTeX Test

Inline Math The quadratic formula is $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$. Display Math Euler’s identity: $$e^{i\pi} + 1 = 0$$ Another Example The Pythagorean theorem: $a^2 + b^2 = c^2$ And the integral: $$\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}$$