Sunday, September 28, 2014

Bookmarks - 1

Some of my recent searches over the internet are as follows,
  1. Introduction to Graphs: Definitions, Traversal, Depth-First Search - CodeChef Discuss
    A very conceptual topic that every programmer at least skim through once (although just skimming doesn't give you any fruits).
  2. NPTEL PHASE 2 - Courses
    Something that should be taken as a online course by every single data-structures learner.
  3. Computing Factorials of a huge number in C/C++: A tutorial - CodeChef Discuss
    Huge number case study for those who are curious how these BigInt and other number manipulation libraries are build.

Friday, September 26, 2014

Surfing Windows Like Webpages

From last few days, I'm trying to find the square hole for this square peg. Windows compatibility for its own development platforms is disgusting.
It all starts from here,
If you need to do little programming for evaluation purposes you need an express edition. Okay I see you got express edition there, it is free for use but please register it. Okay you've registered it too? Good.
If you need to do Windows 8/8.1 metro app development, you probably need higher versions of Visual Studio. Got higher version? Okay you can't do everything anymore on your Windows 8. Switch to Windows 8.1 it is really free, just install all the updates from Windows Updates. Got updates? Sorry for inconvenience but you really need to restart your PC. Back? You got a few more updates. Okaynowtellmewhatnext? It is "you need to install these updates to get your free update of Windows 8.1". Installed? Congratulations, you can download the free upgrade now. Downloading? Nope "unfortunately Windows Store app doesn't work very fine in Windows 8".
And if you even get the upgrade to Windows 8.1 (I don't know how). There are a lot of device issues in it and still filed as undocumented bugs in it.
The measure of last resort is always Windows 7 for me. But idon'tknow why I switch the operating system again, wait I tell why, I need to develop apps because that's what I am, a desperate app developer. (Windows 7 doesn't support Windows Phone development).

Saturday, September 13, 2014

C#: How to Save Image from a Canvas

So recently I've been working on this Windows Phone app so hard that I hardly get time for myself and blog some fishes here. But now I am talking with my blog I'm talking about the same thing I've been doing since 5 days (nights included too).
I was actually trying to save some image from the screen, more of a screenshot but in a programmers way. I was searching for a lot of XAML tags and studying about them like DrawingSurface and every frigging tag that looks like something that can be sixth sensed and categorized into something imagery (save an image I meant). In the meantime I find this life saver Canvas and now its all vanished. All my dark problems inside me pouncing upon each other to hike through my wind pipe out into the fresh air are now gone.
Here is the code.