frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

AI Kill Switch Act would let Trump admin order shutdown of rogue AI systems

https://arstechnica.com/tech-policy/2026/07/ai-kill-switch-act-would-let-trump-admin-order-shutdo...
1•ndsipa_pomu•23s ago•0 comments

An institutional-grade market terminal for retail investors

https://kresmion.com
1•sol9•2m ago•0 comments

End-to-End Encryption and "Going Dark"

https://www.schneier.com/blog/archives/2026/07/end-to-end-encryption-and-going-dark.html
1•mdp2021•2m ago•0 comments

Show HN: Amdb – Local code context MCP server, single Rust binary

https://github.com/BETAER-08/amdb
1•try_betaer•5m ago•0 comments

Game of Trees – Git-based version control from OpenBSD folks

https://www.gameoftrees.org/
1•gregnavis•6m ago•0 comments

Mirror Mirror: Mirror your PC screen to your phone over your local network

https://github.com/maco30001/Mirror-Mirror
1•maco3000•7m ago•0 comments

Use This Instead of OpenCode

https://www.truss-agent.com/
1•jrh89•7m ago•0 comments

The Hugging Face Incident – By Scott Alexander

https://www.astralcodexten.com/p/the-hugging-face-incident
1•mellosouls•8m ago•0 comments

Clop ransomware targets Windchill, FlexPLM in data theft attacks

https://www.bleepingcomputer.com/news/security/clop-ransomware-targets-windchill-flexplm-in-data-...
1•Imbiss•8m ago•0 comments

How Do We Stop Vibe Coding?

https://alexklos.ca/blog/how-do-we-stop-vibe-coding
1•prohobo•9m ago•0 comments

Launching Health in ChatGPT to US Users

https://openai.com/index/health-in-chatgpt/
1•mellosouls•12m ago•0 comments

Study: Economic benefits of data centers in USA

https://www.scheller.gatech.edu/news/2026/data-centers-are-booming-who-benefits.html
1•giuliomagnifico•14m ago•1 comments

Round-Trip Correctness: A New Metric for Generative AI-Based Process Modeling

https://community.sap.com/t5/technology-blog-posts-by-sap/round-trip-correctness-a-new-metric-for...
1•rramadass•18m ago•1 comments

The first mainstream song about computer games literally "Computer Games" (1979)

https://www.youtube.com/watch?v=gsHYSs_qgmU
2•wewewedxfgdf•20m ago•0 comments

Show HN: Audio Player with "Binaural Beats" tuned to the same key as your music

https://github.com/henrygabriels/binaural-studio
2•gabriel666smith•20m ago•0 comments

Show HN: A Website Introducing Flux 3

https://flux-3.io
2•akseli_ukkonen•21m ago•0 comments

A Semioethical Framework for Artificial Intelligence

https://lyceum.institute/humanitas-technica/seppuai/
2•einhard•26m ago•0 comments

IRGC Claims It Destroyed Amazon's Bahrain Data Center

https://houseofsaud.com/irgc-claims-destroyed-amazon-bahrain-data-center/
3•thisislife2•28m ago•0 comments

Show HN: Transept: AI translation workspace that puts humans first

https://transept.ai
3•sithamet•29m ago•0 comments

Prebuilt, parameterized, interactive HTML widgets for MCP Apps

https://github.com/Techthos/gadget
2•alex20465•31m ago•0 comments

The Codex App Lied to Me About /Clear

https://samwize.com/2026/07/24/codex-app-lied-to-me-about-clear/
2•ingve•32m ago•0 comments

I'm So Tired of "Is This AI?"

https://www.trend-mill.com/p/im-so-tired-of-is-this-ai
5•moomoy•37m ago•1 comments

Show HN: A static, client-side tarot calculator for Brazilian Portuguese

https://meuarcanopessoal.net/
5•visiohex•41m ago•1 comments

Show HN: Maplike – Rust traits for operations on containers (get, set, push...)

https://github.com/mikwielgus/maplike
2•mikolajw•42m ago•0 comments

BookWyrm is a social network for tracking and sharing your reading

https://github.com/bookwyrm-social/bookwyrm
2•protomolecool•44m ago•0 comments

Image Resizer

https://img-resizer.github.io/
2•javatuts•45m ago•0 comments

Shape Up: Stop Running in Circles and Ship Work that Matters [pdf]

https://basecamp.com/shapeup/shape-up.pdf
2•saikatsg•47m ago•0 comments

Brief Observations on Life

http://unfuck.i.ng/art/science/life/
2•singingfish•48m ago•1 comments

Flux 3 X Mimic: The Next Generation of Video-Action Models

https://bfl.ai/blog/flux-3-mimic
35•kensai•50m ago•3 comments

Towards a Theory of Bugs: The Ruliology of the Unexpected

https://writings.stephenwolfram.com/2026/07/towards-a-theory-of-bugs-the-ruliology-of-the-unexpec...
2•nsoonhui•51m 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/