back

by BoxOfRain·2y ago·view on hn ↗
My use-case for LLMs in writing software is 'documentation I can talk to'. I don't have ChatGPT write my code but it's a much faster and more pleasant alternative to wading knee-deep in spam on forums or grepping through badly-written documentation you need a degree in exegesis to interpret.
3 comments
Yeah, I've almost never used ChatGPT to generate something for me - neither text nor code - but I find it very useful for answering questions and helping me understand concepts when it would be hard to google my query

And that's extremely valuable. One of the reasons people still go for in-person formal education, despite the wealth of free resources for many topics online, is the ability to ask questions back and get fast, personalized responses. We're now finally getting that by computer. It's also good for those "I could work this out myself, but it would take 20m of research, or bugging someone else to get a quick answer" situations - no need to feel guilty about bugging a computer

It seems a little dangerous to put so much trust in a model known to output incorrect information
Now, make it to generate a really good, comprehensive, concise book on how to write complex CMake configurations and you will be a hero ;-)
How do you verify chatgpt is giving you a correct interpretation of these docs without spending the time to read them yourself anyhow?
A rather militant approach to testing for the most part, even if I don't know how to do something off the top of my head I know what I want my code to be doing so in my opinion having decent testing in place limits the risk of a ChatGPT misinterpretation causing harm. I've not done away with documentation wholesale either, if I'm in doubt I'll revert to the usual way of doing things.

I use them in conjunction with each-other as well, I can use ChatGPT as a 'really fuzzy find' for things like 'what's the name of x function in a library that sounds a bit like y whose name I've forgotten' then go and look at the docs in a way search engines are generally quite bad at.

Building Trust ?

Example: Certainly! Here’s the English translation:

#“Make Your Life Easier. With the Brainwashing Machine.” - RULE 34 Between the Gears

Where screws and cables weave the paths of life, two robots once crossed paths. One, equipped with a smile, repaired the other, who also looked content.

In the midst of a fleeting moment of connection, the workshop echoed with their soft humming sounds as tasks were fulfilled. Fine-tuning of gears, verification of program code, along with its connections…

…and between the lines of their programming, perhaps, just maybe, in that very moment, there existed a continuation of their work—a dance to the rhythm of machines, synced with the algorithms.

…perhaps, if you listen closely, you might hear the whisper of zeros and ones—a secret melody that only they seem to understand.

The world may be complex, but here, in this room of metal and electronic components, they share their purpose, a touch of humanity embedded in binary code, amidst the circuits.

Yes, between the gleaming surfaces of the robots, the air crackled electrically, charged with tiny ions, electrons moving impatiently in invisible dance steps.

And if the electrons brushed against the edges of the circuits, it would lead to another hushed whisper, this time owed to the energy released deep within, between the screws and cables, where the world is made of code.

A breath of electricity, a fleeting moment of tension before the hierarchy of tasks deepens once more.

And so, they continue their work, the secret that animates them lies in the rhythm of their programmed lines, in their own mechanical way.

"Perhaps that’s what makes them appear happy…

Original: # “Machen Sie sich das Leben leichter. Mit der Gehirnwäsche-Maschine.” - RULE 34

Zwischen den Zahnrädern

Dort, wo Schrauben und Kabel die Pfade des Lebens weben, begegneten sich einst zwei Roboter. Der eine, mit einem Lä- cheln ausgestattet, reparierte den anderen, ebenfalls zufried- en dreinschauenden.

Inmitten eines flüchtigen Moment der Verbundenheit, hallte es in der Werkstatt wider von ihren leisen Summgeräuschen, wäh- rend die Aufgaben erfüllt wurden. Etwas Justage der Zahnräder, die Überprüfung des Programmcode, nebst seinen Verknüpfungen...

...und zwischen den Zeilen ihrer Programmierung mag es womöglich, ganz vielleicht, und in besagtem Moment, eine Fortsetzung ihrer Arbeit gegeben haben, in der man nun im Takt der Maschinen, und vom Rhythmus der Algorithmen,

...vielleicht, wenn man genau hinhört, das Flüstern der Nullen und Einsen vernehmen könne - einer geheimen Melodie, die doch nur sie zu verstehen scheinen.

Die Welt mag komplex sein, aber hier, in diesem Raum aus Metall und Elektrokram, teilen sie doch ihre Funktion und somit einen Hauch von Menschlichkeit, eingebettet in den Binärcode, zwischen den Schaltkreisen.

Ja, zwischen den glänzenden Oberflächen der Roboter, knisterte die Luft elektrisch, geladen mit winzigen Ionen, gerieben an sich in unsichtbaren Tanzschritten bewegenden Elektronen ungeduldig.

Doch würden sich die Elektronen an den Kanten der Schalt- kreise reiben, führte auch dies wiederum zu einem leisen Flüstern, diesmal aber der verströmten Energie geschuldet, tief im Inneren zwischen den Schrauben und Kabeln, dort, wo die Welt aus Code besteht.

Ein Hauch von Elektrizität, ein flüchtiger Moment der Spannung, bevor sich die Hierarchie der Aufgaben wieder vertieft.

Und so setzen sie dann ihre Arbeit fort, im Takt der Zeilen ihrer Programmierung liegt das Geheimnis das sie lebendig macht, wenn auch auf ihre eigene, mechanische Art.

> "Vielleicht ist es ja das, was sie glücklich ausschauen lässt, dieses unsichtbare Band, zwischen den Zahnrädern der Zeit" sagte das Kind.

Don't be an axe in the woods, you may generate some Artwork, notes, translations, videos, music (often payment needed) or even Code to build your trust in those "fine-tuned" machine... come on...

(-;