Archive

Archive for the ‘programming’ Category

X++ code for automated messaging to Microsoft Office Communicator

October 4, 2010 Leave a comment

One of the plus that Microsoft have with Dynamics AX or any other product is its existing product stack. The integration of Microsoft Office Suite aids Microsoft Dynamics AX to be more interactive and integrated in users existing environment.

Microsoft Dynamics AX 2009 also provides integration with Office Communicator. This enables the presence of a person/contact to be shown as part of the contact information, along with links to contact that person. Where the eBook provides several of the coding tips and tricks, Greg on Dynamics AX describes this in a few easy steps. Follow this article for further implementation details.

Also, you can find link to the list of best practices errors and warning messages in Dynamics AX here.

How could a website be called Google?

September 30, 2010 Leave a comment

After reading this article, are you still amazed? Its basically a search engine. What else could it be?

Microsoft AX 2009 – Programming Getting Started

September 23, 2010 Leave a comment

 

Here is another great new resource for those who want a head start on programming in Microsoft AX 2009.

http://cid-254a5e82d50e4189.office.live.com/embedicon.aspx/Microsoft%20Dynamics%20AX/Microsoft%20Dynamics%20AX%202009%20Programming%20Getting%20Started/ax-2009-programming-getting-started.pdf

Dynamics AX List of Best Practice Error and Warning Messages

September 14, 2010 Leave a comment

 

Working with Microsoft Dynamics AX development environment, one must follow certain best practices that would allow the code to run and work better. By default, the compiler for X++, checks the code for a list of best practice issues that are very important to follow. These issues are listed as best practice errors, warnings, or even informational messages.

Here is the great resource for those working on Dynamics AX for the consolidated list of best practice error and warning messages on msdn site.

Source: http://msdn.microsoft.com/en-us/library/bb530207.aspx

Programming: Are you mad??

February 10, 2009 Leave a comment

Well, I am a programmer, I build software, and I’m lovin’ it.

But, hey, what if someone ask me to be a programmer? How anyone can be a programmer different than others? What actually makes you a Geek?

Dear readers, I’m not a very old programmer; neither I have made apps like Microsoft Windows or Google Search Engine. But if someone come to me and ask for my advice, “hey, can I go for software engineering?” I will surely reply, “ARE YOU MAD?”

This somehow sounds a bit weird, but that’s the way it is. Programming is a passion and it definitely needs madness. So my answer continues that until you are mad about it, you can’t be a geek programmer. And, to be a Geek, you don’t need to make gigantic apps; all you need is passion, and madness about programming. If you are loving your PC more than your pet or your car, than you are definitely geeks. But if you get tired after writing thousands of lines of code in a day, then you better find yourself another profession.

If you turn the pages of history, you might remember the virtual machine boom in some 1960’s, then sometime later the internet boom, then the GUI change, then comes Java craze followed by .NET bubble burst earlier this century. A few years after that there came rich internet application blast and now a days the hype of cloud computing. Every now and then software development is changing its paradigm almost completely. The learning curve for software developers shoots like Mount Everest after every year or two, much unlike other living professions like doctors or building constructors. So if you are joining our software fraternity, you make yourself sure that whatever you learn is going to expire in a year. So again it needs madness to stay updated. This is certainly not my pessimistic approach; it’s a ground reality that no one can deny. It’s not warning, its motivation, rather, as a matter of fact it’s only your perception; either you see a glass half empty or a glass half filled.

Dear readers, what makes you a different programmer among all? there are several reasons. In my case, the foremost reason, I like programming irrespective of development platform or language. As you see, if you are calling yourself a software engineer or programmer, than what I personally believe is that there must not be any further definition that you are a Java developer or .net developer. You are programmer, and you should know how to program or what to program.

The other reason, I can write better Google queries. there are millions of gigs of lines of codes always available to help you out, but what matters most is how u find the relevant information that you need. Yes, software fraternity is quite helpful and open to share knowledge, so should you.

