News for hackers. Stuff that matters.

xiuyuan

Show HN: Yulin Local AWS Simulator

https://yulinsim.dev/

For the last few months I've been working on Yulin, which is an AWS simulator for Node.js. It simulates AWS services and state in memory in the same single process as your tests, and can also serve the simulation on localhost for local dev. It's in a similar conceptual space to LocalStack, but takes a very different approach by avoiding containers and keeping everything together in one process...

( Read More... | 1 comment | 4 points | on HN )

Show HN: Smartass – TypeScript test assertions with type-narrowing signatures

https://github.com/KensioSoftware/smartass/

I thought it was a shame that the expect() fluent interface in Jest and Vitest is unable to make use of a TypeScript feature called assertion signatures. Assertion signatures seem like a natural fit for test assertions, because they let you align real run-time validation with compile-time type information. I wanted to be able to do both of those things in one go in tests, so I put together this...

( Read More... | no comments | on HN )
Why does the title here contain 汉语 (Chinese for “Chinese” as in the language)? It looks like that was possibly meant to be the Chinese for Wolf Warrior Diplomacy.
Crowdcube have acknowledged they're experiencing issues.

https://twitter.com/Crowdcube/status/1121366289057030144

Re:Ask HN: What are the books you wish your colleagues had read? on Thursday February 15, 2018 @09:34AM (#16384248)
You might find this interesting regarding Elements of Style: https://www.washingtonpost.com/news/volokh-conspiracy/wp/201...

The original article it quotes can be found here: www.lel.ed.ac.uk/~gpullum/LandOfTheFree.pdf

It's quite heavy criticism of Elements of Style from the Professor of General Linguistics at the University of Edinburgh.