Skip to content

Instantly share code, notes, and snippets.

Avatar
🦀
求同存异

David Wong mimoo

🦀
求同存异
View GitHub Profile
@mimoo
mimoo / hanoi.md
Created December 7, 2022 22:18
What to eat in Hanoi
View hanoi.md

Haven't been in a very long time, so I wouldn't be able to recommend specific places, but I can recommend specific dish.

image

Turmeric fish (Chả Cá Lã Vọng). This is a specialty and you can find places that only do that. There's a pan in front of you with some oil, and you put fish and dill and tumeric and cook it yourself.

image

DIY Fruit smoothies (Hoa Qua Dam). You can find that in the streets. They give you these cups with fruits and ice and condensed milk and you're supposed to blend everything yourself by hammering the content with your spoon. So good!

@mimoo
mimoo / dune
Last active November 18, 2022 21:41
An explainer on state monads in OCaml
View dune
(executable
(name state_monad)
(modules state_monad)
(libraries base stdio)
(preprocess
(pps ppx_let)))
@mimoo
mimoo / mexico_city.md
Created November 12, 2022 18:44
Mexico City!
View mexico_city.md

Places to stay at

  • Roma Norte
  • Condesa

Restaurants

  • taqueria gabriel (omg, everything is good there, get the "jugo de carne" as well!)
  • "paramo" and "el parnita", one is upstairs and has amazing food and cocktails and atmosphere, the other one is downstairs and has great food.
  • taqueria orinoco (omg, same, it's more like a fast food chain but it's like THE chain of tacos)
@mimoo
mimoo / lyon.md
Last active September 18, 2022 19:20
Lyon.md
View lyon.md

Lyon's restaurant and things to do

Restaurants

Note:

  • for a number of restaurants here you might have to book a long time in advance. You've been warned.
  • many restaurants in France offer a different menu for lunch and dinner

OK here's the list:

View dune
(library
(name ocaml_bug)
(inline_tests)
(preprocess
(pps ppx_inline_test)))
@mimoo
mimoo / dune
Last active March 6, 2022 19:34
OCaml bug: you might think that deriving {hash, eq} is enough to use a custom record in a hashtable. Think again!
View dune
(library
(name ocaml_bug)
(inline_tests)
(preprocess
(pps ppx_inline_test ppx_deriving.eq ppx_deriving_hash)))
@mimoo
mimoo / the_list.md
Created October 20, 2021 00:25
THE LIST
View the_list.md
  • 12 Monkeys * 
  • 2001 A Space Odyssey ( o ) 
  • American Psycho *
  • Being John Malkovich * 
  • Cypher 
  • Donnie Darko * 
  • Eternal Sunshine Of The Spotless Mind **
  • eXistenZ ** 
  • Fight Club **
  • Frailty
@mimoo
mimoo / forbidden.ipynb
Last active August 24, 2021 20:51
Forbidden values in recursive scalar multiplications
View forbidden.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mimoo
mimoo / notipping.md
Last active July 19, 2021 00:33
No Tipping Restaurants in SF
View notipping.md
@mimoo
mimoo / old.md
Created June 26, 2021 00:30
Old
View old.md

Once, when we're young, we realize that we're all mortals. It's a shock, it's hard to process, suddenly our world is never going to be the same. But we get over it, and through most of our growth and teenage years we completely forget about our ill fate. We live like there's no tomorrow. In our 30s, as our growth comes to an all-time high, we are faced with our mortality once again. The one we had forgotten about all these years. The bad news we pretended didn't exist. Now, we realize that it's not going to be sudden. Sudden would be good, as we would barely have time to notice. Instead, our fall will take time, and as time flows it'll take away more and more of our features. This slow process will be painful, omnipresent, as we grow in our older years. From that point on, each parts that life will remove from us will be felt. The only escape is to live in the present, and practice gratefulness for the time that we still have and for what's left of the body and mind that life hasn't taken away, yet. Perhaps f