Ever since the release of the Windows 8 Developer Preview, people have had a lot to say about the experience of playing with the new OS. But few folks are talking about the changes it represents for developers. Windows 8 is the biggest update to the Windows development model since the move from Windows 3.X to Windows 95. While there are lots of good things, there are also a lot of pain points. If you are looking to develop Windows 8 native applications with the new UI and WinRT API, be careful of these 10 thing
Murtaza Fazal's Blog
Murtaza Fazal's Blog
Friday, January 11, 2013
10 reasons Windows 8 will be painful for developers
Ever since the release of the Windows 8 Developer Preview, people have had a lot to say about the experience of playing with the new OS. But few folks are talking about the changes it represents for developers. Windows 8 is the biggest update to the Windows development model since the move from Windows 3.X to Windows 95. While there are lots of good things, there are also a lot of pain points. If you are looking to develop Windows 8 native applications with the new UI and WinRT API, be careful of these 10 thing
Friday, May 11, 2012
Sql : Highest Marks in Each Course
One of the interesting queries (SQL) i found during one of the interviews was this one which looked so simply but it required little bit of brain storming.
Task : You have 3 tables (Student {StdId, Name}, Course{CourseId,CourseName}, Marks{StdId,CourseId, Marks}) . Select highest scores from each course with course name and student name.
Query :
SELECT C.CourseName,S.Name,M.Marks
FROM
(
select courseid,max(marks) as Marks from marks
group by courseid
) tmp
INNER JOIN Marks M ON tmp.CourseId = M.CourseId AND tmp.Marks = M.Marks
INNER JOIN Course C ON C.CourseId = M.CourseId
INNER JOIN Student S ON S.StdId = M.StdId
ORDER BY M.CourseId
Wednesday, August 17, 2011
MagicJack Issue
- If you are running skype , close skype first then run MagicJack and if MagicJack's dailing screen appears, then you can turn skype back on . Basically skype is using the same port so if you try running MagicJack after skype , it cannot access that port.
- If you are still facing the issue then try deleting the folder
For Windows 7 Users :
C:\Users\User Name\AppData\Roaming\mjusbsp - The newer update of magicJack was having issues (if you had previous one installed on your system) so if you weren't able to run MagicJack with the above steps then after completing first 2 steps , plug-in MagicJack again and after it has installed and created the folder mentioned in step 2 , run upgrade.exe (the file may be hidden so allow hidden files and folder).
- Enjoy MagicJack :)
Tuesday, July 12, 2011
Windows Phone 7.5 Mango Preview
Last week Microsoft presented me with a Samsung Focus smartphone that was running a recent pre-release build of Windows Phone 7.5 “Mango.” Mango is the version of the OS that will replace Windows Phone 7, which launched last year.
Windows Phone Mango brings many new things to Microsoft-powered smartphones, as you can see in the video below. From a messaging perspective, you’ll find combined email inboxes, an improved messaging system that lets users switch between text, IM, and Facebook chat on the fly, and new integration of Twitter and LinkedIn into the social aspects of the People app. In this pre-release build I was testing, Twitter and LinkedIn support were missing.
Many other updates are found in the People app, including new group support for mass messaging and email as well as targeted social networking feeds. New check-in support has been added to the phone so that it is now easy to check-in at a restaurant or an event, and social networking photos (with face tagging) are also available within the People app. The Calendar has been updated to includes tasks from Exchange accounts and appointments from Facebook. I’ll reserve final judgement for all of the new social features until after the final product ships, but so far, at least, Microsoft appears to be moving in the right direction.
Search has been extended all around with special handling of movies, products, and places. A new visual search tool can be used to identify items or read bar codes – or even translate text into different languages (think menus). Local Scout makes it easy to find nearby places to go for food, shopping, or entertainment. I’ve always been a fan of Bing, loving its clean look and organized content. Now things are even better.
The new, and much-hyped, task switching and multitasking features are very nice to have, and I’m looking forward to seeing new apps that take advantage of the background audio system and various other APIs that are being made available to developers. Users won’t have access to pure multitasking in the Android sense, but what Microsoft is offering with Mango appears to be a step beyond what Apple offers in iOS. And that’s more than enough multitasking for countless millions of consumers, if Apple’s sales figures indicate anything.
Microsoft has really been touting the Internet Explorer 9 integration in Mango, with its HTML5 support, but users are also going to love the Smart DJ playlists that the Zune player can create, and gamers will approve of the 3D avatar support and Xbox Live messaging that has been added to the Games Hub. IE9 sounds great in theory, but I’m still not convinced that what we get from it is on par with the WebKit browsers offered by Android, iOS, and webOS. It’s good (and very fast), but in a different way that just doesn’t seem quite has handy on a mobile phone.
While Windows Phone will still not suit every potential smartphone user out there, I feel that the changes Microsoft has put into Mango go a long way towards filling any gaps that existed in the initial release of Windows Phone 7. The best part is that while Mango catches up with the other major smartphone operating systems, it still manages to remain true to itself. It’s different, to be sure, but Microsoft’s OS is beautiful, fast, and powerful as well.
You can get a look at all of these features and more by watching the video above. The Mango release of Windows Phone is expected to show up in devices this fall.
Blog Post from : http://www.wowwindows8.com/windows-phone-7-5-mango-preview/
Friday, July 8, 2011
Windows Phone 7.1 (Mango) and VMWare 7.1
And today when i was trying to execute my windows phone application , the simulator would crash saying unvalid startup commands... Dont Panic !!! just delete VMWare 7.1 and restart your system and here u go :)
enjoy
Thursday, June 30, 2011
Vacancy for Software Support Engineer (Avanza Solutions)
- Academic Qualification: Graduate in Computer Science/Engineering from an accredited institution.
- Experience: Fresh - 2 years.
- Expectation: Must be a team player having proficiency in written & verbal communication with strong analytical & problem solving skills.
- Ability to understand different business areas and its practices.
- Familiarity with Development (coding)
- Familiarity with databases preferably SQL Server or Oracle.
- Familiarity with Networks
- Familiar with Software Engineering concepts and life cycle.
- Excellent written and verbal communication skills.
- Ability to understand customer needs, co-operative and soft spoken.
- Can work with diversified groups
Wednesday, June 15, 2011
Alarm in Windows Phone 7.1 (Mango)
I'll demonstrate how to write a simple program which plays any audio which you want :)
- Create a new Project
- Select Target Framework as 7.1
- In you Main.xaml.cs , include the library "Microsoft.Phone.Scheduler".
- I've placed the audio file on the root , if you want you can create a folder as audio and place your file there. Then you should navigate as per your need.
- Now write the following code
- Alarm myAlarm = new Alarm("mmfAlarmTest");
- // You need to specify a name for the alarm
- myAlarm.BeginTime = DateTime.Now.AddMinutes(1);
- // I would like it to play after 1 minute of execution
- myAlarm .Sound = new Uri("/toss-the-feathers.mp3",UriKind.RelativeOrAbsolute);
- // Remember my audio file is on the root directory?
- ScheduledActionService.Remove("mmfAlarmTest");
- // Remove if there exist a similar alarm
- ScheduledActionService.Add(myAlarm);
- // Register your alarm
And that's it !!! . Test it out and enjoy the fun ;) Using this, you can generate an application which sets alarm through your application
Monday, June 6, 2011
Migrating from 7.0 to 7.1(mango) beta - Windows Phone 7
- Change the Framework from 7.0 to 7.1
- Add Reference to System.Data.Linq and mscorlib.extensions (most of the websites do not include this, and if you do not add reference to this, you would not be able to implement the interface INotifyPropertyChanging)
- Last but not the least , include the following directives
- using System.Data.Linq;
- using System.Data.Linq.Mapping;
- using System.ComponentModel;
- using System.Collections.ObjectModel;
Sunday, May 22, 2011
Crystal Report 10.2.3600.00 on Windows Server 2008 R2
OS : Windows Server 2008 R2 (64 bit)
IIS : 7.5
- Just install Crystal Reports Redistributable Package for 64 bit
- In IIS, set Application Pool as Classic
- Set Allow 32 bit Application as FALSE
- Set Connection User as the NetworkService
- Assign the user NetworkService to have write access to your Windows/Temp folder.
- Assign the user NetworkService to have write access to your Website folder (if you are writting temporary Crystal Reports inside your application folder as we were doing).
And that's it :) after delaying the GO LIVE activity for a week, finally found the above settings can solve the issue :)
Wednesday, April 20, 2011
Recollecting Memories
26th Dec 2010 - Sunday
Time : 06:30 DST (GMT + 4)
My phone starts ringing , i thought it was just the alarm as i had the same ringtone . so its office time... oh wait.. its a call ? call from Abbas bhai (my brother-in-law) from Pakistan .. *did the kids dialed it accidently? * . I waited for couple of more seconds... then OK lets just pick it up...
Abbas Bhai : Murtaza are you awake?
Me : yea was just abt to get up for office
Abbas Bhai : Murtaza ur father's health isn't well. We are in Agha Khan and they've take him for angioplasty. wait aunty wants to talk.
Mom : *in a low voice* Murtaza .. ya papa wasn't feeling well so we are here. we woke u up right? ok talk to Abbas bhai
Me : errr okkay.
Abbas bhai : Murtaza, its better that you come back to Pakistan as earliest as possible. Conditions is little critical plus ajao toh acha hai . I'm about to call ur elder bro (Abbas) aswell.
Me : *thinking that i have no idea wat is angioplasty still this is critical. They would have never asked me to come back even though they know its my business trip and its a working day and i have arround 15 more days work left*
Abbas bhai : If you can change your ticket then it would b great else get a new one ok?
Me : ok
*call finished*
*moving from here to there, thinking what to do? Pack my luggage? Call Project manager that I need to go back? How to get a new ticket? Will my current will get converted? Do I have enough money to get a new one? Ok I’ll start dumping my luggage*
I knew my family was alone in khi so who could help them? Give support ? be my substitute? My friends J just them I smsed my friends (Umair , MIT , Zeeshan) the people who can arrange a car and reach there asap and inform other close friends :)
Called Khuzeema bhai to ask him how he used to deal in such situation while working at Avanza, then called Shoaib (Admin Avanza-ME) then called my current Project manager and told him the entire scenario and that I have to leave.
*2nd CALL from Pakistan*
Abbas Bhai: Murtaza, did u get the ticket?
Me: Trying to get all the things lined up but I’ll get it somehow.
Abbas bhai: ok get it soon as doctor is taking him for surgery as they can’t do angioplasty at this stage.
Around 8 DST, when almost everyone had woke up, everyone was trying to help me to book the tickets. Thanks a million to Sajid Bhai who kept making calls and at last got me to a conclusion that thought my visa was EMIRATES only but since I have an emergency and there are no tickets available, I can leave from PIA but need to send my visa copy to emirates after reaching Pakistan. I can still remember how I rushed to PIA’s office and booked my ticket. Was dying to get the ticket and didn’t care about anything. And I finally had my ticket in hand at 11am DST.
By 11:30/12:00 am my Project manager came to the apartment to get the updated code which I was supposed to deliver on 26th at the client’s end. Recharged my mobile balance and spend 2 hours thinking WHAT TO DO NOW… ALL PACKED.. FLIGHT IS AT 2:30. HOW WILL BE DAD?
Called Karachi that I have my ticket with me and I’ll be reaching around 5:30 PST.
Time: 1 pm
*Umair’s call from Karachi*: hey murti. How’s uncle? I just woke up cuz of Sunday
Me: np bro. but the last time I talked, they were taking him for the operation.. bro handle things there ok? I’m reaching at 5:30.
Umair: don’t worry bro, we’ll reach asap. And we will pick u up from airport aswell. No need for taxi
Me: alright. Keep me updated.
I don’t know how I passed those 2 hours at the airport and the entire flight. Stupid PIA people were only showing the DISTANCE and time left on the screen and those small kids shouting errrr I wanted to SHOUT idher tension hai tum logo ko shor suja howa hai :@
*Karachi Airport*
Finally reached Karachi airport and my friends took me first for the dinner (as per my mom’s order) then to the hospital where we stayed for 2 weeks. Dad had a open heart surgery and was still critical (mashallah sey fine now). I guess I can discuss the hospital stories in some other post. I am thankful to have my gr8 friends with me; Faizan , Arsalan , Mehdi , Maria , Umair , Zeeshan who were there at that time. And thnx to those who also donated some blood. And Mohammed Ali and Shahrukh who couldn’t reach but did call :) And not to forget Sajid bhai
Sunday, April 10, 2011
Dua Kumail & Ziyarat of Imam Hussain (AS) by Jan Ali Kazmi - p2
Sunday, March 20, 2011
The Promise
the sparking smile and the memories
all came back to me within seconds
and will haunt me for more years
with all the happiness and prosperity
Sunday, March 13, 2011
Life changing Dates
And i still remember the dates !!! :)
Wednesday, March 9, 2011
Everybody Hurts
When your day is long
And the night
The night is yours alone
When you're sure you've had enough of this life
Well hang on
Don't let yourself go
Cause everybody cries
And everybody hurts
Sometimes
Sometimes everything is wrong
Now it's time to sing along
(When your day is night alone)
Hold on, hold on
(If you feel like letting go)
Hold on
If you think you've had too much of this life
Well hang on
Cause everybody hurts
Take comfort in your friends
Everybody hurts
Don't throw your hand
Oh, no
Don't throw your hand
When you feel like you're alone
No, no, no, you're not alone
If you're on your own
In this life
The days and nights are long
When you think you've had too much
Of this life
To hang on
Well, everybody hurts
Sometimes, everybody cries
And everybody hurts
Sometimes
And everybody hurts
Sometimes
So, hold on, hold on
Hold on, hold on
Hold on, hold on
Hold on, hold on
(Everybody hurts
You are not alone)
Thursday, December 2, 2010
2nd Dec 2010
"kon kehta hai key tum befawa ho
ya or baat hai key tum muj sey khafa ho
or agar tum khafa ho toh
jaldi sey idher sey dafa ho "
lol
Sunday, November 14, 2010
Going to Makkah
Going to Makkah is not the ultimate
Even if hundreds of prayers are offered
Going to River Ganges is not the ultimate
Even if hundreds of cleansing (Baptisms) are done
Going to Gaya is not the ultimate
Even if hundreds of worships are done
Bulleh Shah the ultimate is
When the “I” is removed from the heart!
- Bulleh Shah
O my Lord, pay heed to my appeal (Mori Araj Suno)
O my Lord, pay heed to my appeal
I am a faithful follower of my Creator
O my Lord, pay heed to my appeal
My true Lord, you had said
“Go man, you are master of the world
My bounties on earth are your treasure
You are the viceroy of your Creator”
After baiting me with these promises
Countless years have passed by
My Lord, did you ever enquire what transpired with your man
What your man has suffered in this world?
Somewhere, those in power and with the means intimidate, harass and terrorize
Elsewhere, draft and bribery are rampant
My soul is shaken down to my bone
Just like a bird flutters when caught in a trap
You made a fine king indeed, my sweet lord
All I have gotten are endless beatings
I don’t want kingship, my Lord
All I need is a morsel of respect
I have no desire to live in palaces
I just want a small nook to live my life
If you agree with me, I will agree with you
I won’t decline anything no matter how unreasonable
If you don’t look out for me God!
Then I should go and seek for myself another god
O my lord, pay heed to my appeal
With this grimace
Pleading
Sharing the pain
Rowing the boat
Asking for his blessings
Waiting expectantly
Countless centuries have passed by
Only now has it been revealed
The one who you had appealed to
The one who held your hand and guided you
Where your boat had docked
From whom you had asked for a panacea for your pain
The one who did not visit your temple
It was you only
It was you only
Thursday, July 29, 2010
Translation of HOR VI NEEVAN HO : NOORI
Bow your head even further down (in humility)
Fakir, bow your even head further down (in humility)
Bow your head further down (in humility)
Fakir, bow your head further down (in humility)
There is great pleasure in holding the head high in arrogance
But, that pleasure will never be fulfilling
Fakir, bow your head further down (in humility)
One day you will be bestowed with His presence
Bow your head further down (in humility)
Lord, if only someone could understand the deliberations of my heart
I am a seeker who seeks nothing
I am a wanderer, roaming from one land to another
No one can unravel the secrets within me
I am a wanderer, roaming from one land to another
No one can unravel the secrets within me
I am a wanderer
Come along, come with me
Bow your head further down (in humility)
Monday, July 19, 2010
Life's Sad Song
where you'll find no one by your side for long
people keep coming, people keep going
life keeps running on
it shows some happiness
it shows some tears
in the end its only you who is left
with some memories , with some tears
you built hope
you built dreams
you love someone , you hate someone
sooner or later , you lose them both
At times in life , you want to live free
you feel in prison of those who used to be the loved ones
you want to run but you cannot
you want to cry out loud but you cannot
How would it feel if i'm gone forever? if i'm lost forever
would that make a difference?
would that free my soul from this prison?
some die for money
some die for food
i just want one thing
that is the freedom of my soul
Sunday, July 11, 2010
The Literal meaning of Din (religion)
"The foremost in religion (din) is His knowledge." The literal meaning of din is obedience, and its popular sense is code, whether literal sense is taken or the popular one, in either case, if the mind is devoid of any conception of Divinity, there would be no question of obedience, nor of following any code; because when there is no aim there is no point in advancing towards it; where there is no object in view there is no sense in making efforts to achieve it. Nevertheless, when the nature and guiding faculty of man bring him in contact with a superior Authority and his taste for obedience and impulse of submission subjugates him before a Deity, he finds himself bound by certain limitations as against abject freedom of activity. These very limitations are din (Religion) whose point of commencement is knowledge of Allah and acknowledgement of His Being.
After pointing out the essentials of Divine knowledge Amir al-mu'minin has described its important constituents and conditions. He has held those stages of such knowledge which people generally regard as the point of highest approach to be insufficient. He says that its first stage is that with the natural sense of search for the unknown and the guidance of conscience or on hearing from the followers of religions an image of the Unseen Being known as Allah is formed in the mind. This image in fact is the forerunner of the obligation to thinking and reflection and to seeking His knowledge. But those who love idleness, or are under pressure of environment, do not undertake this search despite creation of such image and the image fails to get testified. In this case they remain deprived of Divine knowledge, and since their inaccess to the stage of testifying after the formation of image is by volition they deserve to be questioned about it. But one who is moved by the power of this image goes further and considers thinking and reflection necessary.
In this way one reaches the next stage in the attainment of Divine knowledge, namely to search for the Creator through diversification of creation and species of creatures, because every picture is a solid and inflexible guide to the existence of its painter and every effect to the action of its cause. When he casts his glance around himself he does not find a single thing which might have come into existence without the act of a maker so much so that he does not find the sign of a footstep without a walker nor a construction without a builder. How can he comprehend that this blue sky with the sun and the moon in its expanse and the earth with the exuberance of its grass and flowers could have come into existence without the action of a Creator. Therefore, after observing all that exists in the world and the regulated system of the entire creation no one can help concluding that there is a Creator for this world of diversities because existence cannot come out of non-existence, nor can existence sprout forth from nothingness.
The Holy Qur'an has pointed to this reasoning thus:
". . . What! about Allah is there any doubt, the Originator of the heavens and the earth ?. . ." (14:10).
"Had there been in (the heavens and the earth [other] ) gods except Allah, they both had been in disorder. . ." (Qur'an, 21:22).