frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Senior Software Engineer, Back End or Full Stack

1•drewop•6m ago•0 comments

History of the Windshield Wiper

https://www.6thgearautomotive.com/2022/11/06/history-of-the-windshield-wiper-part-4-wiper-mechani...
1•nothrowaways•7m ago•0 comments

(US) Homeland Security uses Hiroshi Nagai's artwork without permission

https://twitter.com/hiroshipj/status/2007024205272150219
2•rguiscard•12m ago•0 comments

Show HN: AI tutor to study and practice STEM books

https://studyjunkie.co/
1•Gregoryy•16m ago•0 comments

Logitech Options+ and G Hub macOS Certificate Issue

https://support.logi.com/hc/en-us/articles/37493733117847-Options-and-G-HUB-macOS-Certificate-Issue
1•kbumsik•20m ago•0 comments

Canada's Immigration Dept shelves visa program for entrepreneurs, citing misuse

https://www.theglobeandmail.com/politics/article-ircc-halts-startup-visa-program-foreign-entrepre...
3•petethomas•23m ago•0 comments

6 months of my SaaS, real numbers, real mistakes, no sugarcoating

1•prompthance•24m ago•0 comments

Bill to Eliminate H-1B Visa Program Introduced in Congress

https://www.newsweek.com/eliminate-h1b-visa-program-congress-bill-marjorie-taylor-greene-11312655
6•ekropotin•26m ago•0 comments

Mastering Claude Code in 30 minutes (2025) [video]

https://www.youtube.com/watch?v=6eBSHbLKuN0
1•vinhnx•28m ago•0 comments

Venezuela 'turning over' oil to US in move that could cut supply to China

https://www.theguardian.com/world/2026/jan/07/venezuela-oil-trump-us-latest
4•wslh•29m ago•1 comments

Show HN: Agentlearn – Interactive course for AI agent fundamentals

1•init0•34m ago•0 comments

Show HN: I built an Instagram Clone

https://pic-pal-space.lovable.app/
1•nsemikey•36m ago•3 comments

'Yamagata is ramen': Japan's city of noodle fiends revels in 'capital' status

https://www.theguardian.com/world/2026/jan/07/yamagata-ramen-japan-noodles
2•CaptainZapp•37m ago•0 comments

Trump gets Greenland in 4 easy steps

https://www.politico.eu/article/donald-trump-greenland-easy-steps-nato-policy-deal-military/
4•JumpCrisscross•38m ago•1 comments

The 'Growler' Signal-Jamming Jet That Helped Capture Nicolás Maduro

https://www.wsj.com/world/the-growler-signal-jamming-jet-that-helped-capture-nicolas-maduro-1eba383f
3•fortran77•39m ago•1 comments

VLang 0.5 Released

https://github.com/vlang/v/releases/tag/0.5
2•arunc•42m ago•0 comments

Ask HN: Retro Games for Kids

1•atakan_gurkan•45m ago•4 comments

Show HN: Tera.fm – A calm, radio-style way to listen to today's tech news

https://tera.fm
3•digi_wares•46m ago•1 comments

How to Install Cosmic Desktop on Ubuntu 24.04 LTS

https://linuxiac.com/how-to-install-cosmic-desktop-on-ubuntu-24-04-lts/
1•ipeev•50m ago•0 comments

Show HN: Library for HTML interaction using voice agent

https://github.com/rajnandan1/atticus
1•rajnandan1•52m ago•0 comments

How Apple works: Inside the biggest startup (2011)

https://fortune.com/2011/05/09/inside-apple/
1•ValentineC•54m ago•1 comments

Proposal: Extract the Parser of TypeScript Native into a Standalone Go Module

https://github.com/microsoft/typescript-go/discussions/2442
1•narukeu•54m ago•1 comments

Resurrecting My Game Dev Time with AI

https://rsaul.com/resurrecting-my-game-dev-project-with-ai/
1•TheGRS•54m ago•0 comments

AGI is here (and I feel fine)

https://www.robinsloan.com/winter-garden/agi-is-here/
1•jonas21•54m ago•1 comments

Show HN: Enclose Horse – Daily Puzzle Game

https://enclosehorse.com/
1•cottomzhang•57m ago•0 comments

Show HN: LeetCode on Steroids

https://leetduck.com/
1•collinboler2•1h ago•0 comments

Featherbase

https://www.featherbase.info/
3•aratno•1h ago•0 comments

PgX – Debug Postgres performance in the context of your application code

https://docs.base14.io/blog/introducing-pgx/
2•rshetty•1h ago•0 comments

Fund managers prepare for 'reckoning' in US tech sector

https://www.ft.com/content/48d9c100-0ec6-4edf-9395-eb44879ea5c6
4•zerosizedweasle•1h ago•0 comments

A Tutorial on Safe Anytime-Valid Inference [pdf]

https://www.alexander-ly.com/wp-content/uploads/2025/08/saviTutorial.pdf
2•colonCapitalDee•1h ago•0 comments
Open in hackernews

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

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

Comments

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