ideas | discover | explore

Sunday, August 12, 2012

Support the development of totkloud.com

Support the development of totkloud.com: Good day!
I've already built an initial site but unfortunately after a month of going live the hosting provider got hacked and now I can no longer communicate with them so

Sunday, August 5, 2012

Support the development of totkloud.com

Support the development of totkloud.com: Good day!
I've already built an initial site but unfortunately after a month of going live the hosting provider got hacked and now I can no longer communicate with them so

Saturday, July 14, 2012

Visual Studio 11 Developer Preview-SearchEverywhere.mp4

Learn how search enabled in various locations in Visual Studio 11 Developer Preview helps improve productivity.
Enjoy!

Microsoft 101: Visual Studio (abridged)

Spanning the history of Microsoft, this documentary covers the origins and evolution of Microsoft's developer tools and its seminal software development product, Visual Studio.
Enjoy!

Jerry Nixon @work: Premier Episode of Microsoft DevRadio on MSDN: Bui...

Jerry Nixon @work: Premier Episode of Microsoft DevRadio on MSDN: Bui...: Nisha and I kicked off the maiden episode of Microsoft DevRadio on MSDN. It you are like me (meaning you love to hear me talk) then this is ...

Windows Phone - Week 4 Development Showcase

Windows Phone development in 30 Days!
Enjoy!

Monday, July 9, 2012

Wednesday, July 4, 2012

The BoxingBots Infomercial Funny!

Please be warned, this stuff is very funny!

Edge Show 27: Windows Server 2012 Release Candidate hits the streets

Edge Show #27: Windows Server 2012 Release Candidate hits the streets

ThisWeekInChannel9: Microsoft Surface, Windows Phone 8, Azure, Imagine Cup and Pi!

This Week On Channel 9

Ping Show #145: Surface, Windows Phone 8, SmartGlass SDK, Bing Images

C# 17 - Bubble Sort


Implementing a sort using insertion sort algorithm.

1. Create a new console project.
2. Edit the Program.cs inside static void Main(string[] args) file as shown below.

static void Main(string[] args)
{
     int[] array = { 2, 3, 1, 9, 4, 7, 5, 8, 6, 10, 20, 12, 18, 11, 15, 16 };
          Console.Write("Before sort: ");
          PrintArray(array);
          Console.WriteLine();
          BubbleSort(array);
          Console.Write("After sort: ");
          PrintArray(array);
          Console.ReadLine();
}

private static void BubbleSort(int[] array)
{
     int temp;
     for (int i = array.Length; i >= 0 ; i--)
     {                
          for (int x = 0; x < array.Length - 1; x++)
          {
               if (array[x] > array[x + 1])
               {
                    temp = array[x];
                    array[x] = array[x + 1];
                    array[x + 1] = temp;
                }
           }
       }
}

