Live data from Hacker News

Claude AI built me a React app to compare maps side by side

github.com

191–200 of 207 posts

Re: Claude AI built me a React app to compare maps side by side

#191

For years I've kept a list of apps / ideas / products I may do someday. I never made the time, with Cursor AI I have already built one, and am working on another. It's enabling me to use frameworks I barely know, like React Native, Swift, etc.. The first prompt (with o1) will get you 60% there, but then you have a different workflow. The prompts can get to a local minimum, where claude/gpt4/etc.. just can't do any be…

If you have the budget, I have also taken a liking to perplexity.ai. I got it free from my school and it basically aggregates searches for me with sources (but be sure to check them since sometimes it reads between the links so to speak). It basically does the Google searching for me and have returned more up to date API info than Claude nor ChatGPT knew about. Then I would let Claude or ChatGPT know about it by copying doc and source code to work from.

Re: Claude AI built me a React app to compare maps side by side

#192

For years I've kept a list of apps / ideas / products I may do someday. I never made the time, with Cursor AI I have already built one, and am working on another. It's enabling me to use frameworks I barely know, like React Native, Swift, etc.. The first prompt (with o1) will get you 60% there, but then you have a different workflow. The prompts can get to a local minimum, where claude/gpt4/etc.. just can't do any be…

> The first prompt (with o1) will get you 60% there, but then you have a different workflow. The prompts can get to a local minimum, where claude/gpt4/etc.. just can't do any better. At which point you need to climb back out and try a different approach.

So you're basically bruteforcing development, a famously efficient technique for... anything.

Re: Claude AI built me a React app to compare maps side by side

#193
post #122

What a feat! There's at least 3 pages of google search results for the nearly same thing. The "prompt" I used in google.com is: site:github.com map comparison I guess the difference, is that my way uses dramatically less time and resources, but requires directly acknowledging the original coders instead of relying on the plagiarism-ish capabilities of reguritating something through an LLM.

But creating things for which there are many existing, documented examples is what LLMs do best. Without this use case it's almost like they don't provide any value at all.

Everything you can think of right now has already been made in one form or another and hence learnt by LLMs, do you agree?

Or

Can you come up easily with many things that LLMs have no clue of and hence will fail?

Re: Claude AI built me a React app to compare maps side by side

#194
post #157

Earlier quoted context omitted.

We have different definitions of hacker. I played around with LLMs... Found they aren't very useful. Slapping a project together to ship isn't what hacking is about. Hacking is about deeply understanding what is actually happening under the hood by playing around, taking it apart, rebuilding it. When the craze started everyone here were out looking for ways to escape the safeties of the LLMs, or discussing how they a…

So almost every person on here is not a hacker since I’ve met very few people here who are knowledgeable about EE, computer architecture, compiler technology, or heck even how browsers work. Of course there are some, but HN is mostly about slapping together technology to sell your startup.

Don't correlate hackernews and YCombinator.

I am perfectly aware of the owner here but there is usually at least one or two posts a day here that has what I call a "hacker culture".

Re: Claude AI built me a React app to compare maps side by side

#195
post #129
post #100

Earlier quoted context omitted.

> For years I've kept a list of apps / ideas / products I may do someday. I never made the time, with Cursor AI I have already built one, and am working on another. This is one fact that people seem to severely under-appreciate about LLMs. They're significantly worse at coding in many aspects than even a moderately skilled and motivated intern, but for my hobby projects, until now I haven't had any intern that would…

I'm curious: what do you do when the LLM starts hallucinating, or gets stuck in a loop of generating non-working code that it can't get out of? What do you do when you need to troubleshoot and fix an issue it introduced, but has no idea how to fix? In my experience of these tools, including the flagship models discussed here, this is a deal-breaking problem. If I have to waste time re-prompting to make progress, and…

If it gets stuck, I tell it where I think we took a wrong turn. It then recognizes the issue and refactors in a way that for a hobby project I wouldn’t have had the patience for.

Re: Claude AI built me a React app to compare maps side by side

#196
post #165

Earlier quoted context omitted.

Things have improved considerably over the last 3 months. Claude with cursor.ai is certainly over 50%

I haven't used cursor.ai, but Claude 3.5 Sonnet definitely has the issues I'm talking about. Maybe I'm not great at prompting, but this is far from an exact science. I always ask it specific things I need help with, making sure to provide sufficient detail, and don't ask it to produce mountains of code. I've had it generate code that not only hallucinates APIs, but has trivial bugs like referencing undefined variable…

I think it really depends on the language. It generates pretty crap but working python code, but even for SQL it generates really weird crummy code that often doesn't solve the problem.

I find it really helpful where I don't know a library very well but can assess if the output works.

More generally, I think you need to give it pretty constrained problems if you're working on anything relatively complicated.

Re: Claude AI built me a React app to compare maps side by side

#197

Earlier quoted context omitted.

I learned to drive before in-car GPS was widely available, at least where I lived. Going to some new place meant getting a map, looking at it, making a plan, following the plan, keeping track on the map, that sort of thing. Then I traveled somewhere new, for the first time, with GPS and a navigation sofware. It was quite impressive, and rather easier. I got to my destination the first time, without any problems. And…

> The 10th time, the 50th time, I still needed the GPS to guide me. If anyone else is frustrated by this experience, I've found that changing the setting in Google Maps to have the map always point north has helped me with actually building a mental model of directions. I found instead of just following the line, it forced me to think about whether I'm going north, south, east, or west for each directions.

So much this! GPS ego perspective directions prevent developing any kind of mental model.

It's the same reason I hate that trains in Germany now only show when the next train comes. When I was a kid they would show the time and optionally the delay. I always knew when each train was coming because you learn the schedule automatically. Now it's impossible to automatically build that mental model.

Re: Claude AI built me a React app to compare maps side by side

#199

Earlier quoted context omitted.

After 50x? I use GPS too, but I definitely learn the route after a few times with it. There are probably a class of people who don’t ever learn it, but I feel like this has to be a minority.

It definitely takes me longer. Pre-GPS, I might need a map (or at least notes) to get somewhere, but then I could most likely find my way back on my own. Using GPS to get somewhere, I'd be lost trying to get back without it. I think that because with a map you are looking at street signs/names, etc. both in advance to plan the route, and much more actively and intently while driving to figure out "do I turn here" and…

'Attention is All You Need'

Re: Claude AI built me a React app to compare maps side by side

#200
post #129
post #100

Earlier quoted context omitted.

> For years I've kept a list of apps / ideas / products I may do someday. I never made the time, with Cursor AI I have already built one, and am working on another. This is one fact that people seem to severely under-appreciate about LLMs. They're significantly worse at coding in many aspects than even a moderately skilled and motivated intern, but for my hobby projects, until now I haven't had any intern that would…

I'm curious: what do you do when the LLM starts hallucinating, or gets stuck in a loop of generating non-working code that it can't get out of? What do you do when you need to troubleshoot and fix an issue it introduced, but has no idea how to fix? In my experience of these tools, including the flagship models discussed here, this is a deal-breaking problem. If I have to waste time re-prompting to make progress, and…

I had a problem like this recently. I was working with a Python library that I had never worked with before, and I was relying heavily on LLMs. I was stuck at a point where no LLM could solve my problem: o1, GPT-4o, Sonnet 3.5, Gemini Pro...

Then I had an idea: as it was a picture animation problem, I asked it to write it in CSS. Then I asked it to translate it to Python. Boom, it worked!

At this moment, I finally realized the value of knowing how to prompt. Most of the time it doesn't make a difference, but when things start to get complex, knowing how to speak with these assistants makes all the difference.

Post reply on HN