|
journal
all | Rob is 20,356 days old today. |
|
Entries this day: pushup-counter-tweaks workin 日本語を勉強しました pushup counter tweaks 18:39 Wednesday 13 May 2015 JSTWIthout internet access I can't really run the pushup counter because it's backed by parse.com and a hosted version of jquery. I'm not sure how to get around the parse issue, though I guess I could just store the count in local storage and turn off the variety of stats I had planned to display (# of pushups this day/month/year)... or heck maybe there's a simple JS interface to a local DB. 19:11hmm! I guess I'll be looking at CouchDB and PouchDB. 22:01Oh cats!!!! I'm so smart to realize that although I brilliantly hid my parse javascript keys from the github repo, they are obviously available on the website on which the app is running! Turns out, and I'm paraphrasing, "Parse keys are meant to be out in the wild".. it's just the master key that needs to be protected. I'm going to go through their todo tutorial which features ACL (Access Control something) information... basically each of my pushup-counters will have to log in to keep their pushup data from being smurfed by someone else! I'll add a guest/guest U/P so people can try the app. The code seemed pretty short; I can probably do it tonight. BUT maybe I shouldn't; I have to be up early tomorrow to teach C and A! 23:58I didn't do anything regarding logins, but I converted the code I had slopped together into a nice clean closure and now it works nicely. Pushups are counted locally and then saved to parse when clicking "save" at the bottom. Still not displayed yet. //new.robnugen.com/samples/javascript/pushups-counter-js/ permalinkworkin 13:35 Wednesday 13 May 2015 JSTToday for CB I did 1/3 of a ticket which I split into 3 tickets, primarily because they reference different websites, one of which isn't even in the same repo. I'll do the second ticket soon, and may have to ask Andrew for help on the third. 18:35On the train now after having finished my lesson in Fukuura. I have alternating classes in that timeslot and I expected (and prepared for) one class, but the other class came because they had no lesson during Golden Week. Fair enough! I winged a lesson and overheard one guy saying he had had fun. Great! permalink日本語を勉強しました 09:35 Wednesday 13 May 2015 JSTThere are probably errors in the Japanese notes below!下書きをsharedtalk.com説明(せつめい)を書きました。 おはよう!ロブ灯します。45歳日本に住んでるアメリカ人です。よろしくお願いします。日本に12年住んでいますけど東京で英語を教えばっかりから日本語あまり練習できない。 趣味は迷路を描くとパソコンプログラマーをします。Unityと言うソフトでゲームを作ると思います。時間あれば、瞑想をします。後、毎月新月にイナカ場所に行くと瞑想すると地球外生命にコンタクトを努める。 ある時、一人で東京から京都まで自転車で乗って帰りました。残念ですけどその時車の地図しかない持っていましたから大きい道に乗りました。車と事故で私の肩がbreakしました。その後、私の生徒から「路武」(ろぶ)と言う漢字を私の名前にいただきました。嬉しかった! 「努める」以外、上書いた方を話せます、けど読めない漢字があります。(「灯」、「歳」、「練習」、「趣味」、「努」、「残念」、「事故」、「肩」、「嬉しい」があまり読めない)それで、難しい漢字のフリガナ書いていただけますかなと思ったんだけど。 それでは permalink |