Saturday, May 15, 2004

Alfa version of my Current Project



Just finally finished with the alfa version of my current project codenamed “Bellagio”. Its kept me up at night for a while and glad that it gets to this stage. Thanks to the development team which consist of Emeka, Demola (PM), Femi, Seun, Kenny and Wale.

Will take the next couple of days rest in readiness for continuation of the project to a final product and u know the sweet part of things?

MORE CHALLENGES J

Chat with a C# newbie (Convert)



xxxxxxx: you're using C#?

onawoleco: Yeah! and its sweet

onawoleco:

onawoleco: what would u recommend?

xxxxxxx: recommend?? how do you mean???

onawoleco: I was wondering y u asked if I used C#

onawoleco: So i thot u had another language in mind

xxxxxxx: you need to use what you "think in".you see i was trying to learn C# but i

onawoleco: So what do u think in?

xxxxxxx: but i need to know its advantages b4 moving in...

onawoleco: What do u "Think In"

onawoleco: It has all the advantage of Java

onawoleco: its smoother and simpler

onawoleco: but better features

onawoleco: and soon Generics will be introduced which is a better implementation of Templates in C++

xxxxxxx: actually "C++"

xxxxxxx: but i suspect there is a very strong similarity b/w them. thats why i am considering it

onawoleco: I do think in C++ too but commercial product always have stringent deadline of which C++ is not appropriate

onawoleco: There is

onawoleco: Same syntax

xxxxxxx: very much like visual c++ (i suspect)

onawoleco: Only u cannot will miss some features in C++

onawoleco: though most has better replacement in it

onawoleco: Not really

onawoleco: VC++ -> MFC is trying to give C++ an OOP look

onawoleco: everything in C# is an object

onawoleco: there is nothing like primitives

onawoleco: like u can say 3.ToString()

onawoleco: This is impossible in C++

onawoleco: but in C# numerics are classes too

onawoleco: Sorry objects too

xxxxxxx: what is my fastest way of learning C#?

onawoleco: Get a book on it

onawoleco: Thinking in C# could be okay

onawoleco: read from the numerous articles on the internet

onawoleco: I learnt a lot thru that way

onawoleco: and join a .Net user group

onawoleco: I am starting a very strong one in Naija soon

xxxxxxx: like which group?

onawoleco: Check www.gotdotnet.com

onawoleco: U will find numerous leads

xxxxxxx: or which website has good tutorials?

onawoleco: read articles from www.codeproject.com, www.theserverside.com

onawoleco: Gotdotnet supports MS passport

onawoleco: all u will use is ur MSN/Hotmail ID

onawoleco: The other is quite easy to get one

xxxxxxx: so C# creates stand-alone applications just like MFC does?

onawoleco: Better and Quicker than MFC

onawoleco: .Net compiled codes are not in Binaries like C++

onawoleco: and MFC alike

onawoleco: C# compiled codes are in IL

onawoleco: which is more like Java bytecodes

onawoleco: but better than Java bytecodes 'cos it is in itself OO

onawoleco: This what the .Net CLR understands and execute

onawoleco: it actually uses JIT

onawoleco: Just-In-Time compilation

onawoleco: which is an optmized compilation anyway

onawoleco: so u may experience the running slow the first time u execute

onawoleco: subsequent time, its faster

onawoleco: The IL made it possible to have language agnostics on .Net

onawoleco: which means it is language neutral

xxxxxxx: this will only run on systems which have .Net installed?

onawoleco: U can program in any language as long as there is compiler to compile to IL

onawoleco: Sure on systems with .Net framework

onawoleco: Just as u cannot run a java code without a JRE

onawoleco: This gives u lighter exectables

xxxxxxx: what is IL?

onawoleco: Intermediate Language

xxxxxxx: .Net can be installed on Win98?

onawoleco: Sure!

xxxxxxx: i will start off tonight! have some kind of tutorials which i save on my notebook about five weeks ago

onawoleco: C# also comes with a garbage collector

onawoleco: better than Java GC

onawoleco: Gooooooooooooooooo

onawoleco: Feel free to ask any que. Will sure like to help

onawoleco: and u can join my group

xxxxxxx: i have never understood that concept.. "garbage collector"

onawoleco: I will even need u to enter Ife well

onawoleco: as soon as I have the draft plan

onawoleco: I will let u see it

xxxxxxx: is it like clearing up unallocated memory?

onawoleco: In C++ u have what u call destructors

onawoleco: yeah it clears unused memory

onawoleco: U sure know what u used destructors for

onawoleco: but sometimes, developers get careless

onawoleco: and forget to clear up allocated memories

xxxxxxx: i mean like freeing allocated memory after use?

