frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Dipstick – A new way to DI in TS

https://github.com/mako-taco/dipstick
1•xxiem•3h ago
For whatever reason, every attempt at DI in this language that I've found over the last few years is more-or-less a port of an existing DI framework for languages like C# or Java/Kotlin, but they leave a lot to be desired. JS doesn't have TS types at runtime, so these frameworks tend to hack around that idea by muddying up source code with `@Decorators` or creating unique tokens to represent types. I personally find these hacks to be pretty ugly. What's worse, they violate the principle of least surprise (especially for devs who aren't familiar with DI), and they often result in code that's not type-safe!

Dipstick takes a totally different approach, which leverages the type system and code generation.

- Simple. There are only two concepts to learn about: Modules and Bindings. - Obvious. Want to see where a class is instantiated? Let your IDEs tools do the work. No tricky reflection or abstraction here -- just readable, generated code. - Modular. Define multiple modules and compose them together to keep code organized.

The framework is still really young, and currently only supports classes (boo), but if it gets some traction, I will update it to support injecting functions or other literal values.

I'd really love some feedback to make this thing better!

Surrealdb

https://surrealdb.com
1•handfuloflight•25s ago•0 comments

UK launched operation to find suspected Russian double agent in MI6

https://www.theguardian.com/uk-news/2025/jun/27/uk-spy-operation-wedlock-suspected-russian-double-agent-mi6
1•mellosouls•55s ago•0 comments

Honey bees sniff-out landmines at the University of Montana

https://matr.net/news/honey-bees-sniff-out-landmines-at-the-university-of-montana/
1•JumpCrisscross•1m ago•0 comments

Big business is abandoning its climate goals

https://www.bloomberg.com/features/2025-corporate-climate-broken-promises/
1•melling•2m ago•0 comments

Show HN: Jurnit – Turn your passion into playable missions

https://www.jurnit.app/
1•cyexxad•3m ago•0 comments

China's AI Industrial Policy

https://www.high-capacity.com/p/chinas-ai-industrial-policy
1•RetiredRichard•5m ago•0 comments

Automated Discovery of High-Performance GPU Kernels with OpenEvolve

https://huggingface.co/blog/codelion/openevolve-gpu-kernel-discovery
1•codelion•11m ago•0 comments

Ask HN: A weird vesting term in not-USA country

1•ayjay_t•15m ago•0 comments

Show HN: A Comprehensive List of Top AI Image Tools

https://aiex.me/top-ai-image-tools
1•zack119•26m ago•0 comments

A Loved One Was Diagnosed with Dementia. Now What?

https://www.nytimes.com/2025/06/25/well/family/dementia-diagnosis-advice.html
1•whack•37m ago•0 comments

A Children's Book in a Happiness Program for College Students

https://childrensbookforall.org/activities/knc-college
1•chbkall•43m ago•1 comments

Rádio Starthits

https://stream-176.zeno.fm/k0fka0zkmxhvv?zt=eyJhbGciOiJIUzI1NiJ9.eyJzdHJlYW0iOiJrMGZrYTB6a214aHZ2IiwiaG9zdCI6InN0cmVhbS0xNzYuemVuby5mbSIsInJ0dGwiOjUsImp0aSI6ImVwcTdHRThjU3JHZzRLbVVzWC1uS0EiLCJpYXQiOjE3NDc4OTQ3MDcsImV4cCI6MTc0Nzg5NDc2N30.PxDtwuCbiFKQok1xoXA8dJxlUos2LKSIBLAeyWIxyDs
1•Starthits•44m ago•0 comments

OmniGen2

https://github.com/VectorSpaceLab/OmniGen2
1•handfuloflight•45m ago•0 comments

Apple's Other 'F1 the Movie' In-App Promotions

https://www.macrumors.com/2025/06/27/f1-the-movie-now-playing-in-theaters/
1•Bogdanp•48m ago•1 comments

Turn your raw ideas into actionable specifications

https://news.ycombinator.com/ask
1•normadia•51m ago•1 comments

Flow Match Statements

https://github.com/facebook/flow/blob/main/tests/match_exhaustive/basic.js
2•cod1r•53m ago•0 comments

Engineer Unlocks Hidden Photo in Power Mac ROM After 27 Years

https://digitrendz.blog/newswire/technology/21664/engineer-unlocks-hidden-photo-in-power-mac-rom-after-27-years/
1•cyberwaj•54m ago•1 comments

Food structure plays key role in which gut hormones are released

https://www.imperial.ac.uk/news/265333/food-structure-plays-role-which-hormones/
1•gmays•55m ago•0 comments

Scientists achieve shortest hard X-ray pulses to date

https://phys.org/news/2025-06-scientists-shortest-hard-ray-pulses.html
1•PaulHoule•58m ago•0 comments

Ask HN: What's the hardest/most interesting thing you've used AI to code?

1•ozb•1h ago•0 comments

It's Known as 'The List'–and It's a Secret File of AI Geniuses

https://www.wsj.com/tech/meta-ai-recruiting-mark-zuckerberg-openai-018ed7fc
4•sonabinu•1h ago•2 comments

Facebook is starting to feed its AI with private, unpublished photos

https://www.theverge.com/meta/694685/meta-ai-camera-roll
5•pier25•1h ago•1 comments

10 Myths of Scalable Parallel Languages, Part 3: New vs. Extended

https://chapel-lang.org/blog/posts/10myths-part3/
3•matt_d•1h ago•0 comments

Visible

https://visible.vc/
1•handfuloflight•1h ago•0 comments

VMware perpetual license holder receives audit letter from Broadcom

https://arstechnica.com/information-technology/2025/06/vmware-perpetual-license-holder-receives-audit-letter-from-broadcom/
1•hilux•1h ago•1 comments

Cross-Compiling Common Lisp for Windows

https://www.fosskers.ca/en/blog/cl-windows
5•todsacerdoti•1h ago•0 comments

Jane Austen's Boldest Novel Is Also Her Least Understood

https://www.nytimes.com/2025/06/27/books/review/jane-austen-mansfield-park.html
3•lermontov•1h ago•1 comments

Guidelines for buildable and testable code examples

https://pigweed.dev/docs/contributing/docs/examples.html
3•kaycebasques•1h ago•0 comments

Go is an 80/20 language

https://blog.kowalczyk.info/article/d-2025-06-26/go-is-8020-language.html
4•todsacerdoti•1h ago•0 comments

Converging AI and HPC: Design and Optimization of a CGRA Architecture [pdf]

https://cogarchworkshop.org/assets/papers/paper_3.pdf
3•matt_d•1h ago•0 comments