frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Codex: Changes to reduce risk of destructive actions

https://twitter.com/thsottiaux/status/2089891927659585918
1•tosh•40s ago•0 comments

Smartphone-Free Childhood

https://www.smartphonefreechildhood.org
2•simonebrunozzi•1m ago•0 comments

The Making of Cursor's Icons

https://www.minoradventures.co/blog/the-making-of-cursors-icons
1•kaizenb•5m ago•0 comments

One writer, twelve workers, zero rows

https://dev.profullstack.com/~anthony/blog/019-post.html
1•buffer_overlord•9m ago•0 comments

Thoughts About Scaling Law

https://twitter.com/jietang/status/2089941544581403107
1•tosh•13m ago•0 comments

Bezier Curves from the Ground Up (2016)

https://jamie-wong.com/post/bezier-curves/
1•vismit2000•14m ago•0 comments

Bun 1.4 Rust rewrite is not looking good

https://tipiirai.com/writing/bun-rust-rewrite-worries
15•tipiirai•14m ago•2 comments

Lattice: An isometric game kit designed to be written by agents

https://lattice.aniruddh.tech/
1•achandratre•15m ago•0 comments

ChatGPT for Teens

https://help.openai.com/en/articles/20001421-chatgpt-for-teens
1•Bluestein•19m ago•0 comments

Teen Culture Has Always Been Co-Opted. In 2026, It's Reached New Heights

https://www.teenvogue.com/story/teen-culture-has-always-been-marketable-in-2026-its-reached-new-h...
1•Tomte•19m ago•0 comments

The Pentagon Wars

https://en.wikipedia.org/wiki/The_Pentagon_Wars
1•Bluestein•22m ago•0 comments

Ask HN: How to Share Tools with Coworkers

1•lordlaw•22m ago•0 comments

China orders state agencies to uninstall Windows as it cuts dependence on US

https://www.indiatoday.in/technology/news/story/china-orders-state-agencies-to-uninstall-windows-...
3•roflcopter69•24m ago•0 comments

Time Travel on Professional Profiles

https://www.nber.org/papers/w35546
2•helsinkiandrew•25m ago•0 comments

Tough days at GitHub, a continuing series

https://surfingcomplexity.blog/2026/08/18/tough-days-at-github-a-continuing-series/
1•azhenley•27m ago•0 comments

Curvature Beziers – Improving on a timeless recipe

https://acko.net/blog/curvature-beziers/
1•boxed•29m ago•0 comments

Susan Kare:Designing Icons and Graphics for the Original Mac [video]

https://www.youtube.com/watch?v=YEvLKzsEwMw
1•dhruv3006•31m ago•0 comments

Data inaccessible on Microsoft 365 for nonprofits

https://www.reddit.com/r/nonprofit/comments/1ub52pt/data_inaccessible_on_microsoft_365_for_nonpro...
2•petethomas•32m ago•0 comments

Ask HN: Software Design resources on the lower/class/module level

1•needfish•34m ago•0 comments

ZEON – A token-efficient data format for LLMs

https://zeon-eight.vercel.app/
1•Schicksal•37m ago•0 comments

Our summer fastest-growing vendors list just dropped

https://twitter.com/brexHQ/status/2089412872094773735
1•porridgeraisin•39m ago•0 comments

Designing AI with character: what we learned building Berd

https://block.xyz/inside/designing-ai-with-character-what-we-learned-building-berd
1•thm•39m ago•0 comments

"Hill-climbing" is Silicon Valley's latest bit of shit jargon

https://nudged.himynamesdave.com/musings/hill-climbing-is-silicon-valleys-latest-bit-of-shit-jargon/
1•panoramas4good•40m ago•0 comments

Get feedback on your AI slop. no accounts

https://slopornot.simplicated.dev
1•karenimnotkaren•41m ago•0 comments

Show HN: AnswerRank – AEO Tool for online businesses

https://answerrank.so/
1•not_wowinter14•42m ago•0 comments

Show HN: Online Bubble Level

https://abubblelevel.com/
1•artiomyak•45m ago•0 comments

Ask HN: Cloudflare Smart Placement

1•bansalvip•47m ago•0 comments

AI Stock Research Assistant · Streamlit

https://ai-stock-research-kiaan.streamlit.app
1•KiaanKothari•48m ago•1 comments

Looking for an ArXiv Endorser – AI / Computer Science

https://github.com/paibyun9/EGA-V9
1•lcm3•50m ago•2 comments

BYOKs for an LLM with a Brain

https://alicebraincore.web.app
1•kindsocial•50m 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/