Wednesday, December 24, 2014

Day 15: What a workout!

Today started off very pleasantly for me. I opened my program after a long time and was faced with Greek and Latin as the old saying goes.

I had lunch at 11 30 itself which seems to be a nice idea. I coded solidly till around seven thirty. Idiotic mistakes I made

1. Precedence of logical operators
2. The fact that strings are immutable - copy.replace does nothing to copy unless I put copy = copy.replace

Anyway, I managed to capture events from my word problem and solve it. It's going good.

Tuesday, December 23, 2014

Day 14: Talk after talk after talk

Somewhere in an academic mentality, the urge to absorb information and the fact that you may miss out something urges me to attend a talk every time I am in lab. And no matter how amazing it was, I will always feel, oh my God it's evening and I haven't done anything :P

Apart from that, yesterday somebody asked me a few doubts and I had this sinking feeling - why do you ask me when I myself am so self-doubting. But as the conversation progressed, I felt more and more confident. Then, he asked me about MIT's Smart system and I felt like, oh I don't know what it is and googled it.

Only to find that I have already visited the page and I realized I had read it so fast and it had completely evaporated from my system. This is coming from a person who remembers what was the colour of her chair in kindergarten :P

Which reminded me to get back to blogging, I'm getting old for God's Sake!


Sunday, December 7, 2014

Day 13: How to stop a thread in Java

This is my ultimate guide to killing a thread.

a) Interrupt it
b) In its definition, catch the InterruptedException and interrupt it again :P

Demos are highly confusing.