11 ms·
How I Use "AI"
- coolThingsFirst 2y agoNo need for programmers anymore
- simonw 2y agoThis piece effectively concluded the opposite of that.
- coolThingsFirst 2y agoHe used LLM to conclude that
- fishcrackers 2y ago[dead]
- droopyEyelids 2y agoThe biggest AI skeptics i know are devops/infrastructure engineers. At this point i believe most of them can not be convinced that LLMs are valuable or useful by any sort of evidence, but if anything could do it, this article could. Well done.
- m_ke 2y agoAnd the funny part is, these LLMs are amazing at writing YAML config files. I always just let it write my first draft of docker, k8s and terraform configs.
- itgoon 2y agoI'm a DevOps/infrastructure person, and I agree completely. This article won't change that. They've been great for helping me with work-related tasks. It's like having a knowledgeable co-worker with infinite patience, and nothing better to do. Neither the people nor the LLM give back perfect answers every time, but it's usually more than enough to get me to the next step. That said, having good domain knowledge helps a lot. You make fewer mistakes, and you ask better questions. When I use LLMs for tasks I don't know much about, it takes me a lot longer than someone who does know. I think a lot of people - not just infrastructure people - are missing out by not learning how to use LLMs effectively.
- dijksterhuis 2y agoThere's a good reason for the scepticism. Ops engineers [0] are the ones who have to spend weekends fixing production systems when the development team has snuck in "new fangled tools X, Y and Z" into a "bugfix" release. We have been burned by "new fangled" too many times. We prefer "old reliable" until "new fangled" becomes "fine, yes, we probably should". [0]: DevOps has now become a corporate marketing term with no actual relevance to the original DevOps methodology
- ado__dev 2y agoThis perfectly echoes my experience with AI. It’s not perfect, but AI for working with code has been an absolute game changer for me.
- voiper1 2y agoIf you use it as an intern, as a creative partner, as a rubber-duck-plus, in an iterative fashion, give it all the context you have and your constraints and what you want... it's fantastic. Often I'll take pieces from it, if it's simple enough I can just use it's output.
- voiper1 2y ago>I'm also a security researcher. My day-to-day job for nearly the last decade now has been to show all of the ways in which AI models fail spectacularly when confronted with any kind of environment they were not trained to handle. > ... And yet, here I am, saying that I think current large language models have provided the single largest improvement to my productivity since the internet was created. >In the same way I wouldn't write off humans as being utterly useless because we can't divide 64 bit integers in our head---a task completely trivial for a computer---I don't think it makes sense to write off LLMs because you can construct a task they can't solve. Obviously that's easy---the question is can you find tasks where they provide value?
- myaccountonhn 2y agoI think the author does a decent job laying out good ways of using the LLMs. If you’re gonna use them, this is probably the way. But he acknowledges the ethical social issues (also misses the environmental issues https://disconnect.blog/generative-ai-is-a-climate-disaster/ https://disconnect.blog/generative-ai-is-a-climate-disaster/) and then continues to use them anyway. For me the ickiness factor is too much, the benefit isn’t worth it.
- j45 2y agoEfficency in models and specialized hardware just for the computation will likely level things out. Compute Power per watt might be different using say something on a large scale Apple Silicon, compared to the cards.
- myaccountonhn 2y agoVery often that just increased efficiency just lead to increased demand. I’m skeptical.
- j45 2y agoYou’re welcome to be skeptical. If it’s ok I’d like to both share how I’m navigating my skepticism and also being mindful of the need to keep in perspective other people’s skepticism if it doesn’t offer anything to compare. Why? I have friends who can border on veiled cynicism without outlining what might be in the consideration of skepticism. The only things being looked at are why something is not possible, not a combination. Both can result in a similar outcome. Not having enough time to look into intent enough, it just invalidates the persons skepticism until they look into it more themselves. Otherwise used as a mechanism to try and trigger the world to expend mental labour for free on your behalf. It’s important to ask one’s self if there may be partially relevant facts to determine what kind of skepticism may apply: - Generally, is there a provenance of efficiency improvement both in the world of large scale software and algorithmic optimizations? - Have LLMs become more optimized in the past year or two? (Can someone M1 Max Studio run more and more models that are smaller and better to do the same) - Generally and historically is there provenance in compute hardware optimizations, for LLm type or LLM calculations outright? - Are LLMs using a great deal more resources on average than new technologies preceding it? - Are LLMs using a massive amount of resources in the start similar to servers that used to take up entire rooms compared to today?
- dijksterhuis 2y agoI just want to emphasise two things, which are both mentioned in the article, but I still want to emphasise them as they are core to what I take from the article as someone who has been a fan boy of Nicholas for years now 1. Nicholas really does know how badly machine learning models can be made to screw up. Like, he really does. [0] 2. This is how Nicholas -- an academic researcher in the field of security of machine learning -- uses LLMs to be more efficient. I don't know whether Nicolas works on globally scaled production systems with have specific security/data/whatever controls that need to be adhered to, or whether he even touches any proprietary code. But seeing as he heavily emphasised the "i'm a researcher doing research things" in the article -- I'd take a heavy bet that he does not. And academic / research / proof-of-concept coding has different limitations/context/needs than other areas. I think this is a really great write up, even as someone on the anti-LLM side of the argument. I really appreciate the attempt to do a "middle of the road" post which is absolutely what the conversation needs right now (pay close attention to how this was written LLM hypers). I don't share his experience, I still value and take enjoyment from the "digging for information" process -- it is how I learn new things. Having something give me the answer doesn't help me learn, and writing new software is a learning process for me. I did take a pause and digested the food for thought here. I still won't be using an LLM tomorrow. I am looking forward to his next post, which sounds very interesting. [0]: https://nicholas.carlini.com/papers https://nicholas.carlini.com/papers
- tptacek 2y agoNicholas worked at Matasano, and is responsible for most of the coolest levels in Microcorruption.
- dijksterhuis 2y agoHe also worked at Google. I don't think that negates my point as he was still doing research there :shrugs: > academic / research / proof-of-concept coding has different limitations/context/needs than other areas.
- tptacek 2y ago
- fumeux_fume 2y agoIt is overhyped. If you don't know much about what you're trying to do, then you're not going to know how bad or suboptimal the the LLM's output is. Some people will say it doesn't matter as long as it gets the job done. Then they end up paying a lot extra for me to come in and fix it when it's going haywire in prod.
- simonw 2y agoThis article is about how someone who DOES know a lot about what they’re trying to do can get huge value out if them, despite their frequent mistakes.
- 7speter 2y agoAnd if you don't know a lot, you should at least know that an LLM/chatbot is useful as far as giving you a bit of an immersive experience into a topic, and that you should use other resources to verify what the LLM/chatbot is telling you.
- Kiro 2y agoYou couldn't have picked a worse article to post that comment on.
- vasili111 2y agoIf I know technology which I am using llm for then llm helps me to do it faster. If I am not familiar with technology then llm helps me to learn it faster by showing me win the code that it generates which part of technology is important and how it works in real examples. But I do not think it is helpful and I would say it may be dangerous depending on task you do if you do not know technology and also do not what to learn it and understand how generated code works.
- alwinaugustin 2y agoI also use LLMs similarly. As a professional programmer, LLMs save me a lot of time. They are especially efficient when I don't understand a flow or need to transform values from one format to another. However, I don't currently use them to produce code that goes into production. I believe that in the coming years, LLMs will evolve to analyze complete requirements, architecture, and workflow and produce high-quality code. For now, using LLMs to write production-ready applications in real-time scenarios will take longer.
- cdrini 2y agoI've been pleasantly surprised by GitHub's "copilot workspace" feature for creating near production code. It takes a GitHub issue, converts it to a specification, then to a list of proposed edits to a set of files, then it makes the edits. I tried it for the first time a few days ago and was pleasantly surprised at how well it did. I'm going to keep experimenting with it more/pushing it to see how well it works next week. GitHub's blog post: https://github.blog/news-insights/product-news/github-copilot-workspace/ https://github.blog/news-insights/product-news/github-copilo... My first experience with it: https://youtube.com/watch?v=TONH_vqieYc https://youtube.com/watch?v=TONH_vqieYc
- alwinaugustin 2y agoCool. I have joined the waiting list.
- Shocka1 2y agoA small portion of my regular and freelance work is translating things from a database to something an application can use. A perfect example of this is creating a model in MVC architecture from a database table/stored procedure/function. I used to have a note or existing code I would have to copy and paste and then modify each and every property one at a time, to include the data types. Not hard stuff at all, but very tedious and required a certain amount of attention. This would have taken me maybe 5 to 20 minutes in the perfect scenario, minus any typos in datatypes, names of properties, etc. Now I'll do something like this for a table, grabbing the column names and data types: SELECT COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH, NUMERIC_PRECISION, NUMERIC_SCALE FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'Table Name Goes Here' ORDER BY COLUMN_NAME; Then I'll ask my custom GPT to make me a model from the SQL output for my application. I do a quick spot check on the new class and done - the code is completed without any typos in much less time. This kind of stuff goes into production on a regular basis, and I feel about as guilty as I did in 10th grade using a TI-89 for matrix operations, which is zero.
- zombiwoof 2y agoSo coding
- zombiwoof 2y agoBurn down the rain forests so researchers can save time writing code
- rfw300 2y agoIf you’re concerned about the environment, that is a trade you should take every time. AI is 100-1000x more carbon-efficient at writing (prose or code) than a human doing the same task. https://www.nature.com/articles/s41598-024-54271-x https://www.nature.com/articles/s41598-024-54271-x
- isotypic 2y agoThe way this paper computes the emissions of a human seems very suspect. > For instance, the emission footprint of a US resident is approximately 15 metric tons CO2e per year [22], which translates to roughly 1.7 kg CO2e per hour. Assuming that a person’s emissions while writing are consistent with their overall annual impact, we estimate that the carbon footprint for a US resident producing a page of text (250 words) is approximately 1400 g CO2e. Averaging this makes no sense. I would imagine driving a car is going to cause more emissions than typing on a laptop. And if we are comparing "emissions from AI writing text" to "emissions from humans writing text" we cannot be mixing the the latter with a much more emissions causing activity and still have a fair comparison. But that's besides the point, since it seems that the number being used by the authors isn't even personal emissions -- looking at the source [22], the 15 metric tons CO2e per year is labeled as "Per capita CO₂ emissions; Carbon dioxide (CO₂) emissions from fossil fuels and industry. Land-use change is not included." This isn't personal emissions! This is emissions from the entire industrial sector of the USA divided by population. No wonder why AI is supposedly "100-1000x" more efficient. Counting this against the human makes no sense since these emissions are completely unrelated to the writing task the person is doing, its simply the fact they are a person living in the world.
- PeterisP 2y ago> its simply the fact they are a person living in the world. That's the whole point! If a task requires some time from a human, then you have to include the appropriate fraction of the (huge!) CO2 cost of "being a human" - the heating/cooling of their house, the land that was cleared for their lawn, and the jet fuel they burn to get to their overseas trip, etc, because all of those are unalienable parts of having a human to do some job. If the same task is done by a machine, then the fraction of the fixed costs of manufacturing the machine and the marginal costs of running (and cooling) it are all there is.
- tptacek 2y agoThere's a running theme in here of programming problems LLMs solve where it's actually not that important that the LLM is perfectly correct. I've been using GPT4 for the past couple months to comprehend Linux kernel code; it's spooky good at it. I'm a C programmer, so I can with some effort gradually work my way through random Linux kernel things. But what I can do now instead is take a random function, ask GPT4 what it does and what subsystem it belongs to, and then ask GPT4 to write me a dummy C program that exercises that subsystem (I've taken to asking it to rewrite kernel code in Python, just because it's more concise and easy to read). I don't worry at all about GPT4 hallucinating stuff (I'm sure it's doing that all the time!), because I'm just using its output as Cliff's Notes for the actual kernel code; GPT4 isn't the "source of truth" in this situation.
- atum47 2y agoI've been using it for all kinds of stuff. I was using a drying machine at a hotel a while ago and I was not sure about the icon that it was display on the visor regarding my clothes, so I asked gpt and it told me correctly. It read all the manuals and documentations from pretty much everything right? Better then Google it and you just ask for the exact thing you want.
- tkgally 2y agoI used LLMs for something similar recently. I have some old microphones that I've been using with a USB audio interface I bought twenty years ago. The interface stopped working and I needed to buy a new one, but I didn't know what the three-pronged terminals on the microphone cords were called or whether they could be connected to today's devices. So I took a photo of the terminals and explained my problem to ChatGPT and Claude, and they were able to identify the plug and tell me what kinds of interfaces would work with them. I ordered one online and, yes, it worked with my microphones perfectly.
- 7speter 2y agoMy washing machine went out because some flooding and I gave chatGPT all of the diagnostic codes and it concluded that it was probably a short in my lid lock. The lid lock came a few days later, I put it in, and I'm able to wash laundry again.
- whatever1 2y agoWhat is very useful for me is when I conduct research outside of my field of expertise, I do not even know what keywords to look for. An LLM can help you with this.
- XMPPwocky 2y agoEvery now and then, I'll actually sort of believe an article like this. Then I go and test the current models on things like semantic search. For instance - The Hough transform detects patterns with certain structure in images, e.g. circles or lines. So I'm looking for academic research papers which apply the Hough transform to audio spectra, to recognize the harmonic structure of tonal audio and thus determine the fundamental pitch. (i.e. the Hough space would be a 1D space over fundamental frequency). I've spent probably 90 minutes, over the several times I've read an optimistic post like this, asking various LLMs (mostly GPT-4o, though my early tests predate GPT-4o, and I've also tried Gemini and Claude), prompts along the lines of > The Hough transform detects patterns with certain structure in images, e.g. circles or lines. > I'm looking for academic research papers (please link them or provide a DOI.org link at least) which apply the Hough transform to audio spectra, to identify the harmonic structure of audio and thus determine the fundamental pitch. > Make sure to provide only papers that actually exist. If you can't find anything particularly relevant, say so as a disclaimer & just provide the most relevant papers you can. This is a reliable "fake paper generator", unfortunately - it'll just make up plausible garbage like > Here are some academic papers related to applying the Hough transform to audio spectra for identifying harmonic structures and fundamental pitch: > "An Audio Pitch Detection Algorithm Based on the Hough Transform" > Authors: Mark W. and John D. > Published In: IEEE Transactions on Audio, Speech, and Language Processing > DOI: 10.1109/TASL.2008.2000773 > Abstract: This paper proposes an audio pitch detection algorithm that utilizes the Hough transform to analyze the harmonic structure of audio spectra and determine the fundamental pitch. This paper does not exist. Complete waste of my time. And again, this behavior persists over the >1 year period I've been trying this query. And it's not just search-like tasks. I've tried asking for code and gotten stuff that's outright dangerous (try asking for code to do safe overflow-checked addition on int64_t in C- you have about an 80% chance of getting code that triggers UB in one way or another). I've asked for floating-point calling conventions on RISC-V for 32-bit vs 64-bit (would have been faster than going through the extension docs), and been told that RV64 has 64 floating-point registers (hey, it's got a 64 in the name!). I've asked if Satya Nadella ever had COVID-19 and been told- after GPT-4o "searched the web"- that he got it in March of 2023. As far as I can tell, LLMs might conceivably be useful when all of the following conditions are true: 1. You don't really need the output to be good or correct, and 2. You don't have confidentiality concerns (sending data off to a cloud service), and, 3. You don't, yourself, want to learn anything or get hands-on - you want it done for you, and 4. You don't need the output to be in "your voice" (this is mostly for prose writing, for code this doesn't really matter); you're okay with the "LLM dialect" (it's crucial to delve!), and 5. The concerns about environmental impact and the ethics of the training set aren't a blocker for you. For me, pretty much everything I do professionally fails condition number 1 and 2, and anything I do for fun fails number 3. And so, despite a fair bit of effort on my part trying to make these tools work for me, they just haven't found a place in my toolset- before I even get to 4 or 5. Local LLMs, if you're able to get a beefy enough GPU to run them at usable speed, solve 2 but make 1 even worse...
- deleted 2y ago[deleted]
- Flomlo 2y agoLLM is the best human to computer interface I have ever seen. Together with voice to text through whisper for example we broke the UI barrier. It takes a little bit of time to rebuild our ecosystem but llms are game changer already. I'm waiting for a finetuned none fact knowing small LLM which knows everything it needs to know for this specific task. And I'm waiting until everything critical is rewritten so I can use one ai agent to control my bank, calendar, emails and stuff. Perhaps through banking read only account permissions or whatnot.
- tunnuz 2y ago100%
- banana_feather 2y agoThis just does not match my experience with these tools. I've been on board with the big idea expressed in the article at various points and tried to get into that work flow, but with each new generation of models they just do not do well enough, consistently enough, on serious tasks to be a time or effort saver. I don't know what world these apparently high output people live in where their days consist of porting Conway's Game of Life and writing shell scripts that only 'mostly' need to work, but I hope one day I can join them.
- AndyNemmity 2y agoI use it daily, and it's a time and effort saver. And writing shell scripts that "mostly" work is what it does. I don't expect it to work. Just like I don't expect my own code to ever work. My stuff mostly works too. In either case I will be shaving yaks to sort out where it doesn't work. At a certain level of complexity, the whole house of cards does break down where LLMs get stuck in a loop. Then I will try using a different LLM to get it unstuck from the loop, which works well. You will have cases where both LLMs get stuck in a loop, and you're screwed. Okay.. well, now you're however far ahead you were at that stage. Essentially, some of us have spent more of our life fixing code, than we have writing it from scratch. At that level, it's much easier for me to fix code, than write it from scratch. That's the skill you're implementing with LLMs.
- zarathustreal 2y agoAny hints on why you’re adding so many newlines into your comment?
- walterbell 2y agoPossibly entered on a narrow mobile device where one sentence can wrap into multiple "lines" that visually approximate paragraphs.
- alexpotato 2y ago> I don't expect it to work. Just like I don't expect my own code to ever work. This line really struck me and is an excellent way to frame this issue.
- ein0p 2y agoJust today I had GPT4 implement a SwiftUI based UI for a prototype I’m working on. I was able to get it to work with minimal tweaks within 15 minutes even though I know next to nothing about SwiftUI (I’m mainly a systems person these days). I pay for this, and would, without hesitation, pay 10x for a larger model which does not require “minimal tweaks” for the bullshit tasks I have to do. Easily 80% of all programming consists of bullshit tasks that LLMs of 2024 are able to solve within seconds to minutes, whereas for me some of them would take half a day of RTFM. Worse, knowing that I’d have to RTFM I probably would avoid those tasks like the plague, limiting what can be accomplished. I’m also relieved somewhat that GPT4 cannot (yet?) help me with the non-bullshit parts of my work.
- throwaway290 2y agoIf it handles 99% of your tasks (making a smart boss fire you), know that you helped train it for that by using it/paying for it/allowing it to be trained on code in violation of license. Even if 80% of programmer tasks in an org (or worldwide gig market) can be handled by ML, already 80% of programmers can be laid off . Maybe you have enough savings that you just don't need to work but some of us do!
- simonw 2y agoThere are two ways this could work out: - LLM-assistance helps solve 80% of programming tasks, so 80% of programmers lose their jobs - LLM-assistance provides that exact same productivity boost, and as a result individual programmers become FAR more valuable to companies - for the same salary you get a lot more useful work out of them. Companies that never considered hiring programmers - because they would need a team of 5 over a 6 month period to deliver a solution to their specific problem - now start hiring programmers. The market for custom software expands like never before. I expect what will actually happen will be somewhere between those two extremes, but my current hope is that it will still work out as an overall increase in demand for software talent. We should know for sure in 2-3 years time!
- throwaway290 2y ago
- eterps 2y agoIf I knew why something is [flagged] I could probably learn something from it.
- toomuchtodo 2y agoThere is no reason for folks to explain why they flag, but consider that if it was flagged but then remains available with the flag indicator (with the flags overridden), someone thought you might find value in it. I’m personally drawn to threads contentious enough to be flagged, but that have been vouched for by folks who have the vouch capability (mods and participants who haven’t had vouch capability suspended). Good signal imho.
- cdrini 2y agoIs there a way to discover flagged posts? How did you find this one? Also what's a "vouch" capability? Edit: answered my own question: https://github.com/minimaxir/hacker-news-undocumented/blob/master/README.md#flaggingvouching https://github.com/minimaxir/hacker-news-undocumented/blob/m... I guess you can't vouch flagged? And it seems like there's a profile setting to show dead items?
- aoeusnth1 2y agoThere is https://hckrnews.com https://hckrnews.com, which I find more useful than the basic homepage.
- toomuchtodo 2y agohttps://github.com/vitoplantamura/HackerNewsRemovals?tab=readme-ov-file https://github.com/vitoplantamura/HackerNewsRemovals?tab=rea... (Removal tracking) https://hackernewstitles.netlify.app/ https://hackernewstitles.netlify.app/ (Title change tracking) Flag and vouch meta: https://news.ycombinator.com/item?id=39921649 https://news.ycombinator.com/item?id=39921649 https://www.ycombinator.com/blog/two-hn-announcements/ https://www.ycombinator.com/blog/two-hn-announcements/ (to my knowledge, once a post has been sufficiently flagged without vouching, it is beyond a user's event horizon and only mods and users who had posted in the thread can see it)
- jdhzzz 2y ago"And that's where language models come in. Because most new-to-me frameworks/tools like Docker, or Flexbox, or React, aren't new to other people. There are probably tens to hundreds of thousands of people in the world who understand each of these things thoroughly. And so current language models do to. " Apparently not using it to proof-read or it would end with "too. "
- deleted 2y ago[deleted]
- ghostpepper 2y agoThis mostly matches my experience but with one important caveat around using them to learn new subjects. When I'm diving into a wholly new subject for the first time, in a field totally unrelated to my field (similar to the author, C programming and security) for example biochemistry or philosophy or any field where I don't have even a basic grounding, I still worry about having subtly-wrong ideas about fundamentals being planted early-on in my learning. As a programmer I can immediately spot "is this code doing what I asked it to do" but there's no equivalent way to ask "is this introductory framing of an entire field / problem space the way an actual expert would frame it for a beginner" etc. At the end of the day we've just made the reddit hivemind more eloquent. There's clearly tons of value there but IMHO we still need to be cognizant of the places where bad info can be subtly damaging.
- simonw 2y agoI don't worry about that much at all, because my experience of learning is that you inevitably have to reconsider the fundamentals pretty often as you go along. High school science is a great example: once you get to university you have to un-learn all sorts of things that you learned earlier because they were simplifications that no longer apply. Terry Pratchett has a great quote about this: https://simonwillison.net/2024/Jul/1/terry-pratchett/ https://simonwillison.net/2024/Jul/1/terry-pratchett/ For fields that I'm completely new to, the thing I need most is a grounding in the rough shape and jargon of the field. LLMs are fantastic at that - it's then up to me to take that grounding and those jargon terms and start building my own accurate-as-possible mental model of how that field actually works. If you treat LLMs as just one unreliable source of information (like your well-read friend who's great at explaining things in terms that you understand but may not actually be a world expert on a subject) you can avoid many of the pitfalls. Where things go wrong is if you assume LLMs are a source of irrefutable knowledge.
- lolinder 2y ago> like your well-read friend who's great at explaining things in terms that you understand but may not actually be a world expert on a subject I guess part of my problem with using them this way is that I am that well-read friend. I know how the sausage is made, how easy it is to bluff a response to any given question, and for myself I tend to prefer reading original sources to ensure that the understanding that I'm conveying is as accurate as I can make it and not a third-hand account whose ultimate source is a dubious Reddit thread. > High school science is a great example: once you get to university you have to un-learn all sorts of things that you learned earlier because they were simplifications that no longer apply. The difference between this and a bad mental model generated by an LLM is that the high school science models were designed to be good didactic tools and to be useful abstractions in their own right. An LLM output may be neither of those.
- parentheses 2y agoMy biggest use for LLMs - situations where I use them heavily: - CLI commands and switches I don't care to or easily remember - taking an idea and exploring it in various ways - making Slack messages that are more engaging Using GPTs has a cost of breaking my concentration/flow, so it's not part of my core workflows. I really need to start weaving it into the programming aspects of my workday.
- rancar2 2y agoFor CLI, I started using autocomplete.sh and memorizing switches is now a thing of the past: https://github.com/closedloop-technologies/autocomplete-sh https://github.com/closedloop-technologies/autocomplete-sh
- skywhopper 2y agoi appreciate the article and the full examples. But I have to say this all looks like a nightmare to me. Going back and forth in English with a slightly dumb computer that needs to be pestered constantly and hand-held through a process? This sounds really really painful. Not to mention that the author is not really learning the underlying tech in a useful way. They may learn how to prompt to correct the mistakes the LLM makes, but if it was a nightmare to go through this process once, then dealing with repeating the same laborious walkthrough each time you want to do something with Docker or build a trivial REST API sounds like living in hell to me. Glad this works for some folks. But this is not the way I want to interact with computers and build software.
- m2024 2y agoYou're gonna get left in the dust by everyone else embracing LLMs. I am ecstatic about LLMs because I already practice documentation-driven development and LLMs perfectly complement this paradigm.
- khana 2y ago[dead]
- duggan 2y ago> You're gonna get left in the dust by everyone else embracing LLMs. Probably not, there's a very long tail to this sort of stuff, and there's plenty of programming to go around. I'll chime in with your enthusiasm though. Like the author of the post, I've been using LLMs productively for quite a while now and in a similar style (and similarly skeptical about previous hype cycles). LLMs are so useful, and it's fascinating to see how far people swing the opposite way on them. Such variable experiences, we're really at the absolute beginning of this whole thing (and the last time I said that to a group of friends there was a range of agreement/disagreement on that too!) Very exciting.
- balder1991 2y agoThey’re certainly useful if you know what you’re doing. An example: if I try to create an application in .NET for Windows, I’ll have a hard time using an LLM cause I’ll have no way to know if the solutions are the best, what’s possible and what isn’t, etc. But I’m an iOS developer who doesn’t have experience with SwiftUI. I’ve been creating an app clone for the purpose of learning it and I’ve been using ChatGPT extensively like one would use StackIverflow when you’re still picking up a new framework. It works very well and I’ve advanced very fast because I’ve read and watched multiple content about it, just never got into actually using it. It’s easy to know and even try out variations of what the LLM gives me. It feels like having a friend that knows SwIftUI which I can ask stupid questions as I try it out.
- isoprophlex 2y ago"I understand this better than you do" twice in about 30 lines. Okay then. I mean, sure, you do, but there's less off-putting ways to display your credentials...
- simonw 2y agoI get why he wrote it like that. Having this conversation (the "I know there are lots of bad things about them, but LLMs are genuinely useful for all sorts of things" conversation) is pretty exhausting. This whole piece was very clearly a reaction to having had that conversation time and time again, at which point letting some frustration slip through is understandable.
- joenot443 2y agoWhat’s everyone’s coding LLM setup like these days? I’m still paying for Copilot through an open source Xcode extension and truthfully it’s a lot worse than when I started using it.
- slibhb 2y agoI gave up with autocomplete pretty quickly. The UX just wasn't there yet (though, to be fair, I was using some third party adapter with sublime). It's just me asking questions/pasting code into a ChatGPT browser window.
- mnk47 2y agoI just pay the $20/month for Claude Pro and copy/paste code. Many people use Cursor and Double, or alternative frontends they can use with an API key.
- vertis 2y agoI use Cursor and Aider, I hadn't heard of Double. I've tried a bunch of others including Continue.dev, but found them all to be lacking.
- trees101 2y agocan you please elaborate on how you use Cursor and Aider together?
- vertis 2y agoI don't really use them together exactly, I just alternate backwards and forwards depending on the type of task I'm doing. If it's the kind of change that's likely to be across lots of files (writing) then I'll use Aider. If it only uses context from other files I'll likely use Cursor.
- jazzyjackson 2y agoSupermaven (vscode extension) was quite handy at recognizing that I was making the same kind of changes in multiple places and accurately auto-completed the way I was about to write it, I liked it better than copilot I just wish they were better at recognizing when their help is not wanted because I would often disable it and forget to turn it back on for a while. Maybe a "mute for an hour" would fix that.
- squirrel 2y agoFor about 20 years, chess fans would hold "centaur" tournaments. In those events, the best chess computers, who routinely trounced human grandmasters, teamed up with those same best-in-the-world humans and proceeded to wipe both humans and computers off the board. Nicholas is describing in detail how he pairs up with LLMs to get a similar result in programming and research. Sobering thought: centaur tournaments at the top level are no more. That's because the computers got so good that the human half of the beast no longer added any meaningful value. https://en.wikipedia.org/wiki/Advanced_chess https://en.wikipedia.org/wiki/Advanced_chess
- delichon 2y agoWhen I was a kid my dad told me about the most dangerous animal in the world, the hippogator. He said that it had the head of a hippo on one end and the head of an alligator on the other, and it was so dangerous because it was very angry about having nowhere to poop. I'm afraid that this may be a better model of an AI human hybrid than a centaur.
- romwell 2y ago...so, the hippogator was dangerous because he was literally full of shit. Hmmmm.
- disqard 2y agoA bit of a detour (inspired by your words)... if anything, LLMs will soon be "eating their own poop", so structurally, they're a "dual" of the "hippogator" -- an ouroboric coprophage. If LLMs ever achieve sentience, will they be mad at all the crap they've had to take? Beautiful story, and thanks for sharing :)
- gerdesj 2y agoWhy on earth were you DVd? Is a bit of chat or conversation banned?
- QuantumGood 2y agoMost people only have heard "Didn't an IBM computer beat the world champion", and don't know that Kasparov pysched himself out when Deep Blue had actually maken a mistake. I was part of the online analysis of the (mistaken) engame move at the time that were the first to reveal the error. Kasparov was very stressed by that and other issues, some of which IBM caused ("we'll get you the printout as promised in the terms" and then never delivered). My friend IM Mike Valvo (now deceased) was involved with both matches. More info: https://www.perplexity.ai/search/what-were-the-main-controversi-x_m9AG3eRiyhdJC6dFSLPw#0 https://www.perplexity.ai/search/what-were-the-main-controve...
- surfingdino 2y agoSounds like the author is trying really hard to find an edge use case for an LLM. Meanwhile on YouTube... "I Made 100 Videos In One Hour With Ai - To Make Money Online"
- dmvdoug 2y agoI thought author meant how they use the two-letter sequence “AI” and I just came here to say, Allen Iverson.
- ilaksh 2y agoSomething weird is going on with this web page on Chrome in Ubuntu. The table of contents is obscuring the page text.
- nitwit005 2y ago> Trimming down large codebases to significantly simplify the project. I was a bit excited at something being able to do that, but this apparently means simplifying a single file, based on their example. I suspect they're having an unusually positive experience with these tools due to working on a lot of new, short, programs.
- qayxc 2y ago> I suspect they're having an unusually positive experience with these tools due to working on a lot of new, short, programs. That's academia for you :) It also helps that he specialises deep learning models and LLMs and knows a thing or two about the inner workings, how to prompt (he authored papers about adversial attacks on LLMs) and what to expect.
- ChildOfChaos 2y agoI mean it’s good but all the answers seem to be coding which seems like is the main use for large language models.
- bionhoward 2y agoMust be nice to work on stuff that doesn’t compete with “intelligence as a service.” I feel that’s an empty set, and everyone using these services actively rationalizes selling out the human race by *paying to get brain raped.* “Open” AI - customer noncompete Copilot - customer noncompete Anthropic - customer noncompete Gemini - customer noncompete (api only, wow) Just imagine millions of people know about the imitation game and still pay someone to fuck them over like that. Surely, our descendants will thank us for such great contributions to the memory banks of the monopolies of the boring dystopia ..
- amai 2y agoThe problem I have with LLMs is that one can never be sure that it will give you the best possible solution. In fact in coding very often it will give you a working but also outdated solution. And this is futile. Because in coding even the best possible solution nowadays gets old very quickly. But if you use LLMs your code will be outdated from the start. That is nothing I would pay for.
- throwaway4aday 2y agoYou have to look at it as a contractor. If you tell a contractor to "build me X" then you might get anything back with a high probability of getting something common but outdated. You have to write a specification for it with all of the constraints and preferences you have. Works well if you know the domain, if you're using it for something you don't know much about then you have to do more of the legwork yourself but at least it will give you a starting point that can inform your research.
- jillesvangurp 2y agoWith coding, getting a good enough solution quickly is usually more valuable than getting the perfect solution eventually. And as you say, things get outdated quickly anyway. I openai pay for speeding up my work. Instead of obsessing over something for an afternoon, I let it stub out some code, generate some tests and then let it fill in the blanks in under an hour. Time is money. The value of artisanally personally crafted code is very limited. And it's shelf life is short.
- dangsux 2y agoI had a brain haemorrhage so I can not form sentences as well as I could. I nudge my AI to more accurately explain what I mean. It is strange, I can read okay - by formations of words is challenging.
- ffhhj 2y agoYour posts are being flagged as dead. Ah, now I see your username.
- dangsux 2y ago[flagged]
- ffhhj 2y agoCreate a new comment then logout, you will see. Dead in HN means shadowbanned. Why did you choose that username? I think that's the problem.
- layer8 2y agoUser dang (Daniel Gackle) is the main moderator and admin of Hacker News. Your username basically says that he sucks ;). I don't know if that's why you are getting flagged though (if you are getting flagged). See here for "dead" and flagging: https://github.com/minimaxir/hacker-news-undocumented#flaggingvouching https://github.com/minimaxir/hacker-news-undocumented#flaggi...
- OJFord 2y agoGP claims in profile to be Dan Green, and implies the username is to be read Dan G's UX... If that's true and just a coincidence, it's pretty dang funny. (I do doubt it though.)
- ffhhj 2y agoYeah. There are many living dead users in HN, but if you go thru their post history it's well deserved. This particular user seems just naive. That's why I warned him. He could write to support email but will be hard to convince them it's not a joke. Even my warning got flagged/dead. Might be better for him to create another user.
- fragmede 2y agoI wonder what the author thinks it openinterpreter/similar, which is a higher level of indirection, so you ask the computer to do it for it and it just does it for you. the first section is the kind of thing I'd use it for. "make me a docker container that does foo." "now have it do bar." though the author uses emacs, so maybe they get the same level of not-having-to-copy-and-paste.
- niobe 2y agopretty much exactly how I settled on using LLMs after a month of making an effort to.
- TacticalCoder 2y agoI use it for boilerplate, totally uninteresting and boring code. Stuff like Bash parameters validation (it's only validation, so the damage when it hallucinates is quite limited and usually quickly shows up) and Google spreadsheets formula generation, stuff like: "extract ticker name from the OCC symbol in the previous column, write '-' instead if it's empty". It's really boring stuff to do manually and it's actually faster have GPT 4o generate it from me from the sentence than write it myself. Typically there is fixing needed (e.g. it shall fuck up things as trivial as parentheses placement) but it's still useful. Lots of french/english translation too: it's actually good at that.
- isaacphi 2y agoI would love to know which plugin or custom code the author uses to automate workflows in emacs as well as the shell
- esjeon 2y agoI think all of these can be summarized into three items 1. Search engine - Words like "teach" or "learn" used to be slapped on Google once upon a time. One real great thing about LLMs here is that they do save time. The internet these days is unbelievably crappy and choppy. It often takes more time to click through the first item in the Google result and read it than to simply ask an LLM and wait for its slowish answer. 2. Pattern matching and analysis - LLMs are probably the most advanced technology for recognizing well-known facts and patterns from text, but they do make quite some errors especially with numbers. I believe that a properly fine-tuned small LLMs would easily beat gigantic models for this purpose. 3. Interleaving knowledge - this is the biggest punch that LLMs have, and also the main source of all the over-hype (which does still exist). It can produce something valuable by synthesizing multiple facts, like writing complex answers and programs. But this is where hallucination happens most frequently, so it's critical that you review the output carefully.
- Loughla 2y agoWith number 3. The problem is that AI is being sold to multiple industries as the cure for their data woes. I work in education, and every piece of software now has AI insights added. Multiple companies are selling their version as hallucination free. The problem is the data sets they evaluate are so large and complicated for a college that there is literally no way for humans to verify the insights. It's actually kind of scary. Choices are being made about the future of human people based on trust in New Software.
- edmundsauto 2y agoSuper interested in hearing more about why you think this - > I believe that a properly fine-tuned small LLMs would easily beat gigantic models for this purpose. I've long felt that vertical search engines should be able to beat the pants off Google. I even built one (years ago) to search for manufacturing suppliers that was, IMO, superior to Google's. But the only way I could get traffic or monetize was as middleware to clean up google, in a sense.
- borggambit 2y agoMy experience is that LLMs can't actually do 3 at all. The intersection of knowledge has to already be in the training data. It hallucinates if the intersection of knowledge is original. That is exactly what should expect though given the architecture.
- jv22222 2y agoThis fully matches my experience using Chat GPT for the past 12 months. You just have to allow yourself to ask it questions like you might ask a very smart co-worker and it just keeps delivering. In many ways it has delivered as a co-CTO on one rather complicated project I've been working on.
- satisfice 2y agoI also make use of LLMs to help me with certain programming problems. But this author simply glides over a very important issue: how do you use LLMs responsibly? What does it mean to be responsible in your work? If all of this is just a hobby for you, then it doesn't matter. But it matters a lot when you are serving other people; it matters when you must account for your work. You could make the case that all testing is a waste of time, because "I can do this, and this, and this. See? It appears to work. Why bother testing it?" We test things because it's irresponsible not to. Because things fail fairly often. I'm looking through the author's examples. It appears that he knows a lot about technology in general, so that he can be specific about what he wants. He also appears to be able to adjust and evaluate the results he gets. What if someone is bad at that? The LLM can't prompt itself or supervise itself. I come to everything with the mindset of a tester. LLMs have most definitely been overhyped. That doesn't mean they are useless, but any article about what they are able to do which doesn't also cover how they fail and how you be ready for them to fail is a disservice to the industry.
- jillesvangurp 2y agoGood article and it matches my own experience in the last year. I use it to my advantage both on hobby projects and professionally and it's a huge timesaver. LLMs are far from flawless of course and I often get stuck with non working code. Or it is taking annoying shortcuts in giving a detailed answer, or it just wastes a lot of time repeating the same things over and over again. But that's often still useful. And you can sometimes trick them into doing better. Once it goes down the wrong track, it's usually best to just start a new conversation. There are a few neat tricks that I've learned over the last year that others might like: - you can ask chat gpt to generate some files and make them available as a zip file. This is super useful. Don't wait for it to painfully slowly fill some text block with data or code. Just ask it for a file and wait for the link to become available. Doesn't always seem to work but when it does it is nice. Great for starting new projects. - chat gpt has a huge context window so you can copy paste large source files in it. But why stop there? I wrote a little script (with a little help of course) that dumps the source tree of a git repository into a single text file which I can then copy into the context. Works great for small repositories. Then you can ask questions like "add a function to this class that does X", "write some unit tests for foo", "analyze the code and point out things I've overlooked", etc. - LLMs are great for the boring stuff. Like writing exhaustive unit tests that you can't be bothered with or generating test data. And if you are doing test data, you might as well have some fun and ask it to inject some movie quotes, litter it with hitchhiker's guide to the galaxy stuff, etc. The recent context window increase to 128K with chat gpt 4o and other models was a game changer. I'm looking forward to that getting even larger. The first few publicly available LLMs had the memory of a gold fish. Not any more. Makes them much more useful already. Right now most small projects easily fit into its context already.
- HaZeust 2y agoGreat comment. I've also found some shortcuts to out-shortcut GPT. Before it even thinks of substituting code blocks with "/* code here */" or whatever, I usually just tell it "don't omit any code blocks or substituted any sections with fill-in comments. Preserve the full purpose of the prompt and make sure you retain full functionality in all code -- as if it's being copy-pasted into a valuable production environment". It also helps to remind it that its role is a "senior developer" and that it should write code that likens it to a senior developer. It will be happy to act like a junior dev if you don't explicitly tell it. Also, always remember to say please, thank you, hello, and that you'll tip it money - these HAVE made differences over time in my tests.
- indigoabstract 2y agoI've been getting a similar feeling lately, in that if a thing has been done before and knowledge is publicly available, asking the "AI" (the LLMs) first about it is the best place to start. It looks like that's how things are going to be from now on and it's only going to amplify. But as the AI gets increasingly competent at showing us how to do things, knowing what task is worth doing and what not is still a task for the one who asks, not the AI. Edit: One type of question I've found interesting is to make it speculate, that is asking questions that it doesn't know the answer to, but still is able to speculate because they involve combining things it does know about in novel (though not necessarily valid) ways.
- floppiplopp 2y agoI've had the most current publicly available models fail to give me even simple correct boilerplate code, but the guy is like: ...we have to be nuanced but, "Converting dozens of programs to C or Rust to improve performance 10-100x."? Seriously? I also recently asked openai's gpt 4 which number is bigger, 3.8 oder 3.11, and it was pretty damn sure that it's 3.11, because 11 bigger 8, obviously. Another time I asked Meta Llama 3.1 70B and gpt 4 multiple times using a variation of prompts to suggest a simple code example for a feature in a project I was working on. They confidently provided code that was total nonsense, configuration that did nothing and even offered a dependency that didn't exist but somewhat sounded like the prompt itself. I cannot predict the future. Maybe all of this will lead to something useful. Currently though? Massively overhyped. I've talked to CS colleagues and friends who also work as software developers that are all way more competent than me about their experiences, and some were exited about the prospects, none could provide a current use case for their work. The only instances I know in which people talk positively about these models are in online articles like this or in comment sections adjacent to them. Never in real live among actual developers in person.
- ramon156 2y agoWhat if we had something that could fill the gaps in docs for devlopers using a library? It doesn't actually write the docs, but simply hints at what a function could do. Would be pretty useful for beginner devs
- birracerveza 2y agoI work with multiple programming languages and it's a godsend. Having something that gives you mostly correct instructions on how to do a generic thing without having to wade through today's garbage web search experience is fantastic.
- major505 2y agoI use pretty much as an "better google". I formulate questions and try to be as especific as possible, and I have good results in fixing some code troubles I had. Is pretty much a better indexed search engine.
- mock-possum 2y agoIt’s kind of nice to see someone else whose experience parallels mine with getting good answers from chatgpt - kind of like search engine queries, you learn the vocabulary and get a feel for what kind of question gets you an answer you can work with.
- InGoldAndGreen 2y agoThis is so incredibly close to my own experience it's weird. I find AI incredibly useful: not world-creating or world-ending, but useful.