zlacker

[parent] [thread] 6 comments
1. devjab+(OP)[view] [source] 2023-11-08 19:21:10
I’m curious as to your conclusions on point (2). We use GPT daily but see nothing with it that threatens tech workers. At least not in any sense that we haven’t seen already, with how a two or three developers can basically do what it took one or two teams to do 25 years ago.

In terms of actually automating any form of ”thinking” tech work, LLMs are proving increasingly terrible. I say this as someone who work in a place where GPT writes all our documentation except for some very limited parts of our code base which can’t legally be shared with it. It increasingly also replaces our code-generation tools for most ”repetitive” work and it auto-generates a lot of our data-models based on various forms of inputs. But the actual programming? It’s so horrible at it that it’s mostly used as a joke. Well, except that it’s also not used like that by people who aren’t CS educated. The thing is though, we’ve already had to replace some of the “wonderful” automation that’s being cooked up by Product Owners, BI engineers and so on. Things which work, until they need to scale.

This is obviously very anecdotal, but I’m very underwhelmed and very impressed by AI at the same time. On one hand it’s frighteningly good at writing documentation… seriously, it wrote some truly amazing documentation based on a function named something along the lines of getCompanyInfoFromCVR (CVR being the Danish digital company registry) and the documentation GPT wrote based on just that was better than what I could’ve written. But tasked with writing some fairly basic computation it fails horribly. And I mean, where are my self driving cars?

So I think it’s a bit of a mix. But honestly, I suspect that for a lot of us, LLMs will generate an abundance of work when things need to get cleaned up.

replies(2): >>idonot+3j >>wizzwi+yr
2. idonot+3j[view] [source] 2023-11-08 20:47:00
>>devjab+(OP)
Try out a local language model for the docs you can't get chatgpt to write.

You can run small quantized models on apple silicon if you have it.

I've been using a 70B local model for things like this and it works well

3. wizzwi+yr[view] [source] 2023-11-08 21:21:21
>>devjab+(OP)
> I say this as someone who work in a place where GPT writes all our documentation

> But the actual programming? It’s so horrible at it that it’s mostly used as a joke.

Please, for the sake of your future selves, hire someone who can write good documentation. (Or, better still but much harder, develop that skill yourself!) GPT documentation is the new auto-generated Javadoc comments: it looks right to someone who doesn't get what documentation is for, and it might even be a useful summary to consult (if it's kept up-to-date), but it's far less useful than the genuine article.

If GPT's better than you at writing documentation (not just faster), and you don't have some kind of language-processing disability, what are you even doing? Half of what goes into documentation is stuff that isn't obvious from the code! Even if you find writing hard, at least write bullet points or something; then, if you must, tack those on top of that (clearly marked) GPT-produced summary of the code.

replies(2): >>famous+UB >>devjab+sz1
◧◩
4. famous+UB[view] [source] [discussion] 2023-11-08 22:13:15
>>wizzwi+yr
Have you actually tried to use GPT-4 for documentation?

Whether it's obvious from the code or not is kind of irrelevant. It gets non obvious things as well.

replies(1): >>wizzwi+tP
◧◩◪
5. wizzwi+tP[view] [source] [discussion] 2023-11-08 23:24:32
>>famous+UB
It's not going to know that this widget's green is blue-ish because it's designed to match the colours in the nth-generation photocopied manual, which at some point was copied on a machine that had low magenta – nor that it's essential that the green remains blue-ish, because lime and moss are different categories added in a different part of the system. Documentation is supposed to explain why, not just what, the code does – and how it can be used to do what it is for: all things that you cannot derive from the source code, no matter how clever you are.

Honestly, I don't actually care what you do. The more documentation is poisoned by GPT-4 output, the less useful future models built by the “big data” approach will be, but the easier it'll be to spot and disregard their output as useless. If this latest “automate your documentation” fad paves the way for a teaching moment or three, it'll have served some useful purpose.

replies(1): >>famous+UX
◧◩◪◨
6. famous+UX[view] [source] [discussion] 2023-11-09 00:23:17
>>wizzwi+tP
I guess we'll just have to disagree.

Every now and then, the why is useful information that sheds needed light. Most of the time however, it's just unnecessary information taking up valuable space.

Like this example.

>this widget's green is blue-ish because it's designed to match the colours in the nth-generation photocopied manual, which at some point was copied on a machine that had low magenta

I'm sorry but unless matching the manual is a company mandate, this is not necessary at all to know and is wasted space.

Knowing the "low magenta" bit is especially useless information, company mandate or not.

>nor that it's essential that the green remains blue-ish, because lime and moss are different categories added in a different part of the system.

Now this is actual useful information. But it's also Information GPT can Intuit if the code that defines these separate categories are part of the context.

Even if it's not and you need to add it yourself (assuming you are even aware yourself. Not every human writing documentation is aware of every moving part) then you've still saved a lot of valuable time by passing it through 4 first and then adding anything else.

◧◩
7. devjab+sz1[view] [source] [discussion] 2023-11-09 05:39:01
>>wizzwi+yr
> Half of what goes into documentation is stuff that isn't obvious from the code!

I’d say that greatly depends on your code. I’ve had GPT write JSDoc where it explains exactly why a set or functions is calculating the German green energy tariffs the way they do. Some of what it wrote went into great detail about how the tariff is not applied if your plant goes over a specific level of production, and why we try to prevent that.

I get your fears, but I don’t appreciate your assumptions into something you clearly both don’t know anything about (our code/documentation) and something you apparently haven’t had much luck with compared to us (LLM documentation).

You’re not completely wrong of course. If you write code with bad variable names and functions that do more than they need to, then GPT is rather bad at hallucinating the meaning. But it’s not like we just blindly let it auto write our documentation without reading it.

[go to top]