frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

FocusGolf – a swing-analysis app I'm building as an HCP36 amateur

https://play.google.com/store/apps/details?id=com.mode.golf.app&hl=en
1•dmitrijsc•1m ago•0 comments

Pine64 launch $50 smart speaker for Home Assistant tinkerers

https://www.omgubuntu.co.uk/2026/06/pine64-pinevoice-riscv-smart-speaker-launch
1•edward•2m ago•0 comments

Apple accelerates app development with new intelligence frameworks

https://www.apple.com/in/newsroom/2026/06/apple-aids-app-development-with-new-intelligence-framew...
1•adithyaharish•3m ago•0 comments

Trap–Bath Split

https://en.wikipedia.org/wiki/Trap%E2%80%93bath_split
1•YeGoblynQueenne•3m ago•0 comments

I built a native iOS video player for local media and SMB/Plex

https://apps.apple.com/us/app/lux-video-player-hd-media/id6762520464
1•Moonarkh•10m ago•0 comments

AI Engineering Roadmap

https://aiengineeringfromscratch.com/prereqs.html
1•rohitghumare•10m ago•0 comments

Using a local iPhone MCP server to plan Apple Watch workouts with Codex

https://bernhardhering.de/blog/ask-my-health-codex-workout-plan/
1•boernei•13m ago•0 comments

AI Agent vs. Cron

1•vasanthps•13m ago•0 comments

Show HN: LokalBot – meetings, notes, and autocomplete that never leave your Mac

https://www.lokalbot.com/
1•stevyhacker•13m ago•0 comments

GLM-5.2's Code Reviews Are Only as Good as Your Prompt

https://blog.kilo.ai/p/glm-52s-code-reviews-are-only-as
1•justiceforsaas•17m ago•0 comments

Why averaging LLM benchmark scores is fundamentally broken

https://arxiv.org/abs/2605.11205
1•testofschool•18m ago•0 comments

Perseverance Finds Complex Organic Matter on Mars

https://www.sci.news/space/perseverance-complex-organic-matter-mars-14882.html
1•wasting_time•19m ago•0 comments

Ditching Claude for OpenCode and OpenRouter

https://www.ianwootten.co.uk/2026/07/01/ditching-claude-for-opencode-and-openrouter/
3•jandeboevrie•19m ago•0 comments

Show HN: Bol.ai – Extract structured data from Bills of Lading

https://bol.ai/
1•dutchcode•20m ago•0 comments

Show HN: Pokayoke – turn repo conventions into deterministic checks for agents

https://pokayoke.codes
1•sarreph•22m ago•0 comments

How can we make Twitter friendlier

3•RoastSlop•31m ago•1 comments

Dynamo Draughts. 10x10 game for DOS, open source

https://orac81.itch.io/dynamo-draughts
2•orac81•31m ago•0 comments

Show HN: Petabyte-scale storage for AI agent sandboxes

https://twitter.com/aniketmaurya/status/2072249879573754225
3•theaniketmaurya•34m ago•1 comments

Solar Panels: AC vs. DC (2008)

https://rimstar.org/renewnrg/solarpwr.htm
1•tetris11•35m ago•0 comments

Google Gemini Claims to be "structurally protective" of Donald Trump

https://www.thatprivacyguy.com/blog/google-ai-guardrails-protect-trump/
3•AlexanderHanff•36m ago•1 comments

Single Dose of Frog-Derived Gut Bacterium Eradicates 100% of Tumors in Mice

https://www.thefocalpoints.com/p/new-study-frog-derived-gut-bacterium
3•mpweiher•37m ago•0 comments

Vast Majority support clampdown on social media to protect children

https://www.ippr.org/media-office/vast-majority-support-clampdown-on-social-media-to-protect-chil...
1•vrganj•42m ago•0 comments

I'm Building an App to make $10k/month and I'm Recording the whole thing

https://twitter.com/jomatech/status/2071774976173355221
1•rzk•44m ago•0 comments

Show HN: Fail2ban-Dashboard

https://github.com/webishdev/fail2ban-dashboard
2•musicmatze•45m ago•0 comments

The evolution of window and class extra bytes in Windows

https://devblogs.microsoft.com/oldnewthing/20260629-00/?p=112484
1•Stratoscope•46m ago•0 comments

Building AI for Production Requires More Engineering Than AI

https://geekyants.com/blog/the-hidden-cost-of-delaying-ai-product-modernization-in-enterprise-bus...
2•Max536752•46m ago•0 comments

Bloomberg: Spain Built Too Much Solar. Investors Want Out

https://www.bloomberg.com/news/articles/2026-06-29/spain-s-solar-and-wind-power-boom-is-an-invest...
3•vblanco•48m ago•2 comments

Scientists say most people need more protein than current guidelines suggest

https://www.sciencedaily.com/releases/2026/06/260622091429.htm
2•bushwart•50m ago•2 comments

What If a City Ran on UTC for Two Weeks?

https://zulu.sekor.eu.org/
1•modinfo•53m ago•0 comments

Getty Images Plans to End Shutterstock Deal After U.K. Imposes Conditions

https://www.wsj.com/business/getty-images-plans-to-end-shutterstock-deal-after-u-k-imposes-condit...
1•thm•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/