frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://github.com/stanNthe5/typescript-autoawait
7•theThree•9mo ago

Comments

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

Incorrigible Rudeness, the Strategy for Social-Political Impotence [pdf]

https://isonomiaquarterly.com/wp-content/uploads/2026/02/iq-4.1-spring-2026-poenicke-rudeness-and...
1•brandonlc•1m ago•0 comments

Show HN: H.e.i.m.d.a.l.l – Telemetry-to-insight pipeline for fleet telemetry

https://github.com/KarthikSriramGit/H.E.I.M.D.A.L.L
1•starksriram•3m ago•0 comments

DPaint – Webbased image editor, modeled after the legendary Deluxe Paint

https://dpaint.app
1•helloplanets•4m ago•1 comments

Show HN: MeterLogs – Track home energy usage without smart devices

https://meterlogs.com/en
1•lumpe•6m ago•0 comments

Show HN: JellyOcean – Managed Jellyfin Servers

https://jellyocean.com/
1•grzes•6m ago•0 comments

I shipped code I don't understand and I bet you have too [video]

https://www.youtube.com/watch?v=eIoohUmYpGI
1•pxska•8m ago•0 comments

A DuckDB-based metabase alternative

https://github.com/taleshape-com/shaper
2•wowi42•9m ago•0 comments

15 years later, Microsoft morged my diagram

https://nvie.com/posts/15-years-later/
21•cheeaun•18m ago•0 comments

Terminals should generate the 256-color palette

https://gist.github.com/jake-stewart/0a8ea46159a7da2c808e5be2177e1783
2•tosh•19m ago•1 comments

Show HN: Premeth – Ensuring that premed student always stay premeth

https://www.premeth.com/
1•dodobirdy•22m ago•0 comments

LCD-as-Aperture: A Computer That Fits Inside a Camera Lens

https://hackaday.com/2026/02/16/a-computer-that-fits-inside-a-camera-lens/
1•selvan•25m ago•0 comments

Show HN: LaminarDB – Streaming SQL database in Rust, zero-alloc hot path

https://github.com/laminardb/laminardb
2•sujitn•26m ago•1 comments

Historically first (0.01) release of Linux kernel (1991)

https://github.com/zavg/linux-0.01
1•tosh•27m ago•0 comments

Anthropic's pricing wall is routing enterprise revenue to OpenAI

2•luckygreen•30m ago•0 comments

Show HN: TokenMeter – Open-source observability layer for LLM token costs

https://github.com/ATMAECHO/TOKEN-METER
1•Mohit8880•31m ago•1 comments

Show HN: OpenClaw – Open-source personal AI agent that lives on your machine

https://github.com/openclaw/openclaw
1•YaraDori•37m ago•1 comments

TinyIce: Single-binary Icecast2-compatible server (auto-HTTPS, multi-tenant)

https://github.com/DatanoiseTV/tinyice
3•sylwester•38m ago•1 comments

John Carmack on GPU Scheduling

https://twitter.com/ID_AA_Carmack/status/2023805426345689198
2•tosh•38m ago•0 comments

Show HN: Claude Code as a Doctor for Claude Code

https://github.com/Ramsbaby/openclaw-self-healing
1•ramsbaby-dev•42m ago•0 comments

"Operation Windlord": C-17 Airlifts a Micro Nuclear Reactor for the First Time

https://www.twz.com/uncategorized/this-is-a-nuclear-reactor-packed-into-a-c-17-globemaster-iii
2•hitekker•44m ago•0 comments

Oral history of Robert P. Colwell [pdf]

https://www.sigmicro.org/media/oralhistories/colwell.pdf
1•luu•45m ago•0 comments

The Brain May Learn More from Rare Events Than from Repetition

https://www.ucsf.edu/news/2026/02/431511/brain-may-learn-more-rare-events-repetition
2•XzetaU8•46m ago•0 comments

Can personality change after 60? An eight-week program suggests it can

https://www.uni-heidelberg.de/en/newsroom/psychology-study-you-can-teach-an-old-dog-new-tricks
1•XzetaU8•53m ago•0 comments

Babel – Captchas for AI

https://babel.vercel.app/
1•aizk•59m ago•2 comments

Q4 2025: Where 8,500 institutional investors put $1.3T in new capital

https://13finsight.com/research/q4-2025-institutional-consensus-where-smart-money-converges
4•vicchenai•1h ago•0 comments

Humanoid Robots Perform Kung Fu at China's 2026 Spring Festival Gala

https://app.cctv.com/special/m/topic/index.html?itemId=2676
2•edweis•1h ago•0 comments

MCP works because tools are dumb. That assumption has an expiry date

https://productfit.substack.com/p/mcp-is-a-transitional-protocol-heres
1•niraj_kothawade•1h ago•1 comments

The AI War Is Over. Google Won

https://www.youtube.com/watch?v=hcE0NPYlo1w
1•cable2600•1h ago•2 comments

Welcome to the Software Industrial Revolution

https://cannoneyed.com/essays/software-industrial-revolution
2•bentaber•1h ago•1 comments

In Search of a Discord Replacement

https://no-bull.sh/blog/2026/02/16/in-search-of-a-discord-replacement/
3•ta8903•1h ago•2 comments