The compile-able JavaScript subset is still fairly limited, so vector operations are quite painful. Beyond that, it's a great library to start with for parallel computation in the browser if you have no background in WebGL/GLSL.
620 karma · joined October 9, 2013
I work on the Bazel build system at Google.
The compile-able JavaScript subset is still fairly limited, so vector operations are quite painful. Beyond that, it's a great library to start with for parallel computation in the browser if you have no background in WebGL/GLSL.
> Real World OCaml is aimed at programmers who have some experience with conventional programming languages, but not specifically with statically typed functional programming. Depending on your background, many of the concepts we cover will be new, including traditional functional-programming techniques like higher-order functions and immutable data types, as well as aspects of OCaml's powerful type and module systems.
It's a nice segue into the world of functional programming if you're not ready to give up on imperativeness just yet.
https://github.com/jin/hindley-milner
Typeclasses were surprisingly easy to grasp. Got tripped up for a couple of days trying to implement a way to generate fresh variables ("a", "b", ...) and ultimately grokked the State monad to implement it.
Errors:
6 * 5 = 30: 六五 三十 (liu wu, san shi)
6 * 8 = 48: 六八 四十八 (liu ba, si shi ba)
For example, this is a small part of the multiplication table:
English:
six times five equals thirty-five
six times six equals thirty-six
six times seven equals fourty-three
six times eight equals fourty-eight
vs
六五 三十五 (liu wu, san shi wu)
六六 三十六 (liu liu, san shi liu)
六七 四十二 (liu qi, si shi er)
六八 五十六 (liu ba, wu shi liu)
---
one times one equals one
two times two equals four
three times three equals nine
four times four equals sixteen
five times five equals twenty-five
vs
一一 得一 (yi yi, de yi) (de == "gets")
二二 得四 (er er, de si)
三三 得九 (san san, de jiu)
四四 十六 (si si, shi liu)
五五 二十五 (wu wu, er shi wu)
I left out the tones for simplicity.
After a while, the mandarin multiplication table becomes like a poem to recite, while the English counterpart doesn't quite have the same ring to it
You're helping a ton of people out while taking quite a bit of risk. You're a good man.
The pregnancy vs conscription issue really isn't debatable.
Nitpick: Men only. It's a common lament here that the men start higher education/work a couple of years later than their women counterparts, hence "losing out".