Lurker News
With GPT so hot in the news right now, and seeing lots of impressive demos, I'm curious to know, how are you actively using GPT to be productive in your daily workflow? And what tools are you using in tandem with GPT to make it more effective? Have you written your own tools, or do you use it in tandem with third party tools?

I'd be particularly interested to hear how you use GPT to write or correct code beyond Copilot or asking ChatGPT about code in chat format.
But I'm also interested in hearing about useful prompts that you use to increase your productivity.

Comments (735) 221 threads

Earlier comments
akiselev2 replies#
I use it a lot for Linux administration, troubleshooting, and scripting as well as some programming. I've only recently started using GPT4 and the API so I've only been using the chat interface so far. Examples of some stuff I've asked it just today:

- Asked which config files handled sleep mode when lid is closed and kept fixing it and asking for more possible locations until it fixed my issue (going into sleep during boot before user login if laptop is closed even with externals)
- Asked for a list of KDE config files I should track in git
- Copy pasted a list of ~/.config files and directories and asked ChatGpt for descriptions. Used those for commit messages to build up the initial dotfiles repo for KDE plasma and a whole bunch of other stuff that would have taken hours
- Asked it how to write a bunch of journalctl queries
- Queried it about some log lines I've been seeing in journalctl and had it guide me through troubleshooting using some terminal commands it came up with. Turned out to be a problem with nvidia-drm.modeset in kernel configs
- Asked it to guide me through a dozen awesomeWM customizations ranging from new code from text descriptions to edit suggestions to fix bugs in behavior I've described. Stuff like custom if/else trees handling setup specific scenarios (logic for clamshell open and closed with one or more externals connected by ID) are a breeze.
- Asked it for tips on how to use awesomeWM best and which keybindings to customize
- Code up the message passing from a firefox extension to a native Rust CLI (like the 1password extension) that uses remoc to pass through messages from all tabs to a single daemon over platform specific interprocess communication
AKA Google is fucked.

inciampati#
It's amazing for system administration tasks like this. A few weeks ago I used it to install about 25 SSDs in the course of an hour. I was able to build up a one liner that let me figure out which discs were recently added and had not been formatted or mounted anywhere. It helped me do this really, really fast.
000ooo0002 replies#
>Google is fucked

The last year or two have proved to me that they deserve it. Their search engine is utter dogshit now. Ultra commercialised, full of ads, so hard to find a result that is actually what I searched for. Guess that's what Google level greed will do.

snorkel1 reply#
Agree. Try looking up travel passport renewal on Google: The first entire page of search results are ads and SEO scammers that charge high fees to fill in a passport application form all disguised as government affiliated services. The actual government passport web site isn’t even close to being top result.

Excite, Yahoo, and Alta Vista are welcoming Google to search giants retirement home.
We dread when the SEO game ruins ChatGPT

oriettaxx#
the same for travel visas: it's full of scam websites, and official ones are often very well done, easy, fast.

I have been a google reviewer maaaaany years ago, and it looks like they just don't invest anymore in this.

pmoriarty#
Google has turned into AltaVista
huijzer#
My favorite uses are:

- Interactive debugging. Yesterday, for example, it helped me debug some tricky CSS issue where it gave hints and after 6 times back and forth, the solution came up. I had to explicitly set `-webkit-appearance: none` for styling sliders in WebKit browsers; this wasn't the case for Firefox.
- Checkout definitions. I have a small tool (https://github.com/rikhuijzer/ata) available on a keyboard shortcut and use it to quickly checkout definitions for words when I come across a word that I don't know.
- Writing jargon and suggesting edits. I let it write parts of my paper. ChatGPT is way better than me in adhering to the jargon of the field and also gives useful suggestions for small things that I should add and makes sentences easier to read.
- Refactoring. GitHub Copilot and ChatGPT are great at refactoring code between languages. Just give an example (one shot learning) of how some kind of long html text should be rewritten to markdown or a Rust struct and it will generally do pretty well. Saves a lot of Vim magic and/or typing.
- Having an assistant. As cliche as it may sound at this point, I actually agree that ChatGPT feels like an assistant which thinks with you and is there to fallback on.
> But I'm also interested in hearing about useful prompts that you use to increase your productivity.
Just like Greg demoed in the GPT-4 developer livestream, I just ask the question in the first paragraph and then throw in as much information as possible after that.

nunodonato1 reply#
I've been working on my own personal-assistant for a couple of months, just connected it to telegram so I can reach it from anywhere. Can "talk" to my calendar, run commands on my home computer, etc. It also has its own memory, so doesn't need huge prompt windows (I'm running a couple of fine-tuned curie models btw). Now I've been giving it API access to a bunch of stuff to increase its capabilities.
LelouBil1 reply#
What do you use for the memory ?

Can you explain a bit more ?

nunodonato2 replies#
mysql database, with a column to store the embeddings vector (yeah i'm not so fancy to be using pinecone :P)
hcentelles3 replies#
To keep the "memory", do you pass the embeddings along with the new text prompt in an API call? How do you combine embeddings and text prompts? I don't know much about this, sorry if the question sounds silly.

Continue this thread — 3 replies

taf2#
which column type do you use?
newshorts#
Used it live with my team to write an inspirational speech then I read back to the team. We all had a good laugh.

It’s just not contextual enough yet to understand how to sound genuine to a team that has had enough connection and time together to have developed our own norms.
I also tried to use it to limit the string length of a type in typescript and it hallucinated an answer that probably should be how they implement that feature’s ergonomic. Threw me for a loop because it looked so legit, but alas the feature doesn’t actually exist.
GPT does shine bright if you are exploring/brainstorming a new topic at 2am and there’s no one else to run your ideas past.
I also have successfully used it to round out my thoughts about high level topics and think of things I would not have when developing plans.
For the time being, I view it less as a competitor to my brain and more of a compliment.
In relationships we tend to develop dependencies on our partners where our deficiencies are their strengths. I guess I’m still learning about the strengths of GPT.
It’s striking that I already view this technology as a potential “partner” of sorts, different than a simple “resource” like google or stack overflow.

Load more comments