Happy birthday, me <:)
Daily Korean lesson = done.
I tried to type “I need more time to study Korean” in Korean but my terminal crashed and Google translate says I was trying to say “I am taking more time” so I’ve got a long way to go.
I find Korean fascinating - it’s incredibly succinct and logical, incredibly regular and fairly straight-forward.
Once you get over the alphabet not being latin, it’s a simple case memorising a lot of rules and of course making 100s of sample sentences and practicing… which is something I’m not doing at the moment but might do in future for kicks.
Maybe I can put my daily Korean practice in this blog, forcing me to practice and learn how to type in Korean.
Watched “The Matrix” for the first time in a few years today. So. Good.
Until recently, this was my favorite film; one that that has pushed me to learn how to code and to ask questions about reality.
The new favorite is of course “Parasite”, a Korean film that came out last year. This film blew my mind. It asked such real and simple questions from the depths of a putrid vision of an existent capitalism, I’ve never been so disturbed and felt so enlightened by a single story. One day I’d like to watch it again but that won’t be for a while, it’s an intense experience that I feel like I won’t be able to enjoy too often.
Annoyed at myself for working on this so late. Time for sleep!
It seems that the Dockerfile maintained by the hugo team is very restricted which also makes debugging quite difficult. Well at least it makes things difficult for me, someone who isn’t exactly a docker whiz kid.
I think I’m going to have to write my own Dockerfile that I can actually work with for the sake of being able to debug stuff a lot more easily.
Wow this is frustrating. There is a Dockerfile provided by the gohugoio/hugo repo but there are no docs on how to use it. It seems to not find the content I’m mounting into it. Maybe I should try mounting it at the root…
OK. I’m giving up on this for now. I want my blog to be dockerised. I’ll do that instead.
This evening I’m trying to figure out how to get rid of the flash of background when navigating within the iframe in my personal website.
As far as I can see this is due to how the browser treats the iframe whilst it is loading content. Normally the rendering of the new page is delayed until there is a full viewport of rendered webpage ready to be displayed. But when navigating within an iframe, there’s a short period of time where a blank viewport is shown - at least on my personal site.
I’m kind of regretting putting the most important, most changeable content in an iframe. Maybe I should have put the nav bar in an iframe, but then I would have to implement the layout in multiple places and that would suck.
Currently, I can deploy a new app and the infrastructure for it in a single commit. Pretty dope. BUT, want I really want is for my apps to be built and/or run within docker containers.
At the moment, I think keeping the build.sh
build scripts
allows for some more flexible deployment of various things,
e.g. sending an email out when my blog updates, restarting
the nginx docker image when the config changes etc. So
build.sh
is here to stay.
Some of these build.sh
however would be much better off
building docker images and running them in such a way that
they can share volumes. The simplest way to achieve this is
I think to use docker-compose
, which I am already using
for the nginx reverse proxy.
So, next steps to bring dockerised auto deployment closer to reality:
- rewrite blog building script as a
Dockerfile
- expose built static files using a docker volume, shared with the nginx container
- repeat for all apps
In some cases, I will try to reuse common build steps of
apps - e.g. a few apps of mine are built using Parcel, so I
can use a single Dockerfile
for those.
But not now it’s late I should be asleep D:
I know I shouldn’t but I was just working late for a bit. I’m feeling restless, possibly because it’s birthday week.
My birthday is on Saturday and I’ve invited a few close friends to a virtual get-together. Hopefully they’re keen for some virtual fun and games.
Clearly we’ll have to have a real party when things return to normal.