bought an IDE license

I'm not a full time java developer, nor any kind of developer. But for my work and for my life, I do a lot of things in java, python and ruby. Since a long time I'm using www.jetbrains.com/, and I was really hoping for one day to one day be stable enough to buy the all packages license. And from past month, I'm a happy owner of all the products, the ones that I used by now pychar, intellij idea (java) and was about to use redmine but I had to arrange my code to put in in a repository, so is taking some time to tidy up everything and began to code again.


Comedor nikkai


paseando en ambulancia

Atentamente, yo <Matías>
Victory breeds hatred, for the conquered is unhappy. He who
has given up both victory and defeat, he, the contented, is happy.


what about my experience with kindle

I got a kindle about a year ago. Before that, I read some books, I enjoyed some of them (and really slept with others). Reading a normal book (tree format) is more about the light and the angle that you are reading in the bed, and from page to page, you must change to read the opposite page.

Reading in a kindle, as in a PDA, is more about getting the only angle or position to read. Once you are confortable, you can read for a long time without perturbations. Getting a kindle paperwhite, menas that I can read at night without any other light, and even in the train, an being able to view the page without problems.

I've already read the saga of Percy Jackson (in a couple of months, really nice story); and now I'm at the third book of "Is wrong to pick up girl in a Dungeon?" (light novel from Japan).

I'm stuck because I have a lot of work, but I really enjoy the saga that I'm reading now. Reading with a kindle is quite interesting and easy, I really recommend it. I had the chance to use a tablet to read, but I really think that the e-ink is quite better to an e-book hardware-book. And also with "calibre" you an change the format of anything to .mobi to be able to read it from the kindle without problems.

one more time with RoR

Today I'm interesting again for testing some of the RoR gems that I was reading and researching a long time ago, but combined all together.

  • rails_admin
  • devise
  • cancan
  • papertrail
Just to become a nice and easy start up app within a few seconds.

First I added the necessary gems to the Gemfile:

As I was using openshift, I had to get rid of the pg (not used, I'm using mysql || sqlite3).


rails g rails_admin:install

(mounting admin as /admin, the default option)
Then for devise:
rails generate devise:install
rails g devise:views
rails g devise User

For CanCan:
rails g cancan:ability

And for PaperTrail:
rails generate paper_trail:install --with-changes --with-associations

After that, only last to add the ":username" to the User model

rails g migration AddUsernameToUser username:string

Then the usual
bundle exec rake db:migrate

And for the groups, if needed:
rails g model Role name:string
rails g migration addRoleIdToUser role:references
rake db:migrate

And the base is quite OK


new job, new life

When I was working at Peugeot I was quite boring of my job. I was listening to new job offers, some were quite interesting, but they didn't call me back. Some others were just bad options for me.

But after some time I found a job that they were quite anxious to hire me. And after some weeks of interviewing and calls, I'm working at VIZRT.

By now is a quite nice place, and the job is really interesting.


kind of ToDo for my recipe site

For a long time I have a site that I made for recipes. Now, I got a module to handle in the way that I want, the uses, it's called device.

Now, in my internal ToDo, I only have to improve the import of the recipes (avoid having lines with ------~, etc). And is going to be my beta1 (after so many years).

After being in beta for some time, testing all the soft. I'm going to add the "make a buying list", that is quite simple, just an array associated to the user, that contains all the recipes selected by the user, when the user wants to see the list, is generated. All recipes are summed (quantities). for this, I have to have a list of different names for the same ingredient  (like flour, flour 000 and flour 0000 are not the same, but general cooking flour is quite the same as flour 000). And also, the measurement in the different types. But it's going to be a nice improvement to my site.

Also, I have to improve the related article, so it can use tags (or title as a tag), and perhaps have a table to avoid consulting the DB too much; of related articles to related recipes. And have it shown only in the recipe view as a box like:
Or maybe floating on the bottom of the page. I have to test some ideas and view the best way to see the "related articles" in the recipe.



This is what I mean when I talk about a kotatsu


new project (brain storming)

For some time I was out of new ideas. The only project that I was working (personal time) was my recipe site (isn't finish, but is about 85%).
Now I'm having and idea. Is quite simple, but the most critical part is not in the correct definition of the models, but the interaction of some models.
My new project is a mix of on-line education and notebook.

Some important points:
* web javascript editors (to associate with the models, for the different type of content).
** ie: text editors, diagram editors, image editors, spreadsheets editors, 
* Teacher role that can create his own classes, with RO documentation (comments/notes available as private thing, included in the doc or as a separated model). Having private forum/private messages with history and an imposed schedule.
* File types like articles, books, presentations, etc, diffier each another by the editor that is used (if the editor is oriented to publish just a small amount of text, without having sections, is an article editor, etc).
* A dashboard should be created to view (quick view) the files and probably other data (metadata or content)
* A quick link table (favorites, or something like that)

Beside the feature that an instructor could teach, the main reason for this program is to have notes organized in classes/themes (math 2014, gym 2014, etc), and had some documents with assigned time schedule.

For example, for french 101, just a note where to take the course or any other basic information scheduled from March to December on Mondays from 4 to 7pm, could be the year to take that class. And form exams or any other important event, associate another note or a bigger document (guide for a project), and this can have several alerts (1 or 2 previews and 1 last presentation, or whatever). The alerts shouldn't be associated to the basic schedule (as a project could be presented in front a special committee with its proper schedule/date time associated).

Another thing that this application should have is the capability to upload files. For example, if I had a division named "rent", I can upload scans from the payments