Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"This tool uses the WebAssembly build of Perl running actual SLOCCount algorithms from licquia/sloccount."

The best form of (AI) plagiarism is to simply wrap the original tool in your own facade and pretend like you built anything of value.

Is this intended to be a bad joke?



You're criticizing me for directly crediting the original here. That's the correct and ethical thing to do!

Honestly, I've seen the occasional bad faith argument from people with a passionate dislike of AI tooling but this one is pretty extreme even by those standards.

I hope you don't ever use open source libraries in your own work.


Actually, my criticism was the result of my own misunderstanding of what you were claiming. My apologies for that, although I'm still unlikely to use these tools based upon the example when my own personal counterexamples have shown me that it's often as much or more work to get there via prompting than it is to simply do the thinking myself. Have a good day.


Thanks - this was a misunderstanding, apology accepted!


For whatever it's worth, this is exactly the kind of awful that I never want in any code base that I'm working on:

<https://github.com/simonw/tools/blob/473e89edfebc27781b43443...>

At least run a pretty-printer on the code so that it can be reviewed by anything but a robot.

Part of developing a good software system is about exercising taste in vendored-in libraries and, especially, the structure around them.

P.S. I've gone to look at other chunks of Javascript and see that I was unlucky to grab this steaming pile first.


That was vendored in from this project: https://webperl.zero-g.net/ - it's one of the files distributed in the zip file listed here: https://webperl.zero-g.net/using.html#basic-usage

Originally I tried to get it working loading code directly but as far as I can tell there's no stable CDN build of that, so I had to vendor it instead.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: