👫 @boekencurator.bsky.social
🏠 https://w3future.com
💼 https://tweag.io
🗣️ https://strijpskamerkoor.nl
www.youtube.com/watch?v=Mc3l...
www.youtube.com/watch?v=Mc3l...
If someone’s with you 70–80% of the way, they’re not your enemy, they’re your ally.
If someone’s with you 70–80% of the way, they’re not your enemy, they’re your ally.
check: term → type → bool
synth: term → maybe type
I like to merge them,
elab: term → maybe type → maybe type
elab x None infers; elab x (Some t) checks. This makes it easy to handle eg let-binding, which can either infer or check.
check: term → type → bool
synth: term → maybe type
I like to merge them,
elab: term → maybe type → maybe type
elab x None infers; elab x (Some t) checks. This makes it easy to handle eg let-binding, which can either infer or check.
for(float i,d,z;i++<1e2;){vec3 p=z*normalize(r.xyy-FC.rgb*2.)-1.;d=max(p.y,0.);p.y-=d+d;p.z+=t;z+=d=.3*(.1*d+.01+length(vec2(cos(p.z*6.)/6.,1.-dot(cos(p),sin(p).yzx)))/++d/d);o+=(cos(p.z+vec4(0,1,3,0))+1.5)/d/z;}o=tanh(o/8e2);
for(float i,d,z;i++<1e2;){vec3 p=z*normalize(r.xyy-FC.rgb*2.)-1.;d=max(p.y,0.);p.y-=d+d;p.z+=t;z+=d=.3*(.1*d+.01+length(vec2(cos(p.z*6.)/6.,1.-dot(cos(p),sin(p).yzx)))/++d/d);o+=(cos(p.z+vec4(0,1,3,0))+1.5)/d/z;}o=tanh(o/8e2);
foo :: Monad m => Int -> m Int
foo x = do
undefined
pure x
I do have `res <- foo 10` and `res` is later print. What is the outcome?
a) Exception, non termination, well, something related to "undefined"
b) Eventually it prints 10
c) We cannot know.
foo :: Monad m => Int -> m Int
foo x = do
undefined
pure x
I do have `res <- foo 10` and `res` is later print. What is the outcome?
a) Exception, non termination, well, something related to "undefined"
b) Eventually it prints 10
c) We cannot know.
Think Science and especially Medicine has somehow failed you? Think again.
#ScienceMatters
Think Science and especially Medicine has somehow failed you? Think again.
#ScienceMatters
Petrostates, fossil fuel companies, and their lackeys can sabotage diplomacy, but it's becoming increasingly transparent what they do is simply evil, while we will ditch fossil fuels anyway.
Here's the snap analysis from the CB team…see last line
unfccc.int/sites/def...
Petrostates, fossil fuel companies, and their lackeys can sabotage diplomacy, but it's becoming increasingly transparent what they do is simply evil, while we will ditch fossil fuels anyway.
But the focus should not be on commodities like raw materials, solar panels, or battery cells, but on the energy management software (EMS) that steers these assets.
🧵
China has doubled the export of solar cells+wafers to assemble abroad in the last several months.
It still exports about the same amount of solar panels.
In October - for the first time - it exported more cell+wafers than panels 🧵
But the focus should not be on commodities like raw materials, solar panels, or battery cells, but on the energy management software (EMS) that steers these assets.
🧵
Or:
How
I Learned
To
Stop
Worrying
And
Love
Profunctors
I wrote a Blog Post for programmers about how to use parser combinators to also generate printers, grammars and regular expressions!
github.com/morphismtech...
Or:
How
I Learned
To
Stop
Worrying
And
Love
Profunctors
I wrote a Blog Post for programmers about how to use parser combinators to also generate printers, grammars and regular expressions!
github.com/morphismtech...
hindsight.events/content/post...
hindsight.events/content/post...
Stem met je hart. Het klopt altijd 💚
Stem met je hart. Het klopt altijd 💚
Let me know what you think :)
#Haskell
chrispenner.ca/posts/arrow-...
Let me know what you think :)
#Haskell
chrispenner.ca/posts/arrow-...