Tag Archives

14 Articles

Posted by Dave on

Browser Scripting

Browser Scripting

I discovered that my notes on capturing the ello feed were out of date and have corrected the page in that the stuff about ello is now useless. This page holds the general notes I made about web scripting. They may be equally out of date but I am not yet ready to delete them. My [old] notes are below/overleaf.

Posted by Dave on

Unicode in Python

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 I made in learning about Python’s support for unicode/ascii translations.

Posted by Dave on

Web Site Testing with MaxQ

Web Site Testing with MaxQ

MAXQ is a web proxy with recording and replay features. It is designed to capture and replay tests. They are quite keen that one understands the terms of use of target sites since many prohibit automated access and these days it would seem defend themselves against it.  This article documents how to run MaxQ and make tests, but not how to successfully run them. (If that’s why you’ve come here, look elsewhere but if you have answers please comment here. )

Posted by Dave on

Converting dates to strings using Python

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 date data type. (This is an important part of the requirement, since otherwise string manipulation would have been enough.) Finding exampes was hard, so I hope it helps,

Posted by Dave on

JSON to XML

JSON to XML

In order to export the ello.co feed, I need to convert the JSON to XML. This isn’t the first time I have needed to look at this sort of problem and so I have created a page to hold my notes. I have put these things together in a python script, and posted it to github, in a repo called ello2rss.

Posted by Dave on

WAMP

WAMP

I needed to install WAMP on my PC, to support some Amazon developments; I needed a screen interface to my database. Here are some notes and links. I talk about installation, and port conflicts. I might expand the install notes to include advice on mysql security.

Posted by Dave on

delicious linkrolls

Time to revise this page. It was originally created to document the runes on how to use the delicious provided javascript linkroll generator, it then covered the slow and painful death of the service and my attempts to postpone the inevitable.  In late 2019, I found my backup copy and posted it to the blog, the consequent page became too large to edit and the rate of death of the links led me to delete the page. Writing soem tools might have been fun but the usefulness of the list was very questionable. I marked the post as deprecated in July 2022.

Posted by Dave on

Twitter API V1.1 (Deprecated)

Twitter API V1.1 (Deprecated)

This post was written in 2013 and I discovered in May 2018 that most of the links failed. It’s been a while, and it surprises me that my little wiki has lasted longer than the resources I point to, but not here. I could have deleted this post, but chose not to; I have heavily edited it so it’s as much a diary as the technical note it once was.

Posted by Dave on

Planet Planet

I started using Planet in about 2008 2006, it would seem? I rapidly came too “Planet Venus” and this article was originally written during that time, and was copied from the snipsnap wiki, itself copied from my sun blog. This article focuses on installation and administration. It includes links to my scripts. It was heavily amended in June 2020 in thanks to the location of my tools and Sam’s code being on github.

Posted by Dave on

Python

Python

I returned to Python in Oct 2010.

I have two problems to solve,

  1. converting my bliki to wordpress, (I never used Python for this)
  2. 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, dictionaries vs. lists and PYTHONPATH.