Wednesday, November 19, 2008

parallel programming

so here we are : probably parallel programming the next best thing, and cuda is here to help.
  • here are some projects based on cuda
  • here is how to set up cuda development in linux (ubuntu).
  • and here is the fix for cuda 2.0 with ubuntu 8.10
so today is the development environment setup day. ... a while later ... and now the example make was successful, and i could see the modelling samples that comes with CUDA SDK. a couple of interesting projects would be :
  • mathematics problems that require high computational resources.
  • video encoding
  • encoding
  • cryptography
  • compression/decompression
  • modelling
  • password recovery

Friday, November 14, 2008

linux tips : search inside archives

search for a file inside a path containing archives ( .tar.gz .tgz ) I had the following problem : many archives ( .tar.gz ) and i needed to find where is located a specific file, so i came up with the following script:
#/bin/bash
#script to find a file inside an archive in a specific path

if [ $# -eq 2 ] ; then
 LIST=`find $1 -name '*.tar.gz'`
 
 for file in $LIST
 do
  result=`tar -tzvf $file | grep -c $2`
  
  if [ $result -gt 0 ] ; then
   echo "Found in $file"
   echo  "  `tar -tzvf $file | grep $2`"
  # tar -tzvf $file
  fi
 done
else
 echo usage : $0 path_to_search name_to_find
fi


exit 0

Wednesday, November 12, 2008

a date with asus g50v-a2

so here it is my date for today, her name is g50v :) i saw her face she was standing lonely in the corner : i took a closer look : and then i estimated the catch in 3d space: and came forward to say hello: first she turned the back to me: one way and another : but after i told her about my intentions she decided to open herself to me: then we had a little chat about math and how good she is at it : in the morning (high performance profile): in the evening (battery profile): then she told me something about herself: in the morning(high performance) her face looks like this : in the evening(battery profile) the face looks like this: but the rest of her is the same : when she's chilling in the office she looks like this : also she said she feels good about her memory: my conclusion after the date is the following : RAM : 2x 2 GB Hynix memory HDD : 2x Seagate 7200.2 200GB CPU : Intel T9400 GPU : Geforce 9700 GT WIFI: abgn CDRW/DVDRW/BRD Altec Lansing speakers : medium laptop sound quality I/O : SD 2.0 reader, ESATA, USB x4, wifi antenna, hdmi, VGA, 1394 (aka firewire), GB LAN, Mic, Line in, Phones/s/pdif also in front BT/wifi hard (hopefully, it looks hard but it might be soft) switch. and the magic oled display in the front that should help, if only it could show the temperature and other interesting things, currently it is limited to cpu/ram/battery info + some windows things : email, msn . 15.4" screen 1680x1050 which is pretty enough for daily tasks. in the end this laptop looks almost like a 17" er , the difference probably is about 2-3 cm in width, so it might be a better idea to take the 17" with better GPU. also in the process of mating i somehow lost the expressGate, funny. From the bad sides : * people always complain to me that the builtin microphone quality is below average. * low battery life (more to come, if i will ever update) anyway, have a good day, thank you for ur time. here follows is a complete forum thread/review : http://forum.notebookreview.com/showthread.php?t=282100 http://forum.notebookreview.com/showthread.php?t=283137

Wednesday, November 5, 2008

the start

here i stand to make the first step into the shared universe. i am a hired c/c++/java programmer lost somewhere on the cyprus island, hoping one day to escape to a better place. soon there will be more.