Tag Archives: gedit

yamlsp – yet another my linux story post

14 Aug

tongiht after spending sometime getting jackfield to work (it loads, just without the widgets – lol), my room mate (he’s a windows admin, but uses ubuntu at the apt) and I started talking briefly about why we like linux. which of course has lead me to this.

I got into linux for one reason : i thought it was cool. i was around 17 when i first heard about it, and i found myself wanting to learn it right away. My dad is an ex unix guy (maybe thats why) and i loved hearing his storys about his “golden days” of baud, coffee houses, command lines, etc.

Also i really liked the idea of a completely different system than windows. Not only was it different – it was a challenge.

When i started php that only made me want it more.

Why?
I’m a strong believer that the only languages that run good on windows, either come from ms, or where originally made by allure. The language i loved developing in needed linux (php iis performance has always sucked ), adding on the fact that i used linux for all production serving.

Another big thing was the cool factor (yes, only a geek would say that). I thought linux was awesome. A os that you had to build from scratch, was secure, and the entire thing is built in c?! Just the fact that my tinkering could move past a limited command line and regedit, that I actually had to build what i wanted, it really got be fired up. I loved the continuous challenge of it all.

I also wanted to be able to share stories with my dad.

reality sucks

In reality i was like a horny virgin, i loved the act, but when it was done i sat there looking stupid – like now what. I’d load linux, setup apache, mysql, and php. Make a few aliases, play with gimp, maybe mount a few windows partitions, and then i was stuck. I had no idea what to do next. maybe try wine (really buggy then) or vmware. normally within a 3-8 days i was back in windows.

I did this a few times a year. i even used lightstep for a bit in an attempt to get somewhat away from traditional windows.

oxymoron

in the end it was my room mate that made me fully switch : a windows admin who only runs linux!

To say the least he put me to shame. Here i was a nix friendly developer, writing shell scripts, running apache, etc. and i did all this on windows.

the next week i started wiping every machine i had / except my dev machine. I eventually got my dev machine backed up and wiped, and i’m happy to say : i’m never bored anymore.

end results

the end result of all this is that all my machines run extremely better. a 1.8 p4 that used to drag in xp is going great in ubuntu, my dev laptop ( centrino 1.7 ) that was constantly hanging in xp, is multi tasking at least 2-3 times more and running a hell of a lot better. I don’t have to worry about security as much, learning alot quicker, and i finally can shut the mac boys up and back it up.

Best of all i have continuous challenges now. i can come home and find something fun to figure out, or some new way to do an old trick. when i was using windows i found myself frequently feeling burned out from the same routine, with linux theres always something, and when that stops : you can build something else!

what am i missing
oh yeah and the only thing i really need windows for now is flash (but thats what vmware is for).

end
to anyone wanting to make the jump i say do it, and if you get brain dead like i used to : try the linux courses

getting started with ruby – links to everything you need.

13 Aug

A group of us at DIF are getting into ruby / rails. I posted this in our forum, then realized it might help others.

Here’s the book i’m currently reading / doing : http://www.amazon.com/Agile-Development-Rails-Pragmatic-Programmers/dp/0977616630/ref=pd_bbs_sr_1/104-4633763-6766336?ie=UTF8&s=books&qid=1187036058&sr=8-1

I’m also reading the pickaxe : http://www.amazon.com/Programming-Ruby-Pragmatic-Programmers-Second/dp/0974514055/ref=pd_bbs_2/104-4633763-6766336?ie=UTF8&s=books&qid=1187036058&sr=8-2

and rails recipes : http://www.amazon.com/Rails-Recipes-Pragmatic-Programmers-Fowler/dp/0977616606/ref=pd_bbs_sr_1/104-4633763-6766336?ie=UTF8&s=books&qid=1187036074&sr=8-1

I recommend anyone who hasn’t go through the Curtis Hibb ruby intro series over at ONLamp:

what is ruby / rails :
http://www.onlamp.com/pub/a/onlamp/2005/10/13/what_is_rails.html

rolling on rails 1 -updated :
http://www.oreillynet.com/pub/a/onlamp/2006/12/14/revisiting-ruby-on-rails-revisited.html

rolling on rails 2 -updated :
http://www.oreillynet.com/pub/a/onlamp/2007/01/05/revisiting-ruby-on-rails-revisited-2.html

Development -
If your on windows i’d recommend using a vmachine (ubuntu?) for serving rails. if not you can use : instantrails

Editors -

mac : TextMate (the best), rad rails
linux : gedit, rad rails, or jedit
win : there’s a dreamweaver rails plugin, rad rails, or jedit

how to : setup gedit to emulate text pad

12 Aug

I just finished setting up gedit to emulate textpad for ruby development. after using the links below you should have the closest thing to textmate on unix

first things first

http://www.thaumatocracy.com/news/textpad-for-linux/

next

http://rubymm.blogspot.com/2007/08/make-gedit-behave-roughly-like-textmate.html

extra
grigio.org has a good over view of plugins :
http://grigio.org/textmate_gedit_few_steps
also grab his gedit color scheme (near end of page)

use vim for ruby and rails

12 Aug

came across this post while working on my gedit setup. it’s a post that lists (with links) the plugins needed to make vim work as a ruby / rail editor / dev tool

http://railsforum.com/viewtopic.php?pid=23274#p23274