frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

North Korea built the best army of hackers

https://www.cnn.com/2026/11/29/asia/north-korea-hacking-capabilities-intl-hnk-dst
1•extasetoi12•30s ago•0 comments

Ask HN: Will Intel Succeeded?

1•roschdal•43s ago•0 comments

Starmind: Shooting the AI datacenter into space. Why?

https://neatread.net/starmind-shooting-the-ai-datacenter-into-space-why
1•piter691777•1m ago•0 comments

Australia's duty of care law lets platforms assess their own safety risks

https://ajaychavda.com/blog/australia-s-duty-of-care-law-lets-platforms-assess-their-own-safety-r...
1•romania1•3m ago•0 comments

Faceball – a try new things experiment

https://trynewthings.fail/experiments/faceball/
1•fjallstrom•8m ago•0 comments

The Death of TTPs – Autonomous Cyber Attacks in the Wild [video]

https://www.youtube.com/watch?v=7q7CSxntccw
1•_voidtrace•10m ago•0 comments

The Cognitive Art of Feynman Diagrams (eBook) – Edward R. Tufte

https://www.edwardtufte.com/book/the-cognitive-art-of-fyenman-diagrams-ebook/
1•icc97•12m ago•0 comments

Ten tracks from the game of my childhood

https://www.openstreetmap.org/user/darkonus/diary/409740
1•altilunium•14m ago•0 comments

The backlash over 'fake' assistance dogs

https://www.bbc.co.uk/news/articles/ck1l0e2rdyd1o
1•mellosouls•15m ago•0 comments

What the Top Roblox Games Put on Their Game Page (2026 Data Study)

https://rbxgfx.com/blog/roblox-top-games-thumbnails-study
1•visiohex•15m ago•0 comments

Ask HN: Has anyone noticed Gemini Neon being overly enthusiastic?

1•_voidtrace•17m ago•0 comments

Living in the Post LLM Era

https://k1024.org/posts/2026/2026-11-28-living-post-llm-era/
1•edward•17m ago•0 comments

Proposal: Highway Crossing Cleanup

https://wiki.openstreetmap.org/wiki/Proposal:Highway_crossing_cleanup
1•altilunium•19m ago•0 comments

Building my AI harness in 2026

https://vhaudiquet.fr/blog/building-my-ai-harness-2026/
1•vhaudiquet•19m ago•0 comments

The Super El Niño Just Exposed the US Nuclear Waste Problem [video]

https://www.youtube.com/watch?v=hJ1-BgIanB4
2•xbmcuser•36m ago•0 comments

Show HN: Local HN-Brief

https://github.com/5L-Labs/hn-brief
1•n7e_5l_labs•36m ago•0 comments

Mindfulness training brings out the worst in some employees

https://www.usf.edu/business/news/2026/11-16-mindfulness-training-brings-out-the-worst-in-some-em...
1•workpsychnotes•38m ago•0 comments

Can photons interfere? My favorite weird quantum experiment

https://skullsinthestars.com/2026/11/26/can-photons-interfere-my-favorite-weird-quantum-experiment/
1•sohkamyung•41m ago•0 comments

Show HN: A free browser-based banner and logo maker (no signup, no watermark)

https://sitetoolsbox.com/tool.php?slug=badge-maker
1•sitetoolsbox•42m ago•0 comments

Contra Scott on SURA

https://vitalik.eth.limo/general/2026/11/28/contra_scott_on_sura.html
2•reducesuffering•43m ago•0 comments

Show HN: Videotex-UI – a React UI kit inspired by the French Minitel

https://github.com/Gleaming0427/videotex-ui
2•Gleaming0427•44m ago•0 comments

Anthropic Denies Claude Sabotaged Code, Attributes Errors to 'Overcaution'

https://twitter.com/edwinarbus/status/2126507795642187855
3•k9294•46m ago•0 comments

GTA 6 is a tech demo and a playable ad for GTA 6 Online. Change my mind

2•DmitryO•47m ago•3 comments

Everything about my smart home and homelab setup

https://swiftrocks.com/everything-about-my-smart-home-and-homelab-setup
1•rockbruno•47m ago•0 comments

'Enormous fear': Scientist shares arrest by ICE despite pristine paper trail

https://www.science.org/content/article/enormous-fear-scientist-shares-arrest-ice-despite-pristin...
3•Alien1Being•51m ago•0 comments

Get a Cable Modem Go to Jail

http://telecom.csail.mit.edu/judy-sammel.html
1•romania1•55m ago•0 comments

Show HN: macOS Spotlight Replacement

https://github.com/kunkka19xx/look
2•kunkka19xx•1h ago•3 comments

Show HN: Built a Chess Coach

https://chessrx.live/
2•divyanshusingh•1h ago•1 comments

UltraMath – Pure-JS/WebGL2 graphing calculator with 8D Clifford algebra

1•Ultra-guy•1h ago•1 comments

OpenAI: iFood ran 25k coding agent tasks across 15k repo at $0.04 per run

https://openai.com/business/customer-stories/ifood/
1•StackMoth•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•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/