Friday, November 04, 2005

Eid Mubarak !

Eid Mubarak !

Friday, November 04 2005 - 7:41AM ;) few minutes in EID Prayers and i am blogging for nothing :D

Sunday, October 23, 2005

Using Windows Fax Service

I didnt get chance before to try Windows Fax Service, today i got to use it, actually my fax wasnt working and Haroon bhai was waiting for the fax. So i asked him to hold a minute. I installed "Windows Fax Service" from Windows XP CD (its an additional component and doesnt get installed automatically).

I had been trying to send the scanned document from a wrong way. I always ended up on sending only the cover page.

And finally, i found the correct solution to that. All you need to do is, whatever your document / image is right click on the object and select Print. In the Printing Options, select FAX, instead of a printer :) and you are done. Write the Name and Telephone number of receiver, [optional] attach Cover page, SEND !!!

One thing i didnt mention, you definitely need a working telephone line connected to your modem ;-)

So now, i can send / receive fax through my Computer.

Yahya Panday





Yahya Panday
copyright (C) 2005

Thursday, October 13, 2005

12 October 2005

1 Down ! 10 more to go. Todays paper, MPBS, went fine. Nothing special, it was average.

One thing i finshed writing today, is the user manual for Van Management System i developed. And i am really happy with that.

Will start LCS by tomorrow, LCS is quite tough, but the good part is that there is 4 days gap before LCS paper :D

Sunday, October 09, 2005

The Big Boss

It is when we start thinking that we are invincible ----
that He shakes us up to remind us who's the boss.



credits : http://lifemeansdrama.blogspot.com/

Monday, October 03, 2005

PakHero (CNG) AutoRikshaw

yeh rikshaw hai toofani
Pak Hero Pakistani
____ sab ki jani
yeh hai 4 stroke
na machaey ziyada shor
na koi dhuan na koi dhool
na yeh piyay petrol
yeh hai CNG se chalta
na hi lagay ga koi jhatka
...

great naa ???

Monday, September 26, 2005

misunderstood...

it's all good if i m not understood, but its bloody annoying if i'm misundestood... :'(

Credits: http://lifemeansdrama.blogspot.com/

to my dear NED with Love ...

Being almost for 3 years in NED , i found out that

"NED aik aisa bargad ka darakht hai, jiske neechay saray gadhay bandhay hain"

The problem (i think) with NED is, that we have good courses - but not good teachers to teach those good courses.

I want to tell you my Dear NED, that your yearly examination system Sucks. Not to mention, this is one of the things which i hate about you.

One of the thing that happened this year and i liked it most, other than last day festiv :P was Silent Polling ( dont know whether it will have some effect or not)

- your lover

Friday, September 23, 2005

Transporter 1 & 2

Rule 1 : Never change the deal
Rule 2 : No Names
Rule 3 : Never look in the package

Rule 4 : Rules are made to be broken

Monday, September 19, 2005

Yahya.Age.Years.Count++

19th September 2005 - Happy Birthday to Me

Kashif wished me first through hi5 !! :) though it was too early (18th Sep). Then i got an e-card from Sabrina ( after few minutes of Kashif's msg )

Faisal and Fahad were with me at 19th September 0000 hours :)

Yahya.Age.Years.Count++ ; //Optimistic
Yahya.Life.Years.Count--; //Pessimistic

Tuesday, September 13, 2005

Welcome Back

