frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Sitting for more than 30 minutes increases the risk of dying from cancer

https://journals.plos.org/plosmedicine/article?id=10.1371%2Fjournal.pmed.1004767
2•BiosIT•5m ago•0 comments

Simple White Line Is America's Greatest Unsung Innovation

https://www.wsj.com/business/white-line-road-invention-america-250-8ce6bb89
1•erex78•7m ago•1 comments

When the ability to smell goes away

https://arstechnica.com/science/2026/07/when-the-ability-to-smell-goes-away/
1•Brajeshwar•8m ago•0 comments

Static Types Come to the Beam – Annette Bieniusa and Guillaume Duboc [video]

https://www.youtube.com/watch?v=X_CPDt3PeDE
1•markoutso•9m ago•0 comments

Positioning Without Satellites or Base Stations

https://hackaday.com/2026/07/01/positioning-without-satellites-or-base-stations/
1•DarkContinent•9m ago•0 comments

Do Wavy Walls Use Fewer Bricks? I Tested It in Blender

https://blog.tymscar.com/posts/crinklecranklewalls/
1•tymscar•13m ago•0 comments

It's time to go back to the founding text

https://www.theguardian.com/us-news/ng-interactive/2026/jul/04/250-years-declaration-of-independence
1•classified•15m ago•0 comments

Show HN: Home Page as a Chatbot

https://github.com/haltakov/chatbot-page
1•vladoh•15m ago•0 comments

Show HN: World Release Notes – Every country as a software project

https://worldreleasenotes.com/
1•7rin0•18m ago•0 comments

New York City Real-Time Subway Status Visualization

https://subway.joonas.wtf/
1•bookofjoe•21m ago•0 comments

Show HN: GREF – Interactive search and replace for terminal and Vim

https://github.com/albertize/gref
1•albertize•23m ago•0 comments

Where's the holistic AI productivity data?

https://rachelandrew.co.uk/archives/2026/06/11/wheres-the-holistic-ai-productivity-data/
1•tobr•25m ago•0 comments

Sylix, an free alternative of Cursor & Copilot

https://sylixide.com/
1•Sai-09•27m ago•0 comments

Show HN: I built a personalized AI newsletter you configure by replying to it

https://briefednewsletter.com/
1•tozcoded•30m ago•0 comments

Is Israel's 'buffer zone' inside Lebanon an attempt to grab gas reserves?

https://www.aljazeera.com/features/2026/6/12/is-israels-buffer-zone-inside-lebanon-an-attempt-to-...
2•hebelehubele•34m ago•0 comments

Show HN: Thèque, a private visual library for the things you save

https://theque.app
2•ecuzmici•35m ago•0 comments

An Analyst's Missed Remark Surfaced in Deadly Iran School Strike Probe

https://www.bloomberg.com/news/features/2026-06-26/an-analyst-s-missed-remark-surfaced-in-deadly-...
1•r721•35m ago•1 comments

Windows CE Dreamcast Community Edition (wince-dc)

https://github.com/maximqaxd/wince-dc
3•msephton•36m ago•0 comments

Towards a formal theory of computer insecurity: a language-theoretic approach [video]

https://www.youtube.com/watch?v=AqZNebWoqnc
1•binyu•38m ago•0 comments

Why AI Gurus Are Building Toys While the World Needs Architects

https://medium.com/@alanscottencinas/the-scale-wall-why-ai-gurus-are-building-toys-while-the-worl...
2•encinas88•38m ago•1 comments

1666 Great Fire of London

https://en.wikipedia.org/wiki/Great_Fire_of_London
2•simonebrunozzi•38m ago•0 comments

Introduction to Conditional Flow Matching – Part I, Normalizing Flows

https://huet.ing/posts/cfm_part_i/
1•DeanMoriarty123•40m ago•1 comments

Tell HN: Check your subscription renewals (VPNs, etc.). They cost too much

2•simonebrunozzi•41m ago•1 comments

China's electromagnetic rocket launch technology

https://timesofindia.indiatimes.com/science/chinas-electromagnetic-rocket-launch-technology-could...
3•Tomte•44m ago•0 comments

How little exercise can you get away with?

https://www.economist.com/science-and-technology/2026/07/03/how-little-exercise-can-you-get-away-...
4•Brajeshwar•45m ago•2 comments

I found a malware hiding in my TailwindCSS config file

https://infosecwriteups.com/i-found-north-korean-dprk-malware-hiding-in-my-tailwind-config-js-45a...
5•donohoe•45m ago•2 comments

The Android's Dream; a Love Letter to the Bomb

https://kyleobrien.me/the-androids-dream-a-love-letter-to-the-bomb/
1•kyo3•48m ago•0 comments

The Secret History of Polymarket

https://unlimitedhangout.com/2026/06/investigative-series/the-secret-history-of-polymarket-part-1/
2•tilltheend•50m ago•0 comments

Trace Institute

https://traceinstitute.org/
1•mpartel•52m ago•0 comments

Open source HW equivalence checking tool at both RTL and gate level

https://github.com/keplertech/kepler-formal
1•nanocoh•52m 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/