Studying the effect of seretoin on memory – with #memrise and #9gag


So, those cognitive scientists from memrise successfully made me addicted to their application.

Joke aside, my memory is really bad and I have been using flashcard to study Japanese and German for some years (intensively during my year in Bonn), tried with paper flash cards, Quizlet and FlashCardToGo in android.

With my limited knowledge but keen interest in cognitive science – Memrise is really seamless and game-changing for me. I am also creating this japanese course which based on Mr Children’s lyrics (trying to add context for those words!)

How’s my memory going – experiment with memrise and 9gag

Reading the great book The Shallows‘s chapter 9 today about formation of long term memory and effect of sereotin

(In 1983 Kandel, Schwartz & Richard Axel) To mimic the action of the modulating interneurons, the scientists injected serotonin into the culture. A single squirt of serotonin, replicating a single learning experience, triggered, as expected, a release of glutamate – producing the brief strengthening of the synapse that is characteristic of short-term memory. Five separate squirts of serotonin, in contrast, strengthened the existing synapse for days and also spurred the formation of new synaptic terminal-changes characteristic of long term memory.

If you are still reading:

What happens after repeated injections of serotonin is that the enzyme kinase A, along with another enzyme, called Map, moves from the neuron’s outer cytoplasm into its nuclesus. There, kinase A activates a protein called CREB-1, which in turn switches on a set of genes that synthesize the proteins the neuron needs to grow new synaptic terminals.

I dont understand very well, but I just think of a simple experiement, althought not very related actually, that I can do on myself.

Outlining an experiment with memrise and 9gag

-will I do better in memrise if I read 9gag during that?


  • I know it is not very scientific, but fun. (yes, seretoin ton doesn’t work that way, I just wanna know at least can I do better when I feel more relaxed)
  • my first experiment in cognitive science lol! before I go really into it.
  • brain is a very personal thing. genes as well. You need to measure personally, not being told
  • quite stressed recently for the examinations & projects
  • this make me feel less guilty when I read 9gag.
  • I need some excuses to spend time on my japanese
  • actually with or without this experiment I am doing the very same thing every day.

Experiment concerns

  • things to learn -> This JLPT N2 Memrise Community Edited Course because
    • I would really like to finish it
    • I have been learning japanese for quite a long time so there should not be any special trend
    • large enough and relative standard among courses
  • words to learn should be large to reduce side effects of
    • meme, audio
    • skip those really easy one / I already know (as usual )
  • to be scentific, I should be memorizing some poker numbers, but I am not into that…although that can still be cool
  • get more sleep regularly
  • ignore the first day as no recall session
  • using memrise as it is fun, small, easy to control and I am really memorsiing smomething in a efficient way
  • 9gag is something fun, actually something like listening music / aeriobic / deep breathing could be more interesting..


  • web version
  • Japanese Course


  • Starting from the end,

Phase 0

pattern: with 9gag -> without ->with, etc

  • 5min 9gag (too much to start, too less to stop)
  • 15~20min memrise
    • [recall] grow phase for ytd’s courses
    • [plant] plant a new course, 5 times i.e. 25 planted if nothing is skipped? – not very sure about its algo yet
  • 5min 9gag

Phase 1

No idea yet. may be 9gag-9gag-9gag-no-no, or 9gag- plan in memrise- 9gag, things like that


  • 30min around 11am
  • because I am too tired to do anything serious immediately after work


If you can’t measure it, you can’t improve it. be Taylorism

several possible metrics: – marks you get during recall phase – marks you get during grow phase

after 2 weeks, plot – [recall mark against 9gag when recall] recall better when relaxed? – [recall mark against 9gag when grow] grow better when relaxed?

Challenge accepted. just yet to start 😛


Syntax-Specific Key Binding in sublime Text 2 – e.g. fix javascript reindent with jsFormat and Ctrl+Shift+F

Sublime Text 2 is great. period.

In short

to use Cmd-Shift-F to reindent javascript with jsFormat without affecting others, put this in the Key Bindings :


Again this supposingly simple question took me some time to figure out

My use case is: I found there is a bug in Sublime Text 2 for reindent javascript which

whenever there is a comment line, the indentation of next bracket follow the indent of the comment line instead of matching bracket



So i installed the package JsFormat which is also closer to the my style

Then there is another problem — it is not overriding the reindent but create another command ‘jsFormat’ thus I cannot use my usual hotkey cmd + shift + f to reindent but need to use the default ctrl+alt+F. Even I change it to cmd+shift+f, other language (syntax) will be affected

The Settings - More -> Syntax-specific is for setting but not key bindings


Finally figure out the scope concept from this SO Thread
so the scope for js is scope.js not scope.javascript

The correct way to know the scope is to check syntax’s .tmLanguage file for the key scopeName

seems the alternative -plugin ScopeHunter is not working for me

Originally I thought it is the bug, but it works now

Related SO:

My version

Version:2.0.1, Build2217 OS: MacOSX 10.7.4

Chinese characters identifier (Java)

Chinese characters identifier (Java)


This JAVA program check if input word/Char is Chinese. visit ChineseCharIdentifier in github


use public static boolean isChineseChar(int codePoint) to check against code point of a character and public boolean isChineseWord(String s) to check against a word.

It is also possible to exclude filtering of particular regex patterns (e.g. accept some Alphanumeric words, like _NOUN_ in google data set)


To work on a Chinese N-Gram Analysis with the google books Dataset, I spent sometime figure out how to identify a character is Chinese or not, which is supposed to be quite easy.

Stuff here is not very serious or standard, just hoped to help others to understand some basics and get quick solution.

Some Concepts:

To check whether a character is Chinese, we can use its code point, which can be obtained using Java’s Character.codePointAt()

Code Point

From Wikipedia

code point or code position is any of the numerical values that make up the code space.[1] For example, ASCII comprises 128 code points in the range 0hex to 7Fhex, Extended ASCII comprises 256 code points in the range 0hex to FFhex, and Unicode comprises 1,114,112 code points in the range 0hex to 10FFFFhex.

What are the range of Code Point for Chinese?

This question is harder.

For English it is easy, it is from a to z, A to Z.

As accordingly to the Unicode Scheme many characters are actually not only Chinese, but common in Japanese/(traditional) Korean as well. Thus Chinese characters are contained in the set called CJK, where this is a disjoint set, i.e. the range is not continous


so From the official FAQ:

A: It is a commonly used acronym for “Chinese, Japanese, and Korean”. The term “CJK character” generally refers to “Chinese characters”, or more specifically, the Chinese (= Han) ideographs used in the writing systems of the Chinese and Japanese languages, occasionally for Korean, and historically in Vietnam

Chinese Only!

Closer to what you want may be “Blocks Containing Han Ideographs”. This is hard to reach if you have been looking for “Chinese”

check out this SO Thread and the standard specification to get the correct range.

Full Unicode Chart

This is blogged in here