Saturday, November 5, 2011

Its rails 3.1 stupid

cloned my repo on my macro and hell breaks loose... turns out i didn't have ruby 1.9.2 installed and rails is outdated... Go figure...

Screwing around with Sorcery...

Bundle install failed... duh! I needed to install MySQL. After that, all is good...

Saturday, September 10, 2011

app finally running on Dreamhost but...

Its freaking slow! I also keep getting the rack errors. So moving it to Heroku today and see if I see a noticeable improvement. Ran into sqlite3 error right away. Apparently heroku doesn't support sqlite. Will try Postgresql... Here is I got it to work: - Removed sqlite3 entry in Gemfile turing:feebzee jdizzle$ git init turing:feebzee jdizzle$ git add . turing:feebzee jdizzle$ git commit -m "init" turing:feebzee jdizzle$ git create --stack cedar turing:feebzee jdizzle$ git push heroku master Counting objects: 8341, done. Delta compression using up to 4 threads. Compressing objects: 100% (3429/3429), done. Writing objects: 100% (8341/8341), 5.01 MiB | 77 KiB/s, done. Total 8341 (delta 4651), reused 8336 (delta 4648) -----> Heroku receiving push -----> Ruby/Rails app detected -----> Installing dependencies using Bundler version 1.1.pre.8 Running: bundle install --without development:test --path vendor/bundle --deployment Fetching dependency information from the API at http://rubygems.org/...... Fetching dependency information from the API at http://rubygems.org/. Fetching git://github.com/medihack/make_voteable Installing rake (0.9.2) Installing abstract (1.0.0) Installing activesupport (3.0.7) Installing builder (2.1.2) Installing i18n (0.5.0) Installing activemodel (3.0.7) Installing erubis (2.6.6) Installing rack (1.2.3) Installing rack-mount (0.6.14) Installing rack-test (0.5.7) Installing tzinfo (0.3.29) Installing actionpack (3.0.7) Installing mime-types (1.16) Installing polyglot (0.3.2) Installing treetop (1.4.10) Installing mail (2.2.19) Installing actionmailer (3.0.7) Installing arel (2.0.10) Installing activerecord (3.0.7) Installing activeresource (3.0.7) Installing ancestry (1.2.4) Installing authlogic (3.0.3) Using make_voteable (0.1.1) from git://github.com/medihack/make_voteable (at master) Using opal (0.7.4) from source at vendor/gems Using bundler (1.1.pre.8) Installing thor (0.14.6) Installing railties (3.0.7) Installing rails (3.0.7) Installing rmagick (2.13.1) with native extensions Installing rubyzip (0.9.4) Using russian (0.2.8.pre) from source at vendor/gems/russian Using simple_captcha (0.1.1) from source at vendor/gems Installing will_paginate (3.0.0) Installing ya2yaml (0.30) Your bundle is complete! It was installed into ./vendor/bundle Cleaning up the bundler cache. -----> Writing config/database.yml to read from DATABASE_URL -----> Rails plugin injection Injecting rails_log_stdout Injecting rails3_serve_static_assets -----> Discovering process types Procfile declares types -> (none) Default types for Ruby/Rails -> console, rake, web, worker -----> Compiled slug size is 12.8MB -----> Launching... done, v5 http://floating-earth-684.herokuapp.com deployed to Heroku To git@heroku.com:floating-earth-684.git * [new branch] master -> master

Sunday, September 4, 2011

Fired up feebzee.com today. However, bundle install fails with Opal. It has problems installing Rmagick. Trying to build ImageMagick on my own. Lets see if this works...

Friday, September 2, 2011

Opal on Snow Leopard

It turns out a few things were broken after the Snow Leopard upgrade. My Opal install was barfing at rmagick so I had to rebuild it from source. I wonder what else ends up squeaking...

http://onrails.org/2009/09/04/rmagick-from-source-on-snow-leopard

Leila in the office at 5 yrs

