Monday, July 19, 2010

Leaving Microsoft

Just that, I am leaving Microsoft...


main
7/19/2010 10:28:08 AM UTC  #   

  Tuesday, July 13, 2010

wow... how could anybody watch these folks

With the current (or barely past, depending how you look at it) crisis, and with claims that some people had actually forwcasted it long time ago, I started looking at was out there... I stumbled upon the the open your eyes DVDs ...

I have to confess that the first few videos about the financial system did get my attention... Is the fractional reserve system a good one? was the first US Dollars fiat money a better one?

As I kept watching these conspıracy theory DVDs though, I got a lot more skeptical very quickly... As I believe in open mindedness, I went on watching (though skipping many videos, and just watching the first moments of many). I saw in most of the first ones, although not something believable, a glımpse of some form of respectable opinion, mixed in the middle of a flood of unfounded and totally unbelievable pseudo-facts. Most of them had A perspective that centered around the judeochristian culture, but that is something one gets used to in the current world... Until I started hitting the juicy stuff...

One of those videos has the title of "the light behind masonary" where a guy called "Bill Schnoebelen" explain masonary (supposedly he was a mason of very high degrees). From the start, he tries to make masonary look like a satanic worship (for all I know it could be), so I watch (I have been intrigued by masonic practice for years now), until he starts saying things that went contrary to things I know very well. He said the muslims had an efficient way to convert souls, and that it was putting a simitar above somebody's head, then ask him to convert, and if he said no, cut his head... he then went into explaining why Islam has the moon as a symbol, and said that the god of islam, Allah (by the way, Allah is Arabic for "The God" as it is very simply using the article "al" in front of the word "ilah" wich means god), was not God. "Allah was the moon, a rock" he exclaimed!

It is actually interesting that a guy that thinks he has both a high intellect and first hand knowledge can be so cavalier... It is even more interesting that he tries very hard to make it "judeochristians" against "mahometans"... The problem is that the only relation between islam and the moon is the calendar. Islam uses a lunar calendar. Well, judaism uses a mixed solar and lunar calendar. does that make the god of the bible (the judeochristian god) an offspring of a star and a rock ?

Actually, the most interesting aspect of the whole series of videos, is that it has actually given me a much more positive impression of the masons, and more astonishingly, of the illuminati (if they actually exist)... In almost all of the videos, they are globalists, thriving to achieve global world government! How can this be the evil plan ? more balance in the world, with less priviledge to the west? I would call that great good, or alternatively, morality... These are supposed to be a few evil people, conspiring to achieve what I would call a more just world!!! and what is the downside? they are not preaching christianity the way he wants them to!!!

Off course I don't give much credit to any of that stuff, but my only worry about masons has always been that they seem to be a secret society of the powerful, giving them more opportunity to network and be even more powerful... If all they're doing is trying to make the world a more just place, then long live conspiracy! and long live masonary!


main | opinions | Views | آراء
7/13/2010 11:46:35 PM UTC  #   

  Wednesday, April 22, 2009

Nur Kemmou was born on April 04


main
4/22/2009 4:01:39 PM UTC  #   

  Friday, March 06, 2009

Do you prefer science or art ?

A couple of years back, I was having a discussion about art and science at a bar with a friend, and it occured to me that it is an impossible question:

1. Science is the voice of the brain. Observing and absorbing the facts, analyzing them, identifying patterns, infering possibilities and cold bloodedly checking if those possibilities hold. It is essential in understanding the world. without it, one goes from random action to the next without recognizing what one is doing. there can be no sense of purpose...

2. Art is the voice of emotions, the voice of the heart. It is about observing the world and capturing the emotions that things and beings sucitate in one self. It is essential both in understanding oneself and in connecting with objects and beings, with people and with ideas. without it, there can be no enjoyment and no passion...

Do I prefer my brain or my heart? can anybody operate without equally relying on both?


main | Views
3/6/2009 4:14:17 PM UTC  #   

  Thursday, May 08, 2008

Check out the little green patch !!!!


main
5/8/2008 9:10:48 AM UTC  #   

  Thursday, February 22, 2007

Personal surprises are up, professional ones will have to wait...

I would like to thank all those that have had the patience to look for what I have to say for so long... I said a few days, well it took over a month, and what I will say is only a fraction of what, only a month ago, I though I could say as only personal things are my own decision...

I already warned that anything professional would be on my msdn blog, and it won't be still many days/weeks that I can speak about anything happening on the platform or  server for process stuff...

There are yet big news on the personal side:

There are encounters that change the way we think about life. there are encounters that even change our lives. Yet there aren't so many encounters that change both our life and our perception about life... encounters that one feels in the depth of his guts that nothing will ever be the same...

As much as I used to love writing, I have not felt I needed to say anything except what I whispered into her ears... As much as I always was available for my friends, I only cared about what she felt...

To cut a long story short, I am feeling legendary love, and think (when my ego is not under control)  that we (see next paragraph) are part of the circle of Cleopatra and Antonio, Antar and Abla,, Qais and Leila,  Romeo and Juliet.... etc. Time evolves, and we don't need a drama to boost our feelings...