After a long time, i am blogging - reason ? nothing special, my internet + busy schedule + lack of interest + (add whatever you like, i wont mind)

  • Moonsoon rains are back in Karachi. Heavy rains in past few days, but today was a Sunny day, really burning hot
  • Awesome Annual Dinner - 3rd Sep
  • Great Last Day festiv - 10th Sep
  • Shani Strawberry Drink's Birthday and Treat - 10th Sep
  • 4th anniversary of GroundZero - 11th Sep
  • Started working on Software Engineering Project ( will post details sometime later)
  • My internet has been down :(
  • I think there are still many things left which need to be in this list....WHATEVER !!!

Monday, August 29, 2005

INETA Pakistan

After long time, INETA Pakistan [dot] org is up. And you can find me there at profiles section.

The website is cool, but some features are missing. Signup is not working, it is actually the beta version.

Adnan Bhai did great work. I liked the outlook of website very much.

Friday, August 19, 2005

Storage and Querying of E-Commerce Data

Here is the summary (written by me) of this paper.



Summary of Paper

Storage and Querying of E-Commerce Data

Muhammad Yahya

Computer and Information System Engineering Department

NED University of Engineering and Technology, Karachi.

muhammad.yahya@gmail.com


1 Abstract

New generation of e-commerce applications require data schemas that are constantly evolving and sparsely populated. The conventional horizontal row representation fails to meet these requirements. The Horizontal Data can be transformed in to Vertical representation, in which each row has Object Identifier and attribute name-value pair.

2 Introduction

In Large e-commerce systems, attributes in some table keeps on increasing with new items. And so the performance was becoming bottle-neck as most of the columns had no values. This problem was also giving rise to change the schema again and again to accommodate new commodities.

2.1 Issues

The following problems were faced in horizontal representation

· Large number of columns: As many columns required as the attributes of objects, and this count keeps on increasing with new objects

· Sparsity: Nulls in most of the fields

· Schema Evolution: Frequent alteration would be required in the design

· Performance: Only few columns are required from wide records

2.2 Vertical Representation

As a solution of above problem, Vertical representation was proposed to be used in large e-commerce systems. And the table will have the following columns in it.

Oid

Key

Val

Oid: Object Identifier

Key: Attribute Name

Val: Attribute Name

The vertical table contains tuples for only those attributes that are present in an object. Writing SQL queries against this vertical representation was difficult and error-prone. Also most of the tools written are for Horizontal representation.

The basic idea behind this research was to develop a logical layer over Vertical data, i.e. horizontal data would be visible to the user, and there would be no need to re-design previously built systems. Few alternatives to this design are given in paper.


Horizontal

Oid

A1

A2

A3

1

a

b

-

2

-

c

d

3

-

-

a

4

b

-

d

- corresponds to null value

Vertical

Oid

Key

Val

1

A1

a

1

A2

b

2

A2

c

2

A3

d

3

A3

a

4

A1

b

4

A3

d

The approach is to define a horizontal view; over a vertical table. The user poses regular SQL queries over these views, which are translated into queries that run against the underlying vertical table. Transformations are given in the form of Relational Algebra. Some standard algebraic operations are needed to be re-written. All the transformations and Re-writings are done without assumptions, so they all are valid and proved.

2.3 Alternative Representations

Following were the alternatives present


· Split a horizontal table into as many 2-ary tables as the number of columns i.e. as many tables as the number of columns

· Create one table for each new category

· Create one table for common attributes and per category separate tables for non-common attributes.

· Represent you data in 3-ary table i.e. the Vertical Representation


3 Transformations

The view to user is Horizontal, and all the queries made by user are against that view, behind this logical view is the vertical representation. This vertical view is transparent to the user.

A Transformation is made to these queries that allow fetching of data from vertical table. In this manner the user and the old running systems are saved from re-writing the queries.

4 Implementation

A non-intrusive enablement layer is built on top of the database engine.

The enablement layer parses the SQL query, validates it, and transforms it to another SQL query that runs against the underlying vertical table.

Three types of implementations are proposed that work with Vertical representation.


· Vertical SQL

· Vertical UDF

· Schema SQL

5 Performance Experiments

Very Large numbers of experiments were performed on different alternatives, and results for projection, selection, join and aggregation operations are given in [1], and the results are shown with the help of graphs.

The performance results showed that VerticalSQL uniformly outperforms HorizontalSQL but slightly under performs Binary. The vertical representation uniformly outperforms horizontal representation for sparse data

The performance of the vertical representation is sensitive to the choice made for clustering the data. Clustering on Key has much higher performance than clustering on Oid.

The Vertical representation can outperform binary representations for other operations as well, if table function could provide some extra functionality.

6 Conclusion

Emerging applications such as e-commerce and portals are creating new threats and opportunities for database technology.

The new generation of applications requires data schemas that are rapidly evolving and sparsely populated.

The flexible design of vertical representation makes it easily manageable as compared to sparsely populated horizontal table. Design of an enablement layer hides the complexity of the queries over the vertical table and gives a horizontal view of the vertical representation to the user (application).

The performance of Vertical System also depends on the type of clustering of data.

Comparison of the three representations


Horizontal

Vertical

Binary

Manageability

+

+

-

Flexibility

-

+

-

Performance

-

+

+


The following enhancements[1] can improve the performance of Vertical representation.

· Partial indices

· Enhanced table functions

· First class treatment of table functions

· Native support for v2h and h2v operations

7 References

[1] Storage and Querying of E-Commerce Data

Rakesh Agrawal Amit Somani Yirong Xu

IBM Almaden Research Center

650 Harry Road, San Jose, CA 95120

http://www.almaden.ibm.com/software/quest/Publications/papers/vldb01_ecom.pdf



[1] See [1] for description of these capabilities

Tuesday, August 02, 2005

Rock the Party !!

My beloved (and the only) sister Dr. Tamkeen going to get married with Dr. Numeri this sunday, in-sha Allah on 7th August 2005.

We (Bhai log) did alot of fun today, we sang songs and danced. This was just a practice for parties of 3rd and 5th ! :) [...I have seen a million face, and i have rocked them all !!]

