frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Launch board built only for iOS apps?

1•appshunter•1m ago•0 comments

Wikivibes – Write the encyclopedia you wished existed

https://wikivibes.org/
1•dhtgbdgthb•1m ago•0 comments

AI-proof? Younger workers desert the digital world for traditional crafts

https://www.theguardian.com/money/2026/aug/27/ai-proof-jobs-traditional-crafts
2•pseudolus•2m ago•0 comments

Amazon Aurora DSQL now supports foreign key constraints

https://aws.amazon.com/about-aws/whats-new/2026/08/aurora-dsql-foreign-key-constraints/
1•alexbilbie•3m ago•0 comments

Show HN: Coordination Layer for Coding Agents

https://twing.dev/
1•imayank•3m ago•1 comments

Spring Boot on a 256 MB VPS: JDK 25 Compact Headers Put to the Test

https://pvrlabs.xyz/articles/spring-boot-256mb-jdk25.html
1•theanonymousone•4m ago•0 comments

Gong Zizheng, who led China's planetary defence project, dies at 61

https://www.scmp.com/news/china/science/article/3365533/gong-zizheng-who-led-chinas-planetary-def...
2•bookofjoe•4m ago•0 comments

Cloudflare frees 100TB of RAM by shrinking DNS cache entries

https://www.tomshardware.com/tech-industry/big-tech/cloudflare-frees-100tb-of-ram-by-shrinking-dn...
1•sbulaev•5m ago•0 comments

Vibe Coding and Desktop Publishing

https://blog.numericcitizen.me/2026/08/28/vibe-coding-and-desktop-publishing.html
1•speckx•5m ago•0 comments

Packman at 25 – where do we go from here?

https://lists.links2linux.de/pipermail/packman/2026-August/018314.html
1•xiaoyu2006•8m ago•0 comments

iPhone Photography Awards 2026

https://ippawards.com/winners/showcase
2•my2centsWorth•10m ago•0 comments

China's Oil Demand 'Likely' Peaked Last Year, Sinopec Says

https://www.bloomberg.com/news/articles/2026-08-24/china-s-oil-demand-very-likely-peaked-last-yea...
2•toomuchtodo•11m ago•1 comments

Waymo imported over 3,200 Zeekr robotaxis in the US despite 102.5% tariffs

https://carnewschina.com/2026/08/12/why-alphabets-waymo-is-importing-3200-chinese-zeekr-robotaxis...
2•mnming•11m ago•1 comments

How weaving helped invent modern computing – and is shaping its future

https://theconversation.com/how-weaving-helped-invent-modern-computing-and-is-shaping-its-future-...
2•surprisetalk•12m ago•0 comments

Show HN: dmx – MCP server for adding configurable, gated loops to coding agents

https://dmx.deepmodel.ai/
2•hpieris•12m ago•0 comments

Shared Kitchen Summit

https://www.sharedkitchensummit.com
2•mooreds•12m ago•0 comments

Apache Iggy Graduates to a Top-Level Project

https://iggy.apache.org/blogs/2026/08/24/apache-iggy-top-level-project-tlp-graduation/
2•aray07•12m ago•0 comments

I accidentally turned LLM memory into program analysis

https://pwning.systems/posts/llm-memory-program-analysis/
3•jordyzomer•12m ago•0 comments

Fix compression format error when installing J

https://www.justus.pw/posts/2026-08-28-fix-unknown-compression-format-error-when-installing-j.html
2•speckx•14m ago•0 comments

The Website Obesity Crisis

https://idlewords.com/talks/website_obesity.htm
3•aray07•14m ago•0 comments

ICE grants $16.7 Million no-bid contract to buy 6000 electric shock gloves

https://www.cbsnews.com/news/ice-electric-shock-glove-16-7-million-contract/
5•ck2•15m ago•2 comments

How the Anvil Was Nearly Dropped on 'Coyote vs. Acme'

https://www.nytimes.com/2026/08/26/movies/the-story-behind-coyote-vs-acme.html
3•ChrisArchitect•17m ago•1 comments

How do functions like alloca allocate memory from the stack?

https://devblogs.microsoft.com/oldnewthing/20260817-00/?p=112617
2•ibobev•18m ago•0 comments

Show HN: GoodSaaS – Now with per-product pages (Recommended)

https://goodsaas.xyz
2•its_ajseven•18m ago•0 comments

Overlap: Local file tagging and querying for macOS with on-device AI suggestions

https://github.com/cruxxxxxx/Overlap
2•coffeesoda•19m ago•0 comments

"Weird" is a weird word

https://www.deadlanguagesociety.com/p/weird-is-a-weird-word
2•pseudolus•21m ago•0 comments

When professional expertise loses its scarcity

https://blog.sqlauthority.com/2026/08/18/your-second-skill-was-never-a-parachute/
3•deepmem•22m ago•0 comments

NFC Energy-Harvesting PCB Business Card with an MCU

https://wilsonharper.net/projects/businesscard/
2•WilsonHarper•24m ago•0 comments

Ask HN: Why are onionv3 services not more popular?

2•smalltorch•24m ago•0 comments

Why Auditability and Compliance Are Now Non-Negotiable for Enterprise AI Agents

https://medium.com/@MirArshadTalpur/why-auditability-and-compliance-are-now-non-negotiable-for-en...
2•Arshad-Talpur•25m ago•1 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/