You are reading content from Scuttlebutt
Feed of @nichoth

github

@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 —

volunteers/addNewZines.js

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('lodash.map')
}

And in this context, you could use native JS array.map also. Another utility library I use sometimes is https://github.com/micro-js, just to save bytes in the file size.


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

    <body>
    ${/* 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.

@nichoth
Voted # Prune Request: Dat Zine Library ![lrg_grass.gif](&iTaU868jv3Ar+hAKvAYD1r
@nichoth
Voted [@nichoth](@Hn9ye+0RgZDXvp+Km4EC36pN1/xB5ultjTxC0RZW2BM=.ed25519) yes I am
@nichoth
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.

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

Show whole feed
Join Scuttlebutt now