Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: src Clear Filter

Show HN: Semantic grep for Claude Code (RUST) (local embeddings)

ck - Semantic Grep by Embedding ck (seek) finds code by meaning, not just keywords. It's a drop-in replacement for grep that understands what you're looking for — search for "error handling" and find try/catch blocks, error returns, and exception handling code even when those exact words aren't present. Quick start cargo install ck-search # Find error handling patterns (finds try/catch, Result types, etc.) ck --sem " error handling " src/ # Traditional grep-compatible search still works ck -

Topics: ck code search sem src

Fun with gzip bombs and email clients

Gzip/Zip bombs have been a thing for decades. Lets create a 10MB gzip file which decompresses to 10GB: dd if =/dev/zero bs =1G count =10 | gzip > 10gb.gz This is called a Gzip bomb, because when it is decompressed, it blows up to a much larger size (~1000 larger). Add it your website document root and configure Nginx to serve it up as an image, with gzip Content-Encoding: location /10gb.png { default_type image/png; add_header Content-Encoding gzip; try_files /10gb.gz = 404 ; } An HTTP clien

Topics: 10gb https img png src