Interview: Avi Bryant on DabbleDB, Smalltalk and Persistence

Posted about 2 hours back at InfoQ Personalized Feed for unregistered user - Register to upgrade!

In this interview from QCon 2008, Avi Bryant talks about his Smalltalk web framework Seaside and DabbleDB. Also: Avi explains how DabbleDB uses Smalltalk images for persistence instead of an RDBMs and how to make Squeak scale. By Werner Schuster

JRuby Roundup: 1.1.3, rcov4jr, Rubinius MVM and FFI

Posted about 1 hour back at InfoQ Personalized Feed for unregistered user - Register to upgrade!

JRuby 1.1.3 was released with Gems 1.2, improved performance, and many other fixes. Meanwhile the library support for JRuby increases, with work on a JRuby version of rcov in the works, as well as a ports of Rubinius' Foreign Function Interface and its MVM API. By Werner Schuster

rails coding with vim and autotest

Posted about 3 hours back at Mike Mondragon

Here is a screen shot of my current environment for programming Rails.

Layout

I’m on Linux and using Gnome as my desktop. On the left hand side is a gnome terminal with autotest running and on the right hand side is gvim. Notice that gvim is split into two horizontal windows the upper is dedicated to the functional code and the lower is dedicated to spec/test code. btw, I’m also using tpope’s rails.vim plugin in gvim as well.

I learned this particular style of having autotest and gvim with functional and testing code all viewable in one location from Eric Hodel Its great, everything is in one place, autotest gives immediate feedback when I’ve broken my code and my functional code and testing code are viewable together.

script it

I wrote a script called railsvim that when called with a rails project directory will open the gnome terminal and gvim in this configuration centered on my desktop. That way I don’t have to place and size all the windows by hand saving me time, e.g.
railsvim ~/projects/superfu
The script is hosted on gist if you like to copy it: railsvim . Looking at a copy of the script below you will find that that gnome terminal is opened with three tabs, one for script/server, one for script/console, and one for autotest which has focus by default since its last tab created.
#!/bin/bash
DIR="${1}" 

if [ ! -d "${DIR}" ]; then
echo "call me with a directory, e.g.:" 
  echo "${0} /some/path/to/dir" 
  exit 1
fi

gnome-terminal --geometry=130x35+345+250 \
               --window --working-directory=${DIR} -t "script server" -e "ruby script/server" \
               --tab --working-directory=${DIR} -t "script console" -e "ruby script/console" \
               --tab --working-directory=${DIR} -t "autotest" -x autotest &

gvim -c ":wincmd s" -geometry 120x60+1285+0 ${DIR} &

You’ll have to play with the geometry settings for the gnome terminal and gvim to customize the placements for your desktop.

resources

My railsvim script:

Hacking/automating the Linux desktop with wmctrl and others:

tpope (“TextMate may be the latest craze for developing Ruby on Rails applications, but Vim is forever”) rails.vim plugin for powerful vim and rails coding integration

If you have textmate envy here’s how to turn your gvim into a ghetto with their kind of font:

Zed Shaw Ringtone -- Matz can't patch

Posted about 4 hours back at Smarticus - Home

Rubyfringe was a great time. The diversity of presentation content was unique and very entertaining. Everyone’s favorite person to hate, Zed Shaw put on a live show where he recorded a few interesting songs.

One of the songs, “Matz can’t Patch”, was particularly funny to me, so I created a ring tone, so I could have it with me at all times on my iPhone.

A few people have requested that I share, so I present to you the Matz can’t Patch ringtone. I believe you can just import it to iTunes, and it will just work. If not, I’ll post it in another format that will be more accessible.

MVC Public Service Announcement #5 : Outdated HTML

Posted about 5 hours back at Rails Envy - Home

We were just holding out on you. There's one more after this one but it's not done yet.

<object height="350" width="425"> <param name="movie" value="http://www.youtube.com/v/7gNPncWFdVg"> </param> <embed type="application/x-shockwave-flash" src="http://www.youtube.com/v/7gNPncWFdVg" height="350" width="425"> </embed> </object>
View on YouTube
View on Vimeo

