« Archives in December, 2005

Hardware Lister: lshw

RPMs: http://dag.wieers.com/packages/lshw/

Sample Output: 
root# lshw |more
    description: Desktop Computer
    product: HP dx5150 SFF(PE680AV)
    vendor: Hewlett-Packard
    serial: 2UA5450KR5
    width: 32 bits
    capabilities: smbios-2.4 dmi-2.4
    configuration: boot=normal chassis=desktop uuid=80C9A306-F6BE-1010-B4A0-AC7D0633B1F2

Question: How do I access my Packet8 voicemail?


From your Packet8 phone:

From outside the U.S.:

Toll free from the U.S.:

Book – Leadership Challenge by Kouzes and Posner

Summary some of the lessons for me:
Part 2: Model the Way
– Chap 3: Find your voice by clarifying your personal values

  • Look in the mirror.
  • Take time for contemplation.
  • Write a tribute to yourself.
  • Record the lessons from the leaders you admire.
  • Write your credo.
  • Engage in a credo dialogue and assessment.
  • Collect stories that teach values.
  • Audit your ability to succeed.

– Chap 4: Set the example by aligning actions with shared values.

  • Create alignment around key values.
  • Speak about shared values with enthusiasm and confidence – even drama.
  • Teach & reinforce through symbols & artifacts.
  • Lead by storytelling.
  • Put storytelling on your meeting agendas.
  • Ask questions.
  • Keep score.
  • Do a personal audit.

Part 3: Inspire a Shared Vision
– Chap 5: Envision the future by imagining exicting and ennobling possibilities

  • Read a biography of a visionary leader.
  • Think about your past.
  • Determine the “something” you want to do.
  • Write an article about how you’ve made a difference.
  • Write your vision statement.
  • Become a futurist.
  • Test your assumptions.
  • Rehearse with visualizations and affirmations.

– Chap 6: Enlist others in common vision by appealing to shared aspirations

  • Get to know your constituents.
  • Find the common ground.
  • Draft a collective vision statement.
  • Expand your communication skills.
  • Breathe life into your vision.
  • Speak from the heart.
  • Listen first – and often.
  • Hang out.

Part 4: Challenege the Process
– Chap 7: Search for opportunities by seeking innovative ways to change, grow and improve.

  • Treat every job as an adventure.
  • Seek meaningful challenges for yourself.
  • Find and create meaningful challenges for others.
  • Add fun to everyone’s work.
  • Question the status quo.
  • Renew your teams.
  • Create an open-source approach to searching for opportunities.
  • Send everyone shopping for ideas.

– Chap 8: Experiment and take risks by constantly generating small wins and learning from mistakes

  • Set up little experiments and develop models.
  • Make it safe for others to experiment.
  • Break mindsets.
  • Break it up and break it down.
  • Give people choices.
  • Accumulate yeses.
  • Admit your mistakes.
  • Conduct pre/postmortems for every project.

Part 5: Enable Others to Act
– Chap 9: Foster collaboration by promoting cooperative goals and building trust

  • Conduct a collaboration audit.
  • Be the first to trust.
  • Ask questions, listen, and take advice.
  • Always say we.
  • Create jigsaw groups.
  • Focus on gains, not losses.
  • Make a list of alternative currencies.
  • Take a lot of human moments.
  • Create places and opportunities for informal interactions.

– Chap 10: Strengthen others by sharing power and discretion

  • Offer visible support.
  • Assign critical tasks.
  • Enrich people’s jobs.
  • Use modeling to develop competencies.
  • Stop talking and start building at staff meetings.
  • Enlarge people’s sphere of influence.
  • Educate, educate, educate.
  • Create a learning climate.

Part 6: Encourage the Heart
– Chap 11: Recognize contributions by showing appreciation for individual excellence

  • Be creative about rewards.
  • Make recognition public.
  • Provide feedback en route.
  • Be a Pygmalion.
  • Foster positive expectations.
  • Make the recognition presentation meaningful.
  • Find people who are doing things right.
  • Don’t be stingy about saying thank you.

– Chap 12: Celebrate the values/victories by creating a spirit of community

  • Schedule celebrations.
  • Install a public “Bragging Board.”
  • Create a commemorative award honoring exemplary actions.
  • Demonstrate caring by walking around.
  • Show passion and compassion.
  • Be a cheerleader – your way.
  • Have fun.
  • Set the example – plan a celebration right now.

Book website: http://www.leadershipchallenge.com/

Web 1.0 vs. 2.0 from Tim O’Reilly

