Tuesday, October 26, 2010

[Stub] Debugging Strategies and Techniques

See Also:
C++ Debugging strategies and techniques


debugging-guide.com website
Debugging Books


Links on Debugging Resources

Tools For Debugging C/C++ software

Howto Debug with GDB

See Also:
Fun with strace and gdb - article on ibmdeveloperworks
GNU project debugging with gdb - article on ibmdeveloperworks

Under The Hood Look At Shared and Static Libraries, Linkers and Loaders

Linker Loader :
Link order of libraries ,
Link options for gcc ld,
Yolinux Tutorial on Static, Shared Dynamic and Loadable Linux Libraries,
Shared Library How-to,
How-to write Shared Libraries by Ulrich Drepper (Redhat),
Cross Platform Shared Library How-to ,
Program Library How-to,
Linkers and Loaders online downloadable book 

Howto Look Inside Executables, Libraries and Object Files

Object file commands :
strip,
ld,
objdump,
nm ,
objcopy,

Blog on How to Use Objdump to look inside Your Program
Unix Tools for inspecting Object files (article on LinuxJournal),
The ELF Object File Format by Dissection
,
Wikipedia on Executable File Formats

Learning Python - Collection of Resources and Links



Beginner:
BeginnersGuide
BeginnersGuide/Download
BeginnersGuide/Overview
HowToEditPythonCode
BeginnersGuide/NonProgrammers
BeginnersGuide/Programmers
How do I Run a Program Under Windows
PythonEditors
BeginnersGuide/Programmers (Cpp2Python.pdf)
Good Presentation by a C guy on Python features


Blogs:
Dorai's blog post on Learning Python

CookBooks:


BeginnersGuide/Programmers/SimpleExamples
Python Snippets and Recipes
Python by Example
Common programming tasks in Python
Pythonic File Searches


Using Pythonic Idioms and Style:
Definition of "Pythonic" here
Presentations:
How to Write Pythonic" code by Christopher Arndt
Presentation on "Code Like a Pythonista: Idiomatic Python" by David Goodger
Presentation on "Code Like a Pythonista: Idiomatic Python" (Crunchy Remix) by Jeff Hinrich 
How to produce slides like above using Python tools

Style Guide for Python Code

My blog on Exploring the Python standard library source code

Books:
IntroductoryBooks
Python books
How to think like a computer scientist with Python
Bruce Eckel's community contributed book: Python 3 - Patterns & Idioms

Version Issues:
Python2orPython3
What's New in Python 3.0
What's New in Python 2.6
What's New in Python 2.7
Moving from Python 2 to Python3 (PDF)
Porting Code to Python 3 with 2to3
Case Study: Porting chardet to Python 3

Learning Resources:
Installing Python

MultiMedia:
Video on "Head First into Python 3"
5-minute videos on Python Capability
ShowMeDo Screencast of Python 2.5 Development on XP
Audio/Visual Talks on Python
Introduction to Computer Science and Programming (videos from MIT course)
Podcast Python411

Python3:
"What an IronPython user should know about Python 3"

Python 3 focused version of Dive Into Python
Teaching programming with Python 3

Python 3.1:
Setup
Documentation

Python2.x:

Python Tutorial
Dive Into Python
A Byte of Python
Instant Python
Download Thinking in Python (Old) by Bruce Eckel here
Python for Java programmers


Moving to Python From Other Languages
Python is not Java


MovingToPythonFromPerl
Practice Problems for Python


Reference:
Official Python website
Python Wiki
Python 2.7 FAQ
Python 2.7 Windows FAQ
Python Quick Reference
Python Language Reference manual 
Python's Standard Library Reference manual
Module Index of the Python docs
Python's reply to Perl's CPAN: Python Package Index (PYPI)
Extending and Embedding the Python Interpreter
Python/C API Reference Manual

See Also:
Eric S. Raymond article on moving to Python: 'Why Python?"

MediaPacker - Utility to help pack your DVDs and CDs to the brim

Media Packer is meant to solve the following problems.
1) Allow good-fit packing of DVDs, CDs with given set of directories/files.
2) Intention is to semi-automate (i.e. provide suggestions to users) or fully automate the process of packing backup media such as DVD, CDs.
3) To be developed in Python for portability and ease-of-extension

InProgress:
1) Display media space occupied by a folder structure (files and directories).
File Size code snippet,
>>> import os
>>> b= os.path.getsize("/path/isa_005.mp3")
>>> b

File I/O tutorial
>>> f = open( 'test.txt', 'at')
>>> f.writelines( str(b))
>>> f.close()
>>> f = open( 'test.txt', 'rt' )
>>> s = f.readlines()
>>> s
Directory Size Lister (Check out the comments at end of blog to get info on )
Pydirstat. pydirstat is a really handy cross-platform, command-line way to generate information about disk usage. http://developer.berlios.de/projects/pydirstat/

Future features:
1) Add catalog and search facility to uniquely identify each media, add tags for folders/files and user comments.
2) Allow collaboration and sharing of catalogs among friends to share useful files.
3) Possibly use bit-torrent protocol for the sharing??

To be released under GPL.

See Also:
MediaPacker sourceforge account

StarUml is dead (NOT)!! Long Live the Stars!!

Star UML a very nice stable open-source design tool was suspected to be dead.
The tool is downloaded quite heavily, but development seems to have been abandoned as of 2005 with a stable release version 5.0.

But hey!! Just-a-minute, StarUML seems to have been rebooted as of (2010-July-19).
Originally written in Delphi, looks like its being converted to an eclipse plug-in in java.
Don't know how long it'll take to do the conversion though.
Seems like there are two(?) developers working on it right now.
Best of Luck to you.
Anybody with experience in Eclipse plugins and Java wanna help?!!!

Refer the project news and an announcement below:

Kick-off with Java-based StarUML Project

http://sourceforge.net/news/?group_id=152825