Saturday, 7 July 2007

Google and Linux Join Forces for Google OS

Read the story @
http://www.osweekly.com/index.php?option=com_content&task=view&id=2587&Itemid=449

The "Hello World" Collection

"Hello World" is the first program one usually writes when learning a new programming language. The first Hello World program appeared in chapter 1.1 of the first edition of Kernighan & Ritchie's original book about C, "The C Programming Language", in 1978 and read like this:

main()
{
printf("hello, world\n");
}
Since then, Hello World has been implemented in just about every programming language on the planet. This collection includes 330 Hello World programs in many more-or-less well known programming languages, plus 57 human languages.

Read @

http://www.roesler-ac.de/wolfram/hello.htm

PDF converter commands in GNU/Linux

pdftohtml
pdftops
pdftoppm
pdftotext
pdf2dsc
pdf2ps
pdffonts
pdfinfo
pdfimages
pdfopt

Why Linux is better?

I guess people won't switch to Linux because it's free (as in free speech, they probably don't care) or because it's free (as in free beer, they probably think they didn't pay for Windows), but because they see new, great features that Windows doesn't have. So here are a few reasons why Linux rocks!

http://www.whylinuxisbetter.net/

Free Software for Engineers

A Nice Article about Engineering softwares in FOSS.
Download it from here
http://freeshell.in/~shakthimaan/downloads/pdf/fsf.software.for.engineers.pdf

Basic Computer Concepts - Some Links

This is especially for My Friend MR

C

http://www.eskimo.com/~scs/cclass/krnotes/top.html
http://www.eskimo.com/~scs/cclass/int/top.html
http://www.eskimo.com/~scs/cclass/notes/top.html
http://www.eecs.umich.edu/~bartlett/C.html
http://zoobave.blogspot.com/2007/07/beginners-c-tutorial.html (Its My Blog)


C++

http://www.cplusplus.com/doc/tutorial/
http://www.glenmccl.com/tutor.htm
http://www.cs.wustl.edu/~schmidt/C++/
(Full of PDF's)
http://www.intap.net/~drw/cpp/
http://www.desy.de/gna/html/cc/Tutorial/tutorial.html


UNIX

http://www.ee.surrey.ac.uk/Teaching/Unix/
http://www.unixtools.com/tutorials.html
http://users.actcom.co.il/~choo/lupg/tutorials/
http://www.math.utah.edu/computing/unix/unix-tutorial.html

General Programming Concepts

http://cisnet.baruch.cuny.edu/holowczak/classes/programming/
http://en.wikipedia.org/wiki/Computer_programming
http://webpages.ull.es/users/jriera/Docencia/OOP/Tutorial/Object-Oriented%20Programming%20Concepts.htm
http://www.exforsys.com/tutorials/programming-concepts.html


Computer Networks

Try Google with the following keywords

computer networks filetype:ppt
computer networks filetype:pdf
Networks basic filetype:ppt

Networks basic filetype:pdf
Networks Concepts filetype:ppt

Networks Concepts filetype:pdf



For other things like GSM, CDMA, CDMA, TDMA, FDMA, DSL, ISDN refer wikipedia, it has full details with diagrams.

Friday, 6 July 2007

Some MTP based Open Source Projects

libmtp - a fork from libptp2, adds the extensions of mtp. Very good start - still has plenty of issues but is a great start. It's enough to get your MTP device recognized and able to send/recieve a few tracks.

  • I've used it; it works. I'm running CVS as of 2006-03-18 and it detects my Creative Zen Micro, lists its tracks. I haven't tested getting/recieveing/deleting tracks with the programs supplied in the examples directory of the package, but I'd assume they work.

id34mtp, a command line tool that transfers files to MTP devices, reading metadata from the id3 tag.

  • uses libmtp
  • Tested on 2006-03-18: works great! Able to send tracks just fine. I haven't tested extensively, but worked right out of the box.
  • had some compilation issues. It requires two header files from libptp2 - libptp-endian.h and libptp-stdint.h. I first installed libptp2 only to find that it actually wants the files in the project's directory. But hey, it's a prerelease, I wouldn't expect anything else :)

MTPdude, a graphical, beta MTP transfer program, written in GTK, using libmtp

  • tested on 2006-03-18 - compile fails, I'm not sure why really. Probably was based on libmtp's first release version, and I'm now running CVS.
  • CVS for MTPdude doesn't seem to exist (at least not yet). Probably more coming soon! Screenshots look promising and might yield a mini version of gnomad2, but for MTP.

mtpsharp, which can be obtained from mtpsharp, mtpsharp SF project page, or here, writer's personal page. Not sure what the point of this application is.

  • says it's in c++ when it's in c# ( i think)
  • looks to be a wrapper for win32 only - doesn't use libmtp or anything even posix at all - it claims to be a wrapper for win32 to provide mtp device access to .net languages.
  • probably won't work for us posix folks...but might be a decent starting ground for a mtp-sharp mono binding
  • I personally plan to work on a mtp-sharp mono port to plug into libmtp and eventually provide MTP support for Banshee.


gnomad2, the NJB client that is (probably) most popular; working on libmtp to eventually work with gnomad2.

  • According to website, has been working on MTP support, but I see nothing even in CVS.
  • One of the developers from gnomad2, however, is the lead for libmtp, so I'm sure gnomad2 will see MTP support in the coming weeks or months :)

libgphoto2 (and gphoto2) which have reportedly connected to some MTP devices (as gphoto2 is based around PTP cameras, and MTP is an extension, naturally making MTP work wasn't too hard)

  • might yield a better solution than libmtp? Not so sure anymore, after seeing that libmtp is a fork from libptp2 which has been around for a while.
  • so wait a sec - there's libmtp, and libgphoto2 which both have the same mtp functions? wtf...
    • who knows, maybe i'll write a banshee wrapper around gphoto :) can't be that hard!

mp32mtp, a command line program using libmtp

Combination Effects - Script.aclo.us

scriptaculous is great site to learn various effects.
Please have a look at the following link.

http://wiki.script.aculo.us/scriptaculous/show/CombinationEffects

Tutorial for Embedded MP3 Audio Player

Do you want to play a song from your website?
Check out the following tutorial.

http://www.macloo.com/examples/audio_player/

Python - Quickstart

Do you have any trouble to learn python? Checkout the following link.

http://www.serpia.org/tutorials

This site has the quick start articles about

* Python
* SPE, Python IDE
* wxPython
* MySQL
* XRCed/XML
* PyGTK/Matplotlib
* Search engine
* CherryPy
* Snippets