Last night we were coding, coding and just coding. Slept at 4:30am and repeatedly done the same for next day. After everything was totally fine, the game was running, we deployed on emulator, physical device, tested everything. Nothing was alarming that's why I uploaded the game in Windows Phone store. After the game got published and appeared in app store. I published the link everywhere in social media without first downloading in my phone and checking it first. Here is what I got. A bug. This made me swear I'll never publish an app without setting permissions from app manifest. Huh. Sick mother of debugging it was.
Thursday, March 5, 2015
Friday, February 27, 2015
Stop Chasing the Wrong Things
This world is full of negativity, around you, beside you, inside you and even you're your own source of negativity.
"When you stop chasing the wrong things, you give the right things a chance to catch you."Don't chase, stop running around the goals. Make one, and start doing something for it. Sketch a line inside your mind. Think binary. There is nothing pseudo-positive or something non-negative. Everything is either negative or positive and you got to stay away from what you categorize as negative. Although you'll feel so much attraction between these two poles. You got to chose one. You got to be choosing the positive one.
Thursday, February 26, 2015
You are the Product of Your Own Imagination
You're the best thing ever happened to "you". You are the person who can actually do something for yourself. People create so many social connections, be dependent, and rely on others that their whole life circulates around caring for others, thinking for others, making others happy and taking full responsibility of what happens to others. Others are not you. They aren't going to grieve for you when you don’t exist. They aren't going to care for you when you are down.
This is a reality you need to understand.
You are the person who can make a difference in your life. You are the only one you should use the world “awesome” for. You are your own version of superhero.
The real moment of ascertaining your courage and shouting in front of your crowd is, when you're knocked down. When you've nothing, you have every path to select. People going towards some path have difficulty in switching between paths and fear of losing both destinies. You're lucky, you've multiple ways to go. You can try again. You've nothing to fear about losing your destiny yet. Make a right selection, listen you your inner voice and shut the voices that whisper to you about your paleness. Feel yourself alone in the crowd. Make yourself isolated from the society that acts caring about you.
This is a reality you need to understand.
You are the person who can make a difference in your life. You are the only one you should use the world “awesome” for. You are your own version of superhero.
The real moment of ascertaining your courage and shouting in front of your crowd is, when you're knocked down. When you've nothing, you have every path to select. People going towards some path have difficulty in switching between paths and fear of losing both destinies. You're lucky, you've multiple ways to go. You can try again. You've nothing to fear about losing your destiny yet. Make a right selection, listen you your inner voice and shut the voices that whisper to you about your paleness. Feel yourself alone in the crowd. Make yourself isolated from the society that acts caring about you.
Imagine yourself. Dream about your goals. Daydream. Draw a roadmap. Draw brightest colors on your mind-canvas. Permanent ones. Never remove it.
"You are the product of your own imagination."
You can do it, you don't need help. It is your move now.
Wednesday, January 7, 2015
Theory - 1
What if the things you experience sometimes and think they already happened before, but actually, are never happened, are actually happened in some kind of other world of some other parallel universe out there? What if you are a part of some kind of parallel execution and you are not just you, there are many other clones doing same? There are so many galaxies and what was the point to make it practically impossible to reach from one galaxy to another galaxy. Why there isn't another earth just a moon away from our earth?
Sunday, January 4, 2015
How to Create DoubleAnimation in Windows Apps?
I was searching for a good source to read double animation in windows apps but didn't find anything easily understandable, I mean there was a lot of code overdosing the idea of "animation". What I came up with as a solution was, the lecture from a series created by +Bob Tabor.
What DoubleAnimation is?
A simple animation that animates target storyboard property in double data type. For example, take Opacity; it ranges from 0.0 (invisible) to 1.0 (visible).
Example:
Now to actually run this animation we just need to user Where MyStoryBoard_FadeOut is the x:Name property of that storyboard you wan't to animate.
What it actually does is fading out the opacity of target button `Button1` in 2 seconds.
What DoubleAnimation is?
A simple animation that animates target storyboard property in double data type. For example, take Opacity; it ranges from 0.0 (invisible) to 1.0 (visible).
Example:
Now to actually run this animation we just need to user Where MyStoryBoard_FadeOut is the x:Name property of that storyboard you wan't to animate.
What it actually does is fading out the opacity of target button `Button1` in 2 seconds.
Friday, October 17, 2014
Removing Messy Boot-load Entries in Windows 7
Sometimes when you install multiple copies of operating systems and then uninstall, you might face the problem that the bootloader entry doesn't get removed automatically. It starts getting weird when you have number of same operating system bootload entries. I had myself installed Ubuntu 12.04 inside Windows 7 and then, for some reason, had to switch to version 14.04.1. What I got was two Ubuntu's appearing at my boot screen.
The solution to this problem (in Windows 7) is:
1. Open cmd in Windows 7 as administrator
2. Write this command
3. Your area of interest in this output will be this line
4. Read carefully what entry you want to delete from here and copy the identifier of that entry into your clipboard. I couldn't do it from console also I don't run such long strings to avoid typing mistakes plus it requires you to look hard. What I did was
which is nothing but redirecting output to some file.
Now you can easily copy into clipboard by opening that file in notepad.
5. Paste this into command as follows
and then press "return" key.
Be careful manipulating with bsdedit as you're working as an administrator.
Good luck.
The solution to this problem (in Windows 7) is:
1. Open cmd in Windows 7 as administrator
2. Write this command
3. Your area of interest in this output will be this line
4. Read carefully what entry you want to delete from here and copy the identifier of that entry into your clipboard. I couldn't do it from console also I don't run such long strings to avoid typing mistakes plus it requires you to look hard. What I did was
which is nothing but redirecting output to some file.
Now you can easily copy into clipboard by opening that file in notepad.
5. Paste this
and then press "return" key.
Be careful manipulating with bsdedit as you're working as an administrator.
Good luck.
Wednesday, October 8, 2014
How to Check if the Number is Some Power of 2?
To check if
some number is a power of two there many methods available but there is an efficient one to do this.
First of all assure that the number is not (because zero is not some power of two).
Then assure if the (number - 1) and number's logical and is zero.
Let's take a look what is happening behind this logical and operator.
You may run it for any power of two.
Subscribe to:
Posts
(
Atom
)