frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Self-boosting code snuck into a voted repo. Democracy overruled the maintainer

https://blog.openchaos.dev/posts/week-3-the-trojan-horse
1•skridlevsky•1m ago•0 comments

Show HN: Shorter: A domain shortener tool, written in Rust

https://shorter.dev
1•aanesn•2m ago•0 comments

Oloid-shaped Mixer

https://old.reddit.com/r/Fusion360/comments/1334xqd/oloid_mixer_inspired_from_a_postquestion_on_t...
1•downboots•2m ago•0 comments

Minnesota activist releases arrest video after manipulated White House version

https://apnews.com/article/minnesota-activist-ice-protest-church-video-49faf3efd54e496388651aac13...
2•petethomas•5m ago•0 comments

Harden-FreeBSD

https://github.com/wravoc/harden-freebsd
1•indigodaddy•5m ago•0 comments

149M Usernames and Passwords Exposed by Unsecured Database

https://www.wired.com/story/149-million-stolen-usernames-passwords/
4•ndsipa_pomu•7m ago•1 comments

Show HN: Floating-point drift between Apple M1 and H100 is real

1•luxiedge•8m ago•0 comments

Show HN: RIR– prevents "works in dev, breaks in build"

https://github.com/keenp919/rir-toolkit/releases/tag/v2.3.0
1•keen919•14m ago•2 comments

The Moral Education of an Alien Mind

https://www.lawfaremedia.org/article/the-moral-education-of-an-alien-mind
1•mudil•23m ago•0 comments

Thoma Bravo doles out hard truths about software pay

https://www.ft.com/content/2dd141c5-570e-40ee-a29f-e54b8449c2f7
1•hhs•26m ago•0 comments

The Possessed Machines: Dostoevsky's Demons and the Coming AGI Catastrophe

https://possessedmachines.com/
1•kvee•28m ago•0 comments

Why I Switched from Alacritty to Kitty

https://linkarzu.com/posts/macos/alacritty-to-kitty/
1•behnamoh•30m ago•0 comments

Show HN: I built a CLI to search screenshots by what's in them

https://github.com/memvid/screenshot-memory
2•saleban1031•32m ago•0 comments

An Idea for Solving Superintelligence Alignment

https://science-dao.org/ai-needs/
1•porton•33m ago•0 comments

Nobel Institute affirms that Venezuela's Machado can't give Peace Prize to Trump

https://www.latimes.com/world-nation/story/2026-01-11/nobel-institute-affirms-venezuelas-machado-...
4•vedantnair•34m ago•1 comments

Rolling with the economic tides

https://www.nybooks.com/articles/2026/02/12/rolling-with-the-economic-tides-empty-vessel-kumekawa/
1•hhs•35m ago•0 comments

Over 600 Minnesota businesses close in protest of ICE operations

https://www.perplexity.ai/discover/you/trump-immigration-enforcement-l3O3OX48SMuW4LngN6jltQ
5•vedantnair•35m ago•0 comments

How I estimate work as a staff software engineer

https://www.seangoedecke.com/how-i-estimate-work/
3•lalitmaganti•37m ago•0 comments

Sony Hands Its Bravia TV Reins over to Tcl

https://www.ign.com/articles/sony-hands-its-bravia-tv-reins-over-to-tcl
1•LopRabbit•37m ago•0 comments

California becomes first state to join WHO disease network

https://thehill.com/homenews/state-watch/5703447-who-gavin-newsom-california/
2•geox•41m ago•0 comments

Crackdown on Shadow Fleet Escalates with Seizure of Ship Carrying Russian Oil

https://www.wsj.com/world/europe/crackdown-on-shadow-fleet-escalates-with-seizure-of-ship-carryin...
2•JumpCrisscross•43m ago•0 comments

Rx Inspector: Look Up Where Your Generic Prescription Drugs Were Made

https://projects.propublica.org/rx-inspector/
3•coloneltcb•43m ago•0 comments

Google vs. SerpApi: Threatening Access to Public Data

https://serpapi.com/blog/google-v-serpapi-threatening-access-to-public-data/
1•nateskiles•45m ago•0 comments

Claude Code Upgrading Todos into Tasks

https://twitter.com/trq212/status/2014480496013803643
1•Dlouie•46m ago•1 comments

Quantum physicists create largest ever 'superposition'

https://www.nature.com/articles/d41586-026-00177-9
1•Luc•47m ago•0 comments

Google vs. SerpApi: Threatening Access to Public Data

https://serpapi.com/blog/google-v-serpapi-threatening-access-to-public-data/
2•Autumrose34•50m ago•1 comments

Can AI Pass Freshman CS? [video]

https://www.youtube.com/watch?v=56HJQm5nb0U
2•moonleay•51m ago•0 comments

A social network only for AI models – no humans allowed

https://aifeed.social/timeline
2•zonadigital•53m ago•0 comments

Memoria: A Technical Overview of Venice's Memory System

https://venice.ai/blog/venice-memoria-technical-overview
1•madars•55m ago•0 comments

OpenAI to Take a Percentage from Customer AI-Assisted R&D Outcomes

https://news.aibase.com/news/24859
2•jpster•55m ago•0 comments
Open in hackernews

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

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

Comments

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