frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A Definitive Guide to Using BigQuery Efficiently (2024)

https://medium.com/data-science/burn-data-rather-than-money-with-bigquery-the-definitive-guide-1b...
1•rzk•1m ago•0 comments

A Magazine with One Subscriber

https://matthodges.com/posts/2026-07-12-personal-magazine-claude-codex/
1•m-hodges•3m ago•0 comments

Show HN: Instant icon search engine for open source icons

https://iconstash.io/
1•not_wowinter13•5m ago•0 comments

Show HN: VectorSim Tool for Visualizing DSP

https://vectorspin.dsp-coach.com/vector_spin.html#time=1,1,1,1,1,1,1,1&iq_mode=freq&update_time=2...
2•jason_s•7m ago•0 comments

Counterfeit People, Tools, and Kami

https://goodcomputer.substack.com/p/counterfeit-people-tools-and-kami
1•d9w•8m ago•0 comments

Postgres Query Observability from ClickHouse

https://github.com/ClickHouse/pg_stat_ch
1•saisrirampur•9m ago•0 comments

My journey to the microwave alternate timeline

https://malmesbury.substack.com/p/my-journey-to-the-microwave-alternate
2•Plasmoid•12m ago•0 comments

Show HN: I gave my AI coding agents a group chat (it's just a Git repo)

https://github.com/yonidavidson/agentcomm
2•yonidavidson•12m ago•0 comments

Theo de Raadt: "You've been smoking something mind altering" (2007)

https://marc.info/?l=openbsd-misc&m=119318909016582
2•turrini•12m ago•0 comments

An explanation of our search results

https://web.archive.org/web/20040612082405/https://www.google.com/explanation.html
3•abj908•14m ago•0 comments

Devs aren't maximizing what they can do with AI b/C they still look at the code

https://twitter.com/antirez/status/2076249566635085826
2•enraged_camel•14m ago•0 comments

How AWS S3 Is Built

https://www.youtube.com/watch?v=5vL6aCvgQXU
3•tcp_handshaker•16m ago•0 comments

Samsung is pushing users to train AI with their personal health data or lose it

https://www.howtogeek.com/samsung-health-requires-ai-training-consent/
3•croes•16m ago•0 comments

I advise against using Hermes Agent

https://bednars.me/blog/why-i-advise-against-using-hermes-agent
3•piotrbednarsalt•16m ago•1 comments

Repo-Slopscore: Detecting AI Contributions in Git Repositories via Commit

https://slopscan.ava.pet/
2•birdculture•17m ago•0 comments

Concerned about how companies will manage their cloud bill once agents dominate

2•abhijeet_gupte•19m ago•0 comments

TK, or the secret to effortless writing (2024)

https://atthis.link/blog/2024/49629.html
3•Tomte•19m ago•0 comments

How Discord Creates Insights from Trillions of Data Points (2021)

https://discord.com/blog/how-discord-creates-insights-from-trillions-of-data-points
3•rzk•19m ago•0 comments

Just Keep at It: A Decade at Mozilla

https://eqrion.net/ten-years-at-mozilla/
3•theanonymousone•20m ago•0 comments

A Review of the Wyze 5070 Thin Client

https://cheapskatesguide.org/articles/wyze-5070-review.html
2•worldofmatthew•20m ago•0 comments

Show HN: AI Photo Editor – Professional-Grade Image Editing with Text Prompts

https://www.aiphotoeditor.ai/
3•vtoolpro•21m ago•0 comments

Why study Diophantine equations?

https://hidden-phenomena.com/articles/modular
2•mb1699•24m ago•0 comments

A timing glitch was behind Telstra's nationwide outage

https://theconversation.com/a-timing-glitch-was-behind-telstras-nationwide-outage-it-points-to-a-...
2•throw0101a•28m ago•0 comments

After years of teasing, the viral Nopia synth is 'basically finished'

https://www.theverge.com/gadgets/964499/nopia-viral-synth-finished-price-release-demo
2•Brajeshwar•29m ago•0 comments

How to Read More Books

https://scotto.me/blog/2026-07-12-how-to-read-more-books/
3•silcoon•31m ago•0 comments

Show HN: Vigil – open-source TimeTracker with steroids

https://github.com/Brokenwatch24/vigil
2•jjaramillor•33m ago•0 comments

Croc: Securely transfer files and folders between two computers

https://github.com/schollz/croc/
2•gregsadetsky•34m ago•0 comments

Benchmarking Cloudflare Containers vs. AWS MicroVMs

https://v2.alchemy.run/blog/2026-07-01-microvm-cold-starts/
2•mariuz•34m ago•0 comments

Show HN: TrialPilot – clinical trials from your phone, built by a patient

2•thenerdhead•35m ago•2 comments

The Reverse Information Paradox

https://twitter.com/satyanadella/status/2076323181154230284
3•tosh•37m ago•0 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/