Itās a user agent with JavaScript enabled, because thatās what sends the page view to my statistics tool. And itās just my homepage (jlelse.dev) and not the home page from my blog. I wonāt rate limit though, my site is cached using BunnyCDN and as long as it doesnāt cause gigabytes of traffic, Iāll just let things as they are.
š¬ Micro
This section is for short notes, thoughts or IndieWeb interactions.
I donāt know whatās the reason for that, but for the last few days someone with Windows 8.1 and what seems like the latest version of Chrome (at least thatās what the User-Agent string is telling) is messing up my homepage stats with hundreds of visits per day. Maybe itās because jlelse.eu redirects there, which has a quite high Alexa rank and someone is scraping the site every few minutes? š¤
A small life update:
Iāve been quiet for the last few days. But thatās not because something bad happened to me. I am still alive and I have spent a lot of time with my partner, first preparing her oral exam and then celebrating her excellent results. Additionally I had to give a presentation myself.
And as it seems, the summer heat is coming right on time after these tests. The last days it was already around 20 to 25 degrees. Today even 30 degrees. In the sun it is everything but pleasant and I prefer to hide in the apartment.
𤩠Emojis š¤©
I stumbled over Twemoji by Twitter š¦ and a Hugo module for Twemoji and thought it might be a good idea to use Twemoji on my blog (I didnāt use the Hugo module, but integrated it directly into my theme - with a few optimizations). In my Flatpak Firefox on Ubuntu most emojis donāt have a color and it isnāt really fun to use emojis in my blog posts when they donāt look great everywhere. Twemoji replaces the Unicode emojis in the browser with SVG images. So if you have JavaScript enabled in your browser, youāll see emojis that look like on Twitter, otherwise youāll see the default Unicode emojis from your operating system. So expect an increased use of emojis here. š¤š
Thatāll be hard to do with Hugo. Thereās no way to tell it to use absolute URLs in the feeds only. Iāll need to set up an extra step of some kind. Iāll check it out.
I use a partial in my Hugo theme to replace relative links with absolute links in the content in XML (RSS) and JSON (JSON Feed, ActivityStream) files. It has a regular expression to find and replace all relative links with their abolute version. Itās probably easy to modify to replace relative image sources too.
Thatās an awesome approach to combine the 90s web with the IndieWeb, Henrique. I really like your new 90s web-inspired website style, well done!
I havenāt been blogging as long as you, Kev, but almost 10 years ago, right at the beginning of secondary school, I had my first experience with websites. 2 or 3 years later I started blogging. In 2017 I have written about my blogging history until then (in German in the third person). I think it will be time soon to write about my blogging history again.
Yesterday evening I hinted that I will give my blog a new design in the next days. I woke up relatively early today and thought that I could just finish it quickly now.
My goals were on the one hand to simplify the design significantly, but on the other hand to save as much HTML and CSS as possible.
Now the page should load even faster than it did before. Almost every page on this blog (except the ones with images) uses less than 10 KB for transfer. All generated files of the blog now only need about 30 MB instead of 60 MB.
Did I succeed?
Yesterday I wrote about a new āblog featureā showing below a post places on this blog where the post was mentioned. Unfortunately this has a high complexity and is not very fast. Today I tried (and managed) to improve the algorithm so that the complexity is just O(n). However, the code does not work as I expected it to, because Hugo does not provide a way to use global variables.
I wonder when the point comes where it is too much effort for me to find workarounds and I just build my own page generator according to my own needs⦠Most of my blog setup I have already developed myself.
To give readers a bit more context, Iāve extended my Hugo theme so that it will be displayed below each post if it is mentioned or linked in another post on my blog. This increases the build time from about 7 to about 17 seconds (on my machine it takes 2 seconds, but it is also much faster than the VPS), but I donāt know how I can make it more performant. After all, for each article it is necessary to iterate through all the other articles and see if the content contains a relative link to the post.
Update: I disabled this again, because I donāt like this much increased build time.