Live data from Hacker News

Command line functions around OpenAI

kadekillary.work

291–300 of 316 posts

Re: Command line functions around OpenAI

#291
post #286

Earlier quoted context omitted.

Thanks! "How to catapult your productivity" is still too linkbaity, though. The second half is good. Can you/anyone neutralize the first bit?

I asked Bing chat to summarize the article and suggest a neutral headline based on the content - Headline: Here’s a neutral headline for the article: “Improving Programmer Productivity with Command Line Wrapper Functions around OpenAI API” . Summary: The article at https://kadekillary.work/posts/1000x-eng/ discusses how to improve programmer productivity using command line wrapper functions around the OpenAI API. The…

I prefer your edit. I found it interesting that ChatGPT can be useful in some cases to neutralize sensational language.

Re: Command line functions around OpenAI

#292

Earlier quoted context omitted.

I have to ask: how do you work as an eng who pulls in $1m/yr?

(throwaway I guess) I make over $1m as a SWE. “Senior Staff” or “Level 7” role at a big tech company everyone knows. I mostly write code! I am way faster than most others here, and I have encouraged and mentored the people on my team to be similarly efficient. I also help decide technical direction but it’s far from the “architecture astronaut” stereotype that writes no code. It’s an infra team so no significant infl…

Congrats on your career success! I'm surprised infra can pay that well; I suppose at some companies they understand infra basically ensures the ship keeps running as it should.

Re: Command line functions around OpenAI

#294
post #227

Wow. 210+ comments and maaybe 10 of those actually talk about the article! (yes, I've read them all because I can't believe almost everyone missed the point) The point of the article is actually neat: a small shell (Fish) script to send query to ChatGPT or DALL-E and get response back in the terminal. As a terminal user myself, this is really nice! (I rewrote it for myself in bash which I use, but used the curl comma…

> (yes, I've read them all because I can't believe almost everyone missed the point)

That says almost everything there is to say about the article in 1 comment; and even you've sent most of your time discussing the title and meta-issues.

People aren't missing the point, it just happens that programmer productivity is more interesting (hence the link bait title, I suspect). The article stands on its own without comment.

Re: Command line functions around OpenAI

#295
post #203

Earlier quoted context omitted.

Add: I only want the CSV, don’t describe what you are doing.

Heh nope, I still get the whole "Sure, here's an example of a CSV file with 10 rows of sample Chipotle restaurant order data:" I wonder if the web UI has some additional "explain everything you do" prompt injection stuff going on.

Hmm works with GPT-4 but I see what you mean with turbo.

Edit: got it to work with

Output an example of a CSV document with 10 rows containing sample chipotle restaurant order data. Do not start with any other text.

Re: Command line functions around OpenAI

#296
post #190

Earlier quoted context omitted.

> As you say, I find the act of writing code is hardly the bottleneck to my productivity. When people claim ChatGPT can replace software engineers because it can sort of code is always puzzling to me. 20 years into this career, and writing code is only a minor part of my day-to-day activities. A part I do enjoy doing, but still minor part nonetheless. > What if you design an organization so that coding is the bottlen…

No doubt chatGPT can't replace coder's yet. If current pace of improvement continues (a big if!), it defnly will be able to in a couple of years. Honestly I expect it to happen. Though I don't expect software dev job to go away. It'll just change in nature. Less typey typey, more managing the LLM.

> Honestly I expect it to happen.

Not as a language model. Other leaps in technology would need to happen before it can code.

Re: Command line functions around OpenAI

#297

Earlier quoted context omitted.

(throwaway I guess) I make over $1m as a SWE. “Senior Staff” or “Level 7” role at a big tech company everyone knows. I mostly write code! I am way faster than most others here, and I have encouraged and mentored the people on my team to be similarly efficient. I also help decide technical direction but it’s far from the “architecture astronaut” stereotype that writes no code. It’s an infra team so no significant infl…

Congrats on your career success! I'm surprised infra can pay that well; I suppose at some companies they understand infra basically ensures the ship keeps running as it should.

At large companies the payscale for different types of engineers is usually the same or very close.

Re: Command line functions around OpenAI

#298
post #6

> First off, you’ll need an OpenAI API key. You can get this by going here and signing up. Note that you'll also need to be from a Western country, or at least have access to both a phone number from one and a VPN. And if you want a plus subscription, you'll also need a US credit card - not stated anywhere but I've been totally unable to sign up for plus with either Irish or Belgium cards, it just immediately flashes…

I don't have a US credit card and a plus subscription I haven't had any issues. FWIW I am using a UK debit card. It's hard to believe they would have reason to block cards from Belgium or Ireland.

If you search around online there's loads of people with various EU cards and the same problem.

Re: Command line functions around OpenAI

#299
post #6

> First off, you’ll need an OpenAI API key. You can get this by going here and signing up. Note that you'll also need to be from a Western country, or at least have access to both a phone number from one and a VPN. And if you want a plus subscription, you'll also need a US credit card - not stated anywhere but I've been totally unable to sign up for plus with either Irish or Belgium cards, it just immediately flashes…

Used an Irish card about 12 hrs ago, no problem.

Ok thanks, I'll give it another try. I've tried multiple times over the past week though and it's been the same each time.

Re: Command line functions around OpenAI

#300
post #10

Being efficient at writing code can barely make someone a 5x engineer. A team of people who write code effectively is easy to do. Hyperproductivity in software is all about deciding what problems to tackle. Richard Hipp isn't worried about chipotle restaurant orders in golang, he's worried about how to store data reliably. That isn't a coding puzzle that ChatGTP is likely to help with. Either ChatGTP can do the whole…

I briefly worked with a software engineer who was making about a million dollars a year. I mentioned that an approach would be a lot of work. His response: “It’s just typing. Typey typey type (makes fingers on keyboard gesture).” Absolute lightbulb moment for me. To become a senior engineer is to realize that the code writing part is inconsequential as long as there are no technical unknowns in the work. It’s freed m…

Yeah, I'm really wondering if I'm dumb or something with this whole AI train, but my job as a developer that maintains existing (sometimes quite old) systems is much more about determining what actually needs to be done, gathering lost / not lost knowledge about the existing state of things in systems and figuring out where to change the code for maximum impact and minimal side effects. Lots of talking to customers/non-technical people as well to figure out if existing features can cover something they need and they just don't know about it and I happen to know about it etc.

I've been watching the AI hype (again) and it's completely going over my head, I really really don't get it - I doubt {x}GPT would be able to analyze hundreds of thousands of project code across a big system (multiple languages, multiple services, interconnectedness of everything) and tell me what to do, even in the case I would want to paste in everything proprietary to a 3rd party service which I really don't.

Maybe it just works for a subset of programming, but then again I don't really see how it differs to reading docs for generating boilerplate or whatever it's useful for in greenfield projects. I was also not really impressed by it generating improvements to code when you ask it the right questions since that's the hard part of the job, not typing out the code.

Maybe I'm just a dinosaur and dumb.

Post reply on HN