Stream of Ry

Yet Another Geek In The World

Rails Footnotes with Gedit

leave a comment>>

Hacked around rails-footnotes today and wanted to make it work with Gedit. Searched around and found this askubuntu question.

Read the rest of this entry »

Written by rystraum

May 4th, 2012 at 11:12 pm

Posted in Uncategorized

Tagged with , ,

This is water.

leave a comment>>

This is from moreintelligentlife.com but I wanted to keep a copy for my own reading. This is the transcript of the commencement address of David Foster Wallace given to the graduates of Kenyon College in 2005. Thanks to Birdie for sharing this via FB.

Read the rest of this entry »

Written by rystraum

April 30th, 2012 at 3:27 am

Posted in Personal

Today’s Development Notes

leave a comment>>

Visiting one of our apps yields an error the first time you visit it but a refresh fixes it. Dug through the logs and found this particular error:
“Mysql::Error: MySQL server has gone away: …” consistently.

Searched around the net and found this SO question that seems closely related.

I’ve applied his fix (include wait_timeout: 2147483 in the database.yml) but is yet to see if it does fix the thing. Maybe I’ll have to do a server restart.

Written by rystraum

April 25th, 2012 at 3:19 pm

Posted in Uncategorized

Tagged with ,

What CS Majors should know

leave a comment>>

What CS Majors should know

Written by Stream of Ry

April 25th, 2012 at 12:57 am

Posted in Uncategorized

Today’s Development Notes

leave a comment>>

I encountered an error today while pushing to one of our webbies which was related to this.

Fixed it by upgrading the rubygems on our webby to 1.8.23 (it was at 1.4.x !! DX)

I’ve decided to upgrade one of our apps up to Rails 3.1.4. I’ve then encountered this while compiling my assets. Rolled back my sass-rails to 3.1.4 (it was at 3.1.6) to fix the compiling issue.

You can push another app to the same webby by running wn push. You just have to configure a new Nginx (in our case) config file in /opt/nginx/phd-sites/. I’m loving Webbynode more and more every time I deploy.

Written by rystraum

April 20th, 2012 at 5:59 pm

Posted in Programming

Tagged with , ,