Planetary Scientists Discover Tenth Planet#

News from Caltech...

Planetary Scientists Discover Tenth Planet

PASADENA, Calif.--A planet larger than Pluto has been discovered in the outlying regions of the solar system with the Samuel Oschin Telescope at Palomar Observatory, California Institute of Technology planetary scientist Mike Brown announced today.

The planet is a typical member of the Kuiper belt, but its sheer size in relation to the nine planets already known means that it can only be classified as a planet, Brown says. Currently about 97 astronomical units from the sun (an astronomical unit is the distance between the sun and Earth), the planet becomes the farthest-known object in the solar system, and the third brightest of the Kuiper belt objects. (more)

http://pr.caltech.edu/media/Press_Releases/PR12724.html


7/30/2005 9:23:11 AM (Pacific Standard Time, UTC-08:00) #    Comments [4]  |  Trackback

 

IT Poetry Competition @ NEC#

 

We had an interesting IT poetry competition today…following is the output in chronological order; rights are reserved for the respective self proclaimed poets J

 

It all started when Dean, Director of IT Infrastructure said

 

Sit right back and I'll tell the tale

The tale of a bags of bagels

That started from our favorite store

And are now on the usual tables

 

And Joanne, our senior developer wrote back

 

There once was a programmer named Joanne

Who wrote a program to generate poetry

The poems were lame

The words did not rhyme

And so she had to retry

 

While Nick, Director IT-Development couldn't resist 

 

Dean is so very mean.

He’s started this crazy thread.

Now a competition has started,

I open new emails with dread,

And read verse that makes me scream!

 

And then Jeremy the architect shared the happiness

 

Bagels…

The morning started with dread

Bagels were brought with glee

The office was no longer dead

And now were all happy

 

Concluded by Greg the super developer with the code…

 

When speaking in rhythm and rhyme

The mental effect is sublime

My life would be sweeter

If my verbal meter

Could be Iambic all the time

 

But alas I am paid to write code

I can’t sit here writing my ode

But soon I’ll repose

And finish my prose

When I’m back in my humble abode

 

Could it be that my two lives could blend?

If (Nick not isLooking) then End

Else

dim wits as double

me.now = trouble

 

While (paycheck.needing)

Work()

wend


7/28/2005 10:32:43 PM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

Some Random Poetry (Urdu)#

zulmat ko zia , sarsar ko saba banday ko khuda kya likhna
deewar ko dar, pathar ko gohar, jugnoo ko diya kya likhna
ek hashr bapa hay ghar ghar main, dam ghutaa hay gunbad-e-bay dar main
ek shakhs kay haathoN muddat say, ruswa hay watan dunya bhar maiN
ey deeda waro is zillat ko qismat ka likha kya likhna

Taqdeer ke qazi ka yeh fatwa hai azal se
jurm-e-Zaifi ki saza marg-e-mafajaat

[Humor]
meray karawaN main shamil koi kam nazar nahee hay
kay khushi say mar na jatay agar aitbaar hota

meray karawaN main shamil koi kam nazar nahee hay
jo na mit sakay watan par , mera ham safar nahee hay
dar-e-ghair par hamesha , thumhaiN sajda raiz dekha
aisa koi dagh-e-sajda meray naam par nahee hay

meray haath main qalam hay , meray zehan main ujala
mujhay kya daba sakay ga, koi zulmatoN ka pala
mujhay fikre amn-e-aalam , tujhay apnee zaat ka gham
main tulu horaha hooN  , too ghuroob honay wala

kehtay hay kay gosht na khata tha muarree
phal phool par karta tha apnee guzar auqat
ek dost nay bhoona hua teetar usay bheja
shayed is tadbeer say us shatir ko ho maat
afsos sad afsos shaheeN na bana na too
Taqdeer ke qazi ka yeh fatwa hai azal se
jurm-e-Zaifi ki saza marg-e-mafajaat


7/23/2005 8:05:03 AM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

Defining Encapsulation#

n 1: the condition of being enclosed (as in a capsule); "the encapsulation of tendons in membranous sheaths" 2: the process of enclosing (as in a capsule)

Encapsulation, one of the major Object Orientation traits (others being polymorphism and inheritance; abstraction and encapsulation and complementry concepts) is usually a topic of discussion during our technical interviews and/or general techno-babble. IMHO OO understanding draws a line between a coder vs. developer or a hacker who loves to write quality code for the enterprise and therefore we like to take it pretty serious.

