Tutorials
This page contains some miscellaneous tutorials and diagrams that I
find useful.
Java
- Java IO
Diagrams the relationship between IO, NIO, Strings, Buffers and
encodings
- Java type conversion
On overview of some basic parseXXX,
valueOf and toString methods in Java
- Java Memory Model
On overview of how memory visibility and accesss works in Java
Javascript
- Javascript Object Layout
Ever wonder what prototypes, objects, functions
are and how they are related to each other ? Wonder no more!
- Javascript Object Layout (v2)
Prototypes and objects (alternate viewpoint)
-
Javascript type wrangling
A primer on runtime type conversions in JS.
-
Javascript scope and prototype chains
Scope and prototype chains are different things.
The scope chain finds a variable and the prototype chain finds
a property inside a variable (of type object).
-
Javascript closures
What is this "closure" thing anyway ?
-
Javascript
this
pointer
A comparison between the this
pointer in Javascript and Java.
-
Random Javascript code snippets
Misc. code snippets in no particular order
HTML/CSS
- Random HTML and CSS snippets and experiments
Web application design patterns, SQL
- Daemons/background processes
- SQL query execution order
Misc
- Random thoughts (or want to hire me?)
- The 4-point Molly hiring test
- Git Sandwich
Flash & Actionscript (archive)
- An introduction to Actionscript code execution order
Prolog
Just (re)discovered Prolog. For the class of problems it solves, it is unbeatable..I'm totally gobsmacked! Some links:
- swi-prolog
- browser playpen
- Great video intro
- regex pack (Michael Hendricks is the man)
- Fun example (London tube map)
The only thing that sucks (majorly) so far is the lack of a JDBC driver and an easy way to talk to my postgres database.