frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The quadratic knapsack problem (2025)

https://www.sciencedirect.com/science/article/pii/S0377221724009743
1•ahsillyme•1m ago•0 comments

Show HN: Convert Your Docs to Beauty

https://www.doc2q.com
1•rokontech•4m ago•0 comments

Why Study History? (1988)

https://www.theatlantic.com/magazine/archive/1988/11/why-study-history/670027/
2•breve•4m ago•0 comments

Africa's forests are now emitting more CO2 than they absorb

https://www.newscientist.com/article/2506287-africas-forests-are-now-emitting-more-co2-than-they-...
2•hackernj•5m ago•0 comments

Langjam Gamejam: Build a programming language and then use it to make a game

https://austinhenley.com/blog/langjamgamejam.html
1•azhenley•6m ago•0 comments

VMware isn't budging in its pursuit of Siemens for alleged unpaid licenses

https://www.theregister.com/2025/11/28/vmware_vs_siemens_fresh_filings/
1•ipeev•7m ago•1 comments

Open Source Pledge: Posit contributed $493K to OSS in 12 months ($750K to date)

https://posit.co/blog/posit-open-source-pledge-2025
1•ionychal•9m ago•0 comments

Show HN: Browser Calendar: Track Safari, Chrome, Firefox, Edge & Opera Releases

https://browsercalendar.com/
1•grosmar•9m ago•1 comments

Show HN: Minimalistic hex/binary text visualizer for educational UTF-8 demo

https://chessnawk.vercel.app/tools/hex
2•vitaly-pavlenko•17m ago•0 comments

Jedi Blue

https://en.wikipedia.org/wiki/Jedi_Blue
3•redbell•17m ago•0 comments

Common database for Chat Applications

https://progressdb.dev
1•hasante•19m ago•1 comments

Flight disruption warning as Airbus requests modifications to 6k planes

https://www.bbc.com/news/live/cvg4y6g74ert
9•nrhrjrjrjtntbt•21m ago•1 comments

The Secret Superfood of Thanksgiving

https://www.twopct.com/p/the-secret-superfood-of-thanksgiving
4•bilsbie•22m ago•0 comments

A Deep Dive into the Qualcomm Snapdragon X2 Elite SoC Details

https://www.semiaccurate.com/2025/11/27/a-deep-dive-into-the-qualcomm-snapdragon-x2-elite-soc-det...
2•walterbell•24m ago•0 comments

Own a Graph

https://staysaasy.com/strategy/2025/11/25/own-a-graph.html
2•RyeCombinator•24m ago•0 comments

Indoor Dog Park Directory – Find Climate-Controlled Dog Play Spaces California

https://www.indoordogpark.org
1•mabalal•34m ago•1 comments

The Art of KPop Demon Hunters

https://theartofkpopdemonhunters.com/
1•lehi•34m ago•0 comments

MetaFun: Compile Haskell-like code to C++ template metaprograms

https://gergo.erdi.hu/projects/metafun/
1•todsacerdoti•36m ago•0 comments

Strategic Fabrication in AI Self-Governance: An Empirical Audit of 9 Major LLMs

https://zenodo.org/records/17754943
2•mikeup91•39m ago•1 comments

Ask HN: What is the purpose of all these AI spam comments?

16•GaryBluto•39m ago•6 comments

Google Images: Shirts Without Stripes

https://www.google.com/search?newwindow=1&fbs=&q=shirts%2Bwithout%2Bstripes&sa=X&biw=1152&bih=958...
1•gregsadetsky•40m ago•2 comments

Are Peptide Injections Safe?

https://www.washingtonpost.com/health/2025/11/26/peptides-bodybuilding-injections-side-effects/
1•bookofjoe•43m ago•1 comments

Software Issue Hits Planes

https://news.sky.com/story/airbus-latest-software-issue-hits-thousands-of-planes-13476780
4•scopeh•45m ago•1 comments

Building a Distributed Database in Elixir, Part 3: Storage Layer and Why RocksDB

https://medium.com/@gawry/storage-layer-why-rocksdb-part-3-814e1d24a1a6
5•gawry•49m ago•1 comments

Keeping the Streak Alive

https://quartr.com/insights/edge/keeping-the-streak-alive-the-story-of-duolingo
1•sujayk_33•50m ago•0 comments

Chicago Data Center Overheated–and Shut Down Trade in Key Markets

https://www.wsj.com/finance/cme-options-futures-trading-halted-amid-data-center-issue-16e96ed1
2•perihelions•50m ago•0 comments

Turris Om Nia NG

https://www.discomp.cz/turris-omnia-ng_d130526.html
1•senorqa•53m ago•0 comments

Who's Grading You on Coursera? The Shift from Human Peers to AI

https://www.classcentral.com/report/coursera-peer-assessment-still-broken/
3•raybb•59m ago•0 comments

One point I made that didn't come across: Ilya

https://twitter.com/ilyasut/status/1994424504370581726
2•sabareesh•59m ago•0 comments

In Denmark, 'Night's Watch' Guards Monitor Trump from the Foreign Ministry

https://jen.jiji.com/jc/eng_agt?g=adnkronos&k=20251128KRONOS-202511112509571700_eng
2•SanjayMehta•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•6mo ago

Comments

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