onawoleco: which leads to memory leakage

onawoleco: Not immediately after use

onawoleco: at specific time determined by the system

onawoleco: The concept of pointers make momory leakage even more on C++

onawoleco: which is y C# and Java avoided pointers

onawoleco: Though C# provided a workaround under the unbrella of DELEGATES

onawoleco: thats another powerful concept in C#

xxxxxxx: then i will start up with c#, one has to update with time

onawoleco: Sure

onawoleco: thats y I made the decision sometimes ago

onawoleco: even though I still code in VC++ and VC++.Net

Thursday, May 13, 2004

Skype - P2P Telephony Explained

This link leads to the technical details of Skype. It strictly for geeks interested in this innovative implementation of a true P2P application.

Skype - P2P Telephony Explained

and also its

Skype - FAQ

48 Laws Of Power

Just on the sixth law which states

 

            COURT ATTENTION AT ALL COST

 

            Everything Is judge by its appearance; what is unseen

counts for nothing. Never let yourself get lost in the

crowd, then, or be buried in oblivion. Stand Out. Be

conspicuous, at all cost. Make urself a magnet of

attention by appearing  larger, more colorful, more

mysterious than the bland and timid masses….

 

 

 

Onawole, Clement Oladapo

Lead Software Developer
Splashers Technologies
Suite B15 Festac Plaza
24 Road Festac
Tel: 234-802-316-6353
www25.brinksters.com/murpheux

 

Skype in the Sky!!



Wooooow!!!! This is the best piece of software I have seen since Kazaa. And moreso produced by same guyz that did Kazaa and its free. Though its still in its beta stage but very cool. Tested it out and was amazed. Its awesome and glad someone thought of this and made it available.

Wednesday, May 12, 2004

What a day!

I sort of count today as a non-productive day as I did not learn to work on something new. Have been on a project – quite large and interesting and spent most of today fixing QA issues.

 

However, I need to make the solution authenticate via, WinNT, Active Directory and ADAM in a role-based security. I guess this will be the challenge for next few days.

 

 

Onawole, Clement Oladapo

Lead Software Developer
Splashers Technologies
Suite B15 Festac Plaza
24 Road Festac
Tel: 234-802-316-6353
www25.brinksters.com/murpheux

 

How Word for Windows Uses Temporary Files



89247 - WD97: How Word for Windows Uses Temporary Files


Had an issue with Microsoft Office. Was working on a solution that needs to create Office Document, Allow users to modify/update the document and upload to a store (RDBMS).

Implemented a FileSystemWatcher to know when the file was actually updated i.e. modified and save clicked. This failed as the FileSystemWatcher never for once discovered that the document was modified or updated. The problem is that Microsoft Office creates a temporary files and updates this instead of the original file. What baffles me is how Microsoft Office Apps conversely update the original file and with what mechanism..

Discussed this with a boss and he showed me this article 89247 - WD97: How Word for Windows Uses Temporary Files.


Still working on this to see how this helps me out!.

Working with office solutions

 

Considering the way that Microsoft office uses temporary files which makes it impossible for me to know exactly when the original (not the temporary file) was updated using a FileSystemWatcher, I decided to change the design in such a way that I keep track of the when the process with which I opened the office application on exits.

 

Using

 

Process process = new Process();

 

      process.EnableRaisingEvents = true;

      process.Exited += new EventHandler(process_Exited);

      process.StartInfo = pInfo;

 

// start process

process.Start();

 

Since the user can open more office document of this sort, I also kept this processes in a list

 

WatchProcess.Add(process);

 

So that on closing of my main form I can know which processes have not been exited. Display a warning to the user, and force an exit

 

private void FrmMainEMR_Closing(object sender, System.ComponentModel.CancelEventArgs e)

      {

            if (WatchProcess.Count > 0)

            {

                  if (new FrmConfirmation().ShowDialog(this) == DialogResult.Yes)

                        CloseApplication();

                  else

                        e.Cancel = true;

            }

            else

                  CloseApplication();

      }

}

 

 

This is how I was able to get thru this. Now I can sleep tonight as this has kept me up for a couple of nights. Thanx

 

 

Onawole, Clement Oladapo

Lead Software Developer
Splashers Technologies
Suite B15 Festac Plaza
24 Road Festac
Tel: 234-802-316-6353
www25.brinksters.com/murpheux

 

My First Blog

this is not actually my first blog. Had an unsuccessful one earlier at murpheux.blogspot.com which shows non of my posting. After three postings and still could not view anything. Decided to create another which is this.

Will have to get my postings on the other blogspot and paste here.

Here I go in a more fulfilled IT participation in the software world!

As for me, Coder For Life!