News for hackers. Stuff that matters.

dimfeld

Claude Code works similarly to Aider in that they both run in the terminal and write code using LLMs, but it shares no code with Aider as far as I know. Aider is written in Python and Claude Code in Javascript, among other reasons to think that it is not derived from Aider.

The tools also work very differently when you're actually using them, with Claude Code doing more of an agent loop and having very different methods of putting together the context to pass to the model.

Re:Building a Single-Page App with Htmx on Monday October 07, 2024 @01:35PM (#41768600)
Google for AHA stack. (Astro, HTMX, Alpine) There was a great site by Flavio Copes that went into a lot of detail on using them together but it looks like it’s gone.
Re:Open-Source AI necklace like Friend on Friday August 23, 2024 @11:18PM (#41335277)
I agree the title was a bit confusing. There were actually two separate AI pendant products, both named Friend.

My understanding is that this is one of them, and they changed the name shortly after the other was released.

Edit: ah seems the title has been updated

Re:Ask HN: Is it normal that Mistral answers he's GPT? on Saturday March 02, 2024 @04:03PM (#39575745)
LLMS tend to be pretty bad at answering questions about which one it is, what version, etc. You can put stuff into the system prompt to try to help it answer better, but otherwise the LLM has little to no intrinsic knowledge about itself and whatever happens to be in the training data shows up instead (which now is a bunch of ChatGPT output all over the internet).
Re:Resend Security Incident on Wednesday January 10, 2024 @06:14PM (#38944922)
I have no inside info, but it sounds like the key was inadvertently bundled into the client-side code. This could happen when using web frameworks that do both client-side and server-side rendering, if one of your client-side files imports something from a file that is supposed to be server-only, and contains the API key environment variable.

Some frameworks automatically detect this and fail to build if you do it, but apparently not all of them.

Re:GGML – AI at the Edge on Tuesday June 06, 2023 @05:58PM (#36219616)
Only the weights themselves. There have been other models since then built on the same Llama architecture, but trained from scratch so they're safe for commercial user. The GGML code and related projects (llama.cpp and so on) also support some other model types now such as Mosaic's MPT series.
Corresponding statement from bit.io here: https://blog.bit.io/whats-next-for-bit-io-joining-databricks...
Re:PostgreSQL Row Level Security on Sunday April 16, 2023 @01:05PM (#35591855)
Thanks, I hadn’t seen that!
Re:PostgreSQL Row Level Security on Sunday April 16, 2023 @01:04PM (#35591840)
Hmm, I thought this only really applied when you use functions which Postgres can’t reason about. Hence the LEAKPROOF keyword to help with this case.

Either way, I think it underscores that RLS shouldn’t be used for business logic. I’ll update the page to emphasize that more.

Re:PostgreSQL Row Level Security on Sunday April 16, 2023 @02:50AM (#35587863)
Author here. This page was actually just some notes I threw together in a couple of hours combining some research on RLS with my own existing knowledge, so it's quite possible there are some inaccuracies.

My "source" for thousands of users not scaling well was simply a few comments I found scattered around; there wasn't really anything empirical to back up that line. I'll remove it. Thanks for the note!

Re:Introduction to GeoJSON on Sunday February 12, 2023 @07:28PM (#34768706)
Hey all, this is the first in series I'll be writing on working with geographic data. This one is targeted toward newcomers to the geographic data world, to set the stage for more advanced topics.
Looks like there are some demo videos on the author's Youtube channel: https://www.youtube.com/watch?v=NlRxRtGpHHk
Re:Svelte took #1 spot in State of JavaScript 2020 survey on Wednesday January 13, 2021 @03:05PM (#25767259)
I've seen some of the GitHub issues that Rich is referring to in those tweets. They're almost always cases where someone is asking for some feature or change in Svelte and the core contributors disagree that it fits with the design and vision of the project.

Then the OP tags Rich in the hopes that he will swoop in and and override the decision. It's almost always more of a tantrum than a real request for help.

As far as project progress, most of the recent work has been on SvelteKit, but I've been using Svelte for about a year now and it has steadily gained features during that time. It's definitely not in bugfix-only mode.

Re:Why we decided against GraphQL for local state management on Saturday August 22, 2020 @04:51PM (#24247173)
I wrote some about my experiences using Leaflet with Svelte: https://imfeld.dev/writing/leaflet_with_svelte

I found you have to do some extra work to keep track of things to convert from declarative style to Leaflet’s imperative style, but overall I actually had a pretty good experience with it. Feel free to ping me on Twitter (same username) if you have any questions.

Re:Show HN: Fund the Rebuild on Tuesday June 02, 2020 @02:04PM (#23393992)
I made FundTheRebuild.com yesterday as a small way to help people and small businesses who are suffering in the wake of the riots going on throughout the US right now. It's designed to bring attention to the GoFundMe campaigns that don't go viral.

All the sorting options focus on campaigns with the least number of donations, most money remaining toward the goal, and so on. The list is still fairly small, so if you know of any other GoFundMe campaigns that should be on there, you can submit them at https://fundtherebuild.com/add.

Older »