frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Project management that is fast, privacy-first and flexible, ... powered by Lisp

https://codeberg.org/jjba23/lucidplan
1•gjvc•53s ago•0 comments

Can Your Identity Platform Pass the Black Friday Test?

https://fusionauth.io/blog/black-friday-identity-test
1•mooreds•4m ago•0 comments

Agents are choosing the software infrastructure now, and we're not ready

https://redmonk.com/jgovernor/agents-are-choosing-the-software-infrastructure-now-and-were-not-re...
1•mooreds•5m ago•0 comments

Polytoken is a local-first AI coding agent daemon

https://docs.polytoken.dev/introduction/
1•mooreds•6m ago•0 comments

The Invention of Islamic Invention

https://www.cremieux.xyz/p/the-invention-of-islamic-invention
1•nailer•14m ago•0 comments

Show HN: BlindFlag – Double-blind dealbreaker test via client-side PSI

https://blindflag.com
1•blindflag•17m ago•0 comments

Universal Modder: Let Any AI Coding Agent Mod Almost Any PC Game

https://github.com/rehan-remade/universal-modder
1•wertyk•19m ago•0 comments

Old Games Weren't More Optimized – You Just Forgot the Pain

https://www.sapphirenation.net/old-games-were-not-more-optimized-you-just-forgot-the-pain
2•davikr•19m ago•0 comments

AI and TCS: The Next Six Months Working Group Report

https://simons.berkeley.edu/AITCSreport?inline=
1•num42•20m ago•0 comments

Steelers ex-coach Mike Tomlin has been building a Minecraft city for 12 years

https://www.youtube.com/playlist?list=PLS-_IoE-EKXU
4•Vaslo•22m ago•0 comments

Howard Stern corrects a caller about OS/2 Warp vs. Windows 95 (1995)

https://archive.org/details/howard-stern-os2
1•sippingabonedry•23m ago•1 comments

California bans child marriage, a practice still legal in 32 US states

https://www.bbc.com/news/articles/c6rm9mnn0w3eo
11•dabinat•24m ago•2 comments

Show HN: War365 - Satire

https://war365.yatesframe.com/
1•beernutz•25m ago•0 comments

NOOP – Offline Whoop Companion App

https://github.com/ryanbr/noop
1•jgx0•26m ago•0 comments

Drawing electricity from this sodium-water reactor prevents explosion, in theory

https://www.youtube.com/watch?v=l0qqUE1pgXU
1•fallinditch•30m ago•0 comments

Religious Scholars Met with Anthropic. What They Heard Stunned Them

https://www.nytimes.com/2026/09/29/us/anthropic-claude-morals-ai.html
3•kanamekun•30m ago•2 comments

Did Iran Just Use Russia's "Kalinka" System on Starlink? (January 20, 2026)

https://nationalinterest.org/blog/buzz/did-iran-just-use-russias-kalinka-jamming-system-starlink-...
2•rexbee•32m ago•0 comments

Show HN: Yantra – an LALR(1) parser generator for C++

https://github.com/TantrixAuto/yantra
4•renjipanicker•37m ago•0 comments

XTechHumanoid winners advance military exploration of humanoid capabilities

https://www.war.gov/News/News-Stories/Article/Article/4613847/robotics-competition-winners-advanc...
1•lelandfe•37m ago•0 comments

Side Injection Test – Longshot Space [video]

https://www.youtube.com/watch?v=tbj0yfNz4_I
1•pinnola•37m ago•0 comments

Cities Are Forced to Funnel License Plate Data to a Federal Surveillance Program

https://www.404media.co/how-cities-are-forced-to-funnel-license-plate-data-to-a-massive-federal-s...
15•ripe•41m ago•0 comments

Gold beetles to Darwin's finds: The 70M museum artefacts going online

https://www.bbc.com/news/articles/cv5yjgrj4ello
1•1659447091•46m ago•0 comments

The main purpose of Z-Library is to enhance the level of education of everyone

https://z-lib.gd/fundraising
2•Cider9986•47m ago•0 comments

Follower counts don't equal search visibility – vetting creators before ad buys

https://hikerapi.com/
1•yumrbeats•50m ago•0 comments

8 Questions about Minds and AI

https://www.echohive.ai/eight-questions-about-minds-and-ai
1•echohive42•51m ago•1 comments

Aw1-breaker: Sub-0.02ms AST circuit breaker for Python AI agent tools

https://github.com/MvikManners/aw1-circuit-breaker
1•MvikVela•53m ago•0 comments

Show HN: I built a directory to set up ChatGPT's always-on agents in one paste

https://dotbotdirectory.com
1•iamdemetrius•54m ago•0 comments

Claude's new auto eval tool

https://hamel.dev/blog/posts/claude-auto-evals/index.html
3•hamelsmu•54m ago•0 comments

Google's AI Push into Schools: 'It Slowed My Thinking Down'

https://www.wsj.com/tech/ai/google-ai-gemini-education-schools-1ec0972a
1•alexpetralia•55m ago•0 comments

Jevotron: Multiple Jev integrations from the command line

https://cmungall.github.io/jevotron/
3•chrismungall•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•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/