Live data from Hacker News

Potential issues in curl found using AI assisted tools

mastodon.social

91–100 of 203 posts

Re: Potential issues in curl found using AI assisted tools

#92
post #88

Earlier quoted context omitted.

My mistake. I confused Mataroa with Matasano: https://ludic.mataroa.blog/blog/contra-ptaceks-terrible-arti...

I think you owe me a better apology than that. I disagree with your evaluation of the response to that post, strongly, but more importantly I didn't bring it up in the first place, and the claim you made about it (intentionally or not; awfully weird to land at my company's name) was personal and scurrilous. Your call! I'm moving on.

refulgentis mentioned your fly.io article as evidence that the "AI" science is settled.

I remembered quite a bit of a blowback and unfortunately saw the Mataroa article last week. It contains a reference to Matasano; I didn't look closely at the URL and mentally classified Matasano as a classic informal hacker company with extreme free speech blogs, where you could criticize the founder with a typical hyperbolic article.

That is all there is to it.

Re: Potential issues in curl found using AI assisted tools

#93

More interesting to me is how to stop these bugs from occurring in the first place. The example given in the thread is the kind of bug that C (and mutation) excels at creating.

The linked blog post https://joshua.hu/llm-engineer-review-sast-security-ai-tools... shows that most of the used tools can be run in ci and comment on the PRs.

Re: Potential issues in curl found using AI assisted tools

#94

This is exactly what I'd want from an 'AI coding companion'. Don't write or fix the code for me (thanks but I can manage that on my own with much less hassle), but instead tell me which places in the code look suspicious and where I need to have a closer look. When I ask Claude to find bugs in my 20kloc C library it more or less just splits the file(s) into smaller chunks and greps for specific code patterns and in t…

> When I ask Claude to find bugs in my 20kloc C library it more or less just splits the file(s) into smaller chunks and greps for specific code patterns and in the end just gives me a list of my own FIXME comments (lol), which tbh is quite underwhelming - a simple bash script could do that too. Here's a technique that often works well for me: When you get unexpectedly poor results, ask the LLM what it thinks an effec…

This is a great idea, and worth doing. An other option in Claude code, that can be worth trying, is the planning mode, which you start with ctrl+tab. Have it plan out what it's going to do, and keep iterating it, until the plan seems sound. Tbh. I wish I've found the planning mode earlier, it's been such a great help.

Re: Potential issues in curl found using AI assisted tools

#95

This is exactly what I'd want from an 'AI coding companion'. Don't write or fix the code for me (thanks but I can manage that on my own with much less hassle), but instead tell me which places in the code look suspicious and where I need to have a closer look. When I ask Claude to find bugs in my 20kloc C library it more or less just splits the file(s) into smaller chunks and greps for specific code patterns and in t…

I've had reasonably good success with asking Claude things like: "There's a bug somewhere that is causing slow response times on several endpoints, including . Sometimes response times can get to several seconds long, and don't look correlated with CPU or memory usage. Database CPU and memory also don't seem to correlate. What is the issue?" I have to iterate a few times but it's hinted me a few really tricky issues that would have probably taken hours to find.

Definitely optimistic for this way to use AI

Re: Potential issues in curl found using AI assisted tools

#96
post #32

Earlier quoted context omitted.

This is a point I see discussed surprisingly little. Given that many (most?) programmers like designing and writing code (excluding boilerplate), and not particularly enjoy reviewing code, it certainly feels backwards to make the AI write the code and relegate the programmer to reviewing it. (I know, of course, that the whole thing is being sold to stakeholders as "LoC machine goes brrrr" – code review? what's that?)

Creativity is fun. AIs automate that away. I want an AI that can do my laundry, fold it, and put it away. I don't need an AI to write code for me. I don't mind AI code review, it sometimes has a valid suggestion, and it's easy enough to ignore most of the rest of the time.

depends on what abstraction level you enjoy being creative at.

Some people like creative coding, others like being creative with apps and features without much care to how it's implemented under the hood.

I like both, but IMO there is a much larger crowd for higher level creativity, and in those cases AIs don't automate the creativity away, they enable it!

Re: Potential issues in curl found using AI assisted tools

#98
post #78
post #71

Earlier quoted context omitted.

It’s clear my attempt to keep the gist of what Daniel said while keeping under the title character count didn’t hit the mark. How would you have worded it?

Always tricky! In this case maybe the following: Daniel Stenberg on 22 curl bugs reported using AI-assisted security scanners

That doesn’t really convey that these bug reports were for real issues and greatly appreciated unlike the slop that Daniel is known for complaining about which I think that’s the real story here.

I will spend longer considering my title next time.

Cheers!

Re: Potential issues in curl found using AI assisted tools

#99
post #87

Earlier quoted context omitted.

Is AI automating creativity away if you come up with an idea and have it actually implement it?

Yes, because ideas are not worth much if anything. If you have an idea of a book, or a painting, and have someone else implement it, you have not done creative work. Literally, you have not created the work, brought it to existence. The creator has done the creativity.

I guess that depends on how much oversight you engage in. A lot of famous masters would oversee apprentices and step in for difficult tasks and to finish the work, yet we still attribute the work to those masters. Most of the work in science is done by graduate students, but we still attribute the lion's share of the credit to PIs.

Re: Potential issues in curl found using AI assisted tools

#100
post #88

Earlier quoted context omitted.

My mistake. I confused Mataroa with Matasano: https://ludic.mataroa.blog/blog/contra-ptaceks-terrible-arti...

I think you owe me a better apology than that. I disagree with your evaluation of the response to that post, strongly, but more importantly I didn't bring it up in the first place, and the claim you made about it (intentionally or not; awfully weird to land at my company's name) was personal and scurrilous. Your call! I'm moving on.

I emailed you about two hours ago based on the last email exchange we had, about 7 years ago. I included the email addresses I had for you at the time, which included Matasano. Presumably this is why someone mentioned it in a comment to you.

did you get my email?

Post reply on HN