tadhg.com
tadhg.com
 

Archive for December, 2007

sfmagic.org Rewrite: Tournament Page Done

22:18 31 Dec 2007

I again had little time to work on this, so today I replicated the page showing the information for an individual tournament.
[more...]

Permalink     Comment     [, , ]    

sfmagic.rg Rewrite: Standings Page Done

22:29 30 Dec 2007

I didn’t get much time to work on this today, and forgot about one feeature that took a little more time.
[more...]

Permalink     Comment     [, , ]    

sfmagic.org Rewrite: Standings Page Progress

08:32 28 Dec 2007

The standings page is almost done. I have most of the functionality I want, running into problems only with the “last ten tournaments” standings.
[more...]

Permalink     Comment     [, , ]    

sfmagic.org Rewrite: N-Squared Problem

06:33 27 Dec 2007. Updated: 00:06 18 Jan 2008

It took me less than an hour to go from the finished player page to a working basic version of the standings page (yay Python/Pylons/Genshi!). However, when running all the players (193 in the data set I’m using) against the entire set of results (2787 rows in this data set) it took more than thirty seconds to produce the page.
[more...]

Permalink     1 Comment     [, , ]    

sfmagic.org Rewrite: Player Page

20:35 25 Dec 2007

I finished duplicating the functionality of the old player info page tonight. I’m pretty happy with how that went.
[more...]

Permalink     Comment     [, , ]    

sfmagic.org Rewrite: Some Basic Queries

18:13 24 Dec 2007

It turns out that adding multiple WHERE clauses with SQLAlchemy’s SQL Expressions is very easy—you just tack them on using the where() function.
[more...]

Permalink     Comment     [, , ]    

sfmagic.org Rewrite: Humane Dict Sorting

18:43 23 Dec 2007

Progress hasn’t been significant since yesterday, I haven’t had that much time. Right now I’m at the point of reading in parameters from the query string (easy) and looking for the most efficient way to use SQLAlchemy’s SQL Expressions to construct constraining select statements based on those parameters (not quite so easy for me, given that my lack of knowledge about SQLAlchemy makes ‘most efficient’ a difficult bar to know I’ve reached). Along the way, I got distracted and amalgamated some other people’s answers to get a useful code snippet.
[more...]

Permalink     Comment     [, , ]    

sfmagic.org Rewrite: From Database to Template

19:10 21 Dec 2007

Having gone through some hoops trying to get this rather simple step to work, I can now talk to the database and have the results shown in a Genshi template.
[more...]

Permalink     Comment     [, , ]    

sfmagic.org Rewrite: SQLAlchemy

18:43 20 Dec 2007

This isn’t much of an update. Over the last two days I’ve been struggling with installing SQLAlchemy, a database wrapper/object-relational mapper for Python. It’s the default database interface layer in Pylons, and I had been anticipating easy setup and use for the simple side of the database transactions I want to do.
[more...]

Permalink     1 Comment     [, ]    

sfmagic.org Installing Pylons

17:51 18 Dec 2007

So far, this effort has not gone well, and none of that has anything to do with Pylons itself.
[more...]

Permalink     Comment     [, ]    

sfmagic.org Rewrite Framework

12:11 17 Dec 2007. Updated: 12:13 18 Dec 2007

At work we use the Pylons web framework, and I like it quite a lot, so I’m going to use it for sfmagic.org.
[more...]

Permalink     1 Comment     [, , ]    

sfmagic.org Rewrite in Python

09:34 16 Dec 2007

While I’m generally averse to complete rewrites, I’m nevertheless going to redo sfmagic.org in Python.
[more...]

Permalink     Comment     [, , ]    

sfmagic.org Data Structures

23:53 14 Dec 2007. Updated: 02:24 15 Dec 2007

I’m way behind on data entry for sfmagic.org, so the first thing I need to do to improve it is to get it up to date. It would help to have a better system for entering the data.
[more...]

Permalink     2 Comments     [, , ]    

Some Computer Woes

23:45 13 Dec 2007. Updated: 01:11 14 Dec 2007

Well, today’s post was supposed to be about plans for sfmagic.org, but when I got home (relatively late) I discovered that my desktop machine had died. Again. I hate being on such an unstable platform, which XP has been for me.
[more...]

Permalink     4 Comments     []    

Some Medium-Term Plans

09:02 11 Dec 2007

I’m a little behind schedule for December. I’m still going to try to work on sfmagic.org for this month, moving it over to Python and Pylons, and possibly to PostGreSQL, and moving it to a different server.
[more...]

Permalink     Comment     [, , , ]    

Some Notes on Editing the Second Draft

21:46 10 Dec 2007

I finished the second draft nine days behind schedule, which in the overall scheme of things isn’t that bad a slip. It turned out to be extremely difficult to maintain a steady approach to the editing, unlike either the micronovel version or the first 35 episodes of AFBH, two projects of similar duration that I completed successfully (and on time) last year.
[more...]

Permalink     1 Comment     [, , , , ]    

SF Novel Second Draft Done

23:48 09 Dec 2007. Updated: 06:18 10 Dec 2007

Yes, done
[more...]

Permalink     Comment     [, , , ]    

SF Novel Second Draft Update C14 Stalled Once More

23:47 08 Dec 2007

Tomorrow, tomorrow, tomorrow.

Permalink     Comment     [, , , ]    

SF Novel Second Draft Update C14 Still Stalled

23:55 07 Dec 2007. Updated: 01:40 08 Dec 2007

I’ll do my best to finish over the next two days.

Permalink     Comment     [, , , ]    

View from 575 Market Street

23:50 07 Dec 2007. Updated: 01:32 08 Dec 2007

I was on the top floor of the Chevron Building at 575 Market today, and took some photos.
[more...]

Permalink     Comment     [, ]    

SF Novel Second Draft Update C14 Stalled

23:55 06 Dec 2007

No progress. I’m stalled again. It’s unbelievabley frustrating to be stalled so close to the end. Hopefully I’ll get over it soon. One long burst of activity would finish the damn thing.

Permalink     Comment     [, , , ]    

The Wire and Education

23:50 06 Dec 2007. Updated: 00:53 07 Dec 2007

I’ve been watching the fourth season of The Wire, and it’s amazing, just like the previous three seasons. Gritty and depressing in parts, but amazing. This season has a significant focus on the public school system in Baltimore, and stands as a scathing critique of that system.
[more...]

Permalink     Comment     [, , ]    

SF Novel Second Draft Update C14 In Progress

23:53 05 Dec 2007. Updated: 00:52 07 Dec 2007

Little progress tonight, despite the word count. The chasm between “writing” and “not writing” as states feels like it’s widening, making it harder to go from one ot the other. It was like that at the start, and when I got stalled in the middle. I have to assume that will is what it takes to flip the switch, but an inadequate explanation of the concept of will has always undermined the usefulness of that assumption.
Word count: 72034

Permalink     Comment     [, , , ]