My first publicly-tested recipe
Alsalam alikom wa ra7mat Allah wa barakatoh..
so yes, I do cook!
Yesterday, we have held a potluck (Dish Party) in our office, people from all nations were invited to serve any dish they are famous for… and I’ve to tell you, these guys really know how to cook!.
I didn’t have much time to cook, had to wake up in the morning, buy supplies, come back home, cook and then go to work at 9ish… Cooking under pressure :D…
What recipe did I pick, Stuffed Grape Leaves (محشى ورق عنب)… I don’t have a good picture for it :( but here is a picture for the gr8 chiefs,
Here we were discussing what kobeba (كبيبة) is :D
Will post my recipe later! In Shaa Allah
Salam.
Friend Assemblies .NET
Alsalam alikom wa r7amat Allah wa barakatoh (Peace upon you..)
Long story short, you have AssemblyA (with source code) and AssemblyB… you want AssemblyB to be able to access internal members (types, data, methods.. etc) of AssemblyA…
You can of course do that through Reflection but come on, it’s not a descent way to do it.. right??
Continue Reading… [my MSDN blog]
Windows7 adds Math Input Panel
Posted by Haytham Alaa in Tips n Tricks on Thursday, April 23, 2009
Alsalam alikom wa ra7mat Allah wa barakatoh…
I was reading a windows team post about Input Panels improvements in Windows7 [here]. When at the end I saw a very interesting –intuitive if you wish- new thing… which is, as you guessed, the Math Input Panel…
Yes, that crappy font is mine… I “drew” that by mouse as I don’t have a tablet pen/pc.
You can then paste it directly into word and it’ll recognize it as an editable equation…
During my tests, the output panel (the top part) hanged, but I liked that the drawing panel was still responsive and I could still write/erase… till the top one started to respond again…
One other thing to know, after you click Insert (that button down there) it copies the equation in MathML [Wikipedia link] format.. which is a standard way of representing equations and hence any application that recognizes the format can insert it not as an image but as a nice editable equation…
If you think it recognized something wrong, you can click “Select and Correct” then draw a circle around the part you suspect, you will get a list of other alternatives. However, It’s missing a “manually edit” or something like this, to let you define what you really mean in MathML or just as MS Word’s equation editor..
![]()
No, this isn’t mine.. I copied it from the post above
From the post:
The Math Input Panel (or MIP) is designed to be used with a tablet pen on a Tablet PC, but you can use it with any input device such as a touchscreen, external digitizer or even a mouse. MIP outputs the recognition result via the clipboard in MathML format, a standardized mathematical markup language. Any equation you write and recognize in MIP reaches your destination application in a completely editable form – you can insert and edit the output as you would edit any text.
We spent a lot of time researching and identifying as many areas of math as possible and endless different math notations. The final result is a great coverage of high school and college level math, and of even more advanced areas.
That’s it… stay tuned :)..
Thanks,
Into the hedge…
Alsalam alikom wa ra7mat Allah wa barakatoh (Peace upon you)
![]()
Have you ever got the feeling that you are sitting inside a hedge… in the sense that you are surrounded by noon-sun light but you don’t know the directions… and despite the fact that you are a few inches away from both sides, you are afraid to go either ways because you don’t know which side leads to the sharp edge and which is the safe ground…
What would you do… either wait the sun to set or take your best bet…
I don’t think there is a right answer, if there is one it would be “it depends”…
At least for me, I still can’t figure out what does it depend on! and I’m afraid to death that I won’t know till sunset! …
If I can ask you for one thing, that will be your prayers…
Alsalam alikom wa ra7mat Allah wa barakatoh
Microsoft Web Platform Installer… coming near you
The Microsoft Web Platform Installer 2.0 (Web PI) is a free tool that makes it simple to download, install and keep up-to-date with the latest components of the Microsoft Web Platform, including Internet Information Services (IIS), SQL Server Express, .NET Framework and Visual Web Developer. In addition, install popular open source ASP.NET and PHP web apps with the Web PI.
Here is the code snippet if you want to spread the word :)
<a href="http://go.microsoft.com/fwlink/?LinkId=146503" title="Get the Microsoft Web Platform">
<img src="http://www.microsoft.com/web/media/badge/get_microsoft_web_platform.png" alt="Get the Microsoft Web Platform" border="0" />
</a>
Visual Studio 2008 Not saving changes or project properties?
Alsalam alikom wa ra7mat Allah wa barakatoh (Peace upon you)
I’ve recently ran into problems with VS 2008. Summarized here:
- When you try to edit the project properties (specially C++ projects) you are faced with a little nice message saying “Exception from HRESULT: 0xF9F0F308”.
- Sometimes when you are editing a file (specially large ones), VS doesn’t recognize you’ve made changes (ie doesn’t display that ‘*’ in the files tabs) hence, when you save, nothing actually gets saved.
For those 2 problems, a friend explained the problem and a work around (till they officially release a fix)…
- Open up a Visual Studio 2008 Command Prompt
- Run cd "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE"
- Make a backup copy of devenv.exe in case something does not work right.
ie. copy devenv.exe devenv.exe.bak - Run editbin /largeaddressaware:no devenv.exe
Happy VSing… :)
Ostrich… not stupid anymore
Alsalam alikom wa ra7mat Allah wa barakatoh
When I was a child, teachers used to show us a picture of an Ostrich hiding her head in the ground, back then they told us she is stupid because she thinks by not seeing the enemy, the enemy can’t see her…
Have you ever wondered whether this story’s true at all ?! (ie. Have you personally asked an ostrich and she told you that weird reason ?)
Let me ask you a similar question, why do you close your eyes when your doctor gives you a shot? I think it’s the feeling that you don’t want to “watch” the shot that will cause you pain…
Why don’t you think the Ostrich’s that same concept as humans? why did we judge she is stupid enough to think the other way!
My whole point is, try not to “judge” people by how you see their actions, let them explain them for you!
Done!Air without sound
Alsalam alikom wa ra7mat Allah wa barakatoh
What is Air without Sound anyway?
I was looking from the window beside where I sit now, there were some construction happening over there, I have my windows open to get some fresh air...
I thought, sound is not a substance by itself, it's just a sort of signal moving through materials... so if the material can alter the waves in somehow to the extent it eliminates them or at least makes them regular, then it'll not transfer the original sound waves... right?
Some Science:
As I remember, to cancel a wave you have to face it with a similar wave in an exactly opposite direction +ve and -ve if you can say... if they matched in signal (+ve and +ve) that would produce resonance (e.g double the sound) and may drive me crazy :D !
What if this can be applied to a sheet that I can cover my window with, it can be driven by electricity or something.. it can have a sensor hold on some distance, that senses the sound wave coming, then it triggers non-mechanical part to produce a similar wave in an exact opposite direction...
Then, you get fresh air, without noise… wohooo
Sounds since fiction? maybe yes.. but I imagine it'll one day be doable !
Thanks,
When you wait by the Terminal...
Alsalam alikom wa ra7mat Allah wa barakatoh
This is a post I started to write loong ago but never finished. For some reasons I remembered it and decided to finish and post.
The Terminal(imdb link) is a movie that tells a story of a man who lived in a terminal at the airport for nearly a year waiting for the moment when they let him in to New York.
Away from the details of the story and why that happened to him, the movie shows a man preferred to wait for a year in the airport and fulfil a promise he gave to his father sometime ago... his father is dead but he insists on keeping his promise.
Sometimes -a lot of times actually- I feel people lost that thing inside to wait for their precious moments to come.
The guy in the movie was allowed many times to escape -legally and not- but he's never done that. Maybe he was smart enough to realize those were traps, and maybe he thought "maybe I can wait for the real solution to come".
It sometimes happen that you find yourself in a miserable situation, having nothing to spend, having no work, no friends, no life to live. You have the choice to wait for the best, or escape and live like a fugitive for the rest of your life!
The guy also had no money, no food, nothing... but yet he's not chosen to escape, eventually, he figured out a way to earn money, buy clothes, invite the girl he met for dinner... etc that even the airport manager once said "he earns more than I do!"
I believe we all pass by that same terminal, it's all about how long can you afford to wait for the gate to open!
Have a good night!
Do you miss your desktop?
Posted by Haytham Alaa in Developing, Dreams, Projects on Thursday, October 16, 2008
Alsalam alikom wa ra7mat Allah wa barakatoh
Do you have a desktop like this?
I bet you do… Today, I was restarting my pc (since like a month ago) and realized I have never really used my desktop !!.. I have never hit Win+D (to hide all open windows) and click an icon on my desktop..
What I do usually is hit Win+R, open what I want (i.e process, path, the desktop folder itself)
I’m not quite sure whether this is only me or not but this is what I see when I wander around in our office… everybody has something open, nobody is looking at their desktop !
What desktops are there for? a start page to use when you start your pc for the first time? makes no sense.. over time, companies/individuals are producing more and more ways to access everything without the need to go back to your desktop (i.e Google Desktop, MS Desktop Search, AutoHotKey… etc) they are all trying to put all your information at your hands..
For me, I even don’t use Vista’s –so cold so good application launcher- that shows up when you hit the win key.. why? because my machine is usually loaded with dozens of open software/windows, so hitting Win key and waiting for 2-3 seconds till it open then type something looks like a lot to me! I would say launching an application should not take more than 2 seconds. In vista/google desktop when your pc is loaded, it may take 4-5 secs..
A solution? I don’t have a direct one.. but for instance, I liked the Mozilla’s AURORA that small external LCD where you can see the latest information… what if it is clickable/touch-aware and what if this is integrated into your keyboard, so that you can put short cuts for most used applications?.
I just want to start an application when I want to, not when my machine allows me to… Am I asking for something hard !
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=256abfaa-d722-45df-9915-ff9395cfe1cb)
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=d5c169ea-29fa-4e6e-9a6f-0d9daf994d99)



