frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Court Filings Allege Meta Downplayed Risks to Children and Misled the Public

https://time.com/7336204/meta-lawsuit-files-child-safety/
1•dataminer•1m ago•0 comments

Markdown Editors

https://github.com/mundimark/awesome-markdown-editors
1•wslh•3m ago•0 comments

Joe Rogan Experience #2416 – Dan Farah [video]

https://www.youtube.com/watch?v=NSFaaq3vhfY
1•keepamovin•5m ago•0 comments

Brazil's ex-president Bolsonaro arrested to prevent 'escape' court says

https://www.cnn.com/2025/11/22/americas/brazil-jair-bolsonaro-arrested-intl
1•marcodiego•6m ago•0 comments

Tell HN: Archive.today Partially Inaccessible

1•ZWoz•6m ago•0 comments

What's Lost When Stars Disappear from View

https://spectrum.ieee.org/scale-of-light-pollution
1•pseudolus•8m ago•0 comments

We don't talk enough about the best part of AI agents

https://michalkotowski.pl/writings/we-dont-talk-enough-about-the-best-part-of-ai-agents
1•kocie•12m ago•1 comments

Why is cognitive effort experienced as costly?

https://www.cell.com/trends/cognitive-sciences/abstract/S1364-6613(25)00287-6
2•thinkingemote•13m ago•0 comments

Values Aren't Subjective

https://aliveness.kunnas.com/articles/values-arent-subjective
1•ekns•17m ago•0 comments

WWII Enigma machine sells for over half a million dollars at auction

https://www.tomshardware.com/tech-industry/wwii-enigma-machine-sells-for-over-half-a-million-doll...
1•giuliomagnifico•18m ago•0 comments

Rereading Norbert Wiener's the Human Use of Human Beings at 75

https://spectrum.ieee.org/on-rereading-norbert-wieners-the-human-use-of-human-beings-at-75
2•quapster•20m ago•0 comments

FFmpeg-Rs Fundraising Initiative

https://typememetics.institute/fundraiser/ffmpeg-rs
3•thehappyfellow•20m ago•0 comments

Bagaimana Cara Berbicara Dengan AirAsia

1•sebrauf•23m ago•0 comments

Hardware and Firmware of an Embedded Wearable for Real-Time ECG and Respiration

https://www.mdpi.com/2079-9292/14/21/4276
2•PaulHoule•24m ago•0 comments

ACM Gordon Bell Prize Awarded for Tsunami Prediction Simulation

https://www.acm.org/media-center/2025/november/gordon-bell-prize-2025
1•pseudolus•25m ago•0 comments

Ask HN: Codex vs. Antigravity?

2•digitcatphd•27m ago•0 comments

Misusing Macros for fn and Profit [video]

https://www.youtube.com/watch?v=9-CIInQhBUs
1•icar•27m ago•0 comments

How to Fix a Typewriter and Your Life

https://www.nytimes.com/interactive/2025/11/20/us/typewriter-repair-seattle-bremerton.html
2•pseudolus•30m ago•1 comments

Show HN: Agent Network Protocol (ANP),Similar to an A2A

https://github.com/agent-network-protocol/AgentNetworkProtocol
1•snasan•30m ago•0 comments

Show HN: NB2 Hub – Free Nano Banana Pro AI Image Generator

https://nano-banana2.app
2•zane0924•34m ago•0 comments

Show HN: Vibe coded an AI chat app with features I wanted, Poe

https://github.com/SamInTheShell/poe
1•SamInTheShell•36m ago•0 comments

Think you can't interpose static binaries with LD_PRELOAD? What about QEMU?

https://balintreczey.hu/blog/think-you-cant-interpose-static-binaries-with-ld_preload-think-again/
1•fanf2•38m ago•0 comments

Nanophobia: The Rising Fear of Invisible Technology

https://dailyneuron.com/nanophobia-rising-fear-invisible-technology/
1•giuliomagnifico•41m ago•0 comments

Tibetan Declaration of Independence

https://thus.org/tibetan-declaration-of-independence/
4•thunderbong•46m ago•0 comments

Elon Musk says that in 10 to 20 years, work will be optional

https://finance.yahoo.com/news/elon-musk-says-10-20-183701720.html
6•methuselah_in•51m ago•9 comments

Who's funding Silicon Valley's data-centre dream? It might be you

https://www.ft.com/content/30162671-4366-40af-9519-1a02c3f1e1f5
1•1vuio0pswjnm7•51m ago•0 comments

PyPitfall: Dependency Chaos and Software Supply Chain Vulnerabilities in Python

https://nocomplexity.substack.com/p/pypitfall-dependency-chaos-and-software
1•runningmike•54m ago•0 comments

US tech stocks slide as jolt of volatility hits Wall Street

https://www.ft.com/content/2c0bb19c-7c64-453f-95ab-c0f54a184089
2•1vuio0pswjnm7•54m ago•0 comments

Gemini 3 Pro solves IMO 2025 P6 with some prompting (no hints or tools involved)

https://old.reddit.com/r/singularity/comments/1p3qie4/gemini_3_pro_solves_imo_2025_p6_with_some/
1•amichail•56m ago•0 comments

Lumina – A Logical Language for an Illogical World

https://www.youtube.com/watch?v=4u5htNujl_0
1•intellectronica•57m ago•0 comments
Open in hackernews

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

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

Comments

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