Unicode in Python

It’s a very long time since I have had to deal with binary code translations, but when dealing with HTML and JSON with Python, I need to get to grips with it. The € symbol for instance requires the extended character set support and rss should be written in utf-8. This page collects the notes…

Read more

Converting dates to strings using Python

While working on converting ello.json to rss, I needed to convert the date formats, I needed to do it in Python and found the following code worked, using strptime and strfmtime. I had to augment the date string with the name of the day of the week attribute, so felt it had to via a…

Read more

Erlang

I had a quick look to check out erlang and installed it on one of my VMs. I also checked out what “Hello World” looked like. Stackoverflow has a getting started article here…. This article is currently just a couple of links.

Read more

Log Rotate and *NIX

This has changed since my days at Pyramid. There has been quite a lot of thinking and engineering about dealing with daemon logs. The places to look are via the syslogd, newsyslog project, you can see a the newsyslog man pages and using the keyword “rotate log”. The idea is that logs are rotated, although…

Read more

Modding in NWN, a custom helmet

I need to do some NWN modding. The first project I set myself looks harder than it should. I want to remodel the NWN1 Thayvian Circlet, to be a circlet. It’s currently a helmet.

Read more

Python

I returned to Python in Oct 2010. I have two problems to solve, converting my bliki to wordpress, (I never used Python for this) scripting for KDB & Hadoop This article contains notes started in 2011, I did not make this an omnibus entry and it is very sketchy, covering file I/O, date & time,…

Read more

Shell Programming

At some point, I wrote. “This page never seems to age, …” it just contains some idioms I like to use in my .login and/or .bashrc files. I don’t do this so often as when I started the page but the MAC keeps it in the house, and I have installed cygwin on nearly all…

Read more

HTML Slide Shows

I wanted to create a scrolling picture show as a banner on all the pages in a micro site. Many sites use this for their front page decoration. I didn’t want to use animated gif because of the age of the technology.It’s obviously becoming easier. Basic Tips below, shows how to use the HTML META…

Read more

Implementing an XML feed viewer in HTML

I decided to have another go as I was looking to consume some planet feeds on a static web page. I found Display Your Feed on a Static HTML Page Using FeedBurner’s BuzzBoost using Google and this points at Feedburner’s Buzzboost, which is part of their feed publicity toolset. Now marked deprecated.

Read more

Scripting on Windows

I need a couple of jobs done on my desktop machines (all Windows XP) and have been installing Activestate TCL on my windows systems for years. This page talks about my favourite, or favourite at the time.

Read more

Small screen HTML runes

Optimising HTML for small screens I have been interested in optimising HTML for small screens and/or using CSS as the vehicle. This has been driven by my personal publication properties and started at Sun with the then Sun Blog. I marked it as deprecated in 2020.

Read more