avatar

Coderek's blog

Loneliness is the gift of life

After I switched to ubuntu, I discovered quite a few useful commandline utilities. Top is one of them that I underestimated for a long time. In the past, whenever I want to check system resource usag…

Read more ››

我平时喜欢听电台广播。以前在新加坡上中学住宿舍的时候我就买了一个大家伙,它可以放广播,也可以放CD。 学习之余都是这个家伙陪伴着我。我最喜欢的电台是Yes 93.3,新加坡最受年轻人欢迎的音乐电台。经常可以听到 我喜欢的港台新歌手比如梁静茹,林俊杰的歌。这么多年过去了,它的风格没有太大变化。对于我来说这是好事情, 毕竟现在的新歌(手)都不如老歌(手)。 离开新加坡好几年了,时不时还会在网络上听Y…

Read more ››

Binary indexed tree (BIT) is an interesting data structure. It makes calculating and updating prefix sum efficient. In the old way of keeping prefix sum, you have to keep an accumulative array c[]. E…

Read more ››

Recently, I discovered two interesting data structures, Segment tree and Binary index tree (BIT). Both data structures are good at managing some range of aggregated values. For example, in a discrete…

Read more ››

Any content management system must have a robust "auth" component. "Auth" stands for authentication and authorization. Authentication is an well talked topic. Authorization is the interest of this po…

Read more ››

Stack Overflow

I am a veteran stack overflow user. Most of time I only read answers I needed. I rarely find any questions I can anwser because, they are either already handled by other professional or too complica…

Read more ››

这几年我都没有买什么电脑,因为公司里的笔记本可以带回家用,速度快,屏幕好,用的很爽。我自己是有台笔记本的,只不过有点旧,四年前买的二手MacBook,4G内存,i5的处理器。但可能是已经用了好几年了,速度异常的慢。 最近公司里的裁员风波让我意识到,公司的电脑私用有可能导致自己的东西丢失。被裁员的人都是当天就被要求交还电脑离开的。有点残酷,但这也是规章制度。 在家里还是不要太依赖公司的电脑。想过要…

Read more ››

MyReader

Tough I haven't been using Google Reader(GReader) for quite some time, but I always consider it as the best RSS reader available at the time. It is simple to use, has clean UI for reading. For the pa…

Read more ››

One key quality of a great programmer is that he must be good at algorithms and data structures. I deeply believe so. I didn't do very well in this area in my University trainings. This is something …

Read more ››

Coding android application is always an enjoyable process for me. I find the following stuff intrigued me a lot. Self-contained activity and task stack As a mobile OS, android is very memory-conser…

Read more ››

1 2 3 4 5 6 7