2005-06-02

vi 'ed

I've been using vi for quite a while now, however, never really bothered to trawl through the man pages to learn its more esoteric capabilities. Besides, the usage wasn't very high, and I resorted to the usual 'copy over to windows, modify in Word' strategy.

Now that I had some time, I've been able to explore a few things:

Search and Replace

Search: as we probably all know, a pattern can be searched by:
/search_string

Replace: (This was the tricky one for me, since I could never get it to work in the past)

:s/search_string/replace_string - replaces the first occurence of 'search_string' with 'replace_string' on the current line
:s/search_string/replace_string/g - replaces all occurences of 'search_string' with 'replace_string' on the current line
:1,$s/search_string/replace_string/g or :%s/search_string/replace_string/g - will replace all occurences of the 'search_string' with 'replace_string' in the entire file

Moving Around
h move the cursor one character to the left
j move the cursor one character down
k move the cursor one character up
l move the cursor one character to the right
0 move to the beginning of a line
$ move to the end of a line
G move to the end of a file
1G move to the first line of a file
Ctrl+F move down one screen
Ctlr+B move up one screen

2005-06-01

Managing PuTTY settings

On windows, PuTTY settings are stored in the following registry key:

HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions


To export settings to a file:

regedit /e putty.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions

To import settings:

regedit /s putty.reg

2005-05-18

Oracle for Unix - I

oratab

Found usually in /etc or /var/opt/oracle.

oratab is used by ORACLE utilities. It is created by the root.sh script (a part of Oracle installer), and is updated by the Database Configuration Assistant when creating a database.

Entries in this file have the following format:
$ORACLE_SID:$ORACLE_HOME::

A colon, ':', is used as the field terminator. A new line terminates the entry. Lines beginning with a pound sign, '#', are comments.

The first and second fields are the system identifier and home directory of the database respectively. The third filed indicates to the dbstart utility that the database should , "Y", or should not, "N", be brought up at system boot time.


List all installed Oracle products

For Oracle 8i and above:
cd $ORACLE_HOME/install
cat unix.rgs


Verify Oracle installation

select host_name, instance_name, version, status from v$instance;



TNS-12542: TNS:address already in use

Check if the TNS port is not already in use by another Oracle instance.
  1. Check if the host name specified in listener.ora is correct.
  2. Do a netstat - a to check if any other application is using the port specified in listener.ora
  3. If the listener.ora has been copied from somewhere (samples or elsewhere), check the ORACLE_HOME

Set the Listener Process for Automatic Startup

Edit /var/opt/oracle/lsnrtab, and change/add a line containing the name of your listener (as specified in listener.ora and change the start-up value to "Y")



2005-05-10

Cisco SAA

The Cisco Service Assurance Agent (SAA) is a Cisco IOS feature that allows users to monitor network performance between a Cisco router and a remote device (which can be another Cisco router, an IP Host or an MVS host). Performance can be measured for real world scenarios through the configuration of SAA operations that are executed periodically. Metrics measured include round trip response time, connect time, packet loss, application performance, inter-packet delay variance ( jitter), and more.

The SAA Support for Frame Relay, VoIP, and MPLS VPNs feature enhances the functionality of the Cisco SAA network monitoring solution as follows:

  • SAA Frame Relay - operations allow the user to monitor key performance metrics (round trip latency, packet loss, and data integrity) over Frame Relay permanent virtual circuits (PVCs).
  • With VPN Awareness, SAA allows monitoring within Multiprotocol Label Switching (MPLS) Virtual Private Networks (VPNs), enabling service providers to plan, provision, and manage IP VPN services according to the service level agreement (SLA) for a customer.

Benefits

  • Frame Relay Monitoring - The SAA Frame Relay operation allows users to measure parameters such as response time (round trip latency), frame loss, and data integrity over frame relay circuits (PVCs). By measuring these parameters, providers can verify if the protocol is working correctly to meet customer needs.
  • Path Jitter Monitoring for VoIP Networks - The SAA Path Jitter operation allows the monitoring of interpacket-delay-variance a hop by hop basis. The Path Jitter operation provides measurements not only for jitter, but for other parameters such as response time, packet loss. The ability to monitor jitter is a key performance metric for VoIP networks. By using this operation, providers can monitor the performance of different paths in the VoIP network to insure Voice transmission quality for customers.
  • MPLS VPN Monitoring (VPN Awareness) - This enhancement to the SAA allows users to launch SAA operations on an MPLS VPN PE router. Being able to launch SAA operations allows providers to plan, provision, and manage IP VPN services according to the SLA for their customers. VPN Awareness means that montoring can be performed for a specific VPN by specifying a VPN routing/forwarding (VRF) name.

