Rice University logo
 
Top blue bar image
Computer Scientist at the Department of BioSciences, Rice University
 

Use EMF to export Graphs generated by GUESS if it is to be imported into Inkscape

October 25th, 2011 by Boanerges Aleman-Meza

I use GUESS Visualization for creating graphs. When the graph is going to be placed in a webpage, then exporting it as JPEG is sufficient.

However, when publication-quality is required, Inkscape is one of the best options to produce great figures.

Inkscape can import a variety of formats. When you are importing a graph generated by GUESS, the best format export option inside of GUESS that I found is EMF (enhanced windows metafile).

Exporting the graph in GUESS as PDF, and then importing the PDF into Inkscape also works, but the hassle is more than using EMF.



this e-mail was sent from a notification-only e-mail address that cannot accept incoming e-mail

October 6th, 2011 by Boanerges Aleman-Meza

Why send email from an email address that does not accept incoming email?

As a customer, what are we supposed to do? They could at least have a “reply-to” address that goes to a customer support email address or something like that.

The irony is that one of Amazon’s automated emails do send cc email themselves to the email address that cannot accept incoming email. Wow, that was fun

Here’s the text and picture (emphasis added in the last line).

Greetings from Amazon.com.
We wanted to let you know that we received your return for your order .
If you are due a refund you will receive another email confirmation shortly.
See our return policy for our returns timeline at www.amazon.com/help/returns
Thank you for shopping at Amazon.com.
Note: this e-mail was sent from a notification-only e-mail address that cannot accept incoming e-mail. Please do not reply to this message.



Information processing by cells, talk by Andre Levchenko

March 22nd, 2011 by Boanerges Aleman-Meza

Dr. Andre Levchenko described how he used tiny chips for figuring out what happens with uni-cellular organisms when exposed to a variety of constrains.



Canvas Pocket Reference by David Flanagan (Review)

January 21st, 2011 by Boanerges Aleman-Meza

Summary: The book provides examples to explain feature after feature of canvas, carefully mentioning the concepts behind the feature being explained (strokes, gradients, transparency, text, shadows, etc). This book will explain how things are done and after that, you’ll be able to grab sample code from the web and actually be able to customize it to what you need.

The book contains two chapters that are completely different of each other. The first chapter explains how things work in canvas. For example, whatever you draw uses a style that is defined separately from the drawing code, similar to the separation of content and presentation in HTML/CSS. The way you draw graphics, fill them, color them, etc is different than traditional environments such as Java graphics. At the end of the first chapter, you’ll know what can be done using canvas and how.

The second chapter is a reference of the canvas methods, which will be the details needed once you’re actually coding. Fortunately, there are not that many methods in canvas. If unfamiliar with pocket reference books from O’Reilly, they are small, you can carry it in the back pocket of your jeans. If you do not wear jeans or shorts at work, then you may not be the intended audience for this book. I needed a book that explains how to use bitmap images and do image processing in them. The few pages in the book on those topics made the book worthwhile. I’m looking forward to see the Web when most sites use canvas (instead of Flash and the like) for simple graphic animations or just improved user interfaces.

Disclaimer: I was provided a hard-copy of the book from O’Reilly for review and returned it back after posting the review.



Book Review: HTML5: Up and Running

August 28th, 2010 by Boanerges Aleman-Meza

(this review was posted in Amazon)

The author tells you why HTML5 took for ever to come out. Then, it starts from the simple elements that now have a shorter syntax and new semantic elements that are intended to specify that a web page has articles, sections, header and footer. It always tell you why something exists, which is very helpful as compared to just providing examples with their respective screen shots as other books do or as you would get from finding the examples yourself searching online.

The book will not disappoint you but the support of HTML5 may do so, depending on what you want to really do. For example, it seems too much work to get different versions of a video in order to make it work in most web browsers. It is not a problem of HTML5, it is a problem of lack of agreement among Web browsers and of patents behind (most of) video codecs. The new elements for forms are the best example of lack of browser support on elements that, after a decade, you would imagine would be standard components by now. The microdata elements, actually, attributes instead of elements, show that also after a decade of “Semantic Web”, the semantic markup of content of web pages will likely be based on a practical solution that is easy to implement for the html/web developer, as opposed to other methods that never really took off (such as microformats and RDFa).

The things that seem promising in HTML5 are the canvas, storage for web applications, and geolocation but it will depend on whether you will really need to use it or not. If any of canvas, storage, geolocation or video interests you, and you are new to using them in HTML, then this book is way better way to get it right as opposed to finding examples online.

Disclaimer: I received the e-book HTML5: Up and Running (valid for 30 days) from O’Reilly. I needed to know about the “video” tags anyways because I will be using them in deploying a website with a few hundred of videos soon.