SumErgoCogito

2003-05-08

New blog

Phillip set me up a pretty url:

http://pobrien.pycs.net/

And I added a rewrite rule to my .htaccess file:

RewriteRule ^blog/pobrien/$ http://pobrien.pycs.net/ [redirect=permanent]

I like it here, so I think I'll call this home for a while. I'm glad Kevin and Bill sent me this way. Thanks, guys.

posted at 09:13:20    #    comment []    trackback []
 
2003-05-07

pyds-browse does what?

Following the instructions for PyDS, I did the following:

[pobrien@localhost pobrien]$ pyds-start
Loading desktop server ...
Installing signal handlers
Changing log redirection
[pobrien@localhost pobrien]$ pyds-browse konqueror
konqueror http://localhost:4334
[pobrien@localhost pobrien]$

But I have no idea what the pyds-browse command does. The docs said I had to pass the browser as a parameter, but it didn't launch the browser or anything. So I just started Konqueror, went to http://localhost:4334, got the starting page, and went from there. Midstream I switched to Mozilla, and everything continued to work fine.

So why does pyds-browse need a browser as a command line parameter?

posted at 21:31:28    #    comment []    trackback []
 

Pasting Python Code

Since I couldn't paste using Konqueror, I thought I would try to paste in some code from a Python shell using Mozilla:

PyCrust 0.9.2 - The Flakiest Python Shell
Sponsored by Orbtech - Your source for Python programming expertise.
Python 2.2.2 (#2, Feb  5 2003, 10:40:08) 
[GCC 3.2.1 (Mandrake Linux 9.1 3.2.1-5mdk)] on linux-i386
Type "help", "copyright", "credits" or "license" for more information.
>>> shell.about()
Author: "Patrick K. O'Brien <pobrien@orbtech.com>"
Py Version: 0.9.2
Py Shell Revision: 1.1.2.5
Py Interpreter Revision: 1.1.2.2
Python Version: 2.2.2
wxPython Version: 2.4.1.0p1
Platform: linux-i386
>>> import sys
>>> sys.maxint
2147483647
>>> 

That worked just fine. And the reStructuredText support looks pretty good. Let's add a note, just for fun.

note

Pasting into my blog. For some reason I can paste using Mozilla, but not Konqueror. Bummer.

If all goes well that last bit will be in a note box. I think Garth had this on his blog, so I expect it to work.

posted at 21:24:00    #    comment []    trackback []
 

Can PyDS handle code examples

So far the reStructuredText support in PyDS is very nice. So I thought I'd try to see if it could handle code examples, like this one:

>>> import this

Hmm. I had to type that by hand, because I wasn't able to paste into the text box using Konqueror. What's up with that?

posted at 21:15:28    #    comment []    trackback []
 

Pretty URL?

I want a nice URL, like Kevin Altis has.

I think I'd like http://pobrien.pycs.net, because I may decide to change the name of my blog, which for now is SumErgoCogito. Anyone know how I can get a nice URL?

posted at 21:09:04    #    comment []    trackback []
 

I want to blog with reStructured Text

So I decided to give the following a try:

  • Python Community Server

  • Python Desktop Server

This is my first post.

posted at 21:04:48    #    comment []    trackback []
May
MoTuWeThFrSaSu
    1 2 3 4
5 6 7 8 91011
12131415161718
19202122232425
262728293031 
Apr Jun

I am, therefore I think

XML-Image Letterimage

© 2003, Patrick K. O'Brien