Thursday, June 12, 2008

NExT step machine

Jacob, Sahil and Me won a NExT machine (no one else wanted it) from the experts. Nice! Now we need some power cables to get it to work. More to come stay tuned.

Tuesday, May 20, 2008

WWDC 08

WWDC 2008 is almost here.
And I'm thrilled to be attending this year. This is the first year to wwdc sold out and is also the first year after the announcement of the iPhone SDK, it's certainty going to be a big event. If any one here is attending give me a call.
Chuy :)

Wednesday, April 23, 2008

Good Video

I have been watching some of the TED talks, some of them are really good. But for some reason I have seen this one a dozen times already.

Thursday, April 17, 2008

Thursday, February 14, 2008

2008 A New Year

2008 is here. And it has been here for a while now. I'm just getting started on a new job so I haven't published anything new for a while. With the job change there is also a small change (not a big one in this case) on my research area. I will start doing some Density Functional Calculations (DFT) so I might be talking a little bit about it on here from time to time. In the mean while I'm using the MIT open courseware to start learning the techniques used to do this kind of calculations. If you are interested you can take a look at Atomistic Computer Modeling of Materials.

Best Regards
Chuy

Monday, December 17, 2007

Google Chart API : part II



I solve my mistake, if you want to use charts into blogger just don't break the src=".." lines into pieces like I did in the example in the last post. The whole src have to be in one line.

Google Chart API


This chart was made using Google Chart API.

After Playing for a while trying to generate the previous plot I couldn't use google API properly. I had to generate the plot on my personal website save it to disk and post it. This API is a great way to make real-time charts, but for some reason it doesn't work within blogger it must disabled for security issues or something.

There is a couple of things I don't like about the API, and some serious limitations so I will stick to gnuplot. but it's nice to have different options with different capabilities.

The biggest problem I find with this API is that you must format your data to make it compatible with the API. Lets say you are running a simulation, and your output data ranges from 1 Tesla to 7.24 Teslas dependent on Temperature, you will need to map the data from 1 to 100, label the chart appropriately so it reads 7.24 on the highest data point and make sure your Temperature interval is uniform. It's not a difficult transformation but it's annoying.

On the other hand, if you are running your simulation on a server, you can easily modify your program so it will write a preview output. Lets say 1 of every 100 points calculated goes to this preview output. And make a web page you can access from any computer with firefox. The web page will then plot in real time what this preview output file looks like. It's also possible to make a web page that will take track of several simulations running on different servers (computers).

The code used to generate the chart is:

<img src="
http://chart.apis.google.com/chart?
cht=lc
&chco=ff0000,00ff00,0000ff
&chs=200x125&chd=t:0,0,0.3,0.7,1.2|0,0.3,1.4,3.1,5.3|0,0.8,3.9,8.7,15.2
&chxt=x,y
&chxl=0:|0|1.0|2.0|1:||20||60||100"
>