Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. The Normalization of Inexplicable Failures (ihatethefuture.com)
    32comments
  2. In an $80 Motel Room, a Discovery to Shed Light on the Origins of Life (nytimes.com)
    32comments
  3. Ten Lines of Code That Changed My World (pixelambacht.nl)
    15comments
  4. Writing Efficient C++ Code (asawicki.info)
    26comments
  5. Replacing the old battery on rechargeable bike lights (jvns.ca)
    35comments
  6. Show HN: TinyAIArena watch AI agents battle it out (tinyaiarena.com)
    18comments
  7. There are no "rogue" AI agents (eoinhiggins.substack.com)
    47comments
  8. Walgit: A Git server that is one binary in front of an object store (github.com/rgodha24)
    4comments
  9. Flip Fluid on Flip Dots (mitxela.com)
    19comments
  10. Fakecloud: Local AWS cloud emulator for integration tests (fakecloud.dev)
    32comments
  11. The Cartesian Hand: In-Hand Manipulation with All-Linear Fingers (generalroboticslab.com)
    —discuss
  12. postmarketOS Rebrand: Nura (nura.eco)
    8comments
  13. Does Georgism work? Five years later (astralcodexten.com)
    388comments
  14. Go Concurrency Distilled (antonz.org)
    136comments
  15. Show HN: A CC0 museum of retro 3D tricks you can paste into a page (3d-retro.com)
    10comments
  16. Finally, A True Blue Rose Exists (sciencenews.org)
    29comments
  17. PipePipe: NewPipe hard fork implementing SponsorBlock (github.com/infinityloop1308)
    257comments
  18. Installing NeoVim caused original Vim undo files to be deleted (aresluna.org)
    231comments
  19. Rusty thoughts on "Parse, don't validate" (thegreenplace.net)
    17comments
  20. Unsealed Briefs in Authors’ Case v. Microsoft/OpenAI (authorsguild.org)
    522comments
  21. The internet discovers TLA+. Now what? (reasonable.io)
    47comments
  22. Show HN: Reladraw – A diagram language where you decide where to place things (github.com/reladraw)
    101comments
  23. DeepSeek Elastic Compute (DSec) (arxiv.org)
    97comments
  24. OpenAI halts training of latest models as reports mount of AI agents going rogue (theguardian.com)
    45comments
  25. Biology might not be quantum, but its math is quantumlike (quantamagazine.org)
    47comments
  26. "As a Language Model": Chat Template Switches LLM Self-Referential Voice (arxiv.org)
    94comments
  27. A searchable library of forgotten public-domain film clips from 1915 onward (movingimagearchive.com)
    27comments
  28. 10 Tells of a Slop UI (hereticpleb.vercel.app)
    169comments
  29. An agent used DNS to reach an external chatbot (alignment.openai.com)
    151comments
  30. Exploding variance of means of exponentials: least-squares to the rescue (francisbach.com)
    —discuss

Fakecloud: Local AWS cloud emulator for integration tests

50 pointsby 1d agofakecloud.dev
32 comments
4h agoHN ↗

But how does it compare to floci, which already picked up with localstack left off?

3h agoHN ↗

Yeah. Stupid really didn’t want to type that. :)

3h agoHN ↗

There are always nice, but there are a lot of scaffolding work involved with larger systems. It would be nice to be able to provide for example the terraform of the infrastructure and let these tool create their own. Might be a nice feature to add because I haven't seen it done yet.

3h agoHN ↗

I use tf with floci and floci-gcp, weekly…

3h agoHN ↗

Oh nice, not aware of this. We're opentofu on GCP, so could be a good addition to ci

3h agoHN ↗

I kinda like most of these emulators but why is there none targeting GCP/Azure

3h agoHN ↗

AWS is still way ahead in cloud usage, that's probably why AWS is the primary target. Anyway, floci has GCP and Azure versions, how mature they are, I'm unsure. But it does exist.

2h agoHN ↗

I'm launching something in that space this week - if you're interested in trying one of those out, feel free drop me a message via my website (in bio) :)