private static void PrintArray(int[] array)
{
     for (int i = 0; i < array.Length; i++)
     {
          Console.Write(array[i] + " ");
     }

Thursday, June 28, 2012

C# 16 - Insertion Sort

Implementing a sort using insertion sort algorithm.

1. Create a new console project.
2. Edit the Program.cs inside static void Main(string[] args) file as shown below.



static void Main(string[] args)
{           
     int[] array = { 2, 3, 1, 9, 4, 7 };
     Console.Write("Before sort: ");
     PrintArray(array);
     Console.WriteLine();
     InsertionSort(array);
     Console.Write("After sort: ");
     PrintArray(array);
     Console.ReadLine();
}


private static void InsertionSort(int[] array)
{
     /*
       for i = 2:n,
            for (k = i; k > 1 and a[k] < a[k-1]; k--) 
                 swap a[k,k-1]
                 → invariant: a[1..i] is sorted
            end
     */
     for (int i = 0; i < array.Length; i++)
     {
          for (int x = i; x < 0; x--)
          {
               if (array[x] < array[x - 1])
               {
                    int temp = array[x - 1];
                    array[x - 1] = array[x];
                    array[x] = temp;
               }
           }
      }
}


private static void PrintArray(int[] array)
{
       for (int i = 0; i < array.Length; i++)
       {
            Console.Write(array[i] + " ");
       }
}


3. Press F5 to run and see the results.




4. Thank you.

References:
http://en.wikipedia.org/wiki/Insertion_sort
http://www.sorting-algorithms.com/insertion-sort

C# 15 - Selection sort

Implementing a sort using selection sort algorithm.

1. Create a new console project.
2. Edit the Program.cs inside static void Main(string[] args) file as shown below.

static void Main(string[] args)
{
    int[] array = { 3, 2, 1, 4, 8 };
    Console.Write("Before sort: ");
    PrintArray(array);
    Console.WriteLine();
    SelectionSort(array);
    Console.Write("After sort : ");
    PrintArray(array);
    Console.WriteLine();

    Console.ReadLine();

}

private static void SelectionSort(int[] sortArray)
{
    int smallest = 0;
    int smallestIndex = 0;

     /* advance the position through the entire array */
     /*   (could do i < n-1 because single element is also min element) */
     for (int i = 0; i < sortArray.Length; i++)
     {
          smallest = sortArray[i];//the smallest value is at index 0
          smallestIndex = i;//store the index of the smallest value

           //find the index of the smallest value
                for (int x = i + 1; x < sortArray.Length; x++)
                {
                    if (sortArray[x] < sortArray[i])
                        smallestIndex = x;
                }

                //swap/exchange the smallest value found with last index
                sortArray[i] = sortArray[smallestIndex];
                sortArray[smallestIndex] = smallest;
            }
        }


private static void PrintArray(int[] array)
{
     for (int i = 0; i < array.Length; i++)
     {
          Console.Write(array[i] + " ");
     }
}


3. Press F5 to run and see the results.


4. Thank you.

Reference(s):
http://en.wikipedia.org/wiki/Selection_sort
http://www.sorting-algorithms.com/selection-sort

C# 14 - Find the largest value in an array


1. Create a new console project.
2. Edit the Program.cs inside static void Main(string[] args) file as shown below.

static void Main(string[] args)
        {
            int[] array = { 3, 2, 1, 4, 8 };
            PrintArray(array);

            Console.WriteLine("Largest Value: " + GetLargestValue(array));

            Console.ReadLine();
        }

private static int GetLargestValue(int[] array)
        {
            int largest = array[0];

            for (int i = 0; i < array.Length; i++)
            {
                if (array[i] > largest)
                    largest = array[i];
            }

            return largest;
        }

private static void PrintArray(int[] array)
        {
            for (int i = 0; i < array.Length; i++)
            {
                Console.Write(array[i] + " ");
            }
            Console.WriteLine();
        }

3. Press F5 to run and see the results.
4. Thank you.



Using jQuery UI Autocomplete With ASP.NET Web API | TechBrij

Another way to implement autocomplete using jQuery and ASP.NET Web API
Using jQuery UI Autocomplete With ASP.NET Web API | TechBrij

Wednesday, June 27, 2012

C# 13 - Find the smallest value in an array


1. Create a new console project.
2. Edit the Program.cs inside static void Main(string[] args) file as shown below.

static void Main(string[] args)
        {
            int[] array = { 3, 2, 1, 4, 8 };
            PrintArray(array);
            Console.WriteLine("Smallest Value: " + GetSmallestValue(array));

            Console.ReadLine();
        }


private static int GetSmallestValue(int[] array)
        {
            int smallest = array[0];

            for (int i = 0; i < array.Length; i++)
            {
                if (array[i] < smallest)
                    smallest = array[i];
            }

            return smallest;
        }

private static void PrintArray(int[] array)
        {
            for (int i = 0; i < array.Length; i++)
            {
                Console.Write(array[i] + " ");
            }
            Console.WriteLine();
        }



3. Press F5 to run and see the results.

4. Thank you.

Apr 20, 2012 LIDNUG Patrick Dussud Q&A

Get down and deep into the .Net CLR and get to know the Father of CLR Patrick Dussud.
Enjoy!

Thursday, June 14, 2012

LIDNUG The Art of Debugging

Debug your apps like a boss!
Another awesome session with LIDNUG. Enjoy!

Saturday, May 12, 2012

May 10, 2012 LIDNUG Kinect - Phil Wheat

For those who missed another LIDNUG Session then this is your chance.
Watch as Phil Wheat talks about Kinect and what you can do with it. The possibilities are endless(insert evil laugh)!
I didn't know Kinect was this awesome!

Monday, April 30, 2012

interacthink.com Feature Update: Manage profile

We are happy to announce that users can now mange their profile by clicking on the "Profile" link next to the logout link.

Don't forget to register at interacthink.com


--------------------------------------------------------
Personal Ads
Keep track of the stuff your thinking of.
Ads by Me! :-)
--------------------------------------------------------

