frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

X shuts down the European Commission's ad account the day after major fine

https://www.engadget.com/social-media/x-shuts-down-the-european-commissions-ad-account-the-day-af...
1•MilnerRoute•3m ago•0 comments

I created A-Lang – a new lightweight language, focused on simplicity and speed

https://alang-doc.vercel.app/
1•alexandrelanda•7m ago•2 comments

Optimizing Associative Operations (2015)

https://ericlippert.com/2015/10/27/optimizing-associative-operations/
1•mooreds•8m ago•0 comments

For a Literary Saint, Margaret Atwood Can Sure Hold a Grudge

https://www.nytimes.com/2025/11/01/books/review/margaret-atwood-book-of-lives-memoir.html
3•mooreds•8m ago•0 comments

Navigating the future of AI agent security with Dan Moore [audio]

https://overcommitted.dev/ep-36-navigating-the-future-of-ai-agent-security-with-dan-moore/
1•mooreds•9m ago•0 comments

Using AI to Modernize Ubuntu Error Tracker Produced Code That Was 'Plain Wrong'

https://www.phoronix.com/news/Ubuntu-Error-Tracker-AI-Error
1•Lockal•11m ago•0 comments

Sitekick – simple AI-driven web chat and lead-capture for any website

1•nagendraallam•11m ago•1 comments

Claude Code Tips

https://agenticcoding.substack.com/p/32-claude-code-tips-from-basics-to
2•ykdojo•13m ago•0 comments

First explorations in Indian classical music

https://andrewbatson.com/2025/10/11/first-explorations-in-indian-classical-music/
5•surprisetalk•14m ago•0 comments

Ignore the pessimists – we are living through a literary golden age

https://www.commonreader.co.uk/p/ignore-the-pessimists-we-are-living
3•surprisetalk•14m ago•0 comments

(Dis)Assembling Experience

https://www.raphkoster.com/games/presentations/disassembling-games/
2•surprisetalk•14m ago•0 comments

So What Should We Call This – A Grue Jay?

https://cns.utexas.edu/news/research/so-what-should-we-call-grue-jay
2•surprisetalk•14m ago•0 comments

Why Fighter Jets Ban 90% of C++ Features [video]

https://www.youtube.com/watch?v=Gv4sDL9Ljww
11•AareyBaba•19m ago•3 comments

Musicians must embrace 'unstoppable force' of AI, Eurythmics' Dave Stewart urges

https://www.theguardian.com/music/2025/dec/05/musicians-must-embrace-unstoppable-force-of-ai-eury...
2•binning•22m ago•2 comments

Supercomputer Creates One of the Most Realistic Virtual Brains Ever Seen

https://www.sciencealert.com/supercomputer-creates-one-of-the-most-realistic-virtual-brains-ever-...
2•wjSgoWPm5bWAhXB•23m ago•0 comments

Why do so many girls in Blackpool want to become boys?

https://juliebindel.substack.com/p/why-do-so-many-girls-in-blackpool-a6a
2•binning•24m ago•0 comments

Internet became 'enshittified' – and how to fix it

https://www.rnz.co.nz/news/on-the-inside/581142/how-internet-became-enshittified-and-how-to-fix-it
5•billybuckwheat•24m ago•0 comments

Show HN: Honest Reviews Club – Deep, transparent digital product reviews

https://honest-reviews.club/
2•launchzilla•28m ago•0 comments

Rape victims will no longer be depicted as serial liars in England and Wales

https://www.theguardian.com/society/2025/dec/02/rape-victims-england-wales-protected-serial-liar-...
6•binning•31m ago•0 comments

A series of tricks and techniques I learned doing tiny GLSL demos

https://blog.pkh.me/p/48-a-series-of-tricks-and-techniques-i-learned-doing-tiny-glsl-demos.html
2•ux•35m ago•0 comments

Who Invented ClassPass?

https://twitter.com/JonasBrandon/status/1997694250692293069
2•metricmissions•35m ago•0 comments

"They're not designed for that": An ocean robot's lucky Antarctic discoveries

https://reportearth.substack.com/p/one-of-my-best-stories-was-about
3•MaysonL•37m ago•0 comments

Key (Programming) Language Features – Does Yours Qualify?

https://wiki.c2.com/?KeyLanguageFeature
2•gurjeet•41m ago•0 comments

Future of Vancouver's repair cafés uncertain after city cuts funding for 2026

https://www.cbc.ca/news/canada/british-columbia/city-of-vancouver-cuts-funding-repair-cafe-9.7006210
3•cf100clunk•43m ago•0 comments

Did Asteroids Invent Gum Billions of Years Ago?

https://www.universetoday.com/articles/did-asteroids-invent-gum-billions-of-years-ago
4•fcpguru•46m ago•0 comments

Thoughts on AI progress (Dec 2025)

https://www.dwarkesh.com/p/thoughts-on-ai-progress-dec-2025
3•paulpauper•50m ago•0 comments

How Much Are US Firms Using AI Tools?

https://conversableeconomist.com/2025/12/02/how-much-are-us-firms-using-ai-tools/
3•paulpauper•51m ago•0 comments

Pyramids to Columns

https://blog.andrewyang.com/p/pyramids-to-columns
4•paulpauper•51m ago•0 comments

One week left to wean Australian kids off social media platforms

https://www.themandarin.com.au/304293-one-week-left-to-wean-australian-kids-off-social-media-plat...
2•mooreds•52m ago•0 comments

High-quality, ubiquitous, and portable telemetry for effective observability

https://opentelemetry.io/
2•mooreds•55m ago•0 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/