frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: Do you use Apache Iceberg in Production?

1•vira28•52s ago•0 comments

Optimizing for Decision Points

https://narphorium.com/blog/decision-points/
1•azhenley•1m ago•0 comments

The data black hole at the center of AI

https://www.dwarkesh.com/p/the-sample-efficiency-black-hole-2
1•jedixit•1m ago•0 comments

The Wrong End of the Problem

https://schrottner.at/2026/06/18/The-Wrong-End-of-the-Problem.html
1•aepfli•4m ago•0 comments

OCaml 5.5.0

https://discuss.ocaml.org/t/ocaml-5-5-0-released/18265
3•cod1r•7m ago•0 comments

Gemini CLI vs. Claude Code: Why agent capabilities matter more than prompts

https://imaxxs.com/behavioral-induction-capabilities-shape-execution
1•imaxxs•7m ago•0 comments

HN: A free book on how "AI easy money" scams work

https://singularityforge.space/2026/06/20/di-and-easy-money-on-the-edge-of-a-myth/
1•Voice_of_Void•7m ago•0 comments

Cervical cancer mortality trends after HPV vaccination in England 2001–24

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(26)00918-9/fulltext
2•bookofjoe•7m ago•0 comments

Europe buys the future, America builds it

https://economist.com/finance-and-economics/2026/06/18/europe-buys-the-future-america-builds-it
1•andsoitis•8m ago•0 comments

Google Is Using Nvidia's Playbook to Build a Rival AI Chip Business

https://www.wsj.com/tech/ai/google-is-using-nvidias-playbook-to-build-a-rival-ai-chip-business-1e...
2•Brajeshwar•13m ago•1 comments

Show HN: SkillsGuard – static scanner for malicious AI agent skills

https://github.com/Teycir/SkillsGuard
1•teycir•13m ago•0 comments

Computer Vision – Lecture 1.1 (Introduction: Organization) [video]

https://www.youtube.com/watch?v=YW1cIaOBkI8
1•skidrow•14m ago•0 comments

Anthropic Lacks Emotional Intelligence

https://www.lawfaremedia.org/article/anthropic-lacks-emotional-intelligence
1•ano-ther•15m ago•0 comments

Get notified the second Fable 5 comes back

https://fablewatch.com
1•markksantos•16m ago•0 comments

What happens if the EU loses the AI race [video]

https://www.youtube.com/watch?v=uVPoq1Svz7g
1•SpyCoder77•19m ago•0 comments

Show HN: Konxios a local first AI OS that connects LM Studio, Ollama and cloud

https://konxios.com
1•ifrosted•24m ago•0 comments

Eerie landscape of 100.000 monoliths made with fable 5(when it was available)

https://sand-morph.up.railway.app/atlas-of-quiet-monoliths
1•echohive42•26m ago•0 comments

The science behind Qantas' bet on 20-hour flights

https://www.reuters.com/business/aerospace-defense/sleep-light-science-behind-qantas-bet-20-hour-...
1•1659447091•27m ago•0 comments

Shellular: Run agents, terminals and browser DevTools from your phone

https://shellular.dev/
3•aquajet•30m ago•0 comments

GLM-5.2 vs. Claude Opus 4.8: Full Comparison

https://llm-stats.com/blog/research/glm-5-2-vs-claude-opus-4-8
3•gjvc•34m ago•0 comments

An offline earthquake monitor that detects P-waves before S-waves

https://play.google.com/store/apps/details?id=com.muhsin.mkdepremmonitor&hl=en_US
2•Muhsinkosoglu•37m ago•0 comments

How to Get Fired Using Switch Statements and Statement Expressions (2016)

https://blog.robertelder.org/switch-statements-statement-expressions/
1•downbad_•37m ago•0 comments

Show HN: Let agents send/receive SMS using your old Android phone

https://simlink.snaz.cz/
1•LukBrezina•39m ago•0 comments

HN with Pics

https://hn.is-ai-good-yet.com/
1•ilyaizen•40m ago•1 comments

Norway Says AI Ain't for Education

https://gizmodo.com/norway-says-ai-aint-for-education-2000774320
3•01-_-•42m ago•1 comments

Ask HN: What is the cutting edge research in compilers and PLT?

1•xqb64•43m ago•0 comments

Words of Conviction

https://www.propublica.org/series/911-call-analysis-forensic-science-investigation
1•ZeljkoS•43m ago•0 comments

NASA selects Eric Schmidt's rocket company for a 2028 mission to Mars

https://www.theverge.com/science/952988/nasa-relativity-space-eric-schmidt-mars
1•01-_-•43m ago•1 comments

Life After Data: the conference on de-datafication

https://www.law.georgetown.edu/privacy-technology-center/education/life-after-data-the-conference...
1•burnto•45m ago•0 comments

Antimatter Development Program – Casey Handmer's Blog

https://caseyhandmer.wordpress.com/2025/11/26/antimatter-development-program/
1•bilsbie•45m 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/