2005-09-05 02:43


Python 2.4 docs in MS Help format

View on Linux with xchm

2005-09-05 02:30


Cheat Sheet Roundup - Over 30 Cheatsheets for developers

便利な早見表 CSS HTML Javascript など色々

2005-09-05 02:29


Interactive Debugging in Python

ONLamp.com

2005-09-05 01:31


Language culture and the Ruby-on-Rails phenomenon

ruby-on-rails and reactions from the other languages

2005-09-05 00:23


The Python Pony

"But, I want a pony!"

2005-09-04 23:42


Second p0st - Phillip Pearson: Congratulations Seb and SocialText!

Excellent - Seb Paquet is now working for SocialText. Comment

2005-09-04 23:26


Dirt Simple: Made to SCALE

Last week, I started to describe SCALE, the Syntax for Configuration And Language Extension. I haven't had enough time yet to actually implement it, but this evening I was able to whip up an implementation of its low-level parser. As it turns out, the low-level parser is surprisingly useful on its own.

2005-09-04 22:45


Second p0st - Phillip Pearson: media RSS and enclosures

Yes yes yes - merge them! Everyone uses enclosures already; it's dumb to try to replace them. All you're going to do is make your software incompatible with existing aggregators, not to mention piss off the gods of RSS. (Hint: people get mad when you try to "replace" open standards of theirs that already work just fine.) Marc says that this is how OurMedia already works. Comment

2005-09-04 22:30


Second p0st - Phillip Pearson: User-defined microcontent

Arnaud Leene talks about "Wild Microcontent" (see also: Web 2.0 Checklist, and a note about his old and new review blogs). I remember chatting about this with Marc Canter and David Galbraith in San Francisco two years ago. The contept is that microcontent isn't limited to blog posts, events, reviews, audio, video, and so on, but that there's an infinite variety of stuff that people want to present in a structured way. So why shouldn't people make up their own microcontent types? Comment

2005-09-04 22:10


Python Cookbook

O'Reilly ActiveState Python Cookbook

2005-09-04 22:01


Golden Spud's Python Blog: Requesting context menus from QTabWidget tab bars

I need to make some stock Qt widgets do more than they typically do. For example, I have a QTabWidget object where I want to show context menus for the tabs in its tab bar. Thus began my journey into Qt’s event filter mechanism. It’s a nice and consistent way to watch other objects for events and override behavior as needed. I wrote a sample script that shows a QTabWidget, and prints a message to the console whenever the context menu is requested for its QTabBar. Here’s the script: import qt class ContextMenuFilter(qt.QObject): def eventFilter(self, watched, e): parent = self.parent() if (watched is parent and isinstance(e, qt.QContextMenuEvent)): self.emit(qt.PYSIGNAL('contextMenuRequested'), (e.pos(), )) e.accept() return True else: return qt.QObject.eventFilter(self, watched, e) class MainWindow(qt.QMainWindow): def __init__(self, *args): qt.QMainWindow.__init__(self, *args) # Create tab widget. tabs = self.tabs = qt.QTabWidget(self, 'tabs') self.setCentralWidget(tabs) tabs.show() # Add a page. label = self.label = qt.QLabel('Something', tabs) tabs.insertTab(label, 'Foo') label.show() # Enable context menus for tab bar. tabBar = tabs.tabBar() cmFilter = self.cmFilter = ContextMenuFilter(tabBar, 'cmFilter') tabBar.installEventFilter(cmFilter) self.connect(cmFilter, qt.PYSIGNAL('contextMenuRequested'), self.on_tabBar_contextMenuRequested) def on_tabBar_contextMenuRequested(self, pos): print 'Context menu requested at %i, %i' % (pos.x(), pos.y()) if __name__ == '__main__': app = qt.QApplication([]) mainwindow = MainWindow() mainwindow.show() app.connect(app, qt.SIGNAL('lastWindowClosed()'), app.exit) app.exec_loop()

2005-09-04 20:44


Mike Fletcher: I seem to have lost all patience with Windows

Booted into Windows intending to do the Win32 platform module for OpenGL-ctypes. To get that working I need to get ctypes built from CVS. Unfortunately, the code requires the _ftol2 function, which isn't available in the toolkit compiler.

