frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

JPEG-XL Libjxl 0.12 Brings More Performance Optimizations

https://www.phoronix.com/news/JPEG-XL-libjxl-0.12
1•Bender•1m ago•0 comments

Lean 4 software scaling laws

https://gwern.net/lean-scaling
1•yuppiemephisto•1m ago•0 comments

Show HN: A 155K-param transformer builds a map of a world it's never shown

https://ankur-chr.github.io/inside-the-model/
2•ankurchrungoo•2m ago•0 comments

Archivegenocide.com: view the footage collected from Gaza in one place

https://archivegenocide.com/
3•lorecore•4m ago•1 comments

OpenNotetaker for Hinglish Meetings

1•IsomerX•5m ago•0 comments

Consult-LLM – A second opinion from another model right in your existing agent

https://github.com/raine/consult-llm
1•tiahura•6m ago•0 comments

Show HN: Mirrors – test AI agent changes by replaying real production traces

https://www.runmirrors.com/
3•aisinghal•7m ago•0 comments

Climon – A web dashboard for your CLI sessions, reachable from your phone

https://github.com/jackgeek/climon
1•jackgeek•8m ago•0 comments

Yahnc with previews – a visual hcker.news reader

https://hn.is-ai-good-yet.com/?view=frontpage
3•ilyaizen•13m ago•0 comments

Matrix Multiplication on Blackwell

https://www.modular.com/blog/matrix-multiplication-on-nvidias-blackwell-part-1-introduction
2•skidrow•14m ago•0 comments

Zuckerberg says Meta's bets on reorganization 'haven't come to fruition'

https://www.youtube.com/watch?v=uUJBRX_SkIc
5•root-parent•14m ago•0 comments

I used I-JEPA to generate SVG's and here is my code

https://www.reddit.com/r/artificial/s/1cY8WltbPq
1•haghiri75•15m ago•0 comments

CalyxOS is back

https://lwn.net/Articles/1081038/
2•pluc•15m ago•0 comments

This Month in Ladybird – June 2026

https://ladybird.org/newsletter/2026-06-30/
3•exploraz•16m ago•0 comments

Artemis II Nikon Z9 images reveal details about the Sun's F-corona structure

https://petapixel.com/2026/07/02/artemis-iis-nikon-z9-was-way-more-important-for-science-than-exp...
1•whiteblossom•16m ago•0 comments

Ask HN: Who is hiring freelance developers?

1•azghanvi•16m ago•0 comments

Fedora 45 Considering x86_64 Shadow Stack Usage by Default

https://www.phoronix.com/news/Fedora-45-Consider-Shadow-Stack
1•Bender•20m ago•0 comments

Artificial Intelligence and Engels' Pause

https://www.ft.com/content/daab10e0-fde8-4de0-9d46-a597d59b503d
1•tcp_handshaker•21m ago•1 comments

West Nile virus detected in mosquitoes from these 8 Orange County cities

https://ktla.com/news/california/west-nile-virus-detected-mosquitoes-orange-county/
2•Bender•21m ago•0 comments

Startup JetZero builds novel plane to take on Airbus and Boeing

https://www.reuters.com/business/media-telecom/mojave-desert-startup-jetzero-builds-novel-plane-t...
1•bushwart•22m ago•0 comments

PJM Grid – Live Dashboard and Price Map

https://www.gridstatus.io/live/pjm
2•kmax12•25m ago•0 comments

Kalamazoo parents say pacifiers they bought off Amazon were used

https://www.wzzm13.com/article/news/local/kalamazoo-parents-say-pacifiers-they-bought-off-amazon-...
2•josephcsible•26m ago•0 comments

FlashAttention-4: Algorithm and Kernel Pipelining

https://research.colfax-intl.com/flashattention-4-algorithm-and-kernel-pipelining-co-design-for-a...
1•skidrow•27m ago•0 comments

Show HN: NEUX A daily brief on Europe's critical industries

https://neuxresearch.com/
1•sebmnt•28m ago•0 comments

Millions told to check their sunscreen experts reveal products may not be safe

https://www.dailymail.com/sciencetech/article-15948125/sunscreen-ingredients-oxbenzone-octinoxate...
2•Bender•30m ago•0 comments

Automatic Kubernetes workload resource adjuster

https://github.com/Tight-Line/ballast
2•nickmarden•34m ago•1 comments

'Weird Al' Yankovic Pulled Out of AI Ad

https://variety.com/2026/music/news/weird-al-yankovic-rejected-ai-commercial-money-offer-1236800794/
6•cdrnsf•35m ago•0 comments

Show HN: Fin – a TUI Jellyfin client powered by mpv with Chromecast support

https://github.com/tsirysndr/fin
2•tsiry•35m ago•0 comments

FBI field offices send analysts to Atlanta for 2020 election investigation

https://www.cbsnews.com/news/fbi-orders-field-offices-analysts-atlanta-election-investigation/
4•petethomas•37m ago•0 comments

U.S. Officials Believed Israel Was Plotting to Kill Iranian Negotiators

https://www.nytimes.com/2026/07/02/us/politics/israel-iran-negotiators-plot.html
17•MilnerRoute•38m ago•1 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/