jump to navigation

It’s been a while, and I’m still not back… November 29, 2005

Posted by andy in : coding, uni , trackback

so I’ll apologise for not updating the Screengrab thing. I’ll release a new version with a couple of minor fixes and some new languages very soon. Just have to finish my uni obligations.

This is just a quick note to say that Python generators are GREAT. Iterators are a pain to write, because you have to manage state and all that rubbish. Generators on the other hand just make them easy as pie. Write a couple of loops and put a “yield” statement in when you get to the next value you need. Dare I say “fantastic”? I dare!

Comments»

1. Lupatrian - November 30, 2005

Screen Grab rocks. Thanks.

2. bodhi - November 30, 2005

ruby blocks are better :p

3. andy - November 30, 2005

I don’t think I can use Ruby with NLTK though. I think we may have talked about this before actually…

I’d much rather be learning Ruby than Python I think. Python is another one of those languages where you can tell that O-O was hacked on, which makes it uncomfortable to code in.

4. vending machine - January 22, 2008

vending machine

http://uswebstore.freepimphost.com/vending-machine vending machine

5. designer purse - January 25, 2008

designer purse

http://www.geocities.jp/bagstorechoice/designer-purse designer purse

6. verapamil - February 2, 2008

verapamil

http://heartland.geocities.jp/plentyusa/verapamil verapamil

7. funjet - February 2, 2008

funjet

http://good4u.host93.com/funjet funjet

8. blockbuster video - February 2, 2008

blockbuster video

http://usatop.freehostpage.com/blockbuster-video blockbuster video

9. southwest airlines fares - July 3, 2008

southwest airlines fares

http://travel2.freepimphost.com/southwest-airlines-fares southwest airlines fares