frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

China became the great oil power

https://www.economist.com/finance-and-economics/2026/08/09/how-china-became-the-worlds-great-oil-...
1•toomuchtodo•31s ago•0 comments

MatrAIx: Simulating the World with 8.3B Persona Agents

https://arxiv.org/abs/2608.04205
2•birriel•5m ago•0 comments

Show HN: SynapsCLI – lightweight agent runtime in Rust, control an agent swarm

https://github.com/HaseebKhalid1507/SynapsCLI
1•0x04am•6m ago•0 comments

LLMs Get Lost in Evolving User Intent

https://arxiv.org/abs/2607.20734
2•Anon84•11m ago•0 comments

How We Pushed CDC into Postgres

https://www.snowflake.com/en/blog/engineering/postgres-to-snowflake-replication-mirroring/
4•craigkerstiens•17m ago•0 comments

Blender MCP maintainer GitHub account hacked

https://twitter.com/sidahuj/status/2086445625147793503
4•babuskov•20m ago•0 comments

Profile-Guided Optimization in Go

https://lemire.me/blog/2026/08/09/profile-guided-optimization-in-go/
1•prattmic•21m ago•0 comments

Spy cameras on Navy drones sent data to China

https://www.telegraph.co.uk/news/2026/08/09/spy-cameras-on-navy-drones-secretly-sent-data-to-china/
1•el_duderino•22m ago•0 comments

EGA and Me: A Complicated Relationship

https://reanthsoft.com/blog_260806_ega_and_me.html
1•doener•23m ago•0 comments

Simple, multi-key sorting algorithm for 2D+ points gridification

https://github.com/ArmanddeCacqueray/Cartesian-Grid-Sort
1•adec314•24m ago•0 comments

Forbidden fruit: Buick Electra gets 435 mile range and 376 HP for $25K in China

https://electrek.co/2026/08/06/forbidden-fruit-buick-electra-gets-435-mile-ev-range-and-25000-pri...
4•MilnerRoute•34m ago•1 comments

Pentagon presses defense firms to build weapons as Iran war depletes stocks

https://www.washingtonpost.com/technology/2026/08/08/pentagon-presses-defense-firms-build-weapons...
2•Teever•36m ago•0 comments

California Cyberattack on 911 Systems

https://www.latimes.com/california/story/2026-08-09/cyberattack-forces-emergency-declaration-in-s...
1•vsgherzi•40m ago•0 comments

Show HN: Acquired Podcast Idea Dinner Returns

https://acquirers.vercel.app/
1•Taikhoom2010•40m ago•0 comments

Japanese court overturns Red RAW video patent

https://www.dpreview.com/news/panasonic-did-what-apple-sony-and-nikon-couldnt-overturn-a-red-raw-...
7•anigbrowl•43m ago•1 comments

Is Europe safer than America?

https://economist.com/graphic-detail/2026/08/09/is-europe-safer-than-america
2•andsoitis•46m ago•0 comments

Ask HN: How do you set comp at an early stage startup?

2•jeffreyfate•47m ago•1 comments

The Anatomy of a Pass

https://davidorban.substack.com/p/the-anatomy-of-a-pass
1•mayukh•1h ago•0 comments

Before We Click "Publish" on Hugging Face

https://twitter.com/icoxfog417/status/2086606980584714495
1•icoxfog417•1h ago•0 comments

Ask HN: What Project are you the most proud of?

2•emn4tor•1h ago•0 comments

Cloudflare OS

https://os.cloudflare.app/
4•phirschybar•1h ago•1 comments

What do I want to be? – a poem about parenting in the AI age

https://www.reddit.com/r/Adulting/s/1ZF6OLsjko
1•AmbroseBierce•1h ago•0 comments

I've Been to the Future. It Worked Out

https://iwanajohannsen.substack.com/p/ive-been-to-the-future-it-worked
1•herbertl•1h ago•2 comments

Owner of original Intel 8080 pre-production Rubylith mask seeks restorer

https://www.tomshardware.com/pc-components/cpus/owner-of-original-intel-8080-pre-production-layou...
1•sbulaev•1h ago•1 comments

Show HN: Discord-delete – Delete all your Discord messages from your data export

https://github.com/DatCodeMania/discord-delete
2•DatCodeMania•1h ago•1 comments

America's Military Is Dangerously Exposed

https://www.wsj.com/opinion/americas-military-is-dangerously-exposed-26706217
6•petethomas•1h ago•0 comments

Show HN: A local-first, modular replacement for your accounting software

https://github.com/celerp/celerp
2•ngsevers•1h ago•0 comments

Optimizing a GPT-2-Class Transformer on a GPU

http://martinkristiansen.com/llm-gpu-optimization/index.html
2•mkristiansen•1h ago•1 comments

Iran Is Rewiring Its Proxy Network

https://www.nationalreview.com/2026/08/iran-is-rewiring-its-proxy-network/
1•petethomas•1h ago•0 comments

Ancient Roman shipwreck discovered off Sicily coast

https://www.bbc.com/news/articles/cvgx1kpz17go
2•1659447091•1h ago•0 comments
Open in hackernews

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

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

Comments

bastawhiz•1y ago
Is this a problem that people actually have?
xeromal•1y ago
Fun side project man!
primitivesuave•1y 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•1y 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•1y ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•1y 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•1y ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/