Compare commits

...

2 commits

Author SHA1 Message Date
c63127f123
montyhow: done 2026-03-17 23:07:03 -04:00
2ff8054c10
ccgoto: not a short post
also not super duper long, so i'm going to stick to three categories: short, medium, long
2026-02-23 12:48:37 -05:00
2 changed files with 20 additions and 1 deletions

View file

@ -1,7 +1,7 @@
--- ---
title: Emulating GOTO in Scheme with continuations title: Emulating GOTO in Scheme with continuations
description: GOTO sucks and is evil and I hate it, but what if there were parentheses? `call/cc` is kinda like goto, so lets use it to make goto. description: GOTO sucks and is evil and I hate it, but what if there were parentheses? `call/cc` is kinda like goto, so lets use it to make goto.
tags: post,short tags: post,medium
date: 2026-02-18 14:28:46 -5 date: 2026-02-18 14:28:46 -5
--- ---

19
site-src/montyhow.mdx Normal file
View file

@ -0,0 +1,19 @@
---
title: The explanation of the Monty Hall problem that worked for me
description: >-
Say you pick door 1.
There is a ⅓ chance the car is behind door 1 and a ⅔ chance it is behind door 2 or 3.
Say the host reveals the goat is behind door 2.
There is still a ⅔ chance that the car is behind door 2 or 3, but you know it is not behind door 2.
Therefore, there is a ⅔ chance that the car is behind door 3.
So, switch.
tags: post,short
date: 2026-02-28 11:58:05 -5
---
<p>{props.description}</p>
## If you value the goat more than the car
Dont switch.
However, even after taxes, you could sell the car to buy many goats.
Whatever floats your goat.