Re: CBOR (Was: My experiences with Rust)

From: Sulev-Madis Silber <freebsd-hackers-freebsd-org952_at_ketas.si.pri.ee>
Date: Tue, 26 Aug 2025 14:31:24 UTC

On August 26, 2025 3:44:18 PM GMT+03:00, Vadim Goncharov <vadimnuclight@gmail.com> wrote:
>On Tue, 26 Aug 2025 14:19:23 +0300
>Sulev-Madis Silber <freebsd-hackers-freebsd-org952@ketas.si.pri.ee> wrote:
>
>> On August 26, 2025 11:57:14 AM GMT+03:00, Vadim Goncharov
>> <vadimnuclight@gmail.com> wrote:
>> >On Tue, 26 Aug 2025 05:09:46 +0300
>> >Sulev-Madis Silber <freebsd-hackers-freebsd-org952@ketas.si.pri.ee> wrote:
>> >  
>> >> when i finger the old sw and hw, same patterns appear. things could use
>> >> binary. things could be secured with deprecated methods. both will lead to
>> >> loss of access. your conversion program could get lost. what if in future,
>> >> my current favorite, json is also outdated and in same position of xml.
>> >> but those things you could at least read and parse with your own eyes.
>> >> sure, at some point the efficiency will maybe lead to binary formats but
>> >> this is at loss of use in future. i bet if we still have people messing
>> >> with data in future, i can already hear them yelling who was that asshole
>> >> that created all this. since it's usage loss, it's even easy to forget it
>> >> was for some greater good. even compression algorithms fail. ever had
>> >> that feeling, phew, at least this thing uses *TEXT*. i can read it with
>> >> standard tools? even if the output sucks balls. at least it's
>> >> understandable. unsure if this justifies text only outputs but be
>> >> prepared that somebody either discards or just curses a lot on your
>> >> binary formats as much as you and i do now. the problem is in extra tools
>> >> you need to invent to read all. yeah one could argue that maybe even
>> >> ascii text is special binary format, we just still have tools to "get"
>> >> it. but that thing has at least lasted for so long. along with c
>> >> programming language and so on. why did they last? nothing really bad
>> >> lasts. so maybe it was good? maybe people found it understandable? i have
>> >> no idea how future will be. but some of those things are older than me
>> >> and i can still understand them. why? it's all plain text!!! that one we
>> >> view as bad and inefficient and what not. it all doesn't matter if you
>> >> can't parse it  
>> >
>> >Your wall of something looking like ASCII text is completely unreadable.
>> >Could you rewrite it into something more understandable / structured?
>> >  
>> 
>> well, no, actually. i often look at paragraphs in others and don't know how
>> they split them. i never knew. but i bet you can still parse it with some
>> tools. i bet you could maybe find similar docs too somewhere. where noone
>> else overlooked it. but it's still better than binary? if it were something
>> machine readable. unsure, maybe "| tr '[:punct:]' '\n'"? i don't have honest
>> idea how to write. i recall school didn't teach the formatting stuff either
>> or i wasn't able to get. in either way, i don't know
>
>Спасибо за отличный наглядный пример. Мнение человека (о *форматах*), не
>потрудившегося даже как следует отформатировать свой текст (то есть не
>уважающего читателей), не заслуживает рассмотрения (а если не могущего, то
>это означает некомпетентность в вопросах программирования/форматов).
>
>
>-- 
>Yeah, you too can read this text with some tool.

there's difference in structured text and unstructured text. i don't think the free form the humans use has really any real structure in it. unsure. maybe that's why computers really suck at parsing anything meant for human consumption. tho, humans usually could parse the computer outputs. or maybe not. anyway that's not really a fbsd issue i can't find boundaries in my text to split it. to be honest, i don't know who even designed all the text ui the fbsd uses. feels like it wasn't the coder him/herself. whenever i try to do it for my own stuff, it looks always bad. that doesn't mean i don't know the difference between what i read. if i would be a good writer, or artist, or designer, or music composer, i don't think i would be here at all. to be honest, coding is difficult too because feels like others know more math or. but it don't find it illogical at least. anywhat that has nothing to do with formats anyway? at least people never told me that code is unreadable, whenever i try that. how to talk, yeah that i don't know