Rails Envy Podcast - Episode #039: 07/23/2008

Posted about 5 hours back at Rails Envy - Home

Episode 039. This podcast was done live and in Portland, OR at OSCON, even though we don't talk about it at all. I love everyone.

The Rails Envy podcast is sponsored this week by Five Runs. FiveRuns provides Rails developers with a full stack of tools that helps them install, deploy, and maintain their web applications. Check them out at FiveRuns.com. Sponsored by Five Runs

Call Us! You can reach the podcast voicemail line at 407 409-8440.

Subscribe via iTunes - iTunes only link.
Download the podcast ~13:00 mins MP3.
Subscribe to feed via RSS by copying the link to your RSS Reader

In this episode:



Oh yeah, we were going to talk about is_ratable but didn't because there wasn't much to say. Check it out if you need a rating plugin.

Move Mail.app RSS Feeds to NetNewsWire

Posted about 8 hours back at Jay Fields Thoughts

Like Dave Thomas, I recently decided to give Mail.app a try as an RSS reader. Overall the experience hasn't been great, but it wasn't poor enough that I thought the effort to switch was justified.

And then I decided to quit my job*. Next week will by my last week with ThoughtWorks and I'll need to turn in my laptop. I tend to store as much as possible online so this type of situation isn't a big deal, but going with Mail.app seems to have been a decision in the wrong direction. Maybe Mail.app stores my RSS feeds online somewhere, but it wasn't immediately obvious to me.

A quick google search revealed a Mac OSX Hint on how to dump your RSS feeds to the command line. This was quite helpful, but what I really needed was an OPML file that I could send to NetNewsWire.

I wrote the following script for anyone that finds themselves in the same situation. This script will grab all the feeds and write them to an OPML file. I'm sure it can be cleaned up or done more easily, but this works.

feeds = %x[IFS=$'\n';for i in $(find ~/Library/Mail/RSS/ -name "Info.plist");do grep "<string>http://" $i | sed "s/.*\(http[^<]*\).*/\1/";done].split("\n")
feeds = feeds.collect { |element| element.gsub(/<string>/, "<outline xmlUrl=\"") }
feeds = feeds.collect { |element| element.gsub(/<\/string>/, "\"/>") }
xml = <<-eos
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.1">
<head>
<title>mySubscriptions</title>
</head>
<body>
#{feeds.join("\n")}
</body>
</opml>
eos

File.open("mail_app_export.ompl", "w") { |file| file << xml }

note: This file works in NetNewsWire, but I had better success by logging on to newsgator.com and importing on their website. When you import on their website it pulls the feed names and other information. The NetNewsWire didn't seem to pull the additional information.

*For those interested, I'm joining DRW Trading.

I <3 San Francisco

Posted about 10 hours back at PJ Hyett

There’s something about this picture that encapsulates everything I love about San Francisco.

The eclectic mix of people, trading my car for public transportation (drop-top trolley!), views worthy of a Gap commercial, palm trees seemingly unaware of the cold, all the while heading towards the Farmer’s Market bringing back memories of growing up in the Midwest. There’s a bunch of internet people here, too, believe it or not :-)

Do yourself a favor and visit this city, I’ll be in North Beach if you want to say hi.

UPnP-MediaServer 1.0.0

Posted about 10 hours back at Segment7

UPnP-MediaServer version 1.0.0 has been released!

A UPnP MediaServer. Currently a work in progress. Only tested on a PlayStation 3.

Changes:

1.0.0 / 2008-07-23

  • 1 major enhancement
    • Birthday!

UPnP-ContentDirectory 1.0

Posted about 10 hours back at Segment7

UPnP-ContentDirectory version 1.0 has been released!

A UPnP ContentDirectory service with some DLNA extensions. Currently this is a work in progress, and is only adequate for viewing images on a PlayStation 3.

Changes:

1.0.0 / 2008-07-23

  • 1 major enhancement
    • Birthday!

UPnP-ConnectionManager 1.0

Posted about 10 hours back at Segment7

UPnP-ConnectionManager version 1.0 has been released!

Stub implementation for a UPnP ConnectionManager service. Currently has no implementation. Works great for a PlayStation 3.

