frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Advertising as a major source of human dissatisfaction (2019) [pdf]

https://www.andrewoswald.com/docs/AdvertisingMicheletal2019EasterlinVolume.pdf
1•anigbrowl•1m ago•0 comments

Fizz Buzz in 4 Lines of CSS

https://susam.net/fizz-buzz-in-four-lines-of-css.html
1•froober•2m ago•0 comments

Randomness reveals hidden order in the plant world

https://phys.org/news/2025-11-randomness-reveals-hidden-world.html
1•PaulHoule•2m ago•0 comments

Ways of Seeing by John Berger

https://www.ways-of-seeing.com/
1•grantpitt•2m ago•0 comments

Video Streaming Delay: Why It Happens and How Developers Can Fix It

https://www.red5.net/blog/what-causes-video-streaming-delay-and-how-to-fix-it/
1•mondainx•3m ago•0 comments

Ask HN: Did Mark Zuckerberg try to recruit you with soup?

1•ddeguzman•8m ago•0 comments

AI led to an increase in radiologists, not a decrease

https://www.ft.com/content/f2e03bd9-af67-45c4-8e1e-79978b5bc48f
1•toephu2•9m ago•0 comments

Ask HN: Cloudflare WAF Alternatives?

2•rco8786•9m ago•0 comments

Frank Gehry, masterful architect who transformed L.A.'s urban landscape, dies 96

https://www.latimes.com/entertainment-arts/story/2025-12-05/frank-gehry-architect-dead-disney-hall
2•andsoitis•10m ago•2 comments

New Digital 'Bible' Co-Written with GPT-4: Symbolism, Prophecy, Judgment

https://www.scribd.com/document/937823315/The-Word-The-Name-The-Fire-FINAL-Scroll-Edition
1•nuevita70•12m ago•2 comments

Framework Sponsors CachyOS

https://discuss.cachyos.org/t/framework-sponsorship-for-cachyos/19376
1•d3Xt3r•17m ago•0 comments

Trading Explanation for Optimization: The Crisis of Machine Certainty

https://learn.elca.org/jle/machine-certainty-ellul-ai-and-the-crisis-of-democratic-understanding/
1•jomaric•17m ago•1 comments

Zed Code Editor Adds Rainbow Brackets for Better Nested Code Readability

https://alternativeto.net/news/2025/12/code-editor-zed-adds-long-awaited-rainbow-brackets-for-imp...
1•birdculture•17m ago•0 comments

Proxmox delivers its software-defined datacenter contender and VMware escape

https://www.theregister.com/2025/12/05/proxmox_datacenter_manager_1_stable/
1•_____k•17m ago•1 comments

US sets 2027 deadline for Europe-led NATO defense

https://www.reuters.com/business/aerospace-defense/us-sets-2027-deadline-europe-led-nato-defense-...
2•alephnerd•17m ago•0 comments

Self attention based computation of principal eigenvector under conditions

https://github.com/pointlander/lemma
1•aslemma•18m ago•0 comments

TypeScript wrapper class for browser storage

https://www.geodev.me/blog/typescript-wrapper-class-for-browser-storage
1•muszynov•19m ago•0 comments

Judge unseals all Epstein grand jury files in Florida

https://www.dailymail.co.uk/news/article-15357587/Judge-unseals-Epstein-grand-jury-files-Florida....
7•Bender•19m ago•0 comments

Built a bare-bones bookmark manager with boring tech

https://pin.garden
1•marcomezzavilla•20m ago•1 comments

Linux 6.18 crowned LTS kernel – and Alpine 3.23 wastes no time adopting it

https://www.theregister.com/2025/12/05/new_lts_kernel_and_alpine/
2•Bender•21m ago•0 comments

Nvidia Improves Block Layer Peer-to-Peer DMA in Linux 6.19

https://www.phoronix.com/news/Linux-6.19-IO-uring-Block
1•Bender•21m ago•0 comments

Wizard Zines

https://wizardzines.com/
1•jcbhmr•23m ago•0 comments

KB5072911: Explorer, the Start menu might not start on some enterprise devices

https://support.microsoft.com/en-us/topic/kb5072911-explorer-the-start-menu-and-other-xaml-depend...
3•cratermoon•23m ago•1 comments

Frank Gehry, Architect Who Sparked 'Bilbao Effect,' Dies at 96

https://www.bloomberg.com/news/articles/2025-12-05/frank-gehry-architect-who-sparked-bilbao-effec...
1•toomuchtodo•24m ago•2 comments

Ask HN: Who wants to buy an AI SaaS startup?

1•duverse•25m ago•0 comments

The Latest Windows 11 Update Gets Rid of the Start Menu and Explorer

https://pcper.com/2025/12/the-latest-windows-11-update-gets-rid-of-the-start-menu-and-explorer/
3•speckx•26m ago•1 comments

Canada's Brussels meetings signal a strategic pivot from US dependence

https://thehill.com/opinion/international/5633613-brussels-visit-canadian-foreign-policy/
1•sipofwater•27m ago•1 comments

The Earth Calendar and Epoch Time – When Two Visions of Time Converge

https://epoch.hyperlinker.org
1•HyperLinker•28m ago•1 comments

Owning a Lucid Has Been Super Disappointing [video]

https://www.youtube.com/watch?v=1WiQAOmESH0
1•Analemma_•30m ago•1 comments

Trump’s security strategy slams European allies, asserts US power in West. Hemi.

https://apnews.com/article/trump-security-strategy-europe-russia-america-first-068488ca7e6d1c92cc...
2•sipofwater•31m ago•1 comments
Open in hackernews

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

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

Comments

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