Archive for June 05, 2008

Posted Under: ,

The PyOhio organizers have extended the Call for Proposals deadline to June 15! Several potential speakers have requested extra time to prepare submissions, and now you can too.

http://wiki.python.org/moin/PyOhio/CallForProposals

Don’t be shy… speaking at an event like PyOhio helps you share your knowledge, deepen your expertise, broaden your horizons, meet people, practice for bigger events like PyCon, and have fun.

See you at PyOhio!

0 comments | 0 pingbacks

What happened to K.I.S.S?

05.06.2008 16:40

posted by: Benjamin Smith

Posted Under: ,

I was just sitting here, looking at some code that I had previously stared at for hours trying to dig out a solution from a nasty mess. It’s relatively old code (> 2 years) that I’ve not dove into for some time, but I felt it necessary to hunt this bug.

As I’m pulling my hair out and repeatedly yelling “Had I wrote this..” in my head, I drifted away for a moment and remembered an old saying I used to tell myself when going off on a wild idea. K.I.S.S.- Keep It Simple Stupid!.

This also applies to system architecture! Why complicate things! There is usually a linear, yet secure, scalable and robust way to do something, hunt it out! Never, never, never setting on your first idea, and never, never, never settle on anything without some sort of peer review. If you work in an environment with smart people, use them!

Ok, done ranting :D Thanks for listening!

0 comments | 0 pingbacks

Byteflow usability quick change.

05.06.2008 10:11

posted by: Benjamin Smith

Posted Under: , , ,

Submitted this to the byteflow hackers, figured some might be able to use it as well. Code blocks don’t wrap lines (<pre>), probably want to have control of how it overflows.

Here’s the patch:

# HG changeset patch
# User bsmith@linode.just-another.net
# Date 1212606740 14400
# Node ID 9337a362eeacbe88db2da11d38e238db2644e31b
# Parent  93c1106436dd09dde52ec1dd25cfbbeca7cec00b
Add scroll if lines don't wrap in code blocks.

diff -r 93c1106436dd -r 9337a362eeac static/css/highlight.css
--- a/static/css/highlight.css  Wed Jun 04 09:47:44 2008 +0300
+++ b/static/css/highlight.css  Wed Jun 04 15:12:20 2008 -0400
@@ -1,6 +1,7 @@ pre code {
 pre code {
    display: block;
    background: #F0F0F0;
+   overflow:auto;
 }

pre code,
2 comments | 0 pingbacks
Previous day Next day