Changes:

1.0.0 / 2008-07-23

  • 1 major enhancement
    • Birthday!

UPnP 1.1.0

Posted about 10 hours back at Segment7

UPnP version 1.1.0 has been released!

An implementation of the UPnP protocol

Changes:

1.1.0 / 2008-07-23

  • 2 major enhancements
    • Server support
    • SSDP now supports sending advertisements
  • 1 bug fix
    • Gem dependencies now listed

Birthday and such

Posted about 11 hours back at Ninh's Weblog

Woohoo, my calendar tells me that it seems that I’ve turned 23 years old today and so far, I’m loving every minute of it. Well, maybe not every minute since my phone has been buzzing since the early morning, which has something to do with ‘caring’ friends who thought it’d be a good idea to text/call me at 04:00AM… Thanks for that… I’ll be sure to return the favor :D Also, I’ll be sure to put up some pictures from our sushi aftermath. For now, you’ll have to do with some of the birthday boy’s favorite tracks (well, at least for now ;-) )

Midnight Juggernauts - Into the Galaxy

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/J6SKNEYvZvQ&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/J6SKNEYvZvQ&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
Can’t get enough of this track after listening to Justice’s live mix

Foals - Cassius

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/A3lWbPEOJp0&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/A3lWbPEOJp0&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

Mr. Oizo - Patrick 122

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/mUq3nuXCf74&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/mUq3nuXCf74&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
Ed Banger never seizes to disappoint me :)

Mystery Jets - Half in Love With Elizabeth

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/aFk1GD9Z8KM&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/aFk1GD9Z8KM&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
Didn’t really like their performance at London Calling, but this is an entirely different story right here. Very 80s, which can __NEVER__ be wrong ;) Not even Rick Astley wrong ;)

Daft Punk - Alive 2007 - Harder Better Faster Stronger

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/oGECJP3phyY&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/oGECJP3phyY&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
(Thank you so much Gwenny for dragging my emo ass to that memorable event back then! In retrospect, wouldn’t have wanted to miss that for the world :D )

MGMT - Electric Feel (Justice Remix)

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/2H28GzslwUM&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/2H28GzslwUM&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
Even though the original is okay, the justice remix just has more oomph to it if you ask me ;) Speaking of justice…

Justice - D.A.N.C.E. (MSTRKRFT REMIX)

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/36GoJluHXlY&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/36GoJluHXlY&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
Oh man, MSTRKRFT’s live set at 5 days off this year… Pure awesomeness! That’s all I can say :D Right Gwenny?!

Roisin Murphy - Let Me Know

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/0_vCOOW_BsE&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/0_vCOOW_BsE&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
What can I say, Roisin Murphy, loved her since Moloko :)

Brand new tracks that I think are worth a listen:

Bloc Party - Mercury

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/WYdyExUfIbI&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/WYdyExUfIbI&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

N.E.R.D. - My Drive Thru

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/GPZ5fnYFI4Q&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/GPZ5fnYFI4Q&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

Guus, matey, precies een jaar geleden alweer gast, ‘k zal die dag nooit vergeten. Rust in vrede ouwe :)

Radiohead - Videotape

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/-kCKob1YKOU&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/-kCKob1YKOU&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

The Beatles - I’m Only Sleeping

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/jAh77NRWgJM&amp;hl=en&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/jAh77NRWgJM&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

Contrast and XLCRS - Ruby on Rails Podcast

Posted about 17 hours back at Ruby on Rails Podcast

Consulting firm Contrast talks about their upcoming app, Exceptional. Mike Gilbert of XLCRS talks about using Rails to solve everyday problems.
From Dublin, Ireland.

Sponsor

RefactorMyCodeBook.com

Posted about 18 hours back at Marc-André Cournoyer's blog


FollowersYou can now follow people on RefactorMyCode.com. Wow it’s like FaceBook + code snippets! Better get your mom an account!

You’ll then have a page with all stuff posted by your new friends and even an Atom feed.

To follow someone, simply go to their profile page and click on “Follow this user”.

Hope you like it!


1 2 3 ... 472