Thursday, June 26, 2014

R is making my job easier

I'm working with R,  it's very good for data analysis and time series.  Today,  I've used the xts package, it has a lot of functions for handling time series. I'd read data from SQL Server with RODBC and transformed the data frame to a xts series in very little time.

I work with Statiticians and economists. They use Stata, the propietary version,  it's not bad, but I think that limits the posibilities because I can't develop reusable code and the syntax it's a bit tricky. R it's easy for me as a developer because its syntax it's more like C language and its packages are very awesome.

I think that I can do a lot of things with R about data analysis and stats.

Wednesday, June 25, 2014

Angular + ReactJS: It seems very good combination

I was reading this post about Angular.js + ReactJS, the mix of two companies Google + Facebook and besides those companies have different philosophies the synergy it looks very powerful.

I haven't tested yet, but I recommend to read that article from Thierry Nicola

Faster AngularJS Rendering (AngularJS and ReactJS)

Monday, June 23, 2014

Node.js + nginx: not so simple, but very awesome

Al last!! I've configured node.js + nginx, it was a bit hard to understand the concept of upstream, but now I get it, and it's awesome!!!


First, I've configured the upstream for the reverse proxy

upstream myapi {
                server 127.0.0.1:8080;
        }

Next, I've setup the server

location / {
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_set_header X-NginX-Proxy true;

        proxy_pass http://myapi;
        proxy_redirect off;
  }

With that, I can bypass node request using nginx!!!

Trying to be frugal

I'm trying to be frugal. Today I was tempted again to buy a tablet, but I didn't. I feel very good about that because may be in the past I wouldn't be writing this post.

I'm trying to change my mentality. I've been always telling to me that I need X to be more productive... that was a very big lie. The truth is that I have the tools to create the things I want to do, so I'm focusing on make a more productive use of that tools.

I can write code with my current laptop, I can read with it and I can print some information if I need it (and it's safer because it's not lucrative to steal some papers instead of a tablet).

So. I'm changing my mindset. I'm focusing on doing, reading, writing, code and learning.

Sunday, June 22, 2014

Starting with ideas and practice... but more practice

I'm experimenting with node.js, mongodb, nginx and Android. I want to create a little app to learn how to integrate those technologies. The idea is to create and Android app that receives data from a REST API developer with restify using mongodb as a storage, and a little website to write data in it.

Today, I've created the REST API, next I will try to test the integration between Android and the REST API, next.... I don't know!!! It doesn't matter. It only matters to me that I'm working and learning a lot with that, and time will tell if the learned will become more important. I don't want to worry about that.

So. Let's type!!!

Saturday, June 21, 2014

I wanna be the guy!!!


I'm playing that awesome game!! It's very hard, it made me a lot of headaches, but at the same time it's very funny and very rewarding when you pass that ultra difficult levels. I recommend this game if you wanna develop your patience and perseverance because you need them a lot to win over the painful spikes and the lethal apples that look innocent.

I'm stuck at the final boss. But I won't give up until I beat the guy. I've learned a lot about, you can think that your difficulties are unique or you can't get over them, but that's not true. As a Chilean Tennis named Nicolas Massú said 'nada es imposible, ni una wea!!' that in english could mean 'nothing it's impossible, no shit at all!!'



Here's the link for the game. I recommend you watch some youtube videos before playing because you will feel very lost at start. Have fun and don't give up!!!!

I Wanna Be The Guy!

[UPDATE]

I'be finished the game!!! Now when I press backspace I return back to "The Room Of Divine Transportation" and play when the boss I wanna fight



Friday, June 20, 2014

Enjoying a beer

I'm enjoying a beer at my home. A Carlsberg, it's very soft and tasty, ideal for a peaceful day.

I like it!!!



Chile has very good beers too!!! Kunstmann, Austral and Kross. If you come to Chile I would recommend you give them a try ;-)
Kunstmann Beer
Kross Beer

Austral Beer
May be you have those beers in your local market. If that's true then next Monday drink one and support us in the game against Netherlands!!! We wanna win the group, and... why not? The world cup!!! Cheers!!



New Theme

Yes. I've change the theme. I didn't like the dark theme, i'm more like a Jedi than like a Sith.

Or may be like a sir... I don't know

Well... I hope you like it


I'm here again!!!

Yes!!! I have returned!!!

I would like to say that i'm gonna write more, but  it could be a lie, or may be don't, but I won't take that risk.

I'm happy to return to my old blog!!!!

Sunday, April 4, 2010

Moving on

I buyed a dreamhost hosting and installed Wordpress.

You can see my new site at
http://www.tecnocriollo.net

See ya!

Thursday, March 25, 2010

:D

Always trying to be happy. Now I'm a little upset for some things, but I'm trying to keep going.

Friday, February 5, 2010

SRSs are hard

Software Requirements Specification (SRS) are hard. Very hard. The hardest part is that is a lot invisible part. More invisible than programming. In programming you have the code. But In Tech Specs you only see the result of a mix of meetings, chats, brainstorming sessions, manager decisions, etc.

It's very difficult to measure how many time it will took. You have to consider first, how many times the organization has used it. If it's the first time, you'll have time to evangelize it and next make that all people involved agree. Next you have to do the analysis, you have to talk with a lot of people, mix all the viewpoints and resolve conflicts between requirements. When you have done that, you begin with the spec. You begin to write it and a lot of people have his own comments that you have to filter and select the best of it.

The next difficult step is to make people undestand that this document it's a kind of contract between user and the Software Engineer, that this document will be use to set the Gantt Chart, the WBS and so on.... The hardest part of it is to make understand the user that if he want to add a new requirement it has to be negotiated.

Many people looks specs as it has to be done, but they don't see it's usefulness. SRS help Software Engineer to know what things he has to do. And for the user, it sets a Warranty that what things will be done.