Better HN
topnewbestaskshowjobs
Log inSign up

richardbarosky

918 karma · joined Aug 18, 2020 (6y ago) · 132 submissions

Submissions

1.

California sues OpenAI over safety concerns after rogue agent hacking(theguardian.com ↗)

4 points · by richardbarosky · 2w ago · discuss

comment 1mo ago · link · parent

Agree. Was starting to look seriously into Google's AI stuff last night.

Owning the best search index and being able to retrieve content immediately straight out of their index seems like such a massive competitive advantage.

FWIW, from my prompt last night: https://chatgpt.com/share/6ae8d441-8c44-83e9-980c-b14a2ed846...

3.

(2025) Navigating the Noise: Separating Security Reality from Hype(bitsight.com ↗)

2 points · by richardbarosky · 1mo ago · discuss

comment 1mo ago · link · parent

Tend to agree that for the strongest use cases, AI companies will prefer to sell the technique as a service rather than its raw output (e.g., their enterprise security services). For use cases where the output is less valuable, tokens are sold. If AI tokens were so magical in creating new value in developing software applications generally, they wouldn't be selling tokens directly. They'd hoard the tokens are use them to dominate SaaS software in any industry they want.

The same way as someone selling an expensive course in the stock market is signaling that they have more to gain by selling the course rather than taking their knowledge and making money in the stock market directly.

https://github.com/anthropics/defending-code-reference-harne...

Interestingly, it states:

"This repo is not maintained and is not accepting contributions.

Want a managed option? Anthropic offers Claude Security, a hosted product that finds and fixes vulnerabilities in your source code across multiple projects. Claude Security scans your repository for vulnerabilities, applies a multi-stage verification pipeline to reduce false positives, and lets you manage findings through their lifecycle: triage, fix validation, and rapid fix generation.

This repository is an open-source reference implementation based on general best practices for finding vulnerabilities using Claude. You can use it to build your own vulnerability finding pipeline, customize the logic, and it can be used with whatever access you have to Claude APIs (including Bedrock, Vertex, or Azure)."

comment 1mo ago · link · parent

What kind of pisses me off was that there were kind of two sides of the continuum.

You've got the detailed technical writeup on one end in the patches themselves, and on the other end you've essentially got the AI and security companies both together (php2shell) and independently with their highly polished microsites and blog posts with attractive infographics and stylized pitch deck looking images.

Every publication on the other side of the detailed technical writeup in the patches themselves wanted to make it into a huge fucking marketing stunt first and foremost, providing absolutely zero added practical benefit or value.

https://www.php2shell.com/

https://patchtheplanet.org/

https://www.wiz.io/blog/php2shell-php-rce

https://calif.io/php2shell/

comment 1mo ago · link · parent

Here's what I did at least.

I initially updated the following php.ini setting and verified that it updated via phpinfo(). I understand this to be only a possible mitigation (see below).

  session.upload_progress.enabled = Off
  file_uploads = Off
According to someone stating they are one of the PHP release managers:

  "INI settings alone won't protect you. You need to patch PHP."
https://www.reddit.com/r/PHP/comments/1xb2utu/comment/phyu5m...

I use Apache, and added an htaccess rewrite rule in my base directory to block all requests containing multi-part headers. Rewrite rules can also be added into Apache virtual host blocks. Accepting file uploads are not a critical function of the app in my case. This blocks multi-part form requests before they reach PHP.

  RewriteCond %{HTTP:Content-Type} multipart/form-data [NC]
  RewriteRule ^ - [F,L]
And verified the non-block vs. block case. https://freeimage.host/i/nOqumyN

I'm continuing to learn about the situation and may take the server offline as I learn more.

The writeup I found here:

https://jackalsyn.com/posts/php-up-2026.html

Content from a couple of my ChatGPT 6 Pro sessions about the issue:

https://chatgpt.com/share/6ad89ea3-b2f0-83ea-9c4c-2ecf5cc24b...

https://chatgpt.com/share/6ad8ad3d-3f6c-83e9-abf0-41da8a0d65...

  The vulnerability was rated 9.2 (critical) out of 10 under CVSS v4.0 by PHP developers,[1] while security firm watchTowr rated it a full 10.0.
https://en.wikipedia.org/wiki/PHP2Shell

comment 1mo ago · link · parent

Would you mind sharing one or two of the top ones you saw? Definitely interested to check those out.

comment 2mo ago · link · parent

Ha, I thought it was going to be the bet of trying to move as fast as possible with high volumes of AI generated code where the hope is that the AI itself will simply advance so rapidly as to make otherwise "maintainability challenged" code something that doesn't need to be considered.

9.

Uber Wait Times Rise 19% as Prices Climb 53%: Study(businessinsider.com ↗)

30 points · by richardbarosky · 2mo ago · 13 comments

comment 2mo ago · link · parent

Writing about these things in public and putting yourself out there is greatly appreciated. Hats off for that!

However, as far as what's being pursued, it seems more like wantonly trying to ride a hype cycle without strongly questioning the end-to-end value of new software development approaches or vetting their immediate suitability.

Personally, I think it would be more sensible to take a few individuals or a smaller team(s) and do more isolated/skunkworks experimentation and adopt as justified based on what those people report/experience. The smaller group can adjust faster and iterate/advise the larger dev org about the good approaches/techniques/strategies, and avoid more broad damage/chaos for things that aren't that well thought out.

For more conservative AI use cases like adding to code review, writing low stakes PR summaries, or beefing up security checking, a more global, but still not off-the-rails, approach would be the kinds of things that would make more sense to push more broadly.

comment 2mo ago · link · parent

The pendulum has swung too far in the direction of class, function, cyclomatic complexity (and here, CRAP) and similar idiotic metrics.

