| Subcribe via RSS

Fredrik Lundh: Thread Synchronization Mechanisms in Python

July 28th, 2007 | 3 Comments | Posted in Programming, Python

A new article was posted by Fredrik Lundh (effbot) today, entitled Thread Synchronization Mechanisms - it's all around Python threads/locks/etc, and really an excellent read.

Remember though boys and girls - threads are cool, fun and an easy way of gaining paralleism inside of your applications but won't properly handle multi-core/CPU load management. For that you need something else (cough fork exec cough).

In any case, if you are new to Python (or threading) please read Fredrik's Article. If you're looks for little examples/information, check out:

Quick Reads:

Example implementations/libraries:

Python 3000 FAQ via Guido

July 28th, 2007 | | Posted in Programming, Python

I've updated my little Python 3000 Resources page with the latest from Guido - the Python 3000 FAQ - I've updated the custom google search as well.

Sneak Preview of PyObjC 2.0

July 20th, 2007 | 1 Comment | Posted in Programming, Python

Via Michael Tsai - Ronald Oussoren is talking/showing a sneak peek of an updated Leopard (yay!) version of PyObjC, and it looks like a great update.

Maybe in another life I'll be able to really dig into GUI application development, until then, I'll only keep developing tiny "me only" apps on OS/X.

Of course, I've been dead to the world since my little girl came. No one told me how much of a mind bending thing this was going to be. Babies should come with warning tags.

Spyced: PEP rss feed is live

July 9th, 2007 | | Posted in Personal, Programming

Yay! An RSS feed for PEPs! Hoorah! Go Here:Spyced: PEP rss feed is live

I tried writing a BeautifulSoup scraper -> RSS maker, but things (babies, work) got in the way.

(Via unofficial planet python.)

Doug Hellmann: PyMOTW: atexit

July 8th, 2007 | | Posted in Programming, Python

Doug's just published a new PyMOTW, this one I didn't know about - the "atexit" module.

The atexit module defines a single function to register cleanup functions. Functions thus registered are automatically executed upon normal interpreter termination.

I'm sorta kicking myself now for not knowing that was there. Man.

See Doug's write up here: Doug Hellmann: PyMOTW: atexit

(Via Planet Python.)

A Python Magazine? In my mailbox?

July 5th, 2007 | 3 Comments | Posted in Programming, Python

Cursed Doug beat me to it again! Of course, given I didn't sleep most of the night (and nor did my wife) I'm a little slow off the line this morning.

Long story short: There is a new python publication coming out - simply titled Python Magazine. I subscribed as soon as I saw the new come from Calvin - so far Calvin and Steve are lined up to be regular columnists and I imagine with the community we have, many other won't be far behind.

Subscribe now, and you get a chance to win a MacBook, which is the best python development platform out there (I'm a bigot, and biased.)

At home with baby finally.

July 4th, 2007 | 7 Comments | Posted in Personal

Well, this should be an interesting ride. Mommy, baby and Daddy along with all three cats are now under one roof. I think all three of us need some sleep. I updated the flickr set with a bunch of pictures.

One of my favorite memories so far? The hilarity of right after the birth, I'm madly emailing/calling/texting everyone from my iPhone to spread the good news, then most of the attendants/doctors stop and look at me, and say "is that an iPhone?".

The surreal-ness of that question stems from the fact that my brand spanking new baby is lying there crying and getting washed up and the world just sort of stops for 30 seconds while I'm crying, my wife is crying, the baby is crying, etc.

I'm not entirely sure about how to go about this fathering thing. This should really be interesting.

I now implement the __baby__ interface (it’s a girl!)

July 2nd, 2007 | 9 Comments | Posted in Other, Personal
 
class Baby(object):
	self.name = 'Abigail Lorraine'
	self.length_inches = 20.5
	self.weight_lbs = 7
 

Yes. Abigail Lorraine was born today at 7:50am. Both Mother and small one are doing great and resting.

I can honestly say two things:

1> I cried.
2> This is one of the happiest, and simultaneously more surreal days of my life.

She's a squirmer, no problems, nothing. I have a picture set on flickr here.

Posting from iPhone send food

July 1st, 2007 | 1 Comment | Posted in Apple, Linux, Personal, Technology

After much waiting my iphone is all setup and configured i am going to have to get used to typing on it though. I have fat thumbs.

And yes - it is as good as you've heard.