tadhg.com
tadhg.com
 

Posts concerning web-development

Python Syntax Highlighting for star-light

23:37 26 Jun 2009

A couple of years ago I plugged star-light, a syntax highlighter that’s entirely client-side. I’ve been happy with it, but wanted a Python mode for it. I was going to post some other code this evening, and then decided that I should just make the Python mode myself.

This led to fun with regular expressions.
[more...]

Permalink     Comment     [, , , , ]    

PyWebSF Site Update

15:46 23 Jun 2009

I did some work on the PyWebSF site, so that it looks rather better than it did with the default WordPress theme. I altered a pretty good WordPress theme called Arras Theme, which I was fairly impressed with. As a reminder, the first meeting is tonight.

Permalink     Comment     [, , , ]    

PyWebSF Logo Attempt

23:03 21 Jun 2009

My brother asked me a while ago to design a logo for PyWebSF, and tonight I took a shot at it. Part of me thinks it has a certain something, and part of me thinks it’s exactly the sort of thing you get when you ask an engineer to do a designer’s job.
[more...]

Permalink     Comment     [, , ]    

WordPress 2.8 Upgrade

17:44 14 Jun 2009

Today I upgraded this blog to WordPress 2.8, a relatively smooth process. I ran into completely unrelated problems (hitting the process limit for my shell account) that derailed things for a while, but the WordPress upgrade itself was smooth.

I use Subversion to upgrade, first using
svn export --force http://core.svn.wordpress.org/tags/2.8/ .
in my development environment, seeing if things look okay there, then checking in the 2.8 changes to my own repository (the only niggly part because I neglected to clean the dev environment of changes before the export, so I had to look through things to see what was part of the upgrade), backing up my live database, and then checking the changes out to the live environment. It all looks fine, and hopefully will continue to function normally.

Permalink     Comment     [, , , , , ]    

Pylons Via Apache Port Issues

16:42 12 Jun 2009

I’ve been using Pylons (and, more recently, the Pylons-based TurboGears 2.0) for various projects for a while, and a few weeks ago ran into an annoying and specific problem: using Pylons via Apache made Pylons occasionally think it was running on a different port.

There’s a relatively easy answer to this, but until I was reading through TurboGears documentation, I didn’t find it.
[more...]

Permalink     Comment     [, , , , , ]    

PyWebSF: Meetup for SF-Area Python Web Developers

22:07 09 Jun 2009. Updated: 19:42 11 Jun 2009

My brother is organizing what will hopefully become a regular web-centric Python meeting. The first meeting is planned for 18:00 Tue 23 Jun 2009 at the SF Public Library. I think a couple of speakers are lined up already, although I don’t have details on the talks. I’ll be there, and if you’re a Python developer with web interests, or a web developer into or curious about Python, you should attend too!

Permalink     Comment     [, , , , ]    

YouTube, Linkrot, and Blogging

22:04 18 May 2009

While randomly looking over one of my older posts last night, I realized that the YouTube video that it was centered around had been removed, making it pointless. This is extremely annoying, not just for me but for any reader of that post.
[more...]

Permalink     3 Comments     [, , , ]    

Yahoo!’s Website Performance Rules

16:32 12 Mar 2009. Updated: 02:38 15 Mar 2009

While I’m familiar with a lot of them, I’d never actually read Yahoo!’s performance recommendations. They’re clearly laid out, with lots of good information in there. I should have a look at changing some of my own stuff into CSS sprites, as well as some of the other suggestions—these rules make a difference to users even on sites like mine.

Except for those of you who read all this via RSS, of course.

Permalink     Comment     [, , ]    

Another Text Editor?

15:56 15 Feb 2009

Mozilla Labs recently introduced Bespin, a browser-based fully-featured text editor. I have mixed feelings about this, because I wonder if the time would be better spent working on other things (or improving other editors), but on the other hand I like the idea of a text editor written using languages that web developers can tweak, and being in the browser offers a tremendously rich framework for layout and presentation. I also wonder if it might lead to the kind of semantic “word processing” tool I’ve previously mentioned looking for.

Permalink     Comment     [, , , ]    

My WordPress Development Setup

16:29 13 Feb 2009

One of the first things I did with my resuscitated blog was to figure out how I could develop for it in a reasonable fashion.
[more...]

Permalink     Comment     [, , , , ]    

Blog Move Steps, Part Three: DNS Change

23:58 27 Jan 2009. Updated: 01:13 30 Jan 2009

I’ve wrangled my old plugins and custom code so that it mostly works, except for one or two features (such as “related posts” based on tags) that I’ll revive later. Good enough for now, so I’m making the DNS changes and going ahead.

