Intro This site’s related-article recommendations run on a tool I built myself: , a CLI wrapper around , which enriches Hugo front matter with various metadata. itself only computes related articles via TF-IDF keyword similarity, but prelims-cli adds embedding-based recommendation on top. It’s built to run on GitHub Actions on every new post: no GPU, limited memory. I’d been…
On WSL2 without a working keyring, gh auth login falls back to storing the token in plaintext at ~/.config/gh/hosts.yml . Worse, the OAuth token GitHub CLI issues . covers this problem well. This isn’t a theoretical risk. gh auth token shows up repeatedly as a credential-harvesting step in real npm supply chain attacks. Palo Alto Networks’ Unit 42 in the Mini Shai-Hulud campaign, where…
Disclaimer This is a personal account of how I, a non-lawyer Canadian resident, used PIPEDA and CASL to address a privacy issue with TikTok. It is not legal advice. Procedures, deadlines, and applicable laws change. If you are facing a similar situation, please verify everything against current OPC and CRTC guidance, and consider consulting a lawyer for matters with significant legal or financial…
The dream of LLM-powered ML workflow generation At my company, an ML feature called provides capabilities like RFM analysis, recommendation, and contextual bandits. To run ML predictions at scale, the system calls an ML API that spins up parallel workers on AWS Batch behind the scenes. To make this parallelization work, input tables are aggregated per profile, which is a deliberate trade-off for…
さんが書いてくださった、OpenAIの の追走をした。子供の春休みで有給取っていることもあり、春休みの宿題よろしくやってみた。 レポジトリはこちら: このスレッドで試した様子を書き出している (追走を)完走した感想だが、以前にLangChainとChromaをベースに社内のConfluenceを検索するRAGシステムを社内のハッカソンで作ったとき以来のフレームワークで、Agentのパターンを頭に入れたうえでどういう実装をしているのかを学ぶのにとても良かった。 Claude Opus 4.6に自習計画を立ててもらいながら、重要なところ、スキップするところをリストしてもらったが、先にこの記事を読んでおくとパターンが整理されて良かった。 なお、一番大事なのはネタバレが重要なフィクションを例として使えること。元々の記事では銀魂と終末のワルキューレ、僕の場合は、ヴィンランド・サガでいきました。…
I , but after encountering several concerns, I migrated to Sveltia CMS. Motivation As I wrote in , the move was triggered by the following issues with Pages CMS: It handled time zones poorly (essentially forcing everything to +00:00), and even after , there didn’t seem to be much interest in fixing it. It was quite troublesome to achieve the directory structure recommended by Hugoblox, where…
Introduction I have always worked with the mindset that being a Staff+ Engineer is essentially doing high-level “ .” Because the tasks are surprisingly diverse, I have written about them , but I have never quite been able to cohesively organize my thoughts. And for a while, I also struggled with how to effectively express the impact I’ve made on my resume. This is because the…
AmazonのPrincipal Applied ScientistのEugene Yanさんの記事に触発されたので書いてみる。 AI時代にPrincipal EngineerがAIとどう向き合い、どう生き残るかを書こうと思う。 なお、上記の記事にもある通り “ 1. Different principals will have different flavors.” なので、Principalと一言で言っても企業・チームによって千差万別であることに注意していただきたい。 1. AIは “frenemy”…
This year, the amount of time I spend on reviews has exploded. This applies to both code and documentation. And the fatigue from this has also increased dramatically. Of course, this is because the speed and volume of output have increased with the help of LLMs. However, the quality hasn’t necessarily improved; in fact, I feel my productivity is declined. I’m going to do a brain dump…
I had been looking for a way to write Hugo articles on mobile devices like my iPad, and that’s when I came across this article by mehori and decided to try Pages CMS. To be honest, it doesn’t properly support Hugo’s folder structure ( /articlename/index.md ), which makes image uploads a bit tricky. On top of that, I couldn’t upload images from my iPhone because of a 413…
I’ve worked on several machine learning projects, and intuitively, I’ve felt that Scrum doesn’t seem well-suited for machine learning. However, during an internal discussion, a colleague said, “If we use Technical Stories, we should be able to break down tasks to fit within two weeks for any tasks. And if we do that, we should be able to deliver value in two weeks for ML…
Netlify is a great service, but it is also known as slowness in Japan. I have been using Netlify for my blog hosting for a long time, but I decided to migrate to Cloudflare Pages to improve the speed of access to my blog from Japan. The migration step from Netlify is pretty straight foward. I just need to follow this official guide: . My blog is built by Hugo and I use Hugoblox, f.k.a., Wowchemy,…
I love , who is a Japanese meal kits provider in Vancouver. Their meal kits are really tasty and authentic Japanese foods. I can’t live without them. When I visited Japan last year, I wasn’t too eager to find nice Japanese restaurants because of them. Recipe on Notion is good, if it’s printable They provide a recipe on Notion. Seeing the recipes on it is great since they can fix…
Recently, I released tabula-py 2.8.0. It is a major release because it uses to launch JVM. This means that it reduces JVM launch time since jpype reuse JVM via JNI. How fast is it? I measured read_pdf_with_template function execution time, which repeatedly launches Java process in the previous version. The example template contains 4 rules, which means it calls tabula-java 4 times. $ cat…
Time line for work permit 2020/03 Started internal process for relocation 2020/11 Got internal approval. Start working with the immigration agent 2021/01/28 Submit documents for work permit 2021/02/09 Received work permit with family 2021/02/22 Received Travel Authorization 2021/04/02 Relocated to Vancouver Time line for PR 2021/06/28 Ask HR to start process for PR 2021/07/14 Submit documents for…