frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

AI Portability in 2026: Breaking Up Is Hard to Do

https://peckjon.substack.com/p/ai-portability-in-2026
1•peckjon•1m ago•0 comments

The AI-Hacking Apocalypse Began Last Night

https://www.theatlantic.com/technology/2026/10/ai-hacking-apocalypse-began-last-night/689106/
1•zzzeek•2m ago•0 comments

Tinder Reverse Engineered

https://twitter.com/TheDonAyo/status/2112591782857109809
1•mrkn1•6m ago•0 comments

Ollama flint requires 0.40.8 but most recent is 0.40.7

1•roscas•7m ago•0 comments

Show HN: Yantra – Interactive step-by-step diagrams as one offline HTML file

https://github.com/niyankhadka/yantra
1•niyankhadka•9m ago•0 comments

Developers Are Dumbing Down Their Smart TVs

https://www.extremetech.com/electronics/developers-are-dumbing-down-their-smart-tvs
2•speckx•10m ago•2 comments

NPWS ask for vigilance after red kite poisoning in Carlow

https://www.rte.ie/news/regional/2026/1021/1596338-red-kite-carlow/
1•austinallegro•11m ago•0 comments

After automation: Solo founding will be the default

https://every.to/thesis-statements/julian-weisser
3•rmason•13m ago•1 comments

Ask HN: Caution on using AI security platforms for repositories.

1•BehanPrW•14m ago•0 comments

Claude Duet

https://claude.com/resources/articles/claude-duet
5•zaevlad•18m ago•2 comments

Physicists trap a single antimatter particle for a month

https://www.scientificamerican.com/article/physicists-trap-a-single-antimatter-particle-for-a-month/
1•mooreds•18m ago•1 comments

Research Preview of Claude Duet

https://twitter.com/claudeai/status/2112984664256241837
1•davidgomes•18m ago•1 comments

How to Fix PHP2Shell (CVE-2026-109618 and CVE-2026-109619)

https://containersecurity.dev/blog/how-to-fix-php2shell
1•aerabi•20m ago•0 comments

Vulnerabilities in PHP Affecting Cisco Products: October 2026

https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-php-octobe...
1•speckx•20m ago•0 comments

4 Wheel Steering Is a Nightmare

https://simulation.michelin.com/canopy/technical-articles/4-wheel-steering-is-a-nightmare
1•shpx•22m ago•0 comments

iPhone Duo Review with CT scan [video]

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

Plex laid off the whole player team

https://forums.plex.tv/t/2026-20-0-beta-ios-and-tvos-4k-dovi-hdr10-won-t-play-infinite-spinning-c...
29•zzyzxd•26m ago•11 comments

Ask HN: How will programming language design change as more code comes from AI?

2•pelican0•26m ago•0 comments

LLM-D 1.0 Takes Open-Source Kubernetes AI Inference into Production

https://techstrong.ai/ai-infrastructure/llm-d-1-0-takes-open-source-kubernetes-ai-inference-into-...
2•CrankyBear•26m ago•0 comments

Show HN: Is there a YC advantage for sales?

https://elegant-chebakia-7aee64.netlify.app/
1•30minAdayHN•27m ago•0 comments

A story of a Figma bug that wasn't a bug at all (2021)

https://aresluna.org/this-is-a-story-of-a-figma-bug/
1•jllyhill•27m ago•0 comments

Apple's Touchscreen OLED MacBook Pro: Everything We Know

https://www.macrumors.com/guide/touchscreen-macbook-pro/
2•mahboi•28m ago•2 comments

The $15B 'viral' AI startup changing how American doctors treat patients

https://www.ft.com/content/0ed17b79-47dd-4ad8-8dca-44eb35617edc
2•bazzmt•29m ago•0 comments

Security Through Obscurity Is Dead and LLMs Killed It – Brendan Dolan Gavitt [video]

https://www.youtube.com/watch?v=8rOY3aD1yxY
3•arto•29m ago•0 comments

Problematic social media use: Attachment, Narcissism, and interpersonal skills

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0359569
2•PaulHoule•29m ago•0 comments

Making a Career in Dictatorship

https://aworkinglibrary.com/reading/making-a-career-in-dictatorship
1•Tomte•30m ago•0 comments

Meta hit with $25B penalty for deceiving users about privacy on Facebook

https://nmdoj.gov/press-release/the-new-mexico-department-of-justice-secures-another-landmark-vic...
4•DeepLogin•32m ago•2 comments

Sulfur, Right There All Along

https://www.science.org/content/blog-post/sulfur-right-there-all-along
2•dverlaeckt80•32m ago•0 comments

How to Run Turing-Complete Malware in PyTorch's Backward Pass

https://elonlit.com/scrivings/how-to-run-turing-complete-malware-in-pytorchs-backward-pass/
3•czhou578•32m ago•1 comments

Ask HN: What AI tools help me understand a MR?

1•chacham15•33m 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/