Saturday, July 15, 2017

Return of Game of Thrones 7

So finally tomorrow is the return of Game of Thrones 7. Ever since Red Wedding, what I seek is the total justice and vengeance for the murder of Catelyn Stark.


She was not a perfect woman but she fought till last, the only thing that ever matters to me, for her loved ones with a woman's motherly courage and strength. A woman with nerves of steel and a loyal heart, I admired her so much, truly and absolutely. She lost everything and yet she kept going. And the list of vengeance includes Baelish, too, a person who loved her for his entire life. I had an admiration for the love he had for Lady Stark but the way he let, the daughter of the woman he loved so immensely, suffer and humiliated repels me to the core. The only justice, that deems just must be served by the other daughter of Lady Stark, cold and raw. He could have saved her but he let all those happen to Sansa. I want him to suffer first, feel each and every bit for what he did and didn't, for what happened to Sansa, for not avenging Lady Stark. I am so bloody mad at him.


Saturday, July 8, 2017

A thesis on Cows

I lived my entire childhood with my four siblings and four cows along with the mother cow (mother & father's cow).  My calf (mother cow's granddaughter), when she was born, she had that deep black heavenly eyes, I named her Kajri. I finally had my own mate.

Tragically we lost her at a very young age despite the best efforts of our veterinary doctor. She was around 8 months old. Grief turned out to be a place none of us knew until we reached there. I still remember her last rituals like yesterday. We saw her slowly leaving us, Mother was inconsolable, we were devastated, the last month was completely disastrous, and that was the start of the end of our life with cows. The tragedy of such grief is that the loss of a loved one is irreversible. It is total and final. Over the next few years, Mother kept looking for fitting families and handed over our cows one-by-one.

Living with animals open your eyes to a lot of things that might be unattainable otherwise. Our cows, they had souls, they had their own favorites, just like your pets, they love as we do. In the beginning, you might not understand them but eventually, you get past your fear and you realize how much personality they have and how individual they are, you finally overcome the barrier of human language and speak in the language of love, just as they do. Being an animal doesn't mean they are less than a person, they are just different, but not less. I feel I had a very pleasant childhood - being youngest, caring siblings, loving parents, a gorgeous woman (mother's friend) who had promised to marry and continue the flow of sweets and biscuits (totally despised her husband at that time), when I would be grown up, and not to mention our wonderful cows. What invoked those stuffs is this master thesis that a friend just sent.  Well, right now, it seems too far in distant future, but one day I hope, I and my daughters and sons, we will have a cow and her calf, a dog and a small place to grow plants just like my parents had.

Watch the story of Maybelle.

By the way, this is the thesis.  If it had come earlier, I would have loved to pursue this exciting topic - machine learning and cows.

Thesis Abstract:

Dairy farming as one part of agriculture has thousands of year’s history. The increasing demands of dairy products and the rapid development of technology bring dairy farming tremendous changes. Started by original hand milking, dairy farming goes through vacuum bucket milking, pipeline milking, and now parlors milking. The automatic and technical milking system provides a farmer with high-efficiency milking, effective herd management and above all booming income.

DeLaval AMR™ is the world's leading automatic milking rotary system. It presents an ultimate combination of technology and machinery which brings dairy farming with significant benefits. AMR™ technical milking capacity is 90 cows per hour. However, constrained by farm management, cow's condition and system configuration, the actual capacity is lower than technical value. In this thesis, an optimization system is designed to analyze and improve AMR™ performance. The research is focusing on cow's behavior and AMR™ robot timeout. Through applying knowledge discovery from the database (KDD), machine learning for bad cow prediction and modeling methods for system simulation, the optimizing solutions are proposed and validated.

Saturday, May 27, 2017

Last StuStaCulum

Every chapter in life has to come to an end sometime. For many of us, this year's StuStaCulum marks the start of a new beginning, coming soon. In next few months, we all will be scattered far and wide like dust. It's a pleasant feeling undoubtedly though little heartbreaking too.


