Roy Badami [ARCHIVE] on Nostr: 📅 Original date posted:2012-12-03 📝 Original message:On Mon, Dec 03, 2012 at ...
📅 Original date posted:2012-12-03
📝 Original message:On Mon, Dec 03, 2012 at 05:34:12PM -0500, Jeff Garzik wrote:
> You shouldn't need to escape and unescape data that is not being
> interpreted in any way.
Funilly enough pretty much all low-level links that make up the
Internet use either bit-stuffing or byte-stuffing to escape a
particular bit sequence or byte that terminates an HDLC frame.
I'm not particularly agreeing or disagreeing with you on the
suitability for the case at hand, but as an absolute your statement
doesn't hold water. The use of a terminator for a variable-length
data structure rather than a length prefix is a design desicion that
has little-to-nothing to do with the debate of text-versus-binary.
Anyone remember Holerith constants?
roy
Published at
2023-06-07 10:44:17Event JSON
{
"id": "75b0e5b8fadf9606ca14af4fd20fedb497d637b5c40f71edb2edff1fde78352d",
"pubkey": "58f160e0dbc661605704b190e36f5199f881c861e53763c7057e6bc0c13e6950",
"created_at": 1686134657,
"kind": 1,
"tags": [
[
"e",
"1bd78b419247dfb60fa2e8b1cf4983b406411160c7aa6e19780a4034c5da34de",
"",
"root"
],
[
"e",
"913b33e0b0bc09c183030b32fec05a210a0dba2a256e87e0f2b7d2f417ef94a9",
"",
"reply"
],
[
"p",
"4aa6cf9aa5c8e98f401dac603c6a10207509b6a07317676e9d6615f3d7103d73"
]
],
"content": "📅 Original date posted:2012-12-03\n📝 Original message:On Mon, Dec 03, 2012 at 05:34:12PM -0500, Jeff Garzik wrote:\n\u003e You shouldn't need to escape and unescape data that is not being\n\u003e interpreted in any way.\n\nFunilly enough pretty much all low-level links that make up the\nInternet use either bit-stuffing or byte-stuffing to escape a\nparticular bit sequence or byte that terminates an HDLC frame.\n\nI'm not particularly agreeing or disagreeing with you on the\nsuitability for the case at hand, but as an absolute your statement\ndoesn't hold water. The use of a terminator for a variable-length\ndata structure rather than a length prefix is a design desicion that\nhas little-to-nothing to do with the debate of text-versus-binary.\n\nAnyone remember Holerith constants?\n\nroy",
"sig": "cfea2aafc465f8d905c2cf8874632e3af7d070428f55bc3cf18b931cd915701d846aed7600aac690490490d3b172de537325acabd58a3354c83088384a7a993f"
}