frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Air Quality Monitoring Myths That Mislead Users

https://www.airgradient.com/blog/air-quality-monitoring-myths/
1•ahaucnx•4m ago•0 comments

Other People Might Just Not Have Your Problems

https://thingofthings.substack.com/p/other-people-might-just-not-have
1•barry-cotter•4m ago•0 comments

Productivity App with Conversational Capabilities

https://dashzz.com
1•testarosar•7m ago•0 comments

Escope – powerful CLI tool for Elasticsearch cluster diagnostics and monitoring

https://github.com/mertbahardogan/escope
1•erayarslan•9m ago•0 comments

Earliest botanical art hints at prehistoric mathematical thinking

https://phys.org/news/2025-12-earliest-botanical-art-hints-prehistoric.html
2•stOneskull•16m ago•0 comments

How to Build a Life, By The Atlantic – 46 articles in a single chat Notebook

https://notebooklm.google.com/notebook/750a23df-fd98-4954-b9c4-71f16c3ee937
1•instagraham•16m ago•0 comments

Quantum computers learn how to simulate quarks

https://uwaterloo.ca/news/quantum-computers-learn-how-simulate-quarks
1•stOneskull•21m ago•0 comments

The first distributed real-time search analytics database

https://www.serenedb.com/
1•doener•21m ago•0 comments

Show HN: Built a tool for devs to create high-quality app icons

https://iconcraft.app/
1•sachinmotwani02•23m ago•3 comments

McDonald's removes AI-generated ad after backlash

https://www.theguardian.com/business/2025/dec/11/mcdonalds-removes-ai-generated-christmas-ad-adve...
7•terabytest•23m ago•2 comments

Early stage VC firm FoodLabs raises third fund of €105M

https://sifted.eu/articles/food-labs-raises-third-fund
1•doener•31m ago•0 comments

Show HN: Mapibara – A Map for Local Events (markets, concerts, hiking...)

https://mapibara.com
2•csantini•31m ago•1 comments

Shield protecting Chernobyl nuclear power plant no longer blocks radiation

https://www.euronews.com/2025/12/08/radiation-shield-protecting-chernobyl-nuclear-power-plant-no-...
1•mohi-kalantari•33m ago•0 comments

Roman urbanism was bad for health, new study confirms

https://phys.org/news/2025-12-roman-urbanism-bad-health.html
1•pseudolus•34m ago•0 comments

US forces take over sanctioned, stateless VLCC off Venezuela

https://www.lloydslist.com/LL1155836/Weve-just-seized-a-tanker-US-forces-take-over-sanctioned-sta...
2•monerozcash•34m ago•0 comments

$1 That Doubles Everyday

https://twitter.com/magnushambleton/status/1995459412463403045
1•barry-cotter•35m ago•0 comments

Prompt injection is not SQL injection (it may be worse)

https://www.ncsc.gov.uk/blog-post/prompt-injection-is-not-sql-injection
1•giuliomagnifico•35m ago•0 comments

Ask HN: Can I get feedback on this product

https://mu.xyz
2•asim•36m ago•1 comments

I got 50 high-profile angel investors to join our seed round

https://www.mentava.com/blog/how-i-got-50-high-profile-angel-investors-to-join-our-seed-round
1•barry-cotter•37m ago•0 comments

If You Quit Social Media, Will You Read More Books?

https://www.newyorker.com/news/fault-lines/if-you-quit-social-media-will-you-read-more-books
3•pseudolus•38m ago•3 comments

Show HN: Titan – JavaScript-first framework that compiles into a Rust server

https://www.npmjs.com/package/@ezetgalaxy/titan
1•soham_byte•40m ago•0 comments

Why the resale market is expanding fashion's carbon footprint

https://news.yale.edu/2025/12/08/second-thoughts-secondhand-why-resale-market-expanding-fashions-...
1•JeanKage•41m ago•0 comments

Three in 10 US teens use AI chatbots every day, but safety concerns are growing

https://techcrunch.com/2025/12/09/three-in-ten-u-s-teens-use-ai-chatbots-every-day-but-safety-con...
2•JeanKage•42m ago•0 comments

prev.js: Blog/PKM vanilla SSG using SQLite and Python. Compiles in 5s on Vercel.

https://github.com/danielfalbo/prev
1•danielfalbo•47m ago•1 comments

Would you like your Iceberg sir, stream or batch ordered

https://jack-vanlightly.com/blog/2025/11/5/how-would-you-like-your-iceberg-sir-stream-or-batch-or...
1•teleforce•49m ago•0 comments

Ask HN: Does professional coding make you forget the "magic" feeling?

2•Gooblebrai•49m ago•0 comments

Ask HN: Websites of people making cool projects

1•mdoliwa•49m ago•0 comments

Show HN: Instant branch management for AI-native development

https://github.com/ekarya0x/peek
1•ekarya0x•50m ago•0 comments

Show HN: TreatyHopper – Pay Less Taxes

https://treatyhopper.com
2•realberkeaslan•53m ago•1 comments

Ebooks vs. Paper books: The final showdown

https://jonathanpincas.com/p/ebooks-vs-paper-books-the-final-showdown
1•poleprediction•54m ago•1 comments
Open in hackernews

Automatically add missing "async/await" keywords to your TypeScript code

https://github.com/stanNthe5/typescript-autoawait
7•theThree•7mo ago

Comments

bastawhiz•7mo ago
Is this a problem that people actually have?
xeromal•7mo ago
Fun side project man!
primitivesuave•7mo ago
I took a peek at the implementation - I think this only works for a case where the typing explicitly contains the string "Promise". For example, I don't think it would work if I use `SomeInterface["some_promise_key"]` or might incorrectly add an async if I use `Awaited<Promise<...>>`.

I think what you're trying to build might be best served by Typescript's VFS - https://www.npmjs.com/package/@typescript/vfs. You can load the local files into an in-memory type system, and quickly extract async/await hints that might be more useful for a typical TS developer. I think there's a lot of really interesting static analysis you could do to improve async/await safety, as it certainly leads to issues from time to time.

joshstrange•7mo ago
I do not want to be mean but I think you'd be much better served with ESLint rules to yell at you when you don't await when you should or do when you shouldn't.

This should _not_ be an automatic operation since it can change behavior in ways that will be unclear to the developer (completely undoing any gain from them being added automatically).

theThree•7mo ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•7mo ago
I created a ticket, using comments is not necessary because there is already the `void` syntax for when you don't want to wait:

https://github.com/stanNthe5/typescript-autoawait/issues/1

nextweek2•7mo ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/