Let’s Encrypt!

I signed up for the closed-beta of let’s encrypt earlier, so this blog is now encrypted. So far, so good. I’d quite like to use the SSL certificate it provides in my Jabber server, but I’d need to automate renewal.. and it’s not *quite* there yet.

Let’s Encrypt’ll hit open beta soon. Looks like the only feasible way HTTPs will be supported widespread. Even with domain validated SSLs, ssls cost too much at the moment, and are too much of a hassle.

Odd Magento / Fishpig / WordPress error

If you get an error like:
Fatal error: Call to a member function select() on a non-object in /home/username/public_html/app/code/community/Fishpig/Wordpress/Model/Resource/Page.php on line 119

Then, check you’ve not just changed a MySQL username, without updating the fishpig configuration, or otherwise Fishpig can’t access the MySQL database for some reason. It seems to store a MySQL login in Magento config. I’ve not yet found exactly where, I’ll update this post with more once I understand more about what it’s doing.

 

It presented as the main Magento site throwing the following error:

exception ‘Zend_Exception’ with message ‘dbModel read resource does not implement Zend_Db_Adapter_Abstract’

 

Which it seems that most everyone will tell you to clear your cache to fix. You *will* need to clear your cache, probably. Just, after fixing the MySQL connection issue.

 

The following line is to make it easier for people googling to find this post:
Fatal error: Call to a member function select() on a non-object in /public_html/app/code/community/Fishpig/Wordpress/Model/Resource/Page.php on line 119 magento fishpig

 

This post my making sure  https://xkcd.com/979/ doesn’t happen from me.

Hame Run

I’ve recently got into playing Monster Hunter 4 Ultimate on the 3ds, and this term comes up from the community from time to time. It’s a little cryptic to ‘grok’, unless you’re deep in the community, so here’s a quick post explaining it.

Put most simply, it’s a quest/monster hunt run done as fast (and insanely) as possible. As my good friend Visi explained:

“It’s basically where you take in heavy bowguns and stunlock the mob”

So, bowguns being a weapon you can deploy, and stunlock, force the monster to be constantly stunned; locked into stun.

And that’s it. If you want to know what ‘hame’ means, read on…

‘Hame’, also known as はめ in japanese, is the vulgar term for having sex, or in other words fucking. So, in Monster hunter terms, a hame run is a run in which you fuck the monster over.

In response to UKIP gloating on facebook..

2015_04_22_21_26_35_March_Cambridgeshire_Free_Discussion

So, this popped up via my town’s facebook group. I couldn’t resist responding. If you’re curious, here’s the wikipedia page on the Indian mars probe.

My response to this, and the assorted “Yeah!”, “We should give them nothing” etc, I responded as follows;

Do you understand what an amazing achievement that was? The normal cost of any western probe to Mars? Hell, I’d gladly pay more tax I can’t afford to for that stunning gem.
It was, and still is absolutely incredible they did it for so little, and with
so little. It’s giving them a reason to strive, to push for something different, for knowledge and understanding and plain old new technology. You know, just that thing humanity must get more of quickly, or watch our world burn from a fire of our own making. We fail, we get to watch our grandchildren or our great grandchildren die. All of them.

I probably shouldn’t have, and hyperbole just a bit on the All Die prediction, but eh, we do nothing about oil running out & climate change, we’re probably all screwed. We’re still probably all screwed anyway, but..

I wonder if this has anything to do with the slow-motion civilization collapse depicted in my current read, Ready Player One?

 

After Death (mind-dump thoughts on digital death)

So, here’s something that’s been coming to mind of late, especially with the recent death of Leonard Nimoy.

Our digital lives varnish after our death. Oh, don’t get me wrong, they’ll last a little longer than our deaths — the server this blog is hosted on for example will stay running. However, it won’t get maintained, that’s what I do, so over time it’ll get hacked, or will break. My brother might take over maintaining it for a while, but in the end, the words and thoughts stored here (some hidden from public view) will vanish.

Archive.org is great, it’ll keep a copy of these words for posterity.. but who’ll ever read them?

I’m not sure if I’m morbid at the moment, or it’s just depression talking, but this all feels so.. transient. These words won’t have the lasting power of those stored on a book, in the end they’re stored on media that’ll die a lot faster than a book degrades, stored correctly. Not to mention, they’re stored in a particularly complex format, that isn’t human readable in any way without the right filter and conversions.

I guess, this is really just underlining the importance of Archive.org and their ilk. Not that I suppose anyone’ll care about what’s stored here.. much as the most read post here is my brother’s posts on linux beep music 😉
https://kirrus.co.uk/2010/09/linux-beep-music/

Low Carb Hot Chocolate

One of my bosses sent me this, his favourite easy recipe for a nice hot chocolate style drink. Saving it here so I remember to do it..

Half a tin of coconut milk in a saucepan.
Simmer.
Stir in as much cocoa as you want, and chunks of chocolate too, if you like it thick.
Add some xylitol to sweeten.
Pour into a mug.
Thick, astonishingly satisfying and good for you.

(Obviously, only pour into a mug once all the cocoa has mixed and chocolate melted – I use a whisk, and add a capful of vanilla essence too).