Skip to main content

Posts

Showing posts from 2010

SVox PicoTTS (from Android) is available on Ubuntu 10.10

Another repost. This pos, form acassis is special for my quest to Voice Picking with freesoftware. More resources on SVox can be found at Open Hand Set Alliance www.openhandsetalliance.com . acassis : " Finally SVox PicoTTS (from Android) is available on Ubuntu 10.10. To install it execute: $ sudo apt-get install libttspico-utils To test execute it: $ pico2wave -w /tmp/test.wav 'Hello World' $ aplay /tmp/test.wav

GPU Processing and Password Cracking

GPU Processing and Password Cracking : " Recently, research students at Georgia Tech released a report outlining the dangers that GPUs pose to the current state of password security. There are a number of ways to crack a password, all with their different pros and cons, but when it comes down to it, the limiting factor in all of these methods is processing complexity. The more operations that need to be run, the longer it takes, and the less useful each tool is for cracking passwords. In the past, most recommendations for password security revolved around making sure your password wasn’t something predictable, such as “password” or your birthday. With today’s (and tomorrows) GPUs, this may no longer be enough. Although the article never mentions them by name, the newest tools in password cracking are based around two tools, nVidia’s CUDA and AMD’s Stream SDKs. These tools allow programs to be written in C that can be broken up and utilize the parallel nature of the hardware th

Open source substituto para o LabView

Open source substituto para o LabView : " Ha algum tempo recebemos na empresa onde trabalho a visita de um representante da National Instruments que demonstrou varias placas e o LabView para utilizar como ferramentas para diagnostico e testes de placas na nossa linha de producao. Na epoca eu comecei a imaginar algumas solucoes open source para fazer as mesmas funcoes da solucao apresentada pela NI, uma vez que a nossa empresa preferiu nao comprar a solucao deles. Hoje resolvi documentar as quais software e placa eu utilizarei para implementar uma solucao equivalte ao da NI: - Scilab: http://www.scilab.org - Comedi: http://www.comedi.org - USBDUX: http://www.linux-usb-daq.co.uk/prod2_usbdux/ "

More on Web3D

Following some posts on standards for 3D ( Web CAD and Pseudo 3D game ) here are some other links on Web3D: http://www.web3d.org/ http://www.web3d.org/x3d/x3dom/ http://www.teratec.eu/gb/forum/atelier_3.html http://www.x3dom.org/

Another home-built laser projector

From my Google Reader: Another home-built laser projector : " [Jarrod] sent us a link to this home-built laser projector after seeing a different projector that we featured yesterday . This system is fundamentally different. [ChaN], who finished the project several years ago, didn’t use a loudspeaker to move the mirrors, but instead build his own closed-loop Galvanometers. Two of these are controlled by an ATmega64 to produce incredibly clean and accurate vector images. It’s not just the images that are impressive, his hardware is laid-out with skill and forethought that make hiding it in a case a sacrilege.

Quickstart: SSH Public Key Infrastructure

The following quickstart was copied from http://uaahosting.uaa.alaska.edu/axjww/sshkey/ By Jim Weller The purpose of this document is to quickly step you through using passwordless authentication to connect to servers using the SSH2 protocol. This document is unique in that it unifies all the clients and servers under a single identity. This document is very coarse and expects that you'll follow along with the videos and only use the notes as a supplement. Prerequisites Commercial SSH client version 3.2 or higher installed. ftp://ssh.com/pub/ssh Commercial SSH Accession agent ftp://ssh.com/pub/accession PuTTY SSH2 Client Suite http://www.chiark.greenend.org.uk/~sgtatham/putty/ OpenSSH environment. Cygwin shown here, but Linux, Mac X, BSD, Solaris and many others apply http://www.cygwin.com/ Video Guides Generating your public and private keys Commercial SSH client to Commercial SSH Server Commercial SSH client to OpenSSH Server PuTTY client to Comm

Free Open Source Parametric 3D CAD on Linux

