frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

/R/MyBoyfriendIsAI

https://old.reddit.com/r/MyBoyfriendIsAI/
1•toilet•31s ago•0 comments

The Mystery of the Siberian Craters

https://nautil.us/the-mystery-of-the-siberian-craters-1051317
1•the-mitr•35s ago•0 comments

Statement from the President of the British Academy on UK higher ed. crisis

https://www.thebritishacademy.ac.uk/news/statement-from-the-president-of-the-british-academy-on-t...
1•theanonymousone•2m ago•0 comments

Using a projector for a home office setup to prevent eyestrain/myopia (2021)

https://sofiapandelea.medium.com/monitor-replacement-using-a-projector-for-a-home-office-setup-23...
1•plun9•3m ago•0 comments

Claude Fable relaunch disappoints users with nerfed performance

https://www.bleepingcomputer.com/news/artificial-intelligence/claude-fable-relaunch-disappoints-u...
1•giuliomagnifico•8m ago•0 comments

AI Art as Curation

https://blog.andymasley.com/p/ai-art-as-curation
1•jger15•10m ago•0 comments

10x smaller vector indexes in pgvector

https://github.com/pgvector/pgvector/pull/989
1•thunderbong•13m ago•0 comments

The night the Earth shook, strangers started to draw

https://sheets.works/data-viz/strangers-draw-maps
1•altilunium•14m ago•0 comments

Pandoc Lua Filters

https://pandoc.org/lua-filters.html
1•ankitg12•17m ago•0 comments

Microsoft Disclosure Provides Rare Glimpse of Tax Haven Tactics

https://www.nytimes.com/2026/07/03/technology/microsoft-europe-disclosure-tax-havens.html
1•giuliomagnifico•18m ago•1 comments

1966: Alan Turing's Machines – Mathematics in Action – BBC Archive

https://www.youtube.com/watch?v=oRBS70J2Poo
1•wjSgoWPm5bWAhXB•21m ago•0 comments

Interactive video game recommendation engine

https://nodal.gg
1•xiaodai•24m ago•0 comments

LLMs adopt the social biases of human if assigned different professional roles

https://www.psypost.org/artificial-intelligence-chatbots-adopt-human-power-dynamics-and-social-bi...
1•giuliomagnifico•26m ago•1 comments

What Is Amazon EventBridge?

https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is.html
1•ankitg12•29m ago•0 comments

Someone infected a spyware probe overseer with spyware

https://cyberscoop.com/pegasus-spyware-pega-committee-member-targeted/
1•miohtama•30m ago•0 comments

Squeezes – Free Bulk Image Compressor

https://squeezes.vercel.app
2•marpe•32m ago•0 comments

A Day in the Life of an Enshittificator

https://kottke.org/26/04/day-in-the-life-of-an-enshittificator
5•hosteur•34m ago•0 comments

ReactOS Implements First Windows NT6 System Call Toward Vista Compatibility

https://www.phoronix.com/news/ReactOS-First-NT6-Syscall
3•serhack_•34m ago•2 comments

UK home to third largest number of billion dollar startups in the world

https://www.smeweb.com/uk-home-to-third-largest-number-of-billion-dollar-start-ups-in-the-world/
2•dukeyukey•36m ago•0 comments

Swimming Pools, Pee, and Trying to Delete Your Data from the Internet

https://www.troyhunt.com/swimming-pools-pee-and-trying-to-delete-your-data-from-the-internet/
1•jruohonen•38m ago•0 comments

AWS says it added more data center capacity

https://www.datacenterdynamics.com/en/news/aws-says-it-added-more-data-center-capacity-than-any-o...
1•01-_-•39m ago•0 comments

ClickHouse is winning the observability wars

https://matduggan.com/clickhouse-is-winning-the-observability-wars/
1•hiyer•39m ago•0 comments

And someone has already made an age verification bypass addon for Firefox

https://github.com/helloyanis/age-verification-bypass
1•My_Name•40m ago•0 comments

Meta Compute: Everyone Wants to Be a Neocloud

https://newsletter.semianalysis.com/p/meta-compute-everyone-wants-to-be
1•01-_-•40m ago•0 comments

Multi-Cloud DocumentDB Deployment (Kubernetes Operator)

https://github.com/documentdb/documentdb-kubernetes-operator/blob/main/documentdb-playground/mult...
1•mariuz•41m ago•0 comments

Transcribe.cpp

https://blog.mozilla.ai/announcing-transcribe-cpp/
1•Gedxx•43m ago•0 comments

Understanding Latency Hiding on GPUs [pdf]

https://www2.eecs.berkeley.edu/Pubs/TechRpts/2016/Archive/EECS-2016-143.pdf
1•porridgeraisin•43m ago•0 comments

Show HN: Adaptive Feed Reader – read your LinkedIn feed like Hacker News

https://chromewebstore.google.com/detail/adaptive-feed-reader/pccgfmbmlhangeheghhkkcfchoopnglj
1•aalksii•44m ago•0 comments

Show HN: Ordered dithering command-line tool

https://github.com/scascino4/dither
1•scascino4•45m ago•0 comments

A B2B marketing agency grew to $1.5M ARR in 6 months by betting on AI

1•emmanol•45m 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/