Blogs

Tips for Traveling with a Baby in Japan - Diaper Bag for Air Travel

The list of items contained in our diaper bag for air travel, annotated with how essential each item was based on our experience as follows:

*** Must have

**   Nice to have

*     Not needed

For travel gear that may not fit in your diaper bag, please visit this page.

  • Portable changing pad (***)

This is definitely essential for both in the airports as well as on the airplane. We like our JJ Cole Collections Changing Clutch.

Tips for Traveling with a Baby in Japan - Travel Gears

We traveled with Boyan, our 13-month son last month to Japan (for those who are wondering, yep, he is the main reason why this blog has been so quiet in the past couple of years. :-)) and spent a unforgettable 10 days there. Before I went there, I searched over the web for tips, but they seemed to scattered around. I therefore decided to share our experience and hope it will be useful for others.

To make the information most useful, I will just list items we brought with us for the trip and comment on how essential each item was based on our experience denoted in the following way:

*** Must have

**   Nice to have

*     Not needed

1. Travel Gears

Data-Oriented Programming (DOP)

JSON is arguably the world's most popular human readable data format today.  It has largely replaced XML as the data exchange format on the Internet. One of the key reasons for the proliferation of JSON is its simplicity.  The data structure are very limited: only arrays, enclosed with []; and objects, enclosed with {}. That's it. It cannot be simpler.

Apparently, this dead simple data format is enough to represent the vast landscape of data that JSON becomes the de-facto data format for Web services. Most Web APIs we use today speaks JSON. However, JSON is not native for most programming languages. It becomes a pain to convert to and back from JSON in programming languages.

Switching to Spacemacs from Vim for Clojure/ClojureScript Development

Clojure has been my primary programming language for a couple of years now. During this period, I have relied on my trusty Vim text editor as the development environment. Coding Clojure in Vim had been an enjoyable experience with these excellent Vim plugins:

  1. vim-clojure-static
  2. fireplace.vim
  3. paredit.vim
  4. Rainbow Parentheses Improved
  5. vim-clojure-highlight
  6. vim-cljfmt

Juji Personality Profile for Mayor Stubbs

What makes Mayor Stubbs special?

Check out the personality (or shall I say, catality) profile for Mayor Stubbs constructed by Juji based on Mayor Stubbs' tweets.

Have you meet Mayor Stubbs? Does this sound like him?

What really makes me smile is the summary of the profile. Mayor Stubbs is "curious investigator". This is amazingly accurate: is there a cat that is not curious? I don't think so.

从变量说开来

数学的变量与计算机语言的变量不同。数学的变量更抽象,是真的变量。而计算机语言
的变量是假的,其实还是属性,是某个内存地址或者寄存器的属性。

一个非程序员A,第一次编程,看到变量,会很疑惑,比如我当年,“这是什么东西的
的变量啊”, variable for what? 后来明白了,原来就是一个地址可以存不同的东西啊
,明白了。指针?这不是很明显么,就是地址啊,有什么难的?

另一个非程序员B,第一次编程,看到变量,说,哦,我知道,数学上小学就学了的,
变量就是数学上的变量啊,懂了。结果看到指针,panic了,数学上没有指针啊,
到底什么是指针啊?

人和人的思维方式不一样,从对数学的态度可以看出。有的人,比如冯诺伊曼,说“
You don't need to *understand* mathematics, you just get used to it". 这种人
就是上面的非程序员B。这些人成为数学家的话,一般会成为分析学家。中国培养出的
职业数学家,大多是分析学家,比如张益唐之类,解决问题能力很强,一般不自己发明
理论。

另外一些人,比如Grothendieck,一定要把数学理解成某种结构才行,这种人成为数学
家的话,会成为几何或者代数学家。这些人解决问题的能力不一定强,比如
Grothendieck连57不是prime都不知道,但他发明了改变数学界的理论。这些人也是非
程序员A。

上述两种人可以用一个简单的测试来区分:给他一个玉米棒子,看他怎么啃。分析学家
会啃得乱七八糟的,代数家会啃得一排排整整齐齐的。我有时在聚会时让大家做这个游
戏,目前发现,中国人还是分析家居多。

Museum and Cultural Tour of Bulgaria in 9 Days - Day 2 (Rila Monastery)

The second day of our trip began with a long drive from Sofia to Rila Monastery, the largest and most famous Eastern Orthodox monastery in Bulgaria.  It is the first UNESCO World Heritage Site in Bulgaria we visited in our trip.

Museum and Cultural Tour of Bulgaria in 9 Days - Day 1 (More)

We were quite amazed by the National Archaeological Museum, especially the Thracian treasures. 

The museum is located in the largest and oldest former Ottoman Mosque in Sofia.

Thracian treasures. Can you believe that they were made before the Roman Empire?

Museum and Cultural Tour of Bulgaria in 9 Days - Day 1

(1) Sign of Sofia --- City of Lion.

(2) Statue of Goddess of Wisdom and God's Bride

Syndicate content
Nice place