Live data from Hacker News

Show HN: Bo, the Swiss army knife of data examination and manipulation

github.com

1–10 of 22 posts

Re: Show HN: Bo, the Swiss army knife of data examination and manipulation

#5
It looks like a useful tool, thank you for taking the time to write it.

I realise that further down the page you explain what the various type definitions mean, but it might be nice to make that clear in the initial examples you give.

For instance, say:

    See the per-byte layout (_oh1_) of a larger integer in big (_ih4b_) or little (_ih4l_) endian format, separating each byte with a space (_Ps_).

    $ bo -n oh1 Ps ih4b 12345678
    12 34 56 78
    
    $ bo -n oh1 Ps ih4l 12345678
    78 56 34 12
It otherwise look a little bit like voodoo to the untrained eye!

Re: Show HN: Bo, the Swiss army knife of data examination and manipulation

#6

You mean, when under pressure, and used in the wrong way it will suddenly fold up and take a chunk out of its owner?

Thanks for instilling a “fear” of that in me to watch out for when using Swiss knives from now on.

Re: Show HN: Bo, the Swiss army knife of data examination and manipulation

#9

It looks like a useful tool, thank you for taking the time to write it. I realise that further down the page you explain what the various type definitions mean, but it might be nice to make that clear in the initial examples you give. For instance, say: See the per-byte layout (_oh1_) of a larger integer in big (_ih4b_) or little (_ih4l_) endian format, separating each byte with a space (_Ps_). $ bo -n oh1 Ps ih4b 12…

Yes, I was a bit torn between showing a bunch of what it can do, and getting so verbose that people stop reading. This tool is surprisingly difficult to explain concisely!

Re: Show HN: Bo, the Swiss army knife of data examination and manipulation

#10
post #6

You mean, when under pressure, and used in the wrong way it will suddenly fold up and take a chunk out of its owner?

Thanks for instilling a “fear” of that in me to watch out for when using Swiss knives from now on.

You'll be OK as long as you don't push down on the tip of the blade (imagine trying to use the point to drill a hole in some leather. The blades don't lock, so can fold expectedly.

Other than that, lovely things. I was making a weak joke, which received the downvotes it deserved :)

Post reply on HN