frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Palantir loses lawsuit disputing story of how Swiss govt rejected its services

https://www.theguardian.com/technology/2026/jun/13/palantir-loses-legal-challenge-to-force-swiss-...
3•Geekette•8m ago•0 comments

Show HN: DNSweep – DNS lookup with ASN, anycast, and CDN/WAF detection

https://dnsweep.com
1•layer7_ethan•11m ago•0 comments

A Lean 4-verified Balansis lib to eliminate NaN and make zero-division safe

https://github.com/XTeam-Pro/Balansis
1•AndrewHakmi•16m ago•0 comments

Charlie Dalin, Who Set a Sailing Record While Battling Cancer, Dies at 42

https://www.nytimes.com/2026/06/12/sports/sailing/charlie-dalin-dead.html
1•iancmceachern•16m ago•0 comments

Gene Shalit, longtime 'Today' show movie critic, dies at 100

https://apnews.com/article/gene-shalit-dies-b8ed6f4b7054e530e5fba9a808902cca
2•petethomas•21m ago•0 comments

Elon Musk becomes first trillionaire

https://www.bbc.com/news/articles/c4gypy3wwl7o
4•tonyhart7•30m ago•1 comments

Text/Plain Blog

https://textplain.blog/
2•flykespice•31m ago•0 comments

OpenHands Index

https://index.openhands.dev/home
1•jmj•32m ago•0 comments

Let's call 'em "aigents"

https://www.autodidacts.io/aigents/
1•Curiositry•41m ago•0 comments

Dhtmlx Gantt – JavaScript Gantt Chart (Community Edition)

https://github.com/DHTMLX/gantt
1•thunderbong•42m ago•0 comments

CipherNode – An offline, self-correcting AI swarm compiled to a single .exe

1•CipherNode•43m ago•0 comments

China cracks down on Western AI models while US companies flock to DeepSeek

https://www.techradar.com/pro/the-great-ai-irony-china-cracks-down-on-western-models-while-us-com...
4•giuliomagnifico•44m ago•0 comments

Forbes declares Elon Musk as the world’s first trillionaire

https://www.forbes.com/sites/pr/2026/06/12/forbes-declares-elon-musk-as-the-worlds-first-trillion...
2•teleforce•46m ago•4 comments

A generic dynamic array in C that stores no capacity and needs no struct

https://gist.github.com/alurm/2ca14be134d719fe7431217a6b18d91e
1•alurm•46m ago•0 comments

TempleOS running in the browser with custom emulator

https://templeosweb.netlify.app/
1•AndrewPakrerH•48m ago•1 comments

Fred-80 – a fantasy console that runs on real Amiga hardware (68080 CPU)

https://medium.com/@fred80/i-built-a-fantasy-console-for-my-son-and-it-runs-on-real-amiga-hardwar...
2•rogueparticle•52m ago•0 comments

Streamlit

https://godsway-academy.streamlit.app
1•lmg_lockdown•54m ago•0 comments

Michelangelo's Prisoner Graffiti

https://www.thehistoryblog.com/archives/date/2013/06/30
1•thunderbong•59m ago•0 comments

Show HN: Lead Qualifier – Get leads qualified in minutes

https://lead.robowrite.ai
2•mehdizare•59m ago•0 comments

Kimi-K2.7-Code

https://twitter.com/Kimi_Moonshot/status/2065377579130142937
2•hisamafahri•59m ago•1 comments

Agentic-Engineering-Handbook

https://github.com/keyuchen21/agentic-engineering-handbook
1•keyuchen2020•1h ago•0 comments

Emerging Security Risks in Quantum Computing

https://myassineferjani.substack.com/p/beyond-post-quantum-cryptography
1•FMY_Q•1h ago•0 comments

Show HN: WebCLI – make the web browser just another agent skill

https://github.com/DO-SAY-GO/web-cli
2•keepamovin•1h ago•0 comments

Show HN: Babel realtime calls with strangers in any language

https://itsbabel.com
1•epsteingpt•1h ago•0 comments

Mythos, make me a pelican on a bicycle (in 3D)

https://www.cad.fun/?file=implicits%2Fpelican-bicycle.implicit.js
1•softservo•1h ago•2 comments

Make any classic ROM online multiplayer and use phones as controllers

https://doot.games/game/retro-arcade
1•virgilvox•1h ago•0 comments

SpaceX starts trading, and some 'shareholders' discover they own nothing at all

https://fortune.com/2026/06/12/spacex-ipo-when-trading-starts-some-shareholders-will-discover-the...
4•MilnerRoute•1h ago•0 comments

Patagonia is suing Pattie Gonia, a drag queen performer

https://apnews.com/article/patagonia-trademark-pattie-gonia-climate-e479a32a66c1d8c6dae95936b401984a
1•petethomas•1h ago•0 comments

I spent my savings building a food logging app because none worked

https://apps.apple.com/us/app/food-tracker-macro-mealsnap/id6475162854
1•phenrys•1h ago•1 comments

Research Is Not Engineering at a Slower Speed

https://voiceinthemachine.com/2026/06/10/research-is-not-engineering-at-a-slower-speed/
1•pabo•1h 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/