The folks looking for a free and open source option for a Parametric 3D CAD have theirs choice now. HeeksCAD is a parametric 3D CAD, based on the open source modeler OpenCascade . Actually it is for Linux and Windwos. It uses WX Widgets as its widget set. The HeeksCAD site lacks on screenshots, as long as they are keeping a good work on the software... (let the community provides the screenshots ;-) Googling a little we can found a good discussion in a forum at http://www.linuxgraphic.org/forums/viewtopic.php?f=41&t=5728 (it is in French) From the forum discussion above, I had extracted the following shots: I had already used the Salome (another OpenCascade based tool), but the CAD it provides where more for geometry design for finite element pre and post processing. Diferent from Salome, HeeksCAD has much more functionalities from CADs like Pro/Engineer and SolidWorks . I have around 8 years of experience in P ro/Engineer and 5 years using SolidWorks , I had no difficult to

uSleep on windows (win32)

I am facing a terrible issue regarding timing on windows. Googling arround, I've found those infos: Using QueryPerformanceCounter and QueryPerformanceFrequency APIs in Dev-C++ ( http://yeohhs.blogspot.com/2005/08/using -queryperformancecounter-and_13.html ) QueryPerformanceCounter() vs. GetTickCount() http://www.delphifaq.com/faq/delphi_windows_API/f345.shtml How to time a block of code http://www.cryer.co.uk/brian/delphi/howto_time_code.htm And Results of some quick research on timing in Win32 http://www.geisswerks.com/ryan/FAQS/timing.html With that I'm trying to write something like a uSleep function for windows: # include<windows.h> void uSleep ( int waitTime){ __int64 time1 = 0, time2 = 0, sysFreq = 0; QueryPerformanceCounter((LARGE_INTEGER *)&time1); QueryPerformanceFrequency((LARGE_INTEGER *)&freq); do { QueryPerformanceCounter((LARGE_INTEGER *)&time2); // }while((((time2-time1)*1.0)/sysFreq)<waitTime); } while ( (time2-time1) <waitTime); } T

Low cost microcontrolling

I had a terrible issue at work today. We certainly have to give up from a windows controlled device, depending on time critical software to use a cheap and easy to find microcontroller. Making a couple of phone calls to local electronics shops, draws me to one single option. Microchip's PIC 16F family. So, let's go to PIC world: http://www.grennan.com/picprog/ (Programming the PIC16F84 with LINUX) The PIC16F84 is easily found at any electronics shops in my town. It costs around R$ 15,00 (fifteen reais), local brazilian currency, which is around US$ 8.45. Programming PIC’s in Linux using C with SDCC Intro to Programming PIC Microcontrollers in Linux http://www.lancos.com/prog.html (PonyProg - GLP Serial devices programmer) http://www.freenet.org.nz/sdcc/ (sdcc for PIC HowTo) There is a good Spanish site about PIC projects at http://www.micropic.es/

Some free/open tools for hobbies

[Open source PCB routing] MUCS-PCB - The University of Manchester School Of Computer Science PCB design software http://intranet.cs.man.ac.uk/apt/projects/tools/mucs-pcb/ Ladder Logic for PIC and AVR http://www.cq.cx/ladder.pl SketchFlat: 2d CAD, with Constraints http://www.cq.cx/sketchflat.pl SOLVESPACE -- parametric 3d CAD http://solvespace.com/index.pl And for autorouting on kicad , there is the closed source freerouting

Multi (platform) browser CSS

Reading an old friend's blog , I've seeing some tools he likes and there a particular one very suitable for my own needs. The blueprint CSS framework it uses the git hub . There is also some tips on using it with PHP (my favorite scripting language).

wxTerm

IFTools has an free/libre open source (wxWindows license) communication terminal which uses a multi platform communications library. Worth to take a look at: https://iftools.com/opensource/download.en.php

Coffee machine robot

Here at IDEIA we share a common spare time project. We want to build a robot which brings the coffee from the kitchen to our offices. This project was a little inspired by the S.T.A.I.R. project from Stanford. Looking around we've found the Mobile Robot Programming Toolkit (MRPT) . And perhaps worth to look at: Arduino Ethernet Shield and Arduino Ethernet Library