2005-09-04 19:40


mrevelle's log: Copyright laws and fair business transactions

Yesterday I bought a few CDs from Best Buy, but once I arrived home I realized that I was missing something. One of the CDs I purchased (or should I say decorative jewel case) was missing its, er, CD. The CD in question was No Doubt's Rocksteady, the jewel case was completely wrapped and the little sticky thing on top of the case was intact, but the case was empty.

2005-09-04 18:57


Lesscode.org: more on microformats

I’ve written previously on the trade-offs that microformats make in vocabulary design. I’m still not sure how I feel about the short-string issue, but it appears no one is waiting for me to make up my mind, so I figured I’d try it out. So far I like it that microformats depend on well-understood technology, and that a lazy dev could point their HTML rendering component at the page if they didn’t feel like writing support.

2005-09-04 14:50


Jerome Laheurte: And *now* I regret it

I naïvely upgraded to firmware 2.0 which was shipped with it, and now I learn that I can't run homebrew software any more... And there's no way to go back... I'm pissed.

2005-09-04 14:30


online.effbot.org - Fredrik Lundh: further proof why XML is not a serious technology

welcome to CafeXML!

2005-09-04 14:16


Jerome Laheurte: I snapped

and bought it. The PSP was on sale here in France since 09/01. At first I thought I'd wait a little, but then I saw Darstalkers was available and I can't resist a good fighting game :) This beast is quite amazing.

2005-09-04 12:00


online.effbot.org - Fredrik Lundh: it's not about what you do, it's about how you look

(more rough translations from effbot.org) " As I've understood things, they (the Americans) don't want to end up in a situation where they cannot handle the aid. If we go there, so will many others — I know there are teams standing by all around Europe. If we were to get stuck on the airport for several days, they would get critized for not being able to distribute the aid any further." (the Swedish Rescue Services Agency was planning to start shipping equipment over to NOLA this morning, but, somewhat puzzled, had to cancel the flights after american authorities told them that the help was welcome, but that FEMA didn't have the logistics in place to deal with foreign aid.

2005-09-04 05:28


Mike Fletcher: GLE flies the OpenGL-ctypes skies

One of the things I'm trying to do with building OpenGL-ctypes is to figure out just what's needed to wrap complex software using the package, and (eventually) to be able to suggest ways to make ctypes easier to use for such tasks. Part of doing that...

2005-09-04 04:12


Max Khesin: Two Katrina links

Donate: http://www.networkforgood.org
 
 This place lets you choose from a number of charities; you can know about the charity's finances etc, etc.
 I'll just say the obvious: the luck of money did not do most of the avoidable damage, it was definitely lack of planning, nothing else - Unkle Sam really blew it this time, and there is going to be hell to pay. But a LOT of people will need money later, so donate now while you a thinking about it, and before that iPod phone comes out... I am serious (about donating).
 BTW, Sri Lanka donated 25K.

2005-09-04 01:33


Mark Paschal: bit-tech.net: Court WoWs with Battle.net bypass ruling

(quick link)

2005-09-04 00:31


Ned Batchelder: Katrina on Google Maps

I've never known the first thing about the geography of New Orleans, but in the last week I've looked at it on Google Maps quite a bit. Each time, I was aware of this odd sensation: I was looking at the satellite pictures to understand this recent disaster, but the pictures themselves were showing me a happy healthy New Orleans. I've thought, "I wish I could see the way it looks now." (more..)

2005-09-04 00:15


David Warnock: Raunds Methodist Site is live with Leonardo

Well despite what I wrote in 42: Leonardo progress the site for Raunds Methodist Church is up and is running Leonardo.To get to this point you need to be using Leonardo from subversion release 376 and then apply 3 sets of patches that I have sent to the mailing list (page_template from lfs, filesystem bug fix and logged in&out templates from lfs). Hopefully these will be integrated into subversion fairly soon. The longest task was finding how to get mod_rewrite to work properly within the fairly limited hosting facilities (only .htaccess for control and ScriptAlias and RewriteLogLevel not supported). You can read about my solution on the Leonardo mailing list (and any experts comments are very welcome). So far content is not very exciting - unlike our worship and wider church life.