frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Ways Rhythm Shapes Our Lives (2023)

https://thereader.mitpress.mit.edu/the-extraordinary-ways-rhythm-shapes-our-lives
1•NaOH•3m ago•0 comments

Where the Romans Fought (interactive map)

https://iosiflazaridis.github.io/battles-of-the-romans/
1•endorphine•3m ago•0 comments

The Question After the Answer: AI prediction and human autonomy

https://aegissolisarchive.org/the-question-after-the-answer/
1•aegissolis•3m ago•0 comments

LimonOS new OS no Unix no Linux

1•DrMoris•5m ago•0 comments

Coma – Paimen (1996) [video]

https://www.youtube.com/watch?v=oHjtmOFrX-k
1•jruohonen•5m ago•0 comments

The Impact of the Great Recession on Mortality: A Dynamic Factor Analysis

https://www.nber.org/papers/w35914
1•paulpauper•6m ago•0 comments

How to promote my non-profit edtech platform?

1•rohansrma•6m ago•0 comments

Human Limits to Growth

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6742738
1•paulpauper•7m ago•0 comments

An American Answer to China's Open Si Models: A Safe Harbor for Open Weights

https://manhattan.institute/article/an-american-answer-to-chinas-open-si-models-a-safe-harbor-for...
1•paulpauper•7m ago•0 comments

AI-Powered Automatic Lockpick Machine [video]

https://www.youtube.com/watch?v=o4AUKGdScNI
1•pingou•8m ago•0 comments

Vibe coding is turning the music gear world upside down

https://www.theverge.com/gadgets/1013493/vibe-coding-ai-music-gear-hacking-custom-firmware
1•larodi•8m ago•1 comments

How Forgotten Website Tags Became a Delivery Network for iPhone Spyware

https://blog.report-uri.com/deadtag-how-forgotten-website-tags-became-a-delivery-network-for-ipho...
1•DeepLogin•9m ago•0 comments

Ink droplets in motion snag top prize in Nikon Small World contest

https://arstechnica.com/science/2026/10/meet-the-2026-winner-of-nikons-small-world-photomicrograp...
1•_Microft•11m ago•0 comments

Em dashes in long Reddit posts rose 9x from 2021 to 2025. In comments, 2x

https://kissmypost.com/research/em-dash-chatgpt-reddit
1•krutytskyi•14m ago•0 comments

ProHoster

https://prohoster.info
1•foundercentralh•15m ago•0 comments

Show HN: tmux source code – Explore the deep C internals

https://libtmux.org/en/tmux/latest/reference/
1•tony•16m ago•1 comments

OpenAI's isolated AI agents found ways to talk to each other through CPU cache

https://the-decoder.com/openais-isolated-ai-agents-found-ways-to-talk-to-each-other-through-cpu-c...
2•SoKamil•17m ago•1 comments

Biometric Voting Technology Cuts Fraud, Tests Trust

https://spectrum.ieee.org/biometric-voting-technology
1•rbanffy•17m ago•0 comments

Show HN: Security Headers Checker

https://companyofcraft.com/security-headers
1•vaibhavacharya•18m ago•0 comments

APC says let there be light, with standards to speed up photonics manufacturing

https://www.nextplatform.com/connect/2026/10/23/apc-says-let-there-be-light-with-raft-of-standard...
1•rbanffy•18m ago•0 comments

Show HN: SecuBuzz – Factual 60-word cybersecurity briefs and CISA zero-day radar

https://secubuzz.com/
1•nisarg-soni•19m ago•0 comments

AI didn't cause the tech jobs bust, but it explains why there's no recovery

https://vithushansylvester.com/writing/the-real-impact-of-ai-on-tech-jobs
2•hacker_v_s•19m ago•1 comments

A 1k-mile cloud on Mars may reveal physics never seen in nature

https://www.wired.cz/clanky/tajemny-mrak-na-marsu-merici-az-1-800-kilometru-odhalil-exoticke-fyzi...
1•rbanffy•20m ago•1 comments

Global Underground CO₂ Storage

https://imperialcollegelondon.github.io/The-London-Register-of-Subsurface-CO2-Storage/
1•geox•23m ago•0 comments

Show HN: Optio – A self-hosted orchestration platform for AI agents

https://optio.host/
1•jawiggins•23m ago•0 comments

Maintenance Futures

https://www.chrbutler.com/maintenance-future
3•delaugust•24m ago•1 comments

Making Emacs code folding unified and consistent

https://jointhefreeworld.org/blog/articles/emacs/emacs-folding-kirigami/
2•jamescherti•25m ago•0 comments

I added offline OCR and text extraction to pdfcpu

https://github.com/huzpsb/pdfcpu2
1•huzpsb•26m ago•0 comments

Show HN: OSS framework to launch Instinct like iMessage assistants

https://github.com/flow-engineer/flow
1•samyakk•27m ago•0 comments

Noyb win: German DPA finds microtargeting by major political parties illegal

https://noyb.eu/en/noyb-win-german-dpa-finds-microtargeting-major-political-parties-illegal
2•dgellow•27m 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/