[SIGGRAPH 2009]Build Your Own 3D Scanner: Optical Triangulation for Beginners

There is an interesting course on 3D scanning at SIGRAPH 2009: http://mesh.brown.edu/byo3d/source.html Other good resources on 3D can be found at: http://www.ieeta.pt/~pdias/Low_Cost_3D_Sensor/Low_Cost3DSensor.htm http://www.ieeta.pt/~pdias/Camera%20Calibration/Camera%20Calibration.htm http://www.awn.com/articles/tutorials/iinspired-3d-modeling-and-texture-mappingi-part-2/page/1,1 http://www-2.cs.cmu.edu/afs/cs.cmu.edu/user/rgw/www/TsaiCode.html http://www-2.cs.cmu.edu/afs/cs/usr/rgw/www/HomePage.html

Pseudo 3D game

How about make an pseudo 3D game with your company as th scenario? This tutorial brings some examples: http://dev.opera.com/articles/view/creating-pseudo-3d-games-with-html-5-can-1/ http://dev.opera.com/articles/view/creating-pseudo-3d-games-with-html-5-can-1/ http://blog.nihilogic.dk/2008/07/wolfenflickr-3d-unlikely-mashup.html Another demo: http://www.benjoffe.com/code/demos/canvascape/ http://www.benjoffe.com/code/demos/canvascape/textures

Web CAD

More on my quest to build something near a 3D visualizer with PHP and Javascript Web 3D rendering: http://www.uselesspickles.com/triangles/demo.html (this one uses less divs for the rendering) http://www.treebuilder.de/default.asp?file=844112.xml http://www.lutanho.net/svgvml3d/index.html http://deanm.github.com/pre3d/ http://www.nihilogic.dk/labs/canvas3dtexture_0.2/ http://www.nihilogic.dk/labs/canvas3d/ 3D Chrome Experiments http://www.chromeexperiments.com/detail/monster/ Quering for "chrome experiments 3D shading" on google http://www.chromeexperiments.com/detail/colorscube/ http://www.chromeexperiments.com/detail/orange-tunnel/ Some other Chrome experiments http://www.chromeexperiments.com/detail/js-touch/ http://www.chromeexperiments.com/detail/3d-waveform/ Opening IGES/STEP files http://www.opensg.org/wiki/PotentialContributions (with OpenSG) http://www.ogre3d.org/forums/viewtopic.php?t=33146&highlight=&sid=ce193664e1d3d7c4af509e6f4e2718c6 (with Ogre) http:

Gaming

Looking for some other software to load wavefront obj files I've found some interesting things on the gaming field: http://tfc.duke.free.fr/ How to load Quane, Quake 2 and Doom3 characters with OpenGL and https://help.ubuntu.com/community/Doom3 How to setup Doom 3 on Ubuntu Linux

Loading wavefront obj files

Looking for some other software to load wavefront obj files I've found some interesting thins on the gaming field: http://tfc.duke.free.fr/ How to load Quake, Quake 2 and Doom3 characters with OpenGL and https://help.ubuntu.com/community/Doom3 How to setup Doom 3 on Ubuntu Linux

Teaching Internship - Lab Class

Tonight was my first lab class at my teaching internship. We were preparing the undergrad students to make their final work for this class. At this class professor introduced the " objloader " to them. For them to use it to open wavefront obj files for their animation work. Professor also talked about the Accutrans3d . The old Pro/Engineer also saves wavefront obj files.

Done - with Catull type face

(Done with inkscape, following the tutorial cited on a previous post .) Goostavo

CAD Tutorials

The Mechanical Engineering Department from the Carnigie Mellon University has placed some good tutorials on how to use the PTC Pro/Engineer CAD software . It is an excellent material and is based on Pro/Engineer Wildfire 3, the last one with a Linux version. It also includes Sheet Metal and Surfaces design and Finite Element Analisys using the Pro/Mechanica module.

