Hello and welcome to lostp's homepage. Here you shall find random
comments from me, my thoughts on FSF, Macintosh OSX and Windows and
some of my home grown utilities.
0x05) PyDON - Python Dictionary Object Notation
Hello folks, its 7th December 2010. 02:13 AM. Happy wedding
anniversary mom and dad. The following document contains a brief discussion
about PyDON, the new Information eXchange(IX) format. Comments/Suggestions and
constructive criticisms accepted at
yaj00@yahoo.com.
I have been working in writing a Cocoa based app for finding the
complexity of any algorithm using sampling and curve fitting techniques and
source code will be available by March 2011.
Programming on Mac is such a wonderful experience. After struggling with
Windows, its a fresh view on programming. I think anyone considering to take up
programming should take a look at videos I will be posting. I am sure you will
change your mind on programming for a PC.
0x03) Mac OS X Programming Book
Hello folks, I have decided to write a short "open" book on MAC
OS X Programming which I enjoy. You can contact me on yaj00_dix@yahoo.com
. All help will be much appreciated and will hopefully be available online by
Mid July 2011 in Adobe's PDF format. Some videos will be available online by Mid
August 2011 in Quicktime's .MOV format.
Here is the outline I have planned:
- Basic Introduction to Objective-C
- Videos on downloading and configuring XCode
- Basics of Cocoa Terminal applications.
- Cocoa GUI Programming using XCode
- Application Programming the Apple Way
- Network based programming
- Document programming using NSDocument
- Subclassing NSView to create custom views
- Basic Quartz Graphics and Core Animation for the extra sex appeal
- Debugging using GDB and Performance analysis using Shark and Instruments
- Primer on writing your own CUSTOM Instruments and DTrace scripts
- Videos on using XCode Interface Builder and Instruments
- PyOBJC if I get to learn that.
0x2)
Enable Virtualization on Sony Vaio - CR35G:R2101Q0 Bios
1) Get FreeDOS from here
2) Get UNetBootin from http://unetbootin.sourceforge.net/
3) Get Symcmos.exe from ftp://ftp.mathematik.uni-marburg.de/pub/mirror/supermicro/utility/symcmos.exe
4) Use UNetBootin to set up your USB Pendrive with FreeDOS
5) Copy symcmos.exe to the pendrive
6) Set your computer to boot up from 'external drives'(press F2 when
Vaio logo is displayed during startup)
7) Boot into FreeDOS and type > symcmos -v2 -lDefault.txt
8) Reboot into Windows, open Default.txt from the pendrive in Notepad
9) Edit 0x5BB register from [0000] to [0001] and save it
10) Reboot your computer into FreeDOS
11) type symcmos -v2 -uDefault.txt and hit enter
12) remove the pendrive and reboot into Windows
13) Your computer now has Virtualization enabled on both the cores.
14) Run any 64bit Operating system on VMWare :-), no more nagging "Your
computer has Virtualization Technology Disabled" dialogboxes ;-).
15) Enjoy and maintain peace.
Do remember to do the above procedure EXACTLY
as mentioned. I have bricked my Vaio once by NOT following these steps
in this order. So careful and good luck.
In case your Vaio has a different model number/bios :
Check out this EXCELLENT article by gnu_labis on linuxformat.gr . He has been of almost 100% help on getting the correct register for my model.
You can follow his article for any model and any bios. The magic is to find mov ecx, 0x3a.
In case your Vaio is bricked
by the above mentioned process:
I suggest you to take your laptop apart
CAREFULLY. Locate the CMOS battery and disconnect it. Wait for 5
minutes and reconnect the battery. Reassemble your laptop and reboot.
0x1)
Install toolchain for operating system development
The following perl script is an automated installer for various tools
used in development of an operating system. Which means, YES, you can
create your own operating system with these tools. It also uses
the NInstall
tool given below. Future versions will use wget incase
apt-getisn't available.
A veteran Windows user's easy entry into the Unix
world starts with Ubuntu. I have been using Windows ever since I
started working on computers and my entry into Unix world started first
with Slackware. But Ubuntu struck me with ease of use, much like
Windows.
On Slackware, I used shell to do almost everything. On Ubuntu I found a
little utility called 'apt-get'. Everytime I had to type:
~$ sudo
apt-get install
<xyz>
to install anything onto Ubuntu. After a while I got bored so I decided
to write a Perl script. The Perl script is : ~$cat ninstall