Browse 30,046+ expert-crafted prompts
Showing 20 prompts
Profile and optimize an end-to-end vision pipeline to find and fix bottlenecks in I/O, preprocessing, and inference.
## CONTEXT A vision pipeline is too slow but the developer does not know where time goes. The bottleneck could be image loading, preprocessing, infere...
Build a robust barcode and QR code reader that handles angles, lighting, blur, and multiple codes per image.
## CONTEXT A developer needs to read barcodes and QR codes from images or a live camera, reliably under poor lighting, odd angles, and partial occlusi...
Calibrate a camera and apply geometric transforms for undistortion, measurement, and multi-view alignment.
## CONTEXT A developer needs accurate geometry from camera images: removing lens distortion, measuring real-world dimensions, or aligning multiple vie...
Assess and filter image quality automatically to gate inputs into a vision pipeline by sharpness, exposure, and noise.
## CONTEXT A vision pipeline receives images of inconsistent quality. Blurry, over/under-exposed, or noisy inputs degrade results. The developer wants...
Analyze a full HTTP exchange including methods, status codes, headers, caching, and connection reuse.
## CONTEXT The user is working on an API or web service and wants to fully understand and audit the HTTP exchange they are sending or receiving. They ...
Design cgroup-based CPU, memory, and I/O limits to isolate workloads on a shared host.
## CONTEXT You are designing resource controls on a Linux host where multiple workloads share the same machine and one can starve the others. Control ...
Review firewall rules and ACLs for correctness, ordering, least privilege, and security gaps.
## CONTEXT The user has a firewall ruleset or ACL and wants it audited for correctness and security. They are concerned about overly broad rules, inco...
Compose correct, safe shell pipelines for text processing and ad hoc administration.
## CONTEXT You are building a shell pipeline to process text or perform an ad hoc administrative task on Linux. Effective pipelines chain small tools,...
Diagnose TLS handshake failures, certificate chain issues, and cipher negotiation problems step by step.
## CONTEXT The user is facing a TLS error in production or development and needs a precise diagnosis. The symptom might be a browser warning, a failed...
Tune kernel runtime parameters for performance, networking, and security safely.
## CONTEXT You are tuning kernel runtime parameters on a Linux server to improve performance, networking behavior, or security posture. Indiscriminate...
Choose between cron and systemd timers and configure reliable scheduled jobs.
## CONTEXT You are scheduling recurring tasks on a Linux server and must decide between cron and systemd timers, then configure the job so it runs rel...
Configure a Linux reverse proxy with correct TLS, headers, and upstream handling.
## CONTEXT You are setting up a reverse proxy on a Linux server to terminate TLS and route requests to backend services. Misconfigured proxies leak he...
Move from manual server changes to idempotent, version-controlled configuration management.
## CONTEXT You are moving a set of Linux servers away from manual, undocumented changes toward configuration management that is idempotent and version...
Harden an OpenSSH server configuration for secure, key-based, least-exposure access.
## CONTEXT You are securing the SSH service on a Linux server, the most commonly attacked entry point on internet-facing hosts. A default configuratio...
Design a clean user, group, and sudo policy for multi-user Linux servers.
## CONTEXT You are organizing user and group management on a multi-user Linux server. Over time, accounts proliferate, group membership becomes incons...
Diagnose and recover a Linux server that fails to boot, from bootloader to login.
## CONTEXT You are recovering a Linux server that no longer boots cleanly. The failure could lie in the bootloader, the initramfs, a broken fstab moun...
Find whether a Linux performance problem is CPU, memory, disk, or network bound.
## CONTEXT You are investigating a Linux server that is slow or unresponsive under load. The hardest part is determining which resource is the actual ...
Diagnose stuck, zombie, or runaway processes and apply the right signal safely.
## CONTEXT You are dealing with a misbehaving process on Linux: a daemon that will not stop, a zombie cluttering the process table, a runaway consumin...
Build a clean, auditable nftables firewall ruleset with default-deny and clear logging.
## CONTEXT You are designing a host firewall for a Linux server using nftables. Legacy iptables rules tend to accumulate cruft and become unreadable. ...
Diagnose DHCP lease failures, scope issues, relay problems, and PXE boot configuration errors.
## CONTEXT The user has clients that are not getting addresses, getting wrong addresses, or failing network boot. The cause could be exhausted scopes,...
Scroll for more