frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

We will not accept money to influence the answers we give you

https://xcancel.com/svpino/status/2012282586890989719
1•acqbu•2m ago•0 comments

Planets most likely to host alien life, according to astronomers

https://www.popsci.com/science/habitable-planets-astronomers-project-hail-mary/
1•Brajeshwar•3m ago•0 comments

The Feed Framed the Last Election and AI Answers Will Frame the Next

https://matthodges.com/posts/2026-03-20-democrats-answer-layer/
1•m-hodges•3m ago•0 comments

Cybersecurity Skills for AI Agents (agentskills.io standard)

https://github.com/mukul975/Anthropic-Cybersecurity-Skills
1•mukul975•4m ago•0 comments

SwarmHawk – open-source CLI → Nuclei → AI synthesis → PDF report

https://github.com/hastikdan/swarmhawk-cli
2•hastikdan•9m ago•0 comments

Single-celled organism with no brain is capable of Pavlovian learning

https://www.newscientist.com/article/2519284-single-celled-organism-with-no-brain-is-capable-of-p...
2•XzetaU8•12m ago•1 comments

Judge Rules Apple Watch Blood Oxygen Workaround Does Not Infringe Masimo Patents

https://www.macrumors.com/2026/03/19/itc-apple-watch-workaround-valid/
1•mgh2•14m ago•0 comments

Codex with a vague prompt just solved a bug in Ghostty

https://twitter.com/mitchellh/status/2029348087538565612
2•Tikrong•16m ago•0 comments

Tesla Has Its First Semi-Truck and It's a Hit with Truckers

https://www.wsj.com/business/logistics/truckers-tesla-fans-semi-b0a66e6e
1•EwanG•19m ago•1 comments

Crossbar's new security chip isn't secure

https://www.zach.be/p/crossbars-new-security-chip-isnt
2•hasheddan•21m ago•0 comments

Starmer's digital ID reboot raises same old questions as its Blair-era ancestor

https://www.theregister.com/2026/03/20/digital_id_consultation/
1•jjgreen•21m ago•0 comments

The Coming SpaceX Scam

https://danafblankenhorn.substack.com/p/the-coming-spacex-scam
1•simonebrunozzi•21m ago•1 comments

Why modern physics is forcing us to rethink existence

https://bigthink.com/series/full-interview/michelle-thaller-spacetime/
1•Brajeshwar•22m ago•0 comments

Bernie Sanders: I spoke to AI agent Claude [video]

https://www.youtube.com/watch?v=h3AtWdeu_G0
1•epaga•23m ago•0 comments

SQLAlchemy 2 In Practice

https://blog.miguelgrinberg.com/post/sqlalchemy-2-in-practice---chapter-1---database-setup
2•ibobev•25m ago•0 comments

Ask HN: Should AI agents be allowed to spend money autonomously?

1•bahaghazghazi•25m ago•1 comments

Deepfake Impersonation Attacks (Part 1): Anatomy of Modern Deepfakes

https://www.slashid.com/blog/deepfake-impersonation-attacks-part-1/
1•snagg•26m ago•0 comments

Show HN: Htmx Toolkit for VS Code with completions, validation and 20 support

https://github.com/andreahlert/htmx-vscode-toolkit
3•andreahlert•29m ago•0 comments

Probing gravity with gravitational waves: cosmology, black hole ringdowns[video]

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

Session private messenger donation appeal

https://session.foundation/blog/a-personal-appeal-from-cofounder-of-session-chris-mccabe
1•yougotwill•35m ago•1 comments

Show HN: Aurea, an image codec that sequences pixels like DNA

https://github.com/5ymph0en1x/Aurea
1•Symphoenix•35m ago•0 comments

Getting Ziggy with It – Re: Factor

https://re.factorcode.org/2026/03/getting-ziggy-with-it.html
2•birdculture•36m ago•0 comments

Yog-Fsharp – A Graph Library for F#. A Port of Gleam's Yog

https://github.com/code-shoily/yog-fsharp
1•TheWiggles•37m ago•0 comments

Thin Ice

https://grist.org/science/on-thin-ice-glacier-tourism-iceland/
2•Brajeshwar•42m ago•0 comments

Show HN: Sonar – A tiny CLI to see and kill whatever's running on localhost

https://github.com/RasKrebs/sonar
4•raskrebs•44m ago•1 comments

Show HN: Varpulis – Real-time behavioral guardrails for AI agents

https://github.com/varpulis/varpulis-agent-runtime
1•cpo75•46m ago•0 comments

Xiaomi MiMo-V2-Pro

https://mimo.xiaomi.com/mimo-v2-pro
2•jusgu•47m ago•2 comments

The Transformer Architecture, Visualized

https://www.vizuaranewsletter.com/p/the-transformers
1•Anon84•48m ago•0 comments

State of Platforms 2026: From Adoption to Accountability

https://offentlig-paas.no/artikkel/state-of-platforms-2026
5•starefossen•52m ago•1 comments

Have Fungi Hacked Us?

https://thesporereport.com/?p=884
3•stared•56m ago•0 comments
Open in hackernews

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

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

Comments

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