frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Trainety – a marketplace for AI project publishers and providers

https://www.trainety.com/
1•xuxurimu•1m ago•0 comments

"Learning to Replicate Expert Judgment in Financial Tasks" – Thinking Machines

https://thinkingmachines.ai/news/learning-to-replicate-expert-judgment-in-financial-tasks/
1•upmind•2m ago•0 comments

Show HN: A YouTube transcript API that survives YouTube's bot war

https://ytranscript.com/developers
1•nopxuan•2m ago•0 comments

'Titan is actually a very reasonable destination for humans'

https://www.space.com/astronomy/saturn/titan-is-actually-a-very-reasonable-destination-for-humans...
1•bookofjoe•3m ago•0 comments

Why I'm Forced to Say Farewell: Google Management Has Lost Its Moral Compass

https://docs.google.com/document/d/1SH9QRTAlL02THgAN2AGmWe9El0_2ZJF6hhgDBx8k97c/edit?tab=t.0
1•vrganj•4m ago•1 comments

Help Test Bahriya – A New Distributed Container Cloud

https://bahriya.cloud
1•meezaan•5m ago•1 comments

What I've Learned from Hacker News (2009)

https://paulgraham.com/hackernews.html
1•adletbalzhanov•5m ago•0 comments

OpenAI in talks to give Trump administration a 5% stake in the company

https://www.cnn.com/2026/07/02/business/openai-trump-stake-intl
1•chirau•6m ago•0 comments

How Datadog measure data completeness at scale

https://www.datadoghq.com/blog/engineering/data-pipeline-completeness/
1•eywek•8m ago•0 comments

Kim Dotcom's legal battle to stay in NZ and avoid extradition to the US

https://www.rnz.co.nz/news/crime-and-justice/652867/kim-dotcom-s-legal-battle-to-stay-in-nz-and-a...
1•Tomte•8m ago•0 comments

The cloud has an address. And that address can burn

https://appedus.com/the-cloud-has-an-address-and-that-address-can-burn/
1•Fisher_L•9m ago•0 comments

Show HN: SophMate – AI Copilot for WordPress/WooCommerce

https://sophmate.ai
1•ahmed_duski•10m ago•0 comments

The cannibalistic trade-off: Why human cannibalism emerges

https://www.pnas.org/doi/10.1073/pnas.2605120123
1•Tomte•13m ago•0 comments

Omarchy Impersonated at Omarchy[.]Net

https://github.com/basecamp/omarchy/discussions/6160
1•arusekk•17m ago•1 comments

Ancient grain shows early lab promise against a key Alzheimer's protein

https://sciencex.com/news/2026-07-ancient-grain-early-lab-key.html
3•pseudolus•19m ago•0 comments

Prototyping medial axis implementation for area routing

https://www.openstreetmap.org/user/Paco%20Albacete%20Chicano/diary/408990
2•altilunium•20m ago•0 comments

AI Is Getting Dumber. That's Not a Good Thing. [video]

https://www.youtube.com/watch?v=vXHPRQTwrr4
2•unfocso•23m ago•0 comments

The Great Blogging Collapse: What Happened to 100 Successful Blogs?

https://danielstanica.com/posts/Great-Blogging-Collapse
2•thm•28m ago•0 comments

Design your MCP server like a UI, not an API

https://bump.sh/blog/4-rules-to-build-an-efficient-mcp-server/
1•scharrier•31m ago•0 comments

Trouble keeps finding Supermicro as server shipments attract police attention

https://www.theregister.com/legal/2026/07/02/trouble-keeps-finding-supermicro-as-strange-server-s...
1•jnord•31m ago•0 comments

"Can't wait to see what people will do with GPT-5.6 Sol"

https://twitter.com/thsottiaux/status/2072607914217320644
2•throwaway2027•32m ago•0 comments

Theoretical Bottlenecks for Scaling LLM Inference to Get Higher Token per Second

https://twitter.com/freddie_spirit/status/2072610863664501129
1•arjmandi•38m ago•1 comments

Show HN: Envcontract – Validate your .env and never commit a secret (100% local)

https://github.com/hamzamansoorch/envcontract
2•hamza_mansoor•38m ago•0 comments

New Apple compression algorithms: LZRAVEN and LZMESH

https://developer.apple.com/documentation/compression/compression_lzraven
3•a-french-anon•43m ago•1 comments

Website Keeps Me Focused

https://deepfocus.space/en
1•mike_watson•46m ago•0 comments

Poland's SGE unveils plans for UK fleet of 14 nuclear SMRs

https://www.energyvoice.com/renewables-energy-transition/nuclear/600094/polish-billionaire-solowo...
1•mpweiher•47m ago•0 comments

Show HN: Dart_agent_core – Run AI agents in Flutter apps with lifecycle hooks

https://github.com/memex-lab/dart_agent_core
1•sparkleMing•50m ago•0 comments

Andy Burnham could raise £15B – without a tax rise

https://taxpolicy.org.uk/2026/07/01/andy-burnham-tax-gap-15bn/
1•frereubu•50m ago•0 comments

Your site, your rules: new AI traffic options for all customers

https://blog.cloudflare.com/content-independence-day-ai-options/
3•frereubu•51m ago•0 comments

Apricot Computers: An underrated British brand

https://dfarq.homeip.net/apricot-computers-an-underrated-british-brand/
1•rbanffy•54m 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/