Zydeco::Lite

Today I released Zydeco::Lite, a re-implementation of Zydeco but just using standard Perl syntax. So for example, class { … } becomes class(sub { …});. This has the advantage of much faster compile time, similar run time speed, fewer dependencies,…

Web Scraping with Zydeco

So I like to keep local copies of my blogs.perl.org blog posts as Atom entries, but noticed yesterday that I had a few gaps in my collection. The Atom feeds offered by blogs.perl.org only have the most recent articles though,…

Thoughts on Marshalling and Unmarshalling in Zydeco

Prompted by a recent question on PerlMonks, I’ve been thinking a bit recently on marshalling and unmarshalling Perl objects. If you’re happy using Data::Dumper’s format, then it’s trivial, but today we’re looking at JSON. If you just want to encode…

Connected Numbers

I was recently shown this puzzle: There are some things I found a little unclear about it. For example, should the following two circles count as being connected? There is a line between them, even if it’s interrupted by a circle. And what about these two circles? Are they connected? Again, there’s a diagonal line … Continued

Keyboard Shortcut to Edit a Page/Post in WordPress

WordPress does have a toolbar for logged-in administrators, but I often like to keep this feature disabled so while I’m viewing the site, I see it like normal visitors do. It’s nice to have a quick way to edit the page you’re currently viewing though. Here’s a way to allow the Ctrl+; keyboard combination to … Continued

Sainsburys Website

I’ve been doing my grocery shopping online on and off since about 2000 or 2001 and I believe Sainsburys was the first supermarket I’ve used for it, and I did stick with them for a while. Mostly now I use Tesco, though I’ve used Waitrose, Ocado, and ASDA too. Today I found myself ordering from … Continued

Show Yourself: Authentication and SSL for Postfix and Dovecot

The other useful guide I’ve been following for setting up email lately has been Secure Postifx Using Let’s Encrypt. Let’s Encrypt is a pretty cool certification authority that makes setting up HTTPS for websites not just a doddle, but also free. I’ve been very impressed with it. But it can also be used to provide … Continued

Implementing GDPR

The General Data Protection Regulation (GDPR) is the EU law that forces pretty much all sites to display that annoying “please accept our cookies” message which you see everywhere. For those of us in the UK, Brexit is likely to slightly modify the law, but only slightly. So we have to deal with it. I … Continued