References

  1. Cisco SAA Support for Frame Relay, VoIP, and MPLS VPN Monitoring
  2. Network Performance Management with Cisco SAA
  3. Cisco Systems Service Assurance Agent (SAA) (pdf)

Categories: , , ,

2005-05-09

Layer 2, 3 and 4 switching

OSI LayerPhysical
Component
7-ApplicationApplicaton Software

LAN-Compatible Software
E-Mail, Diagnostics, Word Processing, Database

Network Applications
6-PresentationData-
Conversion Utilities
Vendor-Specific Network Shells and Gateway™ Workstation Software
5-SessionNetwork Operating SystemSPXNetBIOSDECnet™TCP/IPAppleTalk®
4-TransportNovell® NetWare® IPX™PC LANLAN MgrDECnetPC/TCP®VINES™NFSTOPS®Apple
Share®
3-Network Control
2-Data LinkNetworkEATRPTRETREEEPEP
1-PhysicalE=Ethernet; TR=Token Ring; A=ARCNET®; P=PhoneNET®

Layer 2 (data-link) Switching

Layer 2 switches use the MAC address, and are very fast since they are just sorting physical addresses.

If the layer 2 switch does not know where to send its frame, it broadcasts the frame from all its ports to the network to learn the correct destination. When the frame's reply is returned, the switch learns the location of the new address and adds the information to the switching table.

Layer3 addresses are determined by the equipment manufacturer.

Layer 3 (Network) Switching

Layer 3 switches use the network or IP address, and are capable to identifying the network locations as well as the physical address. A location can be a LAN workstation, or even a location within the computer's memory (port)

Layer 3 switches are smarter than layer2 devices incorporating routing functions to calculate the best path for delivering packets, however; they are not as fast as the layer2 switches.

Layer3 addresses are determined by the network administrator.

Layer 4 (Transport) Switching

Layer4 switches make use of the application protocols (HTTP, FTP, etc) to deliver the packets to appropriate application software, thus making decisions based not only on the MAC or the IP address, but the application a packet is targeted to

Layer4 switches allow for priorities to be established for network traffic based on application.

Implications of layer2 and layer3 switching

Although layer2 switches use microsegmentation to satisfy the demands for more bandwidth and increased performance, network designers are now faced with increasing demands for intersubnet communication. Every time a user accesses servers and other resources which are located on different subnets, the traffic must go through a Layer3 device.

MPLS

MPLS is an IETF initiative that integrates Layer 2 information about network links (bandwidth, latency, utilization) into Layer 3 (IP) within a particular autonomous system--or ISP--in order to simplify and improve IP-packet exchange.

MPLS gives network operators a great deal of flexibility to divert and route traffic around link failures, congestion, and bottlenecks.

From a QoS standpoint, ISPs will better be able to manage different kinds of data streams based on priority and service plan. For instance, those who subscribe to a premium service plan, or those who receive a lot of streaming media or high-bandwidth content can see minimal latency and packet loss.

When packets enter a MPLS-based network, Label Edge Routers (LERs) give them a label (identifier). These labels not only contain information based on the routing table entry (i.e., destination, bandwidth, delay, and other metrics), but also refer to the IP header field (source IP address), Layer 4 socket number information, and differentiated service. Once this classification is complete and mapped, different packets are assigned to corresponding Labeled Switch Paths (LSPs), where Label Switch Routers (LSRs) place outgoing labels on the packets.

With these LSPs, network operators can divert and route traffic based on data-stream type and Internet-access customer.

2005-04-12

Perl - delete empty directories

The Program

use File::Find;
finddepth(sub{rmdir},'.')

But wait, there's more!

To save the time of copying that to a file before running it, use Perl's lazy feature whereby one can run a whole program from a string. Simply, on the command prompt, type

perl -MFile::Find -e"finddepth(sub{rmdir},'.')"



