Meanwhile, one peak at the code and you can already see the state starting to become a bit of a spaghetti mess.
It’s a funny time to live through. A lot of code is being written and a lot of it is going to be a real future burden.
This assumes that the models of the future won't find it easier to just throw the code away and rebuild it
This also assumes that the same application build by humans wouldn't become a "spaghetti mess".
then ... in some places (maybe cars that people care about working on) it became cleaner again. In the other places, they added a second hood to hide the mess.
There is some clean code out there, like maybe the seL4 kernel:
https://en.wikipedia.org/wiki/SeL4
"with an explicit goal of enabling comprehensive formal verification..." (and lots more stuff)
maybe we can still have niches like this.
Well in this case, for the idea it was already in the training data. User said was out of ideas...trying to prop up the LLM smartness...
https://www.lifewire.com/how-to-find-a-lost-bluetooth-device...
https://android.stackexchange.com/questions/194584/locating-...
https://forums.macrumors.com/threads/i-lost-my-cellphone-som...
https://discussions.apple.com/thread/3317786?
And about the code...well...
- Complete Android code example specifically explains that Bluetooth RSSI can be used, cautiously, as a distance indicator. - https://mobile.fhstp.ac.at/development/rssi-messungen-von-bl...
- android-Bluetooth-RSSI-Scanner - https://github.com/TimingJL/android-Bluetooth-RSSI-Scanner
- https://stackoverflow.com/questions/22914532/ble-continuous-...
- https://github.com/alt236/Bluetooth-LE-Library---Android
These LLMs are mainly knowledge bases and compression engines.
And we thought it would be _visual programming_ that brought children to programming. Cool. Its logic.
I honestly think people on here are very much overstating 'spaghetti code' when AI does it... first, it works correct? The reason I say that if the AI can continue to upgrade code that might not always look 'the prettiest' (to you..) because it doesn't care about what some of us consider to look like clean code. If it can continue to manage, document, and upgrade the code successfully.. does you calling it spaghetti code actually matter? Maybe you have a hard time reading it but the AI certainly doesn't.. I think that's worth consideration.
Every one of us has our own conventions and ideas of what 'clean' code looks like sometimes. And honestly 95% of the time we only thing it's clean if we wrote it ourselves.
That is how compiler-generated assembly looks to humans, as well. Human-produced is typically much more readable. Yet, here we are. Most programmers only know the very basics of assembly programming, but the world keeps spinning just fine.
I don't think we'll be looking at code at all within the next few years. I know I already don't anymore. The code is not the product for me, and as long as any model, commercial or local, can maintain it (or recreate it), I'm fine. When I make a drawing in a vector drawing program I don't export to PostScript to see if they calculated the bezier curves correctly either.
I'm convinced most code will be ephemeral in a few years.
On the other hand an engineer might take a couple hours and build this in a clean way with the right prompting
These “got ‘em” ai criticism comments are getting so old
But then ... posting to HN that you've used an LLM to solve a problem is OK?
But you can just loop over something like `hcitool rssi "$MAC"` and project it somewhere, there's a variety of ways.
I like using dunstify with the -p option to persist on screen.
I think it's really impressive what these agents can do, but you should also consider whether you're asking it to burn tokens reinventing the wheel for you, or making a pretty wrapper around a wrapper.
two sentence horror
I make little tools like that all the time. My GitHub is filled with these little things I write or gen once never to be used again. Some of them I use daily (GitHub.com/dexterlagan). Since LLMs became decent I make even more of these. The more we move forward, the more people make things for their own use. I think it's cool. I see a lot of naysayers, but man, I have been waiting for this kind of tech since I was 10. Let's enjoy it I say.
It’s a standard feature on my Garmin watch. I can access it in a few button presses, sometimes two if it’s the last action I used.
In my case, it wasn't able to come up with it, but fortunately I was, and had it build a local webpage that does "hot or cold" with a 0-100 score. And it worked first try! Found them in like 2-minutes.
Also made for a fun day of hot-and-cold hide-and-seek games with my niece after i had it built that concept as a sideloaded ipad app :)
sigh
its funny but also concering how many apps seems to become completly pointless very fast...
I now use my own video compositor to edit videos instead of after effects https://lowkeyviewer.com/studio/
use my own ecommerce and landing page builder for my businesses. that I use in production.
Cancelled by Strength App, Zwift for indoor bike trainer, and strava for running apps and built my own app that brings all 3 together and works better. https://coachsamsyn.com/
Among about 100 little smaller tools.
All of these are released and work. Some of them have other customers. One of them has 1000s.
There is absolutely no way I could have done all of this without AI. I don't really consider most of it too be slop, ive been an engineer for 20 years. I care a lot about the details and the underlying properties of the system. I had shipped my side projects years before AI that had real users so I have a good idea of what it takes to ship something end to end that people can actually use. It's mostly about the details and ease of use and the last 20% is the hardest. Some of us know that from our day jobs but it is different when you have to it all yourself and be responsible for every choice.
And I remember wanting something like this, thinking "this is so dumb, the sensor is here, I just need the code to extract the signal".
Well now you can just prompt for it.