Posted on April 7, 2009 by awmanoj
Few days back while I was programming on Flex this cool problem came through. Problem was that I created buttons dynamically in the code based on some parameters passed to the function. These parameters would decide the label, id and color of the button. In addition to this there was an information called category which [...]
Filed under: Uncategorized | Leave a Comment »
Posted on October 16, 2008 by awmanoj
Desktop Twitter is an Adobe AIR desktop application written in Flex (Actionscript) which I wrote up few days back. It is an attempt to bring the twitter experience out of the browser. Current version of the application that am giving out so it contains minimal features. A screenshot is shown at left. Twitter Rest APIs [...]
Filed under: Uncategorized | Leave a Comment »
Posted on January 31, 2008 by awmanoj
In my free prototyping time I decided writing a simple uploader in AIR (what else?). I could create a working application in minutes using FileReference class and its method browse() (for opening a File Selection Dialog) and upload() method to upload the file.
But something looked odd. I wished to show the user the filepath he [...]
Filed under: Uncategorized | Tagged: AIR, File, FileReference, Flex, Upload | Leave a Comment »
Posted on January 6, 2008 by awmanoj
Wish you a very happy new year!
This is an attempt to discuss a problem I’ve come across. Some common things that I would like to suggest people going for computer science interviews are -
listen to the question with full concentration on every word; avoid wandering for the similar questions that your friend discussed this morning
do [...]
Filed under: Uncategorized | 4 Comments »
Posted on February 26, 2007 by awmanoj
What does following code mean ?
scanf(“%[^a]“,dummy);
It means that continue accepting a string before you encounter the character ‘a’. This can be used to input a string containing white space characters by putting ‘\n’ as the character where to stop.
Filed under: Uncategorized | Leave a Comment »
Posted on January 16, 2007 by awmanoj
A simple question: When do we use ‘>’ or ‘<’ and when do we use ‘|’ (i.e. pipe) for redirection of I/O ?
A simpler answer:
When we have to redirect to/from a file then ‘>’ or ‘<’ is used and when we have to redirect to/from a program then ‘|’ is used.
Filed under: Uncategorized | Leave a Comment »
Posted on December 27, 2006 by awmanoj
There are numbers from 1 to N in an array. out of these, one of the number gets duplicated and one is missing. The task is to write a program to find out the duplicate number. Conditions: you have to do it in O(n) time without using any auxilary space (array, bitsets, maps etc..)
I tried [...]
Filed under: Uncategorized | Leave a Comment »
Posted on October 25, 2006 by awmanoj
Yes, long time. But I have excuses with me. I was ill and after the recovery, had loads of work. really. Now when I am eased from my work, I can blog !!
Just to tell you something about what all happened in this *long* time :-
I suffered from minor ‘dengue’. Dengue is a viral fever [...]
Filed under: Uncategorized | Leave a Comment »
Posted on July 10, 2006 by awmanoj
Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!
Filed under: Uncategorized | 1 Comment »