Author: gilang

Lesson learned: Do Not Store rvalue Reference Outlive its Declaration

I am building a custom operator overloading structures in C++, and was really seduced with what rvalue promises: the lifetime of rvalue reference is bound to the expression of its context. Rvalue references can be used to extend the lifetimes of temporary objects (cppreference.com) I was building a combination of operators which accepts a lot of literals and temporary objects including lambda. So for instance: auto res = ObjectA() *...

Tizen Studio on Other Than Ubuntu

It’s pain in the ass. Really. If you can stick to Ubuntu or its derivatives, please do that. I kinda hate how Tizen Studio is developed to only support Ubuntu out-of-the-box. A software should not dictate what Linux distro it should be installed on. Distro is just like a religion for some people, and some people are like me, who doesn’t like Ubuntu and its bloatware. Personally I use OpenSUSE...

Weird std::thread bug on GCC 4.9 on ARM target

I have been dealing with Tizen development since about last year, and since then I have been learning of utilizing C++11 features on my codes. Currently I am developing a some kind of component to help performing message pump in threading, so you can dispatch a function to a queue to be performed in separate thread. It is a simple components actually. You can take a look at GitHub. DispatchQueue...

GPS Library for Windows 10 IoT and Raspberry Pi

I am tinkering with Raspberry Pi 3 (RasPi) and Windows 10 IoT Core. I was thinking how to build an IoT device with GPS functionality in RasPi. Many IoT projects employ GPS module but they use it mostly with Arduino to build quadcopter. Some people tried it with RasPi, but they use it in Raspbian OS. No one seems tried to build directly with RPi and Windows. So, I made...

Old Notes Unpublished: Start Up Spending and Gojek Phenomenon

I read this link https://www.techinasia.com/silicon-valley-spends-money-people-asia-spends-marketing/ Yes. See how Gojek spend millions just to market their product, while their product itself are made by fifth grader. Okay this is a very long post Once I was interviewed for a new start up, Snapcart. I met the founder, which has a long hours of experiences, beginning from working in consumer product industry for 6+ years, then moving on to boutique consultants, which...

The Faith on Our Journey

I visited Baduy village at Banten last weekend. It was one of the most remote village in Java, we have to walk for more than 5 hours one way (I took 7 hours), climb and descend more than 4 hills just to reach there. There’s one thing I learned from my journey there: We have to keep strong on our way to our destination no matter how hard the obstacles...

Appreciation

Appreciation is one of things you can do to other people for free. It gives spirit and motivation to them which can bright their life. It is one of keys to a good workplace environment. I have friends who are complaining on how unappreciative their peers or bosses are. This made me reflect to myself on how do I feel with my peers and bosses. I am really fortunate to...

Adventure Style Photography

I have been interested with photography especially when I was finally able to purchase my own DSLR. So I am going to share some tricks on how I take pictures. I love travelling, and I love taking photos while travelling. One of my friends once asked me after seeing Angkor Wat photo below: “how¬†come you could come to Angkor Wat and it was not that crowded? It feels like you...

Your Environment is The One Who Built You Up

I was researching my target university. One thing that I did was watching the commencement event and listen to the speeches by the president and honorable alumni. It was very interesting to watch the event, and I gained lot of information about the culture in the university. I learned interesting knowledge from one of the speech: Your environment is the one who built you up The speaker said that the...