u/davesnx

2,259 post karma · 387 comment karma · joined Dec 2013

  1. 10points

    Come to Warsaw for the On-Site FUN OCaml 2025 [FP]

    0 comments · source

  2. 34points

    "no real usage, no value" thoughts? (i.redd.it) [low quality]

    41 comments · source

davesnx

I literally know this guy

davesnx

do you know the video exactly? curious to watch it

davesnx

Using a ui library with mlx is just a matter of ensuring components are functions with labelled arguments (https://github.com/tmattio/mosaic/blob/main/mosaic/lib/mlx/mosaic_mlx.mli) and in case of having a ppx, any transformation is desired in html_of_jsx I transform into https://github.com/davesnx/html_of_jsx/blob/main/test/Test_without_transformation.ml

davesnx

It's actually maintained by ahrefs

davesnx

Hey ricky, wanted to ask: any reason why you want to stay pure OCaml syntax here?

I believe bonsai could benefit greatly from mlx. By looking at https://github.com/janestreet/ppx_html, I found (obv biased) more readable and it currently fits perfectly with the ocaml syntax: https://davesnx.github.io/html_of_jsx/core.html (you can select mlx at the top)

Considering that all tooling is ready, ocaml-lsp works out of the box and tree-sitter, ocamlformat-mlx and ocamlmerlin-mlx are tiny additions to the upstream projects. In fact, ocamlformat suggested to merge mlx https://github.com/ocaml-ppx/ocamlformat/pull/2756

I'm interested in knowing the reasoning behind staying in ocaml syntax

davesnx

mlx works with the official ocaml-lsp. We have a fork of ocamlformat called ocamlformat-mlx and a tree sitter all of it here: https://github.com/ocaml-mlx

davesnx

True, I appreciate the 0 deps as well. Usually people who does this release a separate package that re-exports all layoutz + mlx integration, so you have the "best of both worlds" at a relatively simple effort

davesnx

came here to say this

davesnx

Nice work, did you thought about using mlx for them?

davesnx

3kg for everything sounds heavy, is there anyway to make it less?

davesnx

I got a similar thing in wood bought in etsy and I always thought someone should productize this!

Any way you could make many different sizes for https://bioniclabs.org/products/magic-duo-s-new ?

also, do you have any real life video?

davesnx

TIL other indie hackers aren't real customers

davesnx

I would personally use both

davesnx

I wont consider this a pay cut, joining as VP for 475k will technically be.

Going to IC can mean very great things: less pressure, less in-between priorities, more connection to the user/value, more relationships with coworkers and collaboration.

Sure, at the end of the day you are 40% down, but life is not designed to be a stonks chart, ambition and other mental models forces us to see it like this, when in reality everything is a tradeoff. Enjoy the bright sides, and if you really hate it, its 60% more money than no job, while you search for your next exec role.

davesnx

Acabo de twitear https://x.com/davesnx/status/1954878350771544114

y lo de tener a los miembros de EU excentos de esta ley, me tiene dando volteretas

davesnx

Imagine making this comment and not getting the joke 😔😔

davesnx

yep, pretty useless from this pov

davesnx

I do this without being payed 10M 😅

davesnx

Great story 🙌

davesnx

your english is good, even if you think is bad... share it anyways. Most people can help polish, and most polygloths understand how hard is to make relevant and advanced content in a 2nd or 3rd lang.

I was mad about this for myself, and I tweeted https://x.com/davesnx/status/1942615160147099945

davesnx

We are organising fun-ocaml 2025, and 2024 was really nice. The idea of the conf is similar to zurihac, both workshops and talks happen and there's room for random hacking!

davesnx

Jordi Pujol, clarament

davesnx

typed wrongly, so mb