Friday, April 27, 2012

The PC(Personal Computer) Won't Die Without A Fight

iPad, Amazon Kindle, Android, iOS, Samsung Galaxy Tab, etc. These are all part of the ever growing popularity of tablets. Machines(whatever you may call it) that allows a human being to use their hands in manipulating the stuff that's in it. Wait, you still use your hands?

The world is over hyped with the coming of the tablet and the touchscreen interface. Many think that the tablet is finally the stuff that will kill the PC. I doubt. People enjoy many of the stuff on their tablets without ever knowing how it was made for them to spoil and enjoy.

Tablets are great but they're only as great the stuff that makes them work. Where do you think people would create software that runs on tablets? Of course on PCs! Where else? The internet nowadays is flooded with news that the tablet would replace the PC. Can you make a computer program using a tablet? I don't think so. Even if you can will you be able to do it faster typing in your commands on the screen? You can always use the good old keyboard if you want, that's always faster.

Not unless the keyboard and mouse is replaced for programming and developing software then I don't think the tablet will be useful either. Tablets are great but not for creating that stuff that you enjoy on it. PCs are always there to save the day(or destroy it).

So, will the PC forever stand it's ground? How will it fight back? What do you think?

--------------------------------------------------------
Personal Ads
Keep track of the stuff your thinking of.
Ads by Me! :-)
--------------------------------------------------------

Thursday, April 26, 2012

Interacthink feature update

We've finally rolled out a small update that allows you to turn your thoughts(notes) into tasks.
Were planning out on rolling out more features in the future.

Check it out on www.interacthink.com
Register here

Sunday, April 22, 2012

LIDNUG What's new in Windows Phone

Learn about the new Windows Phone OS. If your trying to learn about Windows Phone development or your hands are itching to get that first Windows Phone then listen to this LIDNUG session as Jeff Prosise talks about the new Windows Phone OS dubbed as "Mango".

LIDNUG What's new in Windows Phone


Enjoy!

Free note taking app.
Turn your thoughts into reality.
th!nk about this
www.interacthink.com

Thursday, April 19, 2012

LIDNUG Scott Guthrie Q&A Session XI

For those who missed the chance to ask Scott a question.

LIDNUG Scott Guthrie Q&A Session XI


The LIDNUG community hosted a talk with Scott Guthrie asking him questions about .Net and it's future. Listen as Scott answers question from LIDNUG members.

Wednesday, April 18, 2012

Turn your notes to tasks

I'm in the process of adding a new feature that allows users to set a thinking into a task. The tasks can then be viewed later. So, if some of your thinkings are some sort things that you want to do then you can easily turn them into tasks.

Go check the web app at interacth!nk

Register now, it's free!

www.interacthink.com

Friday, March 30, 2012

Putting up a website is harder than I thought

I've just launched my experimental website the other day. I named it www.interacthink.com. I've sent emails to all my contacts on yahoo mail, posted updates on facebook and blogged a few here. So far I have 4 sign ups. It's funny to think that after a long time of thinking and developing the site I've finally come to this.

It may have to take some time before things start to pickup so for now I just wait and see. Keep thinking of new features to add and improve.

Wednesday, March 7, 2012

My new site www.interacthink.com

I'm going to launch my new website www.interacthink.com in a few weeks.
It's a logging application for all of your ideas. I'm not really sure what it does but hopefully I'll be able to discover more of what its suppose to do. :)