jakaildesignspegh

Knowledge is related

World is a big place. Well, it used to be.

It still is, but since the advent of information technology and tools to get information from anywhere in the world to anywhere in the world; World does seems to be a relatively small place.

I was working on some code – PHP arrays to be specific – and I had an array with 3 keys sorted in ascending order – 4,8 and 9. Since I needed the first array’s key (i.e. 4) and there is no default method to return the first array element, I quickly google to get a solution – array_values($arr)[0] – from this particular page – http://stackoverflow.com/questions/1921421/get-the-first-element-of-an-array.
That being said, I happened to see a comment wherein someone mentioned that being from a .Net background, he/she was surprised to see so much up-votes for the question, and the fairly simple solution as well.

Out of curiosity, I googled for the same query but with the “.Net” appended to my query, which landed me to this stack-overflow page – http://stackoverflow.com/questions/19347933/visual-basic-first-element-of-array.

And that led me to another interesting page entitled “Why numbering should start at zero” – http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html
This one was an entry by E.J. Dijkstra – renowned computer scientist, famous for the Dijkstra’s Algrithm (https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm).

While on the page, I noticed a quote:
“In corporate religions as in others, the heretic must be cast out not because of the probability that he is wrong but because of the possibility that he is right.”
– By Antony Jay, whose Wikipedia page (https://en.wikipedia.org/wiki/Antony_Jay) mentioned that he was one of the writer of the popular British comedy “Yes Minister”, which in turn took me to my teenage years when I used to see this series(yes, it was broadcast in India) on DD-2 (as it was called, short for Delhi Doordarshan channel 2).

 

From working on PHP’s array, I landed to the “Yes Minister”‘s Wiki page, learning more about Dijkstra’s algorithm on the way, I concluded – Knowledge is connected.

coding

Model based DB understanding

There is a need of paradigm shit in terms of database modelling.

The shift needs to happen at the relationship level – instead of using tables, the relationships should connect at the Model level.

This is a major shift, and requires a different mind-set altogether.

Models should be considered while designing the application (architecture).
Tables should(would) come into picture only after the conceptual Model have been created and the relationships have been clearly identified and specification for that has been set (and rightly so).

More on this later.

coding, jakaildesignspegh

Tapping the core coder within me | NOW

It’s been a long time since I have written a code of the level that I was kinda proud of.

I think I need to tab in to my oracle grid, and access the projects Pegasus, Exodus and Goliath, and bring in the core coder again (#IronMan reference).

My typing speed has slowed down ever since I have stopped coding, my creativity has started to die and my estimation skills are improving (that is a sad thing to happen if I want to continue to call myself a coder – usually my estimations fall back by approx 5-10 times).

I am trying to access a lot of my brain’s part to work, and I am hopeful to get this done since I have started to get on to a artificial add-on : mod(alert)

Coding on RedBull right now.