Reddit Programming
210 subscribers
1.22K photos
124K links
I will send you newest post from subreddit /r/programming
Download Telegram
I combined ZetaMac and MonkeyType into the best quick math game. Go try it!
https://www.reddit.com/r/programming/comments/1o3d9mx/i_combined_zetamac_and_monkeytype_into_the_best/

<!-- SC_OFF -->Hey everyone! I built a small side project that mixes the speed-typing flow of MonkeyType with the fast mental-math drills of ZetaMac. It’s a browser-based game that challenges your arithmetic speed while keeping that clean, minimal typing-practice aesthetic. Built with React, Next.js, Node, and TypeScript, it runs smoothly right in your browser, no signup needed but you can create an account to track your progress and stats. If you enjoy zetamac, monkeytype, puzzles, or a future quant, please give it a try! Feedback is super welcome and I will be trying to update this frequently, and if you like it please drop a star on the repo, I would really appreciate it. <!-- SC_ON --> submitted by /u/Chance-Protection366 (https://www.reddit.com/user/Chance-Protection366)
[link] (https://github.com/DDVHegde100/monkeymac) [comments] (https://www.reddit.com/r/programming/comments/1o3d9mx/i_combined_zetamac_and_monkeytype_into_the_best/)
Bun 1.3 is here
https://www.reddit.com/r/programming/comments/1o3pvk5/bun_13_is_here/

<!-- SC_OFF -->Bun v1.3 adds builtin Redis & MySQL clients, Node.js compatibility improvements and an incredibly fast frontend dev server. here (https://www.youtube.com/watch?v=tk7qTNW5g0c)'s the video link if the embed doesn't work for you <!-- SC_ON --> submitted by /u/mahdi_lky (https://www.reddit.com/user/mahdi_lky)
[link] (https://www.youtube.com/watch?v=tk7qTNW5g0c) [comments] (https://www.reddit.com/r/programming/comments/1o3pvk5/bun_13_is_here/)
Rust 🦀 for french speaker's
https://www.reddit.com/r/programming/comments/1o3xp2o/rust_for_french_speakers/

<!-- SC_OFF -->As always, technologies arrive late to the Francophone sector due to a lack of resources, and I faced this when I started with Rust🦀. It wasn't easy. That's why I decided to create a comprehensive, free Rust🦀 training course in French, allowing many people in the Francophone community to get started easily. I need your feedback and criticism to improve the quality and relevance of my content, if needed. <!-- SC_ON --> submitted by /u/Hefty_Cap_4813 (https://www.reddit.com/user/Hefty_Cap_4813)
[link] (https://youtube.com/@rustspeak_mastery?si=-AmWhpUTDX68-RUT) [comments] (https://www.reddit.com/r/programming/comments/1o3xp2o/rust_for_french_speakers/)
Practical Guide to Production-Grade Observability in the JS ecosystem
https://www.reddit.com/r/programming/comments/1o3yxmj/practical_guide_to_productiongrade_observability/

<!-- SC_OFF -->Full Article Link (https://medium.com/@tanmay.bansal20/your-console-log-is-useless-a-guide-to-production-grade-observability-in-node-js-3ae067233ef7?sk=903e75f1e8998a0e09dcaffa5f7bae12) Stop debugging your Node.js microservices with console.log. A production-ready application requires a robust observability stack. This guide details how to build one using open-source tools. 1. Correlated, Structured Logging Don't just write string logs. Enforce structured JSON logging with a library like pino. The key is to make them searchable and context-rich. Technique: Configure pino's formatter to automatically inject the active OpenTelemetry traceId and spanId into every log line. This is a crucial step that links your logs directly to your traces, allowing you to find all logs for a single failed request instantly. Production Tip: Implement automatic PII redaction for sensitive fields like user.email (http://user.email/) or authorization headers to keep your logs secure and compliant. 2. Deep Distributed Tracing Go beyond just knowing if a request was slow. Pinpoint why. Use OpenTelemetry to automatically instrument Express and native HTTP calls, but don't stop there. Technique: Create custom spans around your specific business logic. For example, wrap a function like OrderService.processOrder in a parent span, with child spans for calculateShipping and validateInventory. This lets you see bottlenecks in your own application code, not just in the network. 3. Critical Application Metrics Metrics are your system's real-time heartbeat. Use prom-client to expose metrics to a system like Prometheus for monitoring and alerting. Technique: Don't just track CPU and memory. Monitor Node.js-specific vitals like Event Loop Lag. A spike in this metric is a direct, undeniable indicator that your main thread is blocked, making it one of the most critical health signals for a Node application. The full article provides a complete, in-depth guide covering the implementation of this entire stack, with TypeScript code snippets, setup for advanced sampling, and how to fix broken trace contexts. <!-- SC_ON --> submitted by /u/Paper-Superb (https://www.reddit.com/user/Paper-Superb)
[link] (https://medium.com/@tanmay.bansal20/your-console-log-is-useless-a-guide-to-production-grade-observability-in-node-js-3ae067233ef7?sk=903e75f1e8998a0e09dcaffa5f7bae12) [comments] (https://www.reddit.com/r/programming/comments/1o3yxmj/practical_guide_to_productiongrade_observability/)
Talking Postgres podcast: The Fundamental Interconnectedness of All Things with Boriss Mejías
https://www.reddit.com/r/programming/comments/1o45hpl/talking_postgres_podcast_the_fundamental/

<!-- SC_OFF -->I just published a podcast episode with guest Boriss Mejías (systems engineer, solutions architect, teacher, musician) about the methodologies he uses to tackle complex database issues. The topic: The Fundamental Interconnectedness of All Things. Douglas Adams fans will recognize the idea: look holistically at a system, not just at piece parts. We apply that lens to a few software problems (plus some fun analogies). This episode is not just for Postgres people—the things we discussed are useful for anyone interested in the creative process, why perfectionism is overrated, how chess clocks help with decision-making, and how to help users learn about technology through metaphor. Example: Sparta’s dual-kingship and Postgres active-active. If you like systems thinking, and like exploring the connections between seemingly disparate topics, this episode is for you. 🎧 Listen wherever you get your podcasts (there’s also a transcript): https://talkingpostgres.com/episodes/the-fundamental-interconnectedness-of-all-things-with-boriss-mejias OP here and podcast host... Feedback (and ideas for future guests and topics) welcome. <!-- SC_ON --> submitted by /u/clairegiordano (https://www.reddit.com/user/clairegiordano)
[link] (https://talkingpostgres.com/episodes/the-fundamental-interconnectedness-of-all-things-with-boriss-mejias) [comments] (https://www.reddit.com/r/programming/comments/1o45hpl/talking_postgres_podcast_the_fundamental/)
Zed's DeltaDB idea - real problem or overkill?
https://www.reddit.com/r/programming/comments/1o4h34t/zeds_deltadb_idea_real_problem_or_overkill/

<!-- SC_OFF -->Zed the editor pitched this thing called DeltaDB — a version control system that tracks every small code change and discussion, not just commits. https://zed.dev/blog/sequoia-backs-zed The idea is that this helps: Humans – who waste time figuring out why code was written a certain way because commit messages lose meaning and the real discussions are buried in Slack etc. AI agents – which today see only the code snapshot, not the reasoning behind it, so they suggest stuff that ignores intent. Basically, DeltaDB wants code to carry its why, not just its what. ⸻ Do these problems actually hurt you in real life? Would you want your editor or version control to remember that much context, or is this just unnecessary complexity? Share your stories. I personally hit #1 a lot when I was a dev — chasing old Slack threads just to understand one weird line of code. <!-- SC_ON --> submitted by /u/anonymous085 (https://www.reddit.com/user/anonymous085)
[link] (https://zed.dev/blog/sequoia-backs-zed) [comments] (https://www.reddit.com/r/programming/comments/1o4h34t/zeds_deltadb_idea_real_problem_or_overkill/)
Introducing the Testing Vial: a (better?) alternative to Testing Diamond and Testing Pyramid
https://www.reddit.com/r/programming/comments/1o4lons/introducing_the_testing_vial_a_better_alternative/

<!-- SC_OFF -->The Testing Pyramid emphasizes Unit Tests. The Testing Diamond emphasizes Integration Tests. But I really think we should not focus on technical aspects. That's why I came up with the Testing Vial. Let me know what you think of it! <!-- SC_ON --> submitted by /u/davidebellone (https://www.reddit.com/user/davidebellone)
[link] (https://www.code4it.dev/blog/testing-vial/) [comments] (https://www.reddit.com/r/programming/comments/1o4lons/introducing_the_testing_vial_a_better_alternative/)
Documentation for BASIC Studio on PS2
https://www.reddit.com/r/programming/comments/1o4oukr/documentation_for_basic_studio_on_ps2/

<!-- SC_OFF -->BASIC Studio is a programming and asset (models, images, music) creation suite released in 2001 in Japan for the Playstation 2. I recently completed a complete translation of the included documentation, for those who might have fun with it. More info can be found here https://forums.insertcredit.com/t/welcome-to-basic-studio-powerful-game-workshop-ps2/5395 <!-- SC_ON --> submitted by /u/mds01 (https://www.reddit.com/user/mds01)
[link] (https://archive.org/details/basic-studio-ps2-documentation_202510) [comments] (https://www.reddit.com/r/programming/comments/1o4oukr/documentation_for_basic_studio_on_ps2/)