frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Category Theory for Tiny ML in Rust

https://hghalebi.github.io/category_theory_transformer_rs/
1•pajop•2m ago•0 comments

Show HN: The Cat Is Under Mayonnaise – Modifying LLM Behavior Without Retraining

https://github.com/andycufari/the-cat-is-under-mayonnaise-experiment
1•andycufari•3m ago•0 comments

Sex matters: European urban birds flee approaching women sooner than men

https://wiley.scienceconnect.io/error?msg=ewogICJpZCIgOiAiYzhmN2JlYjItYTllOC00OWQ0LTkyNTgtM2ZmNWY...
1•w4lker•3m ago•0 comments

The AI Governance Gap

1•Qoris_AI2026•4m ago•1 comments

Show HN: Safety layer between AI agents and databases

https://github.com/fazhq/faz
1•burhanultayyab•4m ago•0 comments

A.I.-Themed High School Is Put on Hold After Parental Backlash

https://www.nytimes.com/2026/04/27/nyregion/nyc-ai-high-school-halted.html
2•bookofjoe•5m ago•1 comments

Rural America is resisting the surge in data center construction

https://arstechnica.com/ai/2026/04/rural-america-is-resisting-the-surge-in-data-center-construction/
2•speckx•5m ago•0 comments

Trump administration cites national security in stalling 165 wind farms

https://arstechnica.com/science/2026/05/trump-administration-cites-national-security-in-stalling-...
2•ndr42•5m ago•0 comments

From RSS to Atom

https://susam.net/from-rss-to-atom.html
1•susam•6m ago•0 comments

Audion – Music Sequencing Language

https://github.com/audion-lang/audion
1•skor•6m ago•0 comments

The Cartoon That Shut Down Boston

https://nowiknow.com/the-cartoon-that-shut-down-boston/
2•cainxinth•8m ago•0 comments

EuroClojure 2027 in Prague

https://2027.euroclojure.org/
2•kaliszad•9m ago•0 comments

Meta Solved Problem with Kenyan Contractors Seeing Footage of AI Glasses Wearers

https://daringfireball.net/linked/2026/05/01/meta-solved-their-problem
3•mooreds•9m ago•0 comments

OpenClaw Got Safer in Public

https://openclaw.ai/blog/openclaw-security-in-public
2•zvikomborero•10m ago•0 comments

ChatGippety: Enterprise-Grade Conversational Compliance

https://chatgippety.com/
2•mooreds•10m ago•0 comments

Denmark faces data center reckoning as power grid overwhelmed

https://www.cnbc.com/2026/05/04/denmark-data-centers-moratorium-grid-pause-power-demand.html
3•tcp_handshaker•13m ago•0 comments

Flight data bolsters claim China Eastern plane was deliberately crashed in 2022

https://www.cnn.com/2026/05/04/china/china-eastern-crash-ntsb-report-intl-hnk
3•tcp_handshaker•13m ago•0 comments

AI Worries Have Returned to Wall Street. Now Come Earnings

https://www.wsj.com/tech/ai-worries-have-returned-to-wall-street-now-come-earnings-d680e19c
4•gmays•13m ago•0 comments

My 2026 goal is to be bored more often

https://cdevroe.com/2025/12/16/2026-goal-boredom/
2•speckx•15m ago•0 comments

PR: Restoring Privacy and Freedom

https://github.com/eu-digital-identity-wallet/av-doc-technical-specification/pull/23
3•monneyboi•17m ago•0 comments

Utah Reduced Chronic Homelessness by 91 Percent (2015)

https://www.npr.org/2015/12/10/459100751/utah-reduced-chronic-homelessness-by-91-percent-heres-how
2•downbad_•18m ago•1 comments

Why this tribe is buying up acres of farmland – and flooding it

https://www.npr.org/2026/05/03/nx-s1-5806062/washington-tribe-restore-wetlands-fish
2•Brajeshwar•20m ago•0 comments

Poverty on the rise as RI families struggle to meet basic living expenses

https://rhodeislandcurrent.com/2026/05/04/federal-data-gaps-aside-poverty-on-the-rise-as-ri-famil...
2•chmaynard•20m ago•0 comments

Easiest way to create agents with local LLMs

https://github.com/iBz-04/quaynor
2•Ibz04•25m ago•0 comments

Back into Plato's Cave

https://akoepke.github.io/cave_umwelten/
2•Murfalo•25m ago•0 comments

Are you conscious? A conversation between Dawkins and ChatGPT

https://richarddawkins.substack.com/p/are-you-conscious-a-conversation
3•mhb•26m ago•0 comments

Show HN: Turn your cat pic into a dancing cat video

https://dancingcats.damjanski.com
4•whatifbelief•27m ago•0 comments

Someone allegedly used a hairdryer to rig Polymarket weather bets

https://www.engadget.com/big-tech/someone-allegedly-used-a-hairdryer-to-rig-polymarket-weather-be...
9•cdrnsf•27m ago•4 comments

You Do Not Understand Browser History (2013)

https://madhatted.com/2013/6/16/you-do-not-understand-browser-history
2•downbad_•28m ago•1 comments

The Surprising Heart of the Data-Center Boom

https://www.city-journal.org/article/loudoun-county-virginia-data-centers-construction
2•eatonphil•31m 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•12mo ago
Is this a problem that people actually have?
xeromal•12mo ago
Fun side project man!
primitivesuave•12mo 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•12mo 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•12mo ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•12mo 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•12mo ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/