Leila was off school for three days this week. She went in the office with me and had a lot of fun. She joined me in a few meetings but preferred to "hang out" in other peoples offices while daddy went to meetings. After picking her up, she bugged me to go "hang out" some more.

Sunday, March 20, 2011

Reality is sinking in

Today Leila showed signs of understanding reality versus imaginary play. I use to pinch her nose and say "I got you nose. Im going to put in my pocket." She would used to get a kick out of if, giggle, and check my pockets for her nose.

But when I tried the same today, she looked at me and said "Thats not real daddy." :-/

Sunday, March 13, 2011

authentication page done

But I need to go back to figure out how models and controllers are structured. A few things are not making sense to me. I've also been getting these annoying headaches. Its like someone would poke an ice pick on the left back side of my head. My left ear is constantly popping too. Related? hmmm

Sunday, March 6, 2011

Finished building the first two RAILS controllers

But I spent so much time coding on the macpro, the MBA got out of date. It doesn't even have the test tools and latest xcode installed. I'll probably have to spend the next hour getting the config updated. There has got to be a faster way... Oh well, I'll be a pro at setting up OSX dev environments after this...

Saturday, March 5, 2011

Dev server 2 install complete

Lets see if the test app would build...

Setting up dev server #2 (turing) at 12:50pm

Ack! need xcode 3.2.5 which is 3.52 GB. I guess this download will take a while. Got RVM, git, netbeans, and ruby 1.8.7. I think I'll take a lunch break for now..

Monday, February 21, 2011

Damned IDEs

I don't know why it has to be this difficult... why wont they just package the IDEs with debuggers with all the required libraries and config files.. I know its cool and all to have to go through the routing but I dont have time to screw around with this shit... Dumped Eclipse because the zend debugger was acting up.. Now using netbeans

Sunday, February 20, 2011

Stupid PHP book

Good thing I borrowed it from the library. I spend half a day debugging errors in their examples. The Smarty install instructions were crap and the DOCUMENT_ROOT was not set properly... Thank god for google and the internet...

Leila is ahead of me

She is starting to read words like going, play, equals, and minus. We also did some simple additions. I don't remember reading and writing until maybe when I was 7.

Get stuck or move on...

I can't get this stupid sample code to work. Somehow the browser loses track of the script location. I'll spend another 30 minutes debugging this then move on... This annoy the crap out me. I don't like leaving unsolved problems...

You like to have your options

This morning you wanted to open up your jar of treats and I told to wait until after we eat breakfast. I gave you two options:

1. Put the jar on the table (where I can see it)

or

2. I take the jar away

Instead you wanted to put it in your "tangled" bag. So I met you halfway and asked you to put the bag near where I can see it. I could have insisted on having the jar on the table but could have resulted in a lose-lose situation. I don't get your cooperation and the jar is taken away.

Still coding....

I've been at this for two weeks now, and while it gets frustrating at times, I'm actually enjoying it. I haven't felt like this since college when I would stay up all night hacking in the computer labs. I remember Wesley had to peel me off the computers at the UW CCC. I need to learn more about this PHP debugger...

I love my Leila

You are about 4.5 yrs old now Leila and you have grown sooooo much. This morning we woke up early and mommy was still sleeping--she had been studying all night. You carried with you your pink teddy bear and a big stuffed doggie named scooper dog. You are so funny. You wanted to watch PBS kids so I took you upstairs where you watched Curious George. We don't have cable tv. We only watch free broadcast tv. Daddy is lame huh? :-)

Saturday, February 19, 2011

First bad tantrum

After ballet, we hung out at Barnes for a little while me and mommy finished our studying. The week prior, we promised to buy you a book if you finished your jobs at school and behaved like a good kid--and you did. So we told you to pick a book but you picked two instead. We told you to either pick one or you don't go home with a book at all. You decided to throw a tantrum instead :-/ It was a tantrum unlike anything I've seen before. Mommy got really upset. I was a little disappointed but I hope it taught an important lesson in delayed gratification.