frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Cloudflare CEO Is Lying to You About the Bot Traffic Jump

https://www.flyingpenguin.com/cloudflare-ceo-is-lying-to-you-about-the-bot-traffic-jump/
1•speckx•10s ago•0 comments

Ask HN: How can we make an Open Source version of SpaceX?

1•colesantiago•37s ago•0 comments

Republicans Claim Anti-Data Center Movement Is a Chinese Psy-Op

https://gizmodo.com/republicans-claim-anti-data-center-movement-is-a-chinese-psy-op-2000767611
1•thisislife2•1m ago•0 comments

I built an open-source alternative to dynamic workflows: OpenFlow CLI

https://github.com/travisliu/openflow
1•travisliu•4m ago•1 comments

It's a Kind of Magic: Magic Numbers and the Arithmetic of Quantum Computation

https://www.blogosvet.cz/clanek/its-a-kind-of-magic-magic-numbers-and-the-arithmetic-of-quantum-c...
1•amthorn•4m ago•0 comments

Buffy the Vampire Slayer, Ted Lasso, and Little Britain Actor Anthony Head Dies

https://news.sky.com/story/buffy-the-vampire-slayer-and-ted-lasso-actor-dies-13545934
2•austinallegro•5m ago•0 comments

A PlayStation One (PS1) Emulator Written in Jam

https://github.com/raphamorim/jamstation
2•bobburniquist•9m ago•0 comments

Energy Markets Limit the Hormuz Shock

https://www.wsj.com/opinion/energy-markets-limit-the-hormuz-shock-fb793c18
1•paulpauper•10m ago•0 comments

Which AI agents send Accept: text/Markdown?

https://acceptmarkdown.com/status
2•rickette•11m ago•0 comments

The Social Science Research Network Has Jumped the Shark

https://www.stephenbainbridge.com/p/the-social-science-research-network
1•paulpauper•11m ago•0 comments

The British Used to Sound Like We Did

https://www.nytimes.com/2026/06/04/opinion/british-american-english-language.html
1•marojejian•12m ago•1 comments

How much value is AI creating?

https://www.ft.com/content/8e9ae7a4-7209-4e2c-aa36-f3af77d6ce1f
1•paulpauper•12m ago•0 comments

Advanced micro reactor achieves criticality in only two years

https://www.powermag.com/antares-mark-0-becomes-first-advanced-nuclear-reactor-to-achieve-critica...
3•enricotal•12m ago•0 comments

Migrating from Firestore to PostgreSQL

https://medium.com/@ValentinMouret/functionally-migrating-from-firestore-to-postgresql-64947b5dff0d
2•tosh•13m ago•0 comments

Tiny hackable CUDA language model implementation

https://github.com/markusheimerl/gpt
1•markusheimerl•14m ago•0 comments

Musician BERNTH's 1.5M-sub YouTube channel demonetized over missed physical mail [video]

https://www.youtube.com/watch?v=uXwGHSPfBp4
1•TrackerFF•15m ago•1 comments

Neocities Down

https://status.neocitiesops.net/
1•e12e•16m ago•0 comments

Multimember Districts? Ranked Choice? This Is How to Fix Our Elections

https://www.nytimes.com/2026/06/04/opinion/voting-gerrymandering-election.html
2•marojejian•16m ago•1 comments

Postgres Serials Should Be BIGINT

https://www.crunchydata.com/blog/postgres-serials-should-be-bigint-and-how-to-migrate
1•tosh•20m ago•0 comments

The 1N4148: The Signal Diode That Ended Up Everywhere

https://www.allaboutcircuits.com/news/the-1n4148-the-signal-diode-that-ended-up-everywhere/
1•tomclancy•21m ago•0 comments

Show HN: MimicScribe – transcriber with ~97% accurate on-device speaker IDing

https://mimicscribe.app/
2•marshalla•22m ago•0 comments

Software security in 2026 – Practical tips for the mildly paranoid

https://www.dedoimedo.com/computers/internet-security-2026.html
2•speckx•28m ago•0 comments

Sakana AI's Recursive Self-Improvement (RSI) Lab

https://sakana.ai/rsi-lab/
2•hardmaru•28m ago•0 comments

Runcap, I built a local cost cap for coding agents

https://github.com/kirder24-code/ai-agent-manager
1•kirillAIsolo•29m ago•1 comments

Firebase SQL Connect

https://firebase.google.com/docs/sql-connect
1•tosh•29m ago•0 comments

Agents Need a Public Square

https://substack.com/@srulyrosenblat/p-200664261
1•srulyrosenblat•31m ago•1 comments

Waymo's Growing Pains – KQED Forum (Live)

https://www.kqed.org/forum/2010101914030/waymos-growing-pains
1•aanet•36m ago•1 comments

The token bill comes due

https://techcrunch.com/2026/06/05/the-token-bill-comes-due-inside-the-industry-scramble-to-manage...
1•amichae2•36m ago•0 comments

Show HN: Micron: a high performance C++23 (re)implementation of Libc and the STL

https://github.com/rfgplk/micron.cpp
2•rfgplk•41m ago•0 comments

Heat Therapy: Targeting Health, Disease, and Disability

https://onlinelibrary.wiley.com/doi/10.1002/cph4.70089
1•PaulHoule•41m 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/