frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: TrueQR – QR codes that don't expire, because static codes never could

https://trueqr.co
1•ElmerWallace•36s ago•0 comments

Masterfile – Scratch pad, vault, budget, notes, and Kanban in one iOS app

https://apps.apple.com/ph/app/masterfile/id6770906172
1•louiscada•45s ago•0 comments

$40k / Month from a Stolen Game

https://sawthat.io/case-studies/11062026-mmv
1•sickosanchez•51s ago•0 comments

History Repeating at Nintendo

https://ravi64.com/zelda-ocarina-history-repeating/
1•outrunner•1m ago•0 comments

Convoro - Forum software for the AI Age

https://convoro.co
1•ernestdefoe•4m ago•0 comments

First person in the world treated with gene therapy to regenerate optic neurons

https://www.scientificamerican.com/article/world-first-therapy-to-make-cells-young-again-given-to...
1•ck2•6m ago•0 comments

Pretty Source – Beautify

https://chromewebstore.google.com/detail/pretty-source/agiaaocdhepjibmfcjjdkkohnlkgenia
1•ihorko•6m ago•0 comments

US ban on Mythos is related to a jailbreak research by Amazon researchers

https://timesofindia.indiatimes.com/technology/tech-news/us-ban-on-anthropics-fable-5-and-mythos-...
2•maxloh•6m ago•0 comments

Underwater RF Communication at 700M Using Magnetoelectric Antennas

https://arxiv.org/abs/2411.09241
1•norcalkc•6m ago•0 comments

I built a local, free Granola alternative

https://hobnob.info/
1•polemos•8m ago•1 comments

The Mutualism Accord: a draft protocol for local-first, user-loyal AI agents

https://mutualismaccord.org
1•ravenpaige•9m ago•0 comments

LoongForge End-to-End Optimization for GR00T N1.6 Delivers 2.3× Throughput

https://baidu-baige.github.io/LoongForge/blog/2026-06-loongforge-groot-n16-acceleration.html
1•mindzzz•14m ago•0 comments

SpaceX Just Made the AI Infrastructure War Public

https://www.forbes.com/sites/robertszczerba/2026/06/13/spacex-just-made-the-ai-infrastructure-war...
2•cyrc•14m ago•0 comments

Sentencing the Innocent

https://www.craigmurray.org.uk/archives/2026/06/sentencing-the-innocent/
1•jjgreen•14m ago•0 comments

GLM 5.2 Is Out

https://digg.com/tech/ii9xibgn
4•aloknnikhil•15m ago•0 comments

When We Cease to Understand the World

https://en.wikipedia.org/wiki/When_We_Cease_to_Understand_the_World
1•petethomas•17m ago•0 comments

Show HN: Brightdeck – an OOXML-compatible AI presentation maker

https://brightdeck.ai/
3•mfn-throw•18m ago•1 comments

Cross-System Constraint Collisions: The Governance Gap in Enterprise Agentic AI [pdf]

https://himalaian.com/publications/CrAIg_WhitePaper_Public_v1.0.pdf
1•michaelmallon•19m ago•0 comments

Hacker Scripts

https://github.com/NARKOZ/hacker-scripts
1•skogstokig•19m ago•0 comments

The Wayland Protocol

https://wayland-book.com/protocol-design/design-patterns.html
2•tosh•19m ago•0 comments

Arch Linux AUR affected-package list after malicious commits were deleted

https://md.archlinux.org/s/SxbqukK6IA
1•tjek•22m ago•0 comments

SpaceX IPO made Musk a trillionaire. The old rules of capitalism no longer apply

https://www.theguardian.com/commentisfree/2026/jun/12/spacex-ipo-elon-musk-trillionaire
4•jmngomes•24m ago•1 comments

GameBoy Emulation in JavaScript (2010)

https://imrannazar.com/series/gameboy-emulation-in-javascript
2•tosh•28m ago•0 comments

As a woman thinks by Corra Harris (1926)

https://gutenberg.org/cache/epub/78847/pg78847-images.html
1•petethomas•29m ago•0 comments

Warning from our state to yours about process used to fast track the data center [video]

https://www.youtube.com/shorts/ntQOb2H__M8
3•Bender•34m ago•1 comments

The Bombardment of Ellwood During World War II

https://en.wikipedia.org/wiki/Bombardment_of_Ellwood
1•MilnerRoute•34m ago•0 comments

Show HN: Kaupang – deploy one config to Docker Compose, Swarm, or Kubernetes

1•witnz•35m ago•0 comments

Stanford Scientists Regrow Lost Cartilage and Reverse Arthritis

https://www.sciencedaily.com/releases/2026/06/260612021604.htm
4•karakoram•37m ago•0 comments

Gas Prices Wipe Out More Than a Year of Wage Gains

https://www.wsj.com/economy/inflation-wages-american-workers-cbe3f187
5•karakoram•43m ago•1 comments

Ask HN: What is the AI adoption approach at your org?

2•iExploder•44m ago•1 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/