If you’re seeing this text, you’re on the new server, and all should be well. But if you don’t see another post after this one by about Friday, it suggests RSS problems, so please drop me a line.

Permalink     1 Comment     [, , ]    

Blog Move Steps, Part Two

22:30 26 Jan 2009. Updated: 16:46 28 Jan 2009

I continued working on the blog move today, and most of the tricky database-related steps are done.
[more...]

Permalink     Comment     [, , ]    

Blog Move Steps, Part One

23:53 25 Jan 2009. Updated: 16:46 28 Jan 2009

I spent time today working on moving this blog to a new home, while also combining the articles from the old (real) blog and from this temporary one, and upgrading my version of WordPress in the process.
[more...]

Permalink     Comment     [, , ]    

jQuery Sparklines

19:40 22 Jan 2009. Updated: 16:47 28 Jan 2009

I really like this jQuery sparklines plugin. I’m not sure what uses I can find for it right now, but my books/week or books/month reading rate, something like lines of code written or changed per day, the page counts of recent books, or recent MTG results would all work with it. Some of those things would be better expressed with full-size graphs using Flot, though. But while I don’t have a use case right now, this seems like a tool worth having in the toolbox (especially since it’s free).

Permalink     Comment     [, , ]    

Book List

23:56 24 Nov 2008. Updated: 17:12 28 Jan 2009

I haven’t got any graphs, despite what I said last time. I had some, but messed them up while experimenting with Flot, and in any case they weren’t quite what I wanted. However, I did solve some of the other issues I was having with my book-tracking application, and am relatively happy with the current view.
[more...]

Permalink     1 Comment     [, , , , , ]    

Fun with Books and Data Models

23:56 16 Nov 2008. Updated: 17:16 28 Jan 2009

Fun might be the wrong word.

(Also, this is long. Condensed: I’ve been using Freebase to store my reading data, I wrote an Acre app to provide a custom view, and I discovered that my data model has some shortcomings.)

I’ve been playing with Acre some more, specifically on a long-term project of mine: to store data about the books I read in some system and then create views about my reading habits. Yes, compulsive list-making combined with programming/data geekery.

Anyway, I could have used a lot of other systems, such as Delicious Library or LibraryThing or Books, to store this information, but none of them seemed to have quite what I want (and most of them are proprietary). I could have written my own, and planned to, but kept tweaking with the data model and generally wasn’t sure how I wanted to deal with it.
[more...]

Permalink     1 Comment     [, , , ]    

Acre Family Chart

23:51 11 Nov 2008. Updated: 17:17 28 Jan 2009

Freebase recently got a hosted development environment, Acre, and I’ve been playing with it. It makes it quite easy to develop applications using Freebase data (which is the point), and I’m eager to write some of those applications myself.
[more...]

Permalink     2 Comments     [, ]    

jQuery Improvements

23:59 13 Jun 2008. Updated: 07:40 14 Jun 2008

Recently I’ve been noticing once again how useful jQuery is, and wondering how I ever did DOM manipulation without it. It’s been a while since I’ve really looked at the release notes, but the latest version (1.2.6) has some significant improvements in it.
[more...]

Permalink     Comment     [, , ]    

Literary Awards in Freebase

19:04 29 Apr 2008

I’ve been playing around with literary awards in Freebase recently, mainly the novel/fiction Booker, Pulitzer, National Book Award, Hugo, Nebula, and Locus awards.
[more...]

Permalink     Comment     [, , , , , , , ]    

How Many Wikipedias?

23:55 28 Apr 2008. Updated: 01:07 29 Apr 2008

I was going to post a link to this Clay Shirky article yesterday, but then saw that it had made it to BoingBoing and decided not to bother.

However, I think it’s worth posting even if most readers do check BoingBoing. It’s rather interesting, and worth calling out.
[more...]

Permalink     Comment     [, , , ]    

Techno-Nostalgia

19:23 31 Mar 2008

I didn’t really take part, but apparently today was Run Some Old Web Browsers Day. I think my first exposure to a Web browser would have been around 1994, although the first time I could really play around with one was in a Humboldt University computer lab, I think, and that would have been 1995. Before that I was restricted to ftp and gopher, but was never that into either of them. I think I have some email from a little earlier than that.
[more...]

Permalink     1 Comment     [, , ]    

Editable Google Maps

23:29 18 Mar 2008

Depending on how well they can deal with spam, and how open they make it, this could be a big deal. Google are letting users edit locations in Google Maps.
[more...]

Permalink     Comment     [, , , ]    

Data Fever

19:56 10 Mar 2008

Since last Thursday I’ve essentially been in the the grip of a compulsion to enter data into Freebase.
[more...]

Permalink     Comment     [, , , , , , ]