frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Ethics Issue of AI-Assisted Creation

https://im.not.ci/ai-creator-ethic/
1•uneven9434•12m ago•0 comments

Professional cyclists can top 100 km/h. But safety has not kept pace

https://www.cbc.ca/lite/story/9.7345287
1•colinprince•15m ago•0 comments

Clean, 1P-verified Walmart and Target catalog with preserved UPCs

https://github.com/FluffyTeddyBear12/us-retail-product-dataset
1•jimmied1213•16m ago•0 comments

Line-Rate Post-Quantum Byzantine Consensus via L1D Balanced Ternary

https://github.com/leadpiperl1/ternary-consensus-mesh
1•leadpiperl1•16m ago•0 comments

Scott Jenson: Are we going to use the same Desktop UX forever? [video]

https://www.youtube.com/watch?v=V7AfAcQwLW0
2•tripdout•47m ago•1 comments

RSA-896

https://saweis.net/posts/rsa-896.html
19•madars•51m ago•2 comments

Lattice enumeration: O(R^N) complexity reduced to O(R^2) with no floating point

https://github.com/Andrew-J-Morris/orthotropic-parity-and-discrete-pi
1•MorrisAndrewJ•53m ago•0 comments

Using system-one models inside high-throughput data pipelines

https://www.southbridge.ai/blog/jev-entity-resolution
2•hrishi•56m ago•0 comments

TanStack supply-chain attack exposed ~170 private CrowdSec repos

https://www.crowdsec.net/blog/tanstack-supply-chain-attack-analysis
6•fourfire•1h ago•1 comments

Is It a Flatpak? Is It an AppImage? No It's AppJail

https://www.youtube.com/watch?v=EBSMHBC0Phc
2•DtxdF•1h ago•1 comments

AI Bubble: 'They're coming to the end of this' – Eli the Computer Guy [video]

https://www.youtube.com/watch?v=0YIczZDCgsM
3•baranul•1h ago•0 comments

Show HN: Bastardica – Create bastard web fonts

https://bastardica.mitpit.com
2•MitPitt•1h ago•0 comments

Comparing reflection capabilities of C++, Zig and C3

https://nyr24.github.io/blog/reflection-comparison/
7•ManuLinares•1h ago•2 comments

Do you separate the reviewer's window from the author's

4•Marvin_RunAI•1h ago•1 comments

The Giza Project

https://giza.fas.harvard.edu/
2•Mr_Minderbinder•1h ago•0 comments

Why are AI leaders calling for a slow down? [audio]

https://www.cbc.ca/listen/cbc-podcasts/209-front-burner/episode/16237327-why-are-ai-leaders-calli...
1•BiraIgnacio•1h ago•0 comments

End the H-1B Program

https://end-h1b.com/
15•sergiotapia•1h ago•17 comments

A2E AI – an all-in-one AI video generator for text, images and avatars

https://textideo.com/model/a2e-ai
1•Yummiy•1h ago•0 comments

Pdfcn: Beautiful pdf components, built on Takumi and Forme, by Shadcn

https://github.com/shadcn-labs/pdfcn
4•nateb2022•1h ago•1 comments

Open-source free meme generator, friendly for AI agents and humans

https://github.com/terryds/memegenscript
2•terryds•1h ago•2 comments

Pure Code: What remains with developers after AI writes the code?

https://pure-code-essay.vercel.app/
3•kofdai•1h ago•0 comments

Ask HN: Are LLMs the antithesis of Hegel's universal spirit?

1•Avicebron•1h ago•0 comments

How to handle manager adding AI bs to our codebase/designs etc.

4•LandOfMightDev•1h ago•2 comments

Lisp.md: System Instructions for Lisp

http://funcall.blogspot.com/2026/09/lispmd-system-instructions-for-lisp.html
1•prestonlibby•1h ago•0 comments

How the Berkeley Overmind won the 2010 StarCraft AI competition (2011)

https://arstechnica.com/gaming/2011/01/skynet-meets-the-swarm-how-the-berkeley-overmind-won-the-2...
2•promiseofbeans•1h ago•1 comments

Portable Fruit Blender

https://www.instructables.com/Portable-Fruit-Blender/
1•sudo_cowsay•2h ago•0 comments

Trump to Name AI Czar While Rejecting Safety Risks as a Hoax

https://www.bloomberg.com/news/articles/2026-09-19/trump-to-name-ai-czar-while-rejecting-safety-r...
4•sbulaev•2h ago•0 comments

PhotoGIMP – The Photoshop Like Experience on GIMP

https://photogimp.com/
2•the-mitr•2h ago•0 comments

Bret Victor: Inventing on Principle (2012) [video]

https://vimeo.com/906418692
1•anpep•2h ago•0 comments

The National ID Nobody Voted For

https://thedreydossier.substack.com/p/the-national-id-nobody-voted-for
5•kickofline•2h 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/