frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Is this the civilization we really want? (2017)

https://dynamicland.org/archive/2017/Is_this_the_civilization_we_really_want
1•panic•43s ago•0 comments

WICG/Local-Peer-to-Peer

https://github.com/WICG/local-peer-to-peer
1•eternityforest•2m ago•0 comments

MIDI-hook – Your MIDI controller, now a command center

https://github.com/skorotkiewicz/midi-hook
1•modinfo•3m ago•0 comments

Chinese robot Tiangong clocks sub-9 second 100 metres

https://www.reuters.com/world/asia-pacific/chinese-robot-tiangong-clocks-sub-9-second-100-metres-...
1•hakkikonu•4m ago•0 comments

Reconstructing the benchmark behind Luc Julia's 64% LLM reliability claim

https://github.com/angeluriot/Julia_bench
2•matthieu_bl•7m ago•0 comments

The Market for Lemons

https://en.wikipedia.org/wiki/The_Market_for_Lemons
2•tosh•9m ago•0 comments

Wayland "Intrinsically Faster Than X11, but Not Necessarily More Efficient"

https://www.phoronix.com/news/Wayland-X11-Performance-PorteuX
2•rbanffy•10m ago•0 comments

A problem with RLVR training data

https://twitter.com/SkyeSharkie/status/2092122622834442581
1•tosh•11m ago•0 comments

How We Used AI to Bring MongoDB to DynamoDB

https://www.mongodb.com/company/blog/technical/how-we-used-ai-bring-mongodb-to-dynamodb
1•reticentraccoon•11m ago•0 comments

Casey Muratori – The Root of the Root of All Evil – BSC 2026 [video]

https://www.youtube.com/watch?v=hpj6r6CjJf8
2•gingerBill•11m ago•0 comments

A New Framework for How the Brain Compresses Our Noisy World

https://www.quantamagazine.org/a-new-framework-for-how-the-brain-compresses-our-noisy-world-20260...
1•isaacfrond•15m ago•0 comments

Ask HN: Why do you use Ubuntu?

1•flanked-evergl•17m ago•1 comments

ByteDance Launches AI Office Product "Doubao Work"

https://www.ithome.com/0/993/865.htm
1•JulianVance•18m ago•1 comments

US removes Syria from terrorism sponsor list, lifting major investment obstacle

https://www.reuters.com/world/middle-east/us-removes-syrias-designation-state-sponsor-terrorism-2...
2•imadj•21m ago•1 comments

Effect v4 core package now has no external dependencies

https://twitter.com/tim_smart/status/2092430414837407896
1•tosh•21m ago•0 comments

Ask HN: What are you using to access x.com at the moment?

1•throwaw12•21m ago•1 comments

Bill Gates says world has "no plan" on AI in new essay

https://www.gatesnotes.com/a-turbulent-ai-era-and-critical-choices-to-make
2•aroman•24m ago•0 comments

S21

https://store.steampowered.com/app/4953120/S21/
2•ofrzeta•25m ago•1 comments

Dollywood

https://en.wikipedia.org/wiki/Dollywood
1•thunderbong•25m ago•0 comments

How to export Gemini chat to word without losing formatting [video]

https://www.youtube.com/watch?v=PZZGjJpPDM0
3•slimcrm•26m ago•1 comments

A joke for founders about the perfect startup geography [20 secs]

https://www.mangialardi.it/the-startup-paradox/
1•rm30•26m ago•1 comments

CSS Runtime Performance

https://nolanlawson.github.io/css-talk-2022/#1
1•luu•28m ago•0 comments

Show HN: Buslens – where can I get to by bus? (UK)

https://rupertlinacre.com/buslens/
1•RobinL•30m ago•0 comments

The Cowpox of Doubt (2014)

https://slatestarcodex.com/2014/04/15/the-cowpox-of-doubt/
1•pr337h4m•35m ago•0 comments

Disrupting a new covert influence campaign from Russia

https://openai.com/index/disrupting-malicious-uses-of-ai-influence-campaign-russia/
6•sam_lowry_•36m ago•1 comments

More than 100 suspicious images in Thermo Fisher antibody catalogue

https://www.nature.com/articles/d41586-026-01706-2
1•isaacfrond•38m ago•1 comments

Chinese regulators tell Tesla to fix nearly 3M cars

https://arstechnica.com/cars/2026/08/chinese-regulators-tell-tesla-to-fix-nearly-3-million-cars/
2•rbanffy•39m ago•1 comments

Global All Purpose Script

2•manesiro•40m ago•2 comments

World humanoid robot games show runners breaking records, bursting into flames

https://arstechnica.com/ai/2026/08/world-humanoid-robot-games-show-runners-breaking-records-burst...
3•robin_reala•48m ago•0 comments

NEET: Not in Education, Employment or Training. It's too late to fix this, but

https://www.virtueonline.org/post/neet-not-in-education-employment-or-trainingit-s-too-late-to-fi...
2•Michelangelo11•48m 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/