JIRA To Omnifocus Script

15 Comments

This script logs into your JIRA and creates OmniFocus tasks for each of the JIRA items that are assigned to you, so they sync to your Omnifocus for iPhone, you only have to keep track of one inbox, etc. It only takes a tiny bit of setup.

More

Ruby Appscript – Sweet automation

2 Comments

Yesterday a coworker pointed me to ruby's appscript. I have found it nothing short of amazing.

I love my Mac, and many of us like the idea of automating our software, until we try to use AppleScript to do it. To say that Applescript is professional developer unfriendly is an understatement. I like ruby but to make ruby and applescript talk requires sending strings to osascript in just the right way and getting the output from osascript back. Not a lot of fun at all.

Enter appscript. Appscript is a ruby library that interfaces with applescript seamlessly.

More

DHH: The Accept Header and Rails 1.1

No Comments

Over at Loud Thinking,  David Hanson has a great explanation of how you can use the accept header with Rails 1.1.

 

technorati tags: ,

Parse Picasa XML with Rails

3 Comments

Here's a helper I just wrote for a site of mine. I use it with my picasa XML albums to generate the appropriate links for Lokesh Dhakar's lightbox image viewer trick. You can change it to use your own image views by simply changing the "slideshow" method in the helper.

It is also a good example of parsing an XML resource in ruby. I am parsing most of the metadata so you should be able to do a lot more with this.

More

Curso de Rails: Desarrollo basado en Pruebas

5 Comments

He añadido al curso de rails el capítulo práctico de pruebas de unidad, incluyendo el desarrollo basado en pruebas. Espero les guste, y les agradezco sus comentarios y apoyo a este proyecto.

Rails: Mapeando objetos a relaciones

2 Comments

He añadido el capítulo de Mapeo de objetos a relaciones al curso de Rails. Todavia faltan dos tipos de relaciones y la parte práctica, pero como el contenido es muy útil como referencia decidí añadirlo de una vez.

Espero les guste y que demuestren su gusto haciendo click en los anuncios.

technorati tags:
,
,
,

Eckel on Java vs Rails: The departure of the hyper-enthusiasts

3 Comments

As always Bruce Eckel is a great read..


The Java hyper-enthusiasts have left the building, leaving a significant contingent of Java programmers behind, blinking in the bright lights without the constant drumbeat of boosterism.

But the majority of programmers, who have been relatively quiet all this time, always knew that Java is a combination of strengths and weaknesses. These folks are not left with any feelings of surprise, but instead they welcome the silence, because it's easier to think and work....

Clearly Ruby is making important contributions to the programming world. I think we're seeing the effects sooner in Python than elsewhere, but I suspect it will have an effect on Java as well, eventually, if only in the web-framework aspects. Java-on-rails might actually tempt me into creating a web app using Java again.However, I can't see Ruby, or anything other than C#, impacting the direction of the Java language, because of the way things have always happened in the Java world. And I think the direction that C# 3.0 may be too forward-thinking for Java to catch up to.

Weblogs Forum - The departure of the hyper-enthusiasts

Mainly, I think a pragmatic approach to a language is to assign value based on a) what you can accomplish with it, and b) how easy it is to write in the first place and maintain in the long run. So far Ruby is starting to become interesting on (a) - it was always interesting on (b) -, although we still have to do a lot of stuff in Java if we want to take advantage of a lot of features.

However, in Java there has been a lot of work already done to get you libraries and automated tools. I have been looking for some good IDEs for Ruby and I can't seem to find anything that is better than just using vim (I've looked, but that's another story) - Eclipse is my yardstick for comparison.

That means that I may want to switch to rails for web app development and maybe scripting, but not for any type of development where I have to apply deep pattern thinking and where I anticipate refactorings to come along as the system grows. It may be easier conceptually to do refactoring in Ruby, but that fact is superceded by the automatedness of doing it in Eclipse. It doesn't matter if it impacts a lot more files to, say change a member variable name in a domain object, in Java vs. Ruby if I can do it with Alt-R in Eclipse and in Ruby I have to go and change it manually - the masses will not switch until you give them this kind of capability.

On the other hand, I really do like the fact that you can get started in ruby from scratch in a few minutes using things like "gem install rails", vs. setting up a giant ant/java/spring/hibernate/tomcat on the java side.

technorati tags: , , , ,

Tutor de Rails en Español

7 Comments

De mi tutor de Rails en Español:

Este curso pretende proporcionar al usuario información suficiente para hacer aplicaciones de web profesionales utilizando Ruby on Rails. Está enfocado a personas que ya sepan algo de programación en otros lenguajes, lo cual quiere decir que durante el curso haré referencia a conceptos y librerías familiares a usuarios de otros lenguajes y productos.

Tutor de Ruby on Rails

technorati tags: , , , , ,

RIFE vs Rails side by side

1 Comment

Like many other java developers, I am currently using Spring and
Hibernate, so I can't attest to the quality of RIFE. But I thought this
was interesting: This is a side-by-side
comparison
of the RIFE source vs. the Rails source for the
same feature (Ta-da list
vs Bla bla list).
Just another thing to add to the ever-growing list of things to check
out.

Note that I don't have an opinion on this because I don't know both
toolsets (and like many others I don't sound very smart when comparing
something I know vs something I don't know). :-)

One-to-One relationships with Rails

1 Comment

This is a lot easier than I thought it would be and it actually took me longer than it should have because I was trying to do it manually.

More