Snapped with Google Pixel on 2018-11-09 14:23:54 in Sweden flag Kungsholmen, Stockholm using the ArtisticGrayScale filter.

A Test Image

Snapped with Google Pixel on 2018-11-05 21:51:07 in Sweden flag Kristineberg, Stockholm using the ArtisticGrayScale filter.

So after installing plerd, I soon realised that the Webmention stuff wasnt working and not that it was a feature I sought after or even knew what it was before deciding to use plerd to render my homepage I decided to make it work because it wasn’t and for no other reason.

The few snags I ran into was with the plerdall not delivering webmentions to myself. After hopping into the debuger I got this clue: (Here I make it sound like i solved this in five minutes but that is not 100% true)

DB<6> r
scalar context return from LWP::UserAgent::get: '_content' => 'LWP will support https URLs if the LWP::Protocol::https module is installed.

Aha! Web::Mention uses Http::Request which wants LWP::UserAgent::get for SSL and to do that requires libssl-dev and zlib1g-dev (for I run Ubuntu) to build its dependency Net::SSLeay. No problem.

The thing is, you see, that I decided to put the webmentions reciever behind a nginx reverse proxy, so that it could terminate the SSL. The config block looks like this:

location /webmention {
    proxy_redirect     off;
    if ($reqest_method = POST ) {
        rewrite /webmention/?(.*) /$1  break;

The rewrite is there to map the URI in such a way so the Mojolicious web server can recognize the incoming request.

Now I will enter into the next phase of my master plan which basically is all about applying random filters to pictures I upload to my OneDrive account, and then publishing them or something, here on this blog. I don’t know about the specifics yet, but I’d say I’m off to a pretty good start wuth the subtle yellow background and the classic medieval English Towne font for the headlines.

I’ll go to norrland but will keep doing what I did yesterday

Did you know, by the way that, “Another day in paradise” by Phil Collins does have a hidden meaning in it: While the title seems to hint at something very positive, one could think that it was a song to praise the gift of life, and what a treasure it is, but then you start listening to the lyrics and uncover a different meaning hidden underneth:

She calls out to the man on the street He can see she’s been crying

heavy stuff.

At any rate it’s a fantastic song, a true classic.

Here is a home page powered by plerd.

It’s for the love of Perl. Also, I need some sort of page since I’ve already got a domain. All I don’t have is something to write about, but never have I let that stop me before.

Also it does support webmention which I don’t know if I’ve got it working yet or not but it’s cool too.

I put the stuff I’ve written, not in Dropbox, since this page runs on a aarch64 box, and you have to fiddle around with exagear-desktop-rpi2.tar.gz or something like that to get the linux Dropbox software to run since they dont have no ARM binaries. Thus I put the stuff instead in OneDrive which also don’t have no ARM linux client, but I use it with rclone. but the mount hung and the sync operation didn’t have no bidirectional mode (yet) so I made a rsync job to merge the things before syncing so to speak. Anyway, time will tell if that’s a good approach or not.

It’s very cool actually. I was planning to extend plerd into something which can crop the images I upload and apply various filters and stuff like that before I publish them but we shall see about that.

For now I could use the OneDrive document editor as a bloggig platform and that’s pretty cool because I don’t know of any other person doing that, so it feels novel (but suboptimal because it’ll only let you create new plain text documents with the txt file extension and that won’t fly, so a clever approach then is uploading a template markdown document outside of the plerd sources root and then copying it into the dir once done and that’s all there is to it.