Another fruitful suggestion, add some of key blogs and news letters to your RSS feeds, so that you can always stay in touch what is being happening in the software fraternity.

Well, to conclude, you might remember Morpheus quote: “there is always a difference between knowing the path and walking the path.” But the problem is, there is no path actually, there are only pathways. Programming is just like mathematics, in both the cases you have an objective to achieve and a set of rules, but the choice is yours to adopt which pathway. There is nothing like good or nothing like bad, its only the requirement that makes it useful or useless.

Happy Programming !!!


courtesy: also published as a detailed article “Crazy about coding: What it takes to be a serious software programmer” by me in February 2009 issue of Spider Magazine – Pakistan’s largest selling IT magazine (www.spider.tm | http://www.spider.tm/feb2009/main.html?pgsrc=szone&submenu=szone1&dirtarget=none)

Is it good to listen songs while code???

February 24, 2008 Leave a comment

Hi all, well, after writing several tech oriented blog posts, I would now like to share something else.
I guess it sounds a little bit shaky, but still, most of us do that: “listen songs while code”!!!
Actually, it’s not a good habit to get distracted with some kind of lyrics based music or any noise while you code. But on the contrary, when you are lost in some multi-nested for loops or some calling of an object that is far beyond your approach in that scope, you probably would like to completely disconnect with outside world. Rather, I do have a different approach to tackle this sort of situation or race with the error called “object reference not set to an instance of an object!”.

I listen music.

Through out our school lives, we’ve been cautioned to keep TV, radio and music out of scope while doing homework, rather, this study says something different.

lets face, most of us – the programmers, spend most of our time sitting in front of computer, hitting our 10 year old keyboard at a speed of aprox 45 to 50 words per minute, isn’t that a noise that distract you? clicks of mouse and shouting pings from peers that come online.. yes they all do distract. It increasingly come out to boredom.

I do became increasingly bored too, sometimes while coding my precious programs, so I began keeping music on. Nothing extraordinary happened… until I attempted coding in silence again. Without noise, I was restless and far more easily distracted. I didn’t bother kicking the habit, realizing that I can get into the zone more efficiently with noise “on” than “without”.

Sometimes I get so absorbed writing code that everything besides my awareness of the screen, and the sensation of my fingers hitting the keys, it seems disappear better to say completely lost :s or specifically, the rate and rhythm at which I hit the keyboard is in sync with the current backbeat. Then I hit compile and my program works flawlessly, and I say: “WHAT THE HELL!!!”

Thus, the simple solution, release your mind with soft music.

The music I prefer to listen while coding does depend upon a number of factors. I prefer classical, soft or a little bit slow music like rihanna, Junaid Jamshed old vital sign songs, while debugging, but interestingly fast and rap music like bon jovi, ricky martin and to some extent Pakistani Strings,,,, while I am into a fast code or perhaps when some one plays Russian roulette and place it on my head 😛 I might increase of decrease volume, as per the ambient of noise and my current mood, but more over, as per my colleagues hit my back neck and tell me to keep silent. hahhaha

As far as headphones are concerned, they get distracting, and become uncomfortable and sweaty after being worn for hours. I’ve given up, and now I got speakers. I prefer never go back to headphones. I suggest putting down at least a few hundreds for a good quality set of speakers that will last. Speakers are better option as I see when I like to have rap, lounge or elevator sort of music running in the background like the one by linkin park, Eminem or limp bizkit, even when I’m not on desk. I wasn’t able to do this with headphones unless I turned up the volume to max, in which case the music sounded so bad there was no use keeping it on.

So now, let’s share, Do most of you listen to music or talk radio while you work? If so, what kind of music fits in with your coding? I wonder if you can guess a person’s programming style and thinking approach, based on what they listen to.

I know its a meaningless and silly and some would say as “Stupid” question …. but not every post has to be a technology geek post 😉 wht say ???