Monthly Archives: October 2012

Reading Mode, Pushed ON

Thanks to my reading affinity, I’ve learnt programming from a lot of resources, mostly books.
Most of those books were limiting themselves to specific languages and most of the ‘generic programming says’ curled within the foreword or the first two chapters, sometimes.
I need to fix that up.
I’m choosing to read stuff (a lot of that) that would tell me more on what programming and programs are all about.
I’ve choosen a couple of writes to do that.

So, Ignorant of how much this’s really gonna go.
Maybe I should keep a complete sector of records on how many pages I’ve turned. ReadLog.
Or I could I write an App or a Plugin to do that for me.
For now, Diving in.

Late Night Scribbling #47

I’ve been brooding on whatabouts for my Final Year Project, over a few days.
Say, I want it to be the Next Big Thing. Say, I’m a computer scientist wearing big black spectacles.

Talking about my project it needs to be Big. Something that will change things for ever, for better.
I could invent an application. Digging in, re-invent the way applications are written. Still digging, In the farthest depth, Change the thing that processes things like that. So, there is it. The Processors.
Let me take a closer look.

Every program written( probably the only thing I can do about Computers), gets broken down to Instructions.
Instructions that subsets the Instruction set of the Processor specific to me.
So there are two things that a Scientist can do. Invent processors with an ever rich Instruction Set with an enormous Clock Speed. That would mean, go back to the days of turing and re-invent the way 1’s and 0’s are processed.
Such as a Never Never Processor that would read, execute, store a loop of instructions in a single cycle. No that will never be possible.
Someone said the processor performance depends on
Number of Instruction Executions x Steps for Execution / Clock Speed

So, to change things in a better way three things can be done.
1) Increase the Clock rate, that the No of Instructions and Steps become trivial
2) Decrease No of Instructions for an Operation
3) Decrease the steps needed to execute the Instruction

There’s nothing I can do about the first most, for neither I own Intel, nor do I know anythng more about it.
The Third again, seems to be too ‘hardwaric’, and limits my interference. Though Caches and buffers do the work of optimizing the ‘Steps’ part, It could be made still better by changing the way 010101’s are stored and retrieved.
The Second seems a bit appealing to me.
Decrease the No of Instructions. Basically, its Compilers which look into matters as such. That implies, I should develop a compiler with a tag- “Works best with Processor XXX1234”
Schedule a meet over Intel or AMD’s CEO, sign a paper for getting their future secrets of their next generation processors plans and their architectural innovations and write a Compiler exclusively for them such as to utilize its every feature and every extra register.
This compiler would take a 10 line long source program and emit three or four instruction long machine code.
That’s more like it.

Coming to reality, neither am I a Computer Scientist nor do I know the alpahabets of Compilers at this time.
I’m not even close to anything like a complete programmer.

So What! Nothing wrong in writing down dreams, before Sleeping :-)

Happenings Sep – Oct ’12

Got down deep into Celestia 12.0
It went fairly well, with lots of minor bugs.
Hosted a Technical Quizing Event, proved to be the most terrible way of Quizing.
Turned back to my Machine and saw it handicapped with no Intenet Connection.
Sick days of pure idleness, turned myself to Books.
A lot of pages from Norvig’s AI-A Modern Approach, things I learnt:

  1. Aristotle was no ordinary man.
  2. Alan Turing must be the most important man on earth, till date.
  3. Moved myself a bit away from embracing Atheism. Thanks, “If Decision Making by humans is controlled exclusively by physical laws then the fate of Humans is no more obvious than a free stone falling under gravity”
  4. That means, the intellect of men is not something of physics, a more complex third element of mystery. Soul.
  5. A lot more, and importantly I should be a follower of Peter Norvig.

A Book on Compiler Design, and learn’t an awful lot of the insides of my Machine.
A Tanenbaum’s Book on OS Design, and no book on any kind of Operating Systems can be as practical as his.
Turned through a few pages from both books. Well, I have to admit I couldn’t completely get the author’s aura.
Then, Hands turned red with a month of no code and connection, Spent a few bucks, Powered my “Amost Dead” Dell Mobile with Aircel 3G, switched on my Machine, and its Linux Installation smoked to death. The File System got corrupted owing to an unstable power supply to Disk. A GRUB RESCUE> wouldn’t help either.

Now here I am, with a brand new installation of Windows 7 and clearly no idea as to why a USB Ubuntu Live wouldn’t install Ubuntu on the machine. Keeps Terminating n times and then keeps going on for n+1 again.