frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

BirdyChat becomes first European chat app that is interoperable with WhatsApp

https://www.birdy.chat/blog/first-to-interoperate-with-whatsapp
230•joooscha•2h ago•138 comments

I added a Bluesky comment section to my blog

https://micahcantor.com/blog/bluesky-comment-section.html
82•hydroxideOH-•1h ago•9 comments

Postmortem: Our first VLEO satellite mission (with imagery and flight data)

https://albedo.com/post/clarity-1-what-worked-and-where-we-go-next
48•topherhaddad•1h ago•8 comments

Raspberry Pi Drag Race: Pi 1 to Pi 5 – Performance Comparison

https://the-diy-life.com/raspberry-pi-drag-race-pi-1-to-pi-5-performance-comparison/
80•verginer•3h ago•36 comments

Memory layout in Zig with formulas

https://raymondtana.github.io/math/programming/2026/01/23/zig-alignment-and-sizing.html
41•raymondtana•5h ago•8 comments

The Writers Came at Night

https://www.metropolitanreview.org/p/the-writers-came-at-night
5•ctoth•28m ago•0 comments

JSON-render: LLM-based JSON-to-UI tool

https://json-render.dev/
32•rickcarlino•2h ago•4 comments

First Design Engineer Hire – Build Games at Gym Class (YC W22)

https://www.ycombinator.com/companies/gym-class-by-irl-studios/jobs/ywXHGBv-design-engineer-senio...
1•hackerews•47m ago

Claude Code's new hidden feature: Swarms

https://twitter.com/NicerInPerson/status/2014989679796347375
205•AffableSpatula•7h ago•142 comments

Doing gigabit Ethernet over my British phone wires

https://thehftguy.com/2026/01/22/doing-gigabit-ethernet-over-my-british-phone-wires/
380•user5994461•11h ago•212 comments

Bye Bye Gmail

https://m24tom.com/bye-bye-gmail/show
79•tklenke•2h ago•66 comments

Agent orchestration for the timid

https://substack.com/inbox/post/185649875
26•markferree•2h ago•0 comments

Shared Claude: A website controlled by the public

https://sharedclaude.com/
21•reasonableklout•13h ago•10 comments

How I estimate work

https://www.seangoedecke.com/how-i-estimate-work/
343•mattjhall•11h ago•191 comments

Small Kafka: Tansu and SQLite on a free t3.micro

https://blog.tansu.io/articles/broker-aws-free-tier
34•rmoff•4d ago•2 comments

Maze Algorithms (2017)

http://www.jamisbuck.org/mazes/
72•surprisetalk•1d ago•23 comments

The Concatative Language XY

http://www.nsl.com/k/xy/xy.txt
21•ofalkaed•2h ago•5 comments

Microservices for the Benefits, Not the Hustle

https://wolfoliver.medium.com/the-purposes-of-microservices-4e5f373f4ea3
13•WolfOliver•3d ago•10 comments

Understanding Rust Closures

https://antoine.vandecreme.net/blog/rust-closures/
15•avandecreme•3h ago•0 comments

The Kept and the Killed (2022)

https://publicdomainreview.org/essay/the-kept-and-the-killed/
15•nomagicbullet•5h ago•1 comments

Ask HN: Gmail spam filtering suddenly marking everything as spam?

84•goopthink•5h ago•68 comments

I built a tiny daemon that reminds me what matters

6•amitdawar•5d ago•1 comments

Show HN: StormWatch – Weather emergency dashboard with prep checklists

https://jeisey.github.io/stormwatch/
10•lotusxblack•2h ago•1 comments

Tao Te Ching – Translated by Ursula K. Le Guin

https://github.com/nrrb/tao-te-ching/blob/master/Ursula%20K%20Le%20Guin.md
136•andsoitis•4h ago•54 comments

Language may rely less on complex grammar than previously thought: study

https://scitechdaily.com/have-we-been-wrong-about-language-for-70-years-new-study-challenges-long...
11•mikhael•18h ago•2 comments

MS confirms it will give the FBI your Windows PC data encryption key if asked

https://www.windowscentral.com/microsoft/windows-11/microsoft-bitlocker-encryption-keys-give-fbi-...
365•blacktulip•8h ago•237 comments

Show HN: Debugging consent and conversion tracking with a headless scan

https://consentcheck.online/
3•marstay•6d ago•0 comments

Show HN: JSciPy – SciPy-inspired signal processing library for Java and Android

https://github.com/hissain/jscipy
3•hissain•1h ago•1 comments

Show HN: PicoFlow – a tiny DSL-style Python library for LLM agent workflows

7•shijizhi_1919•3d ago•0 comments

December in Servo: multiple windows, proxy support, better caching, and more

https://servo.org/blog/2026/01/23/december-in-servo/
107•t-3•4h ago•9 comments
Open in hackernews

Why Does Destroying Resources via TF Suck?

https://newsletter.masterpoint.io/p/why-does-destroying-resources-via-tf-suck
15•mooreds•1h ago

Comments

akersten•1h ago
The most confusing part of terraform for me is that terraform's view of the infrastructure is a singleton config file that is often stored in that very infrastructure. And then you have to share that somehow with your team and be very careful that no one gets it out of sync.

Why don't cloud providers have a nice way for tools like TF to query the current state of the infra? Maybe they do and I'm doing IaC wrong?

mooreds•1h ago
> The most confusing part of terraform for me is that terraform's view of the infrastructure is a singleton config file that is often stored in that very infrastructure.

These folks also have an article about that: https://newsletter.masterpoint.io/p/how-to-bootstrap-your-st...

bigstrat2003•1h ago
That article is way overkill. One should just manually create the backend storage (S3 bucket or whatever you use). No reason to faff about with the steps in the article.
catlifeonmars•52m ago
This is excellent advice.

