Posted by Mike Blake
Mon, 11 May 2009 17:38:00 GMT
Ten Must See Fringe Shows
The Orlando Fringe is just days away. If you don’t have time to hang out at the beer tent to get instant show reviews, here’s a few gems I’ll be attending. I’ll start with the more mainstream picks, shows that should be fun for the whole family, then move on to some picks for mature audiences.
Family Style
The Fringe can get freaky. If your hanging with young ones, or old ones, you may want to ease into any potential culture shock with one of the shows with a “General Audience” Rating.
These clowns are really season veterans from Orlando’s own Sak Comedy Lab who have been honing their craft for years on Monday nights at Taste. With a completely new show every performance, and only $7 a ticket, this show may be the best bang for your buck in the whole festival.
How about the “Best Solo Performance” in the DC Fringe? This presentation of 7 Samurai “complete with peasants, bandits, samurai warriors, and a spectacular fight scene ” will not disappoint!
The talented students and staff of Winter Springs Performing Arts are putting on an all out production they’re calling a “Musical Theater Dramady”. Supporting local artists and showcasing new talent is the Fringe at its best. This show should be very entertaining.
The talented local favorites at Voci Dance team up with NY’s DeXdance team up for an “edgy, intelligent adventure in contemporary dance theatre.” These dancers are pure pleasure to watch.
This is a must see. A fresh look at a refined art form, perhaps the most accomplished artists in the Fringe do the entertaining in this show. Ricardo Garcia’s guitar playing could put this show in the Music category below, but you get the idea. Just see this show.
Did I mention award winning shows? Mevlin Brown has gotten rave reviews from Edinburgh Scotland to Ausin Texas, and a couple of Fringes in between. We’re lucky to have international stars like this here in O-Town.
Heather Henson brings together the best of Orlando’s amazing puppet scene for this all out Puppet Fest. Local favorite Wavey Davey performs Friday the 15th at 6PM. With a different show every night, you may want to attend the Puppet Slam more than once.
This show’s not really ‘cheeky’ just different. Click on the link above, than click reviews. Even professional reviewers don’t know how to describe this show. I sure don’t, but I’m seeing it again. It’s that strange, and that good.
Posted by Mike Blake
Fri, 05 Dec 2008 13:37:00 GMT
The purpose of KPoz sports is to demonstrate a sports rating system that is completely objective. The KPoz model satisfies the required properties of statistical ranking models: transparency, verifiability, and accuracy. The result is that KPoz ratings and point spreads are often more accurate than the prevailing systems. So what does this get us?
Alternative Rankings
The two prevailing Rankings in the NCAA, The BCS standings, and the AP Top 25 are based partly on emotion and human influence. Everyone respects an unbeaten record, but sometimes that’s the result of an easier schedule.
KPoz NCAA Football Rankings have Texas at number one this week. The other two have them at number 3. So how do we know who’s right? Head to head matchups.
Alternative Spreads
The only way to know for sure when a team is better than another is a game. KPoz computes point spreads for upcoming games based on the rankings. When the KPoz spread is signigicantly different than the prevailing spread, KPoz really shines. Take the NFL Office Pool Picks each week and pick the top 5 games whose spreads are the most different than published spreads. You can get all this data in spreadsheet format as well from the Football Statistics page. Here you can compare to other spreads, sort, then make your picks. You’ll be surprised.
Posted by Mike Blake
Wed, 17 Sep 2008 17:45:18 GMT
I’ve created a new AppTrain blog to focus on my Web Application Company’s efforts. I’ll try to keep posts about Ruby, Rails, and Web Application Development there, and keep Martinicity as what it was originally, my personal blog. Martinicity is a state of mind man.
Posted by Mike Blake
Thu, 26 Jul 2007 19:10:00 GMT
At some point in my childhood, one of my four younger siblings coined the phrase geeking out to call attention to someone was uncontrollably excited. If one of us started geeking out the rest of us would be quick to call them on it. The only known cure was to hurl the offender into a pile of freshly raked leaves, a snow bank, or a sprinkler.
Well I can’t deny it, I am very excited about attending BarCampOrlando.
Come geek out with us at Taste on Sunday September 23rd and discover why Orlando is quickly becoming one of the top technology centers in the country. And no worries; there will be no leaves, sprinklers, and certainly no snow anywhere near Taste. Just a full bar, awesome food, and great presentations from some of the leading minds in Orlando (and me).
Posted by Mike Blake
Tue, 22 May 2007 21:16:00 GMT
Something fantastic is happening in the Ruby and Rails World.

