Re:Sj.h: A tiny little JSON parsing library in ~150 lines of...
by ethanwillis on Sunday September 21, 2025 @05:01PM
(#45326600)
Why play all these semantic games? You're saying it's the author's problem. You want them to even edit their readme to include warnings for would be production/business users who don't want to pay for it.
[ Parent
| on HN ]
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of...
by layer8 on Sunday September 21, 2025 @07:30PM
(#45327618)
GP is arguing about licences. Yes, formally there is no obligation, and I'm not saying the author has any such obligation.
In the present case, either the UB in the code is by mistake or lack of awareness, and then it's warranted to point out the error, or, as GGGP argued, the author deliberately decided to neglect safety or correctness, and then in my opinion you can't reject the criticism as unwarranted if the project's presentation isn't explicit about that.
I'm not making anything the author's problem here. Rather, I'm defending my criticism of the code, and am giving arguments as to why it would be good form to make it explicit if a project doesn't care about the code being safe and correct.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of...
by stevepotter on Monday September 22, 2025 @07:07AM
(#45331781)
I understand your point and if I were the author I would want either a disclaimer or a fix. File an issue or make a pr. Filing an issue is quicker and more fruitful than dealing with folks here
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of...
by president_zippy on Sunday September 21, 2025 @10:13PM
(#45328483)
There are two kinds of people in this world: people who do things, and people who bitch about other people doing things. layer8 is the latter because being the former takes too much effort.
Misery loves company, and losers love dragging other people down to their level so they feel a little less lonely.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of...
by lixtra on Monday September 22, 2025 @12:57AM
(#45329214)
Layer8 DID the thing though, skimmed through the code and thought about security issues.
Re:Sj.h: A tiny little JSON parsing library in ~150 lines of...
by madeofpalk on Monday September 22, 2025 @09:59AM
(#45333594)
It is useful to understand the limitations of such hobby programs to know what they are useful for.