frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The US trade gap more than doubled in the last 12 months

https://www.independent.co.uk/news/world/americas/us-politics/trump-economy-loser-trade-tariffs-p...
1•mandeepj•1m ago•0 comments

What Puri reveals about safer urban water systems in India

https://www.weforum.org/stories/food-water-and-clean-air/what-puri-reveals-about-safer-urban-wate...
1•vismit2000•6m ago•0 comments

SoCal has over 80 aftershocks after a 5.0 earthquake earlier today

https://l.facebook.com/l.php?u=https%3A%2F%2Fabc7.la%2FwEBPYM%3Ffbclid%3DIwZXh0bgNhZW0CMTAAcGRvZg...
1•illidan1000•8m ago•1 comments

Unconventional resistivity reduction in NbP semimetal nanoribbons

https://www.nature.com/articles/s41586-026-11288-8
1•droidjj•9m ago•0 comments

Mean: A Brainfuck equivalent for Lean proofs

https://github.com/0hq/mean
1•fredrickd•12m ago•1 comments

Speculative Encoding: Many-to-Many Cache Translation

https://twitter.com/RampLabs/status/2125625946229064118
1•gmays•13m ago•0 comments

I Built a Library for Car Parts Nobody Makes Anymore [video]

https://www.youtube.com/watch?v=2RGvYjgwxGs
2•walterbell•14m ago•0 comments

Programming Languages Are for Humans

https://fzakaria.com/2026/11/27/programming-languages-are-for-humans
2•Brajeshwar•26m ago•1 comments

Keeps – Your Internet, Curated

https://apps.apple.com/in/app/keeps-your-internet-curated/id6759448141
1•niteshk770•27m ago•1 comments

The Front Page · Nov 27, 2026

https://hndocs.org/t/the-front-page-nov-27-2026/
1•lusob•28m ago•0 comments

Claude Sandbagged my Local Inference Kernels – An engineering breakdown

https://twitter.com/WinterCharmVT/status/2126820958627664204
2•wintercharm•29m ago•1 comments

Show HN: WebBrain – Open-source browser agent for local LLMs (Ollama, llama.cpp)

https://github.com/webbrain-one/webbrain
7•webbrain-one•37m ago•3 comments

AI enthusiast deletes Linux for a 24KB OS that boots in 74 ms

https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-enthusiast-deletes-linux-to...
4•qtqtqt•40m ago•0 comments

Memory Tagging Extension (MTE) Exploit Mitigation for Mastodon

https://yawn.net/blog/mte-for-mastodon/
3•hasheddan•41m ago•0 comments

Reading unreadable tapes: A universal reader for mini QIC cartridges

https://dmitrybrant.com/2026/11/28/mini-qic-universal-reader
2•zdw•43m ago•0 comments

Proving a Fixed Upper Bound on Jensen's Affairs (J. Cincinnati, 2026) [pdf]

https://media.bitbanter.com/pdf/2026-11-25-proving-a-fixed-upper-bound-on-jensens-affairs.pdf
3•verandaguy•44m ago•0 comments

Cumulative Measurement Error

https://aphyr.com/posts/431-cumulative-measurement-error
2•zdw•45m ago•0 comments

Fire Detection: Heat, RGB, and a Viral BBQ Sign

https://zlu.me/2026/11/29/fire-detection-heat-rgb-viral-bbq-sign.html
2•zlu•56m ago•0 comments

Agents silently work around broken MCP tools – they should report it

https://sajboch.cz/en/blog/mcp-send-feedback-tool
2•xsajto•59m ago•0 comments

The Black Friday VPN said 69% off. It cost $28 more than in September

https://medium.com/@steve-price/the-black-friday-vpn-said-69-off-it-cost-28-more-than-in-septembe...
4•keltiek•1h ago•0 comments

America's troops must prepare now for warfare on moon, top general says

https://www.stripes.com/branches/space_force/2026-09-17/moon-warfare-dan-caine-22877328.html
4•extasetoi12•1h ago•3 comments

Attention Kmart shoppers – music played over the store PA

https://www.attentionshoppers.net/
17•ChrisArchitect•1h ago•3 comments

Openpixel

https://github.com/JustNightt/OpenPixel
2•justnight•1h ago•0 comments

Paid (free drop) Larp Of Exodus Wallet (free drop)

https://github.com/ExodusLarper/ExodusLarp
2•ExodusLarper•1h ago•0 comments

Drift: A browser extension that shows how far you drifted from your intent

https://joindrift.surge.sh/
1•middle_coach_kb•1h ago•0 comments

Db-mutex – A distributed mutex using just a Postgres/MySQL table

https://github.com/rishi-rana/db-mutex
1•rishi-rana•1h ago•0 comments

Show HN: Lean for Engineering

https://www.physicsbase.ai/
3•whitetiger01•1h ago•0 comments

All of Neatnik. One price. One time

https://app.neatnik.net/antisub
1•linsomniac•1h ago•0 comments

Trump's crypto company scrambles to save a loan backed by its own token

https://www.citationneeded.news/world-liberty-dolomite-loan/
5•toomuchtodo•1h ago•2 comments

NERC's Data Center Power Rules Tackle Power Swings

https://spectrum.ieee.org/nercs-data-center-power-rules
2•gmays•1h 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/