Skip to content

Results for “async”

10 prompts

Write a Node.js script that [task, e.g. reads a CSV and calls an API for each row]. Use async/await, limit concurrency to [n], retry failed requests with backoff, log progress, and handle errors without crashing. Include package.json dependencies.

ChatGPT
Coding & Development

Node.js script with async/await

A clean Node.js script with proper async error handling.

0

Refactor this callback-based code to use async/await. Keep the behaviour identical, add proper try/catch error handling, and explain any changes in execution order. Code: [paste code]

ChatGPT
Coding & Development

Convert callbacks to async/await

Modernises callback-based code to promises and async/await.

0

Suggest 15 remote team-building activities for a team of [number] across [time zones]. Mix 10-minute warm-ups, async activities and longer events. Include instructions, tools needed and how inclusive each is for introverts.

ChatGPT
Business & Productivity

Remote team building activities

Fun, inclusive activities for distributed teams.

0

Draft a 'focus day' policy for [team/company] that reduces meetings. Include the reason, which day(s), what's allowed (urgent issues, customer calls), how to communicate asynchronously instead, and how we'll review whether it works after 6 weeks.

ChatGPT
Business & Productivity

Meeting-free day policy

A policy that protects focus time across the team.

0

Create an asynchronous weekly update template for a remote team. Include sections for wins, progress on goals, blockers, help needed, next week's priorities and a confidence score. Add an example filled out for a [role].

ChatGPT
Business & Productivity

Asynchronous update template

Replaces status meetings with clear written updates.

0

Act as a JavaScript expert. What should happen: [expected behaviour] What actually happens: [bug] Code: ```js [paste] ``` Explain the async flow step by step, identify the bug (race condition, missing await, unhandled rejection, etc.), provide fixed code, and suggest patterns to prevent it (Promise.all, AbortControlle…

ChatGPT
Coding & Development

Debug async JavaScript

Fix race conditions, unhandled promises and ordering bugs in async JavaScript.

0

Act as a scrum master. Team: [size, remote or in-office] Current problems with our stand-up: [details] Design a better stand-up: format and questions, time-boxing, how to handle problems that need discussion (parking lot), async alternatives, and signs the stand-up is working.

ChatGPT
Business & Productivity

Effective daily stand-up

Run 15-minute stand-ups that surface blockers instead of turning into status lectures.

0

Act as a recruiter for remote-first companies. Target role: [role] My remote work experience: [details or none] Time zone and availability: [details] Give me: 1. Remote-ready CV bullets that show async communication, self-management and results 2. A cover letter paragraph about working remotely 3. Answers to common re…

ChatGPT
Career & Jobs

Remote job applications that stand out

Show remote employers you can communicate, self-manage and deliver results from anywhere.

0

Convert the code below from [source language] to [target language]. Requirements: - Use idiomatic [target language] conventions, not a literal translation - Replace libraries with the standard or most popular equivalents in [target language] and name them - Keep the same behaviour, inputs and outputs - Add types where…

ChatGPT
Coding & Development

Convert code from one language to another

Translate code between languages using each language's idioms, libraries and conventions instead of a line-by-line copy.

0

Act as a performance engineer. Language: [language] What the code does: [description] Typical input size: [e.g. 1M rows, 10k requests/min] Current speed/problem: [e.g. takes 40 seconds, high memory] Please: 1. Identify the bottlenecks and explain the current time and space complexity 2. Propose optimisations (better a…

ChatGPT
Coding & Development

Optimise slow code for performance

Find the bottlenecks in slow code, understand the time complexity, and get a faster version with benchmarks to prove it.

0