Google Logo to Goostavo

I was looking for a way to make a colored logo likes Google's to use for my kid's name. Here is a simple tutorial on how to make the colored 3D effect with inkscape. If I had the Catull type face, used by Google, it would be very cool to write my son's name (Gustavo) as Goostavo ;-) ( done at May 13, 2010 ) Catull Type face (tutorial done with Catull, results at " Done - with Catull type face ")

Kicad - crossplatform suite of programs for EDA

Working in a place where people do projects on electronics using different platforms (windows and linux) certainly leads us to look for some tool which enables us to exchange our schematics and layouts through all this platforms. There is where Kicad came to help us. And, to help us to use it, here is a short tutorial on how to do simple things with Kicad: Tutorials for KiCad - A Free Open Source Schematic and PCB Layout Editor KiCad Overview and Schematic Tutoria l Going from Schematic to PCB Layout in KiCad (using Cvpcb) Making New Components and Modules (Footprints) in KiCad: Designing PCBs in Kicad and PcbNew: PS.: Other interesting link on GNU/Linux and Electronics: http://1010.co.uk/scrying_tech_notes.html And on electronics: http://www.electronics-lab.com/blog/?tag=power-supply&paged=2

Convert Scanned PDF Documents to Text without having to wait for google bots

Working supporting old scientific hardware sometimes brings me some challenges. Usually, the manuals are only on paper and when there is a digital version it was digitized (scanned) . Googling a little, came to me an article which relies on waiting for the google to index your files and OCR them. But there is an open source alternative. Looking a little further, I did find another two articles at linuxquestions.org and at linux.com , on which I've found the tesseract-ocr . So to solve my issue, I had to first convert my PDF file to a bunch of TIF images, and so OCR them with tesseract. This way: gs -dNOPAUSE -sDEVICE=tiffgray -r300x300 -sOutputFile=page%03d.tif -- 1850_operators_manual.pdf ls -1 *.tif | cut -d e -f 2 | while read line ; do tesseract "page"$line "page"$line -l eng; done Hope this helps somebody...

Recursively Adding files to CVS

I'm still running a couple of projects which rely on CVS for version control. But adding more folders recursively is very painful. So I use this line as many times as there still being files/folders to be added. cvs update -R -P -d | grep "?" | cut -d " " -f 2 | while read line ; do cvs add $line ; done

New boy in town...

My son (Gustavo) was born last Saturday (April 10th 2010), with 2.790kg (6.15 pounds) and 48cm (1.57 feet). Here is a picture to share the most amazing moment in my life.

Cool demo on TED

Hmmm... I am not shy to say I am following Bill Gates on twitter . And he posted a link to Gary Flake talk , in which he demos “pivot”. A very cool tool for info graphics. Here it is:

More on Open Source Hardware

Slashdot came with this Retro Arcade-Style Clock , designed by A manda 'w0z' Wozniak . MONOCHRON - open source retro clock from adafruit industries on Vimeo . This tokes me the Lady Ada website with some projects on open source hardware. http://www.ladyada.net/

Emacs Regular Expressions

I do use GNU Emacs for almost every text file related thing. Functions like search, replace, cut, paste, etc are all quickly mastered. But, then I've faced a different situation. I had to replace a string, repeat some numbers and put another string. The answer: regular expressions. Emacs has a regular expression replace function. To access it, just type: "Ctrl + Alt + Shift + 5" (too much keys huh... ?) And it asks what should be searched. In my case, in which I wanted to capture the regex match, I did type \([0-9][0-9][0-9]\) to locate a 3 digit numbers and capture them. Then I typed enter and did tell Emacs what it should put in those numbers place: ID=\1; mv \1 ./safebox/\1 And enter again and ! to replace all. That is it.

Automation

As an exercise for our teaching methodologies class, my group had made an automation lecture. Here are a couple of videos illustrating a cool kind of automation. More on http://xpock.tv/play.php?vid=1823