frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Apple's Always-Listening Tech: A Privacy Nightmare Waiting to Happen

https://this.weekinsecurity.com/watch-what-you-say-apple-opens-the-door-to-a-nightmare-world-of-a...
1•signa11•1m ago•0 comments

Why big tech will hate the Australian tax office's latest ruling

https://theconversation.com/why-big-tech-will-hate-the-australian-tax-offices-latest-ruling-291571
3•billybuckwheat•2m ago•0 comments

Michaelsoft Binbows

https://binbows.net/
1•austinallegro•9m ago•0 comments

Closure Compiler: A JavaScript checker and optimizer

https://github.com/google/closure-compiler
1•csmantle•10m ago•0 comments

Anecdotally, Programmers Dislike "Reduce"

https://evanhahn.com/posts/2026-09-13-programmers-dislike-reduce/
2•vinhnx•13m ago•0 comments

BYD has apparently canceled this year's profit bonus

https://www.kucoin.com/news/insight/BYD/6aa543e9ccf4ec00077d0eb2
1•gainsurier•13m ago•0 comments

TimIQ – Smart Tech, AI and Software Insights

https://timiq.blogspot.com/
1•Timmphil•13m ago•0 comments

PlotLines

https://peter-guillam123.github.io/plotlines/
1•austinallegro•13m ago•0 comments

Satellite images show extent of damage to major Saudi pipeline

https://www.theguardian.com/world/2026/sep/14/saudi-pipeline-drone-attack-houthis-global-oil-supp...
1•ljf•17m ago•0 comments

Mr

1•giddyboy•19m ago•0 comments

The Void Spiral: How to Avoid the Void

https://mathstodon.xyz/@isaacg/117264263631423022
1•rapnie•20m ago•0 comments

Show HN: TrackLLM: Are the LLM APIs you rely on stable?

https://www.trackllm.net/
1•timotheechauvin•21m ago•1 comments

Why Does SpaceX Have 11,000 Starlink Satellites? [video]

https://www.youtube.com/watch?v=DW-aL_MiUz4
1•marklit•21m ago•0 comments

Why I Still Read Code

https://alex.draftist.io/blog/why-i-still-read-code-iiaz6lku8
1•saikatsg•22m ago•0 comments

Just stop the Anthropic IPO already

https://www.thebignewsletter.com/p/monopoly-round-up-just-stop-the-anthropic
2•chmaynard•22m ago•0 comments

'Tidal wave' of PFAS being launched to satisfy AI industry

https://www.theguardian.com/environment/2026/sep/14/pfas-firms-tidal-wave-forever-chemicals-ai-in...
2•defrost•24m ago•0 comments

The bottleneck in multi-agent coding is the human, not the agents

https://tskulbru.dev/posts/beads-local-shadow-for-agent-work/
1•tskulbru•25m ago•0 comments

Of Gods and Languages: On "When God Spoke Greek" (2013)

https://lareviewofbooks.org/article/of-gods-and-languages-on-when-god-spoke-greek/
7•bryanrasmussen•25m ago•1 comments

Eliza: The AI That Fooled the World

https://liacademy.co.uk/the-story-of-eliza-the-ai-that-fooled-the-world/
1•andsoitis•26m ago•0 comments

What is it like to be a Thermostat?

https://consc.net/notes/lloyd-comments.html
2•andsoitis•28m ago•0 comments

Anthropic tells investors it will be profitable for second straight quarter

https://www.ft.com/content/4564e6a5-69e9-40a6-bf0f-a888f2f4f002
2•theahura•34m ago•0 comments

Sunsetting Remove.bg

https://www.remove.bg/faq
1•sh_tomer•35m ago•0 comments

Tork: A lightweight, distributed workflow engine

https://github.com/runabol/tork
2•saikatsg•35m ago•0 comments

One UI 9 Beta 2 update is rolling out to the Galaxy S24

https://www.sammobile.com/news/galaxy-s24-one-ui-9-beta-2-update-released/
1•kuuuzya•36m ago•0 comments

The Matrix as Metaphysics

https://consc.net/papers/matrix.html
1•andsoitis•37m ago•1 comments

Build to Delete: When a model release makes your work redundant

https://softwareguru.substack.com/p/build-to-delete
1•ssamptur•39m ago•0 comments

Show HN: Meta neural band PoC connected to Mac without needing the glasses

https://github.com/callbacked/neural-band-poc/
1•callbacked•39m ago•0 comments

Ambition Is Frozen Desire

https://pmillerd.com/david-whyte-ambition/
1•bwest87•40m ago•1 comments

Show HN: Chrome Extension to Save, Organize and Switch Bookmarks

https://chromewebstore.google.com/detail/leotabs-—-tab-manager-swi/heolckkdeandgagkiefggcneodni...
1•ringlochid•40m ago•0 comments

Ask HN: Why AI is giving biased Racist/Misandrist answers?

1•skwasimin•41m 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/