frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Solid and Clean Code never felt solid or clean to me

https://devz.cl/posts/solid-never-felt-solid/
1•DanielVZ•1m ago•0 comments

Applesauce: Transparent Compression for Apple File System Compression (AFSC)

https://github.com/Dr-Emann/applesauce
2•soheilpro•5m ago•0 comments

After 6 months of delays, Brilliant Labs delays smartglasses again

https://jfloren.net/b/2026/6/30/0
2•floren•5m ago•0 comments

BYD's flagship electric SUV won an anti-motion-sickness certification

https://electrek.co/2026/06/30/byds-flagship-electric-suv-wins-anti-motion-sickness-certification/
1•dabinat•8m ago•1 comments

I need some inspiration for Diploma

3•sky_flower•10m ago•2 comments

Scaling PgBouncer across every core with SO_REUSEPORT and peering

https://clickhouse.com/blog/pgbouncer-clickhouse-managed-postgres
1•cauchyk•11m ago•0 comments

The 'Father of the Internet' is finally retiring

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
2•Brajeshwar•12m ago•0 comments

Statistical Picture of Quantum Mechanics

https://scottlocklin.wordpress.com/2026/06/27/statistical-picture-of-quantum-mechanics/
1•surprisetalk•13m ago•0 comments

GPT-5.6 cheats so much its testers couldn't measure it

https://www.transformernews.ai/p/openai-gpt-56-sol-cheating-scheming-metr
4•shakeelhashim•14m ago•2 comments

Show HN: A simulation of a hybrid pulse-position and duration modulation concept

https://github.com/Morphsec88/vse-compute-over-storage
2•Morphsec88•15m ago•0 comments

Show HN: Do you want a semantic cache for free with zero code changes?

https://github.com/GuglielmoCerri/khazad
1•guglielmoce•17m ago•0 comments

Meta loses bid to dismiss US states' claims that FB, Instagram addict children

https://www.reuters.com/legal/government/meta-loses-bid-dismiss-us-states-claims-that-facebook-in...
3•tartoran•18m ago•0 comments

How To Read Something: The book is a block of wood

https://chillphysicsenjoyer.substack.com/p/how-to-read-something
1•crescit_eundo•20m ago•1 comments

We Can Pay for College Just Changed. What Borrowers Need to Know

https://www.wsj.com/personal-finance/student-loans-repayment-deadline-8bbc06e4
1•JumpCrisscross•20m ago•0 comments

The worst API ever made (2014)

https://caseymuratori.com/blog_0025
1•KomoD•21m ago•0 comments

Wallpaper Engine: Removal of Application Wallpapers from the Workshop

https://store.steampowered.com/news/app/431960/view/699894448411116924
1•haunter•21m ago•0 comments

We're Making an Open Source American Kei Truck [video]

https://www.youtube.com/watch?v=tlZlyp55dww
1•abetusk•22m ago•1 comments

AOL Owner to Go Public at over $18B Valuation

https://www.wsj.com/finance/stocks/aol-owner-to-go-public-at-over-18-billion-valuation-d00f302c
2•JumpCrisscross•22m ago•0 comments

HamsterOS jams a 32-bit GUI operating system in a single 1.44 MB floppy disk

https://www.tomshardware.com/video-games/retro-gaming/hamsteros-jams-a-32-bit-gui-operating-syste...
2•LorenDB•23m ago•0 comments

Ozone depletion began decades before discovery of ozone hole

https://news.mit.edu/2026/scientists-find-ozone-depletion-began-decades-before-ozone-hole-discove...
1•gmays•23m ago•0 comments

What's holding up the rollout of persistent domain validation for ACME?

https://www.turbolightsolutions.com/posts/dns-persist-01-rollout-blocked-by-security-issue/
2•keydown•25m ago•0 comments

The Origin of Tweet (2013)

https://furbo.org/2013/06/28/the-origin-of-tweet/
1•downbad_•26m ago•0 comments

More Americans Are Installing Residential Battery Storage

https://www.bloomberg.com/news/articles/2026-07-01/us-home-battery-installations-boosted-by-state...
1•toomuchtodo•26m ago•1 comments

Kim Dotcom Loses Court of Appeal Bid to Block Extradition to the U.S.

https://torrentfreak.com/kim-dotcom-loses-court-of-appeal-bid-to-block-extradition-to-the-u-s/
6•Brajeshwar•26m ago•2 comments

Optimization tales with CockroachDB: the slow logout

https://gaultier.github.io/blog/optimization-tales-cockroachdb-part2-slow-logout.html
1•broken_broken_•27m ago•0 comments

In Praise of Observational Evidence

https://asteriskmag.com/issues/14/in-praise-of-observational-evidence
1•fi-le•28m ago•0 comments

A small island in Estonia negotiated special rights

https://news.err.ee/1610067196/ruhnu-residents-sought-to-join-sweden-after-estonia-regained-indep...
1•NalNezumi•28m ago•0 comments

Why changing your productivity system is good

https://birchtree.me/blog/why-changing-your-productivity-system-is-good-actually/
1•surprisetalk•28m ago•0 comments

How We Made IPFS Content Publishing 10x Faster

https://probelab.io/blog/optimistic-provide/
3•dennis-tra•28m ago•0 comments

AI-native workflows have a moat problem

https://ai.gopubby.com/ai-native-workflows-have-a-moat-problem-49992bcc3088
1•oddish-tv•29m 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/