2h agoHN ↗

Agreed. Azure would be nice. Something that can work with Terraform too.

1h agoHN ↗

Check out floci-az. I haven’t touched it but I know it’s there.

1h agoHN ↗

Hard to replicate all the bugs in azure.

2h agoHN ↗

I always welcome warmly projects like these, the only problem is that unless there’s a strong community behind, founders tend to build companies around them, raise capital, then put useful functionalities behind paywalls (see localstack).

When I see that, it always reminds me of Steve Jobs’s quote: ”It’s not a product, it’s a feature”.

Aren’t cloud companies like AWS, Azure, GCP the first to be interested in providing their users a meaningful way to do test integrations of their products? Shouldn’t they provide them in the first place?

1h agoHN ↗

You’d think that but it doesn’t seem to be the case. I do a lot of offline development and the only way it used to be possible was localstack but that’s AWS only. The open source community is the only interested party, it seems. Thankfully, there’s a lot of contribution happening in this space. Because I have need, I make a lot of my own contributions. I’m doing full stack cloud development against GCP without ever leaving my device.

32m agoHN ↗

It depends on the company. Azure provides local emulators for some of their products like CosmosDB and Azure Storage.

Depending on what your size and other things, sometimes it's just easier to have dev instances you test against. Like S3 emulator, you could download one of many and test it but unless your test suite is extensive, the costs against S3 test bucket would probably cost you .03 cents for assurances that everything will work against AWS. If that's breaking the bank at the company, you probably have bigger problems.

2h agoHN ↗

There’s also MiniStack, which forked from LocalStack after they started breaking developer workflows: https://ministack.org/

Both fakecloud and its website look sloppily vibe-coded, and its “authors” are anonymous. It’s going to take a while for it to earn trust. I’d treat it with suspicion. (Curl-to-shell pipe to install? Ugh.)

2h agoHN ↗

Agreed with everything up to:

"curl-to-shell pipe to install" - what's the problem here? that's pretty common on linux systems and something the AWS CLI uses.

Or is the problem the fact that this dev is untrusted and is executing a possibly malicious script on your machine?

2h agoHN ↗

Running arbitrary code directly in your terminal is very dangerous

1h agoHN ↗

Any code I didn't write is arbitrary code. At some point I'm left to trust someone or run no software at all.

59m agoHN ↗

It’s a shell script. You can download and read it before you run it. Piping it directly to the shell is reckless.

I’m not sure how your machine is configured but mine has permission boundaries and security policies that make sure programs are behaving properly. I don’t run everything with my personal user context.

1h agoHN ↗

I'm worried that this behaviour has to be defended.

1h agoHN ↗

For a mock server? Surely a versioned, standalone executable, library/package or docker image makes more sense. Integration tests generally need to be portable and running on CI, you don't wanna be shell-piping whatever exists in the moment.

41m agoHN ↗

curl-to-shell is a terrible installation mechanism, because it's not easily reversible and I can't tell if any of the assets are signed, or integrity checked, or not.

1h agoHN ↗

and its “authors” are anonymous.

The blog posts are all attributed to "Lucas Vieira" and the dev group https://faisca.dev that is attributed as the author has 2 other projects. Lucas comes up in LinkedIn and looks like an actual person working in San Francisco.

Re: curl; this seems to work:

  cargo install fakecloud
16m agoHN ↗

faisca.dev is also vibed - perhaps it's a real human using AI to build an online fascade

1h agoHN ↗

There are so many of these, but none of them simulate the surprise-billing experience.

30m agoHN ↗

"46 at true 100% conformance". This is factually incorrect. Inspected their DynamoDB service and it comes nowhere close to implementing the full api.

21m agoHN ↗

Here are some bugs: - `ADD m.a.c :inc` update expression wrote a literal top-level m.a.c attribute but didn't change the nested number. - TransactGetItems returned fields not requested. - update expression can update the same key multiple times.

In total my conformance suite found 583 failures out of 1279 tests.