When I was writing a simple scientific webapp, during my undergrads studies, I needed to generate some equations to be shown by the app. I was already familiar with LaTeX equation formatting syntax, so I decided to use this nice peace of software. So, after "googling" a little, I found the imgtex , written by Koji Nakamaru , which is a fast CGI script, written in perl. What I did, was port it to PHP. To run it, you must have a LaTeX distribution and the dvipng software both installed on the same machine which you will run the PHP script. Here is the PHP code: To use this code, you just have to pass the LaTeX commands through GET to the PHP. For example, adding the following string to your URL: http://localhost/imgtex.php?res=300&cmd=x=\frac{-b\pm\sqrt{-4ac}}{2a} The res variable sets the resolution for the generated image and the cmd specifies the LaTeX command. This way, the above URL will produce the following image:
Hello Filipi,
ReplyDeleteTalking about open source hardware, some nice projects that I like a lot are the Arduino, which is very well know:
http://www.arduino.cc
I have an Arduino clone, a Seeeduino Mega. Very cool in the sense anybody can create "hardware" solutions for a lot of problems even having just a basic knowledge about electronics.
Another cool projects are the Minimig (an Amiga chipset re-implementation in a FPGA), Usebox (http://belogic.com/uzebox/) a very nice video-game running fully on a single microcontroller. In fact since hardware are ever more popular a lot of nice things are starting to show up.
Fabio Utzig
This one is also awesome!
ReplyDeletehttp://dangerousprototypes.com/2010/02/25/prototype-open-logic-sniffer-logic-analyzer-2/
Hi Fabio!
ReplyDeleteLog time hein..
I had already heard about Arduino Arduino. We are planning to buy some here at IDEIA, and start to use it as a standard arround here.
The Minimg is really cool. After seeing an image of one implementation of it on a Spartan 3 board, I started to study for my class of VHDL during my undergraduate studies.
The Uzebox is awesome, I had to build one for my kid :-)
And that logic sniffer is really the coolest one in those you told me. Just yesterday a colleague here from the IDEIA had asked me about a logic analyzer. I think he is gone build one.