Advertisement · 728 × 90

Posts by David Sancho

Video

gif about ochre without much context

1 day ago 0 0 0 0

every developer I know is at their peak

only great things can come out

1 day ago 5 0 0 1
Post image

a dark mode, but it doesn't show white images

2 days ago 4 0 0 0
Preview
Rethinking Pair Programming in the Age of AI Why "pairing with AI" is harmful to your team and what to do instead

🧠 Rethinking Pair Programming in the Age of AI

Why "pairing with AI" is harmful to your team and what to do instead

learnings.aleixmorgadas.dev/p/rethinking...

4 days ago 7 3 2 0
OCaml documentation as markdown | sancho.dev Turn your OCaml API documentation into publishable Markdown

Let's have great documentation for your OCaml project. Markdown is not the excuse anymore

I wrote a blog post about odoc's Markdown backend sancho.dev/blog/ocaml-...

6 days ago 19 4 0 0

I absolutely want to try this!!!!!

6 days ago 0 0 1 0

Dream is currently the weakest link here, I'm considering other approaches such as simple_httpd or anmonteiro's stack directly

6 days ago 2 0 0 0

I'm super close to finishing a Next.js-like experience for OCaml on top of Dream: file-system routing, server components, typed routes, and a CLI that hides most of the dune machinery

with LSP, error overlay, hot reload, melange integration...

6 days ago 18 3 3 0
Advertisement

the only usecase I use is as a personal trainer that evaluates my activities and plans for next week

i randomly tell how I sleep and how much I eat from time to time

Haven't seen other useful ones tbh

1 week ago 0 0 0 0
Preview
DDoS'ing the human brain AI made us mass produce code at a scale we never could before. More code, more problems, same brain. Somehow I'm more productive and more exhausted at the same time.

Some thoughts about AI-assisted coding and how it affects my brain. I'm more productive and more exhausted at the same time.

marvinh.dev/blog/ddosing...

1 week ago 70 12 5 1

Very good post, thanks!

> My thinking context is occupied

same, and I think that's why I'm more exhausted as well

1 week ago 1 0 0 0

since I needed to generate unique classnames for each selector, which made "resolve &" to the right unique classname.

Happy to see more work on CSS in OCaml

1 week ago 1 0 0 0

Pretty interesting. In styled-ppx, since I support nesting of selectors and media queries, there's also the resolve media queries, join them, and unnest them.

Aside from "optimize" which I currently don't do any property/value optimization, selectors become a bit more complex...

1 week ago 0 0 2 0

omg is turbo, should be fast

waiting for turbo gti

2 weeks ago 4 0 0 0

its the new meta

2 weeks ago 1 0 0 0

It is the era of finishing the side-project of the side-project and go to the deepest rabbit hole possible

2 weeks ago 5 0 1 0
Preview
Your First Parser Build a config file parser from scratch, learning Parseff along the way

I wrote a guide on how to implement your first parser with parseff. Should be handy!

davesnx.github.io/parseff/gui...

is there anything you would want to learn/know about parseff?

2 weeks ago 2 0 0 0
Advertisement

parcho ahhahaha

2 weeks ago 1 0 0 0

renaming to parsexn?

2 weeks ago 1 0 1 0

the support today is on-demand input from a source. it does not do bounded-memory/incremental streaming, because backtracking requires retaining prior input.

maybe streaming is a stretch?

2 weeks ago 0 0 0 0

yeah, parsing functions need to be always inside... and you could nest parsers but that's often a really bad idea? I think it should work

but yeah, I set a register_printer that atleast the error is not terrible

2 weeks ago 0 0 0 0

DLS here is mainly for ergonomics and keeping current direct-style API shape

2 weeks ago 0 0 0 0

Kind of loses the purpose of the name tbh, but frankly, the comparison is:

46-75% faster without effects because each combinator call is now a direct function call + DLS.get nstead of Effect.perform + handler dispatch + continuation resume (~50-100ns)

2 weeks ago 2 0 2 0

exploring the idea of making parseff faster, autoresearch suggested to remove effects entirely from parseff and it makes fused operations equal, but primitive operations are much faster

2 weeks ago 4 0 1 0

yea, the shiny library doesn't appeal much these days

2 weeks ago 1 0 0 0
Advertisement
Post image

yep, that's me

2 weeks ago 19 0 3 1
Post image

publishing parseff v0.3.0

- Binary parsing (big and little endian)
- UTF-8 with uucp and new ocaml stdlib apis
- Parseff.locations () that give offset, column and line

2 weeks ago 8 1 0 1

there's ocaml thought

2 weeks ago 2 0 0 0

oh I want to know what you got . Once i learn about < object > syntax and i didn't expect it to be

2 weeks ago 1 0 1 0
Post image

Are you going to be in Miami between April 20/25th? Let’s meet at React Miami

2 weeks ago 3 0 1 0