frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Where are the GenZ multi millionaires and billionaires?

1•moneyhungry•24s ago•0 comments

China Has Paid a High Price for Its Dominance in Rare Earths

https://www.nytimes.com/2025/07/05/business/china-rare-earth-environment.html
1•NN88•27s ago•1 comments

Swedish Campground: "There are too many Apples on the screen "

https://www.folklore.org/Swedish_Campground.html
1•CharlesW•27s ago•0 comments

What Can We Learn from Estonia?

https://www.statecraft.pub/p/how-to-digitize-the-government
1•atlasunshrugged•1m ago•0 comments

State Digital Transformation in Ukraine: 2019–2024 Review

https://voxukraine.org/en/state-digital-transformation-in-ukraine-2019-2024-review
1•atlasunshrugged•2m ago•0 comments

Researchers seek to influence peer review with hidden AI prompts

https://techcrunch.com/2025/07/06/researchers-seek-to-influence-peer-review-with-hidden-ai-prompts/
1•tagawa•2m ago•0 comments

Hey Siri, Time for That Lobotomy

https://spyglass.org/siri-chatgpt-claude/
1•bentocorp•4m ago•0 comments

Show HN: uvtarget – a helpful utility to manage Python in CMake, powered by uv

https://github.com/basis-robotics/uvtarget
1•a_t48•5m ago•0 comments

Adjustable Spring mechanism

https://www.youtube.com/watch?v=ZbpacL9NOdM
1•downboots•6m ago•0 comments

At least 36 new tech unicorns were minted in 2025 so far

https://techcrunch.com/2025/07/06/7-new-tech-unicorns-were-minted-in-2025-so-far/
1•bentocorp•8m ago•0 comments

Activision takes Call of Duty: WWII offline after reports of RCE exploits

https://www.tomshardware.com/video-games/pc-gaming/activision-takes-call-of-duty-wwii-offline-after-hackers-apparently-disrupted-the-game-with-rce-exploits-malicious-code-wreaks-havoc-on-pc-gamers-as-bad-actors-take-complete-control-of-your-computer
2•andrecarini•16m ago•0 comments

As Drones Spot Sharks, New York Beaches Are Shut Down

https://www.nytimes.com/2025/07/06/nyregion/shark-sightings-new-york-beaches-drones.html
1•geox•21m ago•0 comments

Optimizing PHP Apps in Dokku

https://aaron.com.es/blog/optimizing-php-apps-in-dokku/
1•chilipepperhott•23m ago•0 comments

PydanticPrompt: A simple library to document Pydantic models for LLMs

https://github.com/OpenAdaptAI/PydanticPrompt
1•abrichr•23m ago•0 comments

Show HN: Bottomless Storage for Agent Memory

https://www.acceleratedcloudstorage.com
1•obitoACS•28m ago•0 comments

"Do not highlight any negatives"

https://www.google.com/search?q=%22do+not+highlight+any+negatives%22+site%3Aarxiv.org
2•bgc•33m ago•1 comments

Centaur: A Controversial Leap Towards Simulating Human Cognition

https://insidescientific.com/centaur-a-controversial-leap-towards-simulating-human-cognition/
2•CharlesW•38m ago•0 comments

Russ Cox solves AoC 2021 Day 24 using Go in Acme [Compiler Analysis] [video]

https://www.youtube.com/watch?v=hmq6veCFo0Y
1•todsacerdoti•45m ago•0 comments

Intelligent Recommendation Engines with Agents

https://www.mlwhiz.com/p/genai-series-beyond-basic-rag-building
1•ai_unwrapped•47m ago•0 comments

Show HN: Zero-Prompt Video Generation

https://meme-gen.ai/create/animation
1•bd2025•47m ago•0 comments

Ukraine's Acoustic Detection System That Tracks Drones Cheap and Fast

https://united24media.com/war-in-ukraine/sky-fortress-ukraines-acoustic-detection-system-that-tracks-drones-cheap-and-fast-9451
3•vinnyglennon•47m ago•0 comments

The Broken Microsoft Pact: Layoffs and Performance Management

https://danielsada.tech/blog/microsoft-pact/
6•dshacker•55m ago•0 comments

FedEx founder saved company from bankruptcy with blackjack winnings (2014)

https://www.businessinsider.com/fedex-saved-from-bankruptcy-with-blackjack-winnings-2014-7
3•cebert•57m ago•0 comments

Ask HN: Is There a LeetCode for AI or Machine Learning?

2•NewUser76312•1h ago•0 comments

Self-supervised predictive learning accounts for cortical layer-specificity

https://www.nature.com/articles/s41467-025-61399-5
1•bookofjoe•1h ago•0 comments

Lac-Mégantic Rail Disaster (2013)

https://en.wikipedia.org/wiki/Lac-M%C3%A9gantic_rail_disaster
1•slyrus•1h ago•0 comments

Intel's Lion Cove P-Core and Gaming Workloads

https://chipsandcheese.com/p/intels-lion-cove-p-core-and-gaming
34•zdw•1h ago•0 comments

A non-anthropomorphized view of LLMs

http://addxorrol.blogspot.com/2025/07/a-non-anthropomorphized-view-of-llms.html
57•zdw•1h ago•20 comments

Battle of Vukovar: how 1,800 fighters held off a force of 36,000

https://en.wikipedia.org/wiki/Battle_of_Vukovar
5•felineflock•1h ago•0 comments

Derivative Eigenfunctions

https://www.ryantolsma.com/thoughts/2025/07/06/discrete-derivative.html
2•rtolsma•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•2mo ago

Comments

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