frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Gemini 3.8 Flash in Google Antigravity – Google Antigravity Blog

https://antigravity.google/blog/gemini-3-8-flash-in-google-antigravity
1•humphrey_liu•1m ago•0 comments

Claude Code skill: no emdashes

https://github.com/woutersf/claude-skill-no-emdashes
1•woutersf•3m ago•0 comments

Upload died on Mac air M5. Apple networking needs reboot

https://frederikwouters.be/blog/have-you-tried-turning-it-off-and-on-again
1•woutersf•4m ago•0 comments

CTTI is Exponential, RTTI is Linear

https://www.gingerbill.org/article/2026/09/02/ctti-is-exponential-rtti-is-linear/
1•thunderbong•5m ago•0 comments

Can AI Create PLC Attacks? Yes, but It's Not That Easy Yet

https://www.forescout.com/blog/can-ai-create-plc-attacks-yes-but-it%E2%80%99s-not-that-easy-yet/
1•Sentralis•7m ago•0 comments

The First Polynomial-Time Algorithm for the Győri-Lovász Theorem

https://arxiv.org/abs/2608.30945
1•pykello•8m ago•0 comments

RSA Factoring Challenge

https://en.wikipedia.org/wiki/RSA_Factoring_Challenge
1•nomilk•11m ago•0 comments

Which AI Fetchers Send Which Headers, Measured on a Live Site

https://gkoreli.com/which-ai-fetchers-send-which-headers
1•gogakoreli•11m ago•1 comments

An ongoing 3D-printer AGPL violation

https://lwn.net/Articles/1089390/
1•pykello•13m ago•0 comments

Creating Emacs Color Themes, Revisited

https://emacsredux.com/blog/2026/03/30/creating-emacs-color-themes/
1•signa11•13m ago•0 comments

Infrastructure quartermaster: inside a China-nexus state enablement model

https://www.lumen.com/blog/en-us/the-infrastructure-quartermaster-inside-a-china-nexus-state-enab...
1•Bluestein•17m ago•0 comments

Analysis: China's CO2 emissions fall in Q2 2026 due to plummeting oil use

https://www.carbonbrief.org/analysis-chinas-co2-emissions-fall-in-q2-2026-due-to-plummeting-oil-use
2•xbmcuser•18m ago•1 comments

Is This the Future of America?

https://www.theverge.com/cs/features/975597/loudoun-county-virginia-data-center-backlash
2•JSR_FDED•21m ago•1 comments

Ask HN: Advice on Migrating from 1Password?

4•0xbadcafebee•24m ago•2 comments

Musicians' brains stay one step ahead, study finds

https://www.ecu.edu.au/newsroom/articles/research/musicians-brains-stay-one-step-ahead-study-finds
1•XzetaU8•25m ago•0 comments

The multi-agent architecture of 2026 was designed in 1975

https://mozaik.jigjoy.ai/blog/the-interoperability-triangle
2•deepmem•26m ago•0 comments

Postgres 19 makes more of its internals observable

https://clickhouse.com/blog/postgres-19-new-system-views
1•saisrirampur•26m ago•0 comments

Cruz Enters the 2028 Conversation as Republican Succession Race Takes Shape

https://predx-article.fika.bar/cruz-enters-the-2028-conversation-as-republican-succession-r-01M1J...
1•joeymabia1•28m ago•1 comments

Uber to lay off 10% of staff in biggest cuts since Covid

https://www.reuters.com/business/world-at-work/uber-cut-3300-jobs-overhaul-bloomberg-news-reports...
1•artpar•29m ago•0 comments

Controlling CERN's Accelerators with Debian – MiniDebConf Winterthur 2026

https://ch2026.mini.debconf.org/talks/6-controlling-cerns-accelerators-with-debian/
1•rdmuser•35m ago•0 comments

What's going on with this platform? Why are links on Zenodo being flagged?

1•UJ-FLD-ScrTr•42m ago•0 comments

Misam Atshbar

1•omidggmh•42m ago•0 comments

Ex-Tension Alert

1•jackie_001•45m ago•0 comments

Years of Salt and Metal – The crash of Hop-a-Jet flight 823

https://admiralcloudberg.medium.com/years-of-salt-and-metal-the-crash-of-hop-a-jet-flight-823-665...
2•Lx1oG-AWb6h_ZG0•47m ago•0 comments

RSA-260 Factorized

https://twitter.com/penlume/status/2095372672356212876
4•samyok•51m ago•1 comments

My California Dream

https://twitter.com/garryslist/status/2094914114678034899
1•shinryudbz•51m ago•0 comments

Momentum Exchange Tether

https://en.wikipedia.org/wiki/Momentum_exchange_tether
1•tosh•51m ago•0 comments

New video model:H3 Max.Describe the shot. Get it back with sound, in seconds

https://h3max.pro/
2•horanv•56m ago•0 comments

China using COSCO's merchant fleet for espionage, US says

https://www.bairdmaritime.com/security/non-naval-security/china-using-coscos-merchant-fleet-for-e...
3•pir8life4me•56m ago•0 comments

Rare Working Apple-1 Could Fetch $800k at Auction

https://www.macrumors.com/2026/09/02/hatfield-apple-1-auction/
3•tosh•1h ago•1 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/