Using Custom Django Settings Files with Jetbrains PyCharm

When the Jetbrains site said one could not use custom settings files with PyCharm, I was concerned; until I realised the comment was more than 2 years old.  You CAN use custom settings files.

Basically, you need to manually set the “manage” file to your django-admin.py file, and make the following modification to the additional options.  You must also make sure to define the PythonPath within the Environmental variables.

After this, my server ran just fine.

Screen Shot 2013-11-13 at 15.18.10

Screen Shot 2013-11-13 at 15.14.15

Japanese Startups

I happened to run into the conversation about Japanese startups on Hacker News and on the BBC. A few stream of thought notes.

  • While it is great to see South Korea has come a long way, it has hardly “overtaken” Japan. If anything, the work environment is /worse/, especially when it comes to supervisors, work environment, family environment, etc…
  • I didn’t have to deal with hyper-critical fellow employees, but maybe it is a people skills problem.  We all know brilliant people who have difficulty expressing themselves appropriately..
  • Not very convinced by the foreigner opinion.
  • I dislike Sony for many reasons. However, they seem to be much better than Toshiba and the other mobile providers. The new Experia Z seems pretty cool.
  • Why is it that Japanese people featured in these kinds of articles seem to couch their criticism in broad language (in English), yet the same sorts of people give very nuanced and detailed critiques in Japanese? I am not accusing them of being two-faced, but I wonder if there are culturo-linguistic barriers? I do notice there are things I freely say in Japanese that I would never say in English and vice-versa, maybe the lack of an emotional resonance? (I do think some English-language criticisms of Japan are hampered by broad generalizations)
  • The lack of trust of younger Japanese is really poisonous and I have felt it before. This bullshit about the “Yutori Sedai” makes for good jokes, but it seems like a self-fulfilling prophecy.

The iPad as a High-Latency Second Monitor with Air Display

At work, I’ve been experimenting with standing while coding. ?I do find it far more effective than the alternative, and as an added side-bonus, I don’t feel crippling exhaustion when I get home. ?Unfortunately, the effect of the loss of a second monitor is quite pronounced. ?Whereas I could previously keep information split between two monitors with ease, I am forced to resort to Expose or the Gnome equivalent. ?Not good.

My use of two displays is generally as follows.

Display #1 – Actual work being done.

Display #2 – Information about models / classes / etc… that I don’t get automatically from my text editor (Sublime Text 2)

The iPad through Air Display sucks for #1; the lag is real and irritating. ?For #2, however, it shines. ?I have it open to the appropriate page right now, and it probably helped me shave about 15-30 minutes of research off my daily routine.

Considering how rarely I want to change the content on screen #2, I wonder if using an e-ink screen could be plausible in the near future…

My Procedure to Learn Kanji

My Japanese level is incredibly uneven. I can understand fairly dense newspapers but I can’t confidentally hand write Kanji characters. The gap might sound shocking, but it is a common problem nowadays. Keitai-baka, the phenomena where using auto-conversion software built into mobile phones results in the loss of C/J language writing abilities, is quite real for me.

However, the landscape for studying Kanji has changed almost completely from what it was when I was a student. Changed for the better.

During my student days, I studied Japanese by creating / listening to vocabulary tapes and by writing thousands of flash cards. I would shuffle them and test myself with them for hours in the library. I eventually wrote down every example in my textbook (“Yokoso”). While proving my determination, it was not particularly practical. Cards got stuck together, there were mistakes while writing them down, and it was not easy to keep track of which words or Kanji I was bad at.

There was one “hack” to learn Japanese; Heisig’s Remembering the Kanji [1]. Unfortunately, it was incomplete with more than half of the book requiring you to create your own mnemonics for the most complex Kanji in the book. Eventually this became impossible and eventually, sometime between making email penpals and moving to Japan, I stopped hand-writing Kanji.

I tried several ways to get back in the education groove, but I rarely found useful help. There is some Nintendo DS software that I tried (????????), but it is worthless, using barbaric rote memorization and not maintaining any kind of useful user history.

So what is left? Quite a bit actually!

First, I got a private instructor, courtesy of the company I am working at. An hour of guaranteed tests and written homework analysis is priceless (or 4000 yen an hour). I also have 3 text books that I received (Nihongo So-Matome and a reading book).

Two, Anki and other SRS[2] systems are quite practical and helpful for reinforcement. They take care of the problem of repeating problematic words, and allow you to automate your flow. I personally am using StickyStudy [3] and adding a list of hiragana readings / kanji with a little script I put up on Github [4].

Three, there is Kanjidamage, a logical culmination and perfection of Remembering the Kanji. While I generally don’t link to sites (because it makes me feel like a big shill), I really recommend their mnemonics and overall method. Whereas I would spend hours puzzling over Heisig’s overly-serious mnemonics, the Kanji Damage ones are simple and absurd enough to be memorable. Moreover, it is not limited by being a book – it is wherever I have an internet connection.

My process goes like this.
-> Create a word list from the Kanji in the kanji book.
-> Run it through my python script and add it to Stickystudy
-> Go through the Kanji in browse mode, while writing down the Kanjidamage mnemonics for the ones I don’t remember.
-> Do the test mode in StickyStudy, while writing the Kanji on paper. If I make a mistake, review the mnemonics from Kanjidamage and go on.
-> Exam every week on Thursday.

I don’t know if this process will be successful. However, it feels a lot more effective than my previous forays, probably because it is doable ANYWHERE I can sit down.

[1] http://en.wikipedia.org/wiki/Remembering_the_Kanji
[2] http://en.wikipedia.org/wiki/Spaced_repetition
[3] http://www.stickystudy.com/
[4] https://gist.github.com/2730102

Code, Games and fun