Cool, huh?!

2005-03-29

RegEdit, RegEdt32 Fun!

Here's something that I didn't know about:

RegEdit /s - Imports a registry file into windows registry. (-S = silent import)

RegEdit /e - Exports a registry path to filename.

Cool, huh?

Ideal for passing around PuTTY settings :-)

2005-02-17

Oracle space management

List all tablespaces and the files that belong to them

COLUMN TABLESPACE_NAME FORMAT A40
COLUM BYTES/1024*1024 FORMAT 999,999,999,999
SELECT FILE_NAME,TABLESPACE_NAME, BYTES/1024*1024
FROM dba_data_files

Archive Log Mode Status
/* log mode of databases */
SELECT name, log_mode FROM v$database;


Find overall size of the database

COLUMN sum(bytes)/1024/1024 FORMAT 999,999,999,999
select sum(bytes)/1024/1024 from dba_data_files;

Size of all TEMP files

select nvl(sum(bytes),0)/1024/1024 from dba_temp_files;


To shrink your current tablespaces to the HWM

select file_name,
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) smallest,
ceil( blocks*&&blksize/1024/1024) currsize,
ceil( blocks*&&blksize/1024/1024) -
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) savings
from dba_data_files a,
( select file_id, max(block_id+blocks-1) hwm
from dba_extents
group by file_id ) b
where a.file_id = b.file_id(+)
/