This reminds me of a talk Sandi Metz did called "All the Little Things" where she covers the Gilded Rose kata. In the talk, she reworks her solution until there's almost nothing left showing the essence of the problem being solved.

The cyclomatic complexity metric is touted at each step as a proxy for goodness of design and removal of complexity. However, a weakness of the measure itself is that it doesn't account for the control flow indirection that happens through OO method dispatch itself.

At the same time, Kevlin Henney's talk called "Gilding the Rose" takes the same kata and arrives at a far more sane solution he works up to and reveals at the end.

Short functions used to be hot. Uncle Bob used to proselytize "The first rule of functions is that they should be short. The second rule of functions is that they should be shorter than that." Now emphasizing the benefits of longer functions is pretty trendy. https://github.com/johnousterhout/aposd-vs-clean-code

This industry is pretty idiotic sometimes ¯\_(ツ)_/¯

comment 4mo ago · link · parent

I'm seeing what looks like a date in the top-right corner of the header banner. Not sure if it was added in response to the note, so mentioning just in case!

comment 4mo ago · link · parent

I'm personally not a FE expert, but I love to see this kind of writeup and the creative problem solving/thinking. Great post!

comment 4mo ago · link · parent

Thank you for sharing, really appreciate Hillel's content!

comment 4mo ago · link · parent

Interesting take! I feel like 2 of them are maybe overstated:

> - extent to which correctness of solution be easily specified and checked

I don't think most software is like solving a math problem or series of math problems. Algorithmic problems are very narrow and might be more like this though, where an oracle that verifies answers as either correct or incorrect exists beforehand.

The correctness function of most software is how much users want to use/pay for it, which is a pretty fuzzy problem. Since the cost of copying software is effectively zero, software systems also tend to be be unique rather than being exactly like something else, and don't converge to be like another software system but rather diverge.

The prior art point is an interesting one. At least for applications as a whole, there isn't really prior art for a material amount of all the problems/tradeoffs a non-trivial software application embodies. For a todo list app or make a social network project, there's plenty of prior art to be sufficient to build something with an LLM system, but probably not most apps.

That's my initial intuition anyway.

comment 5mo ago · link · parent

Don't have much to say on the topic but recalled this excerpt from the book Coders at Work in the chapter interviewing Douglas Crockford.

``` In my experience, the worst bugs are the real-time bugs, which have to do with interactions with multiple threads. My approach to those bugs is to avoid making them. So I don't like threads. I think threads are an atrocious programming model. They're an occasionally necessarily evil, but they're not necessary for most of the things we use threads for.

One of the things I like about the browser model is that we only get one thread. Some people complain about that—if you lock up that thread, then the browser's locked up. So you just don't do that. There are constantly calls for putting threads into JavaScript and so far we've resisted that. I'm really glad we have.

The event-based model, which is what we're using in the browser, works really well. The only place where it breaks down is if you have some process that takes too long. I really like the approach that Google has taken in Gears to solving that, where they have a separate process which is completely isolated that you can send a program to and it'll run there. When it's finished, it'll tell you the result and the result comes back as an event. That's a brilliant model. ```

comment 6mo ago · link · parent

> Coding the product is not the bottleneck or what grants you success.

Agree, and I think that's the core of my point.

Not that it's irrational or doesn't make sense to sell tokens for purposes of software dev, but that if tokens were a true game changer for success in software dev, they wouldn't be leading with token sales, the same way they're not leading with token sales for security stuff -- it's more like "Contact Sales".

comment 6mo ago · link · parent

To be sure, security is an amazing AI/LLM use case. A huge swath of the work is pattern matching known security issues against stuff that's very precise to analyze -- programming language text.

Something that stands out is that for the strongest use cases, AI companies will prefer to sell the technique as a service rather than its raw output. For use cases where the output is less valuable, tokens are sold. If AI tokens were so magical in creating new value in developing software applications generally, they wouldn't be selling tokens directly. They'd hoard the tokens are use them to dominate SaaS software in any industry they want.

The same way as someone selling an expensive course in the stock market is signaling that they have more to gain by selling the course rather than taking their knowledge and making money in the stock market directly.

19.

Popular YouTuber says upcoming AI course expecting several million in revenue

3 points · by richardbarosky · 6mo ago · discuss

comment 6mo ago · link · parent

Yeah, it seems like the article should have qualified the issue more or been more precise. Instead of "You Need AI That Reduces Maintenance Costs", something like "Your Use of AI Should Reduce Maintenance Costs".

Some of the maintenance costs you mentioned are primarily read-only, slam dunk AI use cases. Input from AI to diagnose bugs, trace data flows, and help with reasoning. Tests are something of a gray area in the sense that they are not read-only but they don't affect the logic of the app itself.

The "write" use cases (you mention refactoring and the author seems to primarily focus on writing code) is where the author's point seems to be primarily aimed at.

Definitely agree on the read-only improvements to maintenance. Those are unquestionable slam dunk, high value improvements.

comment 6mo ago · link · parent

Insightful. Agree with this take.

Unfortunately, maintainability is simply bucketed as a "non-functional" requirement.

Maintainability (and similar NFRs) should actually be considered what preserves and enables the delivery of future functional requirements -- in contrast to framing non-functional requirements as simply "how" the software must do what it does vs. the "what"/functional requirements that "actually matter".

From that standpoint, if a steady flow of features/improvements is important for a project, maintainability isn't really a non-functional requirement at all, and amounts to being a functional requirement, in practice, over anything except the shortest of time horizons.

22.

Unicorn social app IRL to shut down after admitting 95% of its users were fake(techcrunch.com ↗)

58 points · by richardbarosky · 3y ago · 18 comments

23.

Technofad Driven Development

2 points · by richardbarosky · 3y ago · discuss

12345