Summary of the lessons from Tim’s article:
1. The Web As Platform
– The value of the software is proportional to the scale and dynamism of the data it helps to manage.
– Leverage customer-self service and algorithmic data management to reach out to the entire web, to the edges and not just the center, to the long tail and not just the head.
– The service automatically gets better the more people use it.
2. Harnessing Collective Intelligence
– Network effects from user contributions are the key to market dominance in the Web 2.0 era.
3. Data is the Next Intel Inside
– The race is on to own certain classes of core data: location, identity, calendaring of public events, product identifiers and namespaces.
4. End of the Software Release Cycle
– Operations must become a core competency. The software will cease to perform unless it is maintained on a daily basis.
– Users must be treated as co-developers
5. Lightweight Programming Models
– Support lightweight programming models that allow for loosely coupled systems.
– Design for “hackability” and remixability.
6. Software Above the Level of a Single Device
7. Rich User Experiences

Scope of ERP

– Analytics (Strategic Enterprise Management, Financial Analytics, Operations Analytics, Workforce Analytics)
– Financials (Financial Supply Chain Management, Financial Accounting, Management Accounting, Corporate Governance)
– Human Capital Management (Talent Management, Workforce Process Management, Workfoce Deployment)
– Procurement and Logistics Execution (Procurement, Supplier Collaboration, Inventory and Warehouse Management, Inbound and Outbound Logistics, Transportation Management)
– Product Development and Manufacturing (Production Planning, Manufacturing Execution, Enterprise Asset Management, Product Development, Life-Cycle Data Management)
– Sales and Services (Sales Order Management, Aftermarket Sales and Service, Professional Service Delivery, Global Trade Services, Incentive and Commission Management)
– Corporate Services (Real Estate Management, Project Portfolio Management, Travel Management, Environment, Health and Safety, Quality Management)

Information Security

Eight fundamental concepts in security:
– Identification (user ID, application ID, or system ID. IDs are used to indicate to a system who or what is trying to gain access)
– Authentication (validate the claimed identity of a user or resource)
– Authorization (determine if an entity is permitted access to a particular resource)
– Confidentiality (ensure that only authorized parties have access to sensitive data. Privacy is a concept related to personal information, whereas confidentiality is a mechanism or a goal)
– Integrity (verification that data has not been garbled, modified, or lost inadvertently, system has not been tampered with)
– Availability (DDOS, performance)
– Non-Repudiation (legally admissible proof that a transaction occurred, such that neither participant in a transaction can later deny having participated)
– Accountability (processes and technologies necessary to track system usage, identify inappropriate actions, and address the problem)

CRM Process – Customer Life Cycle

1) Acquire (Direct Marketing)
2) Enhance (Cross-sell, Up-sell)
3) Retain (Proactive Service)

launchmany-console 4.3.2beta Usage

Usage: launchmany-console [OPTIONS] [TORRENTDIRECTORY]

If a non-option argument is present it’s taken as the value
of the torrent_dir option.

arguments are –
ip to report to the tracker (has no effect unless you are on the same
local network as the tracker) (defaults to ”)

world-visible port number if it’s different from the one the client
listens on locally (defaults to 0)

