Eduardo Rafael's Avatar

Eduardo Rafael

@eduardorfs.com

26yo anti floating point developer. You can almost always find me at http://twitch.tv/eduardorfs, it's the boring side of tech.

251
Followers
125
Following
264
Posts
01.12.2024
Joined
Posts Following

Latest posts by Eduardo Rafael @eduardorfs.com

I dunno man, I cannot stop feeling like we can do better.

06.01.2026 23:01 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Seriously, X is just not a great place, but this one feels too artificial, I'm kind of depressed with the state of affairs in general.

06.01.2026 16:38 πŸ‘ 7 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

programmers are such babies. you're paid an obscene salary for an extremely comfortable job for ostensibly being smart and good at logical thinking.

you can figure out how to run the 4 opam commands required to set up an ocaml project oh my god

02.01.2026 02:18 πŸ‘ 63 πŸ” 7 πŸ’¬ 6 πŸ“Œ 2

Pior que a minha leitura do assunto Γ© mto teΓ³rico.

03.01.2026 22:41 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

It definitely makes it harder to reason about performance tho.

19.11.2025 05:56 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
nat_by_j.v GitHub Gist: instantly share code, notes, and snippets.

I think I forgot to share this here, deriving induction for the inductive types in an impredicative setting, using pairs and equality without UIP only.

I'm currently working on deriving all the indexed inductive types and a fully predicative setting.

gist.github.com/EduardoRFS/8...

19.11.2025 05:55 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

folks, if you want FUN OCaml 2026 to happen, please put in some drafts (it's okay if you change your mind later, both regarding topic and whether you can attend)

19.11.2025 04:36 πŸ‘ 4 πŸ” 1 πŸ’¬ 2 πŸ“Œ 0

It was not intentional bro.

06.11.2025 19:15 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

No idea, but T even has acute effects.

06.11.2025 15:37 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
naive_vars.ml GitHub Gist: instantly share code, notes, and snippets.

It's interesting that naive mutable variables work for interpreting the lambda calculus if you're restricting the evaluation order.

The following, should not have any reentrancy problem and be reasonably fast for some classes of programs.

gist.github.com/EduardoRFS/6...

01.10.2025 22:06 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Good luck

29.09.2025 18:48 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Even if it's a new symbol, it's still cyclical, it really doesn't matter semantics wise, if A is isomorphic to B and B implies in something that includes A, then B is cyclical.

Also, it's called a fixpoint, because you go back to the same point.

28.09.2025 18:49 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

This a cycle, you just showed that it is well founded as it eventually finishes, but the stream type is also a regular tree and there is no trivial way of avoiding the cycle.

26.09.2025 21:27 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

A list type is a regular tree, it's not a tree as it is cyclical.

26.09.2025 21:13 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Alt text: A meme featuring two Kermit the Frog characters - the regular Kermit on the left and "Dark Kermit" (Kermit in a dark hood) on the right, with white text at the bottom reading "come to the Obj.magic side". This appears to be a programming humor meme referencing OCaml's Obj.magic function, using the classic "good Kermit vs evil Kermit" meme format to represent the temptation to use unsafe type casting.

Alt text: A meme featuring two Kermit the Frog characters - the regular Kermit on the left and "Dark Kermit" (Kermit in a dark hood) on the right, with white text at the bottom reading "come to the Obj.magic side". This appears to be a programming humor meme referencing OCaml's Obj.magic function, using the classic "good Kermit vs evil Kermit" meme format to represent the temptation to use unsafe type casting.

when you don't know whether you're creating problems for your future self, or solving them

23.09.2025 18:44 πŸ‘ 7 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0

My technique for mutual recursion works but it currently breaks subject reduction, I need to clean the meta theory a bit.

20.09.2025 18:41 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I'm just a con man, I don't even know greek.

20.09.2025 18:39 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Literally me

20.09.2025 18:07 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Hey, I'm open to giving talks(maybe lectures?) about whatever, either in South America, Europe or North America.

If you know something that I should apply for let me know.

17.09.2025 15:01 πŸ‘ 7 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Or it was dune, but something includes it.

17.09.2025 14:37 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Either OxOCaml has it or it's an OCaml Pro thing.

17.09.2025 14:37 πŸ‘ 2 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

A vontade de morder crianΓ§as Γ© realmente universal.

12.09.2025 23:48 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image Post image

Similarly but simpler than distilling optimality, you can distill Weak CBV from a Strong CBV interpreter + explicit laziness. In such a scenario, you can see that beta + force is equivalent to a single beta in the weak setting.

11.09.2025 20:55 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Yup, R-MDMA is one of the isomers in traditional MDMA, but it seems to be considerably less toxic and still produce the empathy related effects.

10.09.2025 16:02 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Programs & Research - MindMed

R-MDMA for autism.

mindmed.co/programs-res...

10.09.2025 15:47 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

People call it portable assembly for a reason tho. And we definitely say that it is a native language.

09.09.2025 17:38 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

It's both, in the same way that there is a program in C and the equivalent program in Assembly, those are two different presentations of the same program.

09.09.2025 16:46 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

You can trivially compile WebAssembly to native.

09.09.2025 15:47 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I've been on TRT now, aiming to stay a bit on the high end but still under 1000. Also monitoring my DHT because I don't want to start balding again.

09.09.2025 13:42 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

The general advantage of teaching X with LLM is to also teach on how to learn some other X.

The issue is that you and most people thinking on education want to teach a very specific X.

08.09.2025 18:43 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0