Do unto others
Open source developers know from experience that what goes around comes around. Contributions to projects like Rails invariably come back to benefit everyone, including the contributor. The community is now thinking on a larger scale. Frameworks come and go, but love is timeless .
The Summer of Love
is focusing his power on Hackety Hack an amazing application that teaches children programming. And it’s likely more zeitgeist than coincidence that a professor from MIT, where the generous open source license originated, has started the noble project called One Laptop per Child . Developers everywhere like Amy Hoy are giving back in order to share the passion.

Chad Fowler has challenged the entire community to harness our newfound passion to do great things. And the community has only just begun to respond. During RailsConf over $33,000 was raised for charity.
Posted by Mike Blake
Thu, 26 Apr 2007 11:30:00 GMT
Update 4/30
I finally did find the real Hibernate 3 Migration Guide. My fun with Hibernate is over though, I’ve found an easier persistence solution with the clients homegrown method. I believe every single java project I’ve worked on in the past 10 years has used a different and unique Persistence mechanism. My favorite was Francois’ PersistentEntity at ViaFone.
I’ve been strugling for the last day trying to get a Java application working, mainly, trying to get Hibernate to see a DataSource. Now I’m at a point where I get this error message:
[junit] (cfg.Configuration 1312) configuring from resource: /hibernate.cfg.xml
Posted by Mike Blake
Sat, 31 Mar 2007 13:11:00 GMT
Rails developers working on enterprise software projects are suprised to discover the lack of automated tests in many mature web applications. As frustrating as this can be, A lack of automated tests is also a tremendous opportunity to
1. Learn your non-rails applications underlying database structure.
2. Demonstrate to a devlopment team the power of The Rails Framework.
2. Encourage automated testing.
Rails may be the quickest path to automate some basic test of your non-rails applications data model. These steps will get you all set up to write your automated tests in Ruby.
, Recipie #16 can walk you through this very quickly.
Identify any conventions used by your legacy database. Application wide conventions can be set in the config/environment.rb file.
They are specified by calling the appropriate class methods available on ActiveRecord::Base. The methods you need to call depend on how your database is configured:
Load the SafetyNet Plugin into your rails app to prevent from destroying your development database.
IV. Duplicate Your Database Schema
OK , with your dev and test development databases set correctly, let’s try duplicting the schema.
rake db:test:clone
If this works right off the bat, you’re one of the lucky ones. Skip to Extracting Development Data
If you recieved errors from the clone command, do steps A through C .
A. You can now correct any errors you may have had by manually modifying schema.rb . See Oracle Errors for some problems I had with the Oracle Database. Since schema.rb is generated, it’s a good idea to rename it when you modify it manually.
B. The clone command above may have started loading data; you need may to purge the test db.
rake db:test:purge
C. Tell rake to load your new schema file by passing the new name, relative to RAILS_ROOT in the SCHEMA environment variable:
Copy the code from
Rails Recipe #42: extract_fixtures.rake to your RAILS\_ROOT/lib/tasks directory.
TIP: If your develoment database has lots of data, Modify the SQL Select in this code to limit the amount of data you copy using the SQL limit statement:
sql = "SELECT * FROM %s limit = 100"
Or for a proprietary database, the equivalent command:
sql = "SELECT * FROM %s WHERE ROWNUM<=100"
Then run
rake extract_fixtures
You’ve made your testbed so you can lie in it.
You now have and exact copy of your development database, and a collection of sample data in Yaml format, and are ready to begin writing some Unit Tests. Stay tuned for some examples. Rail on!
You need a dedicated connection from Oracle. Change the url: line in database.yml from
url: jdbc:oracle:thin:@localhost:1521:XE
to
url: jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST = (ADDRESS =(PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA =(SERVER = DEDICATED) (SID = XE)))
Workarounds
Duplicating an existing Oracle Database using the build in task rake db:test:clone presented a few problems. Here’s what I did to work around them.
ORA-01727: numeric precision specifier is out of range
OCIError: ORA-01727: numeric precision specifier is out of range (1 to 38): CREATE TABLE employee (id NUMBER(38) NOT NULL PRIMARY KEY, created_date DATE DEFAULT NULL, start_date DATE DEFAULT NULL, job_id DECIMAL DEFAULT NULL, total_hours NUMBER(126) DEFAULT NULL)
Fix:
For some reason whne rails dumps the schema, it reports Oracle type FLOAT as NUMBER, so you just need to changed that back to FLOAT if you want to import that schema.
###OCIError: ORA-00972 identifier is too long:
OCIError: ORA-00972: identifier is too long: CREATE SEQUENCE gametime\_responsibility\_ref\_seq START WITH 10000
Fix:
Rails tries to create sequences in Oracle to handle AUTOINCREMENT id fields. It uses TABLE_NAME = ‘_SEQ’ for the sequence name. If a sqequence name is too long then you have to shorten it in schema.rb .
OCIError: ORA-00907: missing right parenthesis
OCIError: ORA-00907: missing right parenthesis: CREATE TABLE board (id NUMBER(38) NOT NULL PRIMARY KEY, name VARCHAR2(150) NOT NULL, name VARCHAR2(150) NOT NULL, parent VARCHAR2(150) DEFAULT NULL, log_level DECIMAL DEFAULT NULL, modified_date DATE(6) DEFAULT NULL, token DECIMAL DEFAULT NULL)
Fix:
For some reason Rails assigns Date fields a size in schema.rb . You’ll need to change all occurances of DATE to DATE .
Posted by Mike Blake
Mon, 05 Mar 2007 17:35:00 GMT
Ideas from the Margins
My brothers alternative news weekly in Colombia, SC focuses on stories no one else would write about including a regular feature called Bum of the Week, or and occasional interview with a Nazi.
He asked me to help him find an open source Content Management System, and after exploring a few, we choose Mephisto. I was impressed with Mephistos usability and online documentation. I also noticed that there we’re several integration tests written for it’s caching system, and used them as an example in a recent presentation. It has slickly designed admin interface, and the writers at City Paper love it. My brothers not afraid to edit some HTML or CSS, so he quickly got comfortable with the design templates.
Surprise
But the best surprises came after we went live with the site last week. First the visitors to the site began commenting on stories like never before. For some reason the Ocadia template we chose with it’s subtle use of color was inviting.
I’m not going to make this a forum for debate. Those who want to debate me can come onto a regular white website …
went on and on after that to post the largest comment posted by anyone, and made that article a forum for debate. It turns out that integration of color is much more appealing to him than he ever knew.
College Football Frenzy
The second surprise came just 2 days later. Editor Todd Morehead published a story early Friday about USC’s quarterback keying a car in the school library parking lot. The story was index by Google’s news bot, and went on to get picked up by the the local daily paper that night, hit the Associated Press wire, and was then published on Sport’s Illustrated’s site along with dozens of sites nationwide.
received a record number of unique visits over the weekend. Mephisto’s caching performed beautifully. It was a great weekend here in the margins. Congratulations to City Paper for breaking a national new story, and to Mephisto for not breaking.