4 ms·
> the repo is too far off the data distribution ah, this explains why these models have been useless to me this whole time. everything i do is just too far off
by gyomu 1y ago
> the repo is too far off the data distribution
ah, this explains why these models have been useless to me this whole time. everything i do is just too far off the data distribution!
- SchemaLoad 1y agoEverything is unless your app is a React todolist or leatcode questions.
- SeanAnderson 1y agoor a typical CRUD app architecture, or a common design pattern, or unit/integration test scaffolding, or standard CI/CD pipeline definitions, or one-off utility scripts, etc... Like 80% of writing coding is just being a glorified autocomplete and AI is exceptional at automating those aspects. Yes, there is a lot more to being a developer than writing code, but, in those instances, AI really does make a difference in the amount of time one is able to spend focusing on domain-specific deliverables.
- positron26 1y agoIt has gotten to the point that I don't modify or write SQL. Instead I throw some schema and related queries in and use natural language to rubber duck the change, by which point the LLM can already get it right.
- MasterScrat 1y agoAnd even for "out of distribution" code you can still ask question about how to do the same thing but more optimized, could a library help for this, why is that piece of code giving this unexpected output etc
- notatoad 1y agopeople say this like it's a criticism, but damn is it ever nice to start writing a simple crud form and just have copilot autocomplete the whole thing for me.
- goalieca 1y agoBack in the 90s you could drag and drop a vb6 applet in Microsoft word. Somehow we’ve regressed.. Edit: for the young, wysiwyg (what you see is what you get) was common for all sorts of languages from c++ to Delphi to html. You could draw up anything you wanted. Many had native bindings to data sources of all kinds. My favourite was actually HyperCard because I learned it in grade school.
- squeaky-clean 1y agoWysiwyg kind of fell apart once we had to stop assuming everyone had an 800x600 or 1024x768 screen, because what you saw was no longer what others got.
- hackit2 1y agoMost of the internet still assumes you're using a 96 DPI monitor. Tho the rise of mobile phone has changed that it seems like the vast majority of the content consumed on mobile lends itself to being scaled to any DPI - eg.. movies, pictures, youtube ect.
- eternauta3k 1y agoNot a big issue with QT layouts (still have to test the result though)
- benterix 1y agoNot entirely, in these RAD tools you also had flexible layout choices and obviously you could test it for various window sizes (although the maximum was the one supported by your graphics card). Too bad many chose the lazy way and just enforced fixed window size at 800x600.
- philipallstar 1y agoI can imagine adding breakpoints to a wysiwyg editor being not terribly difficult. They decouple presentation from logic pretty well.
- 1y ago
- meowface 1y agoHN's cynicism towards AI coding (and everything else ever) is exhausting. Karpathy would probably cringe reading this.
- trial3 1y agookay but he literally does have a bridge that non-deterministically might take you to the wrong place to sell you
- meowface 1y agoThe original context of this sub-thread was Karpathy saying how AI coding tools were pretty useless for him when working on this particular project.
- troupo 1y agoIndeed. And only Karpathy is entitled to say that AI tools produce wrong code for him. And he's only entitled to say it for this project only. If anyone else says this, "the skepticism is exhausting", and their experience is completely irrelevant.
- kasey_junk 1y agoGo look at the comments on HN whenever someone posts about their AI coding workflow. It will be littered with negative comments that either imply or outright say that the poster is either shilling, ignorant or working only on toy examples. The grievance attitude seems to exist in both directions and is actually what is exhausting.
- troupo 1y ago> It will be littered with negative comments that either imply or outright say that the poster is either shilling, ignorant or working only on toy examples. And they would be often be right. Coupled with the fact that most of the glowing "omg I only code with AI" posts don't even try to show what code or products they are working on. And yes, the absolute vast majority of people who are skeptical are skeptical precisely because they use these tools every day themselves.
- KeplerBoy 1y agoI don't know. I successfully use it for small changes on VHDL FPGA designs these days.
- dahcryn 1y agosimple CRUD, is as common in many many business applications or backend portals, are a good fit for AI assistance imho. And fix some designs here and there, where you can't be bothered to keep track of the latest JS/CSS framework
- lukev 1y agoGenerative AI for coding isn't your new junior programmer, it's the next generation of app framework.
- Zenst 1y agoI wished such sentiments prevailed in upper management, as it is true. Much like owning a car that can drive itself - you still need to pass a driving test to be allowed to use it.
- VerminOctopus1 1y agoReally such an annoying genre of comment. Yes I’m sure your groundbreaking bespoke code cannot be written by LLMs, however for the rest of us that build and maintain 99% of the software people actually use, they are quite useful.
- allochthon 1y agoI've had some success with a multi-threaded software defined radio (SDR) app in Rust that does signal processing. It's been useful for trying something out that's beyond my experience. Which isn't to say it's been easy. It's been a learning experience to figure out how to work around Claude's limitations.
- teleforce 1y agoI wonder if the new GenAI architecture namely DDN or distributed discrete networks being discussed recently can outperform the conventional architecture of GAN and VAE. As the name suggests, it can provide multitude of distributions for training and inference purposes [1]. [1] Show HN: I invented a new generative model and got accepted to ICLR (90 comments): https://news.ycombinator.com/item?id=45536694 https://news.ycombinator.com/item?id=45536694
- CapsAdmin 1y agoI work on this typed lua language in lua, and sometimes use llms to help fix internal analyzer stuff, which works 30% of the time for complex, and sometimes not at all, but helps me find a solution in the end. However when I ask an llm to generate my typed lua code, with examples and all, on how the syntax is supposed to be, it mostly gets it wrong. my syntax for tables/objects is: local x: {foo = boolean} but an llm will most likely gloss over this and always use : instead of = local x: {foo: boolean}
- kasey_junk 1y agoAre you using a coding agent or just an llm chat interface? Do you have a linter or compiler that will catch the misuse that you’ve hooked up to the agent?
- CapsAdmin 1y agoI've dabbled with claude code in this particular project, but not much. My short experience with it is that it's slow, costly and goes off the rails easily. I prefer to work with more isolated parts of the code. But again, I don't really know all that much about agents. One thing I wanted to do on my project is reorganize all the tests, which sounds like an agent job. But I'd imagine I need to define some hard programmatic constraints to make sure tests are not lost or changed in the process.
- kasey_junk 1y agoAgents aren’t magic. They are loops with tool calls in them that help keep agents on track. And most of the agent systems have some manner of hook that you can put your own tools in to enforce things like types and styles. I’ve had good experiences writing small scripts and linters to enforce things that agents get wrong frequently. What’s nice about those is that the agents are very good at writing them and they are easy to verify. Plus they are valuable for new humans devs as well.
- pmarreck 1y agoI've had success in the past with getting it to write YueScript/Moonscript (which is not a very large part of its training data) by pointing it to the root URL for the language docs and thus making that part of the context. If your typed version of Lua has a syntax checker, you could also have it try to use that first on any code it's generated
- random_cynic 1y ago[dead]