Friday, February 25, 2011

Programming quotes

  1. If debugging is the process of removing software bugs, then programming must be the process of putting them in. -  Edsger Dijkstra
  2. The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.  – Tom Cargill
  3. “There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.”-  C.A.R. Hoare
  4. Measuring programming progress by lines of code is like measuring aircraft building progress by weight. – Bill Gates
  5. “Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” – Martin Golding
  6. “The trouble with programmers is that you can never tell what a programmer is doing until it’s too late.” – Seymour Cray
  7. Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. – Rick Cook
  8. “Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris.” – Larry Wall
  9. “Sometimes it pays to stay in bed on Monday, rather than spending the rest of the week debugging Monday’s code.” – Christopher Thompson
  10. Walking on water and developing software from a specification are easy if both are frozen. – Edward V Berard

Wednesday, February 23, 2011

Good points for an interview

Here I apply sources which I find quite useful.

I got this from here



Operator new in C++

Thursday, February 17, 2011

CoffeeScript

Fun with a layer on the top of Javascript

http://jashkenas.github.com/coffee-script/#overview

Memory

http://dictionary.sensagent.com/Buddy_memory_allocation/en-en/
http://dictionary.sensagent.com/heap-based+memory+allocation/en-en/
http://www.cs.northwestern.edu/~pdinda/icsclass/doc/dsa.pdf
http://www.flounder.com/inside_storage_allocation.htm
https://users.cs.jmu.edu/bernstdh/web/common/lectures/slides_cpp_dynamic-memory.php
http://rtportal.upv.es/rtmalloc/
http://code.google.com/p/arena-memory-allocation/
http://www.svtechie.com/blogsarticles/articles/21-cc-code-snippets/131-dynamic-memory-allocation-performance
http://en.wikipedia.org/wiki/Buddy_memory_allocation
http://en.wikipedia.org/wiki/Dynamic_memory_allocation

Saturday, February 5, 2011

MBR

http://thestarman.narod.ru/asm/mbr/index.html
http://mirror.href.com/thestarman/asm/mbr/BootToolsRefs.htm

I wanted to write a mbr loader, but for the lack of time looking for better choices.

Boot sequence

For Win 2K/XP etc the boot sequence is:- BIOS - IPL - PBR - ntldr - Windows


Vista boot sequence:- BIOS - IPL - PBR - bootmgr - winload.exe - Windows


Vista dual boot sequence:- BIOS - IPL - PBR - bootmgr - winload.exe - Windows.


XP dual boot sequence:- BIOS - IPL - PBR - bootmgr - ntldr - Windows


Sequence for all old WinNT is the same:- BIOS - IPL - PBR - bootmgr - ntldr - Windows


Vista sequence is the same as always:- BIOS - IPL - PBR - bootmgr - winload - Windows


Boot sequence for a Windows OS when Lilo/Grub is in the MBR


http://www.multibooters.co.uk/multiboot.html

Wednesday, February 2, 2011

10 ways to show you're a programming rockstar

Fair enough to be considered:

Reference

Leverage your existing code you wrote. Programmers who write code and then immediately disregard it are missing out on the most exceptional tip on this list: start building your library of routines and techniques. If you are in a corporate environment, yes, you will have a corporate library to pull from for your projects. If you are an individual programmer, yes, you will have your own collection of routines or libraries that you can use in your "outside" projects. As the object-oriented saying goes, the routines are reusable.

Automate like crazy. If you've been around the programming block for a while, you know that there are always quicker ways to accomplish certain tasks. It's now getting to the point in this industry where if someone asks you for a web site, you can build one relatively quick. Then they start asking for features. It's the features part that makes the difference and slows you down.

Powered by Blogger.