开发者
编程技术、框架工具、最佳实践
共 7459 篇 · 第 311/373 页
The Shift in Peering Threatening the Internet's Foundations
Show HN: Courtside – TUI for NBA Games
Hi HN, I made this after seeing a few similar projects on the front page. NBA API endpoints are public and there’s a pretty robust python package ( https://github.com/swar/nba_api ) that I referenced for the endpoint structure to build an sdk in go. used BubbleTea and LipGloss for styling. It was a bit tricky to test the live endpoints but I watched Friday’s Final game with this and it worked pretty well playball - https://news.ycombinator.com/item?id=45451577 faceoff - https://news.ycombinator.
Nordstjernen 1.0
Ithaca is a mysterious road-trip RPG from Bury Me, My Love studio Pixel Hunt
Ithaca asks how far will players go to save the planet.
Best Running Shoes, Tested and Reviewed (2026): Saucony, Adidas, Hoka
We logged thousands of test miles to bring you the best running shoes for every pace, ability, and running goal.
Dutch solar owners asked to switch off during peak to ease distribution crisis
Warren's Abstract Machine: A Tutorial Reconstruction
Texas is America Inc's new centre of gravity
How I Built and Published a .NET NuGet Package for the Giant SMS API
A while back, I needed to integrate SMS into a .NET project. Giant SMS had a REST API, but no official .NET client. The only existing library was a PHP one from 6–7 years ago, and it only covered two methods: send and getBalance. So I built my own. It now has nearly 2,000 downloads on NuGet. Here's exactly how I did it. The Problem Wiring up raw HTTP calls to the Giant SMS API in every project gets repetitive fast: Manually setting Authorization headers Remembering which endpoints use token auth vs. username/password Deserializing responses every time Scattering credentials across your codebase I wanted something that felt native to .NET. Configure once in appsettings.json , register with DI, and just call a method. Designing the Public API The first decision was the interface. I wanted consumers to never touch HttpClient directly, and I wanted methods that mapped clearly to what the API actually does: public interface IGiantSmsService { bool IsReady { get ; } Task < SingleSmsResponse > SendSingleMessage ( string to , string msg ); Task < SingleSmsResponse > SendMessageWithToken ( SingleMessageRequest messageRequest ); Task < BaseResponse > SendBulkMessages ( BulkMessageRequest messageRequest ); Task < SingleSmsResponse > CheckMessageStatus ( string messageId ); Task < BaseResponse > GetBalance (); Task < SenderIdResponse > GetSenderIds (); Task < BaseResponse > RegisterSenderId ( RegisterSenderIdRequest senderIdRequest ); } Seven methods, the full surface of the API, no more, no less. The IsReady property is a small but useful addition. It lets consumers do a quick sanity check at startup rather than discovering a missing token on the first SMS send: csharp _isReady = !string.IsNullOrWhiteSpace(_connection.Token) && !string.IsNullOrWhiteSpace(_connection.Username); Handling Two Auth Methods This was the most interesting design challenge. The Giant SMS API uses two different authentication schemes depending on the endpoint: Token-based (Basic Authorization header) —
Tribute to Jiro Yamada, Automotive Artist (1960-2025) [video]
P/E Tells You the Price. Reality Gap Tells You the Delusion
Where modern PHP stands in 2026: deployment, architecture, typing, and concurrency
Hello everyone, PHP comes up here from time to time, and I've noticed the discussion is usually based on what the language looked like 5+ years ago. Since I work with it every day and have genuinely come to enjoy it, I wrote a short article recapping where it actually stands today. It covers modern deployment (FrankenPHP, Docker), software architecture (modular monoliths, the Symfony kernel, agents), the type system and its tooling (PHPStan, PHP CS Fixer), and the state of concurrency (ReactPHP, Swoole, the True Async RFC). Full article: https://morice.live/posts/your-next-project-will-run-on-php/ Let me know if I missed anything, or if you'd like me to go deeper on a specific topic! submitted by /u/andre_ange_marcel [link] [留言]
Partitions over Permutations
What Dogs See That We Can't
Brave is charging $60 to remove features it added in the first place
Internet Age-Gates Are a Growing Global Threat
Small modular nuclear reactor reaches criticality in first test
The reactor, from a startup called Antares, isn't ready to generate power yet.