Japanese Citizenship and How I Feel It Unnecessary

Few hours ago, I wrote in twitter, the following in Japanese.

I heard about the story that someone’s collecting petition that would recognize dual-citizenship status to people who have naturalized to other country, but I personally feel that’s necessary. Sense of disconnect and awkwardness perhaps showing that I am no longer Japanese. I get enough experience by just visiting there.

Most recent visit was actually quite eye-opening to me. Not that I was being deliberately harassed by people actually people were quite nice. But I just couldn’t help notice quite a bit of identity crisis there. In a sense, I’m foreigner in Japanese shell.
There is something called “kuuki” (空気) which literally translates to the word “air”, but talks about different fact of Japanese sociological norm. Kuuki is not a rule set in a stone, and it is highly volatile in nature, yet dominates all the participants in the society at any given time. In Japanese society, you are required to be able to “read” this “Kuuki” to determine appropriate action of your own. It is often compared with the context of groupthink in sociology.
The concept of Kuuki is not unique to Japanese; perhaps this exists in many other cultures, even in Western world. While a lot of cultures, especially Western ones expect these social norms more openly; albeit with certain ambiguity, Japanese culture tend to be not verbal about it and puts heavy emphasis on non-verbal set of rules that only can be derived by thinking how other people in the party think. Member of party who cannot derive such rules experience severe ostracism from other member of society. (They are often referred as “KY” which means “Kuuki Yomenai” (Cannot Read the Kuuki)) Inevitably, Kuuki needs to be concert with the concept of the way of how Japanese think.
Big problem of me, is that having lived in the States for more than 15 years now, which comprised of most of my childhood after elementary school, I just don’t have this “kuuki” implemented in my mind set. When I am Japan, I tend to be very frustrated, as I would be expected to act as if I’m Japanese, because they can’t tell if I’m from other country or not. And the fact I recognize existence of “Kuuki” yet I am unable to live up to their expectation creates very awkward moments. (In addition to it, even if I’d know how to live up to this expectation, there is additional struggle as my mindset may not be comfortable to “act like Japanese” in some cases.) This would have been much easier if I don’t appear like Japanese, as in that case, I wouldn’t be subject to such expectation.
So to me, I don’t think dual-citizenship is so important. I wouldn’t possibly live in Japan anymore. There is nothing I can expect from Japanese government. I have no regret of having US citizenship.
However, Japan is nice country to visit. If you haven’t visited Japan, you should.
Just my random thought.

Memory exhaustion in git garbage collection

Just as I was trying to garbage collect big repository, I started seeing this problem:

# git gc
Counting objects: 2746, done.
Delta compression using up to 2 threads.
fatal: Out of memory, malloc failed2)
error: failed to run repack

Looking for some remedy to this, it seems to be I can specify memory window for repacking process by using –window-memory.

# git repack -adf –window-memory=50m
Counting objects: 2746, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2672/2672), done.
Writing objects: 100% (2746/2746), done.
Total 2746 (delta 910), reused 0 (delta 0)
Removing duplicate objects: 100% (256/256), done.

I think I have to specify something low for –window-memory as it seems to maximum object size of individual objects, but it looks at number of object as specified in –window, which default is 10. (so window memory of 50MB would still take 500MB) Default for window memory is set to 0, which means unlimited. It perhaps wouldn’t be too much of problem if you have small files in your repository. But if you have huge one, then you’ll have to specify this, or it’ll crash failing to allocate memory, unless you have tons of memory.
If this problem is happening at garbage collection, even after you’ve done above, subsequent garbage collections would fail if you don’t specify the following.

# config pack.windowMemory 50m