Live data from Hacker News

Ask HN: How do you use AI to get things done faster?

news.ycombinator.com

111–118 of 118 posts

Re: Ask HN: How do you use AI to get things done faster?

#111
post #4

I do one-off text transformations that not worth writing a script for. Eg. paste a bunch of unformatted data and format them in json, find patterns in huge text etc.

find patterns in huge text, such as parsing unstructured data? Or say, finding unique ip addresses from a large server log file or so?

Re: Ask HN: How do you use AI to get things done faster?

#113
Here's a high level summary of the major use cases described below. Scanned at Fri 20th Sept, 21:31. Compiled with claude and chatgpt.

Programming/Coding:

1. Get help writing code faster:

- Utilize ChatGPT to autocomplete code, suggest code snippets based on the context, and provide solutions to coding challenges. It can also suggest alternative approaches to implement a particular functionality, saving development time.

2. Fix bugs and errors:

- Describe the error or bug to ChatGPT, and it can provide a list of common solutions, possible causes, and steps to debug the issue, making the debugging process more efficient.

3. Translate code between languages:

- ChatGPT can assist in translating code snippets from one programming language to another, making it easier to work across different technology stacks.

4. Generate boilerplate code:

- Generate starter code for common tasks like setting up a REST API, creating config files, initializing tests, etc., with the help of ChatGPT, accelerating the project setup phase.

5. Improve existing code:

- Request ChatGPT to review, refactor, and optimize your code. It can suggest improvements such as better variable names, code structure, optimization techniques, and adding comments for better code readability and performance.

Writing/Content Creation:

1. Summarize long articles/documents:

- ChatGPT can scan through lengthy texts, extract key points, and present a concise summary, enabling quicker assimilation of information.

2. Translate content to other languages:

- Provide text to ChatGPT, and it can translate it to various languages, aiding in global communication and content dissemination.

3. Write first drafts:

- Outline your ideas, and ChatGPT can help draft initial versions, saving time and effort in the early stages of content creation.

4. Expand on ideas:

- With a starting sentence or paragraph, ChatGPT can develop a more comprehensive piece, aiding in brainstorming and content expansion.

Research/Learning:

1. Answer questions on demand:

- ChatGPT can provide immediate answers to a range of queries, offering a faster alternative to manual search.

2. Explain complex topics:

- It can break down complex topics into simpler terms, providing a clearer understanding and personalized learning experience.

3. Find code examples:

- ChatGPT can supply code samples for particular implementations, facilitating hands-on learning and problem-solving.

4. Get alternate perspectives:

- It can present different viewpoints on a topic, fostering a more well-rounded understanding and critical thinking.

Administrative Tasks:

1. Schedule meetings and appointments:

- Allow ChatGPT to handle scheduling, thus freeing up your time and mental energy for other tasks.

2. Fill out forms/paperwork:

- ChatGPT can pull information from databases to quickly fill out templated documents, saving time on routine paperwork.

3. Track tasks and todos:

- Utilize ChatGPT for task management to stay organized and focused on important work, delegating task tracking to the AI.

Re: Ask HN: How do you use AI to get things done faster?

#114

Mostly to get around bad docs. I need to implement things using libraries, services, and APIs that aren't well documented, but the source code is public, and people have written code against them, and ChatGPT has read all of the things that I would read (and more) to get to the point where I can use it, so I just ask it. The 2021 knowledge limit is pretty annoying, since libraries change so often, but it's still very…

>Mostly to get around bad docs. I need to implement things using libraries, services, and APIs that aren't well documented, but the source code is public, and people have written code against them, and ChatGPT has read all of the things that I would read (and more) to get to the point where I can use it, so I just ask it. The 2021 knowledge limit is pretty annoying, since libraries change so often, but it's still ver…

Sure, thanks, I'll let you know.

Re: Ask HN: How do you use AI to get things done faster?

#115

Mostly to get around bad docs. I need to implement things using libraries, services, and APIs that aren't well documented, but the source code is public, and people have written code against them, and ChatGPT has read all of the things that I would read (and more) to get to the point where I can use it, so I just ask it. The 2021 knowledge limit is pretty annoying, since libraries change so often, but it's still very…

Phind is basically ChatGPT meets source docs/code embeddings and I find it frequently can give me more up to date answers than GPT alone.

