Continuations predate transducers by some ~40 years and are mostly used as a means of control flow, but yes they are very similar. Transducers are specialized to data transformation pipelines, continuations are a form…
Once allocators in general click, memory management in C becomes a total breeze. Combined with typed fat pointers (slices and strings), typed hashmaps and stack-trace-assertions, C in general becomes quite nice. The…
The famous JAMA cohort study[0] of 120k people showed some 5x difference in all cause mortality and morbidity between sedentary and highly active individuals, showing effectively no upper bound. The NHANES study[1] is…
It's important to factor in lifestyle factors here. By the time you hit 40, you've accumulated ~20 years of adult-life habits. For a lot of people, that lifestyle is very sedentary, missing most dietary recommendations…
> very abstract things A C macro with literals that lacks referential transparency: #define MULTIPLY(x, y) x * y int result = MULTIPLY(2 + 3, 4); // 14 Not knowing what something means does not make it bad, which is…
Agreed, I even find it surprisingly ergonomic. Thinking of data as offsets into memory is unusual coming from almost every other language, but once you grokk it it's actually quite nice. I love C more than I should.
I love that book so much, it helped me grokk the more lambda calculus aspect of FP more than anything. A few chapters in I belly laughed when it dawned on me that it's going to be recursion until the cows come home. The…
Having to debug the build system to your build system is something else.
> When I observe normies they don't seem to care. They'll force and abuse things all the time. I did wonder if it was part of my predisposition towards engineering. Caring implies doing the right thing, which you can't…
> You don't need a repl for this workflow and it can be easily implemented in any language. `ls *.MY_LANG | entr -c run.sh` You get feedback whenever you save the file. As in restarting the entire program and re-running…
You evaulate code within your editor against the REPL, seeing the output in the same window you're writing in (perhaps in a different buffer). The cycle is: 1. Write production code. 2. Write some dummy code in the same…
If you don't mind me asking, how old are you, and how did this progress? I'm in my mid thirties and am noticing some minor deterioration, but I'm writing it off to loss of sleep due to having small kids. My curiosity is…
Thank you for great articles and what seems to be a very nice Lisp! I've written so many toy Lisps over the years that I've lost count, always fun to see when they are done more seriously. A suggestion to the website…
> too many entries, most of which seem tuned to cheating benchmarks Even for entries that didn't cheat, the code was sometimes unidiomatic in the sense that "real programmers can write Fortran in any language". This[0]…
Learning basic Levantine Arabic has brought me more smiles and free meals than I can count. It's been deeply healing in challenging the negative narratives surrounding these very warm people.
If you only had two tilesets, sure. This scales with square of n, so in a real game you're looking at a 4000-8000 long if-else chain. You're going to spend 100x more time maintaining that disaster than you'd have…
Tiling sprites is a wonderful example of something that starts off relatively simple and then explodes into all kinds of interesting headaches. In the beginning, you're looking up a set of UVs in a table indexed by some…
Hey stop it with the ad hominems!
And with header only libraries (like stb) its even less than that. I primarily write C nowadays to regain sanity from doing my day job, and the fact that there is zero bit rot and setup/fixing/middling to get things…
> An entry fee that is reimbursed if the bug turns out to matter would stop this, real quick. I refer to this as the Notion-to-Confluence cost border. When Notion first came out, it was snappy and easy to use. Creating…
The omission of quotations in the title triggered my Lisp-damaged brain to man the walls, only to immediately be met with Ruby and Scheme examples. False alarm.
https://craftinginterpreters.com/introduction.html AST interpreter in Java from scratch, followed by the same language in a tight bytecode VM in C. Great book; very good introduction to the subject.
And nothing says they weren't thinking about the problem when it happened. I've had a lot of "aha" moments not sitting by my desk, but that doesn't mean that I wasn't thinking of the problem. When people say they had an…
As an adult you have the luxury of not living in a false dichotomy where the only two options are VR or fighting. As a parent you have the responsibility of spending time with the kids when they're young. You can watch…
unable to interact with other people just give it to them and use XR glasses for yourself
Continuations predate transducers by some ~40 years and are mostly used as a means of control flow, but yes they are very similar. Transducers are specialized to data transformation pipelines, continuations are a form…
Once allocators in general click, memory management in C becomes a total breeze. Combined with typed fat pointers (slices and strings), typed hashmaps and stack-trace-assertions, C in general becomes quite nice. The…
The famous JAMA cohort study[0] of 120k people showed some 5x difference in all cause mortality and morbidity between sedentary and highly active individuals, showing effectively no upper bound. The NHANES study[1] is…
It's important to factor in lifestyle factors here. By the time you hit 40, you've accumulated ~20 years of adult-life habits. For a lot of people, that lifestyle is very sedentary, missing most dietary recommendations…
> very abstract things A C macro with literals that lacks referential transparency: #define MULTIPLY(x, y) x * y int result = MULTIPLY(2 + 3, 4); // 14 Not knowing what something means does not make it bad, which is…
Agreed, I even find it surprisingly ergonomic. Thinking of data as offsets into memory is unusual coming from almost every other language, but once you grokk it it's actually quite nice. I love C more than I should.
I love that book so much, it helped me grokk the more lambda calculus aspect of FP more than anything. A few chapters in I belly laughed when it dawned on me that it's going to be recursion until the cows come home. The…
Having to debug the build system to your build system is something else.
> When I observe normies they don't seem to care. They'll force and abuse things all the time. I did wonder if it was part of my predisposition towards engineering. Caring implies doing the right thing, which you can't…
> You don't need a repl for this workflow and it can be easily implemented in any language. `ls *.MY_LANG | entr -c run.sh` You get feedback whenever you save the file. As in restarting the entire program and re-running…
You evaulate code within your editor against the REPL, seeing the output in the same window you're writing in (perhaps in a different buffer). The cycle is: 1. Write production code. 2. Write some dummy code in the same…
If you don't mind me asking, how old are you, and how did this progress? I'm in my mid thirties and am noticing some minor deterioration, but I'm writing it off to loss of sleep due to having small kids. My curiosity is…
Thank you for great articles and what seems to be a very nice Lisp! I've written so many toy Lisps over the years that I've lost count, always fun to see when they are done more seriously. A suggestion to the website…
> too many entries, most of which seem tuned to cheating benchmarks Even for entries that didn't cheat, the code was sometimes unidiomatic in the sense that "real programmers can write Fortran in any language". This[0]…
Learning basic Levantine Arabic has brought me more smiles and free meals than I can count. It's been deeply healing in challenging the negative narratives surrounding these very warm people.
If you only had two tilesets, sure. This scales with square of n, so in a real game you're looking at a 4000-8000 long if-else chain. You're going to spend 100x more time maintaining that disaster than you'd have…
Tiling sprites is a wonderful example of something that starts off relatively simple and then explodes into all kinds of interesting headaches. In the beginning, you're looking up a set of UVs in a table indexed by some…
Hey stop it with the ad hominems!
And with header only libraries (like stb) its even less than that. I primarily write C nowadays to regain sanity from doing my day job, and the fact that there is zero bit rot and setup/fixing/middling to get things…
> An entry fee that is reimbursed if the bug turns out to matter would stop this, real quick. I refer to this as the Notion-to-Confluence cost border. When Notion first came out, it was snappy and easy to use. Creating…
The omission of quotations in the title triggered my Lisp-damaged brain to man the walls, only to immediately be met with Ruby and Scheme examples. False alarm.
https://craftinginterpreters.com/introduction.html AST interpreter in Java from scratch, followed by the same language in a tight bytecode VM in C. Great book; very good introduction to the subject.
And nothing says they weren't thinking about the problem when it happened. I've had a lot of "aha" moments not sitting by my desk, but that doesn't mean that I wasn't thinking of the problem. When people say they had an…
As an adult you have the luxury of not living in a false dichotomy where the only two options are VR or fighting. As a parent you have the responsibility of spending time with the kids when they're young. You can watch…
unable to interact with other people just give it to them and use XR glasses for yourself