frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

What if you could have AI applied to your brain?

1•whiteangel1984•15s ago•0 comments

OpenLoco, a remake of the 1998 classic game Lego Loco

https://github.com/AlexSDevDump/OPEN-LOCO
1•mschuster91•44s ago•1 comments

Show HN: The missing clipboard history for macOS that idles at 16 MB

https://roush.io/paste-buff
1•jjroush•1m ago•0 comments

What would be effective ways to market our SaaS application

https://statusentry.com/
1•elfingman•1m ago•1 comments

The AI Trade Is Shifting from Chip Stocks to Cybersecurity

https://www.barrons.com/articles/ai-chip-stocks-cybersecurity-crowdstrike-palo-alto-056aaea8
1•m348e912•3m ago•0 comments

Local inferencing in one JVM JAR, dependency free, faster than llama.cpp

https://qxotic.ai/
1•mike_hearn•5m ago•0 comments

I Met Cixin Liu on Three Body day today. New movie is coming

https://chinastay.org/beyond-tourist/i-met-cixin-liu-three-body-day-beijing-zhang-yimou-movie/
1•3Sophons•6m ago•1 comments

The complete history of the PC game Civilization, as told by Sid Meier [video]

https://www.youtube.com/watch?v=SdfxTXCw15s
2•embedding-shape•8m ago•0 comments

iPhone Duo Preorders Face Months-Long Waits, Walk-Ins Get Phones on Launch Day

https://www.gadgetreview.com/apples-iphone-duo-preorder-customers-face-months-long-waits-while-wa...
1•PicardManeuver•9m ago•1 comments

A Love Letter to the Super Dimension Fortress

https://brennan.day/a-love-letter-to-the-super-dimension-fortress/
1•Tomte•11m ago•0 comments

Why is AI generated language so hard to understand?

https://arxiv.org/abs/2610.29162
2•canjobear•12m ago•0 comments

I created an selfimproment AI predictions site for soccer

https://road2sushi.com/
1•hackywacker•12m ago•0 comments

Show HN: AI Trend Video – Put your photo into viral AI video templates

https://aitrendvideo.net
1•hashkitly•13m ago•1 comments

Norwegian AI Championship 2027

https://ainm.no/
1•whirlwin•15m ago•1 comments

Show HN: A Platform to Find Essays, personally recommended to you

https://essaypod.com/
1•Lithuanian•15m ago•1 comments

Show HN: Mailrelay – Email to Webhook in Minutes

https://github.com/gowthamgts/mailrelay
1•gowthamgts12•15m ago•0 comments

For the next two weeks, we're covering $1M in security scans and fixes

https://www.coderabbit.ai/blog/one-million-security-scans-and-fixes
1•smb06•18m ago•1 comments

The first broken iPhone Duos are here

https://www.theverge.com/tech/1017623/iphone-duo-broken-cracked-screen
5•thm•19m ago•0 comments

Systemd Merges Support for Rust Programs

https://www.phoronix.com/news/systemd-Merges-Rust-Programs
2•Bender•22m ago•0 comments

Prompt injection scanners should be positional, not phrasal

https://attest.rta.lat/article
1•vnutrivas•22m ago•0 comments

Linux's Early Boot-Time Physical Memory Allocator Big Speed-Up: ~268s to ~50ms

https://www.phoronix.com/news/Linux-7.4-memblock
1•Bender•22m ago•0 comments

There's a third PHP2Shell bug, but it won't get an emergency fix

https://www.theregister.com/security/2026/10/23/theres-a-third-php2shell-bug-but-it-wont-get-an-e...
1•Bender•23m ago•0 comments

Forget Live Aid, Africa is only a broken continent in the minds of the West

https://www.theguardian.com/global-development/2026/oct/24/forget-the-live-aid-image-africa-is-on...
2•prmph•24m ago•0 comments

I built a livestream where you can control a $4k 7-DOF Robot [video]

https://www.youtube.com/watch?v=uSrAc9nv_do
1•adrianmed•25m ago•0 comments

Why Gen Z teens are in no rush to get their driver's licenses

https://www.nytimes.com/2026/10/24/style/drivers-license-gen-z-teens-learners-permit.html
1•scruple•26m ago•2 comments

Omni Magazine Archive 1978-1995

https://archive.org/details/omni-archive
1•bookofjoe•26m ago•0 comments

Relation as a Service

https://medium.com/@smoking2man/relation-as-a-service-generative-replicas-of-a-person-and-the-tra...
1•Aldus551•28m ago•0 comments

Where did my freed memory (not) go?

https://yapfast.com/blog/where-did-my-freed-memory-go/
1•theanonymousone•29m ago•0 comments

I Replaced 50 PHP Workers with One Go Process

https://sentinel.rootstuff.io/blog/laravel-edge-workers-to-go-probes
2•rootstuff•31m ago•0 comments

Italy's Generali cuts around 800 jobs in Germany

https://www.reuters.com/business/world-at-work/italys-generali-cuts-around-800-jobs-germany-2026-...
1•frank_clover•32m 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/