frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

BYD's luxury EV with 5-min fast charging and 500 miles range is headed overseas

https://electrek.co/2026/04/07/byd-ev-5-min-charging-500-miles-range-overseas/
2•breve•2m ago•0 comments

SQLite in the browser with WASM and real-time ER diagram

https://fasttools.dev/en/sql-playground
1•fabiano-salles•5m ago•1 comments

WSLg: Windows Subsystem for Linux GUI

https://github.com/microsoft/wslg
1•aragonite•5m ago•0 comments

Show HN: I made a Git wrapper with undo button

https://crates.io/crates/g-cli
1•alonsovm•5m ago•0 comments

Anthropic latest AI model too powerful for public release and broke containment

https://www.businessinsider.com/anthropic-mythos-latest-ai-model-too-powerful-to-be-released-2026-4
1•makerdiety•7m ago•0 comments

GLM-5.1 matches Opus 4.6 in agentic performance, at ~1/3 actual cost

https://app.uniclaw.ai/arena/visualize?via=hn
1•skysniper•7m ago•1 comments

GEON: Structure-first decoding for language models

https://github.com/singhalpm-hub/geon-decoder
1•singhalpm•10m ago•0 comments

Author's preface to the book: "PGP Source Code and Internals" (1995)

https://philzimmermann.com/EN/essays/BookPreface.html
2•ipnon•12m ago•0 comments

I Just Wanted a Button. It Escalated [video]

https://www.youtube.com/watch?v=ljrKFFjFT04
1•big_toast•15m ago•1 comments

Midlife Sleep Irregularity Linked to Higher Risk of Major Cardiac Events

https://doi.org/10.1186/s12872-026-05762-4
1•gnabgib•15m ago•1 comments

Ask HN: Any advice on 'hacking' Ford lightning?

1•iugtmkbdfil834•18m ago•0 comments

Trump agrees to suspend 'bombing and attack of Iran' for 2 weeks

https://www.reuters.com/world/iran-war-live-tehran-rejects-ceasefire-deal-trumps-deadline-reopen-...
7•g-b-r•20m ago•6 comments

'Definitely a Sham': As Tariffs Climb, Fraud Proliferates

https://www.nytimes.com/2026/04/07/us/politics/tariffs-trade-import-fraud.html
1•thedogeye•22m ago•0 comments

Deere and Co agrees to pay $99M to settle 'right to repair' lawsuit

https://apnews.com/article/john-deere-repair-lawsuit-settlement-595d4b089689cd94418991326275b68d
4•RyanShook•22m ago•0 comments

Own your AI. Optimized down to the kernel

https://runinfra.ai/
1•OsamaJaber•23m ago•0 comments

Breakthrough Alzheimer's Drug Rewires the Brain Instead of Just Clearing Plaques

https://scitechdaily.com/breakthrough-alzheimers-drug-rewires-the-brain-instead-of-just-clearing-...
1•bookofjoe•24m ago•0 comments

Show HN: Clify – generate a CLI from any API docs, use it as agent tooling

https://github.com/derrickko/clify
3•dko•26m ago•0 comments

I made a Claude skill that refuses to write code for you

https://github.com/Tech-Matt/claude-mentor-skill
1•Tech-Matt•33m ago•1 comments

Astronautas da Artemis II levaram mensagem espiritual à órbita lunar

https://spacenewshub.substack.com/p/astronautas-da-artemis-ii-levaram
1•baldaci•37m ago•0 comments

Ex-Meta worker investigated for downloading 30k private Facebook photos

https://www.bbc.com/news/articles/cvg049xz1ygo
3•1659447091•41m ago•0 comments

MCP has 97M installs. It's also an open door into every dev environment

https://rawtext.io/tools/97-million-installs-zero-questions/
2•just_a_watcher•41m ago•0 comments

New York Times Got Played by a Telehealth Scam and Called It the Future of AI

https://www.techdirt.com/2026/04/07/the-new-york-times-got-played-by-a-telehealth-scam-and-called...
2•hn_acker•43m ago•3 comments

Ralph for Beginners

https://blog.engora.com/2026/04/ralph-for-beginners.html
2•Vermin2000•43m ago•1 comments

The Tailwind in "Strong" 2025 Returns: A Weaker Dollar

https://nicolaswalker.com/experiments/base
2•nickwalker•44m ago•0 comments

Show HN: No AI tool could annotate my files and cite text accurately

https://old.reddit.com/r/LLMDevs/comments/1sbusn8/new_pdfviewer_notes_panel_search_downloader_tool/
1•ieuanking•45m ago•0 comments

RIP (finally) to the blockchain hype (2025)

https://www.cio.com/article/3838169/rip-finally-to-the-blockchain-hype.html
3•bariumbitmap•45m ago•0 comments

Experts rank nature's most painful stings

https://www.bbc.com/future/article/20260406-whats-the-most-painful-sting-in-the-world
1•1659447091•46m ago•0 comments

A Close Look at Security Envelope Patterns

https://www.inconspicuous.info/p/a-close-look-at-security-envelopes
1•adamfuhrer•47m ago•0 comments

Show HN: A Zod alternative with runtime schema introspection

https://docs.cleverbrush.com
1•andrew_zol•48m ago•0 comments

Tool to Export X Bookmarks (Free) & Categorize Them

1•xarchive•49m ago•0 comments
Open in hackernews

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

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

Comments

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