When you have a hammer… as the expression goes. It’s crazy how many times that even knowing this, I have to catch myself and step back. IaC is a contextually different way of thinking and it’s easy to get lost.

colechristensen•1h ago
There are three things:

* Your terraform code

* The state terraform holds which is what it thinks your infrastructure state is

* The actual state of your infrastructure

>Why don't cloud providers have a nice way for tools like TF to query the current state of the infra?

What a terraform provider is is code that queries the targeted resources through whatever APIs they provide. I guess you could argue these APIs could be better, faster, or more tuned towards infrastructure management... but gathering state from whatever resources it manages is one of the core things terraform does. I'm not sure what you're asking for.

fragmede•1h ago
for the plan file to be updated to the state of the world in a non-conusing way so that apply does the right thing without a chance it's gonna blow things up.
colechristensen•45m ago
This is really up to the writer of the provider (very often the service itself) to have the provider code correctly model how the service works. It very often doesn't and allows you to plan error-free what will fail during apply.

It's not an API issue but a terraform provider issue having missing or incomplete code (i.e. https://github.com/hashicorp/terraform-provider-aws )

cobolexpert•1h ago
At $WORK we have a Git repo set up by the devops team, where we can manage our junk by creating Terraform resources in our main AWS account.

The state however is always stored in a _separate AWS account_ that only the devops team can manage. I find this to be a reasonable way of working with TF. I agree that it is confusing though, because one is using $PROVIDER to both create things and manage those things at the same time, but conceptually from TF’s perspective they are very different things.

don-code•1h ago
> Why don't cloud providers have a nice way for tools like TF to query the current state of the infra? Maybe they do and I'm doing IaC wrong?

This is technically how Ansible works. Here's an extensive list of modules that deploy resources in various public clouds: https://docs.ansible.com/projects/ansible/2.9/modules/list_o...

That said, it looks like Ansible has deprecated those modules, and that seems fair - I haven't actually heard of anyone deploying infrastructure in a public cloud with Ansible in years. It found its niche is image generation and systems management. Almost all modern tools like Terraform, Pulumi, and even CloudFormation (albeit under the hood) keep a state file.

knowhy•51m ago
I think there are active maintained modules https://docs.ansible.com/projects/ansible/latest/collections...

At work we use Ansible to setup Route53 records for infrastructure hosted elsewhere. Not sure if that counts as infrastructure.

cyberax•1h ago
> Why don't cloud providers have a nice way for tools like TF to query the current state of the infra?

They do! In fact, this is my greatest pet peeve with TF, it adds state when it's not needed.

I was doing infra-as-code without TF with AWS long time ago. It went like this:

  env_tag = "${project_name}-${env_name}"  
  aws_instances = conn.describe_instances(filter_by_tag={"env_tag": env_tag})
  if len(aws_instances) != 1:
    conn.launch_aws_instances(tags={"env_tag": env_tag})
AWS has tag-on-create now, making this sort of code reliable. Before that, you could do the same with instance idempotency tokens. GCP also has tags.
raffraffraff•56m ago
There is the code, the recorded state of the infra when you applied the code and the actual state at some point in the future (which may have drifted) . You store the code in git, the recorded state (which contains unique IDs, ARNs etc) in a bucket and you read the "actual state" next time you run a plan, and you detect drift.

These days people store the state in terraform cloud or spaceliftor env0 or whatever. Doesn't have to be the same infra you deployed.

If you were a lunatic you could not use a state backend and just let it create state files in the terraform code directory, check the file into git with all those secrets and unique ids etc.

based2•1h ago
Because TF is lacking sequentials state descriptions in rare cases - ex: Termination protections in AWS.
willi59549879•1h ago
I am not a fan of abreviations, this article didn't even have terraform written out once.
parpfish•1h ago
I assumed it was going to be about tensorflow
MPSimmons•53m ago
Cloud providers in general haven't gone very far toward providing hooks for validation.

It seems easier for the cloud provider to implement the equivalent of a dry-run flag in API calls that validate that the call would succeed (even if it's best effort determination) which could be used by tools like Terraform during the planning and dependency tree generation.

Instead, you have platform providers like AzureRM that squint at the supplied objects and make a guess as to whether that looks valid, which causes a ton of failures upon actual application. For instance, if you try to create storage with a redundancy level not supported by the region you're adding it to, Terraform will pass a plan stage, but the actual application of the resource will fail because the region doesn't support that level of redundancy.

There are unlimited other examples in a similar vein, all of which could be resolved if API providers had a dryrun flag.

dpkirchner•53m ago
Hell, let's talk about why ^c'ing the plan phase sucks.
jdalsgaard•40m ago
Most tools, frameworks and articles in IT, SaaS in particular, are about spinning up things. It is what people find exciting.

Work a few years in Ops and you learn that spinning up things is not a big part of your work. It's maintenance, such as deleting stuff.

Unfortunately this process is the hardest, and there's very little to help you do it right. Many tools, framework and vendors don't even have proper support for it.

Some even recommend 'rinse and repeat' instead of adjusting what you have - and this method is not great if you value uptime, nor if you have state that you want to preserve, such as customer data :-)

Deleting stuff, shutting services down, turning off servers - those are hard tasks in IT.

sshine•18m ago
I love how terraform can describe what I’ve got. Sort of. Assuming I or my colleagues or my noob customers don’t modify resources on the same account.

I don’t love how unreliable providers are, even for creating resources. Clouds like DigitalOcean will 429 throttle me for making too many plans in a row with only 100+ resources. Sometimes the plan goes through, but the apply fails. Sometimes halfway through.

I’d rather use a cloud-specific API, unless I’m certain of the quality of the specific terraform provider.