HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jkern

no profile record

comments

jkern
·8 months ago·discuss
He says that having the ability to tailor the amount of powder for the size of the load is one of the selling points of powder. But I'm guessing most people would much rather waste the few cents of savings in exchange for not needing to think about their dishes even that tiny bit extra.
jkern
·2 years ago·discuss
We're earthlings. Let's blow up earth things
jkern
·3 years ago·discuss
Totally agree. Kim's vocals are usually way more interesting
jkern
·3 years ago·discuss
I enjoy Sonic Youth a fair bit, but in the majority of cases find Thurston Moore completely uncompelling as a singer.
jkern
·3 years ago·discuss
Glyphosate is great for killing the invasive Tree of Heaven which is rampant in my area. Really the only time I've needed to use it personally
jkern
·3 years ago·discuss
I'm not trying to be harsh, but it genuinely sounds like you have no idea what you're talking about
jkern
·3 years ago·discuss
It really is jarring that this is about the actual justification for a war, and his response basically boils down to "well we don't know they haven't done it or if they might in the future".
jkern
·3 years ago·discuss
Bit of a Pyrrhic victory isn't it?
jkern
·3 years ago·discuss
Funnily enough I've had a very similar bug occur in an entirely separate redis library. It was a pretty troubling failure mode to suddenly start getting back unrelated data
jkern
·4 years ago·discuss
I do a similar thing, except for making gifs:

    if [ -z $3 ] 
    then
        echo "usage: $0 file start_seconds duration [scale=600] [fps=15] [crop]"
        exit 1
    fi

    if [ -z $4 ]
    then
        SCALE=600
    else
        # w=iw/2:h=ih/2 half size
        SCALE="$4"
    fi

    if [ -z $5 ]
    then
        FPS=15
    else
        FPS=$5
    fi

    if [ -z $6 ]
    then 
        CROP="crop=iw:ih:0:0,"
    else
        # CROP="600:ih:250:0" full height
        CROP="setsar=1,crop=${6},"
    fi

    rm "${1}.gif" &> /dev/null

    ffmpeg -ss $2 -t $3 -i "$1" -vf  ${CROP}fps=${FPS},scale=${SCALE}:-1:flags=lanczos,palettegen palette.png -loglevel error
    ffmpeg -ss $2 -t $3 -i "$1" -i palette.png -filter_complex "${CROP}fps=${FPS},scale=${SCALE}:-1:flags=lanczos[x];[x][1:v]paletteuse" "${1}.gif" -loglevel error
jkern
·4 years ago·discuss
Ohhhh that's lovely
jkern
·4 years ago·discuss
I'm not sure bashrc tweaks completely qualify but considering it involves probably the most convoluted shell script I've ever had to come up with I'll plug https://github.com/jkern888/bash-dir-collapse. I like having the current directory in my prompt but got annoyed at how long it could get so made this to shrink the overall length without completely sacrificing the full path
jkern
·5 years ago·discuss
You sold me! Starting it now
jkern
·8 years ago·discuss
My understanding is that graph databases are better suited to handling many-to-many relationships