minimum port to listen on, counts up if unavailable (defaults to

maximum port to listen on (defaults to 6999)

ip to bind to locally (defaults to ”)

seconds between updates of displayed information (defaults to 0.5)

minutes to wait between requesting more peers (defaults to 300)

minimum number of peers to not do rerequesting (defaults to 20)

number of peers at which to stop initiating new connections (defaults
to 40)

maximum number of connections to allow, after this new incoming
connections will be immediately closed (defaults to 80)

–check_hashes, –no_check_hashes
whether to check hashes on disk (defaults to True)

maximum kB/s to upload at, 0 means no limit (defaults to 20)

the number of uploads to fill out to with extra optimistic unchokes
(defaults to 2)

the maximum number of files in a multifile torrent to keep open at a
time, 0 means no limit. Used to avoid running out of file
descriptors. (defaults to 50)

–start_trackerless_client, –no_start_trackerless_client
Initialize a trackerless client. This must be enabled in order to
download trackerless torrents. (defaults to True)

the maximum number of uploads to allow at once. -1 means a
(hopefully) reasonable number based on –max_upload_rate. The
automatic values are only sensible when running one torrent at a
time. (defaults to 6)

local directory where the torrents will be saved, using a name
determined by –saveas_style. If this is left empty each torrent will
be saved under the directory of the corresponding .torrent file
(defaults to ”)

how often to rescan the torrent directory, in seconds (defaults to

wait this many seconds after noticing a torrent before starting it,
to avoid race with tracker (defaults to 0)

How to name torrent downloads: 1: use name OF torrent file (minus
.torrent); 2: use name encoded IN torrent file; 3: create a directory
with name OF torrent file (minus .torrent) and save in that directory
using name encoded IN torrent file; 4: if name OF torrent file (minus
.torrent) and name encoded IN torrent file are identical, use that
name (style 1/2), otherwise create an intermediate directory as in
style 3; CAUTION: options 1 and 2 have the ability to overwrite files
without warning and may present security issues. (defaults to 4)

–display_path, –no_display_path
whether to display the full path or the torrent contents for each
torrent (defaults to True)

directory to look for .torrent files (semi-recursive) (defaults to

directory under which variable data such as fastresume information
and GUI state is saved. Defaults to subdirectory ‘data’ of the
bittorrent config directory. (defaults to ”)

character encoding used on the local filesystem. If left empty,
autodetected. Autodetection doesn’t work under python versions older
than 2.3 (defaults to ”)

ISO Language code to use: af, bg, ca, cs, da, de, el, en, es, es_MX,
fr, hu, it, ja, ko, nb_NO, nl, pl, pt, pt_BR, ro, ru, sk, sl, sv, tr,
vi, zh_CN, zh_TW (defaults to ”)

number of seconds to pause between sending keepalives (defaults to

how many bytes to query for per request. (defaults to 16384)

maximum length prefix encoding you’ll accept over the wire – larger
values get the connection dropped. (defaults to 8388608)

seconds to wait between closing sockets which nothing has been
received on (defaults to 300.0)

seconds to wait between checking if any connections have timed out
(defaults to 60.0)

maximum length slice to send to peers, close connection if a larger
request is received (defaults to 16384)

maximum time interval over which to estimate the current upload and
download rates (defaults to 20.0)

maximum time interval over which to estimate the current seed rate
(defaults to 100.0)

maximum time to wait between retrying announces if they keep failing
(defaults to 1800)

seconds to wait for data to come in over a connection before assuming
it’s semi-permanently choked (defaults to 30.0)

number of downloads at which to switch from random to rarest first
(defaults to 4)

how many bytes to write into network buffers at once. (defaults to

–retaliate_to_garbled_data, –no_retaliate_to_garbled_data
refuse further connections from addresses with broken or
intentionally hostile peers that send incorrect data (defaults to

–one_connection_per_ip, –no_one_connection_per_ip
do not connect to several peers that have the same IP address
(defaults to True)

if nonzero, set the TOS option for peer connections to this value
(defaults to 8)

–bad_libc_workaround, –no_bad_libc_workaround
enable workaround for a bug in BSD libc that makes file reads very
slow. (defaults to False)

address of HTTP proxy to use for tracker connections (defaults to ”)

close connections with RST and avoid the TCP TIME_WAIT state
(defaults to 0)

Use Twisted network libraries for network connections. 1 means use
twisted, 0 means do not use twisted, -1 means autodetect, and prefer
twisted (defaults to -1)

BitTorrent RPM Problem

Problem: You downloaded and installed the RPM from the official site and got this error.

$ launchmany-console
Traceback (most recent call last):
  File "/usr/bin/launchmany-console", line 16, in ?
    from BitTorrent.platform import install_translation
ImportError: No module named BitTorrent.platform
$ python -V
Python 2.3.4

Solutions: Some people suggested upgrade Python to 2.4, or you could get the source code, read the INSTALL.unix.txt

How to build an .rpm format package and install it:

Generate an .rpm format package:
$ python setup.py bdist_rpm
Then install the .rpm:
$ rpm -Uvh dist/BitTorrent-4.x.y-1.noarch.rpm

BitTorrent – Files renamed since 4.1.4

4.1.4 released for Windows & *nix
Renamed most BitTorrent command line scripts:
* btdownloadgui.py ⇒ bittorrent.py
* btdownloadheadless.py ⇒ bittorrent-console.py
* btdownloadcurses.py ⇒ bittorrent-curses.py
* btmaketorrentgui.py ⇒ maketorrent.py
* btmaketorrent.py ⇒ maketorrent-console.py
* btlaunchmany.py ⇒ launchmany-console.py
* btlaunchmanycurses.py ⇒ launchmany-curses.py
* bttrack.py ⇒ bittorrent-tracker.py
* btreannounce.py ⇒ changetracker-console.py
* btrename.py =� REMOVED, use maketorrent*.py
* btshowmetainfo.py ⇒ torrentinfo-console.py”