I hold an strong argument against calling encapsulation interchangeable and synonym to data hiding or saying that ability to have private members enables encapsulation. I believe its more about how the physical or abstract entities of real life are represented and cacooned in form of objects defines it better or like the following defintion;

The ability to provide users with a well-defined interface
to a set of functions in a way which hides their internal
workings. In
object-oriented programming, the technique of
keeping together data structures and the methods (procedures)
which act on them. (1998-09-07)
Source: The Free On-line Dictionary of Computing, © 1993-2005 Denis Howe


or as institut fur informatik freiburg glossary states

The localization of knowledge within a module. Because objects encapsulate data and implementation, the user of an object can view the object as a black box that provides services. Instance variables and methods can be added, deleted, or changed, but as long as the services provided by the object remain the same, code that uses the object can continue to use it without being rewritten.

I think this idea of information “hiding“ came out of Grady Booch's statement about encapsulation:

We define encapsulation as follows (p46): “Encapsulation is the process of hiding all of the details of an object that do not contribute to its essential characteristics. “

and further

p45 The meaning of encapsulation. Abstraction and encapsulation are complementary concepts. Objects at a higher level of abstraction are shielded from lower-level implementation details. Encapsulation is also known as "information hiding" -- it prevents clients from seeing its inside view

Now this idea is being implemented in OO compliant languages by properties, readonly attributes, class instances (objects) and different level of members accessibility (public, protected, private, friend) but i won't call it “information hiding“ but more like defining the accessibility of the entity abstracted in code.

One of the cool new features of C# 2.0 we always hear about in presentations is providing different access level modifiers for properties, like follows.

public class Foo
{
    private string _name;
    public string Name
    {
        get { return _name; }
        protected set { _name = value; }
    }
}

Pretty neat, huh!

JavaWorld Wm. Paul Rogers Encapsulation is not information hiding

Nat Pryce, Mistaeks I Hav Made Encapsulation is not Information hiding

Object-Oriented Analysis and Design with Applications (2nd Edition) (Hardcover)
by Grady Booch

and the quote i liked on Pryce's website

Good judgement is the result of experience ... Experience is the result of bad judgement. — Fred Brooks


7/23/2005 12:33:20 AM (Pacific Standard Time, UTC-08:00) #    Comments [2]  |  Trackback

 

ren *. Longhorn *.Vista#



Media Alert: Microsoft Unveils Official Name for “Longhorn” and Sets Date for First Beta Targeted at Developers and IT Professionals

(Source Microsoft Press Pass)


7/22/2005 11:41:34 AM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

Crossing my fingers - Gmail said so#

and there is a note about it here. http://mail.google.com/support/bin/answer.py?answer=12336&topic=133


7/22/2005 11:02:31 AM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

MIT weblog survey#

MIT weblog survey
7/21/2005 12:08:16 PM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

Search for string in stored procedures - SQL Server#

This query comes in pretty handy at times. Brute force way of looking for stored procedures having certain text (table name, views, functions), finding dependencies.

Select distinct object_name(id) from syscomments where charindex('String here', text) > 0 order by object_name(id)


7/21/2005 11:45:09 AM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

Arfa Karim Randhawa - Youngest Microsoft Certified Professional #

Some links about Arfa Karim


7/21/2005 11:41:17 AM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

After Google Earth, Google Moon!#

<excerpt>
Welcome to Google Moon
In honor of the first manned Moon landing, which took place on July 20, 1969, we’ve added some NASA imagery to the Google Maps interface to help you pay your own visit to our celestial neighbor. Happy lunar surfing. More about Google Moon.
http://moon.google.com/
</excerpt>

and did I mention that it proves moon being made up of cheese! :)


7/20/2005 7:17:59 AM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

Software by Rob#
Rob Walling, an excellent developer, published author, MCSD.NET, MCAD.NET, a good friend and work colleague has finally subsided on our constant nagging and started blogging(RSS), very interesting writings, next to Joel on software, seriously.

Software by Rob
The Human Side of Software
http://www.softwarebyrob.com/default.aspx


7/19/2005 7:06:00 PM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

AJAX - .NET way#

MSDN latest - Life Without Refresh

Summary: Looks at creating more dynamic user interfaces using JavaScript RPC (Remote Procedure Call) to communicate with the server and update without requiring a browser refresh.

AJAX: (Asynchronous JavaScript and XML)

 


7/19/2005 6:24:01 PM (Pacific Standard Time, UTC-08:00) #    Comments [0]  |  Trackback

 

All content © 2008, Adnan Masood
About the Author
On this page
Calendar
<August 2008>
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456
Archives
Sitemap
Blogroll OPML
microsoft