To my dear sis , "we will miss you alot :'( "

Monday, July 25, 2005

the end of me

i wanted to say all this from quite long time....didnt want to say all this to someone personally.
i wanted to SAY !!!


I expected very little from very few people in my life. Now i have been given reason to expect even less from fewer people.


When Friends dont take your side and call themselves "diplomatic".....silently label them "traitor" instead.

When someone tell me that they love me, that they would never hurt me...I assumed not betraying me, lying to me, avoiding me etc. comes with the package.
Apparantley...it doesnt.


last and least

Sometimes i feel that one tragic day, my own thoughts will be the end of
me

Wednesday, June 29, 2005

Only 11635 free kits available!

Microsoft© Visual Studio© 2005 is growing

Get if from here

Only 11635 free kits available!
Due to the huge
success, the amount of free kits has been extended


This is really amazing! Microsoft if distributing free Kits! They are going to distribute over 20, 000 Kits, each kit has 4 DVDs

  • Visual Studio 2005 Team Foundation Server
  • Visual Studio 2005 Team System Beta 2
  • Exclusive WeFly247 Training-DVD
  • Microsoft SQL Server 2005 Developer Edition


and the most amazing part of the story is, that these kits are shipped through DHL courier service absolutely free. What else you can expect from Microsoft? I got my Kit on 3rd day after registration, without paying a single penny.

Tuesday, June 28, 2005

Internet Blackout in Pakistan

Nothing new, another Internet Blackout in Pakistan. Sub-marine cables which provide internet connectivity to Pakistan was damaged. Good Luck ! we dont have that much Call-Center business here, otherwise it would be a great loss. PTCL managed to resume itnernet for few hours with Satellite, but it was getting costly , so they decided to wait for the Repair of submarine fibre optic cables.

I think , it is repaired by now ! and i m not connected (indirectly) through satellite.

Sunday, June 26, 2005

Blogging fever

Blogging fever is increasing day-by-day, people want to write , write and write ! "blog" was word of the year in 2004. People want to write about their Inside stories, day-to-day happenings, new technologies, practices and much much more.

Wiki's are also getting famous, but the case is, that wikis are not publicized ! If you know a little about wiki, then you can know more, otherwise you will not be told. http://www.wikipedia.org a must see !

Friday, June 24, 2005

Readership Increased

Readership of my blog has increased within few days :) It increased from few ( 2 ppl ) to many few (7 ppl) , this increase is surely a positive sign

I m not such a good writer, but i will try to improve.

3252144 infected files

My computer again ceased to work properly, i was getting so many errors, even fresh windows installation didnt fix the problem, then i put Norton Antivirus CD in drive, and scanned from tht cool Bootable Hiren CD, and scanned my computer, i got soo many files infected with Chir B@mm virus, i dont know why i get the same virus again and again. and now i have decided not to put NAV aside ! i will keep on runnning it occassioanlly to save my time in future.

Wednesday, June 22, 2005

testing 1...2....3

Testing....1......2......3

