Jim Cheung

Thursday, October 10, 2013

didn't update the blog for a while, I'm reading and try new things. tried Java, too much typing. tried haskell, i doubt if i could use it on web. now i'm learning Clojure, it has java power, and ClojureScript, web power. i started to like the syntax (i didn't enjoy lisp months ago), it's simple but straight forward, could be pretty powerful.

the best tool to start clojure is leiningen, editor can try Light Table, it evaluates form on your typing, it looks cool too.

i started learning it by reading Clojure Programming, but soon i found it's not for beginners, reading it was like reading Let Over Lambda, i couldn't understand any of the example codes.

so i found this free webpage: Clojure - Functional Programming for the JVM and start from it. hope that when i return the Clojure Programming with less confusion.


google app engine PHP runtime goes public, the sdk pack comes with a gui launcher, easy to start/stop server, check logs and deploy. nice.

Friday, October 11, 2013

a hack to start sublime under windows cmd: create a subl.bat in c:\windows (or any folder exists in your %PATH), with one line:

start "" "C:\Program Files\Sublime Text 3\sublime_text.exe" %1


tested deploy slim to app engine, it doesn't work because of missing environment variables, a fast fix is add these to your app.yaml

env_variables:
  DOCUMENT_ROOT: '.'
  SERVER_PORT: 80

i'm sure there're better ways and i'm not sure the values above is correct, it just works for the hello world example.

devops is a hot topic, docker looks interesting, it has a very good tutorial page to give you some basic idea about what it is. i'm waiting for my next vps to try it out.

Wednesday, October 23, 2013

finally found a easy setup-php repl, PsySH, and it's useful for debugging too.


a fun bash, ansiweather.


totally missed this year's oscon, will find time to read some slides: OSCON 2013 Speaker Slides & Video

also zendcon 2013, slides can be found in here

Blog Archive