Sunday & Afternoon

Because Sunday afternoon should be a quiet moment of the day. For you to continue your work on the next day, you deserve a rest.

Advertisements

Homeroom Teacher

Is Homeroom teacher some who is responsible for nurturing the kids in the classroom? I thought so. It is one of many obligation of teacher and yet somehow it falls heavily to this particular kind of teacher.

I still remember how he introduced himself at our first session. He told us his name, his origin, his degree, and his address, which was in unknown area to me at that moment. He had some sense of humor and some of them were not simple that they required you to think about it before saw yourself either laughing or wondering how they could be even funny.

His subject was Mathematics, a subject which was easy for a few folks and hard for some other ones. Somehow he made it easy for everyone. He had eyes that saw every one of us and he knew each of our weaknesses. Sort of. He could even understand a mess the students were about to make about  the subject and gave a proper way out. Well, this could be an overstatement but I thought of him that way.

He liked to make a competition during his session which sometimes rewarded us an earlier time to go home. He also scolded us if there was something unnecessary happened. I still remember one of my classmate was behaving inappropriate and now showing any kind of regret or remorse. He just quipped her. It was so sharp that she couldn’t present her argument. The same thing also happened to one of basketball team.

He had keen eyes which made us wonder if we could do any mischief without him knowing but even if we did, he usually didn’t step in until we crossed certain borders. That way we learned that we need to think deeply before we act, a behavior useful for our future.

It was March 22nd 2017 when he was relieved from his duty as a teacher. I would love to attend his farewell event but I was too late. I doubt anyone from my class would attend such thing. They have had a different life to live already. Guess I have to greet him personally later, when the time comes.

The Days

This piece really brings me back.

The Scent

During a moment in the afternoon, your presence appeared once again. In our solemn private meeting, you stood before me. Our eyes met and our mind responded to each other. Your voice whispered to these ears, singing a memento mori of our long lost comrades.

Once more you asked our resolution after our time together. Before us stood tombstones signed by those before us. The song haunts me everyday. It makes me realize that every breath I take, I owe it to those who sacrificed everything for us.

Behind us now are children of our future. They are playing happily together under gentle watch of their fathers. Their laughter is what makes us stay strong facing our collective yet different problems. Their future is what we are trying to prepare even with our lives. This, however, I believe you understand more than I do.

These eyes are turning red and later blind, only replaced by the other sharpened senses. These hands are becoming even sturdier and stronger. I miss the scent of fresh flower in the garden which we watered together with those little creatures as much as I miss our gathering. Time has decided for us different roles and we embrace them. As I close the book about our tale, as I count the remaining of our family, I pray that one day we may be together again, watching those kids grow up as we grow old.

The tombstones have been prepared. We only wait for our turn.

Always yours,

Redirection

Currently, I’m thinking about replacing this.context.router.push('/some/path') with some other lines. The idea is this. Before the page is loaded, it checks if current user is already logged in or not. If it is then please proceed to render the page normally and if not then please go to homepage.

The command for redirecting is either this.context.router.push or this.context.router.transitionTo. This depends on library version. Unfortunately, I found yesterday that push couldn’t be used anymore and neither could transition be. So, what should I do?

Apparently, you could put window.location = '/some/path' inside componentWillMount. But I wonder if that’s a good idea.

Luck

Maybe, it is a moment when he met her. He felt spontaneously interested and yet calm. He understood that he saw her differently than the other female figures around him. At the same time, she saw him with the same eyes. She seemed enjoying his company while having conversation about the future.

Maybe, it is the time when they graduated together. He picked her up at the station for rehearsal and she arrived too late. He put his annoyed face and yet in his heart there was only comfort by seeing her. She told him that she completely forgot about the schedule and apologized to him repeatedly while he pretended not to smile openly.

Maybe, it is the moment when he walked the carpet together with her at his side. The teaching staff asked them if they were a couple and suddenly no one could answer. Time flew too fast and then they had to go home.

Maybe, it is the time when he, at last, told her how he felt but with puzzling language. Not a moment later she replied that she also felt the same way and wondered if the story could go after graduation. He smiled while reading her message and also wondered if she could be the one he had been looking.

Maybe. He didn’t know. She didn’t know. It might be just coincidence that they met each other.

Maybe. It was all just luck.

Version Is Important

That’s true. Different version of libraries can make the whole thing a lot easier. It happened to me and my teammate.

We have been developing a sample application capable of presenting charts using NodeJS and ReactNative. At first, we just went our way and messing around with any libraries we found in the internet. Until one afternoon, my friend found a particular library that seemed promising. It is, though. That afternoon he tried the library and it worked just fine. He told me that we could go that way and finish our charting the next day. So I nodded and packed my bag and went home.

The morning arrived and I installed the libraries he had told me before. The name is react-native-pathjs-charts. After installing via terminal, I realized that the this thing was related to react-native-svg and not a moment later I also installed it. After that, I linked them. The instruction regarding how to set this up is available on the website.

$ npm install react-native-pathjs-charts --save
$ npm install react-native-svg --save
$ react-native link react-native-svg

After that, I got an error which wasn’t there when my friend tried the sample with it. After browsing around, I found that this issue had been found and posted on Github. It said that I needed to change some lines of code in a file because the package name had been changed. So I did. It didn’t work.

After an hour or two reading the website carefully, I realized that we might have different version of libraries. So I asked my friend which version he had used the day before. he didn’t know so he went back online and searched for possible version. After he gave me the numbers, I removed the existing libraries and re-installed them using their corresponding version.

$ npm remove react-native-pathjs-charts
$ npm remove react-native-svg

He said the version for svg was 5.1.3 and chart was 0.0.26. So I proceeded with the numbers.

$ npm install react-native-pathjs-charts@0.0.26 --save
$ npm install react-native-svg@5.1.3 --save
$ react-native link react-native-svg

I also cleared the cache, just in case. After that, I put back the sample charting code and run the project again.

$ react-native run-android

And it worked since I got the same result as my friend did the day before. After that we continued our work a bit more happier. Only a bit.