#docker #C++

Adding Environment Variables for Arbitrary Users in Docker

Goal When building a Docker image, we often install various C++ libraries. However, when working inside the container as a non-root user, header files may not be automatically included in the default search paths, which can be inconvenient. We want to configure this neatly during the image build (inside the Dockerfile). However, the ENV directive only sets environment variables directly or for the root context, and might not always propagate properly to custom non-root users added later in certain shell sessions. ...

#anime #comic

Did the Wedding Cross the Dimensional Wall?

A Wedding Crossing Dimensions The other day, I attended a wedding ceremony between a friend of mine (the bride) and a 2D fictional character (the groom). Here is the bride’s own retrospective blog note: On Hosting a Party to Cross the Dimensional Wall (Japanese) Event Report This article is an honest report of what happened that day. Note: Since the groom is an ultra-famous celebrity, clear photographs of him were strictly prohibited. ...

#movie #game #gadget

Setting Up a Home Theater in a Studio Apartment for Solo Living

Why Build a Home Theater? Have you ever heard of a home theater? It’s literally a theater in your home. Enjoying movies and games on a massive screen is simply incredible. While it might sound daunting to set up, it’s actually much easier to achieve than you might think. There is no strict definition of a home theater. Generally, it refers to a setup with a reasonably large screen accompanied by a solid speaker system (such as surround sound). Broadly speaking, setups are divided into TV-based and Projector-based configurations, each with its own pros and cons: ...

#travel #beer

Walls of Singapore

This article is for Day 11 of the “Wall Advent Calendar 2019”. This year, the calendar hasn’t been overrun by artificial intelligence, making it a very wholesome calendar. Though @azaazarashi will probably cause some chaos. Singapore Anyway, I went on a trip to Singapore. This is a wall of the hotel I stayed at. It was white. This is a painting of an old man on the wall of a beer bar I visited. Somehow he looks concerned about the future of this advent calendar. Found some Superdry (極度乾燥) on a Singapore wall. Craft Beer Bars Speaking of craft beer, the Advent Calendar has been buzzing about Jokun Brewing Research Lab founded by Keihigu-shi and others. If you haven’t heard of them yet, make sure to check out their Twitter account and website: ...

#misc

Starting This Blog

It is said that distinguished engineers keep blogs, so I have resolved to start one of my own. Purpose A long time ago, I used to write tech articles on Hatena Blog. But that blog is no longer active, so I decided to set up a brand-new blog where I can write about a wider variety of miscellaneous topics. Design I don’t know much about HTML, but after some Googling, I found that building a static website automatically from Markdown using Hugo and hosting it on GitHub Pages seems to be the trendy approach, so I went with it. ...