Back to News
Advertisement
Advertisement

⚡ Community Insights

Discussion Sentiment

56% Positive

Analyzed from 741 words in the discussion.

Trending Topics

#code#spaghetti#lot#mess#phone#claude#humans#write#more#using

Discussion (18 Comments)Read Original on HackerNews

unqueued23 minutes ago
I used bluez and bash to lock xscreensaver using some very minimal bash. It wasn't my idea I believe people on the Gentoo forums were doing it.

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.

LunicLynx30 minutes ago
If this happens often for you (it does for me) I can recommend a garmin watch. It also can find the phone based on signal strength. If the app garmin app is running in the background it can also play a sound on your phone, but the signal strength part saved me many times.
aidosabout 2 hours ago
Yesterday my 8yo prompted (using voice recognition) Claude to make a game where it would play her a song (say Twinkle) and she had to play it back and get scored. The UI was a nice piano with visual feedback. The laptop key served as the keys until I prompted for midi support so she could use the electric piano. The whole thing took about 15 minutes.

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.

bdcravens37 minutes ago
> 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".

fsniper21 minutes ago
AI writes faster, so the rate it incurs tech debt is proportionally higher. However it's ability to have large context kept on memory compared to humans is also a key component fighting against it. These are occasionally forgotten when code quality of AI for large code bases are discussed. So Yes I think humans also build spaghetti, but as they write slower they get to the same place a lot later. However humans can't correct it, or can't correct it fast enough. AI can.
m463about 2 hours ago
I wonder. I remember before emissions, what's underneath a car hood was relatively organized and simple. Then with emissions it became a maze of vacuum hoses and so much other nonsense.

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://github.com/seL4/seL4/

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.

pona-aabout 2 hours ago
That's what happens with scale...

The purpose of a car itself didn't change. But the massive inflated demand, as our city planners decided every adult must be put in a rolling metal cage to participate in society, changed the environment it was originally designed for.

Now it's a matter of geopolitical stability, or even basic human habitability of these spaces, that a car converts as much of that chemical energy into movement, and releases as little toxic byproducts in the process. Whereas before, that cost, at scale, was small enough to neglect.

Just like a modern CPU evolved into an incomprehensible mess, even though the basic consumer needs hadn't changed much, because the politics of computing forced them to run expanding institutional cruft at reasonable speeds, on battery-powered always-on addiction machines.

toasty228about 2 hours ago
It was simple because it was inefficient and archaic. Reducing pollution is not "nonsense"
gxs41 minutes ago
Yes but it’s far better than anything anyone, let alone a small child, could make in 15 minutes

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

ranger_danger37 minutes ago
The only reason it's a spaghetti mess is because it's not being prompted correctly by an expert.
gxs35 minutes ago
100%

A novice writing code by hand could also write spaghetti code

If you've worked in enterprise software, you might have seen that even competent professionals can write spaghetti code

At this point AI really is just garbage in garbage out

bakugo30 minutes ago
Are these experts in the room with us right now? Because if even the creators of Claude seemingly can't prompt non spaghetti code (see: Claude Code leak), I'd like to know who can.
dexterlaganabout 2 hours ago
Had this song in my head, wrote some lyrics, hummed it into Suno, generated the song. I love listening to it. What a world.

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.

spottedmarley39 minutes ago
Claude is MacGyvermaxxing
visiondude24 minutes ago
cool, that’s like the Phone Buddy app for Apple Watch
flyinglizard23 minutes ago
I routinely use the RSSI indications in my UniFi WiFi (thoroughly recommended) to find various kids devices around the house. You go by AP first (each section has its own), then each room tends to give its own RSSI, give or take.
reader927434 minutes ago
"Come on Rebecca, you did not lose your phone"