frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

LG to Ban Residential Proxies from Smart TV Apps

https://krebsonsecurity.com/2026/07/lg-to-ban-residential-proxies-from-smart-tv-apps/
2•DemiGuru•6m ago•0 comments

Sam Altman and Aaron Swartz Saw the Future (2024)

https://flaminghydra.com/sam-altman-and-aaron-swartz-saw-the-future/
1•arm32•10m ago•0 comments

We're Hiring at Modular

1•pcardona•14m ago•0 comments

Show HN: Create a realistic couple photo from two separate portraits

https://ai-couplephoto.com
1•hackerchy•19m ago•0 comments

Cloudfleet – A Freemium Kubernetes Control Plane

https://cloudfleet.ai
3•nikolay•21m ago•0 comments

Liquid: Back to the Future

https://twitter.com/benjaminsehl/status/2079633466581258469
2•doppp•23m ago•0 comments

Best way to practice LeetCode questions

https://github.com/Qurse123/Ankicode
2•Qurse22•24m ago•0 comments

Kimi K3 first open model in ErrataBench Top 10

https://revise.io/blog/07-22-2026/kimi-k3-broke-90-on-erratabench
1•artursapek•24m ago•0 comments

6,600 Non-Citizens Mistakenly Added to NJ Voter Rolls

https://www.cnn.com/2026/07/21/politics/new-jersey-voter-rolls-non-citizen
3•giardini•25m ago•0 comments

Trump says generic drugs to face US tariffs 100% and 200% two year later

https://www.reuters.com/business/healthcare-pharmaceuticals/trump-says-generic-drugs-face-no-us-t...
3•rguiscard•25m ago•0 comments

The Hunt for the Counterfeiter Trying to Make the Perfect Bill

https://www.nytimes.com/2026/07/16/magazine/counterfeit-dollars.html
1•js2•26m ago•1 comments

Show HN: Empix – A super-simple graphic editor for Arduino

https://github.com/niklauslee/empix
1•niklauslee•27m ago•0 comments

Explore Automated License Plate Readers - Locations Near You

https://maps.deflock.org/
3•pseudolus•30m ago•0 comments

TokenSwitch

https://www.tokenswitch.co/
2•handfuloflight•33m ago•0 comments

Error Led to 400 Noncitizens Voting, New Jersey Governor Says

https://www.nytimes.com/2026/07/21/nyregion/noncitizen-voting-new-jersey-error.html
2•pudgywalsh•35m ago•2 comments

Keynesian Beauty Contest

https://en.wikipedia.org/wiki/Keynesian_beauty_contest
1•salamo•35m ago•0 comments

The Hair-Dryer Incident Is Just the Start

https://www.theatlantic.com/technology/2026/07/prediction-market-outsider-trading/687975/
3•nabbed•37m ago•1 comments

Plat: An embeddable infinite canvas for humans and agents

https://github.com/zackham/plat
2•zackham•38m ago•0 comments

How to Run a Multi-Agent Coding Workspace (2026)

https://www.augmentcode.com/guides/how-to-run-a-multi-agent-coding-workspace
2•mahirsaid•40m ago•0 comments

Snowflake's string min/max is truncated to ~40 chars, and it's undocumented

https://gist.github.com/wubx/c7a7d754ec5ec7d84b3aa7945bafec3f
2•river_wu•40m ago•0 comments

China's EV Revolution [video] – Foreign Correspondent

https://www.abc.net.au/news/2026-07-21/china-s-ev-revolution/106940630
2•langfo•41m ago•1 comments

If HF was breached, should we expect OpenAI to face criminal charges?

5•arm32•41m ago•0 comments

Ten Steps Towards Happiness

http://hintjens.com/blog:99
7•emerongi•41m ago•1 comments

Transformation Theater

https://tusshah.codeberg.page/posts-output/2026-07-16-currentstate/
2•mmts•42m ago•0 comments

Fundamental Theorem of Software Engineering

https://en.wikipedia.org/wiki/Fundamental_theorem_of_software_engineering
2•vismit2000•43m ago•0 comments

Trump Now Wants E. Jean Carroll to Return the $5.6M He Paid

https://people.com/trump-now-wants-e-jean-carroll-to-return-the-usd5-6m-he-paid-for-sexual-abuse-...
6•ninjahawk1•44m ago•0 comments

SynnoDB – Synthesizing Database engines for your workloads

https://github.com/SynnoDB/SynnoDB
2•zX41ZdbW•45m ago•0 comments

A Fireside Chat with Cat and Thariq from the Claude Code Team

https://simonwillison.net/2026/Jul/21/cat-and-thariq/
2•vismit2000•46m ago•0 comments

Light Comes into the Room

https://lightcomesintotheroom.com/
2•bpierre•49m ago•0 comments

What the World Should Learn from Australia's Social Media Law

https://time.com/article/2026/07/18/the-world-should-learn-from-australia-s-social-media-law/
2•dotcoma•49m ago•2 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/