On a light note, recalling a memorable trend here, if you ask someone about something particular out in wild(Munich) and if we do not know the details, then you would be greeted with "Well, We live in StuSta, don't we?", obviously in a light vein. Munich is undoubtedly beautiful, a lot of memories we made with this city, but our place is like a warm nest - a living village with its own soul that Munich generously offered us.


Well all said, it's time to make our last StuStaCulum memorable. This is just morning, I know how sublime it would be by the end of this night. So, Let's gear up for our last Culum night- Prost!

Wednesday, November 23, 2016

House Of The Rising Sun

The origin of this song goes back as far as the 18th century like many folk songs. There is no one author, obviously, folk songs remember!

This song speaks of a girl's experience captured into a life of ruin or may be of a boy's disappointment in his father or maybe it tells a tale of a guy, regretting over his choices, pulled in the vicious ruin of whores and alcohol. Or perhaps figuratively it could be about just hitting rock bottom and realizing that he/she has fckued up royally, altogether - acknowledging this as one of the most defining moment, knowing from now onwards the only thing that could be done is to put his pieces back together, the way he wants them to be. The listener could read in their own interpretation between the lyrics. That is one of the things that makes this song great. Clutch a drink, don't just grasp, and listen. As usual, no comments allowed - It's my own lookback place!!


Friday, November 11, 2016

Feels Like Christmas

Yop, know better-moderated versions of this song, but nah , its imperfection feels like getting warm by woodfire in this bloody winter. Try this with handful of spirits and spiritful wasted souls. Now don't let me detain you, go roiste the early Christmases. Thou shalt fokest uf, I mean Good day, Sir - enjoy!


Thursday, October 27, 2016

(#1) One Day - To Black Madonna

Sumela Monastery - The monastery of the Black Madonna, a greek orthodox monastery built precariously on a sheer rock wall in Altindere National Park, in the province of Trabzon (on the north-east coast) in Turkey founded in AD 386.

# Map of Tomorrow before it ends #
[ Visited: In a little while.. ]

Monday, September 5, 2016

(#1) Programming tips learned by years of coding - Reducing nested "if's"

- Try to reduce NESTED IF's

- Below(Approach 1) is "ArrowHead Anti-Pattern" and Approach 2 and Approach 3 are ways to avoid this antipattern.

- Don't nest if's if you need to check for multiple conditions. The problem with the nested "if" is that there could be a matching "else" further down the page. Doing the early exits means you don't have to keep track of that option, making the code easier to understand.

--------------------------------------------------------------------------------------------------
Approach 1: Original code

if(a > 0) {
                     //one or two lines simple code

                      if( b > 10 ) {
                                                //one or two lines simple code

                                                 if(c > 0) {
                                                                    //complex code
                                                 }
                      }
 }

Drawback: complex code, See the arrowhead above ?
---------------------------------------------------------------------------------------------------------
Approach 2: Early return

if (a < 1 ) {
                    return
 }
//one or two lines simple code

if (b < 11 ) {
                     return
 }
//one or two lines simple code

if (c < 1 ) {
                    return
 }

//complex code 

 Drawback: Better but multiple returns! Compiler optimisation might get affected. Compiler mostly prefers single entry - single exit to optimise the source code.

---------------------------------------------------------------------------------------------------------

Approach 3: Steve Barnes below has an even better solution that takes care of the early returns.

bool OK = FALSE;
bool OK = FALSE;
OK = (a > 0); // Comment why
//one or two lines simple code

OK &= (b > 10); // Comment why
//one or two lines simple code

OK &= (c > 0); // Comment why
if OK { // Good to go
                 //complex code

return; // just one simple return

---------------------------------------------------------------------------------------------------------
The Steve Barners approach (approach 3) should only be used when there are other codes between "nested if" statements. But again coding is like painting, there could not be hard and fast rules for everything. Just go with your instinct But, Just be careful!

For clarity: If there are no other code between "ifs" simply do it this way.
If ( (a > 0) && ( b > 10 ) && (c > 0) ) {
            //complex code
 }
Reference: Jacques du Rand, Quora