July 2004
[ bamboo ] 21:51, Friday, 30 July 2004

I have never heard anything like that.

The Sun Ship of John Coltrane, Elvin Jones, McCoy Tyner and Jimmy Garrision took me far far away to the deepest and darkest corners of the universe.

Ohm.

An even flow of love that irradiates from the very essence of the existence.

[ bamboo ] 12:48, Thursday, 29 July 2004

The 0.6 version of IronPython was just released. I still don't know how to feel about Jim being hired by MS though.

Anyway, I've just played a little with it and it looks great!

The distro comes with a System.Windows.Forms example that I decided to translate to boo just for the fun of it:

import System.Windows.Forms from System.Windows.Forms
import System.Drawing from System.Drawing

f = Form(Text:"Windows fun with boo",
         HelpButton: true,
         MinimizeBox: false,
		 MaximizeBox: false,
		 FormBorderStyle: FormBorderStyle.FixedDialog,
		 StartPosition: FormStartPosition.CenterScreen)		 

b1 = Button(Text:"Say Something", Location:Point(30,30), Size:Size(100,30))
b1.Click += callable:
    l = Label(Text:"boo is Alive!", ForeColor:Color.Red)
    l.Location = Point(30, 50+f.Controls.Count*25)
    f.Controls.Add(l)

f.Controls.Add(b1)
f.ShowDialog()



The future seems brighter on .net land.

[ bamboo ] 11:52, Thursday, 29 July 2004

If you haven't read it yet here's another great essay by Paul Graham.

Graham says:

The programmers you'll be able to hire to work on a Java project won't be as smart as the ones you could get to work on a project written in Python.

s/Python/boo/ and it is still true! :)

[ bamboo ] 02:20, Monday, 26 July 2004

Soooo... I've decided to spend most of my free time this weekend polishing the way test cases for boo are written. Hopefully I made it so easy that new feature requests and bug reports will already come with lots of attached test cases.

Thoughts/comments/suggestions/criticisms? Let me know.

[ bamboo ] 18:38, Wednesday, 21 July 2004

The guys had a surprise for me today:


From left to right: Leo, Andre, me and Carlos

Oh, guys! I hate you so much. :)

[ bamboo ] 14:52, Saturday, 17 July 2004

boo users on windows can already count on a simple but very effective way to edit and run their boo scripts: boox. boox even features code completion! (You're the man, GB!).

The somewhat bad news (at least for me) is that I'm no longer a happy boox user since my notebook went to the repair shop two weeks ago.

The good news is that now I got a real chance and the motivation to create a similar tool for my fellow linux users. I hope to finally learn some gtk programming techniques along the way.

So here's my first shot at creating Boo Explorer for linux: a dumb GtkSourceView based editor with boo syntax highlighting enabled.

import System
import Gtk from "gtk-sharp"
import GtkSourceView from "gtksourceview-sharp"

def window_Delete(sender, args as DeleteEventArgs):
   Application.Quit()
   args.RetVal = true

Application.Init()	
booSourceLanguage = SourceLanguagesManager().GetLanguageFromMimeType("text/x-boo")
buffer = SourceBuffer(booSourceLanguage, Highlight: true)	
sourceView = SourceView(buffer, ShowLineNumbers: true, AutoIndent: true)
window = Window("Simple Boo Editor",
                           DefaultWidth:  600,
                           DefaultHeight: 400,
                           DeleteEvent: window_Delete)
window.Add(sourceView)
window.ShowAll()
Application.Run()

Now I just need to learn how to add a menubar, a toolbar, a statusbar, a tree view (document outline), how to handle accelerator keys then I'm pretty much set :-)