Story of How My Hoff Solutions Site Climbed Search Rankings After (?) Optimization 🚀
TL;DR (Summary) This is a solutions site for the end-of-chapter exercises in A First Course in Bayesian Statistical Methods / 標準 ベイズ統計学 (Japanese edition). I started it during my Master’s degree and still update it, albeit at a very slow pace. Recently, after just a few updates, the site went from not appearing in Google search results at all to ranking highly. Here’s a memo on what I did 📝....
Guide to Setting Up SKK on Doom Emacs & Mac
What You’ll Learn in This Article What SKK is How to install and configure AquaSKK How to set up SKK (ddskk) in Doom Emacs Challenges in adopting SKK and their solutions Impressions and evaluation after using SKK long-term What is SKK? SKK (Simple Kana to Kanji conversion program) is a type of Japanese input method editor (IME). Unlike typical IMEs, it features explicit switching between input modes and unique operations for selecting conversion candidates....
The Convenience of Emacs' Indirect Buffers
When using Emacs, have you ever thought, “I wish I could edit just a part of this file in another window…” or “I’d like to compare the same content with different display modes…”? I certainly have, many times. That’s when I discovered and was impressed by the Indirect Buffer feature! This post explains the basic concept of Indirect Buffers, how to use them, and some points to keep in mind....
Anki Super Vocab: My Quest for the Ideal Vocabulary Learning Card
Introduction Are you an Anki user? Anki is a powerful memorization tool that utilizes a spaced repetition system (SRS). I’ve been a long-time Anki user, and it’s become indispensable, especially for language learning. Recently, while using Anki for English vocabulary learning, I had an idea for the “perfect” card type – one with features I’d always wished for. I’ve now realized this ideal card type and made it publicly available on GitHub....
Startup error in Emacs: "Project … cannot be read"
The Problem The other day, when I started Emacs as usual, the following message appeared in the minibuffer: Project <Project Name> at <Project Path> cannot be read. Emacs then became a piece of software that simply displayed a white screen. I had recently changed the path of this project, so I suspected that might be the cause. I tried modifying/deleting the project path in projectile-known-projects-file, but the situation didn’t improve. I also tried commands like doom sync and doom upgrade, but none of these resolved the issue....
Troubleshooting "Server julia-ls starting exited… Do you want to restart it? (y or n)" in Julia/Emacs
The Problem So, I recently fired up Emacs to do some Julia coding after a while, and I ran into this annoying message: Server julia-ls:50759/starting exited (check corresponding stderr buffer for details). Do you want to restart it? (y or n) It kept popping up (even if I pressed y), and LSP just wouldn’t start. It took me a bit of time to figure this out, so I’m leaving this note here for anyone else using Julia in Emacs....
Published the Source Code for the Hoff Exercise Solutions Site
Published the source code for: Example Solutions for Hoff’s Exercises GitHub This site was published exactly two years ago and has been updated gradually since then. Previously, I had written on the site asking people to contact me via email if they found any mistakes or typos, but ultimately, I never received any such contact in two years 😭 (I did receive thank-you emails from researchers overseas, which made me very happy....
Advent of Code 2023 Day 1
Yo, Happy New Year, peeps! Last year, I was on that grind, tackling the 2023 Advent of Code bit by bit. So, I’m droppin’ my solutions and some quick notes here, ya dig? I’m coding all this in Python, straight up. I’m thinkin’ of droppin’ the whole thing on GitHub when I’m done, but no promises on when that’ll be, ya feel me? Aight, let’s jump into Day 1’s solution, no time to waste....
Fixed Ugly Math Formulas in Anki After Emacs Upgrade
Introduction Hey everyone! I regularly use anki-editor to create Anki cards. But after upgrading Emacs, my math formulas started looking really messed up. Specifically, I had these two problems: In the desktop Anki browser’s preview for each field, the formulas weren’t rendering as formulas. They just showed up as plain LaTeX code. Formulas were being displayed as PNG images. (They used to be rendered inline with MathJax.) Since I rarely edit cards directly in the desktop Anki app, the first issue was somewhat tolerable....
Updated Hoff/AFCBSM Exercise 10-4
Introduction I have updated Answers of exercises on Hoff, A first course in Bayesian statistical methods (added 10-4), so I’d like to briefly touch upon its content in this blog post as well. First, let me briefly explain the relationship between this problem and the textbook content. I previously wrote an article titled Hoff/標準ベイズのM-Hアルゴリズムがworkすることの証明でつまずいた話 (A story about stumbling on the proof that the M-H algorithm in Hoff/Standard Bayes works), and in Hoff (2009), the proof that the M-H algorithm works in Chapter 10 is done in the following steps:...