mike watkins dot ca : February 2005 Archives

February 2005 Archives

12 entries filed this month:

February 26 2005

Object DB vs Relational DB

There are a whole range of situations for which these issues aren’t really issues at all and relational persistence has its own set of issues. But in my experience, making the decision between ZODB and relational has been less about what’s better for the code and more about what’s better for the data. (286 words) More …

Taking Textile Out

To disable Textile I modified app/models/chunk/engines.rb to return
content rather than
RedCloth.new(text,content.options[:engine_opts]).to_html. (402 words) More …

Ryan's Questions

(Update: Do also check out Taking Textile Out for more on the comparison) (779 words) More …

February 24 2005

Rails vs Quixote Redux

Adding to the collection started in yesterday’s post:

Rails vs Quixote

But as it happens I needed to implement a simple Wiki component for a web app project I’m working on, and as it happens I’ve been stealing looks at Instiki on Ruby/Rails as well as MoinMoin and all the rest, trying to decide upon a bare bones set of features I wanted to build in at this stage. Suddenly, Apache bench ab appeared out of nowhere… and the results are interesting: (1003 words) More …

February 21 2005

Python Markdown

In addition to known issues noted on Yuri’s project page, I’ve discovered the current version of markdown.py does not handle html links within header elements in either reference or inline form:

http://daringfireball.net/projects/markdown/dingus – handy for testing.

Markdown

I’m attracted to Markdown because it is simple – borrowing from plain text email / Usenet text formatting conventions was smart – although I should really try to get my head around using reStructured Text one last time before coming to a conclusion. (315 words) More …

February 18 2005

Global Warming

“The debate about whether there is a global warming signal now is over, at least for rational people,” said Tim Barnett, of the Scripps Institution of Oceanography in La Jolla, California. “The models got it right. If a politician stands up and says the uncertainty is too great to believe these models, that is no longer tenable.” (673 words) More …

February 15 2005

More spec examples

Here’s another example of use:

Read the dulcinea.spec code for more insight – its just over 500 lines and the core is very straightforward

Dulcinea "spec"

Smalltalk doesn’t appeal to me because you have to teach yourself (I think) a specific way of reading the code in order for it to make sense, while Python just sounds like english as I read it in my head – that and the lack of extraneous punctuation and enforcement of whitespace are among my favorite attributes of the language. (382 words) More …

February 10 2005

jEdit Rocks

jEdit is one seriously good text editor. I avoided using it because it was “Java” based (for some reason I have an instinctive dislike for all things Java, probably irrational), but after a week or so of using it, mapping all sorts of custom macros and keyboard shortcuts to my liking, and marvelling at how it makes my life easier with fewer trips to the mouse, I wonder why I didn’t give it more time, sooner. Free, multiplatform, and highly useful. Now if only “autocompletion” were as transparent for Python as it probably is for Java users…

Marriage and Politics

While I respect the right of those who are not in favour of same-sex marriages, I do not believe the state has any business legislating this issue one way or the other. If persons wish to marry, then the state ought to allow them to. Its a tempest in a tea-cup if you ask me, although I don’t dispute there is a serious issue of fundamental rights of liberty and freedom at stake here. (387 words) More …