Need to do this, because of my $#@&% lan administrator. He doesnt clear server cache very often, and specially blogger.com , so i was unable to blog. I hope it will start working fine now !

Saturday, June 11, 2005

from PDC Delegate Kit to Burger

Today, me and my friend Kashif, went to PC Hotel to get my PDC Delegate Kit and pass for PDC2005 to be held on 13,14,15 June 2005. We round-tripped PC, because we didnt know that there is another door at back to get to Dilkhusha lounge. Found few juniors their, they are volunteering for PDC2005, they were interviewed and shortlisted.

After getting done from there, we went to Clifton ! ofcourse for Horse Riding :), i didnt find my that old buddy, yeah, a guy there, his horses are masha Allah really good, no need of CHABUK , no need to creat Noise to get better galloping from horse. But, i love to use CHABUK. Masha Allah, i have so much practised and spent alot of my pocket money on horse riding that i dont need to hold seat, so its easy to hold hunter in one hand and the LAGAAM in other.

Clifton is not a place to enjoy smashing water of sea-side, but sooo many people were there doing this (who cares) . After Tasman Spirit accident, clifton is pissed ! Sea-View is a better place, to enjoy few hours of Fresh Air in High Tower lights and noise of sea ( i love it )

We had burgers and pepsi their at sea-view from Sea-View Shop which is under DHA ! the burger was nice :)

We had a long day today, we walked alot too, we walked about 4 km today :

Came back home at 10, and now it is almot 1 and i m blogging !

The trip started from delegates kit and ended up on Burger :) ( travelling excluded)

Sunday, June 05, 2005

Summer Vacations

Summer Vacations have started and i have soo many things to fix in this VERY SHORT TIME. I hope i will be able to manage all the works, need to complete DBMS project, SE project is also due, Maths viva on 9th , and so many other things which i dont remember this time. :)

CodeRun went fine, we managed it on ourselves. Thank God, Mehroz and Usman withdrew their team from it, otherwise .... dont know what would have happened. Sajjad, Yasir and Salman ROCKED !!!

Rana Sahib ki Topian , :S i dont know from where he got this TOPI of Metro !

We didnt hangout on last day : HOW BORING WE ARE SOMETIMES !!

This was all about the last day before summer vacations 2005. Wait till 40 days :) for details about last day of Summer Vacations.

Template myTemplate = new Template();

Today, i changed the template of my blog, was tired of that old look :) the contents remain same and the writer too :D

Sunday, May 29, 2005

finally RedHat 9.0 !!!

I have been trying to install RedHat 9.0 on my machine, the problem i was facing was with iso image of disc2, i downloaded twice from different servers, but they didnt work. Yesterday, i found another http site. And luckily, my internet was working very fine , the download completed in around 6 hours ! (not bad) .

This time, the Disc2 worked ! and i got PASS from mediacheck of this CD. Few minutes back, i was completed with installation, ran few commands, changed the inilevel, etc etc

Now i m really glad, that my MEHNAT worked. Otherwise i would have to give CD-R s to Sanjeev or someone else, to get working images of linux.

Sunday, May 22, 2005

Sony CD Writer

i hav got a Sony CD Writer today, combo drive was quite expensive, so i dropped the idea of it. And searched for Best price of only Writer .

Burnt 8~9 CDs in just two days , one was of Monoppix, Monoppix is cool, it runs LIVE from CD . No need to install things . Others were only to get some space in my HDD. And, going to write RedHat9.0, downloaded it few days back and was waiting for MY OWN writer . Now i hav one !! YABA DABA DOOOO

Again, Telenor Rocks !! dont ask me why ;)

Thursday, May 19, 2005

Telenor Rocks !

I hate loadshedding :( it was almost couple of hours and still LIGHT ANAY KA CHANCE NAHI
I got an idea of using internet from Telenor GPRS, so took out my brother's laptop, put his nokia 6610i in front of IR port . EUREKA !! i m connected, the internet started very fast, but slowed down later. Yeh sab to chalta hai , akhir Pakistan hai !

But Telenor rocks !! i loved it , to use internet when KESC ppl forgot to turn the power switch on

Monday, May 16, 2005

done with my Resume

i have finally completed my Resume for Summer Internship, i hope i will get one .

Fingers are crossed