Tuesday, August 30, 2005
Sunday, August 28, 2005
me: post an entry
bloggerIM: What is the title of the entry
me: This is my title
bloggerIM: Your title is "This is my title." What would you like your post to say?
me: This is my post. I like this new bloggerIM conversation thing
bloggerIM: Now posting:
This is my title
This is my post. I like this new bloggerIM conversation thing
bloggerIM: Successfully posted entry #12345432354352435
Wouldn't that be nice! I don't know what exactly the best way to implement this without a massive sort of rewrite of the bot architecture.
Wednesday, August 24, 2005
I am now dealing with a formatting issue related to escaping html entity chars: <:, >, and & . . . I don't have a good idea of which path to take.
(04:02:31) me: ? (04:02:32) bloggerim: You've reached a bot, I don't know what to do, so I'm going to tell you a few things. Unrecognized Command! Valid Commands: "use blog #####" Change which blog you default to using. "delete entry #####" delete's an entry from your registered blog "get entry #####" get the details of a particular post. "get recent" get the titles and ids of the 15 most recent posts. "get all entries" get the titles and ids of the all your posts. "register username password blog_id" Use this to register a blogger account and blog to your jabber ID. Please note, this password is stored unecrypted on the server's disk. People with access to this server have access to the password. Only use this bot if you trust me; meaning . . . its probably not the best idea. "unregister #####" Remove your blogger account details from this bot's database. "get details" Get information about your registered blog, including title, id and last modified date. "post" Post an entry to blogger.com on your registered blog.To successfully post, you would compose a message with "post entry" online one. The next line is the title, leave it blank for no title. Anymore text in the messsage is considered the body of your post. "search TERM" search your blog for entries containing your term (04:08:27) me: register jlapenna password 8675309 (04:08:27) bloggerim: Registering Blog . . . (04:08:27) bloggerim: You have registered blog #8675309 as jlapenna (04:08:27) bloggerim: Retrieving Blog Details . . . (04:08:31) bloggerim: Joe LaPenna's Stuffs Don't blame me for reading this. http://joelapenna.com/blog Last Modified: 2005-07-18T05:00:00Z Blog ID: 8675309 (04:08:42) me: search XMPP (04:08:44) bloggerim: Results for XMPP: XMPP Reading List (111125535275998998) atom test (111854651847889769) Things I would like to do. (111009939072894544) mod_python request objects & caching (111497181797955680) Too damn busy (112338791560376163) gaim & jabber (111518882106858954) Psi (111564453712206139) The weekend (112468508488472037) (04:08:50) me: get entry 111854651847889769 (04:08:50) bloggerim: Retrieving Entry . . . (04:08:51) bloggerim: Title: atom test Issued: 2005-06-11T22:21:58-05:00 <div> <div>Tonight I'm going to make an xmpp bot to be used for posting to blogger. The first part is getting the ATOM API to work, which, it seems is working now. In fact, this very post was posted using python and the API! </div> </div>
Sunday, August 21, 2005
[jlapenna@zane] $ python2.3 blogger_bot.py -s joelapenna.com firstname.lastname@example.org 'password' email@example.com/xmpp2blogger password joelapenna.com 5222 True *** State changed: resolving 'joelapenna.com' *** *** State changed: connecting ('184.108.40.206', 5222) *** *** State changed: connected ('220.127.116.11', 5222) *** Connected Processing /usr/lib/python2.3/site-packages/libxml2.py:2897: FutureWarning: %u/%o/%x/%X of negative int will return a signed string in Python 2.4 and up return "<xmlNode (%s) object at 0x%x>" % (self.name, id (self)) *** State changed: tls connecting <JID: u'joelapenna.com'> *** *** State changed: tls connected <JID: u'joelapenna.com'> *** No handlers could be found for logger "pyxmpp.StreamTLSMixIn" Disconnecting Traceback (most recent call last): File "blogger_bot.py", line 492, in ? bot.Start() File "/home/jlapenna/src/code/xmpp2blogger/xmpp_bot.py", line 146, in Start self.loop(10) File "/usr/lib/python2.3/site-packages/pyxmpp/client.py", line 240, in loop act=stream.loop_iter(timeout) File "/usr/lib/python2.3/site-packages/pyxmpp/streambase.py", line 619, in loop_iter return self._loop_iter(timeout) File "/usr/lib/python2.3/site-packages/pyxmpp/streambase.py", line 629, in _loop_iter ifd, _unused, efd = select.select( [self.socket], , [self.socket], timeout )Now is the time to investigate.
Friday, August 19, 2005
The other side of the fence though is people who work in roles where thought is not necessary, every aspect of your job planned for you and the people above you do everything in their power to coerce you into making goals that you not only don't have the heart for but you don't have the resources to accomplish those tasks.
Thursday, August 18, 2005
Where am I? -Joe
Monday, August 15, 2005
Saturday, August 13, 2005
Thursday, August 11, 2005
I need less stress in my life, I'm getting out of control and I don't like myself behaving the way I've been.
Sunday, August 7, 2005
(11 + 80 + 14 + 95 + 14 + 15 + 77 + 18 + 15 + 78 + 20 + 120) / 630 = ~0.88
(11 + 80 + 14 + 95 + 14 + 15 + 77 + 18 + 15 + 78 + 0 + 0) / 630 = ~0.66
(11 + 80 + 14 + 95 + 14 + 15 + 77 + 18 + 15 + 78 + 10 + 60) / 630 = 0.77
(11 + 80 + 14 + 95 + 14 + 15 + 77 + 18 + 15 + 78 + 15 + 90) / 630 = 0.82
If I get 75% or more of the remaining points (>87 points) in the class, I get a B. If I get 36 more points this semester I don't have to take Calculus I again! Other than the fact that it is now impossible for me to get an A in the class, things are looking positive!
Saturday, August 6, 2005
- Hung out with friends four times
- HUNG OUT WITH FRIENDS ONLY FOUR TIMES!
- See above
- Hang out with friends every weekend
- Work on my programming projects, xmpp related as mentioned ---->
- Travel to another city
- Gone on a road trip with people
- Meet more people
- Spend more time in the City