Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
laylomo2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
61.
▲
by
laylomo2
8y ago
A bit hyperbolic, but not completely inconceivable: Long lost twins separated at birth, one twin murders somebody, the other twin gets his DNA tested, FBI says "we found him", guy goes to jail for crime he never committed. Oops
62.
▲
by
laylomo2
8y ago
I moved directly from Python to OCaml and I have to say, I’ve never been happier. Special shout outs to Jane Street, as their open source software is really solid and a pleasure to use. The community is small but really smart. Overall I thi
63.
▲
by
laylomo2
8y ago
I'm still sad that it was cancelled. She's a great presenter and I was really excited about the series they were planning on category theory.
64.
▲
by
laylomo2
8y ago
Related: Reading bash scripts.
65.
▲
by
laylomo2
8y ago
Writing bash scripts.
66.
▲
by
laylomo2
8y ago
Can you provide an example of something you would want to be able to do with proper unicode support that is not currently possible? This is an honest question, not trying to troll you.
67.
▲
by
laylomo2
8y ago
If you use Core, you can use the Float module together with a local open to get nice operators. open Core let () = let n = Float.(2.0 + 3.0) in printf "%f" n
68.
▲
by
laylomo2
8y ago
The v1 version has not aged well unfortunately. I _highly_ recommend just reading the dev version.
69.
▲
by
laylomo2
8y ago
The double semicolon only matters in the REPL (aka the "toplevel"). Off the top of my head, I can think of at least two other situations where punctuation matters: 1) Whenever you have nested match cases: match left with
70.
▲
by
laylomo2
8y ago
Some clarifications: It has one standard library, and several alternative standard libraries of varying popularity. I would argue that Core is probably the most popular. For what it's worth, Haskell also has several replacement for i
71.
▲
by
laylomo2
8y ago
For the record, the current story is that they are merging some multicore things into 4.08, and it will only be available as an "experimental" feature. So even after it is in the compiler, it will be a couple more revisions befor
72.
▲
by
laylomo2
8y ago
Check out dev.realworldocaml.org
73.
▲
by
laylomo2
8y ago
There is also a report on discuss.ocaml.org thanks to gasche: https://discuss.ocaml.org/t/ocaml-multicore-report-on-a-june...
74.
▲
by
laylomo2
8y ago
why?
75.
▲
by
laylomo2
8y ago
This should be upvoted higher. ReasonML is a fantastically beautiful language.
76.
▲
by
laylomo2
9y ago
I took the OCaml MOOC to learn OCaml programming. It had many portioned exercises, The video content was very high quality. The online code editor was pretty amazing as well, as it autoformatted the code as I typed it and even compiled an
77.
▲
by
laylomo2
9y ago
What that means is that the language itself has no built-in constructs to distinguish Unicode, or any other encoding by default. OCaml's string type is more akin to an array of chars in C, in that it just represents a series of bytes.
78.
▲
by
laylomo2
9y ago
Met my goal of becoming proficient in OCaml and finding work in it.
79.
▲
by
laylomo2
9y ago
Wouldn't that make perl a "write-only" language?
80.
▲
by
laylomo2
9y ago
As an OCaml developer... I'm feeling just a _little_ jealous of those Reason error messages. Beautiful!
81.
▲
by
laylomo2
9y ago
This is really cool. It would also be useful to provide a visualization of these numbers for easier scanning. Thanks for sharing.
82.
▲
by
laylomo2
9y ago
From all those military guards that parade up and down the station