12 ms·
I built a plane spotter for my son in minutes
- fassssst 3y agoThis is my favorite part about LLM’s and image generators: they are the ultimate rapid prototyping tool. I really benefited from making it a habit to use them a lot for coding and anything else, as I started learning what works and what doesn’t and thus bootstrapped a whole set of tools for myself and my team.
- sa-code 3y agoIn your opinion, what are some examples of things that work and don't work? And can you talk about what's the tools do?
- efitz 3y agoIt’s hard to tell what will work well and what won’t. I asked it to create me a python library for the GT1151 touch screen controller and it came up with working code on the first try. Then I asked it to add support for that chip’s gesture mode and it came up with completely reasonable looking but nonfunctional code, because it didn’t understand the gesture mode implementation on the chip.
- hhh 3y agoIf you give it documentation on the chip, does it generate good code?
- Filligree 3y agoYou probably can't. Unless it fits in 2-3 pages, it'll blow out the context window.
- Biologist123 3y agoI received a message from ChatGPT on Friday telling me about Enterprise access, where restrictions on text entry are unlimited. No price quoted sadly.
- pbmonster 3y agoArbitrary context length? Sounds improbable, did they change the entire way the generator works? Or is this just marketing, and they actually mean "really long context?" Because technical documentation is frequently longer than 100k tokens...
- swalsh 3y agoYou used to be able to, but they took away browsing capability. However you can still copy and paste documentation, and that works. But it was a lot more convienent when it could just look up the documentation :(
- m3kw9 3y agoSame person that would be impressed by Fibonacci function produced by LLM, both are simple programs.
- djohnston 3y agoSuch a weak take. Yes it's simple, but he wrote it without knowing anything about the underlying flight data API. That's awesome!
- m3kw9 3y agoI’m just saying a lot of us are past that initial wow of it making these functions. I can even say people that are still impressed as “hill billies”
- djohnston 3y agolol I mean... I guess. I guess I'm also too simple to grasp this blasé attitude towards the most exciting tech I've seen in years.
- timacles 3y agoI agree it is cool and extremely useful and the other posts are a bit cynical But it’s really just a really effective search engine. It works great for info that’s plentiful online and does a great job with aggregating it for specific examples. But it isn’t anything you can’t just google yourself with some more effort.
- mensetmanusman 3y agoOP is talked about here: https://youtu.be/PdFB7q89_3U?si=OsCBShLdsHMZRefb https://youtu.be/PdFB7q89_3U?si=OsCBShLdsHMZRefb
- m00x 3y agoYou could also just copy one of the many, many repos that are out there that do just this. It's not a good example.
- _Microft 3y agoIsn‘t it rather that you ordered one and it was delivered to you instantly?
- noman-land 3y agoFor me the main thing I've gained from ChatGPT (3.5) is I no longer dread that wall of lack of knowledge. Where you know so little you don't even know where to start and the task seems dreadful and insurmountable. Just a couple questions later you've got an intro, some jargon, some sample code. It makes it much easier to put the pieces together and ask followup questions.
- neatze 3y agoSame, I just use in many places instead of first google searches, it is so easy to narrow search to a highly specific topic.
- etrautmann 3y agoYes, and across a virtually infinite range of disciplines. I love diving into esoteric topics like grades of tool steel, where asking follow up questions and following a thread is so much easier than looking up info from disparate sources.
- deleted 3y ago[deleted]
- nerdponx 3y agoAfter seeing these LLMs produce a mix of correct, half-correct, and incorrect answers on subjects I'm familiar with, I am very hesitant to trust them with subjects I'm not familiar with. Let's not subject ourselves to the Gell-Mann amnesia effect here. Credit to the creators of these systems for getting it even close, but until they can actually correctly cite their sources and provide followup references to real content instead of hallucinating titles and emitting hyperlinks to unrelated medical research papers, I'll stick to using it as a very rough overview of a subject, just to get the right collection of search terms for following up in traditional sources.
- d-lisp 3y agoI kind of enjoy it as a sort of interactive "learn x in y" to fast start some hobby project into some programming language I don't know yet. Its integration in emacs makes anything I may want to build (unprofessionally) trivial.
- b800h 3y agoI wonder whose code this was trained on? I guess it's interesting that this is quite a popular search result on Github: https://github.com/search?q=plane+spotter+language%3AJavaScript&type=repositories&l=JavaScript https://github.com/search?q=plane+spotter+language%3AJavaScr...
- nvarsj 3y agoExactly… likely copy pasted from someone’s github repo with 0 attribution. A brave new world…
- deleted 3y ago[deleted]
- louison11 3y agoOP here. I think it's a bit reductive to think that GPT simply copy pastes. It sometimes does. But my experience working with it nearly daily since December, is that it's also quite capable at reasoning. My sense is it most likely saw the API endpoint in another context, learned how it was parsed, and then adapted it to my situation. Perhaps it even parsed the documentation page itself.
- nvarsj 3y agoSince attribution isn't possible in ChatGPT, we'll never know. It's a great way to avoid all IP claims via plausible deniability. This topic has been beaten to death though, and it isn't changing. Companies have little incentive to have explainable AI since it would open them to infringement claims.
- 113 3y agoThat is absolutely not how GPT works.
- joshspankit 3y agoIf the code has been done hundreds or even thousands of times, what meaningful attribution could possibly be added? Like, we don’t add attribution to each for loop even though it’s not our original idea.
- tambourine_man 3y agoThe little experience I had with ChatGPT code was amazing, but you have to keep it under a certain threshold, after that it will simply chop of its code. Asking it to split it into smaller functions so it can be emitted one at a time had mixed results. But the future is indeed bright for such tools.
- donatj 3y agoI know it’s not an option for everyone but the chopping is half the reason I paid for a monthly subscription. When you pay, the results come much quicker and are far less likely to timeout.
- muglug 3y agoCoding LLMs really shine for greenfield projects in popular programming languages. They don’t do half as well in large codebases that use ad-hoc frameworks. For example, it has no idea how to retrieve the currently-logged-in user object for a new endpoint you want it to build. The solution there is to fine-tune it on your codebase, but that’s likely a few years away for the average LLM user.
- troupo 3y agoGreenfield projects in less popular programming languages and frameworks is a miss, too. Currently working on an Elixir project with Ash Framework, and I wouldn't trust a single Chat GPT output for either of them.
- drsim 3y agoGoogle demonstrated codebase aware LLMs at Next last week. I believe it was with their Codey model. It knew the data model and methods that existed in code, and used these.
- muglug 3y agoYeah, it looked like a demo of something they're still working on. In this video they say "Custom-tuned models on code" are coming soon, but aren't there yet: https://youtu.be/qbxj_JDQ4Lk?si=qSTzMBpmqqJD5o9u&t=1632 https://youtu.be/qbxj_JDQ4Lk?si=qSTzMBpmqqJD5o9u&t=1632
- ilaksh 3y agoAre you sure you're not thinking of Cody the tool? https://github.com/sourcegraph/cody https://github.com/sourcegraph/cody The names are very similar.
- tomr75 3y agoCheck out cursor.so Just builds a local vectordb with your code base
- runeks 3y ago> Coding LLMs really shine for greenfield projects in popular programming languages. Greenfield? Unless we disagree on the definition of greenfield (no prior work), then a plane spotter app is anything but greenfield. GitHub returns 11 repos for JavaScript alone.
- ledauphin 3y agoThe insight about thinking deeply is compelling, and I believe it's partly true. We could all benefit from sitting silently and thinking more often. But I also suspect that it overvalues individual insight and undervalues the normal process by which most complex ideas with application to the "real world" actually get created - through back-and-forth interaction between people.
- idatum 3y agoThe individual insight though sitting and thinking is what can be shared with others, each also doing the same, and can really move the conversation forward.
- viraptor 3y agoThis works better for some languages then others. I tried something similar for Swift since I wanted a simple tool for MacOS. The process was not great, many methods were hallucinated, and the answers matched old/deprecated functions from previous Swift versions. The experience seems to scale comparably to what's available in stackoverflow.
- dahart 3y agoA friend of mine was trying to show me how surprisingly good ChatGPT is, and sent me an example prompt and response that produced working code. Just to check, I entered the prompt into Google and got back the StackOverflow page with verbatim the same complete block of code. It was even the first Google hit. The only thing ChatGPT had done was copy something easily findable on the web and scrub away the attribution, license, and source information.
- hyperpape 3y ago"It's faster/less of a pain to ask the bot than to use StackOverflow" is a significant portion of what I use ChatGPT for. Sometimes, it's just a better search engine. I recognize that there are questions about how that works in the longer-term, but for now, it's useful.
- ofjcihen 3y agoMaybe in some cases, but I’ve found the context of the original answer to be important. Usually the original answer has some responses attached either clarifying something important or outlining why this approach is bad and linking to a better answer. With GPT you only get one answer Saïd with complete confidence.
- Brystephor 3y agoEven if all chatgpt did was save you two clicks per search, and maybe saved the time spent highlighting the portion that needs to be copied, isn't that still valuable?
- xkcd1963 3y agoI tried to use it for my work but I always need too specific things. It can save me some clicks on google but often google is still more useful.
- maxboone 3y agoOne thing that bothers me with these posts is that the majority of the work goes into the API. A more true title would be "Displaying nearby ADS-B data for planespotting in 120 secs...".
- elicash 3y agoIf I read your title, I’d assume they specifically requested that end solution. Here, all they knew they wanted technically was NodeJS, not where to get the data.
- wodenokoto 3y agoI’ve spent more time arguing with chatgpt over a pandas operation.
- CrzyLngPwd 3y agoUltimately, if this stuff really worked, we'll do nothing but dance around a fake fire, singing AI generated songs.
- j7ake 3y agoThese LLMs have a huge potential for ML-guided home schooling or small classroom schools. The knowledge resource is no longer centered around the teacher, but rather on the student. The key is to have a teacher that is keen on noticing what interests the students, then converting those interests into meaty projects that students can build. The key is going to have very small learning groups, maybe max 4 per adult. The adult needs to be able to quickly learn new topics with the help of LLMs, and be able to articulate what the students interests are. The value of teachers who can effectively leverage LLM is going to sky rocket.
- toomuchtodo 3y agohttps://www.khanacademy.org/khan-labs https://www.khanacademy.org/khan-labs https://www.ted.com/talks/sal_khan_how_ai_could_save_not_destroy_education https://www.ted.com/talks/sal_khan_how_ai_could_save_not_des...
- croes 3y agoSo the teachers have to check the results of the pupils and additionally the results of the AI
- wokwokwok 3y agoIt's great to be amazed by this stuff, but it really just shows how poor human intuition is at these things. > Imagine envisioning Airbnb, and having its whole frontend and backend done within 1 minute. ...sigh... You're seeing the tip of an iceberg, and you're like, "wow, it's cold"... but you honestly have no idea. Any tool that you spend less an hour using, you have no idea about. That's it. There's nothing more to say. Use it for longer. Try building larger things. Give me a considered opinion when you've formed one, not a reaction video. There was a spate of this kind of article when chat-gpt first came out, and at the time, it was like: why are we seeing these "I spent 10 seconds with a LLM and I made a potato!" and "I spent 20 minutes with an LLM and made a one-page HTML website!" articles, and none of the "I spent a month with an LLM and build a new programming language", or "I spent two weeks with an LLM and I build a raytracer" articles? Oh they said, "It's too soon, give it time... it's only been out a month. 3 months... 6 months...". You still don't see them. ...because they don't exist. No one has done anything impressive with this stuff; it's fundamentally limited in what it can produce, and the massive productivity benefits you see (30x faster!) are for trivial tasks, not difficult tasks. ...and the modest productivity benefits you get from using an actual copilot don't make articles that are nearly as interesting to get as many clicks. Look, AI can seem magical, but when you have something that seems too good to be true, after using it for an hour, or even a day, maybe it's not the right moment to drop a blog post about how gosh darn amazing it is?
- Philpax 3y agoThey're pretty clear that that's not possible with the current state of affairs. They're speculating about a future in which that may happen, which seems pretty reasonable to me - we don't know how much gas is left in this tank, after all.
- ChatGTP 3y agoDo you know what the point would be of it spitting out an Airbnb clone ? Very little because Airbnb is a huge business which has to solve a lot of problems outside of copying someone’s code ?
- firesteelrain 3y agoI have used ChatGPT to help me brainstorm and do quality checks on my Masters work. It also is good for hallucination where you have to come up with a hypothetical project. For example, I had it generate me parts of my project given characteristics or attributes. It came very close and with further and further prompting on the same window the responses got better and better.
- keeglin 3y agoI'm constantly ill at-ease with how LLMs have been trained on, well, just about everyone's data, and spit out really creative responses that were wholly inspired by someone else's most likely copyrighted works. With no attribution. This response in particular. I immediately thought of this project (that hit the front page of HN): https://skybot.cam/about https://skybot.cam/about
- pixl97 3y agoThe faster the idea of intellectual property dies the better off we are.
- riow 3y agoTrue.
- unstuck3958 3y agoAgreed. In the same spirit, all models (and all software for that matter) should be open and charge only for the computational costs of the service. I do see how this is a little too idealistic, though.
- Breza 3y agoCare to elaborate? That's a pretty big claim.
- FrustratedMonky 3y agoSince it is trained on code from github, internet. Wouldn't it have better examples, better able to provide results, from popular languages. So ask it to something in C/Python/etc... you get better results than for F# or ObjectiveC or ActionScript. When I ask GPT4 questions about Python, it is almost like talking to a pretty knowledgeable person. It offers opinions on best ways and eve no what NOT to do.
- mercurialsolo 3y agoA lot of trivial plumbing work is really being solved by LLM's. Even in the space of work - We need a lot of plumbing knowledge to get access to a domain e.g. learning about the basics of beekeeping or how to build a nodejs based webapp which makes an API call - a lot of knowledge in a domain is just grind and grunt work which is being automated. We now need to peer beyond and that's where true exploratory work in any domain lies and is useful.
- dingaling 3y agoIt's trivial plumbing, but is it efficient? I can't see the full details of the states/all API call in the code screenshot but it appears to be iterating through the entire dataset of Open Sky Network flights and for each one determining if it is within the observable radius. That's a lot of work and inefficiency and could hit the API rate limits. A more efficient approach would be to call the states/all API passing a bounding box ( supported by the API ) and then just eliminating any aircraft that fall within the disjunction of the bounding box and the observable radius ( the corners ).
- levmiseri 3y agoI have had a similar experience using ChatGPT to build https://meoweler.com https://meoweler.com – a travel website covering 5000+ cities with a surprisingly good content quality created over a long weekend. Something that was unfathomable for me 2 years ago.
- simbolit 3y ago>surprisingly good content quality I checked the city I live in and three more cities I know quite well, and I have to disagree. This reads/feels like a content farm, which (if GPT wrote the content, as you seem to imply) is exactly what it is (as I have excessive Adblock I don't know if there are ads, but I don't think they are needed for the definition of a content farm).
- meiraleal 3y agoI'm going to disagree, the Rio de Janeiro page is quite good, if the other 5k pages are similar this is a useful page created very fast.
- levmiseri 3y agoFair enough. Calling it 'good quality' might be a bit of a stretch, at least for now (the bigger cities are generated with GPT4 while the smaller ones are GPT3.5 – perhaps you got the 'bad batch'). I'm playing with a different set of prompting that is producing better results, nevertheless — the point was that creating a travel site by one person like this was not possible before. And there are no ads. It's really more of an experiment rather than a real product.
- terminous 3y agoThis is like saying you built an operating system in 120 seconds because you typed "docker run...." into a terminal
- jgrahamc 3y agoNext step... get it to map the ADS-B broadcast ICAO callsign and the IATA flight number. At the airport you'll see the IATA number but in the ADS-B you'll have ICAO. In his example it says: Flight TAP1369... Flight TAP23NP... Flight TAP1691... Flight RZO134... TAP1369 (ICAO) is TP1369 (IATA); similar for TAP1691 (ICAO) and TP1691 (IATA). But TAP23NP (ICAO) is TP1823 (IATA) and RZO134 (ICAO) is S4 134 (IATA). What's broadcast in ADS-B is very often very different from what's shown at the airport and not what someone would recognize. Doing this mapping is a pain. The OP is using OpenSky Network who say: callsign This column contains the callsign that was broadcast by the aircraft. Most airlines indicate the airline and the flight number in the callsign, but there is no unified system. In our example, the callsign indicates that this state vector belongs to UPS flight 858. By looking up the flightnumber on services like flightaware.com, you’ll find out that this flight goes from Lousville to Phoenix every day. i.e. go look this data up elsewhere. I asked ChatGPT: Write me some JavaScript that can map an ICAO callsign broadcast by ADS-B to an IATA flight number for the same flight. Mapping an ICAO callsign broadcast by ADS-B to an IATA flight number is a complex task that typically requires access to a comprehensive aviation database. Such databases are often provided by aviation data providers and may not be freely available. However, I can provide you with a simplified example of how you might approach this task if you had access to the necessary data.
- tkgally 3y ago> ChatGPT is great at executing, but it’s not so great at coming up with new ideas. I’m not sure if I agree with the second half of that statement. Several times I’ve asked GPT-4 to suggest ideas, and it came up with some very good ones that I would not have thought of myself. Here’s an exchange I had with it just now: https://chat.openai.com/share/d23ce0d2-ed60-4259-9176-73b590cae164 https://chat.openai.com/share/d23ce0d2-ed60-4259-9176-73b590... I’m also not sure if I agree with the first half, particularly the “great” in “great at executing.” While I have also been amazed a few times by code it wrote for me, I have run into more cases where, despite repeated back-and-forths with me, it was never able to produce code that ran. Maybe better, in my experience, would be “ChatGPT can often come up with good ideas, but it is only occasionally able to execute them.”
- iAkashPaul 3y agoOne of my things to try to make is an isometric flowchart editor like the amazing isoflow.io (which is slowly being open-sourced by the dev)
- frereubu 3y agoThis feels a bit like survivor's bias. Or perhaps more accurately akin to the file drawer problem in academia. This may have worked really quickly this time for this specific use case, but what about the vast number of times a prompt like this this won't have worked for other people? The other metaphor that comes to mind is monkeys and typewriters, although clearly here the odds are a bit better.
- ImPostingOnHN 3y ago> what about the vast number of times a prompt like this this won't have worked for other people? similarly, what about the vast number of times a prompt like this this _will_ have worked for other people? we don't know either of these two numbers, especially not which one is larger than the other
- binwiederhier 3y agoI may be biased, but you should totally integrate ntfy.sh [1] support, so you get a push notification every time a plane passes over your house. I think that'd be a cool use case. Disclaimer: I am the maintainer of ntfy. [1] https://ntfy.sh https://ntfy.sh
- PheonixPharts 3y agoAnyone remember the unlimited number of "build Twitter/blog/todo list in 15 minutes using Ruby on Rails" tutorials? It's great that we've got it down to 2 minutes. However anyone who has worked in a rails shop has experienced that somehow that initial set up seems to make everything else down the line get a bit more time consuming. In fact, I would posit that there might be an inverse correlation between how quickly you can get a blog up using framework X (including an LLM) and the long term scalability of that project as you start adding features and engineers. Legacy rails apps can be terrifying, I can only image the horrors that will be legacy LLM apps if they can even manage the structural cohesion to become legacy apps.
- lolinder 3y agoYes! And the cause is the same in both cases: magic. The more magic is involved in getting everything set up, the less well you understand the system you just built, and the harder it will be to do what you need to after the initial scaffolding. Wiring up the initial boiler plate is tedious but gives you a complete picture of the system.
- adventured 3y agoFear not, future LLMs will be tasked to fixing historical LLM apps. Circular LLM employment program.
- pqdbr 3y agoI have the exact opposite impression: legacy Rails apps are usually a pleasure to work with if the developers followed the most basic framework conventions. It's called "on Rails" for a reason.
- deleted 3y ago[deleted]
- nforgerit 3y agoI began to think that we should see LLMs just as another kind of programming model to be potentially embedded into existing systems. Nothing more, nothing less. This might sound like a trivial conclusion at first, but as a community we should find some kind of common understanding without playing down its potential usefulness nor riding the hype train some people want us to jump on.
- cookie_monsta 3y agoFine, I'll be the one to say it... 2 minutes is not 30x faster than 30 minutes
- ofjcihen 3y agoAs a pentester this new wave of GPT-led development has been both a nightmare and a dream. A nightmare because we have “devs” using it to develop applications laden with vulnerabilities. As an example we found a web app with account enumeration/forced browsing vulnerabilities that would have led to a sizable chunk of our user base being exposed. It would later come out that he had copied and pasted everything from ChatGPT. When I asked him if he trusted everything he found on StackOverflow he said no as if I was an idiot. When I asked him why he trusted ChatGPT he said “because I asked it to check the code for any vulnerabilities and it said there were none”. But, like I said, it’s also been a dream. I’ve seen an uptick in sites with poor practices on bug hunting platforms and I’ve banked about 35k. So that’s nice.
- gdubs 3y agoA lot of these comments feel similar to how people reacted to early personal computers. With a kind of superiority around how 'serious' tasks were done on mainframes, and these 'toys' would never amount to anything. I think it's an exciting time where lots of people are getting computers to help them with their problems in a way I haven't really seen since HyperCard. I feel like this is very much in the Hacker spirit.
- deleted 3y ago[deleted]
- ta988 3y agoExactly this is an incredibly dynamic world, everybody talks about gpt4 here but what is happening on the discord channels and hugginface where people are pooling skills and compute is fascinating. The progress that was made in the last couple years is baffling. We didn't get transistor computers a 2 years after the transistor was invented, things take time.
- pronouncedjerry 3y agothe color gradients for the dark hotels map doesn't make much sense
- ali_calypso 3y ago[dead]
- beej71 3y agoTo me, this sounds like an extraordinarily boring way to spend half an hour. What's the fun in managing someone else writing the code?
- irrational 3y agoWhat happens when nobody knows how to create their own artwork, write their own novels, program their own code, etc. because they are so reliant on LLMs? Yet LLMs are reliant on using the output from real people. Is there an event horizon where LLMs have nothing truly new to pull from and can only use what was created by previous generations of humans? An LLM stagnation.
- shonenknifefan1 3y agoGiven that LLM content is generated with some randomness, and assuming that published LLM content is filtered to be useful for humans, then even in the case where no content is being generated by humans, I would expect the published content to contain new information that is generated by humans.
- netsharc 3y agoMy first productive use for ChatGPT was writing a filebeat configuration (to extract tokens out of loglines to push into the ELK-stack)... "Given a log line of $MY_LOG_LINE, can you generate a filebeat configuration to get the timestamp, source and destination IPs", and I'm amazed it did it -- well almost, it didn't notice the timestamp in $MY_LOG_LINE wasn't ISO8601, so that was a fun troubleshooting. And I could refine the generated configuration with 2 or 3 other types of loglines... I'm now a convert.
- stevekrouse 3y agoI made a little runnable JavaScript script for it if you wanted to play with the opensky API yourself! https://www.val.town/v/stevekrouse.planesAboveMe https://www.val.town/v/stevekrouse.planesAboveMe