IMO it depends on whether or not you're going to use `activeTodos` in a dependency array, and need a stable reference. I would probably `useMemo` here just to keep the reference stable, because bugs caused by unstable references are really annoying
42
Replying to @AndersonAndrue
Hey awesome, I find this syntax much more manageable than trying to cram everything into the first argument of `fc.property` -- especially stuff that depends on each other. I guess I shouldn't be surprised, since FC is monadic; but still!
1
13
Replying to @dillon_mulroy
If you aren't jinja-templating your nginx configs, are you really chilling?
1
37
Replying to @janbhwilhelm @dillon_mulroy
My guess is that this is a property test, though the thing being deserialized could also just be really big
1
1
43
Sixstring982 retweeted
Four months ago we took down our highly-praised website and replaced it with simple monospace text-heavy markdown files. Since then, people have reached out almost weekly asking what impact this had.
Did our conversions tank? Have we just completely given up?
Let's dig in.
Sixstring982 retweeted
my favorite part of the @arktypeio docs
Replying to @dillon_mulroy @EffectTS_
That `concurrency: 25` threw me off a bit -- I suppose `enrichEntityWithMetadata` is something that returns a `Promise` under the hood?
Good stuff here, I need to try out EffectTS!
1
1
116
Replying to @welltypedwitch
Awesome article, I found it today in Haskell Weekly! TIL about Linearity -- I'm excited to see that in Haskell. Its' a pretty cool feature!
1
14
Replying to @dillon_mulroy @MiTypeScript
Hey cool, that seems like a useful trick! I'm gonna need to look for places to use it lol
1
34
Replying to @devagrawal09
Indeed! Monads are really useful for encoding DSLs. You could totally make a builder monad, which could be useful in certain situations!
3
156
Oh cool, OCaml has dynamic arrays now? I guess I never really checked if it did lol
But yeah those are usually more performant than linked lists due to better cache locality and whatnot
Lol well OCaml would use a linked list and take advantage of tail call optimization, so the recursive function here is a great way to do it!
1
2
51








