Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. When did Google get so weird? (sancho.bearblog.dev)
    262comments
  2. Ember-1 (fireworks.ai)
    159comments
  3. Lunar Terminator Paradox (secretsauce.net)
    16comments
  4. Alan Kay's answer to “Did the ENIAC have a BIOS”? (quora.com)
    19comments
  5. Show HN: Lofi Cities – Pixel-art city nights with browser-generated lofi (loficities.com)
    55comments
  6. The state of SIMD in Rust in 2026 (shnatsel.github.io)
    18comments
  7. There is more to code review than (automatable) detection (adaptivecapacitylabs.com)
    12comments
  8. Don't couple your Go code to GitHub (iain.rocks)
    50comments
  9. Imp is a full port of DSPy to the BEAM (github.com/deepfates)
    5comments
  10. What I did at Recurse Center (thill.me)
    14comments
  11. In an $80 motel room, a discovery to shed light on the origins of life (nytimes.com)
    76comments
  12. Oral history of John Chowning, inventor of FM synthesis [video] (youtube.com)
    6comments
  13. Replacing the old battery on rechargeable bike lights (jvns.ca)
    66comments
  14. S3 Is the Future, S3 Is the Past (btrblocks.com)
    8comments
  15. Writing Efficient C++ Code (2013) (asawicki.info)
    74comments
  16. The Cartesian Hand: In-Hand Manipulation with All-Linear Fingers (generalroboticslab.com)
    8comments
  17. My Recent Woodworking Projects (notoriousbfg.com)
    1comments
  18. Previously unheard recordings of John Coltrane, captured by Frank Tiberi (jazzwise.com)
    15comments
  19. Flip Fluid on Flip Dots (mitxela.com)
    23comments
  20. Fragment of oldest known peace treaty found in Turkey (livescience.com)
    8comments
  21. Fakecloud: Local AWS cloud emulator for integration tests (fakecloud.dev)
    49comments
  22. The Normalization of Inexplicable Failures (ihatethefuture.com)
    91comments
  23. Faster prompt lookup drafting in llama.cpp (jadidbourbaki.github.io)
    9comments
  24. Show HN: TinyAIArena watch AI agents battle it out (tinyaiarena.com)
    40comments
  25. Video CDs Break Windows Explorer (clydesnotes.blogspot.com)
    30comments
  26. EV Sales Are Booming in Europe with Gasoline at $10 a Gallon (bloomberg.com)
    11comments
  27. KICKI: a DECsystem1060 (icm.museum)
    2comments
  28. On caring for user data: NeoVim caused Vim undo files to be deleted (aresluna.org)
    303comments
  29. Improving site performance by shipping more CSS (github.blog)
    64comments
  30. C's Flexible Integer Sizes Were Not a Design Mistake (pikuma.com)
    118comments

Fakecloud: Local AWS cloud emulator for integration tests

95 pointsby 1d agofakecloud.dev
49 comments
9h agoHN ↗

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

9h agoHN ↗

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

9h 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.

9h agoHN ↗

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

8h agoHN ↗

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

8h agoHN ↗

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

8h 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.

7h 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) :)

7h agoHN ↗

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

6h agoHN ↗

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

6h agoHN ↗

Hard to replicate all the bugs in azure.

8h 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?

6h 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.

6h 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.

5h agoHN ↗

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

Not sure if your serious.

You picked the simplest service that isn't expensive at all to run. Have you tried with an RDS cluster for example, how does that work?

Does your integration test create a new cluster to use? That's slow to set up.

Does it use an existing one? Now you might have failures due to noisy neighbors and your cost will not be small.

And that's just RDS, as soon as it's not serverless, costs aren't trivial anymore.

4h agoHN ↗

I assume for RDS for integration testing, you could just use publicly available software. So stand up MySQL container if your RDS is MySQL. This is integration testing, not load testing so shared RDS in lowers would be fine as well. Noisy neighbors shouldn't be a big deal.

Again, while local cloud emulator is great for cost sensitive customers, at some point, you should test Dev against almost exact environment you will be running Prod on. If not, you are asking for eventual outage in Prod when some slightly different AWS thing bites you.

7h 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.)

7h 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?

7h agoHN ↗

Running arbitrary code directly in your terminal is very dangerous

6h 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.

6h 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.

5h agoHN ↗

So then... Just do that and it's no longer reckless.

If someone wants to be reckless they can be. If someone doesn't, they also have that ability.

5h agoHN ↗

Actually... Server can detect if you are piping or not and serve a modified version for inspection.

But really, there is no reason not to use prebuilt packages for distribution. Curlpiping needs to die.

7h agoHN ↗

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

7h 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.

6h 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.

5h agoHN ↗

The problem, for me, is that self-running installers can create a mess that's hard to keep track of.

I've run Linux without meaningful package management, as that was kind of the style of the time 30 years ago with Slackware. It can quickly become untenable.

There's no real difference between an uninspected script that gets piped straight from the URL into the shell, or a similarly-uninspected make&&sudo make install routine from a tarball. They can both execute code that does bad things (whether unintentionally or deliberately), and they can both leave a mess that is hard to cleaned up.

I've found that it is better to just avoid going down that road to begin with. Whether distro-specific packages, Docker containers, flatpaks, or whatever: All of these make housekeeping easier.

6h 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
5h agoHN ↗

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

4h agoHN ↗

I don't think it's being questioned that at some point there is human behind this. Though it could always be that spider.

3h agoHN ↗

why does it matter that it's a vibe coded website?

2h agoHN ↗

Because taste, creativity, and differentiation matter to a human audience. Perhaps not you personally, but to most people. Ask any experienced marketer.

1h agoHN ↗

Both fakecloud and its website look sloppily vibe-coded

As if the MiniStack website wasn't also obviously vibe-coded lol.

7h agoHN ↗

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

5h agoHN ↗

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

5h 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.

3h agoHN ↗

Wow! This is not production-ready at all. DynamoDB would be my main use case. I'll stick with DynamoDB local.

1h agoHN ↗

Funny fact, DynamoDB local fails about 100 of my conformance tests. Mainly around error message formatting and text. Just be careful about parsing those.

5h agoHN ↗

Local stubs like this are a lifesaver for one-person webhook testing without burning cloud credits every morning.

1h agoHN ↗

Why not just offer an AWS compatible cloud service at this point ... can you copyright an API?

38m agoHN ↗

These miss the point of integration testing (in my Humble opinion). Integration tests are valuable because they get around the problem of mocking. They let you reach out into the foreign thing you use and see if it behaves the way you expect it to. If you replace the real thing with a fake thing, you are, well, by definition, not learning anything about the real thing. It's the subtle behaviors and quirks of real services that often cause the most problems. (It's why testing the DDB Local often hides the painful eventual consistency problems you see with DDB proper.)

My $0.02: just use the AWS SDK to spin up real infrastructure on demand. You can provision SQS in < 10ms. Buckets in <100ms. DDB can take upwards of 30 seconds to a minute if you're adding GSIs, but it's a very small tax in exchange for the confidence it brings. (People often balk at this idea when they first hear it, but give it a shot! I have stamped out many a bug thanks to being able to bounce ideas off real infra.)