My Notes

August 29, 2009

Deleting All Installed Apps for IPhone Simulator In a Sec!

Filed under: Iphone — aboylearning @ 7:23 pm
Tags: ,

Today i was having problem, how i can delete all the installed apps from my Iphone Simualtor, they were just piling up because i was doing lot of testing and running code of others while learning from others code, running codes in books/tutorials/blogs etc.

So here is solution i got.

1. Open IPhone Simulator

2. IPhone Simulator – > Reset Content and Settings…

Picture 1

3. Reset

Picture 2

And you are done! All the installed apps in the simulator will be uninstalled in a sec, yahoo.

First Lesson in OpenGl learning

Filed under: opengl — aboylearning @ 7:00 pm
Tags:

These days i am programming for Iphone as an Independent/Freelance Programmer and since gaming is a very big market in Iphone, so i am trying to learn OpenGl for this purpose. So here are few understandings of mine.

1. What is Computer Screen for Programmer

Programmer should see computer screen as 2 dimensional array of Objects, where each object corresponds to a pixel or maps to a pixel on the screen. So whats in that Object? Well you can store different information in that Object depending upon what kind of VGA you are using, sometime Object has a variable which has 8 bits/1 byte or just 1 bit etc etc which you can manipulate. So programmer just write that memory and remaining stuff is done by some other forces (loz), to make that array print on the screen, and one thing which it will be doing is that, it will be reading your memory 60 times in a sec in-order to refresh the screen. When this thing become clear to me, i remember the days when i was learning Assembly language in University and we were writing in a specific area of memory to print things on screen, so it was quite refereshing for me and i was able to relate my knowldge of Assembly Language here.

Note: This 2 dimensional Array is called Frame-Buffer or simply Buffer in Computer Graphics or in OpenGl reference.

2. OpenGl is Made of 3 Libraries

So there are 3 parts of OpenGl

1. GL (Graphics Library)

2. GLU (Graphics Library Utilities)

3. GLUT (Graphics Library Utilities ToolKit)

So whats in these 3 libraries?

1. GL (Graphics Library)

Gl Provide you primitive objects for drawing e.g; Point, Line, Polygon, Triangle, Sphere, Cubes, Quadric Surfaces, plus many other things which i will update when i will get understanding of them.

2. GLU (Graphics Library Utilities)

…………………

June 15, 2009

PageUP, PageDown buttons in Apple Macbook KeyBoard

Filed under: mac os x — aboylearning @ 9:31 am
Tags:

When you bought the macbook, you will be wondering there is No PageUP, PageDown buttons in the keyboard of your macbook. But infect there is a hot key for this in mac os x.

Command + up arrow             —> takes your cursor to the head of the screen.

Command + down arrow        –> takes your cursor to the bottom of the screen.

Command + left arrow key     — > takes your cursor to the left corner of the screen.

Command + right arrow key  – > takes your cursor to the right corner of the screen.

June 4, 2009

Extracting Files In Mac OS

Filed under: mac os x — aboylearning @ 5:33 pm
Tags:

Hi all,
This is my second day on macbook and now its the first time i got this problem. How to extract .rar files. After googling a little bit i found BetterZip software quite good. It can extract not only .rar files but also zip, sit, tar, gzip, bzip2, 7-zip, BinHex, MacBinary, cpio, arj, lzh/lha, cab, iso, chm, rpm, deb file extensions.

Not only you can extract files, you can also compress the files. Very good interface with drag and drop support.

April 8, 2009

Hello world!

Filed under: Uncategorized — aboylearning @ 3:57 pm

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

Blog at WordPress.com.