You are reading content from Scuttlebutt
Feed of @nichoth


Re: %8tzPa5/B7

Awesome work @Zach!! This looks really good to me… nothing seems glaringly wrong. I would echo what was said above about catching all errors in promises. I saw an optimization you can do —


const smarkt = require('smarkt')
const _ = require('lodash')

lodash is a big library, but they have separate packages for each function, so instead of requiring all of lodash, you can require just things that you use. That way you're app's bundle size will be smaller.

const _ = {
  map: require('')

And in this context, you could use native JS also. Another utility library I use sometimes is, just to save bytes in the file size.

To make a comment in a string literal, I've seen people do it like this:

    ${/* this is a comment */}
    ${branchPlacard(state, emit)}

I'm hitting some issues with it where I think the code might be more fragile, or illogical

What makes you feel this way? Are you trying to add features, accidentally breaking things? These feelings are important, but can be hard to define.

Voted # Prune Request: Dat Zine Library ![lrg_grass.gif](&iTaU868jv3Ar+hAKvAYD1r
Voted [@nichoth](@Hn9ye+0RgZDXvp+Km4EC36pN1/xB5ultjTxC0RZW2BM=.ed25519) yes I am
Re: %FOyO23xiO

@Dominic I haven't been following this thread too closely, but I briefly took an undergrad course about AI & search algorithms. I remember we spent a lot of time with the a* algorithm, which I read is an optimized version of dijkstra's algorithm.

Voted ### Bucket Tek I'll be offering a brief mushroom cultivation workshop as p
Voted Just a quick update that []( has been
Voted # Protocol Overview is a turn-based collaborat
Voted ![cozinha.JPG](&2XskWvofgrx5BEGXHcms9thCfchbwuo6AmyV6g++6Gg=.sha256) Cozin
Voted Thoughts: I need an efficient way to process changes to the follow graph in
Voted A brief tour of Rosemont, IL ![1.jpg](&K2+0bTKcqO71mSO8vnuxDeiWJmPjsaB8dgD

Show whole feed
Join Scuttlebutt now