column cmd format a75 word_wrapped
select 'alter database datafile '''file_name''' resize '

ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) 'm;' cmd
from dba_data_files a,
( select file_id, max(block_id+blocks-1) hwm
from dba_extents group by file_id ) b
where a.file_id = b.file_id(+) and
ceil( blocks*&&blksize/1024/1024) -
ceil( (nvl(hwm,1)*&&blksize)/1024/1024 ) > 0
/


Moving datafiles

  1. Shutdown database
  2. Take a full cold backup (optional)
  3. Copy the datafiles from the existing filesystem to the new one (you can always delete the file from original filesystem later)
  4. Startup mount instance
  5. For each datafile, ALTER DATABASE RENAME TO
  6. ALTER DATABASE OPEN;
  7. ALTER DATABASE BACKUP CONTROLFILE TO TRACE; -- since we changed the database structure and must preserve it.
  8. Delete the file(s) from the original filesystem.

Some datafiles can be removed while the database is running, but only if they:
  1. Are not part of the SYSTEM tablespace
  2. Do not contain temporary segments
  3. Do not contain rollback segments
To move the datafiles of a tablespace from one filesystem to another, without shutting down the database:
  1. ALTER TABLESPACE ABC OFFLINE;
  2. Copy the required files to the new location
  3. For each datafile, ALTER TABLESPACE ABC ONLINE;
  4. ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
  5. Delete the file(s) from the original filesystem.

2005-02-16

Solaris run levels

Solaris init states refer to the services provided by the system. The exact services and processes run at each init level are determined by the scripts in the /etc/rc#.d directories. The default service levels for each init state are:

  • 0: The system is at the security monitor (>) prompt. It is safe to shut down the system when it is at this init state.
  • 1, s or S: This state is known as "single-user" or "system administrator" mode. Root is the only user on the system, and only basic kernel functions are enabled. A limited number of filesystems (usually only root and /usr) are mounted. This init state is often used for sensitive functions (such as kernel libc patches) or while troubleshooting a problem that is keeping the system from booting into multiuser mode.
  • 2: Multiple users can log in. Most system services (except for NFS server and printer resource sharing) are enabled.
  • 3: Normal operating state. NFS and printer sharing is enabled, where appropriate.
  • 4: Usually undefined.
  • 5: Associated with the boot -a command. The system is taken to init 0 and an interactive boot is started.
  • 6: Reboot. This state takes the system to init state 0 and then to the default init state (usually 3, but can be redefined in the /etc/inittab file).

To get to a desired run level n, each of the rc (run control) scripts from 1 to n is run. To get to run level 0, the K scripts are run in each rc#.d directory between the current run level and 0 in reverse numerical order.

2005-02-14

Ipswich and Adastral BT

Ipswich is in the heart of East Anglia and the heart of Europe. It is the regional centre for business, shopping, sport and entertainment. Ipswich is home to IP-City and is one pole of the Cambridge/Ipswich Hi-Tech Corridor. It is proud of its 800-year Royal Charter and its long maritime tradition and also possesses a magnificent heritage and fine parks.

Adastral Park is a large campus in the middle of nowhere! It’s about 10 miles outside Ipswich. Onsite, there are ATMs, a Post Office, restaurant, coffee bar and gym.

How to get there?

  • By car, take the A12 north-east from London / M25. Look out for a roundabout signposted ‘Adastral Park’ to the right.
  • By train, catch a train from London Liverpool Street to Ipswich, and then a cab from Ipswich station to Adastral Park.
You need a photo pass to get through the main security gate, and a proximity tag to get around the building.

On arrival, visit the Reception Block to get your photo pass, and call one of the Quallaby onsite team who will have to come and collect you.


Taxis

It can get difficult to find a taxi once you are at BT premises. However, there are several cab companies that thrive on the traffic between Ipswich and Martlesham. Below are some numbers:

Ipswich cab company: (01473) 25 22 22 and 25 44 44
Avenue Taxis: (01473) 40 70 70

2005-02-03

Week II in France

The Indian from England with quasi-American accent was back in Paris. Yay! Guess the French weren’t so happy as the grumpy official at passport control was brusque enough to wipe my helpful (slight nervous?) smile. The taxi driver could speak some English though. Another yay! Not that it was of much use – the splitting headache and his hands-free mobile made quick work of whatever appetite I had for a conversation.

The room was in the main hotel this time, which was much better than I expected. I think I actually got some sleep that night.

Monday

New trainer, new course material. And surprise! It’s a change for the good. Goes out to prove how much a difference depth of content, competence and a non-McDonald’s IQ can make! On the flipside, the long days leave no time for exploring Paris.

Met Michal at the training centre. He works for the Polish office of CH2M HILL, and is quite the opposite of the Polish guys at the training last week (more friendly). The one drink before dinner resulted in…. well, few beers now that I have lost count, and back at the bar in the hotel, the part-time boxer-bartender, served us the ghastliest cocktail ever. I think it supplied a year’s worth of sugar that one needs. Maybe he was punched in the wrong place.

Tuesday

Dreading a tough morning-after, it was pleasant yet difficult to wake up next morning. No headache, yay! There was just enough time to shower (though I still looked wrecked), but made it in time. No surprises during the day.
Went for lunch again to this cosy little family-run restaurant. While the publican had offered me this "Indian" pudding the day before (at the behest of their "Sri Lanki" cook I suspect), I was surprised she made the "Jus de Orange" for me. I found out later I was the first customer they made if for. Apparently everyone else either goes for the fizzy orange drink, or the omnipresent Coca-Cola. Ordered the wrong dish though, so had a tough time pushing those slices of ham down my throat. "Coup de Fruits" for the dessert was every bit as delicious as it looked. The warm homely setting of the pub made me long for home. Not that India has such pubs. Or restaurants. Most public places are solely in the male dominion, unless it’s a hip night-club. But I digress. The publican beamed broadly when I thanked her for the orange juice (I think she did understand what I said though she doesn’t understand English – one of those things that’s so human).

And the "Indian" pudding? Oh, I’m quite sure there is no such Indian pudding.

Wednesday

Pizza again. Same place. Another bad choice. Some very salty fish on the pizza, so I guess I could live without salt and sugar for a year now.

A week in France

A week in France


So finally the visa problems were sorted out and I was off to France. The flight was uneventful, however, upon arriving in France I found that my mobile wasn’t working. After some interesting conversation with the taxi driver at the airport (and abortive attempts to pronounce the name of the place I had to go), I somehow managed to reach Porte de Saint Cloud.

The hotel wasn’t all that bad, however, I was booked into the apartments which can be quite unattractive and uncomfortable, especially since they are not serviced if you stay more than 2 days. Also due to the failed 3 mobile, I had to resort to making calls from the hotel to home every morning and evening. There was on-demand Internet access available at the hotel, but of course, one had to pay for it.

Monday

The big day! As usual, there had been a lot of talk in the office about the dress code, so I went all decked up in a formal suit. That I was overdressed, is an understatement (the American trainer was in a crumpled shirt and a lopsided tie, supposedly imitating the latest in style back home). We had an interesting mix of people in the class, and that most attendees could barely speak English didn’t help.

The training started off well, making one believe the slow pace was designed to break it all in gently. Little did I know that it masked the lack depth, both in the course and trainer’s technical skills.

Lunch was interesting; though I was disappointed when we chose an Italian pizza place to eat. Nonetheless the pizza tasted better, and different than what it has ever tasted anywhere.
Had my first glimpse of the Eiffel Tower in the evening. The thrill of being able to see what had been force-fed since childhood (usual general knowledge question – "Where’s the Eiffel Tower?") was uncomparable. It does look beautiful, though in retrospection, it is but a phallic symbol. Not much different that Indian’s worshipping the Shiva-lingam
Only when I reached the tower did I find out that one could climb up the tower. Elevators for the tourist, as well as stairs for the more adventurous. Being lazy and subdued by the weather (-6 C), I took the elevator, and was totally unprepared for the stunning views of Paris. Took dozens of photographs, however, most are fuzzy since I couldn’t battle both the wind and cold at the same time.


Tuesday

If I was able to concentrate somewhat in the training the first day, the second was a nightmare. The course content dragged on, and I wandered off to more interesting things. Like doodling. The highlight of the day was the couple of beers in the hotel room in the evening. Sad, eh?


Wednesday

The ice was broken somewhat among the attendees, so John and I decided to go out and explore Paris a bit. Barely awake by 4:30 PM when the "training" finished, we took the metro. Destination: Arc De Triomphe, and the walk on Champs de Elysees to the Louvre.

If I thought Indian heritage had a penchant for opulence, France taught me that they have that, and the ability to preserve it. While Arc de Triomphe is a poor man’s Gateway of India, Champs de Elysees is stunning. While brightly-lit neon signs are ubiquitous in the high street of any big city, the sheer force of architecture and beauty is overwhelming. Not to mention the French passion for sales (called soldes). And there are always plenty of couples adding romance in the air.

By the time we crossed Champs de Elysees, we were almost frozen. The wind was brutal, and probing, But nothing that a few beers couldn’t cure. Louvre will have to wait for another day.


Thursday

Another dead day. Tried to economise by buying a couple of cheeseburgers (I now have the most perfect set of side handles now), but of course, I had to get something to wash them down and something for a snack, so I probably spent more on this economical meal. I guess I learnt something that day, if only I could remember what?


Friday

What training? Everything there was, was completed the day before (I had by now these wonderful sketches – the cap of pen here, outline of a computer mouse there, plus an extra large number of graffiti across the training manual).

Anyway, it was the best day of the whole week. Christophe and I had to meet John at the Notre Dame Cathedral, and we took a detour to see Louvre first. Biggest courtyard I ever saw. Various extracts of the Da Vinci Code ran before my eyes, and I stopped for a while to wonder about the signifiance of the four glass pyramids. Ah well, I got some photographs at least. Though I couldn’t go in, so my date with Monalisa will happen some other time.

Notre Dame is imposing. The fine sculptures on the outside give way to this serenity and calmness inside. There were people on the pews lost in their thoughts, while some were visibly shaken and probably in pain. That of course didn’t stop the tourists from flouting the "No-pictures" law. Never saw any place of belief as violated as that.

The pall of gloom lifted quickly enough when Christophe took us across to these alleyways that had some Greek and "Irish" pubs. A pint of Guinness extra cold was made available, but whether it was cold was debatable. Two pints and then off to hotel, and then in the taxi to the hotel. There was a bit of panic on the motorway when the beer was kicking in and I could see the traffic slowing down. It must have all cleared up though, since when I woke up (after some heavy snoring as alleged by the taxi driver), we were almost at the airport. Snooty airline waitresses made it amply clear I was entering England.


Whatever european warmth was left, was taken away of course, by the taxi driver in England.
Ps: I had to go back to France again (I found out on Friday), but that then, is another blog!

2005-01-18

Swastika

I've had a lot of stick about this with my (mainly western) friends - The Swastiska. Made popular by its association with Hitler's nazism and racism. Which always made me want to shrivel up and implode, since that symbol of hatred was ever present in innocuous little forms in my house all year-round.

Of course, these were the days before The Internet and its panacea, Google. Days which relied upon a person's ability to recount facts, formulate coherent sentences, or at worst, produce a ratty, ear-marked booked from the family's heirloom collection, to back the argument. Or as was usually the case, timely employment of the vocal chords for maximum output.

Those were the days. But, the argument can now be won over, with many a sources produced as evidence, and numerous cross-references. It all started with the rather ignoble act of another British royal family member, the charming Prince Harry wearing a
Nazi costume to a fancy party. While one could spend an entire day listing the subsequent events - from the usual (Tory leaders demanding apology) to the attention-hungry, to the unexpected EU calls for ban on Nazi symbols.

But I digress. Back to Swatiska and its origins.

The swastika is a cross with its arms 90° to either right or left. It is usually oriented horizontally or at a 45° angle. Its Indian form typically features a dot in each quadrant (as shown in the figure to the right).

The word swastika is derived from the Sanskrit svastika, meaning any lucky or auspicious object, and in particular a mark made on persons and things to denote good luck. It is composed of su-, meaning "good, well" and asti a verbal abstract to the root as "to be"; svasti thus means "well-being". The suffix -ka forms a diminutive, and svastika might thus be translated literally as "little thing associated with well-being", corresponding roughly to "lucky charm".

The swastika is an ancient symbol that has been used for over 3,000 years. Artifacts such as pottery and coins from ancient Troy show that the swastika was a commonly used symbol as far back as 1000 BCE.

In my house, Swastika was drawn clockwise on all auspicious occasions, where the clockwise arms signified Brahma, The Creator. When drawn in anti-clockwise directions (not usually in homes, if I remember correctly), it signified the involution of the universe (nivrutti). The clockwise Swastiska is also seen as pointing in all four directions, stabilising the energy fields where its drawn, and providing a sense of peace. It also a good-luck symbol. It is used in all Hindu yantras and religious designs. It can be seen on the sides of temples and on religious scripture to gift items and letterhead in India. The swastika is considered extremely holy and auspicious by all Hindus.

So how did this good-luck totem, this innocuous symbol of well-being become so firmly rooted in Nazism?

Well, the simplest explanation is that the Nazi use was linked to the belief in the Aryan cultural descent of the German people. They considered the early Aryans of India, to be the prototypical white invaders and hijacked the sign as a symbol of the Aryan master race. Thus, they saw fit to co-opt the sign as a symbol of the Aryan master race.

Bet my mom had no idea that the little figure she drew so many times would come to symbolize so much racial hatred, and human extremity.



Airbus A380

It is rather ironic, and perhaps a sign of times, that a new passenger aircraft has been launched favouring the masses, when the one favouring technology and human excellence had to be taken off the skies.

Below are the specifications for this monstrosity that shall soon be let loose upon humanity.
  • Length: 73m
  • Wingspan: 79.8m
  • Height: 24.1m
  • Typical capacity: 555
  • Max capacity: 840
  • Engines: 4
  • Cruising speed: 0.85 mach
Airbus A380, a twin-deck aircraft can carry about 555 people - more than the Boeing 747 jumbo built by Airbus' main competitor. It is already praised as "crowning achievement of a human and industrial adventure", and has been described as a "European success".


If it's big, it must be good. It is the era of super-sizing, of oversized humans, and never-before obesity rates. It is an invention with an eye towards the bottom line, never mind that the A380 is almost $2bn over budget. It is a plane that needs a new factory: 490 metres long, 250 metres wide and 46 metres tall. It is a plane that warrants changes to airports. In fact, Heathrow is already undergoing modifications to accommodate this new flying monster - a pier at Terminal 3 will be demolished to make more space for the massive wingspan of the plane.


As usual, Europeans are quick to pounce on it as a testimony to "old Europe". The launch was, for Noel Forgeard, Chief Executive Airbus, a moment to behold, and not to be modest: "Under the name Airbus, Europe has written one of its most beautiful pages of its history". Yeah, maybe there 's Hitler in the making as well somewhere.


For consumers, it maps out the future of air travel, or at least the version touted by Airbus. But amidst the backslapping corporate executives, lets not forget that without government assistance, the A380 would probably never have been built. Billions of euros have been handed over in "launch aid loans" in recent years - under generous repayment terms - to assist Airbus's development of the A380. Airbus has downplayed the cost of the project despite the fact it could run as much as 1.5bn euros over budget. "That sounds quite a lot of money until you realise you are dealing with a programme which is about 11bn euros," commercial director John Leahy told the BBC.

Maybe, just maybe it will make flights cheaper.
Think more than 500 sweaty, overweight, smelly, foul mouthed, bad tempered, harrased and dehydrated passengers around you. Think of interminable queues at baggage collection, and absolute chaos when several flights land at the same time, and you get the idea. As more and more people fly, and the number of planes in the sky increases, surely customers will want more comfort. But then, that's the mantra for Boeing's dream liner.


2005-01-11

Hindi music and DVD websites

It's always a pain finding a decent hindi radio station, among the hive of bhangra spewing bollywood/asian "transition" stations, which play pretty much the same music.

This page lists such resources, along with websites that stock hindi DVDs not just from the current releases, but the real stuff of the past
  • Radio stations
    • DeSi-RaDiO (Listen now!)- plays indian/pakistani songs. This is one of the better sites, with capability to search and request songs, view playlist and provides a list of newly added songs and albums. Since the model is request-queue, you may not always like the song.
    • Radio Bollywood mantra - as the name suggets it caters, mostly, the latest stuff that bollywood spews out. Its not always to my liking, but I'm sure there must be some who fancy it. Winamp, Real, Windows Media
    • Ishara.net - Not sure if it belongs to this category, but last I checked it had streaming videos of bollywood songs. Not a very well designed website though
    • Radio Syberdentist - Yes, that's how it spelt. He calls his radio statio "Arrhythmia", and has about 3500 songs. The playlist repeats itself after about 4 hours, but there is some very likeable stuff there. I am not particulary impressed with the music quality, but then he's managing the station on his own. You can listen on modem quality (24 kpbs) or "broadband" (48 kbps)
    • Radio Sur - there's some good stuff here. You can email to request songs.
    • Radioteentaal - I looks that it's still under construction, but if you can look past the gaudy colours, you might find good quality music on here. Serves different bandwidths for Real, WinAmp, Windows Media and QuickTime, but sadly, you'd find the scratch DJ in odd places. Besides, the songs seem strangely remixed, so probably not for connossieurs.
    • A1 SmashHits Radio - Not really my type, since it requires you to have a specific plugin than let you listen to a shoutcast stream, but it offers the capability to listen by genre, actor/actresses and even music director.
    • Music India Online - Similar to A1 SmashHits, with a better collection. Again, requires a specific plugin to listen, but has less pop-ups
    • Raaga - Probably the best among websites that provide a choice of genres. A useable interface (a first for Indian websites!)
  • DVD
    • Play - As much as I'm angry at play for a meagre stock of hindi (or bollywood) movies, it probably has the biggest collection for any website that I've come across so far. Lets not forget the quality of service, and free delivery!
    • Tesco - Just another option, I don't think much of the collection, and its more expensive than Play anyway.
    • ChoicesDirect - poor man's DVD collection. Not sure why anyone would want to go here, but it's there.
    • BollywoodDVDs - They need to work a lot on their website, but it seems to have a collection that rivals Play. They stock Jaane Bhi Do Yaroo hehe! Course Play.com beats them in most comparisons, but you'll find a lot of stuff here that Play doesn't have. There's free UK delivery as well!

More webcams on google

No, not the naughty kinds

Following my earlier post on this, I fiddled around with documents types and found some more interesting stuff on Google. Here's another query that gives you URL to webcams online.

Voila! The results are even better this time! Not only are there cams available for public viewing, but there are cams that you can pan and rotate, and even with sound! :
  • This one seems to be opposite to a car park, which you can zoom and rotate. You can change resolution
  • (Apparently) vet hospital - I could see a cat lying with one of those protective cones around its neck, and there were machinery bleeps on regular intervals that was probably monitoring its health closely. In the background I could hear footsteps, the kinds that are produced by high heels against hard surface. Nurses maybe? And occasionally, you can hear them talk and giggle. Either the cam is configured to rotate on itself, or maybe someone else was messing with it the same time as me :p Wait! There are two cats, and some woman's slippers there as well. Freaky...
  • This one says Carthage Square. The very first hit for "Carthage Square" reveals a weather cam on Carthage Square, in Carthage, Illinois. From the website: "..showing the area around the Hancock County Courthouse and the weather in Carthage. It is taken from the Station House Restaurant (thanks, Randy!) on the south side of the square, generally looking to the North.."
  • This one is from Cal Poly State University, CA, in some "hangar". You'll know what I mean
  • If you are into flowers and outdoors, here's just the cam for you :)
  • This perhaps is the one with most activity, in Minoshima, Japan. Any guesses to what it monitors? You can see ppl crossing streets, biking, and if you are sharp enough, you can spot registration plates of the cars passing by :-)
  • This monitors, what I think, a server room. The light were switched off when I was messing about with it, but you may have better luck!

Most of these ask you to install the Panasonic Camera Control OCX, which I was initially hesitant to install, but I took the plunge on my old PC, and ran the AV on it, without any problems. Further, most of these cams are in Japan and America, and some in Germany.

I must have broken so many laws tonight...

2005-01-10

Publicly accessible online webcams

I'll never tire of being amazed at the kind of stuff that I find on Google.

Here's a Google query that retrieves a list of online web-cams - some of which are probably not meant to be publicly accessible. For example:
Most of the cams have pretty boring stuff on them, like this gas station, or this university campus. I'm sure if I trawl through enough links, I can find some of the naughty ones heh, heh, but haven't got the time right now, unfortunately :-/.

If you'd like to find out where they are, you take have a good guess after you've entered the cam's domain name or IP into whois.


2005-01-09

"Extremely critical" IE6/SP2 Exploit Found

Another day, and brings another not-so-cheerful news...

Secunia is reporting three vulnerabilities in IE6 running on XP SP2. Any of these, in combination with an inappropriate behaviour where the ActiveX Data Object (ADO) model can write arbitrary files, can be exploited to compromise a user's system. Moreover, the vulnerability can be used to delete files from the user's system
  1. Insufficient validation of drag and drop events from the "Internet" zone to local resources for valid images or media files with embedded HTML code. This can be exploited by e.g. a malicious web site to plant arbitrary HTML documents on a user's system, which may allow execution of arbitrary script code in the "Local Computer" zone
  2. A security site / zone restriction error, where an embedded HTML Help control on e.g. a malicious web site references a specially crafted index (.hhk) file, can execute local HTML documents or inject arbitrary script code in context of a previous loaded document using a malicious javascript URI handler.
  3. security site / zone restriction error in the handling of the "Related Topics" command in an embedded HTML Help control can be exploited by e.g. a malicious website to execute arbitrary script code in the context of arbitrary sites or zones

Secunia has constructed a test, which can be used to check if your browser is affected by this issue:http://secunia.com/internet_explorer_command_execution_vulnerability_test/

Basically, this test uses the ntshared.chm MS-HTML help file, via ActiveX, to call this script [secunia.com], which, in turn, starts a new IE which goes to this site [secunia.com]. What's scary is this test script page from Secunia doesn't say what the test will do on your machine! All it says is "The test requires that you have Windows installed in 'c:/windows/"

Yet another reason to move to Firefox


2005-01-07

Real life newspaper Ad

Authenticity doubtful, but funny nevertheless ---

The following is an ad from a real-life newspaper, which appeared four days ina row - the last three hopelessly trying to correct the first day's mistake.

MONDAY: For sale: R.D. Jones has one sewing machine for sale. Phone 948-0707after 7 PM. and ask for Mrs. Kelly who lives with him cheap.

TUESDAY: Notice: We regret having erred in R.D. Jones' ad yesterday. It shouldhave read "One sewing machine for sale cheap. Phone 948-0707 and ask for Mrs.Kelly, who lives with him after 7 P.M."

WEDNESDAY: Notice: R.D. Jones has informed us that he has received severalannoying telephone calls because of the error we made in the classified adyesterday. The ad stands correct as follows: "For sale -- R.D. Jones has onesewing machine for sale. Cheap. Phone 948-0707 after 7 PM. and ask for Mrs.Kelly who loves with him.

THURSDAY: Notice: "I, R.D. Jones, have no sewing machine for sale. I smashed it.Don't call 948-0707 as I have had the phone disconnected. I haven't beencarrying on with Mrs. Kelly. Until yesterday she was my housekeeper but she quit"