frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: CloudSlash – Find AWS waste and generate Terraform state rm commands

2•drskyle•22h ago
We've all been there: You find an unused NAT Gateway costing $45/mo. You delete it in the AWS console to stop the billing immediately. But the next time you run terraform plan, it fails because of state drift. Now you have to manually run terraform state rm or import it back to fix the drift. It's tedious, so often we just leave the waste running. I built CloudSlash to automate the cleanup and the state surgery. It’s written in Go (using BubbleTea for the TUI) and solves two engineering problems: 1. Finding "hollow" resources (the graph). Most cost tools just check CloudWatch metrics (CPU < 5%). That creates too much noise. Instead, I build an in-memory graph of the infrastructure to find structural waste. Example: An "Active" ELB. It has healthy targets, so metrics look good. But if you traverse the graph (ELB -> Instance -> Subnet -> Route Table), you might see the Route Table has no path to an Internet Gateway. The ELB is functionally dead, even if AWS reports it as "healthy." 2. The state mapping. Deleting the resource in AWS is easy. The challenge is mapping a physical ID (e.g., nat-0a1b2c) back to its Terraform address (e.g., module.vpc.aws_nat_gateway.public[0]) so you can remove it from the state file programmatically. I wrote a parser that reads your local .tfstate, handles the complex JSON structure (including nested modules and for_each outputs), and generates a remediation script. It outputs a shell script (fix_terraform.sh) that runs the necessary terraform state rm commands for you. It never writes to your .tf files directly—it just hands you the script to review and run. The core logic, scanner, and TUI are open source (AGPLv3). I charge a one-time license for the feature that auto-generates the fix scripts for developers , but the forensic analysis/detection is free. Repo: https://github.com/DrSkyle/CloudSlash

Show HN: Single-file memory for Claude Code

https://github.com/memvid/claude-brain
1•salebanolow•30s ago•0 comments

Trump's great Venezuelan oil gamble

https://www.economist.com/finance-and-economics/2026/01/04/donald-trumps-great-venezuelan-oil-gamble
1•ijidak•1m ago•1 comments

Ask HN: Do people splurge when they are unhappy in a high paying job?

1•amichail•6m ago•0 comments

Remote Claude Code: programing like it was the early 2000s

https://harper.blog/2026/01/05/claude-code-is-better-on-your-phone/
1•emschwartz•7m ago•0 comments

A zip bomb can be used to execute a DoS against the aiohttp server

https://github.com/aio-libs/aiohttp/security/advisories/GHSA-6mq8-rvhq-8wgg
1•Wingy•8m ago•0 comments

In Ukraine, an Arsenal of Killer A.I. Drones Is Being Born in War Against Russia

https://www.nytimes.com/2025/12/31/magazine/ukraine-ai-drones-war-russia.html
1•takoid•9m ago•0 comments

Poker Solver

https://github.com/noambrown/poker_solver
1•gizmodo59•17m ago•0 comments

The Pushback Problem

https://andreyandrade.com/static/ai-pushback/
1•stickybittech•17m ago•1 comments

Claude Code can now call your phone

https://github.com/abracadabra50/claude-code-voice-skill
2•nahsiz•20m ago•1 comments

The Story of the Ribbon (2008)

https://www.youtube.com/watch?v=YLZgNHEEnSE
1•todsacerdoti•20m ago•0 comments

New tool allows Californians to request data brokers delete personal details

https://www.theguardian.com/technology/2026/jan/05/california-tool-delete-personal-information
1•jshandling•21m ago•0 comments

Exploding lithium-ion batteries pose increasingly lethal danger

https://www.theguardian.com/technology/2025/dec/15/exploding-lithium-ion-batteries-increasingly-l...
1•kristianp•23m ago•0 comments

Clean Code vs. a Philosophy of Software Design

https://github.com/johnousterhout/aposd-vs-clean-code
3•birdculture•26m ago•1 comments

FEC Obstructed from Enforcing Campaign Finance Laws for Last 250 Days

https://www.brennancenter.org/our-work/analysis-opinion/today-fec-cant-enforce-campaign-finance-l...
2•stopbulying•28m ago•2 comments

Trump's Assault on the First Amendment

https://www.ibanet.org/Trumps-assault-on-the-First-Amendment
2•stopbulying•32m ago•0 comments

RFC: OpenCollection YAML Specification

https://github.com/usebruno/bruno/discussions/6634
1•jicea•40m ago•0 comments

Jaana Dogan reveals how AI built in 1 hour what took a year

https://mocktestarena.com/jaana-dogan-ai-built-in-one-hour/
1•teleforce•41m ago•0 comments

Nvidia Details New A.I. Chips and Autonomous Car Project with Mercedes

https://www.nytimes.com/2026/01/05/technology/nvidia-chips-mercedes.html
2•occamschainsaw•42m ago•0 comments

An introduction to property-based testing with QuickCheck (2020)

https://jesper.sikanda.be/posts/quickcheck-intro.html
2•PaulHoule•45m ago•0 comments

UNESCO adopts global standards on 'Wild West' field of neurotechnology

https://www.theguardian.com/world/2025/nov/06/unesco-adopts-global-standards-on-wild-west-field-o...
1•stopbulying•47m ago•1 comments

US cuts the number of vaccines recommended for every child

https://apnews.com/article/childhood-vaccine-schedule-trump-rfk-hhs-9b8df9e2767c1261aaac4e2331e77fa3
1•geox•47m ago•1 comments

Ask HN: What's the best talk you've watched?

3•barddoo•50m ago•4 comments

Nvidia Kicks Off the Next Generation of AI with Rubin – Six New Chips

https://nvidianews.nvidia.com/news/rubin-platform-ai-supercomputer
5•ashvardanian•50m ago•1 comments

Someone made a profit betting on Maduro's capture

https://www.axios.com/2026/01/03/maduro-capture-bets-trade-prediction-markets
2•m-hodges•52m ago•2 comments

When the Fix Is Another Distortion: Quotas as Second-Best Engineering

https://www.gojiberries.io/increasing-welfare-by-limiting-who-can-run/
1•neehao•53m ago•0 comments

10 Years of Dark Reader

https://darkreader.org/support-us/
1•arunc•53m ago•0 comments

What I Learned in Venezuela

https://www.nytimes.com/2026/01/04/opinion/venezuela-maduro-trump.html
1•oriettaxx•54m ago•0 comments

I spent 100 hours researching how to rank in AI answers. Here is the guide

https://drive.google.com/file/d/1efvvepiSNbN9raHQ0Vw9bJhutvAcvSnk/view?usp=sharing
2•digitalresearch•54m ago•2 comments

Show HN: I built a *fully free* AI resume maker

https://www.resume-razor.com/
2•rbitsoft•55m ago•0 comments

Why agents matter more than other AI

https://substack.com/home/post/p-182047799
2•nvader•56m ago•1 comments