Re: Ask HN: How do you use AI to get things done faster?

#116
Summary of this thread (summarized by chatGPT 4:

Part 1:

1. *Getting Around Bad Documentation*: - ChatGPT can provide clarity on topics that are not well-documented, especially when the source code is public. This is particularly useful for libraries, services, and APIs.

   - Helps in understanding command-line or code behavior. For instance, understanding redirection in bash commands.
2. *Quick Knowledge Retrieval*: - ChatGPT can provide a brief summary of various topics, effectively serving as a conversational interface for accessing knowledge.

3. *Browsing Mode and Plugins*: - Plugins, such as pdf readers and web browsers, can extend ChatGPT's capabilities. - Some comments mention tools like "Phind" which combine ChatGPT with source documentation embeddings.

4. *Code Debugging and Generation*: - Users get help with debugging code, including identifying and rectifying JSON format errors. - ChatGPT can generate boilerplate code and assist in finding small bugs like off-by-one errors. - The tool can be useful for understanding and generating code snippets, especially in less-frequently used languages or frameworks. - Some users employ ChatGPT to stub out APIs or to get suggestions on API endpoint designs.

5. *Text Transformations*: - For one-off tasks like transforming unformatted data into JSON or finding patterns in a large text.

6. *Learning and Clarification*: - Helps users learn more about various topics, such as understanding the differences between certain technologies or getting summaries on specific subjects. - Useful for "rubber duck debugging" or clarifying coding concepts.

7. *Code Refinement*: - ChatGPT can assist in rewriting code for clarity or in adding comments. - Some users compare ChatGPT to tools like Copilot, noting the distinct strengths of each.

However, some users highlighted limitations. While GPT-4 is seen as a significant improvement over GPT-3, some found that it might not always generate perfect or highly detailed code. Some users also feel the need to iterate with the model to get the desired output.

Part 2:

*1. Text Analysis:* - Finding patterns in large texts. - Parsing unstructured data. - Extracting unique IP addresses from server log files.

*2. Product Development and Workflow Enhancement:* - Breaking down mental barriers and enabling exploration outside one's familiarity. - Building a wide variety of tools and products. - Tasks such as text summaries, sysadmin tasks, debugging, boilerplate code, overcoming writer's block, data transformations, and marketing tasks (copywriting, campaigns).

*3. Coding and Scripting:* - Assisting in writing quick shell scripts. - Providing information on APIs and libraries. - Code refactoring. - Assisting in function and script creation. - Turning descriptive tasks into actionable code, such as converting functions, creating bootstrap/css snippets, and generating regular expressions. - Helping in reconciling invoices against transactions. - Assisting with tools like Github Copilot. - Writing and restructuring blog posts, business letters, and other forms of communication.

*4. Admin and System Tasks:* - Assistance with NetworkManager parameters. - Debugging .htaccess file issues. - Guidance on PEM certificates and openssl conversions. - Restoring software RAID arrays with lvm. - Filtering options with journalctl. - Working with ffmpeg commands.

*5. Miscellaneous:* - Providing explanations on concepts like Double Entry Accounting. - Guiding in personal interactions. - Assisting with search queries, e.g., "how to do x in language y".

*6. Collaborative Tools:* - Integrating GPT with tools like Promptr and Open Interpreter for enhanced dialog-based file and command modifications.

*7. Search and Web Assistance:* - Improving search results in tandem with search engines. - Assisting in pulling email from IMAP accounts and other web-related tasks.

Overall, GPT is seen as a valuable tool that can assist in a myriad of tasks, especially when users exercise discernment and optimize their approach over time.

Part 3:

1. *General Information Retrieval*: Directly asking ChatGPT questions rather than going through search engines.

2. *Specific Task Assistance*: Assistance with various tasks, from locating a particular camera lens, generating comedic scripts for memes, clarifying HVAC repair updates, to simplifying shipping needs.

3. *Web Page Summarization*: Using engines like Kagi to get summarized versions of long web pages.

4. *Coding*: Seeking assistance similar to querying StackOverflow. For example, improving docker commands, generating code based on specific requirements, and helping users understand error messages and unfamiliar frameworks.

5. *Code Review and Design*: Validating the sensibility of an API design, checking coding patterns, determining class names, assessing the readability of a code snippet, and providing boilerplate code.

6. *Autocompletion and Code Translation*: Using tools like Copilot in VSCode to autocomplete code, suggest code blocks, and even translate code between languages, e.g., from Python to JavaScript.

7. *Medical and Health Advice*: Asking health-related questions, both for humans and veterinary purposes.

8. *Architectural and Design Discussions*: Engaging in technical conversations regarding system design and architecture.

9. *Corporate and Business Set-Up*: Seeking advice related to corporate setup, taxes, legalities, and banking.

10. *Learning and Development*: Using GPT to learn new concepts, frameworks, or to better understand complex topics.

11. *Content Generation and Assistance*: Bootstrapping presentations, sanity checking plans, and generating content for various purposes.

12. *Reduced Social Overhead*: For introverted users, the AI provides an avenue to think aloud and discuss ideas without the social dynamics and potential pressures of human interaction.

Note: Some users also expressed concerns about team dynamics and the potential negative impact of AI on interpersonal communication and collaboration.

Part 4:

1. *Code Assistance and Development*: - Pulling repos and asking questions through plugins like "AskTheCode". - Contributing to open source by understanding complex codebases. - Scaffolding tests for React components. - Making bad code readable by converting complex expressions to simpler structures. - Generating boilerplate code. - Assisting in new or unfamiliar problem/situations with contextual questions. - Helping with web development tasks, including creating Ansible roles and Docker files. - Code review for files such as Docker files. - Automating tedious mathematical calculations for game development.

2. *Project and Task Management*: - Automating tasks like scheduling and data analysis. - AI-driven email categorization to prioritize messages. - Using AI tools for workflow optimization.

3. *Content Creation and Assistance*: - Transcribing voice notes to text. - Assisting in lecture preparation, especially for accurate definitions and examples. - Improving the wording in emails, posts, and comments. - Providing travel advice and general queries. - Offering companionship for emotional support.

4. *Efficiency and Workflow Improvements*: - Acting as a "real-time intern" to offload commoditized tasks, such as writing boilerplate CSS code or stubs of API client code. - Keeping the user in a productive flow state by assisting with small problems. - Replacing Google searches for software development and DevOps queries. - Offering context-aware code assistance without compromising confidentiality. - Preventing procrastination by quickly resolving minor obstacles.

5. *Document Transformation and Data Handling*: - Converting document formats (e.g., from CSV to JSON). - Assisting with document-related tasks using Python scripting.

6. *Miscellaneous*: - Offering alternative tools and suggestions to explore. - Ensuring quality of generated code using TDD and specific compilers. - Offering suggestions on how to navigate open-source projects with difficult documentation. - Helping clarify complex logical conditions in code. - Offering a method to handle unfamiliar programming languages. - Offering solutions that save time and reduce internal debate.

This summary captures the core ways users have found GPT useful in their workflows, with an emphasis on coding, content creation, and efficiency improvements.

Re: Ask HN: How do you use AI to get things done faster?

#117
post #41
post #36

Earlier quoted context omitted.

I’m an introvert. I previously only used writing long notes to myself to think before engaging with a coworker. Now I’ve unlocked “voice without social dynamics” to do that which is a whole other dimension. Team dynamics now for extroverts mean instead of waisting and hour of phone time for them to slowly talk through basic ideas and catch up to the introverts who could prepare for the meeting on their own, now extro…

I’m also looking forward to having voice gpt participate in zoom calls to cut the extroverts off when they’re dragging on their out loud thinking so we can all move the call forward. As an introvert i find it difficult to cut someone off mid thought because I assume like me everything they say is well thought through and important. I can’t guage when it is and when it’s just stream of consciousness from them until th…

As an introvert i find it difficult to cut someone off mid thought because I assume like me everything they say is well thought through and important.

So your assumption is, extraverts don’t think things though?

Re: Ask HN: How do you use AI to get things done faster?

#118

Earlier quoted context omitted.

Agreed. For example, I recently had an auto-generated SQL query that I needed to debug. It was formatted on one line and was impossible to read. I asked GPT-4 to clean up the query and it gave me something that was much easier to consume. I definitely could have written some script for this or tried to find another tool, but it took me 20 seconds to just ask GPT-4 and get a reasonable result.

Did you ask GPT to do any transformation beyond what any IDE's "Format code" feature would do?

Yeah it actually gave me comments summarizing fields from related tables using shortened more readable table names
Post reply on HN