frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Basic Concepts of Quantum Mechanics by L. vs. Tarasov (2021)

https://archive.org/details/tarasov-basic-concepts-of-quantum-mechanics-2021
1•vismit2000•1m ago•0 comments

Problems in Mathematics with Hints and Solutions (1982)

https://archive.org/details/v.-govorov-p.-dybov-n.-miroshin-s.-smirnova-problems-in-mathematics-w...
1•vismit2000•2m ago•0 comments

Impatient Programming

https://impatientprogramming.org/
1•andrii•5m ago•0 comments

Any software developers not ready for FIRE changing their careers?

https://old.reddit.com/r/financialindependence/comments/1xk9sy2/any_software_developers_not_ready...
2•SenHeng•8m ago•0 comments

Paying for the same upstream refresh twice (Snowflake) [video]

https://www.youtube.com/shorts/8PJy-d8ulGE
1•yanivleven•10m ago•0 comments

Developer makes Windows 11 26H2 work on insanely low 128MB RAM

https://www.neowin.net/news/developer-makes-windows-11-26h2-work-on-insanely-low-128mb-ram/
1•giuliomagnifico•12m ago•0 comments

Why Touching an Am Radio Tower with Grass Plays Sound [video]

https://www.youtube.com/shorts/DVhvMdLkubM
1•thunderbong•13m ago•0 comments

Show HN: EBI Space – In-session screen time awareness without harsh lockouts

https://ebispace.app/
1•ekhadivar•16m ago•0 comments

Terence Tao: The Year Math Changed Forever

https://www.newyorker.com/magazine/2026/11/09/the-year-math-changed-forever
1•lukko•19m ago•0 comments

Socialista – Generate static ads and UGC videos from product images

https://socialista.app
1•kbehov•19m ago•0 comments

noyb win: French electronics retailer Fnac Darty fined €7M

https://noyb.eu/en/noyb-win-french-electronics-retailer-fnac-darty-fined-eu7-million
2•latexr•21m ago•0 comments

See what Claude Code reads and edits, live, in a file tree

https://github.com/Marius-Adam/claude-files-pane/blob/main/docs/demo.gif
2•betterPattern•21m ago•0 comments

A simpler way to put ChatGPT to work (A shared allowance for ChatGPT and Codex)

1•daneel951•24m ago•1 comments

How RimWorld 1.7 Lets You Commit War Crimes Faster [video]

https://www.youtube.com/watch?v=EdRteMjyC4k
1•skibz•29m ago•0 comments

Show HN: Detox Mode – A Flutter app to help reduce smartphone distractions

https://play.google.com/store/apps/details?id=com.saurabh.detox&hl=en_US
1•saurabh_yagyik•31m ago•0 comments

Alkaline batteries are obsolete – but their predecessor isn't [video]

https://www.youtube.com/watch?v=I1rlK3BKmyA
2•vismit2000•42m ago•0 comments

SATORATOS: Read classics from the source with original translations and notes

https://satoratos.org/
1•al_mutanabby•44m ago•0 comments

Show HN: BeachFinder – Find beaches with the right conditions

https://getbeachfinder.com
1•TitOo•45m ago•0 comments

Show HN: tld - Create and explore nested diagrams like a map

https://github.com/Mertcikla/tld
1•mertcikla•47m ago•0 comments

Show HN: AIOps Cockpit – An open-source AI SRE with human-in-the-loop safety

https://github.com/matricphase-dot/aiops
1•adityam_9911•49m ago•0 comments

Democracy Has a Learning Problem – The Long Listen

https://shows.acast.com/cognitive-republic-building-societies-that-experiment-learn/episodes/6ae0...
1•smomara•49m ago•1 comments

The OLED MacBook Pro Wipes Out Eight Years of Price Drops

https://thrifle.com/blog/macbook-pro-price-history
1•taubek•49m ago•0 comments

Norway makes shithouses great again

https://www.visitnorway.com/plan-your-trip/travel-tips-a-z/norwegian-scenic-routes/worlds-best-to...
83•giuliomagnifico•50m ago•30 comments

AI Warning for Steam – Increases Visibility of AI Generated Content Disclosures

https://github.com/seeeeew/aiwarningforsteam
1•SockThief•50m ago•0 comments

Tilix2

https://github.com/markuman/tilix2
1•markuman123•51m ago•0 comments

Domain hacks with unusual Unicode characters (2018)

https://xn--69f31l4t57c0mag4b613h.xn--7uh4898msjaso/🆆🆃🅵/
3•n_plus_1_acc•53m ago•1 comments

Psychedelic nasal spray reduced treatment-resistant depression for 8 weeks

https://www.psypost.org/single-dose-of-psychedelic-nasal-spray-reduced-treatment-resistant-depres...
2•giuliomagnifico•56m ago•0 comments

Tell HN: Claude Code now defaults to Haiku 5.5

2•albert_e•58m ago•0 comments

Protuna: Optuna but for Proteins

https://github.com/kumarshreshtha/protuna
1•kshreshtha•58m ago•0 comments

Official Lockheed Martin account vague posting

https://twitter.com/LockheedMartin/status/2116500446709703132
1•dmos62•59m 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/