I never felt this way, although I had extremely strong feeling for friends (with or w/o benefits) before and still do. I had teenage love(s) (I won't specify numbers, sorry), and even simulacres of the ideal love. I would die anyday to preserve one of my real close friend's life. I do have the most amazing kind of love, one that can never be changed or topped : My love for Arwa, the most intelligent and beautiful girl in the world, my daughter. But I still forgot my friends since I met her. I would not only die for her, I litterally can't live a day without her...

In three (extensible) words, I love Nadia, and she is my wife.

That's all I can say for now.


Anti Suckiness Club (private) | don't read if you're not Stephen Forte | main | To Macha
2/22/2007 5:26:08 AM UTC  #   

  Monday, January 15, 2007

Haven't written anything in a while

I have disappeared for a while, both on the blog and physically with my friends... I have a few surprises for everyone... keep watching in the next few days.


main
1/15/2007 7:06:57 PM UTC  #   

  Wednesday, October 04, 2006

Overwhelming newness

New girlfriend, new position, visiting new countries, new car, new phone, new style... All in the last few weeks !

Off course all the old rhythm of change and travel is still there...

Who said last year was incredible ?


Anti Suckiness Club (private) | main
10/4/2006 5:27:32 PM UTC  #   

  Saturday, June 24, 2006

Amazing Kimberly Tripp

Kimberly never ceases to amaze me. How geekier can one get. Writing a stored proc on the plane is a "normal" thing to do, but when the stored proc gets data from the database, formats an HTML message and sends it to thousands of subscribers from her laptop on the plane...


main
6/24/2006 5:21:39 AM UTC  #   

  Wednesday, May 31, 2006

Coming soon to a library near you...

Congratulations Andrew, Steven and Bill...


main
5/31/2006 12:24:18 PM UTC  #   
If you want a technology blog, check my msdn one (in few days)

I know many of you only come here to get some inetresting technology information...

From now on, I have decided to separate whatever I say about techonology (which has to somewhat conform with my employer official views) at http://blogs.msdn.com/malek/default.aspx  (wont start on that for few days yet) and what I say about my own life (which, in return, only concern me, and has no implication on my employer what so ever).

I have kept everytging I had said in the past (in my original www.malekkemmou.ma blog) here as I still have not changed and I would, personnally, not implicating my employer, defend anything and everything I ever said (including recognizing errors of the past, which I recon have happened some times)...

I have hundereds of pages of "creative writing" that have not yet been published, as well as general opinions on politics, social ideals and other genral topics.  off course there will be quite a bit of semi-private / cryptic posts as well, adressed mostly to those who know more about the details of my life.

I will start posting in here and on my other blog very soon, so stay tuned...

For 400 years, you name will still be anywhere I go, and shiny will be every one of my lives with you...


main
5/31/2006 2:49:39 AM UTC  #   
Blogging again

Since the day my mom passed away, I had shied away from public publications... I was to hard to swallow, and harder to come to term with...

Well, here I am. as passionate with my dreams (maybe a little more), as much in love with my self (speak of an inflated ego), and really as much a chanter of the beauty of life as I ever been...

I will just say that (quoting one of my dearest friends) "Life doesn't suck!"...

Thank you Lara for such a beautiful quote...


Anti Suckiness Club (private) | main
5/31/2006 2:29:39 AM UTC  #   

  Saturday, February 11, 2006

You like OSS, have a look at community at work ...

I have been looking at bug tracking for a Mozilla (Firefox) bug related to tooltips.

I was surprized by quite a few things. Here are some :

 

  • 5 years to fix a bug ?
    • Opened: 2000-07-13 06:28 PST
    • Status : ASSIGNED        Priority : P3
    • Last modified: 2005-02-11 15:01 PST
  • Threads that take up days to end up marked as duplicates
  • an incredible offer :
I'm interested in attempting to fix this bug...  I'm a competent C/C++
programmer with no experience with the Mozilla code base, so I'd appreciate it
if someone could point me to the part of the code (file and lines) where
tooltips are handled, and I'll take a look.
  • Even comments like this :
The problem, as I understand it, is that the bug blocking this one depends on a
person who is no longer working on Mozilla doing some work, or another person
doing a huge amount of work.  If anyone would like to fix it, many people would
appreciate it.
You still like to use OSS in your critical systems? good luck...

main
2/11/2006 11:52:57 PM UTC  #   

  Saturday, December 24, 2005

It has been an incredible year !!!

This year has been amazing on every front. Here is a short look back at the ending year:

  • I will remember this year as the year I have lost contact with my daughter for so long, my mom had cancer, I met/rediscovered my most wonderful friends, I went through the most drastic change of my life - changed location, job, main language, lifestyle...
  • Quite a bit of traveling (even a bit too much) in chronoligical order (I have probably missed a few):

While I was still based out of Casablanca, Morocco

        • Cairo, Egypt (Middle East Developer Conference)
        • Alexandria, Egypt (First Time)
        • San Fransisco, California (VS-Live)
        • Frankfurt, Germany
        • Dusseldorf, Germany (First Time - Personal)
        • Istanbul, Turkey (First Time)
        • San Jose, California (First Time, SD-West)
        • New Martinsville, West Virginia
        • Orlando, Florida (VS-Cnnections)
        • Istanbul, Turkey
        • Ryiadh, Saudi Arabia (Gulf Developer Conference)
        • Tunis, Tunisia (Business)
        • Agiers, Algeria (North Africa Developer Conference)
        • Istanbul, Turkey (Microsoft Summit, and moved to Istanbul for good)
    • After I moved to Istanbul end of April (joined Microsoft May 2nd)

        • Datça, Turkey (First Time, holiday)
        • Lagos, Nigeria
        • Nairobi, Kenya
        • Dubai, United Arab Emirates
        • Karachi, Pakistan
        • Mauritius Island
        • Tunis, Tunisia
        • Casablanca, Morocco
        • Seattle, Washington
        • Portland, Oregon (Week end)
        • Tour of the Dardanels and the Egean Sea (Bandirma, çanakkale, Troy, Ayvacik, Essos, Balikesir) in Turkey (First Time)
        • New Martinsville, West Virginia
        • Chicago, Illinois
        • Bellevue, Washington
        • New Martinsville, West Virginia
        • Washington, DC (First Time)
        • Malta (First Time)
        • Numea, New Caledonia (First Time)
        • Papeete (Tahiti) and Moorea, French Polynesia (First Time)
        • Nairobi, Kenya
        • Mauritius Island
        • Paris, Fance
        • Douala, Cameroon (First Time)
        • Kinshasa, Democratic Republic of Congo (First Time)
        • Dakar, Senegal (First Time)
        • Saint Giles, Reunion Island (First Time)
        • Mauritius Island
        • Casablanca, Morocco (next week)
        • Paris, France (I will end the year there)

      I also transited by many places without stepping out of the airport

        • Rome, Italy
        • Milan, Italy
        • Frankfurt, Germany (many times)
        • Tunis, Tunisia
        • Cairo, Egypt
        • Munich, Germany
        • Djeddah, Saudi Arabia
        • Dubai, United Arab Emirates (many times)
        • Paris, France (many times)
        • Charlotte, North Carolina
        • Osaka Japan (twice)
        • Nairobi, Kenya
        • Mauritius Island

 

  • Crazy workload, crazy partying and a few private moments of fame and few moments of shame... Some of the things I will never forget - don't expect details (this is for insiders only) :
    • Late night chat at Intercontinental in Cairo
    • Crazy interview day in Istanbul
    • Spa in Orlando
    • Two first time divers in Datça
    • "The night" in Istanbul
    • An awkward declaration in a car by the bosphorus
    • A Cliff from the past in Ayvacik
    • A wedding party in Bellevue
    • Back to the office from Tahiti
    • WooHoo in Nairobi
    • Arriving late to Reunion
  • This year has been full of surprises, including multiple new encounters, and multiple new friendships, some of which have become extremely important in my life, and some having very interesting promises.
  • Some sad happenings:
    • My mom's disease
    • Lost contact with my daughter for a long time (Well, I will see her Tuesday. I am so thrilled!)
    • Close friends going through bad times (emotional and health)
    • A close friend loses her brother
    • my uncle's disease
    • The drone

    In short, I never thought one year could be so full... Neither have I ever thought I could handle such an intensity...

    I am so sorry if it has made me a little less availlable to so many people I care about...

    Merry Christmas, Happy new year, and Mabrouk El-Eid


main
12/24/2005 3:41:57 PM UTC  #   

  Tuesday, August 09, 2005

Welcome to Lufthansa'a Cattle Class...

I have not been flying too many economy long haul flights lately, and was awakened by some remarks from my Lufthansa "flight attendant". I asked about the choice I have for drinks, and was not happy with the brands they had. She said " this is economy, it's free ".

I remember talking with some friends at some point in the past about the service (actually the lack of service would be more acurate) in economy class, and I believe it was Clemens that dubbed it "Cattle Class"...


main | Travel
8/9/2005 1:19:48 AM UTC  #   

  Tuesday, June 28, 2005

Ready to spend some time home...

    Oh Boy, Oh Boy... during the month of June, I spent all my time in Hotels, planes, airport lounges ... etc. I only spent three nights sleeping on my bed.

   So, lots of traveling, no so much time for my friends - but I will make up for it  - and a great number of things to blog. I will rest a little bit today, and enjoy a an evening alone at home... Staring tomorrow, I will be blogging about Mauritius Island, Pakistan Developer Conference, Dubai, Lagos, Nairobi and Mombasa. I even have some fun stories like having been baptised with a new name : "Wambua" which litteraly means "Rain Man"... and that was only a side effect of having to have a tribe...

   I am really looking forward to a couple of days of "normality". before I go back to more travel and even more madness.


main | Travel
6/28/2005 9:28:42 AM UTC  #   

  Saturday, June 04, 2005

Elearning for developers

Check this out :

http://msdn.microsoft.com/elearning/


.Net | main
6/4/2005 3:23:41 PM UTC  #   

  Friday, May 27, 2005

Neutrality in "religious" technology battles....

I have been googling myself today (I never said my ego was not super inflated), and stumbled upon an a blog entry talking about the presentation on .Net vs. J2EE I did in Riyadh last month (The entry is in Arabic). There are a few things I think I should correct, as I think the remarks were not ill intended:

  • The author claims that I said I would be perfectly neutral. I would have been foolish to claim perfectness in anything. I have only said that I would be as neutral as possible, and precised that I my own personnal choice was very clear, and that I prefered .Net
  • The author said that I didn't succeed in being neutral, and that I was too favorable to .Net. I have had many reactions from attendees that were favorable to .Net that said that I was giving J2EE much more credit than it deserves. I believe that when people are there to discuss, we can talk in a serene and calm technical atmosphere.

.Net | main | speaking
5/27/2005 1:42:23 PM UTC  #   

  Monday, May 09, 2005

My mom has a lymphatic system cancer...

I have not been blogging lately, and will not be doing much of it in the next few days... It is very hard for me to cope with this...


main
5/9/2005 11:23:32 PM UTC  #   

  Monday, May 02, 2005

Microsoft Zirvesi Content

As I promised during my sessions at the Microsoft Zirvesi, here are my slide decks (I will be publishing the demos later).

Visual Studio 2005 : new features for the web services developer (926 KB)

DotNet vs j2ee (1.4 MB)

Developing Mobile Web Applications With ASP.NET (1.65 MB)

Compact Framework _ part 1 (3.78 MB)

Compact Framework _ part 2 (1.47 MB)


.Net | main | speaking
5/2/2005 8:20:15 AM UTC  #   

  Friday, April 22, 2005

It's Official, raise your glasses, we're gonna party, to Istanbul...

   I will celebrating starting today in Casablanca, and not finishing until the end the month in Istanbul... Some of friends will be throwing a "bachelor party" for me Sunday in Istanbul, as I am joining Microsoft, letting go of my independent status. Then there is the very first time the anti-suckiness club meets in full membership, then the Turkey Developer Summit, then a friend's birthday... It is going to be a big long party.


main
4/22/2005 6:29:38 PM UTC  #   
Bye Bye Casablanca

   Bye Bye Casablanca. Our relationship goes back to my very first day in life, even my very first second. Even though on paper, I am registered as being born in Figuig, my parents home town, on the 16th of February, I actually I was born in Casablanca sometime in late January 1968. I have traveled a lot, and I have loved some cities, hated others, but Casablanca will always hold a special place in my heart.

   Bye Bye Casablanca. I have seen your many faces, and the take time had on your physionomy. I remember when we were children, you and I, and you were already a promise of a metropolitan culture. I remember when your seaside's nights were rocked by Elvis, the Beattles, the Eagles, Jhon Lennon, Bob Dylan, Joe Cocker, David Bowie,  ABBA, Stevie Wonder, Paul McCartney, Simon&Garfunkel, ...etc. At that time, you were still as oriental as ever, and your evenings echoed the songs of Oum Kalthoum, Mohammad Abdelwahab, Abelhalim Hafiz, Farid Al Atrash, Nazim Al ghazali, Sabah Fakhri ...etc. Your beaches in the summer danced Flamenco, your weddings sounded Andalucian tarab, and in the trenches, one could loudly hear the reborn pop music of Nass Al Ghiwane...

   Bye Bye Casablanca. You saw me grow, and witnessed my early successes and failures. You brought me my first loves, my passion for electronics and then for computers, my inability to learn music or dance, my first ink portraits, my first poems. You inspired my dreams, and showed me the stars and the comets.You also saw me part from you for a few years, looking for other constallations, but reclaimed me so strongly I dwindled back in a hurry.

   Bye Bye Casablanca. You were harsh on me when I started my first business. I started in a market with 3 competitors, and 12 more saw the light within 6 months... You were harsh on me as well when you let my best friend and business partner whom I loved silently get killed for the stupidest of reasons. You made me glorious in the culture market, and then in the PR market, but each time letting me down at the highest of my vain glory. Were you just reminding me of my first and truest passions ? You gave me a home for my sweetest moments, gave me a the sweetest of daughters, then turned my life into neverending conflicts. You still gave me a nest from which I could get reborn from my ashes...

   Bye Bye Casablanca. I don't think I know you anymore. While I was busy with my little ambitions and daily troubles, you changed so much on me. You music is no longer mine. You don't even seem to be keen on diversity anymore. Your gardens and parks don't look green anymore. Your dreams seem so far away from mine. I can hardly find anything to tell you anymore... Or maybe I grew up on you, and you don't recognize me anymore.

   Bye Bye Casablanca. I will miss you a lot. Sure I will come every so often and visit. You will always have a precious spot in my heart and  big chunk of my memory, but it is time we part and become friends again...


main | Other Texts
4/22/2005 5:52:06 PM UTC  #   

  Tuesday, April 05, 2005

SQL Server 2005 Virtual Labs

   Are you interested in experimenting with SQL Server 2005 (formerly codenamed Yukon), but don't have the time, the bits or the resources to install it and test it yourself ? Maybe you have it intalled, but it is taking you to much time to figure out the features ? MSDN has just launched SQL Server 2005 virtual labs you can use as part of the Visual Studio hosted experience. On the menu is a great selection of labs you can choose from :

  • SQL Server 2005 Integration Services  
  • SQL Server 2005 Introduction to SQL Server Management Studio  
  • SQL Server 2005 Reporting Services  
  • SQL Server 2005 Server Management Objects  
  • SQL Server 2005 SQL CLR Integration  
  • SQL Server 2005 SQL Query Tuning  
  • SQL Server 2005 SQL Server and ADO.NET (Lab A)  
  • SQL Server 2005 SQL Server and ADO.NET (Lab B)  
  • SQL Server 2005 T-SQL Enhancements  
  • SQL Server 2005 Web Services  
  • SQL Server 2005 XML Capabilites 

Have fun!


.Net | main
4/5/2005 7:05:42 PM UTC  #   

  Saturday, March 26, 2005

Joining Microsoft

   I have hinted to movig out of Morocco and into Istanbul, Turkey. I can now say that I am joining Microsoft Middle East and Africa Head Quarters as a Technology Architect - Application Platform.

   This is a major change in my life, and I am really looking forward to the new challenges.


main
3/26/2005 10:46:48 AM UTC  #   

  Sunday, March 20, 2005

Busy agenda for the next 4 weeks.

  I have been looking through my agenda for the rest of March and April, and it is a quite busy schedule :

  • March 21-23 : Visual Studio Connections in Orlando, FL (just 1 session)
  • April 2 - 5 : Microsoft Partner Academy Workshops in Algiers, Algeria (4 full days)
  • April 10-12 : Gulf Developers Conference in Ryadh, Saudi Arabia (6 sessions)
  • April 16-18 : North Africa Developers Conference in Algiers, Algeria (4 sessions)
  • April 25-27 : Developer Coference in Istanbul, Turkey (number of sessions TBD)

  Off course, I have all my regular work with my customers (to finish all ongoing projects, and I will be finished on those by April 8), flying in between locations takes usually one day before and one day after each event. All in all, I'll be home or a total of  7 busy days during the next 4 weeks... and then I will be moving... to Istanbul for good.

  


main | Travel
3/20/2005 6:18:33 PM UTC  #   

  Friday, March 18, 2005

SSW code auditor -- make your code healthier

 

   SSW (australian company, lead by my good friend Adam Cogan) has a great product for code audit.

The concept is quite simple : define rules using regular expressions (it has a builtin RegEx editor) to be checked against source code, file path, file names, HTML code ...etc, and define wether that is a desirable (should exist) or undesirable (should not exist) pattern (there is a lot of flexibility built in, as setting exceptions, notes, or statistics about the rules and the time they take). You choose the files you want to apply the rules to, and you run a scan. At the end you get a detailed report.

   The tool allows you to schedule automatic execution, and email the reports to any email address.

   It has many qualities I love in products: useful, productive, simple... Great job, Adam.


.Net | main
3/18/2005 4:17:16 AM UTC  #   

  Thursday, March 17, 2005

TechEd 2005 : be there!!!

Check out this series of Videos :

Scott and Rory go to TechEd :

Way to go guys, keep up the fun.


main
3/17/2005 10:45:48 PM UTC  #   

  Tuesday, March 15, 2005

It's Official, We're gonna party, to Istanbul...

Big changes for me in the air ...

I won't give anymore details until May 1st.


main
3/15/2005 3:34:32 PM UTC  #   

  Thursday, March 03, 2005

You won't believe it until you see it...

What's the next step for .Net ? this might just be it ...

AspSoft  is preparing a big surprise for TechEd 2005. be there!


.Net | main
3/3/2005 11:18:46 AM UTC  #   

  Saturday, February 26, 2005

How many continents have you covered this month?

Not counting home, Me and Goksin just realized we have been on 4 continents this month... and we've been there together too... does this call for a new club?


Anti Suckiness Club (private) | don't read if you're not Stephen Forte | main
2/26/2005 3:11:03 PM UTC  #   

  Thursday, February 24, 2005

Serena is doing Wonders...

It still takes you too much time to build your Business entities and manage their persitence?  Check out what Serena is doing with paladin.

I will be talking in more details about it next week (as I am just finishing the last details of Atlantis bank, and finally getting ready to be out of the tunnel).


main
2/24/2005 2:39:52 AM UTC  #   

  Saturday, February 19, 2005

You like OSS, have a look at community at work ...

I have been looking at bug tracking for a Mozilla (Firefox) bug related to tooltips.

I was surprized by quite a few things. Here are some :

 

  • 5 years to fix a bug ?
    • Opened: 2000-07-13 06:28 PST
    • Status : ASSIGNED        Priority : P3
    • Last modified: 2005-02-11 15:01 PST
  • Threads that take up days to end up marked as duplicates
  • an incredible offer :
I'm interested in attempting to fix this bug...  I'm a competent C/C++
programmer with no experience with the Mozilla code base, so I'd appreciate it
if someone could point me to the part of the code (file and lines) where
tooltips are handled, and I'll take a look.
  • Even comments like this :
The problem, as I understand it, is that the bug blocking this one depends on a
person who is no longer working on Mozilla doing some work, or another person
doing a huge amount of work.  If anyone would like to fix it, many people would
appreciate it.
You still like to use OSS in your critical systems? good luck...

main
2/19/2005 9:02:29 AM UTC  #   

  Wednesday, February 16, 2005

A must read!!!

Check this... The best love letter ever written!

 


main
2/16/2005 6:38:38 AM UTC  #   

  Saturday, February 05, 2005

Cairo was a blast ...

   This year, I had a great time (again) in Cairo. I had to do 7 presentations at the conference!!! but I still could manage to spend some time with my friends. 4 out of 5 of the anti-suckiness club were there : Kimberly Tripp, Steven Forte, Goksin Bakir and I. We had some very good moments. Patrick Hynds was accompagnied by his wife Sabina and his partner Bruce Bacca. We had arranged to stay for two extra-days, and we did some tourism together. It was very fun and Sabina and Bruce are very nice to hang out with.

   Lara Martini was there too, and I had some good time talking to her. She made me remember writing (which I have not done for quite a while) as she wrote poetry and short stories as well.

   All in all, I got to meet quite a few new people, to do some productive speaking, and to hang out with friend. It was a blast.


main | Travel
2/5/2005 1:48:33 AM UTC  #   

  Sunday, January 23, 2005

.Net Celebrity charity auction starts today (9am Esatern US)

     The initiative lead by Julia Lerman and Stephen Forte, the .Net "Celebrity" Auction for the benefit of Tsunami victims of Banda Aceh will start this afternoon (2pm GMT time) on e-bay . Your bid will buy you an hour of consulting from one of the top experts, and all the money will go to the tsunami victims.

    Stephen Forte has the complete list with bios on his blog.

    Thanks to Thinktecture (and fellow .Net celebrities Christian Nagel, Christian Weyers, Ingo Rammer and Ralf Westphal from Thinktecture) who, being unable to get on board because they did not get the info on time (Travel and busy schedules play tricks on all of us sometimes) they have decided to help by picking up all the e-bay fees.

   You can click on the above link to the e-bay auction or go here : http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5552696499

   Some people seem to dislike the term "Celebrity" that Julia used to discribe us. I don't usually like to be discribed with such words, and I'm sure many on the list have the same feelings. but I have a few remarks on the subject : If not every single person on the list is a worldwide celebrity (I definitely don't think I am one), these are definitely people that would be seen as celebrities at least in their respective geographies. Also, the term celebrity only means that they are known and liked by a big number of people, which doesn't say the same as "top notch experts", which does apply to most people on the list (I would qualify as such everyone escept myself, and I know some would disagree with the exclusion)... Anyway, even if the celebrity status was not appropriate in other circumstances (and I know many of us have been called things that go beyond the term "celebrity" in the past, like "Software Legends", "Rock Stars", "Over Achievers", and many other things), it is completely appropriate as marketing for such a noble cause.

    Celebrity or not, these are people that will gie you more than your money's worth in consulting and advice.

    For my part, I intend to give a rather "long hour", and to deliver without much delay (notwithstanding my busy agenda).


.Net | main
1/23/2005 1:06:57 PM UTC  #   
.Net Celebrity charity auction starts today (9am Esatern US)

     The .Net "Celebrity" Auction for the benefit of Tsunami victims of Banda Aceh will start this afternoon (GMT time) at e-bay . Your bid will buy you an hour of consulting from one of the top experts, and all the money will go to the tsunami victims.

    Stephen Forte has the complete list with bios on his blog.

    Thanks to Thinktecture (and fellow .Net celebrities Christian Nagel, Christian Weyers, Ingo Rammer and Ralf Westphal from Thinktecture) who, being unable to get on board because they did not get the info on time (Travel and busy schedules play tricks on all of us sometimes) they have decided to help by picking up all the e-bay fees.

   You can click on the above link to the e-bay auction or go here : http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5552696499

   For my part, I intend to give a rather "long hour", and to deliver without much delay (notwithstanding my busy agenda).


.Net | main
1/23/2005 12:28:42 PM UTC  #   

  Saturday, January 22, 2005

Sony chooses Microsoft for a Web Services based Web Presence solution

Sony, although almost all their exisisting systems are J2EE based, has choosen .NET Framework and .NET Framework built Web Services for their new Professional Services web presence. Check it out at eweek...

 


.Net | main
1/22/2005 6:36:22 PM UTC  #   

  Friday, January 21, 2005

Buy an hour of consulting time and help the Tsunami Victums of Banda Aceh

A group of us RDs, MVPs, .NET experts, trainers and consultants, including very famous .NET community figures are going to auction an hour of consulting time for the benefit of Tsunami victims of Banda Aceh. The iniiative, championed by Julia Lerman and Stephen Forte  will go live soon. The participants include:

Michelle Leroux Bustamante (Das Blonde, the Interop Worriors princess), Kimberly L. Tripp (Sql Hera, Anti-Suckiness club member), Jonathan Goodyear(Angry Coder), Andrew Brust (The most quoted .NET expert), Richard Campbell (Toy Boy), Adam Cogan (Office Development Guru), Goksin Bakir (Yoda, the JIT Speaker,Anti-Suckiness club member), Jackie Goldstein (Author and very active community leader), Ted Neward (Mountain of worthy information), Kathleen Dollard(GenDotNet), Hector M Obregon, Patrick Hynds (Tech Seige, the smartest man I know and he still has a life), Fernando Guerrero (Solid Quality Learning), Kate Gregory (Great Kate, and C++ is still alive and well), Joel Semeniuk (not work burnout, simply enjoying Team System), Scott Hanselman (ComputerZen or the nicest person on the face of the earth), Barry Gervin (Not lost and still having great fun with triangulations and Map Point), Clemens Vasters ( Enterprise Development & Alien Abductions, Das Blog, Proseware, hundreds of talks, and still disposed to give you a liberal interpretation of "1" hour,Anti-Suckiness club member) , Jorge Oblitas (No, Pisco isn't part of the auction deal, just very serious consulting time), Stephen Forte (Your money goes to the tsunami victims, but the love letters still go to Steven,Anti-Suckiness club member), Jeffrey Richter, John Robbins and Jeff Prosise (Wintellect).

_________________________________________________________________

Who this auction is to benefit?

In the long run, the auction is to benefit the people of Aceh Province, Sumatra, who have had their island destroyed and lost nearly 100,000 of their people. The waves may be gone, but the devastation continues and the fear of many more dying from disease continues.

We are trying to help, by assisting Aceh Aid at IDEP, an organization that is local and doing amazing work.

There is an area on their website devoted to this work: www.idepfoundation.org/aceh_aid.html. (www.AcehAid.org will take you right to this page). I recommend that if you are interested in knowing who you are doing this for, you go peruse that website, read the updates, read about the volunteer search, etc.

Below is an explanation of IDEP and what they are doing.

WHAT IS IDEP?
IDEP is a small, Indonesian NGO, based in Ubud, Bali. Completed projects over the years have included community based development, sustainable living initiatives, permaculture training, waste management, organic gardens, recycling, etc. The focus is on helping people to help themselves. IDEP's founding director, Petra Schneider is a US-born, Indonesian citizen. The demonstrated and reproducible success of IDEP's small projects in local communities has earned the team an excellent reputation.

IDEP AND DISASTER RESPONSE/RELIEF/RECOVERY
At the time of the Bali bomb, about two years ago, IDEP was an important element of the network of local NGOs and other supporters that quickly responded to the tragedy, in various ways, not only immediately after the bomb, but during the recovery process for the various communities involved. Following shortly thereafter, IDEP received funding from USAid to create a comprehensive set of disaster management materials for Indonesian communities, aimed at children, families, and local leaders (official and unofficial). The materials are in the Indonesian language and suitable for use in rural and urban settings. These materials, including a booklet for children about Tsunami preparedness, were finished just weeks ago, but had not yet been disseminated to communities. Then the tsunami struck.

WHAT IS ACEH AID AT IDEP
Only hours after the news of the tsunami reached Bali, the same network of NGOs and individuals in Bali who had been involved in the relief efforts for the Bali bomb, reanimated and went into action. We started something called the "Aceh Aid Bucket Brigade" (see website), creating and deploying one-family-one-bucket multi-material aid packages from the hands of donors in Bali to the field in Sumatra. We began sending highly skilled volunteers, well-matched to the task within two days of the tsunami (Sam Schultz, Lee Downey, Oded Carmi and others). Our relief, and later, recovery programs in response to the Tsunami are now focused on two fronts. One is direct aid from Medan by road to areas around Banda Aceh. The other is this remarkable joint effort (nothing short of heroic), to the islands off the west coast of Sumatra, which as of yet, have not been receiving aid from any other channels that we know of.

_________________________________________________________________________

About the auction:  We have 25 amazing consultants and trainers in this auction. Each person has donated one hour of consulting time, to be provided by email or phone (at expense of bidder). The consultant and winner are free to agree upon other arrangements. It will be an Ebay "multi-item" auction where all of the consultants are in the same auction. The top 25 bids will be the winners. The highest bidder will get first choice of which consultant they would like to work with. Payments will be made DIRECTLY to Aceh Aid at IDEP's PayPal account (acehaid@tides.org).

A note about multi-item auctions: Normally and EBay multi-item auction is set up to auction off identical items, such as hammers. Given that they are of equal value, the multi-item auction rules state that the winning bidders would each pay the amount of the lowest winning bid. The .NET Celebrity Auction for Aceh Aid at IDEP will not work this way. Since this is a charity auction, we expect the winning bidders to pay the amount of their final bid. Allowing bidders to select consultants based on their bid rank justifies this, but moreso, the fact that this is a charity auction justifies this.

A note about your tax-deductible contribution: All contributions will be made through a PayPal account that goes to Tides Foundation (www.tidesfoundation.org) which is a  US-based 501c3 non-profit, permitting tax-deductible contributions and supported by many corporate matching programs. Tides Foundation's EIN is 51-0198509. Tides Foundation then forwards the full amount of the donations directly to Aceh Aid at IDEP


main
1/21/2005 12:07:16 AM UTC  #   

  Thursday, January 13, 2005

VSLive San Francisco

I will be doing a session on Sql Server Mobile Edition on February 9.


main | mobility | speaking
1/13/2005 3:00:20 PM UTC  #   
Middle East Developers Conference in Cairo

A great conference will take place in Cairo with Bill Gates doing the opening keynote. Among the speakers, there will be Rafal Lukawiecki, Kimberly Tripp, Stephen Forte,Goksin Bakir,  Patrick Hynds, Hans Verbeeck, Dina Lasheen, Ahmad Badr, Hossam Khalifa and others.

I will be presenting 7 sessions :

  • Information Bridge Framework Overview: Business and Architecture
  • Visual C# 2005: Language Enhancements
  • Interoperability and Integration using Web Services
  • Using Visual Studio 2005 to build data-driven applications in ASP.NET 2.0
  • Security - Developing Identity & Access Aware Applications
  • Overview of Java/J2EE to .NET migration approaches and tools. Helping ISVs to migrate
  • Which Application Blocks? PAG perspective guidance to build flexible applications on the windows platform


main | speaking
1/13/2005 2:50:17 PM UTC  #   

  Sunday, January 09, 2005

Atlanta (Microsoft AntiSpyWare) is out

you can download the beta here


main
1/9/2005 1:41:16 PM UTC  #   

  Tuesday, December 21, 2004

If you try to contact me and I don't respond, don't worry... I'm simply SOA bound.

I have cut all contact with the outside world for a couple of days to make sure I can finish my work on the SOA Application I talked about earlier. It is not easy to do a project all by oneself, with nobody doing tests and other simple tasks. I have to go from thinking at the conceptuel level to creafting impelmentations, to downlevel code debugging stuff (with transactions, multithreading, message conversions, ...and all and all) ...

For now, I have 6 different services (two of which exist in 4 instances each, and one in two instances), with a process handled by one way web service requests all the way through, all collaborating nicely (with basic integration tests, I still have some debugging going on). I am plugging the UI on to do integration tests.

I hope by tomorrow, I will have a beta release to start talking about.


main
12/21/2004 10:38:25 AM UTC  #   

  Monday, December 13, 2004

SOA stuff coming up

I haven't been blogging for a while, and that is simply because I am too deeply immersed into a project. I can"t tell too much yet, but basically I am building a good size SOA implementation. Off course, it is not the size of proseware, nor as fancily crafted (I don't have the skill of Sir Clemens to do that), but it is still a nice example (with a few thousands of lines of code). It will be another two weeks before I can discuss it more openly here...


.Net | main | SOA
12/13/2004 11:29:34 AM UTC  #   

  Friday, November 05, 2004

East Med Developers Conference

  Very intersting Speaker Roll at East Med Developers Conference. I will be delivering 5 sessions (2 on Mobility, 2 on ASP.Net 2 and one on Web Servcices Interoperability)


main | speaking
11/5/2004 2:47:51 PM UTC  #   

  Wednesday, November 03, 2004

What a stupid approach to building a highly visible site!

This is just one of many errors on this page... looks like they have some guy editing HTML to make the needed changes which occur...whenever they have some election news!!!!

One would have expected that they would have heard of DataBases, and maybe even about Content Management... not after you look at the javascript mess they have on the page, and the errors that kep showing up hinting that HTML has changed and is broken...


main | US elections 2004
11/3/2004 3:36:07 AM UTC  #   

  Monday, November 01, 2004

Check this out!

Great offer by Scott Hanselman... Check it out!

The tool is great, and the price even more so ($34.96)...

 


main
11/1/2004 10:07:12 PM UTC  #   

  Saturday, October 30, 2004

what if the US election comes down to a tie?

I was playing the CNN.com Presidential Showdown Game and what I thought was the most likely outcome looked like this :

   To my big surprise, when I tried to figure out what the result would be, it was 269 electors for Kerry and 269 electors for bush!

    If that happens, well, then the decision would go to the House of Representatives, with one vote for each state, which most certainly will mean a victory for Bush... He would then be the only president in US history to be miselected twice. Even more surprising is that in that case, the most probable vice-president (decided by the senate) would be John Edwards!

    Also interesting to note is that, if that was ever to happen, then don't expect to know who is the president before January...

    Let's hope it doesn't come down to this scenario (by the way, I looked in the "Internets" and found another prediction of a tie that uses a different electoral map projection, and another one one more that bank on elector Richie Robb from West Virginia voting for Kerry)


main | opinions | US elections 2004
10/30/2004 9:41:27 AM UTC  #   

  Tuesday, October 19, 2004

Does Bush Compaigning help ... Kerry ?

   I have been puzzled by what has been happening in the US election compaign this past week in Florida. It really looks like the more Bush compaigns there, the more the state leans closer to Kerry (today, Survey USA is giving Kerry 50%, Bush 49%)... Well, maybe the Kerry compaign should send Bush to more battle states...


main | Other Texts | US elections 2004
10/19/2004 11:48:27 PM UTC  #   

  Monday, October 18, 2004

LinuxWorld Expo runs on Windows 2003...

According to Netcraft, LinuxWorld Expo (which defines itself as :"LinuxWorld Conference & Expo® is the world’s most comprehensive marketplace for open source products and services.") runs on Windows 2003...

They also say "LinuxWorld Conference & Expo is where open minds meet." I hope this openness will last...


Linux | main
10/18/2004 5:23:05 PM UTC  #   

  Tuesday, September 28, 2004

Microsoft's Open Source initiatives !!!

   As strange as many might think it to be, Microsoft has open source initiatives... They just announced yesterday a new Open Source initiative called "FlexWiki". It concerns software for making Wikis... A quick look at the developers for the project (on source forge) and you see the inventor of Wiki, Ward Cunningham (of the Platform Architecture Guidance team at Microsoft).

   This is not the only project by Microsoft at source forge. Some of the earlier releases this year include Windows Installer XML (WiX) ans Windows Template Library (WTL).


main
9/28/2004 11:08:23 PM UTC  #   

  Friday, September 24, 2004

God Bless DBCC Rebuild_Log ... It made somebody's day, and mine...

   Today, I had a call (on IM) from a friend in deep trouble. As usual, it was their fault completely... They did not make any backups for their DataBase !!! and sure enough, they didn't relize what they were doing until disaster happened... Looks like they didn't make it a requirement during a test phase (foolishness!) and didn't make any new requirement when going to production !!!

   Anyway, the DataBase guy claims that all of a sudden the DataBase (on SQL Server 2000) wasn't there anymore. the .mdf and .ldf files where still there... he tried to attach the database, but it wouldn't work (they wheren't properly detached)... So they called on my friend, who had built the solution for them. She didn't have any database recovery skills (neither do I for that matter), and she pinged me. I tried the usual recovery techniques, like starting from an old database and try to recover from the transaction log, but it didn't work (transaction log corrupt). Then we tried the sp_attach_single_file_db with only the mdf file, but it kept asking for the ldf file. I googled a bit, and stumbled on DBCC Rebuild_Log. At that point, our problem was not to have consistant data, but to have any data at all, so we were ready to try desperate moves... However, before doing the trick, we needed the DataBase to be attached (even if it is in a suspect state). So what we did is create a new DB with the same name and file locations, stop the SQL Server, and replaced the mdf of the new empty database with the mdf from the broken database, and restarted SQL Server. The DataBase showed as suspect. then We executed a DBCC Rebuild_Log. Restarted SQL Server, and the DataBase showed up. After checking consistancy and the data, it looked like everything was there...

    Well, I hope they learned the lesson, and that the first thing they would be doing tomorrow morning is creating a Disaster Recovery plan and testing it correctly...

    I am quite happy I could help on a disaster recovery on SQL server... never thought that could ever happen.


main | other technical topics
9/24/2004 8:28:53 PM UTC  #   

  Thursday, September 23, 2004

KL PhotoBlog

With Lim Say at the Microsoft Office in the Petronas Towers (tallest building in the world)

 

Steven is Huge in Japan...

The stairs to the Batu Caves

Entrance of the Batu Caves

Monkay...

Kimberly, Goksin and I Blessed by the priest...

At the Petronas Towers KLCC

 

With Kimberly at the Menara Kuala Lumpur (one of the highest telecommunications towers)

 

Eating out on the street in China Town

 

Petaling Street

At the Chinese lantern Festival (Adam, Goksin, me, and Ee Von)

Brian, Eevon, Richard, Adam, Kimberly, me and Goksin at the Palace of the Golden Horses


main | Travel
9/23/2004 12:17:24 AM UTC  #   

  Wednesday, September 22, 2004

The "GBers Club" at an Imbi Mall

   Saturday, I was with Richard and Goksin at a techy mall in Kuala Lumpur. We all wanted to get "gigged". I and Goksin wanted a 1Gb SD card, and all three wanted GB USB2 key drives... The mall (which we had visited earlier with quite a few others : the 3 of us and Kimberly, Brian Noyes, Adam Cogan and Stephen Forte). That mall is very surprising... here is the kind of adds you see there :

   When was the last time you saw such a big Disk Drive add in the mall ?

   Off course, there where quite a few other intersting curiosities, like these (current exchange rate is RM3.75 for US$1) :

 

   The highlight Saturday was getting Gigged (correct spelling would be GBed). I don't think I need to comment this picture :

All I need to say is that we left KL GBless !!!


main | Travel
9/22/2004 12:29:55 PM UTC  #   
Remake of the Terminal or a very long trip home from Kuala Lumpur : Emirates Sucks

   My return trip from KL was very harsh, to say the least. After a nice diner Saturday night at a Japanese restaurant in Petaling Jaya with Goksin, Richard, Eevon and Angeline, I leave the Palace of the Golden Horses around 11:30. I get to the airport at midnight, and head to the Emirates. Once I get there, I see there is quite a bit of disorder. I show my ticket, and the man on the counter says my reservation was canceled, and that he can only put me on stand by, but there are so many people on stand by that there no chance I can get in. I ask to speak to their manager, and I find that there is a big number of people out there complaining. I try to figure out what is happeneing, but they simply would not respond until the plane leaves... Then, I find out that there was a huge overbooking on the flight, and that only people that reserved their seats got into the plane, and that they wouldn't let go of the funny idea that me or my travel agent have canceled my reservation, so, it is my fault and there is nothing to do about it. I was on my own. I tried to find out when is the next flight I could take, and te answer was pretty much that they can only do stand by for the next few days!!!

   I used to be a big fan of the Emirates, but now, all I can say is : Never Again!

   By then, it was about 3:30 am, I had no Hotel reservation, and there was no way to book a new ticket, or even to make a Hotel reservation (there was no information counter or Hotel reservation booth open at that hour of the night)... I tried to find some form of Internet Connectivity, and was told that I can find it at Burger King. I went there, and was told it was broken...

   The night was very long, trying to find a way to occupy myself until morning comes. Then, around 7 am, I finally find a malaysia airlines ticketing counter open, and I ask for a ticket to Casablance. The answer was that they only sell malaysia airlines tickets, and they do not serve Casablanca. I asked where I could find an open ticketing counter for any other airline, and they said there were none at the airport, and the airline offices in the city are closed on Sunday... So I took a ticket for London (the only European destination that had a morning flight, and I called home to arrange for a London to Casablanca ticket). Since Morocco credit cards are not usable outside of Morocco, My Friend and fellow RD Goksin, who was at the airport by then to take his 9am Istambul flight used his credit card to pay for the ticket. after the customs and police, Richard had arrived to take his flight to Hong Kong, and we sat and had cofee together, then we all wished each others nice trips. By the time I was boarding the plane, I had not yet received confirmation for my onward ticket to Casablanca, and since I did not have a UK visa, was not let into the plane. So I had to go through a very embarrassing situation with the airport authority, and they took copies of all my documents, than I had to go back through immigration, then to the ticketing counter again, and I had to change my London Ticket for a Paris one (I do have a 3 years Schengen visa) which was scheduled at 11:20pm !!!

   So after I finished playing Tom Hanks in "The Terminal" for almost 24 hours, I finally could head home through Paris. The 7 hours overlay in Paris seemed like a short coffee break... 


main | Rants
9/22/2004 9:38:14 AM UTC  #   

  Wednesday, September 15, 2004

Having a good time in Kuala Lumpur

    TechEd Kuala Lumpur is great this year. Yesterday, I presented two sessions, one on the contract First approach to Web Services, and one on mobility. I will be posting my demos here as soon as I get back to Casablanca and package them. I will be doing my "Secure Coding Techniques" session tomorrow.


main | speaking
9/15/2004 5:41:24 AM UTC  #   

  Tuesday, September 07, 2004

Working with a framework vs. code generation...

    It sounds like I will be crabby on my posts this week. Although I am not seeing axis or IBM Web Services for the first time, I cannot stop myself from being horribly surprised by the programming model. I will not compain about all the times the environment (Web Sphere Studio 5.1 or test integration server crashes for unknown reasons). I simply cannot understand how they expect a developper to be working with tons of generated code, which has even a few bugs... like this line :

mc.setProperty(com.ibm.ws.webservices.engine.MessageContext.PARAM_MAXOCCURS_NOT1, _set2)

   It gets generated in the SOAPBindingStub when working with unbounded arrays as return type, but it seems that MessageContext has no such field...

   Not too long ago, I was looking at some interop problems one of my customers had, and we found ourselves forced to deal with a huge amount of generated client side generated source code to be able to pass a username and password for authentication (the version of the tools we were using simply dropped authentication by username and password when they added support for oasis...)

My main problem is not why there are a few bugs (even if they are at a very basic level and should definitely not be there if anyone is going to be using the tools in the real world), but that the bugs are in generated code, which will be regenerated when one makes changes to the source of the bean the service is built from. This means that the bug will have to be fixed manually zillions of times during the development process !!! and I have not even started to talk about maintaining the service after it is deployed... and it is not something that happens on 1 generated file, but a big number (serialization/deserialization classes, binding stub, proxy, service interface, helper classes, meta data, and other bizarre things) 

   XML Web Services are built on protocols and interoperability specifications, and the mapping between an object model and a service model should be built as a framework that encapsulates the generic way of mapping the two worlds, or on a new programming model totally built for services (message contract, service contract, channels, ports...etc.).

   That is the way Microsoft is dealing with the problem, and I think they are right in doing so. the asmx model offers an extensible easy way to map the object world to the message world, and takes care of mapping the whole thing into xsd and wsdl. This model is still OO, but it works for the OO developer. with Visual Studio 2005, and later with Indigo, the service programming model gets its implementation as a framework.

   Between the two programming models, my choice is definitely made.


.Net | main | Views
9/7/2004 1:16:55 AM UTC  #   

  Thursday, September 02, 2004

Arabs should take a much clearer stand on terrorism!!!

    As much as I have noticed, for once, a great show of sympathy and support from almost everyone in the Arab and muslim worlds for the french hostages in Iraq, I see in the message they are projecting some confused and ambiguous position. They seem to say it is wrong because "France is our Friend, and the issue is about its internal affairs".

   I am really sorry, but I can't view the world in that way. It is not about a government being "our" friend or enemy, but about innocent human being being held hostage... What difference does it make if they are French, Americans, Israelis, Australians, Spanish, or my next door neighbor ? I believe that we have seen in the last few years many more atrocious terror actions, and those same people have not taken positions as strong as they are doing this week. I hope it is a change of stand, but they should make clear it is not just becquse the 2 journalists are French. Every sensible and sensitive human being should be vocal about refusing terror in all its forms. I have great sympathy for the Palestinian people and their just cause, but I believe they have done so many terrorist acts in the last few years that I can not justify by any rational reasoning. There is absolutely nothing that can justify killing people taking a bus, sitting in a cafe, shopping at a market, or dancing in a night club. There is also nothing to justify killing people in their homes, terrorist acts the israeli government has commited many times, the american government has commited in Iraq, Afghanistan and many other places.

   What is it that is causing so many fights, usually linked to politics? I dream of a world with no borders, no nations, no patriotism, and where ethnicity, culture and religion are enriching factors for everyone... But I know it is just a dream... until so many others share it...


main | Views
9/2/2004 3:30:28 AM UTC  #   
Oh boy, oh boy...

    It is 3 am here in casablanca, and I have been working non stop for about 33 hours (except for a couple of hours of sleep in front of my laptop screen). I had a disk crash that made me loose a lot of time during the last 2 weeks, and I had to re-download and re-install WebSphere Studio with the Integration Test Environment (the minimum environment I need to show some interop issues between .Net and Websphere, and how to gurantee interop for my architecture session in TechEd Asia in Kuala Lumpur, Malaysia). So I took it up starting Tuesday around 6am, and here I am still.

   Boy I am happy I do not have to be using eclipse on a daily basis.


main | speaking
9/2/2004 3:12:42 AM UTC  #   

  Tuesday, August 31, 2004

Longhorn announcement was great news!!!

   Although many might be reporting Microsoft's Friday announcement as bad or mitigated news, I only see in it great news. Here is my tqke qt the issues :

  1. It is reassuring to know that what matters most to me as a developer and architect, i.e. Avalon and Indigo, are on track and going to be released in 2006 as previously announced. As for WinFS, and away from the hype, even if I did consider it interesting to deal with the amount of data that we will be faced with whithin the Longhorn timeframe, it is not as important to me as the other two tenets, especially if search is, as promissed, enhanced to a level where it becomes really efficient. here is how I view the three technologies :
    • Indigo : if there is something that will change the world of computing and make the vision that Rafal Lukawiecki calls "pervasive integration" happen, it is the "Service Orientation". Off course Microsoft has been leading in the world of Web Services (asmx and WSE), but not until "Indigo" will we have the tools that allow us to start fullfilling that vision. It is the first framework that allows us to thing, design and implements in terms of SOA concepts (Data Contract, Service Contract, abstracting the services from the channels and transports). If there is any technology I am eager to see released as soon as possible, it is Indigo. This technology is really what will make development much better, and allow for the richest feature model through a coherent, mangeable model based on SOA.
    • Avalon : Even though the most talked about features of Avalon are not necessarily very important to me, I am very happy they are included in the Longhorn release : media and UI unification, vector based graphics, higher shell integration, unification between thin client and rich client, ...etc. These will make applications look and feel different, but will take time before becoming mainstream, and thus are not as time sensitive.  However, what I would rather see happening as soon as possible, is a model where design is truely separate from code. that will save me and the developers I work with an incredible amount of time.
    • WinFS : Although I am probably not the best person to discuss the importance of rows and columns, I see WinFS as being a very interesting way to unify various Data Formats, but I remain convinced that with or without WinFS, our documents will still live in folders for quite some some time, which means that I don't see it as a time sensitive issue. at the same time, and with Yukons support for managed types and XML types, I don't see what would stop our applications that use or can make use of large quantities of document to store those in the database. We are not yet at the phase where developers are doing it and in bad need for a better framework. I even see the delay as beneficial, because it may well trigger more custom developped solutions, and thus real world experience that will guide the final format of WinFS. I will not discuss Object Spaces here, because I truely don't see that technology to be either important or even beneficial, simply because I don't like mapping messages and objects (although I do use such an approach sometimes, I prefer not to have it formalized as if it was a best practice). The only valid reason I can think of that would make WinFS an urgently needed technology is the need for quickly finding information that resides in documents in the huge number and size we probably will have on our hard disks (or for that matter, in remote storage as well) by 2006. That is why I was very relieved to hear that the new search functionality is going to be part of Longhorn.
  2. If the annoucement was marked by the decision to keep the schedule, and to cut WinFS, it did confirm a very happy rumor : Avalon and Indigo will be released for XP and 2003. I have explained above why I need and want those technologies, and being able to use them on a broad deployment base is very good news indeed. I hope they will also be generalized to the various Windows mobile products as well.
  3. I have seen some criticism about these news marking a move from being "technology oriented" back to the old "product oriented" days. actually, the announcement that the core technologies are being developed independently from product release constraints, then making it into a product release or not based on their own maturity and quality conveys a quite different message. Off course Microsoft makes its money out of products, and even its customers want it to be giving them the latest technologies as they go, according to manageable cycles. I think many customers would have been unhappy to be using the same technology for 7 years. that would have forced another major service pack / second edition, which would have been much less interesting than the new technologies that will be ready in 2006. I believe the message this annoucement conveys is that Microsoft remains a technology company, and that it does deal with market constraints and needs without compromising quality of the features and technologies.

.Net | main | Views
8/31/2004 9:47:50 PM UTC  #   

  Thursday, August 26, 2004

Pat Helland and SOD???

I have been to a Pat Helland great sesssion about the analogy between SOA and the Metropolis (I know others have seen that a long time ago, but I have been busy last spring and summer speaking and learning new stuff). It was overall a great session, but it did introduce a concept that I believe is totally new (to me at least)... it can summed up with the acronyme S.O.D. which littreally means "Slide Oriented Delivery"... I have delivered somwhere around 100 presenttions since January 2004, but I still think it is a totally weird thing to have over 70 slides in a one hour presentation... I don't mean to criticize, but still, BOA was a good shot, HST wasn't a bad joke, but SOD certainly doesn't work...

I have many other remarks, but If I told you any of the confidential info, I would very simply have to shut you up, which usually would implicate killing you... (unless you are under the right NDA, but then you probably have access to me by other means)

A last word : I advocate SOA, I accept thinking BOA, I tolerate DOD, but I certainly refuse to cope with SOD...

good night


main | opinions
8/26/2004 9:52:15 AM UTC  #   

  Friday, August 06, 2004

Can there be an exploitable buffer overrun in the CLR ?

   last June, at the Q&A session at the Pakistan Developer Conference in Karachi, an attendee asked : "Can there be an exploitable buffer overrun in the CLR?". My answer was that it is always possible in theory... I was really tired after five sessions back to back. I did not develop my answer enough. I am not an expert on the CLR, so I post this in hope to get some comments from more knowledgeable people on the subject.

    Here are my thoughts :

  1. The CLR is definitely unmanaged, and thus, in theory it can have a buffer overrun. No Developer is beyond making mistakes, and there certainly could be a buffer overrun. the problem is whether it can be exploited, and if so, how...
  2. One shouldn't confuse the CLR with the .Net Framework : we develop in managed code against the built-in classes of the .Net Framework. this means that any exploitable buffer overrun that would surface in our applications would have to be there on the classes we develop. This means that if a buffer overrun on CLR is to be exploited through managed code, it has not only to be there on the CLR, but also to re-surface through some of the .Net Framework classes (calls to managed heap allocation for example, without validating values before making the call to the CLR). then, our own code would have to have the same flaw again... that means that the same flaw, applying to the very same value, would have to exist in three separate layers. The probability is so low that, even if it is theoritically possible, it remains so improbable that one should dismiss its possibility. There is a higher chance of having a class in the .Net framework itself having a buffer overrun in a native call, than having a CLR buffer overrun re-surface.
  3. Can there be an unmanaged call to the CLR exploiting a possible buffer overrun ? I will address this in a coming post

    Anyway, I realize the question's main objective is to find out whether it is possible to defeat the managed code security messaging. No matter whether there is a possible theoritical buffer overrun exploit (which will be, in any case so improbable that it is virtually impossible), it is very clear that the managed code is hundreds of times more secure than unmanaged...


.Net | main
8/6/2004 3:15:22 PM UTC  #   

  Sunday, July 04, 2004

Taking some time for myself

    Back to Casablanca. My great friend Chris Foster is here. I am taking some time for myself, and to take her and her friend Kristen around.

     I will not be blogging for few days. When I'm back, there will be quite a few technical topics I will be talking about, and a few poetic texts waiting to be let out...


main
7/4/2004 8:56:10 PM UTC  #   

  Monday, June 28, 2004

Mauritius DevDays was great...

     Friday, Lee Mungai and I had a great day speaking at DevDays Mauritius. here is the content I presented (sorry for the delay).

(0) Trends and Vision.ppt (1.54 MB)

(1) Threats and Defenses.ppt (1.72 MB)

(2) Rebuild the puzzle.ppt (1.69 MB)

DevDays_Demos.zip (257.15 KB)

Demos Tutorial.zip (387.06 KB)
.Net | main | speaking
6/28/2004 6:26:59 AM UTC  #   

  Friday, June 18, 2004

What do geeks talk about at midnight for fun ?

   Wednesday, coming back from the Bowling in Area 51, I was the accomplice of Nasser recording a conversion that took place on the bus somewhere around 12:30 AM.The main voice that is on the recording is that of Serge Lenbet. Off course the rest of us, as geeky as we are, were discussing much more technical subject like distributed security and handheld devices used by the mobiles forces...

 Enjoy

 

recording
main | speaking | Travel
6/18/2004 6:55:13 PM UTC  #   
Bowling after a long day at PDC

    Yesterday, after a day in which I spoke on 5 sessions back to back, and then had to sit through the Q&A session (not that I had any energy to actively partcipate). Then, with a heavy security escort (the police took us for some really important people as it sems), we all went a bowling in Area 51.

At the bowling, we had fun and very good food. There were all 6 RDs :

 

From left to right, one can see Ahmad Badr, Hossam Khalifa, Clemens Vasters, Me,Goksin Bakir and Farhan Muhammad.

 


main | speaking | Travel
6/18/2004 12:40:25 AM UTC  #   

  Tuesday, June 15, 2004

Pakistan Developer Conference started today in Karachi

    This morning, the Pakistan Developer Conference 2004 has started in Karachi. The event is sold out (4000 registered, only 1500 accomodated because of venue size).

    The opening session was attended by many oficials : Chief Minister of Sind, Pakistan Minister of IT, Minister of IT of Sind, Mayor of Karachi, and others. Rafal Lukawiecki did a great keynote on his view of the next decade in IT.

The Mayor of Karachi speaking about the value of IT for the City, and welcoming ecverybody.

 

   There are 6 RDs speaking at the event (Steven Forte was supposed to be of the party, but couldn't make it because of a blizzard in Alaska. Get Well quick my friend, we miss you over here). The RDs speaking are :

  • Clemens Vasters
  • Farhan Muhammad
  • Goksin Bakir
  • Ahmad Badr
  • Hossam Khalifa
  • myself

main | speaking
6/15/2004 8:28:52 AM UTC  #   

  Sunday, June 06, 2004

DevEssentials Secure Coding session

   Yesterday, I did my "Secure Coding Techniques" talk at DevEssentials in Kansas City. Here is my slide deck (content is more extended than what I talked about). I will be posting the code samples shortly.

Secure Coding.ppt (1.1 MB)
main | speaking
6/6/2004 8:22:37 PM UTC  #   

  Sunday, May 30, 2004

Slide deck and demos for my Cabana session on Smartphone

   As promised, here are the slides and the demo code...

Slide Deck (956 KB)

Contacts Web Service Source Code Installer (193.99 KB)

Telephony and Messaging API demos Source Installer (3.4 MB)

   I will be posting more and updated code on smartphone, including VB wrappers.


main | speaking
5/30/2004 7:54:11 PM UTC  #   

  Thursday, May 27, 2004

My smartphone cabaña session yesterday

   Yesterday, I did my cabaña session at TechEd on "Writing Smartphone applications with the compact framework and the telephony and messaging APIs". I promised I will be posting the slides and code today, but the connectivity (both at the convention center and at the Hyatt) is so unstable I had to upload 3 times with no success. I will catch up as soon as I get back to West Virginia (Sunday). sorry for the delay...


main | speaking
5/27/2004 11:23:12 PM UTC  #   
Cabaña sessions and lounge rock!

    Monday, some people were expressing some concerns about the concept of the Cabaña sessions (some found it hard to hear the speakers). Even then, many sessions were really great, with a fantastic interaction between speakers / panels and attendees. It got better every day, and the concept is so great I hope it will be maintained for next year (and also generalized to the other International TechEds).

    I had a good time on my session yesterday, and I think a few of the attendees found it informative. If I was to criticize anything about it, I would simply regret that there are no evals for the sessions.

   The lounges are comfy, and give a great intimate atmosphere for discussing and having questions answered by subject mater experts, as well as for making connections with people.


main | speaking | TechEd
5/27/2004 11:18:52 PM UTC  #   

  Sunday, May 23, 2004

TechEd : The RD booth at the community pavilion

  

Come over o the RD booth (booth 49-50) and play bingo, take your chances at the Apprentice.Net. there are prizes to win.


main | TechEd
5/23/2004 9:31:06 PM UTC  #   
BOF on Service Orientation tonight at TechEd

   I am hosting a Birds of a Feather session on Service Orientation, with Clemens Vasters and Scott Hanselman on the panel. The session is a great opportunity for those interested in understanding what Service Orientation is about and how it plays out in the real world, as well as what it means for the developer and for the application architect. The session is scheduled at 8pm in room 14B (rescheduled from Wednesday night).


main | speaking | TechEd
5/23/2004 9:18:40 PM UTC  #   

  Monday, May 17, 2004

Great weather in West Virginia, private time with family and hibernation

Here is where I am and what I am doing this week...

 


Anti Suckiness Club (private) | main | Travel
5/17/2004 10:52:14 PM UTC  #   

  Sunday, May 16, 2004

Smartphone stuff coming up...

   I have sepnd quite some time lately working with the Smartphone (and Pocket PC) APIs, including TAPI, MAPI, POOM, Sim Manager, and gaming. I'll be posting code samples shortly (I will post my full code samples and utilities after TechEd - I want the demos to be shown for the first time at my TechEd session DEVC31 "Writing Smartphone Applications with .Net Compact Framework and Telephony and Messaging APIs", so if you are at TechEd, come and see it first hand).

   Also coming up, 2 papers on Mobility and on "Contract First Approach to Web Services"...

   I will be hibernating for the whole week, finishing all my work (tons of decks and demos for all the upcoming events) and papers... Then you can expect quite a few technical blog entries...


main
5/16/2004 5:56:11 PM UTC  #   
Congrats SA

  I will never understand the heat that surrounds whatever relates to Football (Soccer is not the game's name, not matter what North Americans may think). I understand even less how the World Cup came to become a state issue.

 

  Moroccans have spent a long time dreaming of becoming a developed country  once they get a chance to organize the Cup... Wich is quite ridiculus, once one looks at the Moroccan bid. It is true that big events can help focus efforts to attain what would be unattainable otherwise, but what can be done through the World Cup, can be done through  a variety of other events... Some of which would even be better, because they would finance some of the investment needed.

   So, congratulation South Africa. You deserve it...


main | opinions
5/16/2004 3:44:16 PM UTC  #   

  Thursday, May 06, 2004

Why Async is important

    A couple of weeks ago, I was having a discussion with Ingo Rammer while driving from Marrakech back to Casablanca. We pretty much agreed that the applications have to implement the business process, and that it means, most of the time, to think about how the process is implemented with paper and people. At some point, we started talking synchronous vs. asynchronous execution. My immediate remark was that, if processes were meant to be all done synchronously, there would never have been any copy machines at offices... think about it...


main
5/6/2004 7:19:35 PM UTC  #   
Imagine Cup Finals in Morocco

   The Imagine Cup is organized for the first time in Morocco this year, and the finals will be on Saturday May 8th.

   The event is taking place at the INPT in Rabat (Institut National des Postes et Télécommunications). I will do a keynote on future technologies...

   I think it will be fun being on the jury (if I make it, for I have a chance to spend some time with my daughter this week end)...


.Net | main | speaking
5/6/2004 3:38:06 PM UTC  #   

  Wednesday, May 05, 2004

Microsoft Regional Directors at TechEd...

   This year, there will be a great number of RDs at the various TechEds all around the world. At TechEd US (San Diego), at least 40 of us will be present. While you'll find RDs among the speakers, the Cabaña subject matter experts, in the Birds of a feather sessions, and many other activities, you may also encounter them anywhere in the convention center and at the parties.

   What are RDs? We are about 130 independent developers, architects, trainers, consultants and other professionals from all around the world, very informed about Microsoft technologies (usually also about other thecnologies as well). We usually can give you informed opinions, based on real world experience and balaced views about Microsoft technologies.

   Look for the logo (see above), for not only you probably will get good advice and answers to your questions, but this year, there will also be some surprises...


main | TechEd
5/5/2004 11:34:57 AM UTC  #   

  Monday, May 03, 2004

The Cabañas at TechED this year...

   This year at TechEd, there is an interesting new addition : The Cabañas at the Community Lounge. The idea is to cut the distance between attendees and speakers/experts. Here are a few intersting happenings :

  • Meet the Technologist sessions : These are pretty much breakout sessions, but they are more attendee friendly in that they are smaller, and allowing more interaction with the speakers. They range from Chalk Talks to fully preped presentations with demos, in small open Cabañas. Attendees (At most, 30 per session) will have the oportunity to ask questions as the speaker is covering his topic, which, I am sure, will give those sessions a much more intimate atmosphere.
  • There will be no speaker lounge at TechEd, and speakers are supposed to simply hung out at the Community Lounge. That will let the attendees find the speakers much more easily and interact much more easily
  • There will be a concierge to help attendees find experts that can answer their questions. Many experts both from Microsoft and from the industry will be present in the Community Lounge at specified times, so that attendees can find them easily and discuss their subjects of interest with them.

    If you attend TechEd, don't miss the Community Lounge, it will be a fun and informative experience.

    I will be giving a Meet the Technologist session on "Writing .Net Compact Framework application that use the Telephony and Messaging APIs". If you are interested in mobile device development, come to the session and I will be glad to discuss any questions you may have. I will also be present at the community Lounge pretty much every day.


.Net | main | speaking | TechEd
5/3/2004 4:35:08 PM UTC  #   

  Saturday, April 24, 2004

Yoda is also a JIT Speaker ...

Hurray for Goksin and his newly invented Just in Time Speaking:

Nairobi airport 12:20PM airplane lands. 1:15PM, grabbing the cab outside of the airport. 1:55 arriving at the Safari Park Hotel. 2:00PM speaking at the Kenya DevDays... What a great guy.

Update : I forgot to add that this comes after Stephen Forte and Patrick Hynds invented JIT Travel (they call it speed travel) last January in Egypt...


main | speaking
4/24/2004 11:42:48 PM UTC  #   

  Saturday, April 10, 2004

Yoda was in my house yesterday...


main
4/10/2004 11:20:08 PM UTC  #   

  Wednesday, April 07, 2004



What the heck is Channel 9? Channel 9 went online yesterday... Check it out.


main
4/7/2004 9:04:50 PM UTC  #   
NDC next week

 

   The Microsoft North Africa Developer Conference is great stuff. I am not saying so because I am part of the organizing team, but hey, where can you get this great line up of speakers, and still get in for free (even if you are located somewhere else than north Africa, if you don"t speak french, 30 sessions in english), and if you speak French, 48 sessions (The English language session have simultaneous translation into French), covering pretty much the content of a PDC style conference, for just the cost of T&E...

   If you are in doubt (I wouldn't forgive you if you live in North Africa...), just look at the schedule at http://www.microsoft.com/northafrica/ndc//NDC_agenda.asp and at the speakers list at http://www.microsoft.com/northafrica/ndc//NDC_speakers.asp

   Off course I am doing 4 sessions (Secure Coding techniques, Cryptography in .Net, Compact Framework - I go deep into the telephony API, and an intro to Avalon), but don't come to the conf just for my sessions, there are speakers you wouldn't get a chance at seeing unless you go to some expensive seminar or conference like Clemens Vasters, Scott Hanselmann, Stephen Forte, Ingo Rammer, Sylvain Duford, Yann Faure, Andrew Brust, Eric Groise, Goksin Bakir, and others (sorry for the order and for anyone I have not mentioned) ...

   This confenerence is pretty much the only event still having so much content both on current technologies and future technologies (Whidbey, Yukon and Longhorn are all covered). If you really are not convinced by now, I will see you at some conference somewhere, whre you'll paying a lot to get just the info you could have gotten here for free... It is all up to you...


main | speaking
4/7/2004 5:44:00 AM UTC  #   

  Tuesday, April 06, 2004

Séparation entre code et contenu : XAML ...

   Je me rappelle que, il y a quelques années, je me demandais pourquoi la plus grande partie des applications client riche avait un design très peu flatteur, alors qu'on retrouve du design bien plus poussé dans les applications Web. Cela ressemblait à une contradiction, puisque sur le client riche on dispose de beaucoup plus de moyen pour bien exploiter les capacités graphiques de la machine que dans un browser.

   J'avais à l'époque passé un peu de temps avant de me rendre compte (je suis peut être un peu stupide sur les bords?) que c'était parceque le modèle de développement n'était pas du tout le même. Sur les applications Web, les designers s'occupent de créer la charte graphique, et les développeurs s'attellent à ne créer que les fonctionnalités dynamiques (accès aux bases de données, traitement des interactions utilisateur, validation, ... etc). Ce qui m'avait pris un temps de réflexion était le pourquoi, avant de me rendre compte que c'était facile de créer des applications de design qui générent du code, mais qu'il faut encore que le code qui gère l'affichage soit séparé de celui qui gère les aspects dynamiques, et que HTML remplissait ce rôle. Je savait pertinament qu'il n'était pas facile de dépasser les fonctionnalités de HTML (temps pour normaliser, temps pour implémenter les nouvelles normes, puis temps pour que cette nouvelle norme soit supportée par la majorité des browser) et que cette opération prennait des années.

   Quand XML est arrivé, on pensait que c'était un bon moyen pour que, sur le Web au moins, on puisse créer du code qui exploiter facilement toutes fonctionnalités nouvelles des nouveaux browsers sans pour autant perdre la compatibilité avec les browsers ancien (différents XSLT en fonction du UserAgent). D'ailleur, on pouvait aussi imaginer que les applications client riche utilisent le même modèle en basant la génération dynamique de l'affichage sur du XML. Le problème restait que l'affichage était cintrolé par le XSLT, et donc que c'était aux développeurs de le traiter et non pas aux designers... et donc le modèle en entier cassait.

   Aujourd'hui, nous avons enfin un modèle qui permet de séparer réellement le code du contenu, que ce soit dans des applications client riche ou lèger, et ce modèle se base sur une forme de XML appellée XAML (Extended Application Markup Language). Ce modèle à été conçu par Microsoft dans le cadre de la refonte du sous système de présentation de Windows qui fera partie de Windows "Longhorn" (prévu pour 2006). Ce qui est intéressant dans ce modèle, c'est qu'il offre un modèle semblable à HTML, sauf qu'il est utilisable sur tout type de client, et que le code n'a pas a être mélangé dans le HTML (même plus que ce n'était le cas avec ASP.Net).

   Le principe est très simple :

  •  Le code déclaratif (XAML) permet  une utilisation très riche des possibilités graphgiques (contrôles, documents, médias, transparence, effets, animlations, transformations ..etc). il est donc possible de faire des designs impresionnant avec XAML (ce que Adobe a très vite compris et a commencé à préparer des applications de design basées sur XAML). Ce code sera utilisé par le compilateur comme une classe partielle complètée par le la classe qui est dans le code (sans avoir à ajouter des balises ou quoi que ce soit)
  • Le code fait en langage de développement qui constitue une classe partielle complétée par le XAML.

   Même si ce modèle fait partie de Windows Longhorn, on peut d'ors et déjà l'utiliser à travers les outils tels que Xamlon (interprétation du XAML en runtime, et code behind dans un code séparé) et les divers générateurs XAML qui permettent de transformer des documents Illustrator ou After Effect (ou autres) en XAML. Les résultats sont impéssioanants...


.Net | main
4/6/2004 11:57:08 AM UTC  #   

  Thursday, April 01, 2004

Globalization and getting the Months right (Arabic Morocco)

The follwing code is in C# (easy to convert to VB.Net)... Have fun :

 

using System;

 

namespace Malek.Globalization

{

   /// <summary>

   /// Summary description for CultureInfo.

   /// </summary>

   public class CultureInfo : System.Globalization.CultureInfo

   {

      public CultureInfo(int culture) : base(culture)

      {

         setValidDateTimeFormat();

      }

      public CultureInfo(int culture, bool userOverride) :    base(culture, userOverride)

      {

         setValidDateTimeFormat();

      }

      public CultureInfo(string culture) :    base(culture)

      {

         setValidDateTimeFormat();

      }

      public CultureInfo(string culture, bool userOverride) :    base(culture, userOverride)

      {

         setValidDateTimeFormat();

      }

 

      public static new CultureInfo CreateSpecificCulture(string culture)

      {

         return new CultureInfo(culture);

      }

//      private System.Globalization.DateTimeFormatInfo base.DateTimeFormat;

 

      private string[] MoroccoMonthNames= new string[]{"يناير", "فبراير","مارس","أبريل","ماي","يونيو","يوليوز","غشت","شتنبر","أكتوبر","نونبر","دجنبر",""};

 

      private void setValidDateTimeFormat(){

         if (Name.ToLower()=="ar-ma")

         {

               System.Globalization.DateTimeFormatInfo dtfi = (System.Globalization.DateTimeFormatInfo)base.DateTimeFormat.Clone();

               dtfi.MonthNames=MoroccoMonthNames;

               dtfi.AbbreviatedMonthNames=MoroccoMonthNames;

               dtfi.AbbreviatedDayNames=dtfi.DayNames;

               dtfi.ShortDatePattern="dd/MM/yy";

               dtfi.LongDatePattern="dddd dd MMMM yyyy";

               DateTimeFormat= dtfi;

         }

      }

   }

}

 

 

 


.Net | Csharp | main
4/1/2004 9:58:37 PM UTC  #   
Changes to C# announced

Dan Fernandez and Eric Gunnerson from the C# team have both disclosed today in their blogs some of the latest changes that will be made to the C# language in its next version (part of Visual Studio 2005). It seems those changes are made for legal reason, to comply with the FCLC commission rules.

While Dan speaks about some of the System.String changes, Eric writes about some of the keyword changes. While I love the new level of intimacy C# is getting into, I am afraid it will be quite difficult to migrate current code into the new version, and there will be no wizards nor clear migration path. Here are some examples of how current code translates to the new version :

  • string str = "my 69 year old grand father" --> [Decent, FCLCCompliant] string str = "my (d) 69 year old grand father"  //I used (d) instead the new decency symbol
  • the following code :

protected void Button1_Click(object sender, EventArgs e)

{

SqlCommand cmd = new SqlCommand("Select * from Users Where userName='"+textBox1.Text"' AND password='"+textBox2.Text+"'", myConnection);

if (cmd.ExecuteReader().HasRows) authenticated=true;

...

}

translates into something like :

stupid dangerous void Button1_Click(object sender, EventArgs e)

{

[PtentialObsenity()]SqlCommand cmd = new SqlCommand("Select * from Users Where userName='"+textBox1.Text"' AND password='"+textBox2.Text+"'", myConnection);

if (cmd.ExecuteReader().HasRows) authenticated=true;

...

MessageBox.Show("April Fools, thanks for reading this far");

}


.Net | C# | main
4/1/2004 9:15:45 PM UTC  #   

  Tuesday, March 30, 2004

Speaking at TechEd San Diego

I have just received confirmation I will be doing two "Meet the Technologist" sessions at TechEd in San Diego (May 24-27) :

1.Designing and writing interoperable Services: the Contract First approach

2.Writing Compact Framework applications for SmartPhones that take advantage of telephony and messaging APIs

If you are at TechEd, check out my sessions. If you have not registered yet, click the techEd button below to register. If you can't be there, I will be blogging about the event here...

 


main | speaking
3/30/2004 10:57:16 AM UTC  #   

  Monday, March 22, 2004

What the heck is channel 9

What the heck is Channel 9? What is this stuff ??? Stay tuned, this is something great... coming soone
main
3/22/2004 9:38:02 PM UTC  #   

  Friday, March 12, 2004

Terror has no citizenship, no religion, no land ... and should be fought by all !

   What happened yesterday in Madrid was terrible, and I feel the same I felt when there were terrorist attacks in Casablanca, New York and Washington, Istambul, ...etc. While the sorrow is the same, I found it ridiculous when the media started discussing who did it, and commented on the possibility of it being an "Al Qaeda" attack as being a "retalliation" for the war in Iraq... Some even went to discuss whether Spain had ennemis in the Arabic or Islamic world...

   I don't care if it was ben laden and his psychopaths that did it, or if it is the criminals of ETA ... Those guys have killed innocent civilians, and that is not what an "ennemi" does. It is, however, exactely what criminals and psychopaths do... I don't care what nationality were the people that were killed or hurt, I only need to know they are innocent civilians taking the subway to work, walking in the streets. I feel the same when israelis are hurt while on a bus or in a coffe shop, when palestians die at home because someone who is targeted by the israeli army lives next door or was driving on the street near by, when Turkish people are hurt while walking by a bank, Australians while sunbathing in a beach resort, Americans while at work, Moroccans while they are entering a Hotel, ...etc.

    This doesn't mean I agree with what politicians and militaries around the world are doing. I believe that zionism is bad (the same way any movement that bases itself on ethnicity or religion is bad), that the actual American government is totally wrong in what it is doing around the world (it is not democratic by any criteria to decide what the whole world should do and be elected by a single part of the world. That divides the people of the world and highers hatred between nations). I believe that the British, the Spanish and Italian governments were wrong in their support of Bush for the war in Iraq, and that at the same time Saddam Hussein needed to be ousted, but the way it was done was wrong (Saddam should either have ousted by his people, or by the whole world). But I fail to see any realtion between whatever is done wrong by those politicians and the terrorists acts. I believe that humans are, in their majority, good people. I also believe that that is true of the majority of any single group of people, whether we look at geaographies, religions, ethinicity or whatever other criterium. The small groups of mentally insane people (whether they are politicians, activists or criminals) should very simply be fought by peaceful means, and the goodness of the majorities will always win in the end.

    Those who try to "put these acts into context" have better start thinking what all this means... Terror is terror, no matter what motivates it, and nice people don't kill innocent ones... No religion tolerates this, and no land wants it... We should all fight it, starting by not being silent, and by not tolerating anybody advocating any form of violence, be it for political, "patriotic", or religious excuses...

 


main | opinions
3/12/2004 6:36:44 PM UTC  #   
NorthAfrica Developer Conference ... soon!!!

 

The greatest yet... The North Africa Developer conference this year features the future Microsoft technologies : Longhorn, Whidbey and Yukon, alongside the deep inside .Net development sessions covering most areas of interest for the developer, the software architect and the solutions decision maker... In this second edition of the NDC, we expect 1500 attendees at the 3 keynotes and 45 breakout sessions. Among the speakers, a strong Regional Directors presence including :

 

 


.Net | main | NDC
3/12/2004 9:35:13 AM UTC  #   

  Tuesday, March 09, 2004

Going to Kansas City after 13 years ...

   

    When my friend and rock star speaker John Alexander told me that there was a conference on .Net in Kansas City in june, I didn't take a second before I wanted to be there ... So I return to the midwest as a conference speaker, after I left it when I was still a student 13 years ago.

   As some may know, I have spent a few years in Wichita, Kansas during my university years, and driving the 3 hours I needed to get to KC was a weekend habit (Actualy, I used to drive to Lawrence, KS to visit some friends at Kansas University on saturdays, and usually party out there, before heading to KC in the morning to spend my day over at Worlds of Fun and Oceans of Fun). But since I left Wichita in 1991, I have never been to any part of the Great Plains (except for about a week in Chicago in the 1996 - or was it 97 ?) ...

   Last week, one of my greatest friends (I call her my sister) that I have lost contact with for the last 12 years found me through google ... Off course lots of things happen in such a long time, and I am very happy to be able to see her.

    So, somehow, the midwest is calling ...


.Net | main | speaking
3/9/2004 8:54:50 PM UTC  #   

  Monday, March 01, 2004

Al hoceima, a dear place I never saw

   I am not a humble person, and I know I have an inflated ego (well, I try to take the hype out, but who could really do it constantly), and I have been showing a lot of pride about knowing my own country better than most, and knowing large parts of the world as well ...

    The Earthquake has awakened me to a sad reality... Sure I know lots of people from that area, probably, I know more about it than most, but I just have never been there ... and it is no longer the same ... I have no shame about not knowing the people that died there, for that happens all the time somewhere in the world, and I didn't know that many people in people in Boumerdes, Algeria before the may 2003 earthquake ... however, it never crossed my mind to check on my many friends in algiers...

    I didn't show that much concern for my dear friend and fellow RD Michelle Bustamente when her area of California was on fire (well I was concerned, but I didn't dare show some affection at the time, I regret it now ...)

    I am far from being a patriot, and I say it louder than most would, but I realize I could have better managed my relationship with those I consider as friends and those I truely love (love is, as I think of it, affection one shares, and that, more often than not, would touch friendship more han it would touch closer physical relationships) ...

    Any way, Dear Rif region is suffering, and as much as I would like to be a universal person, I feel its sorrow ... Not that I claim any special rights (I reclaim I am no patriot), but I feel so deeply that sorrow that I wish I could do more about it ...

    I will just state this once more : I believe there is no difference between any two human beings, I feel deep sorrow about the Al Hoceima Deads, but no more than I would feel about NY deads, Tel Aviv deads, or Beijin deads for that matter ...

   I also feel I have something in common with those people that I don't necessarily share with everybody else : a perfume, a sound, some colors, a flower's sent, whatever makes a sentiment of belonging to this area of the world ...

    I do try to fight it, but my friends in Al Hoceima, I feel your pain, and I feel it as part of my own pain ...

   


main
3/1/2004 3:51:50 AM UTC  #   
Knowing who your friends are ...

   There are a few situations in life when you are unexpectedly caught with a show of affection that really matters ... And as it is unexpected, you rarely see it at the moment ...

   Although the last Earthquake that hit the region of "Al Hoceima" in Morocco has troubled me so much, which is the main reason I haven't blogged about it at all (I have as an imutable principle to never comment hot issues until they dig in and passion goes away), I have been hiding it way inside me to make sure I don't even think about it ... And that made the few calls/pings I got from some of my friends even more powerful ... They simply needed to know I was alright ... Thank you very much, and I now know who are my real friends ...

   A special thank you to Eileen, Clemens, Scott and Steven ...


main
3/1/2004 2:53:27 AM UTC  #   

  Saturday, February 28, 2004

Email Change

If you have been trying to reach me lately, as I know many have, my email has just changed... simply replace arrabeta.com by kemmou.com or use the comments onthis entry to reach me ...


main
2/28/2004 6:06:14 AM UTC  #   

  Wednesday, February 25, 2004

TechEd is coming ...

Don’t miss Tech·Ed 2004, the definitive Microsoft conference for building, deploying, securing and managing connected solutions. You’ll find 11 conference tracks and over 400 sessions. Get answers to your technical questions, meet industry experts, evaluate new products, and take advantage of extensive networking opportunities. Register today.


main | TechEd
2/25/2004 1:59:54 PM UTC  #   

  Tuesday, February 24, 2004

Virus AutoUpdate : Customers should install the virus at the erliest opportunity ...

Once again, virus makers try use Microsoft identity to spead their stuff ...

Take a close look at the logo (lacks the cut on the "O" and the connecting line between the "O" and the "S") -- they could do better ...

  Microsoft   All Products |  Support |  Search |  Microsoft.com Guide 
Microsoft Home  

 

Microsoft Customer

this is the latest version of security update, the "February 2004, Cumulative Patch" update which resolves all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three new vulnerabilities. Install now to help protect your computer from these vulnerabilities, the most serious of which could allow an malicious user to run code on your computer. This update includes the functionality of all previously released patches.



 System requirements Windows 95/98/Me/2000/NT/XP
 This update applies to MS Internet Explorer, version 4.01 and later
MS Outlook, version 8.00 and later
MS Outlook Express, version 4.01 and later
 Recommendation Customers should install the patch at the earliest opportunity.
 How to install Run attached file. Choose Yes on displayed dialog box.
 How to use You don't need to do anything after installing this item.

Off course, the attached file is a W32.Swen.A@mm virus ... which is not even new ...

Off course this virus is speading because of our use of privileged accounts (the virus writes to the registry to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion  and many of its subkeys ... wich only an administrator can do ...

I had earlier today a kind of heated exchange in a newsgroup about setting the aspnet_wp to use the "System" account ... we really should be doing better than that ...

Just to make sure you understand the message : MICROSOFT NEVER SENDS UPDATES BY EMAIL... NOR SHOULD EVER ANY SENSIBLE VENDOR DO...


main
2/24/2004 3:39:59 AM UTC  #   

  Sunday, February 15, 2004

Mono is great!

I really like it, but I hate Red Hat...


.Net | Linux | main
2/15/2004 1:36:50 AM UTC  #   

  Thursday, February 12, 2004

mono:: is alive and well...

    Although I had followed the mono project (Ximian's implementation of the CLI), and even talked about it in short words many times, I finally made my mind to really see it...

    Actually, I didn't just think I should do it, but it was in preparation for a talk that Youness Habibi will do for the Morocco .Net User Group, and I had promised to assist him (as if I had any idea about it)...

   It was quite an experience, and actually we were helped by Mr. Lebbadi of Atrait for compiling and configuring mono(A nice Linux guy, who didn't even say anything harsh to me - except mybe saying something in this line : are you as open to others as Microsoft). That help was crucial, for neither I nor Youness had ever really touched a Linux beyond the user interface and maybe some "vi"...

   Well, how happy we were when the hello world "mono style" worked and we had that "mono:: is alive and well..." on the screen. That was only few minutes after Morocco's victory in the mid-final African Soccer Cup, and Casablanca was going wild ... Still, we almost topped the cround's noise when we were rejoicing after we copied the .exe to windows and it worked...

   Tomorrow, we are going to start doing some serious tests on mono : (Data, Web Wervices, WebForms, WinForms...)... Long live the world of portable .Net IL ...


.Net | Ineta/MUGNET | main
2/12/2004 3:35:33 AM UTC  #   

  Monday, February 09, 2004

Being a DevDays Blogger without knowing it...

    I was googling for blogs, trying to find some interesting info, when I stumbled on my name in the DevDays bloggers list...(For those that don't know what DevDays are, as it is the case for most people in North Africa, Dev Days are events like our Microsoft OpenDoor - one day event, traveling between cities/states/countries - but specialized on Dev).

    My first reaction was : "How the hell did I get in there, I am not speaking nor attending at any of those - there are none in my region anyway..." I click the link, and see my name among the first ones on the list (it helps having a first name that starts with an A). I go to the home page, and I'm puzzled when I see this :

Welcome to DevDays Bloggers!

The idea behind DevDays Bloggers is to connect all interested in the Microsoft DevDays 2004 events occurring February through April 2004 in 32 cities throughout the United States."

That was before I looked at the site logo :

Well, that looks familiar, doesn't it?

Here is what I am hinting at :

Once again, the US guys just don't notice that there are other people on Earth...

When I try to get back to were my name was listed (not using the back buttons, just to see how visible I was on that site), I can't get to it... There is no menu item to take me there, no link inside any sub category... After spending a couple of minutes on it, I finally use the back button and find that the Url is not linkled to...

[Updated]

So, Those guys were not thinking every PDC guy is a US DevDays guy, but they are using the same app, with the same DataBase... Which is actually a great idea. The only way you find yourself in the part of the app irrelevant to US DevDays is using search engines like google... Sorry for the injustice I was guilty of in my earlier thoughts.


main
2/9/2004 5:57:17 AM UTC  #   

  Sunday, February 08, 2004

What is wrong with Nasa mission to Mars? could it be Java?...

    Thanks to Carl Franklin  (.Net Rocks!), I now know that Nasa has been using Java for their Spirit rover mission to Mars ...

    Having been a J2EE guy until I was hit by the CLR truck (back in the early days of 1st beta), I am not keen on trashing Java (do you easily trash your older loves?), but I just can't fight it...

   Well, the story about the Mars mission goes like this (excerpts from MSNBC):

"NASA hoped communication with the six-wheeled rover would resume Friday morning after two days without receiving any significant data "

"Since Wednesday, its 19th day on Mars, the Spirit has sent back to Earth only meaningless radio noise or simple beeps acknowledging receipt of commands"

"Among the possible causes: a corruption of its software or computer memory. If the software is awry, NASA can fix it from Earth by beaming patches across more than 100 million miles of space or by rebooting the rover’s computer. But if the problem lies with the rover’s hardware, the situation would be far more grave — perhaps beyond repair"

"Preliminary indications suggested the rover’s radio was working, and it continued to generate power from the sun with its solar panels. Spirit’s internal clock also was running and had roused the rover several times on cue."

"Initially, engineers believed bad weather on Earth — a thunderstorm near a Deep Space Network antenna in Australia — had caused the communications glitch. But weather was later discounted as the source"

    Well, sounds like software is the the cause, and it is java stuff ... Could that be the cause? some IIOP ORB not doing it right (sounds like déja vu, doesn't it?)

    You would think they know better, haven't they heard of .Net?

    The credits of the idea of this entry goes to Carl (on IM, here is how he displayed his name : "Carl Franklin - NASA should've used .Net")

 


main
2/8/2004 9:51:11 PM UTC  #   

  Saturday, February 07, 2004

Digital Photography by Microsoft Research ...

Well, I guess I can rely on the first message and share this with you :

________________________________________________________________________

History is being written in a new way. It is being written by people through the big and the small events in their lives. We write history through personal Web sites, discussion boards, and the legacy of photos, taken at moments that are important to us.

Researchers at Microsoft have been working on a wide range of technologies that will help people write their personal histories through digital photography. To tell any history, it's best to start at the beginning, and move forward.

In the beginning, you buy a digital camera, take a quick look at the manual, throw it to the side, and start pushing buttons. Digital photography has made it possible to take an almost endless number of photos. Some of these photos are good; some get deleted before anyone else sees them. Many of them are almost good, with a little tweaking they'd be just fine.

Related Links

Continuous Flash

Image Stacks

WWMX Web site

Shot On Location:
A World-Wide Image Database


Friendly Planet

Adjustable Light
A common problem with digital photography is lighting. Photos turn out either too light or too dark. Since digital cameras allow us to take lots of shots without running out of film, we're willing to throw away a lot of the bad shots. But if you want to take a great picture, it might be nice to be able to control the lighting without purchasing professional lighting equipment.

One of the research projects at Microsoft Research is called Continuous Flash. This technology allows you to take the same picture with flash and without flash and later adjust the balance between light and dark. It's better than contrast filters in photo editing tools, because it considers the reflection characteristics of each object in your picture.

"You can't compensate for having one area underexposed and one area overexposed," said Hugues Hoppe, one of the project researchers. "If an area is underexposed, you can't really get the detail back by increasing brightness, because it wasn't captured in the first place. By having two different images which both have useful information, you can merge them together."

Image Stacks
A similar technology that combines the best of multiple photographs is a project called Image Stacks. Image Stacks aligns multiple images of the same subject, allowing the user to pick and chose the best pieces from each photograph. Researchers Michael Cohen, Steven Drucker and Alex Colburn thought this would come in handy for special events, when you want to get a picture of the entire group that's suitable for framing.

Taking group photographs is difficult, because capturing a single image in which everyone looks good is almost impossible. What usually happens is that in one shot, someone has their eyes closed, but someone else has got the most adorable smile. Check the next shot, everyone has their eyes open, but one person is picking a poppy seed out of their teeth. The third shot, both previous people are behaving, but grandma is yawning, tired of waiting through multiple shots. Which shot do you pick? With Image Stacks, you can easily cut and paste to present everyone's best face. The images are automatically registered into a single composite image.

Print to Digital
Print photos are still around. They're around in shoeboxes. They're shoved under the bed and in the back of closets. Some of us have so many print photos we don't know what to do with them. Neatnik types tediously scan all of their print photos one-by-one, converting them to digital form. But most of us don't want to go to all this trouble.

Cormac Herley, a researcher in the Communications, Collaboration and Signal Processing (CCSP) group, has developed a way to allow people to scan multiple photos at one time. You can put as many photos as will fit on your scanner, and the software will recognize each photo separately. It can 'read' the edges of the photos, even if they're crowded together or tilted. When it converts them to digital photos, it will correct for orientation and position. It's a quick way to get the family memories out of the shoebox and onto your hard drive.

"It's a harder problem than it looks like on the surface. Many scanner makers have tried, but it hasn't worked before," said Herley. "But this really works, it's not just a demo."

Take Out the Red
The Media Computing group at Microsoft Research Asia has developed several cool image editing techniques to help you fix some common problems with any photograph. One of the worst that comes to mind is the glowing red eyes that result from the flash hitting the pupil in just the wrong way. Unless you're way into the vampire look, this just isn't right. The red eye fix, which currently ships in Digital Image Suite and Windows XP Media Center Edition, is one of the best photo retouch features around. All you do is move the 'target' over the red eye, click, and the red is out.

The same group has also developed a quick and effective way to fix the brightness and contrast in a picture. Even if you took a picture that is too dark, you can use the Levels Auto-Fix feature in Digital Image Pro to lighten up your picture.

Organize the Digital Shoebox
The Media Computing group has also made it easy to organize your digital photos using image recognition algorithms. Some people do the same thing they did with the shoebox, and scatter pictures all over their hard drive. Then they can't find the one picture they want to use for their holiday card. The group's algorithms can distinguish between indoor and outdoor shots, shots with people in them and shots without, and city and non-city scenes. Combined with other technologies, such as keyword annotation, it makes it a breeze to find any photo in your collection.

John Platt, a researcher in the CCSP group has developed another way to manage your photos online. His image clustering algorithm helps users find their photos by one of the most prominent markers: events. The software is effective because it doesn't look only at timestamps, which could be misled by a faulty camera clock. Instead, the software looks at photograph order plus color to find pictures taken during one particular event.

"We only compare colors locally in time," said Platt. "So if you have a pumpkin in one shot, and a few months later you wear an orange shirt, later, when you're searching for the day you visited the pumpkin patch, it won't show photographs from when you were wearing the orange shirt."

His algorithm underlies several other technologies designed to help people find their digital photos, including the Microsoft Research Media Browser. The Media Browser, developed by researchers in the Next Media group, takes advantage of the photo recognition research from the Media Computing group, and Platt's algorithms to build a unique visual experience that helps you search for and identify your photos. And it looks darn cool as it works. The interface is an impressive, futuristic presentation of photos that rearrange themselves before your eyes, sliding into place in a typical 2D presentation or a 3D stack.

"The idea behind this is annotation of large collections of photos," said Steven Drucker, the lead researcher on the project. "We know that if you put annotations on photos, that it's much easier to retrieve them. But we also know that it's tedious and difficult to do. We use the advanced techniques that are available, such as face detection and image clustering, to make it easier for you to interact with your photos. We also use a game graphics card for higher visual quality."

Fill It In
Smart Erase is a photo editing tool found in Digital Image Pro and invented by researcher Patrick Perez in Cambridge. The feature allows users to remove objects from a picture. This can come in handy in case you want to remove your ex from the family reunion picture, or you before you lost the 30 pounds.

The algorithm looks at areas of the image to see which patch of texture can be "stolen" to fill in the holes left behind when the unwanted object in the image is removed.

To fill in the hole, Smart Erase does some reasoning about texture. It views the pixels outside the object as potential replacement material. The program has some strategies for knowing exactly where to look to get this material. "The algorithm constantly reviews what pieces it's got and makes comparisons very quickly to come up with the right fit," said Andrew Blake, Senior Researcher in Cambridge.

Blend It
Another photo editing feature from the Cambridge lab, a tool code-named Blender, appeared in Digital Image Pro this year as the "Blending Brush." Blender is a seamless cloning tool that can take the wrinkles out of your face, insert a new object into a scene, and combine parts of one scene with another - all without the usual difficulties and distortions that most photo editing techniques present.

If an object inserted into a new background has complex outlines, standard cloning may not work because of the incompatibility of color and intensity between the background and the new object. And even the best, most careful cutting and pasting often yields poor results because the outlines are fuzzy or jagged. Blender 'blends' pieces of the inserted object and the background together to form a seamless whole.

Cut It Out
Cutting out an image and putting it somewhere else has always held a lot of fascination for photo aficionados. Blake and his team are developing a new algorithm they call GrabCut, that's a 'no-brainer' way to do this important task. Instead of having to carefully trace the outlines of the object you want to cut out, all you have to do is draw a rectangle around the object. The algorithm selects the object and eliminates the old background. You can then paste the cut-out object onto a different background.

Cartoon Wizard
Doesn't everyone want to star in their own anime or Disney cartoon?

Though Microsoft Asia researchers can't get you a Disney contract, they can turn your digital photograph into a cartoon. Their technology, developed in cooperation with MPD Japan, is called the Cartoon Wizard. It is currently offered in the Japanese version of Office 2003. Westerners will have to wait, as the Cartoon Wizard is only trained to work with Asian faces.

Their system is based on statistical learning techniques. The algorithm automatically generates a cartoon from an image using face detection and alignment, and training data generated by studying how a human artist renders a human image into a caricature. The resulting cartoons can be used in e-cards or personalized emoticons for chat programs.

Tell a Photostory
Now that you've stepped through the process of improving and organizing your digital photos, perhaps you'd like to share them. Microsoft Research has developed several ways to do this, in small and large ways.

When researcher Dave Vronay was working on PhotoStory, he wanted to recreate the feeling of a family sitting around an old-fashioned photo album and telling the stories connected to the pictures.

"A picture is not just a description of what is there," he said. "For instance, if you have a picture of a hotel, and you showed it to a friend, you probably wouldn't just say, 'and that's the hotel we stayed at.' You might instead launch into a story about the waiter with purple hair who served you duck soup at the hotel restaurant, even though you didn't have a picture of him. The photo would be a reminder of the stories that surrounded that photo."

With Photostory, you can add images, music, and background narration to tell the stories behind the pictures and send it to the people you'd love to have sitting on the couch next to you while you share your memories.

Share Your Photos with Friends
The Social Computing group is experimenting with an online blog and photo sharing application code-named Wallop, a project designed to help people to connect with those close to them — families and friends, and friends of friends.

The group considers Wallop a "social networking" application that provides a way for small, closely connected groups of people to share personal information and photographs online. The beta testers can send photos to their Wallop interface through email or instant messages to easily update their blog interface.

Share Your Photos with the World
The World Wide Media Exchange (WWMX) offers users from around the world the chance to upload and share their photos with millions. It provides MapPoint maps and TerraServer maps so that you can view your photos by location as well as time.

One of the advantages to this interface is the ability to communicate with people across the world. If you're planning a trip to London, for instance, maybe some nice tourist who has gone before you has posted their pictures of a trip around the city, complete with shots of their favorite tea stops. Then other tourists or locals can jump in and write annotations on the photographs, such as, "don't eat here, the crumpets aren't up to the usual standards."

Some of the contributors to the WWMX have contributed to history by adding photos of 'news' events, such as fires in Southern California and search and rescue operations.

A Visual Journey
David Salesin, a senior researcher in the Document Processing and Understanding group, has inspired many digital projects at Microsoft Research. He is also on the faculty at the University of Washington. Salesin recently became actively involved in a large digital photography project. A very large project. He contributed original digital photographs from his trip to Bhutan to the world's largest published book, a visual journey across the last unspoiled Himalayan kingdom on the planet.

The project was funded by several sources, including the Bill & Melinda Gates Foundation and the iCampus program at Microsoft Research. "Mike's project seemed like an interesting, original take on how we might be able to use technology for education," said Salesin. He helped convince the iCampus funding committee to support the project.

Whether you share your photos with only a few close friends, or the entire world, the latest innovations at Microsoft Research will contribute to the beauty and enjoyment of your digital creations.


main
2/7/2004 11:15:25 PM UTC  #   
Developing styles : the rodeo model ...

   Every once in a while, I feel nostalgia about the good old days of black screen and green text, and more often than not, I would then simply code some console app (I configure my command line console to have green text and full screen), and play around with it until feel some disgust ... Then I forget about it until the next time I am in a melancholy mood ..

   Well, I hadn't felt that way for a while, and here comes a console screen... And I was supposed to find out why the OleDB provider was not working properly ... new terminology (actually it was reminding me of quite old terms. Did I forget what they mean, were they different? who knows ...), anyway, I had to fight my way through jobs and subsystems (With the help of great guys used to woeking on the AS400 but not with the DRDA protocol and jobs ..)

   It did feel great when it started to work, and I got my .Net CMS Templates getting the Data from the AS400, but it still was taking me more than 3 hours to get a page done (with the DataAccess and Buz rules related to the use case) ... Why ? even if I don't count the integrity checks (there were no relations, and the model was not what it was supposed to be, because they had changed with time without any pointers to what the changes were and why), I had to learn that to get the TOP 20 records from a table, you needed to do a "select ... from ... fetch first 20 records only" - up to yesterday, I thought I had a decent grasp of what FETCH was about - and such small things that make you look crazy (starting to talk to the DBMS in natural language is just one of them, believe me) ...

   Well, one bull tamed, and who knows what the next one is going to be ...


main
2/7/2004 9:12:15 PM UTC  #   

  Wednesday, February 04, 2004

Trivia Answer : Memory allocation management in VB.Net

Can memery allocation (non garbage collected) be done with VB .Net ?

Regular answer : No. C# can do unsafe (non garbage collected) code, and VB.Net cannot

Hideous Answer : Well, yes it is far from being Elegant, but as my good friend and impressively clever RD Clemens once told me in the middle of a discussion on .Net vs. COM : "There can be no purity in software development". So here it is :

    There is full set of Memory management APIs (http://msdn.microsoft.com/library/en-us/memory/base/memory_management_reference.asp) that can be used to do memory alocation (both on the heap and on the stack), copy memory, get a handle to allocated memory, ...etc.

    VB can do PInvoke ...

   PInvoking into Kernel32.dll (or Coredll.dll in Windows Mobile) makes VB capable of dealing with such issues... which is only usefull in very special cases (using other APIs accessible through PInvoke and making sure there is no garbage collection on the arguments passed to the native APIs is the only use I ever needed them for - and only because I had to show VB.Net code (besides C# code) in presentations ...).

   It is not very hard to wrap those calls into some Utility class, and then use it for allocating memory and geting the handles to the objects, which can easily make the code somewhat more elegant ...

   Example (MSDN Article by Derek Mitchell) :

http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfphoneapi.asp

   Have Fun ...

 


.Net | main | Trivia
2/4/2004 1:39:07 PM UTC  #   

  Saturday, January 31, 2004

Trivia Question : unsafe code in VB.Net ?

Can memery allocation (non garbage collected) be done with VB .Net ?

Use the comments to answer ...


.Net | main | Trivia
1/31/2004 3:00:54 PM UTC  #   

  Friday, January 30, 2004

Its Official, Raise Your Glasses, We’re Gonna Party to Damascus(2)

   I promised I will be telling stories about Cairo, so here it goes ...

    Sleeping by the Pharo's tomb: Patrick, Cigdem, Shiraz and I were down inside the Mycerinus pyramid, and there was a nice guide showing us around the sarcophagus and treasures room. Before going back up, they all tipped the guide (I must confess, I was a bit miserly on that one). The guy was so happy with the tipps, and was telling us if there was anything else he could do for us … Well, Patrick asked if we could sleep by the toumb, and I seconded his joke … off course, everybody laughed and we left. Later on that day, Patrick found out he had made a mistake while tipping the guide, and gave him more than he thought he did. So we figured we had a good start on bribing him into letting us sleep by the tomb … Maybe next time, who knows ?

   Can I have some Hummus please ? on Sunday, Steven was going crazy about Hummus, and not accepting to have been in Cairo for more than 24 hours without having it. The problem is that we were at an Indian Restaurant at the Oberoi hotel in Giza (close to the pyramids). So he kept asking for Hummus, and they kept telling him again and again that this was an Indian Restaurant. Since he wouldn't stop asking for Hummus (which is simply the arabic word for Chick Peas), they brought that bowl with Chick Peas in a sauce ...

    Cigdem’s pyramids : The first day, when we went to the pyramids in Giza, we didn’t really buy any souvenirs (except for the perfumes I will talk about later on). When we (I believe it was Cigdem, Patrick and I) went to Memphis and Sakkara on Tuesday, she needed to get some presents for family and friends, and was looking at pyramids. She finally closed a nice deals on some small pyramids, and since she thought she got a nice deal, she took two sets of three pyramids each. Later on the same day, at Khan El Khalili (After the closing session at MDC), she was thinking she would need more presents, and spontaneously started thinking of getting more pyramids … after strolling about a certain number of shops, she finally found one that had the same pyramids she had bought in the morning, but they wouldn’t sell them to her for the same price. There came Stephen, who started to bargain for her. To make the story short, he started, at one point, to propose a Yukon DVD for the pyramids, and the shop owner refused. Well, it was a great laugh, and Cigdem got her 3 new sets of 3 pyramids each (I joked about her using them as Lego pieces) …

   The American selling souvenirs at Khan El Khalili : this story actually started when Stephen started to bargain for the rest of the gang. At one shop, he started (again) to offer Yukon and Whidbey DVDs for souvenirs, and while squeezing the shop owner so much on the prices, the guy simply told him that he would like to see him selling the stuff and whether he would still be talking about the same prices (I spare you some details that I have to sensor, both to avoid wrath from Steven, and because this blog is not adult only content …). Anyway, here is Steven selling the souvenirs, trying to get the walkers by to buy his stuff, and making the bargaining a blast … one great moment was when another shop owner (or so he said) stopped by, and Steven offered him a Yukon DVD for his entire shop (we never saw the shop or even knew if it existed), and the guy accepted …

   Party to Damascus: Throughout the trip, Steven has been evangelizing … a song. He finally got both me and Goksin singing it with him. So let’s all hum together : Its Official, Raise Your Glasses, We’re Gonna Party to Damascus …

That is just part of the story, and I will probably be blogging about Cairo for quite some time ...


main | Travel
1/30/2004 11:35:58 PM UTC  #   
MDC04 really Rocks ...

   If there is anything all of us speakers at the MDC04 in Cairo agree upon, it is how wonderful the attendees were : very warm, very interesting participation and questions, and an amazing show of appreciation at the closing session. Big thanks to all of them, they really made us all love Egypt even more (if that is possible) than we already did ...


main | speaking
1/30/2004 1:33:20 PM UTC  #   
Mobility session at MDC04

I have promissed to have my slides and demos online by saturday, and since I just got home and haven't had time yet to really package and comment my demos, I am still going to update all the info by tomorrow. For now, here are links to download the slides and the demos "As is" :

http://www.arrabeta.com/malek/Compact%20Framework_final.ppt

http://www.arrabeta.com/malek/Compact%20Framework%20Demos.zip


main | speaking
1/30/2004 1:22:32 PM UTC  #   

  Wednesday, January 28, 2004

Trivia Question Answer

What is the Sphinks looking at (the credits go to my friend Patrick Hynds for thinking of it)

Pizza Hut and KFC ...


main | Travel | Trivia
1/28/2004 9:43:23 PM UTC  #   
Its Official, Raise Your Glasses, We’re Gonna Party to Damascus

MDC04 is over, and it was a great conference, and a very warm atmosphere for all of us speakers.

One great thing about conferences is the get together, and on this one, my good friends Stephen, Cigdem, Goksin and Patrick were here, and I made new Friends ... and that certainly keeps the level of suckiness very low ...

We were a nice gang of RDs and Microsoft People out here in Cairo. Stephen Forte , Patrick Hynds, Goksin Bakir, Cigdem, Lee, Shiraz and I formed a happy gang, that did most of our visiting and shopping together. I have quite a few stories to tell, and I'll catch up with them as soon as I get back home. But to keep suspens high (and to have a chacklist to help me not forget anything), I have stories about sleeping by the Pharo's toumb in the pyramid, the american selling souvenirs in a shop in Khan El Khalili, Cigdem's pyramids, the whidbey barter, partying to damascus, public bargains, and other things as well ...


main | Travel
1/28/2004 1:49:13 PM UTC  #   

  Sunday, January 25, 2004

MDC Office System Sessions (slides attached)

   Today, I did my 3 Office 2003 developer Sessions at MDC, all in a row.  Tomorrow I will be doing a Compact Framework session (I will cover PocketPC and SmartPhone development and I will touch on SPOT).

   This afternoon, I started with Infopath, followed with XML in Word and Excel (including Smart Tag Lists, Smart Docs using the MOSTL XML Lists, and finished with Visual Studio Tools for Office 2003). I have attached the slides (I still will revise then, and pack the demos, then I will post the apdated version) ...

XML in Word and Excel.ppt (805 KB)

Infopath.ppt (1.13 MB)Visual Studio Tools.ppt (1.79 MB)

Visual Studio Tools.ppt (1.79 MB)


main | speaking
1/25/2004 11:44:41 PM UTC  #   
A trivia question

What is the Sphinks looking at (the credits go to my friend Patrick Hynds for thinking of it)


main | Travel | Trivia
1/25/2004 11:13:03 PM UTC  #   
A warm welcome Egyptian style ...

Very simply put, I got to the conference a little bit late (after Billg was already there, although not yet speaking), and was siddered to see lots of people standing at the entrance gates (on the street) and not able to enter. The gates were closed and the guards at the gates didn't understand what being a speaker meant...

I had to stand in the street until the Keynote ended and Bill Gates left before they let us in...

Well, the trip is great, and overall, this really soen't suck ...


main | Travel
1/25/2004 11:03:06 PM UTC  #   

  Tuesday, January 13, 2004

A great MDC this year

The MDC is a great information source for Developers. Started last year, the MDC is becoming "The" Microsoft conference in the middle east ...

For those who missed the PDC (Los Angeles, October 2003), this is a great opportunity to have a look at the future with Longhorn, Yukon and Whidbey ... The three products that will change Microsoft technology, and place managed code at the center of every Microsoft product ...

This year, the conference will be opened by Bill Gates himself (for the first time in Middle East).

There are a few of my friends and fellow RDs speaking :

Stephen Forte

Patrick Hynds

Goksin Bakir

Selçuk Uzun

Hossam Khalifa

For myself, I'll be giving 4 sessions. 3 sesions on Office System development (using XML in Word and Excel, InfoPath, and Visual Studio Tools for Office), and a mobility session on developing mobile applications with the compact framework (I will dwell quite a bit on smartphone development, on performance considerations and tips, and I will introduce the new mobility features of Visual Studio Whidbey).


.Net | main | speaking | Travel
1/13/2004 10:49:10 AM UTC  #   

  Monday, January 12, 2004

streaming to an application from a web page ...

One intersting simple thing I have worked on today (to solve a problem encountered by a couple of friends), is streaming a dynamically generated pdf or other types of files to the user without storing it first in the file system.

Well, it is easy to change the header information (content-type essentially), remove all the unwanted headers and content (Response.Clear() ) so that the normally generated HTML does not corrupt the pdf file ... etc.

The problem is to deal with what will happen when the client doesn't have a pdf reader (acrobat reader) add-in installed in his browser. Then, the browser will simply propose to saven the file, and the filename will be that of an aspx file (or whatever server side page is used), since the client requested an Asp.Net page ...

To handle this situation, there is a simple (comment if you think it is complex) way :

  • Map the pdf extension to the ASP.Net engine : simply, in IIS, go to the application configuration and add the exension .pdf as needing  executable C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll, as shown in the following picture

This by itself can do the trick, but it will force a very inelegant (and having great error potential, ...etc.) solution ... this solution would be just renaming the .aspx page to a .pdf ... A more elegant solution is not to use an aspx file at all for this pdf generation and do the next two steps

  •  Create an HttpHandler, that deals with the pdf generation. it can get the request parameters (or form parameters), generate the pdf, and stream it right back to the client. The code to do That is illustrated in the following sample :

 

namespace Malek.Utils{

public class PdfFileHandler : IHttpHandler {

    public void ProcessRequest(HttpContext context) { 

            if (context.Request.RawUrl.ToLower().EndsWith(".pdf"))

            {

                  // do the pdf generation, and get it in a byte array (here, a variable called content)

                  context.Response.ClearHeaders();

                  context.Response.ClearContent();

                  context.Response.ContentType="Application/pdf";

         context.Response.OutputStream.Write(content, 0,

                                            content.Length);

                  context.Response.End();

            }

      }

}

}

The dll generated needs to be placed in the bin directory in the virtual directory of the application

  • Add configuration code to direct calls for pdfs to the handler, as illustrated in the follwing Web.Config excerpt :

     <configuration>

          <system.web>

               <httpHandlers>

                     <add verb="*" path="*.pdf"

                     type="Malek.Utils.PdfHandler, PdfHandler" />

                </httpHandlers>

                <!-- rest of the config file -->

          </system.web>

     </configuration>

 


.Net | main
1/12/2004 9:05:41 PM UTC  #   

  Sunday, January 11, 2004

one more stupid assertion : "Linux is secure, because I say so" ...

   In an article by Jaikumar Vijayan on Computer World, titled "Flaws raise red flag on Linux security", a compilation of nonsense takes place (my remarks in blue)... :

<< The rise in such incidents can be attributed to Linux's growing popularity, which makes it a more attractive target for malicious attackers, said David Wreski, CEO of Linux security vendor Guardian Digital Inc. in Allendale, N.J. >>  If this is true, then the problem is just starting. This same message has been used by Microsoft for some time, and the Linux community was simply saying it is not true, and that Linux was a better and more secure environment

<< "The underground hacker community is very interested in Linux as a potential target," he said. "Because of the accessibility of the source code to everyone, it provides an equal opportunity for malicious attackers to find vulnerabilities and ways to exploit them.">>  In simple words, this reads as : Linux is less secure than others because everyone has access to source code, and hackers have a better chance to find and exploit the vulnérabilities. Point well taken ... This guy is great at shooting his own foot ...

<< "I would say it is more secure than Microsoft and other environments because the code is looked over by so many people and it's so widely available that any vulnerabilities can be quickly identified and patched," Cahill said. Piedmont uses Linux for several e-mail-related functions and is considering its use for antispam purposes.>> Well, I thought the opposite has just been stated on the preceding paragraph. Then, what does quickly mean ? The latest vulnerability discovered by iSec is found on versions 2.2, 2.4 and 2.6 (I have seen reports saying it exists on every kernel version). version 2.2 exists at least since january 1999 (I found a version from 1/26/99 that can be downloaded from kernel.org). so, if 4 years is quick, I don't know what slow is ... If what is meant is that after the vulnerability has been exploited and that it has made all the damage it wants, it will not take long before a patch is there, I bet the same goes for any system (I am a big Windows user, and usually, when a vulnerability that was not known before is found, a patch comes out in the following couple of days, so what is the argument ? ...)

<<"There's not very much we've needed to do to secure Linux [applications]," said Joe Poole, manager for technical support at Boscov's Department Stores LLC in Reading, Pa. The company runs several virtual Linux servers on its mainframes that are protected by network and internal firewalls. All nonessential services, such as file transfers and Telnet, have been disabled. But there has been no need for the kind of constant patching and maintenance required for Windows, Poole said.>> Again, talking about security as relying on network and firewall only is a huge idiocy, especially when the issue is elevation of privilege through buffer overruns. No firewall will stop a legitimate user from accessing with his restricted rights; the problem is that it is all that is needed to exploit the buffer overrun, and gain access as root... On disabling nonessential services, it is absolutely not a valid argument against Windows, because you can disable nonessential services on every version of Windows, and it is the default on Windows 2003. So if the message is that Windows was not secure before Windows 2003 ...

<<"The biggest plus that Linux has is that it's designed to allow users to be users and not administrators," Schmel said. "What Linux has that Windows doesn't have is ease of configuration from an administrator's standpoint. Stopping and starting services, configuring services to only respond on certain ports and interfaces is dramatically easier than it is with Windows.">> I guess I shouldn't even bother comment this one ... Linux easier to configure than Windows ???

What really bothers me, is that Linux might have it own advantages in some situations, but what are those people talking about ? every remark thay make is simple bashing of Windows with absolutely no basis. and the article, in the way it compiles those, makes the contradictions even clearer ... Are they selling Windows or what ?


Linux | main
1/11/2004 7:38:19 AM UTC  #   

  Monday, November 17, 2003

Is Linux a viable choice for servers

Off course Linux is not a viable choice for desktop (even Red Hat says so), but is it for servers ?

A few untrue perceptions (Secure, free, fast ...) about Linux and its value for the entreprise lead many people to think so. Here is my two cents :

1- Linux is secure :

OpenBSD

8

Trustix

18

EnGarde

20

Microsoft(Windows all versions)

26

SuSE

32

Sun

41

Mandrake

82

RedHat

82

Debian

139

  • As this claim of Linux being more secure gets the number of deployed Linux systems up, the vulnerabilities start rising quickly (two years ago, one had to add up all linux vulnerabilities for all distributions to get a number close to that of a single Windows version. today, one add up all the vulmnerabilities of all versions of windows to get a number far below that of single distributions of Linux.) How much longer cn this message of

2- Linux is free :

  • Is it really free ? the cost of ownership of a software is never just the cost of the licencing. It includes deployment, maintenance, and operation. this would at least make Linux not really much cheaper than commercial OSs.
  • In a server environment, especially in the entreprise, servers are not independent stand-alone machines, they have to fit in Kerberos realms, use LDAP, which are never out-of the box features on a Linux, and usually would become : go get the download, then spend a good portion of your time (never free in the entreprise) making it work, at your own risks for later maintenance and support ...
  • The cost of the Application Servers, Transactional Monitors, Middleware and Message Brokers make any difference in the OS costs insignificant.
  • Do we really want a free OS : the binding relation between a vendor and the entreprise is that of customer and vendor, ie: the lincence purchase. If there is no such relation between them, there could not be a binding guarantee on the quality of the software, or that of fixing up any problems that might arise later. It was not hard for Red Hat to simply say they will stop producing, supporting or patching Red Hat Linux. It was so easy for them to say so because their product was free. Do we want to base our system on an OS than can just decide someday to vanish ?

3 - Linux is Fast :

  • If Linux can be a performant solution for appliances, it certainly looses of its perf attractiveness when there are serious applications on top of it. The OS is much lighter than Windows for example, but as one starts adding the necessary modules such as LDAP, Kerberos, Transactional monitor, Web Services, Message Broker, ...etc., its performance is much more linked to the performance of the applications server used. To compare for example the perf between Linux and Windows, one should compare a WebSphere over Linux, or WebLogic over Linux, with a Windows 2003. Then Linux is no longer performant.

4- Linux is there to last :

  • Although I never like making "propheties", I will still venture with a sentence that might seem full of pretention and irrationality : Linux will not last much longer. What I mean is basically that it will not continue evolving as open source. There will be quite a few commercial product based on Linux, but they will have a very hard time competing, and keeping out of trouble, among all the copyright violations that made up Linux in the first place. When I look at the Red Hat Licence pricing (on average 3 times more expensive than Windows if we allow a version of Windows to be used for three years).
  • There cannot be a business model based of free products. Therefore, either the products becomes paying, or it vanishes from the marketplace. There can be community software that is open source and free, but it will never be interesting for the entreprise to use such an unsupported, loosely tested software...

main
11/17/2003 4:24:11 PM UTC  #   

  Thursday, November 13, 2003

Papier sur la sécurité du code

Cette semaine, mon papier sur les techniques du codage sécurisé vient d'être diffusé dans le cadre de la lettre marketing et technique de Microsoft North Africa.

Puisque ce papier est, à mon avis, un bon début de réflexion pratique sur la sécurité du code, je l'attache pour toute fin utile ...

 

sécurisez le code.pdf (561.09 KB)
main
11/13/2003 3:17:20 PM UTC  #   

  Thursday, November 06, 2003

An inetresting Ineta Video

www.vtdotnet.org/ineta/movies/INETA_Package_INETA_Close_300k.wmv (10 Mb)

www.vtdotnet.org/ineta/movies/INETA_Package_INETA_Close_56k.wmv (1.2 Mb)


Ineta/MUGNET | main
11/6/2003 10:07:49 AM UTC  #   

  Wednesday, October 29, 2003

PDC Bloggers meeting tonight at the party

A meeting of all pdc bloggers will take place at the a party in Universal studios. I got this from Scott hanselman's blog :

PDC - ATTENTION ALL BLOGGERS! MEETING AT UNIVERSAL STUDIOS TONIGHT!

Yo!  There's a meeting at the Hollywood Grill inside of Universal Studios tonight at 8PM!  Check out the map of Universal.  We'll be meeting at #19 on the map, close to the entrance.  Pass it on!


main | PDC
10/29/2003 11:06:32 PM UTC  #   
Don Box, megastar

   I am telling you, don't you ever think that avalon, or WinFS is the big thing happening at pdc ... I don't want to discuss Yukon at this time of the night, but the big thing here is : INDIGO ... the blue and quiet new communication layer, that really ends the reign of COM, and of the objects everywhere model as well.

   Well, I saw the light (metaphorically off course, for this same light has been with me for many years now), and it was coming from Don Box's speech on Indigo. I don't use session or presentation, because it was a speech, full of enlightening thoughts, and it was a session of evangelization if I ever saw one.

   What object is about, what messages are about, what the value of message based architectures is (SOA- service oriented architecture if you prefer to call it so), and how SOA actually works  ... thank you Don.

   What amzes me is that so many people understood the value of the talk ... or at least so many of them where there, until there was no more free chairs, no more empty space on the floor, and the corridor was no longer walkable ... great job Don.

   The thing about don Box as an MSFT employee is that he has much less freedom to express his opinions in his natural words for them, but he found a way to speak them differently ... Keep going Don ...

   Then, when it is all about SOA, and the only speaker in this pdc that is clearly speaking the extent and value of it is Don ... Hail Don, Hurray ...

 


main | PDC
10/29/2003 9:34:16 AM UTC  #   

  Monday, October 27, 2003

Carl rocks pdc big time ...

   Do you know what the .Net Rocks is ? if you don't, click on this link quickly ....

   Well, imagine a .Net Rocks show, right from a session room in the LA Convention Center, during the very first day of pdc (actually on pre-conference day), with a panel made of an amazing selection of RDs, and with great Xbox gifts for attendees ...

   How ? just put an attendee on the alley, give him the microphone, and make him guess whether the nswer given by the RD is true or false.

   I never realized how fun many very serious RDs can be until today ... What are Web Services ? Michelle Leroux Bustamente would say : "it's like Teen Sex, those who talk about about it don't do it and those doing it don't talk about it"... "what the most significant difference between interop in C# qnd in C++", Kate Gregory would say that it is in the way you do DllImports!!!". How deo you access pivate members of a class? I don't remeber scott hanselmans exact wording, but it goes like " you buy him a drink...",  off course, it end up with th RD giving the right answer (except a couple times), and the attendee going home very happy.

   I'll be posting some pictures of the show and of the panel when I get those pictures printed and scanned (well, I use my smart phone for many things including my agenda and emails, I use almost no paper, but I still love using my Canon Eos camera with lenses and zoom covering a 35-210 mm focal distance... call me traditional or outdated on that, I don't mind at all)

   if you have been at a pre-conference day before, you know you dont have the feeling that the conference is there ... well, carl just made it happen ...

   thank you carl.


main | PDC
10/27/2003 10:42:23 AM UTC  #   

  Sunday, October 26, 2003

Fasten your black belt ...

Being on a "Microsoft Flight", as strange as it might seem, or, for corectness sake, let's say a European avaiation "microsoft Developer circle" charter flight, has been quite an experience ...

In London, it was an algorithmic challenge to find out what gate the plane was boarded on ... later, it was a guy hunging on the reactor, and the guy just fell down (I didn't see it, but all the spanish guys around me where talking about it, and assuring me it did happen) ... luckly, he didn't seem to hve endured any injuries ...

One hour too late, we where boarding the plane.  well, we borded, but that does'nt mean we departed ...

One more hour, and the plane took off ...

Even if the plane was far from being on time, it did deliver, at least on the first part of the flight, the promise of being a microsoft thing ... the very first movie showing (its an eleven hour flight), was the .net Show covering Direct-X managed ...

All of the movies that followed, even though they were regular movies, they were cartoonish/alien stuf ... which reminded me of that slide I usuallly use with young developers (academia, certain customers) that states, with no ambiguity, that the main influence of developers is StartTrek ... which slide I borrowed from my friend Sidi Ali Maalainein (Microsost North Africa-TS Team) .... I just hope there were some impressionable people on the flight ...

Another totally unordinary thing was the meeting room in the front of the plane ...

Once in LA, thee was of course the very serious immagration finger print and photo taking ... which will be compared to the finger print and photo when departing ... just to make sure my finger has not changed its print during the pdc ... Really makes you feel more secure ...

Then, LA ... it's LA with its high suckiness potential (The level of suckiness is a new standard by the anti-suckiness commission, finalized in hammamet, Tunisia on last June 25 ... it is based on measures of suckiness taken by three major independent source, ie: clemens, steven, goksin and I ... Well, I don't have clemens' and stev's measurement, but for myself, it is strange, but the level of suckniness is keeping quite low ... Great Hotel, huge room, nice drinks and food, and it is warmer than Casablanca ...


main | Travel
10/26/2003 9:10:33 AM UTC  #   

  Monday, October 20, 2003

Caught formating and parsing stuff once again ...

   Some time ago, I swore never to format or parse anything anymore ... Well, usually one really doesn't have to, since there are often higher layers for most protocols. However, I have made an even stronger oath never to copy somebody else's code without either going through every detail of it, making it maintainable (comments and structure), and testing it to a fair level of confidence, before using it in a project (off course I'm talking about non copyrighted code).

   Well, I have not had to integrate email in my applications beyond the functionality of System.Web.Mail classes. Until today, when I had to do some authentified smtp mail sending, and some pop3/imap mail retrieval. I must confess I started by looking at some user samples and source code in the regular sites (http://www.gotdotnet.com , codeproject ...etc), and did find some intersting classes, except that they just did not satisfy my maintainability criteria, and would have taken me more time to arrange than just plain rewriting the code.

   Here I am thus, about a half day later, with a functional smtp client class (that replaces somewhat the smtpMail class of System.Web.Mail, and is able to do authentication using Base64 Encoded username and password, and send a System.Web.Mail.MailMessage object. I have not finished doing the necessary parsing for the pop3 retireved messages (I will have to postpone that until wednesday because of the many engagements I have tomorrow...)

   Attached is the code to my smtpManager Class.

SmtpManager.cs (7.81 KB)
C# | main
10/20/2003 8:34:13 PM UTC  #   
I'm blogging this T-Shirt

   Jeff Sandquist  has sent me a bdc bloggers T-Shirt. It has "I'm blogging this" on the front, and a nice "Microsoft PDC03 I was there" logo on the back. Thanks Jeff.

   I guess this will give some visibility to bloggers among attendees ... too bad the pdcbloggers Url is not on the shirt ...

   One of my collaborators at the office just made me realize I have been receiving so many     T-Shirts that I just don't buy clothing anymore ... Thanks a lot everyone ...


main | PDC
10/20/2003 10:53:55 AM UTC  #   

  Wednesday, October 15, 2003

RDs at PDC

If you see this logo on someone at PDC, he is one of the many RDs attending (I would guess there should be around 70 or 80 of us), speaking, participating in a panel, hosting BOF sessions, monitoring the labs, doing Ask the Experts booth duties... outside the conference center, more probably than not around sunset or holywood boulevard at night, you can find many of us (without the badges this time) ...

Who are we ? you can look us up at our web site at http://www.microsoftregionaldirectors.com/Public/ .

We are about 120 independent developers, architects, trainers, consultants and other professionals from all around the world, very informed about Microsoft technologies (usually also about other thecnologies as well). We usually can give you informed opinions, based on real world experience and balaced views about Microsoft technologies away from hype or dog food.

See you there ...


main | PDC
10/15/2003 1:43:37 PM UTC  #   
PDC Birds of a feather sessions

This year, not only PDC is great in including three huge new technologies, but also in its special sessions. One of the new formats is the Birds Of a Feather sessions. These are attendee hosted (any attendee can propose a session, and the sessions are aproved based on a vote by attendees).

The format of these sessions is really interesting, because it is a one hour, almost unstructured (close to chalk talk format) discussions between attendees. My guess is that we will see lots of humor take place, and much less dog food than we would in any other sessions.

Looking at the aproved topics, it is interesting to see that they globally three kinds :

  1. Real Life experience and concerns with .Net (present and future). These really are concerned by the topics that are not technology topics, and that one would never expect or trust Microsofties to cover.
  2. Alternate or deeper looks at technologies than one would not expect in regular sessions. These cover things like Rotor (CLI) development, using .Net with Oracle, Alternate programming languages, business intelligence with .Net, Palldium ...etc.
  3. Totally non technical, usally very different approche to developer concerns, like Women who code (I don't hide I will not miss that one, since most women attendees will be there ...), Reader to Author to Publisher for .NET (books on .Net), Weblogging: The Future of Conversational Software ...etc.

I will be hosting a BOF on Office system and integrating with business process (I just noticed my topic was aproved!). See you there ...


main | PDC
10/15/2003 12:56:57 PM UTC  #   
Covering PDC Panels ...

The PDC Panels are great in that is has no prepared marketing dog food (no PPTs allowed). It is about Microsofties answering your technical questions. PDC bloggers will cover the various panels, and gives you even an opportunity to ask your questions before hand (even if you are not a PDC attendee).

I will be covering two panels :

  1. Put The Power Inside: Hosting the CLR in Your Application - 10:30:00 AM - Room501ABC

  2. Computing on the Beach: Visions of Mobility - 1:45 PM - Room 411-Theater

All panels are on the PDC's last day (Thursday Oct 30).


main | PDC
10/15/2003 11:48:56 AM UTC  #   

  Saturday, October 11, 2003

PDC in two weeks ... Be There!

   Last PDC was in LA. If it was not one of the greatest, and if there was no PDC in 2002, it is because a PDC is and should be about technology, and there were no totally new one at the time ... This year, not only there is a new technology, there are many of them (Indigo, Longhorn, Yukon, ...).

   The number of attendees also seems to be one of the greatest (already overbooked, and registration closing on Monday, hurry up if you haven't registered yet!). I go to many conferences regularly (at least 3-4 per year in the US, many events in my region - i.e. North Africa), and I always come bqack with the opinion that what makes a conference great is both its content and the general atmosphere, parties and fun going on in it. This PDC will be a blast ... See you there.

  


main | PDC
10/11/2003 4:22:17 PM UTC  #   

  Monday, October 06, 2003

Web Parts as Custom Web Controls (or almost...)

I will continue on the Office System series with this very simple exemple of how one can write Web Parts just as one would write any ASP.Net Custom WebControl. The only difference is that you don't override the Render Method, but the RenderWebPart method instead (this allows for the Web Part predefined functionnality like dragging and dropping the Web Part within the Web Part Page in Windows SharePoint Services sites or SharePoint Portal Server sites, as well as the integration within the Web Part Framework and use of the WebPart Tool panes ...etc.). example in C# (A reference to Microsoft.SharePoint.dll and to System.Data.dll are needed):

using System;
using
System.ComponentModel
using
System.Web.UI; using System.Web.UI.WebControls;
using
System.Xml.Serialization;
using
Microsoft.SharePoint;
using
Microsoft.SharePoint.Utilities;
using
Microsoft.SharePoint.WebPartPages;
namespace
MyWebPartsLibrary
{

[ToolboxData("<{0}:WebPart1 runat=server></{0}:WebPart1>"),
XmlRoot(Namespace="MyWebPartsLibrary")]
public class WebPart1 : Microsoft.SharePoint.WebPartPages.WebPart
{

private DataGrid myAuthorsGrid=new DataGrid();
protected override void RenderWebPart(HtmlTextWriter output)
{

myAuthorsGrid.DataSource=getAuthors().Table[0];
myAuthorsGrid.DataBind();
myAuthorsGrid.RenderControl(output);

}
private DataSet getAuthors()
{

System.Data.SqlClient.SqlConnection cnn = new System.Data.SqlClient.SqlConnection("data source=localhost; initial catalog=pubs; integrated security=SSPI");
System.Data.SqlClient.SqlDataAdapter adapt =
new System.Data.SqlClient.SqlDataAdapter("select * from authors", cnn);
System.Data.DataSet result =
new System.Data.DataSet();
adapt.Fill(result);
return result;

}

}

}

As for all Office System Solutions, there must be a manifest that is signed with a digital certificate (that's the basis of all security configurations and policies for Office System solutions) that references the dll as follows :

<?xml version="1.0"?>

<!-- You need only one manifest per CAB project for Web Part Deployment.-->

<!-- This manifest file can have multiple assembly nodes.-->

<WebPartManifest xmlns="http://schemas.microsoft.com/WebPart/v2/Manifest">

<Assemblies>

<Assembly FileName="MyWebPartsLibrary.dll">

<SafeControls>

<SafeControl Namespace="MyWebPartsLibrary" TypeName="*" />

</SafeControls>

</Assembly>

</Assemblies>

<DwpFiles>

<DwpFile FileName="WebPart1.dwp"/>

</DwpFiles>

</WebPartManifest>

 

To install the Web Part in SharePoint, a CAB file has to be created (Setup Project) and the utility stsadmn.exe is used for installation as follows :

stsadm –o addwppack –MyWebPartLibrary.dll

 

 


main | Office System
10/6/2003 5:15:33 PM UTC  #   

  Tuesday, September 30, 2003

Very simple way to do smart tags

Too tired to go into any object model, I will just give a very simple example of XML List Smart tags in the new Office System, taking advantage of the MOSTL engine. Just put the following XML into an xml file in C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\1033\ et d'exécuter l'utilitaire C:\Program Files\Common Files\Microsoft Shared\Smart Tag\SmartTagInstall.exe and my name will be recognized on your documents, allowing you to access my blog from any office document  ...

<?xml version="1.0" encoding="utf-8" ?>
<!-- _lcid="1033" _version="11.0.4617" -->
<!-- _LocalBinding -->
<FL:smarttaglist xmlns:FL="http://schemas.microsoft.com/office/smarttags/2003/mostl">
    <FL:name>
        <!-- _locID_text="name" _locComment="{StringCategory=TXT}" -->Malek test lists</FL:name>
    <FL:lcid>
        <!-- _locID_text="lcid" _locComment="{StringCategory=TXT}" -->1033,0</FL:lcid>
    <FL:description>
        <!-- _locID_text="description" _locComment="{StringCategory=TXT}" -->Ensemble de listes de test</FL:description>
    <FL:moreinfourl>
        <!-- _locID_text="url" _locComment="{StringCategory=TXT}" --></FL:moreinfourl>
    <FL:updateable>false</FL:updateable>
    <FL:autoupdate>false</FL:autoupdate>
    <FL:lastcheckpoint>100</FL:lastcheckpoint>
    <FL:lastupdate>5123942</FL:lastupdate>
    <FL:updateurl>
        <!-- _locID_text="updateurl" _locComment="{StringCategory=TXT}" --></FL:updateurl>
    <FL:updatefrequency>20160</FL:updatefrequency>
    <FL:smarttag type="urn:schemas-microsoft-com:office:smarttags#malektest">
        <FL:caption>
            <!-- _locID_text="recognizercaption" _locComment="{StringCategory=TXT}" -->Mot de test</FL:caption>
        <FL:terms>
            <FL:termlistwithprops> 
                <FL:prop RecognizedByMOSTLList="True" />
                <FL:t>Malek</FL:t>
                <FL:t>Abdelmalek</FL:t>
                <FL:t>Kemmou</FL:t>
                <FL:t>A.Kemmou</FL:t>
                <FL:t>A.K</FL:t>
               </FL:termlistwithprops>
        </FL:terms>
        <FL:actions>
            <FL:action id="My Blog">
                <FL:caption>
                    <!-- _locID_text="My WebLog" _locComment="{StringCategory=TXT}" -->Navigate to my WebLog</FL:caption>
                <FL:url><!-- _locID_text="actionurl1" _locComment="{StringCategory=TXT}" -->http://www.malekkemmou.ma</FL:url>
            </FL:action>
        </FL:actions>
    </FL:smarttag>
</FL:smarttaglist>


main | Office System
9/30/2003 9:03:53 PM UTC  #   

  Sunday, September 28, 2003

Disconnected for a week

I just got back from Tunis, Tunisia. For one week, I had no connectivity, my AC adapter for my laptop broke down, and Tunis went through some innondations ...

I was doing a training on Office System for a mixed audience of developpers and ITPro, which I will do 3 more times non-stop, in Casablanca, Morocco and Algiers, Algeria. The course covering XML features, SharePoint integration, smart Tags and smart Docs, research, ...etc.

I will have some rest today, and tomorrow I will post some insight into the new Office development techniques (as well as the code I promised last week).

 


main | Travel
9/28/2003 5:44:21 PM UTC  #   

  Saturday, September 20, 2003

leaving for Tunis ...

Tomorrow morning, I am leaving for Tunis where I give an Office System 2003 Training for 5 days.

Today, I hade to do some interesting work on InfoPath and on CMS. InfoPath is really a great baby for creating Forms using Web Services ... on CMS, I had to work on a placeholder that makes it easy for the content authors to apply Css classes (without knowing it) to their content. The main idea is to apply on of a few predefined tags, and let the css take care of it (in my case choosing one of a multitude of bulleted lists with flashy icons).

I will be posting that code on monday ( iam just too tired to comment it right now).


main
9/20/2003 8:52:24 PM UTC  #   

  Friday, September 19, 2003

Finally, my weblog is online ....

There it goes ... I use three languages in this webLog, but you only see the languages that you have specified in your browser as acceptable languages. Thank you Clemens for the multilangual support ...

This weblog is a mixture of technical stuff  (mainly .Net code and comments), my view and  opinions on various things, and whatever is happening in my life, travels, ...etc.

 


main | welcome
9/19/2003 8:06:42 PM UTC  #