During my university years I used to live in Hikone, pretty much walking distance (exaggerating here) from Mt Ibuki, one of the 100 famous mountains of Japan. It is (was?) a major ski destination that hosted some winter Olympics too.
Norikura
Félelmetes, hogy már egy hónapja volt, hogy megmásztam a második háromezresemet (az első a Fuji volt még évekkel ezelőtt). A Norikura a japán Északi Alpok egyik csúcsa, és bár 3025m magas, relatíve könnyű elérni a csúcsot.
Round trip
I like travelling. Who doesn’t, really? Also, I like taking pretty pictures. However, armed only with my phone, the possibilities are limited. Taking a scenery photo during the day will turn out nice, but trying to capture a giant red moon rising at night would be a futile attempt.
Testsúly
Már két éve, hogy szinte minden munkanap este kondiba járok. Sokszor kérdezik, hogy miért? Nem fogyni, épp ellenkezőleg. Ha nem terhelem rendszeresen magamat, nagyon rövid idő alatt 55 kilós pálcikaember lesz belőlem.
Különösebb cél nélkül fogtam neki, mondván “csak cingár ne legyek.” Valahol aztán beállt a súlyom 70 kiló köré, és mivel a tíz kiló, amit felszedtem, (főleg) nem háj lett, azóta különösebb cél nélkül csak arra figyeltem, hogy rosszabb ne legyen.
Summer Sonic 2018
Have you seen the lineup of this year’s Summer Sonic? It’s pretty amazing. Sure not as amazing as Rock in Japan, but still great. It’s been 7 years since my last Summer Sonic (I was there in Osaka in 2010 and 2011). It usually has one or two artists that catch my attention, but rarely enough to get me to actually go.
This year though there were two bands on the lineup that I didn’t dare miss: ling tosite sigure (don’t get mad at me for the spelling, it’s official) and Mastodon.
No JavaScript, please
The other day I got an email from Axosoft that the payment for my GitKraken license (yes I use GitKraken) was rejected by my credit card company. It was because the card I used there expired, but nonetheless I had to take action.
That involved going on their website and changing my payment method to a card that still worked. It involved first an overwhelmingly complex table like this.
Mounting folders as Docker volumes
When trying to pass data between a Docker container and the host, using ADD
in the Dockerfile might be sufficient at first. However, it’s one way, get burned in the image and so very inflexible.
The usual solution is to mount folders using docker
‘s -v
option. It’s simple, easy to use and pretty reliable. Just add -v "$(pwd):/root"
and the current folder will be mounted to the /root
folder in the container.
Using volumes is nice because they’re (can be) two way and (can) sync in real-time. Now you don’t need to rebuild your image every time you fix a typo. -v
has pretty deep configuration options too, in case you want to go down the rabbit hole.
Using Java signatures in Clojure
A while back I was trying to implement HTTP signatures to use with ActivityPub interactions with Mastodon. In Clojure. There is a go-to library for Clojure when it comes to crypto stuff, but I couldn’t get it to do the specific thing I needed: SHA-256 / RSA signatures. I looked at other options too, but as I’m not familiar with NaCl, that was just a confusing mess of wrappers around Java wrapped around C.
In the end I went with using Java interop to call Bouncy Castle stuff directly. I hate Java and interop in Clojure just feels wrong, but at least I could get it to work. Not to mention if something, Bouncy Castle is maintained. It wasn’t exactly a joyride, but it works. Check out the source if you’re interested (or want to use it). I didn’t make it stand-alone or put it up on Clojars (yet).
-
Recent Posts
Tags
ale anime art beer blog clojure code coffee deutsch emo english fansub filozófia food gaming gastrovale geek hegymász jlc kaja kubernetes kultúra language literature live magyar movie másnap politika rant sport suli szolgálati közlemény travel társadalom ubuntu university weather work zene 日本 日本語 百名山 艦これ 軽音-
Recent Posts
Tags
ale anime art beer blog clojure code coffee deutsch emo english fansub filozófia food gaming gastrovale geek hegymász jlc kaja kubernetes kultúra language literature live magyar movie másnap politika rant sport suli szolgálati közlemény travel társadalom ubuntu university weather work zene 日本 日本語 百名山 艦これ 軽音七大陸最高峰チャレンジ