frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Just Eat and Autotrader among firms investigated in fake reviews probe

https://www.bbc.com/news/articles/cj37eeyz0epo
1•Brajeshwar•11s ago•0 comments

Show HN: GLM-5.1 Is Available

https://twitter.com/Zai_org/status/2037490078126084514
1•iamsyr•11s ago•0 comments

Simdxml: Structural Indexing for XML

https://cigrainger.com/blog/simdxml/
1•cigrainger•13s ago•0 comments

Another 'Vibe-Coded' Platform Ready to Be Hacked – This Time for IoT

https://www.hookpool.com/
1•francescobianco•2m ago•0 comments

Customised Laser Beam Patterns

https://www.tu-darmstadt.de/universitaet/aktuelles_meldungen/einzelansicht_553024.en.jsp
1•FinnKuhn•2m ago•0 comments

The Case for Precommit Hooks

https://thoughtfractal.pages.dev/the-case-for-precommit-hooks/
1•love2read•2m ago•0 comments

Show HN: Grafana TUI – Browse Grafana dashboards in the terminal

https://github.com/lovromazgon/grafana-tui
1•lmazgon•3m ago•0 comments

Codec – A local-first, open-source AI bridge to your Mac

https://github.com/AVADSA25/codec
1•Mikarina•7m ago•0 comments

Repsy – A lightweight, open-source alternative to Nexus/Artifactory

1•nuricanozturk•9m ago•0 comments

Is 50% discount for launch a good idea?

1•eddiejaoude•10m ago•0 comments

Switching from Spotify to Apple Music: Notes on a Surprisingly Bad Desktop UX

https://twitter.com/nicbarkeragain/status/2037328601683841509
1•dsego•11m ago•0 comments

Jury finds Meta, YouTube liable for social media addiction: What we know

https://www.aljazeera.com/news/2026/3/26/jury-finds-meta-youtube-liable-for-social-media-addictio...
3•dalvrosa•12m ago•0 comments

AI Optimizer – OpenAI API Caching Proxy (20-40% Cost Savings)

https://github.com/adamday75/ai-optimizer-app/releases/tag/v2.0.0
1•adamday75•16m ago•0 comments

Borne by Pilotwings

https://objkt.com/collections/KT1QLxw1JiAB2ZNWQu5vsqNoc5eqfyg9DX9q
1•bpierre•18m ago•0 comments

Anthropic tweaks timed usage limits to discourage demand during peak hours

https://www.theregister.com/2026/03/26/anthropic_tweaks_usage_limits/
2•pseudolus•21m ago•0 comments

I Can't See Apple's Vision

https://matduggan.com/i-cant-see-apples-vision/
2•carlesfe•22m ago•0 comments

Quantum experiment shows events may have no fixed order

https://phys.org/news/2026-03-quantum-events.html
2•pseudolus•23m ago•0 comments

The Listener

https://www.brainbun.com/blog/the-listener/
1•brainbun•24m ago•0 comments

CIS AWS v3.0: Automate Compliance with Terraform

https://haitmg.pl/blog/cis-aws-benchmark-automation/
1•gebalamariusz•25m ago•0 comments

the html review 05

https://thehtml.review/05/
1•keepamovin•27m ago•0 comments

More Students Use AI for Homework, and More Believe It Harms Critical Thinking

https://www.rand.org/pubs/research_reports/RRA4742-1.html
1•the-mitr•28m ago•0 comments

CSV to Transformer, via Bayesian Networks

https://github.com/area9innovation/bp2transformer
2•asgeralstrup•33m ago•1 comments

Interview with John Earnest

https://alexalejandre.com/programming/interview-with-john-earnest/
1•tosh•33m ago•0 comments

An Open-World Engine for the N64

https://www.youtube.com/watch?v=lXxmIw9axWw
1•QuantumNomad_•34m ago•0 comments

The illusion of illusions: There are no optical corrections in the Parthenon

https://arxiv.org/abs/2510.16831
2•geox•36m ago•1 comments

Ralphex: Write a Plan. Walk Away

https://ralphex.com/
1•souvlakee•38m ago•0 comments

Chicago Kare by Duane King

https://chicagokare.xyz/
1•keepamovin•38m ago•0 comments

microui: A tiny immediate-mode UI library

https://github.com/rxi/microui
2•tosh•40m ago•0 comments

Trump Administration Plans to Require Higher Wages for H-1B Visa Holders

https://www.wsj.com/politics/policy/trump-administration-plans-to-require-higher-wages-for-h-1b-v...
2•cebert•40m ago•0 comments

How I vibe-code 10 web services from anywhere

https://www.blynt.com/blog/vibe-coding-from-everywhere/
2•blynt•40m ago•0 comments
Open in hackernews

Automatically add missing "async/await" keywords to your TypeScript code

https://github.com/stanNthe5/typescript-autoawait
7•theThree•10mo ago

Comments

bastawhiz•10mo ago
Is this a problem that people actually have?
xeromal•10mo ago
Fun side project man!
primitivesuave•10mo 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•10mo 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•10mo ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•10mo 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•10mo ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/