Better HN
topnewbestaskshowjobs
Log inSign up

postalcoder

5,254 karma · joined Jul 19, 2024 (2y ago) · 609 submissions

developing llm systems

side: https://hcker.news

ryan [at] hcker [dot] news

Submissions

comment 1y ago · link · parent

There was an issue with conversation leakage, though. It involved some bug with Redis.

I felt like it was a huge deal at the time but it’s surprisingly hard to quickly google it.

comment 1y ago · link · parent

so I started off by doing this - having a single claude.md file but in it putting references to paths to other instruction files.

I found this approach to be quite poor from the standpoint of cloud seems to treat user instructions very differently than other agentic code assistants and I think it’s because their system prompt is so long. As a result, I’m getting some pretty poor adherence to my claude.md file and I’ve noticed that very rarely if ever have I seen it reverse the file to any of the nested paths.

So.. im going to try to refactor my files to keep it all in the same file, with some heavy “LOOK AT ME” prompt engineering.

How about you?

comment 1y ago · link · parent

I’ve built a site that does the same sort of exclusion filtering, with a lot more bells and whistles. Very much in the spirit of “what if HN stayed HN, but had actual, very useful features.”

Here’s an “anti-ai” timeline filter:

https://hcker.news/?filter=top30&exclude=llm%2C+vibe%2C+open...

I’m not using the Algolia API, I ingest the hn fire hose on my own server so the filtering is very fast.

comment 1y ago · link · parent

Definitely install something like little snitch and keep an eye out for the requests that come out of vscode.

I’ve become very paranoid with extensions as of late. It’s great that llms have gotten so good and banging out personal tools. I am using a few home grown extensions in my own setup.

comment 1y ago · link · parent

I don't know if this is feedback for Kiro per se or more feedback for this category of applications as a whole, but I've personally noticed that the biggest barrier holding me back from giving an earnest look at new coding agents are the custom rules I've set up w/ my existing agents. I have extensively used Copilot, Continue, Cursor, Cline, Aider, Roo Code, and Claude Code. I've just finished porting my rules over to Claude Code and this is something I do not want to do again [even if it's as simple as dragging and dropping files].

Companies would benefit a lot by creating better onboarding flows that migrate users from other applications. It should either bring in the rules 1:1 or have an llm agent transform them into a format that works better for the agent.

comment 1y ago · link · parent

https://archive.md/5LkCe

547.

Gurman: Apple will seriously consider acquiring Mistral(bloomberg.com ↗)

5 points · by postalcoder · 1y ago · 5 comments

comment 1y ago · link · parent

I don't think we should ban ad blockers, but I also think it's fair to suggest that the loss of organic traffic could be affecting the incentive to create new digital content, at least as much as the fear of having your content absorbed into an LLM's training data.

comment 1y ago · link · parent

This is interesting. The reasoning and response don't line up.

  > Cloudflare is making the change to protect original content on the internet, Mr. Prince said. If A.I. companies freely use data from various websites without permission or payment, people will be discouraged from creating new digital content, he said

  >  prohibited except for the purpose of [..] artificial intelligence retrieval augmented generation 

This seems to be targeted at taxing training of language models, but why an exclusion for the RAG stuff? That seems like it has a much greater immediate impact for online content creators, for whom the bots are obviating a click.

comment 1y ago · link · parent

  > When you enable this feature via a pre-configured managed rule, Cloudflare can detect and block verified AI bots that comply with robots.txt and respect crawl rates, and do not hide their behavior from your website. The rule has also been expanded to include more signatures of AI bots that do not follow the rules.
We already know companies like Perplexity are masking their traffic. I'm sure there's more than meets the eye, but taking this at face value, doesn't punishing respectful and transparent bots only incentivize obfuscation?

edit: This link[0], posted in a comment elsewhere, addresses this question. tldr, obfuscation doesn't work.

  > We leverage Cloudflare global signals to calculate our Bot Score, which for AI bots like the one above, reflects that we correctly identify and score them as a “likely bot.”

  > When bad actors attempt to crawl websites at scale, they generally use tools and frameworks that we are able to fingerprint. For every fingerprint we see, we use Cloudflare’s network, which sees over 57 million requests per second on average, to understand how much we should trust this fingerprint. To power our models, we compute global aggregates across many signals. Based on these signals, our models were able to appropriately flag traffic from evasive AI bots, like the example mentioned above, as bots.

[0] https://blog.cloudflare.com/declaring-your-aindependence-blo...

comment 1y ago · link · parent

I'm still working on hcker.news, which first started as a more configurable hacker news frontpage, but has turned into a thing that I've found to be quite helpful at content discovery.

I recently by request[0] added a cohesive timeline view for hn's /bestcomments. The comments are grouped by story and presented in the order that they were added to the /bestcomments page. It's a great way to see popular comments on active topics. I'm going to add other frills like sorting and filtering, but this seems to be as good a time as any to get some of your thoughts!

You can check it out here: https://hcker.news/?view=bestcomments

[0] https://news.ycombinator.com/item?id=44076987 (thx adrianwaj)

comment 1y ago · link · parent

thank you too!

comment 1y ago · link · parent

Appreciate it! You can currently view by resort by number of comments if you switch top Top Comment view but I suppose allowing you to toggle between all is a trivial add. will add that. the colored vertical bar represents unseen stories.

comment 1y ago · link · parent

Which parts of the UI? And on mobile or in general?

comment 1y ago · link · parent

can you share your os/browser?

comment 1y ago · link · parent

There was already one in the about page but I added some verbiage more prominently up top as well.

comment 1y ago · link · parent

Wow, /bestcomments is one of those pages that I at one point knew existed but totally forgot about since.

There's no api for that (I don't think?), but I'm not averse to scraping. I suppose it'd work decently as a fourth view.

Would you want to just see it as a list of comments or also in a timeline view as well?

comment 1y ago · link · parent

> Clarify relationship with https://hckrnews.com/

clarified in the about page.

> Don't put the settings in localStorage, use URL params

Working on this

> The settings overview is too terse. What does something like "Timeline, Top 20, Day, Comments"? Maybe you could turn that into a concise natural language sentence.

Makes sense i'll give it a shot.

Thanks for the suggestions, open to more if you think of any!

comment 1y ago · link · parent

The flicker was introduced due to a temporary banner I put in that I've since removed. Try it again, thanks for letting me know about it.

comment 1y ago · link · parent

I'm glad to hear it!

comment 1y ago · link · parent

Great work with this, I like that we both thought to tackle similar things like sorting by date/score/comments within the timeline itself.

comment 1y ago · link · parent

Thanks! Feel free to email me if you have any feedback.

comment 1y ago · link · parent

I can add that, but it'll be local – are you okay with that setting not being synced?

comment 1y ago · link · parent

I just added a manifest, so you should be able to install it as a pwa, but some of the styling is rough around the edges in pwa mode. I'll clean it up.

comment 1y ago · link · parent

I have a feature branch that's working on just that. I'll get that up soon. In the meantime, configs are stored locally so they’re saved across sessions.

comment 1y ago · link · parent

I forgot to write it about it in the post. Appreciate Kagi's Small Web project, I love the filter too!

comment 1y ago · link · parent

I pushed an update. Please give it another go, sorry about that!

comment 1y ago · link · parent

Are you having issues viewing this on mobile? Which browser/device?

edit: I broke something yesterday and just fixed it. Thanks for the heads up. I tried to put some thought into making it useable on mobile, hope you try it again.

1
1718192021