Arkar Aung

Curious folk, iOS Ninja & loves to play around with geeky stuffs

Read this first

On introspection

My series of introspection on myself to better understand myself. I believe that most people try best to understand outwardly and yet have no idea of who they are. Those who win wars and conflicts are most likely to be the slaves of their own demons. Those who shine brightest are the most timid inside of their own souls, sitting and moping in the corner of a dark, damp and clandestine room.


content-proxy.png
Stars (M. C. Escher)

It is just plainly strange to look into oneself. Everything that seems so automatic has all the motives behind it.

I cannot read well these days. I try to focus but something seems not to be quite right. I know that there has to be some simple explanation behind it. But it is just interesting to look into myself and see what is happening to me.

Sadness, madness and all sorts of emotions are quite interesting when you pause for a while and scrutinize those. Are we just...

Continue reading →


My Scala Days [Week 2] and [Week 3] Condensed

Most of the materials here are excerpts from vaious resources that I have come across online as well as from ebooks. Some of the sentences are described as they are. I will try to keep all the references but please excuse me if I have missed some soruces.

I realized that I have come up with a soup of random excerpts. I will try to clean this mess up

On Auxillary Constructors

Every constructor invocation in Scala will end up eventually calling the primary constructor of the class. The primary constructor is thus the single point of entry of a class.

More Learning Resources

The Neophyte’s Guide to Scala is a pretty good one to start looking into not-so-beginner-level text

Good things to take from it as far as I have learnt:

  • Extractors are the reason pattern matching works in Scala
  • Extractors has the opposite role of a constructor
  • Constructors create an object from a give list of...

Continue reading →


My Scala Days [Week 1]

I started doing Scala not because I am curious about it, like Haskell, but because I have to since the project that want to work on is in Scala.

Some articles say Scala means scalable language but one particular article says it mean staircase in Italian. And Scala surely means “ladder” (or staircase) in Italian.

Unfortunately, I don’t have strong Java basics so I thought I would have some problems with it.

Fortunately, I am very comfortable with Functional Programming so that is one less thing to worry about it.

Let’s move on to setting up the development environment and learning part.


Development Environment

For the development environment, I tried to resist my temptation to setup Emacs for Scala Development. For those who insist on doing everything on Emacs, here are two things that you need for your Emacs; ENhanced Scala Interaction Mode for Emacs and New Scala Mode.

This...

Continue reading →


If you want to write well, start writing crappy stuffs

This is actually dedicated to me. It should be more like “I” rather than “you” but it might help you too.

I haven’t written for a long time and I realize that when I need to write something up, my writing skill is long gone and I cannot come up with anything.

I tend to make long sentences which are not lovely as well as digestible in one chunk. It might sound sophisticated but in fact, it is just a complete mess. It is not a good thing to make your reader frustrated with your complicated sentences.

My friend suggested that I write blogs again. I haven’t blogged for quite a while. The last time I blogged was 8 months ago. I have a problem with keeping focus on a single thing for long. Only focus will take me far. Otherwise, I will just be a loose cannon, which I have always been.

Skills are subliminal. We always have to keep on pushing to shine our skills. Writing skills tend to...

Continue reading →


[You give this a name yourself]

Why is the value of a bean sprout a lot less than that of a diamond?

You might think that I am nuts for such a comparison or you might think that I am going to say something bat-shit insane by starting out like this or you might think that I am just trying to grab your attention by saying so. Think whatever you would like to think but that is something which we have to think very carefully.

First, let’s track back to how we get “things”. Yes, how do we get things that we are using now, seeing everyday and interacting in our environment. How do all these materials come to existence is something that we have to sit and ponder. But this is not hard for a scientist. Materials on the Earth comes from the stars when they die. When the stars reach their final days, they become big and then they explode in a very spectacular cosmic event called supernova (Well, I say it very crudely and it is...

Continue reading →


We are always time travelling

We need to be entirely stationary to be in real present moment.
But we are never stationary.
Just sitting in a chair, does not make you stationary when you are in a moving car.

We are never stationary when we think very carefully.
Our earth is not stationary.
It is spinning. That’s why we are always moving even when we are sleeping.
Bigger yet, our solar system is moving. Our solar system is moving in our Milky Way galaxy.
And our galaxy it moving too! Even at tremendous speed!
When some alien life form looks at us, our galaxy is red shifting and we have speeds so great that our time frame is contracted; from their vantage point!

This might be the same for us. When we happen to catch a glimpse of some alien life form on faraway galaxy, we might not see their “actual” time that alien perceive but the contracted time that we see.

Even if we forget about seeing from other faraway...

Continue reading →


Books I should read

I am going to list the books that I should read. This is going to be updated from time to time.

John von Neumann and the Origins of Modern Computing
[Where I found: https://sites.google.com/site/steveyegge2/math-every-day]
[How I found it out: After reading this http://www.canonical.org/~kragen/tao-of-programming.htmlbook1 and start to track back and eventually ended up at Steve Yagge’s blog]

View →


Lies Lies Lies

I refreshed my knowledge on public key cryptography recently. I found out so many new things that I have never seen before. Some stuffs are like totally new and others are like, totally incomprehensible before, and gets as clear as a day on my revisit. I think our brain develops over time. That’s a nice thing to have.

Stupid thoughts come to my mind too. Skeptism as well as distrust in authoritative body. What if “they” are pretending to be like good guys and trying to look as if they are the middle man to ensure the integrity of messages between everything. What if they are trying to look like fighting for privacy and yet they are the biggest violators for tempering people’s communications. What if they are just doing Ship of Thesaus all the time? Sometimes, even stupid thoughts arise in my minds that my mind is just playing games or trying to make me insane? I am thinking that...

Continue reading →


Connected Door Bell

It would be nice to reinvent the door bell, the internet of things way. What if we can get the notification on all of the connected devices when someone else rings a door bell? This simple thing can be done with Raspberry Pi with apps for both iOS and Android. What if we put a little web cam to the raspberry Pi and snaps the photo of a person when the bell is rung. The photo will be sent to all the devices. You can talk to your phone and you can listen to what the visitor is saying from your phone.

View →