Jun 30 17:17

Facebook for democracy in Iran

Facebook for democracy in Iran

Apr 05 18:55

g1 dev vs emulator

It seems /dev/graphics/fb0 on the device and emulator behave differently. The following code snippet causes the emulator display to flash black and white, where as the dev only flashes slightly when important processes are killed.

#include
#include
#include
#include
#include
#include

int
main ()
{

int fbdev;
uint16_t *fb;

fbdev = open ("/dev/graphics/fb0", O_RDWR);
fb = (uint16_t *) mmap (0, 320 * 480 * sizeof (uint16_t), PROT_WRITE, MAP_SHARED, fbdev, 0);

Apr 05 14:48

Android G1 native c and SDL

SDL runs on android emulator. Download SDL and compile with following options. You need to replace /dev/fb0 with /dev/graphics/fb0 in SDL_fbvideo.c or your app will return error no video device found.

./configure \
CC=arm-none-linux-gnueabi-gcc \
--host=arm-linux \
--enable-audio=no \
--enable-video=yes \
--enable-cdrom=no \
--enable-joystick=no \
--enable-threads=no \
--enable-timers=no \
--enable-loadso=no \
--enable-video-fbcon=yes \
--enable-shared=no \
--enable-sdl-dlopen=no \
--enable-video-x11=no \
--enable-x11-shared=no \
--enable-dga=no \

Mar 18 08:57

This is so true

This is so true

Feb 24 08:43

koala

koala

Nov 17 17:28

The Print Network

I just came accross this realy cool printing business called theprintnetwork http://www.theprintnetwork.co.uk. They provide the complete printing solution.

Sep 13 20:59

DSP Project

The project described shows in detail how to digitise a colour Phase Alternate Line (PAL) signal from any PAL source such as a CCD or Scart Socket. The project is a micro electronic circuit for decoding a PAL signal using an embedded TMS320 microprocessor. The raw PAL signal is conditioned by a high frequency op amp to give a signal range of 0 to 5 volts. The signal is then sampled by the analogue to digital converter at 20 MHz, using its whole dynamic range, each sample is stored in memory as it is taken.

Sep 04 20:44

http://www.studiobar.com/livevideo/

I have just set up a media server for www.studiobar.com. Evenings entertainment can be viewed from 1900 BST by visiting the live webcam at http://www.studiobar.com/livevideo/

Sep 04 20:23

Home Made Nitrate Filter

I may have just figured out a way of lowering nitrates in my aquarium. Having viewed some commercial biological nitrate filters it is clear that to remove nitrates you need anaerobic bacteria. With a normal external canister filter that circulates water from the main tank at a relatively high rate you have too much oxygen for the anaerobic bacteria to thrive.

Sep 04 20:00

Address Geolocation

Here's a cool tool for address geolocation, and some other cool stuff

http://nsa.unaligned.org/