Showing posts with label Без рубрики. Show all posts
Showing posts with label Без рубрики. Show all posts

Thursday, December 10, 2009

NetBeans 6.8

New release of this nice IDE for Ruby, PHP and Python (I did not try NetBeans for Java :( ).

To start playing with Ruby, this is a good start: http://netbeans.org/kb/docs/ruby/setting-up.html

Update: Mmm.. http://forums.netbeans.org/topic20818.html

Wednesday, December 2, 2009

Smalltalk-72 Instruction Manual

I don't remember how, but I end up reading some parts of this relic.

Some notes:

Objects

Every entity in Smalltalk's world is called an object. Objects can remember things and communicate with each other by sending and receiving messages. Every object belongs to a class (which is also an object). The class handles all communication (receiving a message and possibly producing a reply) for every object which belongs to it.

Message Sending and Receiving

A message is sent to an object by first mentioning the object and then mentioning the message.

The Notion of Class

The basic class definition deals with just two ideas:

1. The notion of creating objects which have independent existence and memory.

2. The control of the flow of evaluation by sending and receiving messages in various ways.
Almost fourty years... that's a lot of time.. Here is the link:
http://bitsavers.informatik.uni-stuttgart.de/pdf/xerox/parc/techReports/Smalltalk-72_Instruction_Manual_Mar76.pdf

PS: Starting at page 117 there is a description of how to implement simulations, that seems to be pretty interesting.

Thursday, November 19, 2009

Action Mailer & Helpers

If you want to use a helper from an action mailer template remember to use this:

class OsomMailer
helper :some_helper_name

You have to use some_helper_name if your helper is defined as "some_helper_name_helper.rb"

Friday, November 13, 2009

Testing - Problems - Rspec Controllers - RecordNotFound

If you are using Rspec to test a controller method that raise a RecordNotFound exception be aware of adding this:
controller.use_rails_error_handling!

in your controllers.

Here you can find an example:
http://pastie.org/151743
otherwise the exception will be thrown, and your test will fail :(.

"Over and out"

Update: I wrote this before running my test, so now I know that the previous solution is deprecated, you should use #rescue_action_in_public! now :)

Pivotal

Realmente muy buena aplicación para proyectos ágiles, de lo mejor que utilice (tampoco probé tantas :)) --> http://www.pivotaltracker.com/. Altamente recomendable.

Pero desde mi punto de vista es mejor que Bugzilla, Redmine, Trac, etc.
Es más simple y muy dinámico (mucho Javascript [que anda bien]).


Ojalá que no lo hagan pago, igual es de esos productos que vale la pena pagar :).

Monday, November 9, 2009

Nombres

Estoy arrancando en el mundo Ruby y me llamó mucho la atención el nombre que le designaron a la clase de mayor nivel de abstracción dentro de la jerarquía de números.

No sé cual será la traducción exacta para Numeric pero estimo que es: Numérico.
Acá les dejo un diagrama de la jerarquía robado de uno de los mejors libros que hay para aprender el lenguaje:

Otra cosa que me llamó la atención es la relación de TDD / BDD / XDD con la cultura de la comunidad, van muy de la mano, lo que está bueno.

También es muy común utilizar Git como "manejador de versionado de ficheros" y está realmente muy bueno.

Bueno quería escribir algo porque entré al blog y me dio cosita verlo con tan poca actividad.

CAMBIO Y FUERA

Wednesday, May 20, 2009

Friday, December 26, 2008

Doug Engelbart

Acá les paso el link de una conferencia conmemorando los 40 años del día en el que se hizo "la madre de todas las demos".

Entre todos los que exponen, está Alan Kay, muy interesante.

Thursday, December 25, 2008

Ioke

Ioke es un nuevo lenguaje de programación, en la documentación dice lo siguiente:

Are still Lisp and Smalltalk the most powerful languages around, or are there ways of providing more expressiveness without sacrificing understandability? Is there a way to combine all the lessons learned from languages like Ruby and Python, and patch them back into a Lisp and Smalltalk core? Is it possible to do this while taking some of the benefits of Io? Can a language be both small, regular, homoiconic, reflective and easy to understand? I hope that Ioke is just that.
Más información: http://ioke.org/