chalk + debug just got owned on npm… and honestly, this is the nightmare I’ve been expecting
https://www.reddit.com/r/programming/comments/1nccr9m/chalk_debug_just_got_owned_on_npm_and_honestly/
<!-- SC_OFF -->I’ve been around long enough to remember event-stream in 2018, ua-parser-js in 2021, all those “oh crap” moments when a dependency we trusted turned toxic overnight. And now.....?? it's chalk and debug. Two of the most boring, everyday libraries in the JS world.
One phishing email → maintainer creds stolen → new versions published → hidden payload inside.
And here’s the kicker: it didn’t break anything. While the tests, passed.. CI was green... linters, dead silent. We all would’ve shipped it, no questions asked. The payload was nasty but clever for sure... obfuscated code scanning for wallet addresses, swapping them with lookalikes tied to the attacker. So your log-coloring library suddenly moonlights as a crypto thief. That’s what makes my stomach drop. Because as a dev, the workflow is designed to trust the green checkmarks. And yesterday proved those green checks mean nothing when the foundation is poisoned upstream. We love to say “keep dependencies updated.” But that advice is starting to feel like a joke. Updating blindly is how you pull this crap straight into prod. What’s the fix? Honestly, I don’t have a silver bullet. But I know this: Pipelines need context, not just pass/fail. If debug starts calling window.ethereum, something should scream. Security can’t be “some team’s job.” It has to live inside the same workflow where we merge PRs. And maybe we stop pretending that npm install is ever “safe” without deeper inspection. This isnt a weird edge case. It’s the pattern now. And if we don’t adapt, we’ll just keep rolling the dice until the next dependency burns us in production. Anyone else feel like we’re building faster than we can secure the ground under us? <!-- SC_ON --> submitted by /u/divson1319 (https://www.reddit.com/user/divson1319)
[link] (https://www.codeant.ai/blogs/npm-chalk-debug-supply-chain-attack) [comments] (https://www.reddit.com/r/programming/comments/1nccr9m/chalk_debug_just_got_owned_on_npm_and_honestly/)
https://www.reddit.com/r/programming/comments/1nccr9m/chalk_debug_just_got_owned_on_npm_and_honestly/
<!-- SC_OFF -->I’ve been around long enough to remember event-stream in 2018, ua-parser-js in 2021, all those “oh crap” moments when a dependency we trusted turned toxic overnight. And now.....?? it's chalk and debug. Two of the most boring, everyday libraries in the JS world.
One phishing email → maintainer creds stolen → new versions published → hidden payload inside.
And here’s the kicker: it didn’t break anything. While the tests, passed.. CI was green... linters, dead silent. We all would’ve shipped it, no questions asked. The payload was nasty but clever for sure... obfuscated code scanning for wallet addresses, swapping them with lookalikes tied to the attacker. So your log-coloring library suddenly moonlights as a crypto thief. That’s what makes my stomach drop. Because as a dev, the workflow is designed to trust the green checkmarks. And yesterday proved those green checks mean nothing when the foundation is poisoned upstream. We love to say “keep dependencies updated.” But that advice is starting to feel like a joke. Updating blindly is how you pull this crap straight into prod. What’s the fix? Honestly, I don’t have a silver bullet. But I know this: Pipelines need context, not just pass/fail. If debug starts calling window.ethereum, something should scream. Security can’t be “some team’s job.” It has to live inside the same workflow where we merge PRs. And maybe we stop pretending that npm install is ever “safe” without deeper inspection. This isnt a weird edge case. It’s the pattern now. And if we don’t adapt, we’ll just keep rolling the dice until the next dependency burns us in production. Anyone else feel like we’re building faster than we can secure the ground under us? <!-- SC_ON --> submitted by /u/divson1319 (https://www.reddit.com/user/divson1319)
[link] (https://www.codeant.ai/blogs/npm-chalk-debug-supply-chain-attack) [comments] (https://www.reddit.com/r/programming/comments/1nccr9m/chalk_debug_just_got_owned_on_npm_and_honestly/)
Flow-Run System Design: Building an LLM Orchestration Platform
https://www.reddit.com/r/programming/comments/1nccxwt/flowrun_system_design_building_an_llm/
<!-- SC_OFF -->Flow‑run: building a production‑ready LLM orchestration service I wrote a deep dive into the system design of flow‑run (open‑source). Highlights: • Tasks are atomic units (LLM calls, emails, etc.) and flows connect them as graphs; parallel execution via BFS. • Data model (accounts, providers, models, tasks, flows) → multi‑tenancy + reliable retries. • YAML DSL for providers/models/tasks/flows; /v1 API with client‑generated IDs for dedupe. • Scaling options: horizontal nodes, DB read replicas/clustering; how to choose multiple LLM providers vs multiple accounts. Feedback welcome from folks building orchestration layers or distributed systems: [https://vitaliihonchar.com/insights/flow-run-system-design]() (https://vitaliihonchar.com/insights/flow-run-system-design%5D()) <!-- SC_ON --> submitted by /u/Historical_Wing_9573 (https://www.reddit.com/user/Historical_Wing_9573)
[link] (https://vitaliihonchar.com/insights/flow-run-system-design) [comments] (https://www.reddit.com/r/programming/comments/1nccxwt/flowrun_system_design_building_an_llm/)
https://www.reddit.com/r/programming/comments/1nccxwt/flowrun_system_design_building_an_llm/
<!-- SC_OFF -->Flow‑run: building a production‑ready LLM orchestration service I wrote a deep dive into the system design of flow‑run (open‑source). Highlights: • Tasks are atomic units (LLM calls, emails, etc.) and flows connect them as graphs; parallel execution via BFS. • Data model (accounts, providers, models, tasks, flows) → multi‑tenancy + reliable retries. • YAML DSL for providers/models/tasks/flows; /v1 API with client‑generated IDs for dedupe. • Scaling options: horizontal nodes, DB read replicas/clustering; how to choose multiple LLM providers vs multiple accounts. Feedback welcome from folks building orchestration layers or distributed systems: [https://vitaliihonchar.com/insights/flow-run-system-design]() (https://vitaliihonchar.com/insights/flow-run-system-design%5D()) <!-- SC_ON --> submitted by /u/Historical_Wing_9573 (https://www.reddit.com/user/Historical_Wing_9573)
[link] (https://vitaliihonchar.com/insights/flow-run-system-design) [comments] (https://www.reddit.com/r/programming/comments/1nccxwt/flowrun_system_design_building_an_llm/)
From Modular to Utility-First tailwind migration
https://www.reddit.com/r/programming/comments/1ncd7dh/from_modular_to_utilityfirst_tailwind_migration/
submitted by /u/FrequentBid2476 (https://www.reddit.com/user/FrequentBid2476)
[link] (https://auslake.vercel.app/blog/migration-tailwindcss) [comments] (https://www.reddit.com/r/programming/comments/1ncd7dh/from_modular_to_utilityfirst_tailwind_migration/)
https://www.reddit.com/r/programming/comments/1ncd7dh/from_modular_to_utilityfirst_tailwind_migration/
submitted by /u/FrequentBid2476 (https://www.reddit.com/user/FrequentBid2476)
[link] (https://auslake.vercel.app/blog/migration-tailwindcss) [comments] (https://www.reddit.com/r/programming/comments/1ncd7dh/from_modular_to_utilityfirst_tailwind_migration/)
I built an ultra-fast, open-source Go web service for generating PDFs from HTML/JSON templates.
https://www.reddit.com/r/programming/comments/1ncd899/i_built_an_ultrafast_opensource_go_web_service/
<!-- SC_OFF -->I'm excited to share a project I've been working on: GoPdfSuit, a high-performance Go web service designed for creating PDF documents from HTML and JSON templates. It's built on Go 1.23+ and the Gin framework, and it's completely open source under the MIT license. I created this because I was tired of slow, clunky, and expensive commercial PDF solutions. GoPdfSuit is designed to be a fast, simple, and flexible microservice that you can drop into any project. Key Features: Ultra-Fast Performance: It can generate PDFs with sub-millisecond to low-millisecond response times, making it incredibly efficient for high-load applications. Template-Driven: It uses a JSON-driven template system, which means you can generate complex, data-rich PDFs without writing any code. It also has a built-in web interface for real-time preview and editing. HTML to PDF/Image Conversion: Easily convert entire web pages or HTML snippets into PDFs or images. Interactive Forms: Supports AcroForm and XFDF data for filling out interactive forms. Easy Deployment: It's deployed as a single binary, making it simple to get up and running. Language Agnostic: Since it uses a REST API, you can use it with any programming language. GoPdfSuit is a more flexible and cost-effective alternative to many existing solutions. If you work with PDFs, I'd love for you to check it out and let me know what you think! GitHub Repository: https://github.com/chinmay-sawant/gopdfsuit Project Page: https://chinmay-sawant.github.io/gopdfsuit/ Feel free to ask me any questions in the comments! <!-- SC_ON --> submitted by /u/chinmay06 (https://www.reddit.com/user/chinmay06)
[link] (https://github.com/chinmay-sawant/gopdfsuit) [comments] (https://www.reddit.com/r/programming/comments/1ncd899/i_built_an_ultrafast_opensource_go_web_service/)
https://www.reddit.com/r/programming/comments/1ncd899/i_built_an_ultrafast_opensource_go_web_service/
<!-- SC_OFF -->I'm excited to share a project I've been working on: GoPdfSuit, a high-performance Go web service designed for creating PDF documents from HTML and JSON templates. It's built on Go 1.23+ and the Gin framework, and it's completely open source under the MIT license. I created this because I was tired of slow, clunky, and expensive commercial PDF solutions. GoPdfSuit is designed to be a fast, simple, and flexible microservice that you can drop into any project. Key Features: Ultra-Fast Performance: It can generate PDFs with sub-millisecond to low-millisecond response times, making it incredibly efficient for high-load applications. Template-Driven: It uses a JSON-driven template system, which means you can generate complex, data-rich PDFs without writing any code. It also has a built-in web interface for real-time preview and editing. HTML to PDF/Image Conversion: Easily convert entire web pages or HTML snippets into PDFs or images. Interactive Forms: Supports AcroForm and XFDF data for filling out interactive forms. Easy Deployment: It's deployed as a single binary, making it simple to get up and running. Language Agnostic: Since it uses a REST API, you can use it with any programming language. GoPdfSuit is a more flexible and cost-effective alternative to many existing solutions. If you work with PDFs, I'd love for you to check it out and let me know what you think! GitHub Repository: https://github.com/chinmay-sawant/gopdfsuit Project Page: https://chinmay-sawant.github.io/gopdfsuit/ Feel free to ask me any questions in the comments! <!-- SC_ON --> submitted by /u/chinmay06 (https://www.reddit.com/user/chinmay06)
[link] (https://github.com/chinmay-sawant/gopdfsuit) [comments] (https://www.reddit.com/r/programming/comments/1ncd899/i_built_an_ultrafast_opensource_go_web_service/)
I love UUID, I hate UUID
https://www.reddit.com/r/programming/comments/1ncht77/i_love_uuid_i_hate_uuid/
submitted by /u/bobbymk10 (https://www.reddit.com/user/bobbymk10)
[link] (https://blog.epsiolabs.com/i-love-uuid-i-hate-uuid) [comments] (https://www.reddit.com/r/programming/comments/1ncht77/i_love_uuid_i_hate_uuid/)
https://www.reddit.com/r/programming/comments/1ncht77/i_love_uuid_i_hate_uuid/
submitted by /u/bobbymk10 (https://www.reddit.com/user/bobbymk10)
[link] (https://blog.epsiolabs.com/i-love-uuid-i-hate-uuid) [comments] (https://www.reddit.com/r/programming/comments/1ncht77/i_love_uuid_i_hate_uuid/)
Generic Constraints and Mapped Types in Large-Scale Applications
https://www.reddit.com/r/programming/comments/1ncj2as/generic_constraints_and_mapped_types_in/
submitted by /u/FrequentBid2476 (https://www.reddit.com/user/FrequentBid2476)
[link] (https://auslake.vercel.app/blog/generic-constraints-and-mapped-types) [comments] (https://www.reddit.com/r/programming/comments/1ncj2as/generic_constraints_and_mapped_types_in/)
https://www.reddit.com/r/programming/comments/1ncj2as/generic_constraints_and_mapped_types_in/
submitted by /u/FrequentBid2476 (https://www.reddit.com/user/FrequentBid2476)
[link] (https://auslake.vercel.app/blog/generic-constraints-and-mapped-types) [comments] (https://www.reddit.com/r/programming/comments/1ncj2as/generic_constraints_and_mapped_types_in/)
A clickable visual guide to the Rust type system
https://www.reddit.com/r/programming/comments/1ncjtrp/a_clickable_visual_guide_to_the_rust_type_system/
submitted by /u/mmaksimovic (https://www.reddit.com/user/mmaksimovic)
[link] (https://rustcurious.com/elements/) [comments] (https://www.reddit.com/r/programming/comments/1ncjtrp/a_clickable_visual_guide_to_the_rust_type_system/)
https://www.reddit.com/r/programming/comments/1ncjtrp/a_clickable_visual_guide_to_the_rust_type_system/
submitted by /u/mmaksimovic (https://www.reddit.com/user/mmaksimovic)
[link] (https://rustcurious.com/elements/) [comments] (https://www.reddit.com/r/programming/comments/1ncjtrp/a_clickable_visual_guide_to_the_rust_type_system/)
My 18-Month Journey Building a SaaS App
https://www.reddit.com/r/programming/comments/1ncl45v/my_18month_journey_building_a_saas_app/
<!-- SC_OFF -->I spent 18 months building RekoSearch, a SaaS that lets you semantically search photos, videos, documents, and audio. A project I had initially planned to take only 3-4 months, but here we are, 18 months and 60,000 LOC later... Building it taught me more than any desktop project could. I learned a ton about infrastructure, scalability, web development, Kubernetes and AWS, in particular. For those more interested in the technical details, including extensive handmade Excalidraw diagrams, here’s the repository: https://github.com/Obscurely/RekoSearch-Public <!-- SC_ON --> submitted by /u/CrismarucAdrian (https://www.reddit.com/user/CrismarucAdrian)
[link] (https://www.adriancrismaruc.com/blog/building-rekosearch-journey) [comments] (https://www.reddit.com/r/programming/comments/1ncl45v/my_18month_journey_building_a_saas_app/)
https://www.reddit.com/r/programming/comments/1ncl45v/my_18month_journey_building_a_saas_app/
<!-- SC_OFF -->I spent 18 months building RekoSearch, a SaaS that lets you semantically search photos, videos, documents, and audio. A project I had initially planned to take only 3-4 months, but here we are, 18 months and 60,000 LOC later... Building it taught me more than any desktop project could. I learned a ton about infrastructure, scalability, web development, Kubernetes and AWS, in particular. For those more interested in the technical details, including extensive handmade Excalidraw diagrams, here’s the repository: https://github.com/Obscurely/RekoSearch-Public <!-- SC_ON --> submitted by /u/CrismarucAdrian (https://www.reddit.com/user/CrismarucAdrian)
[link] (https://www.adriancrismaruc.com/blog/building-rekosearch-journey) [comments] (https://www.reddit.com/r/programming/comments/1ncl45v/my_18month_journey_building_a_saas_app/)
Engineering a High-Performance Go PDF Microservice
https://www.reddit.com/r/programming/comments/1ncl9ws/engineering_a_highperformance_go_pdf_microservice/
<!-- SC_OFF -->I built GoPdfSuit, an open-source web service for generating PDFs, and wanted to share the technical design that makes it exceptionally fast and efficient. My goal was to create a lean alternative to traditional, resource-heavy PDF solutions. Core Technical Design The core of the service is built on Go 1.23+ and the Gin framework for their high performance and concurrency capabilities. Unlike many other services that rely on disk-based processing, GoPdfSuit is a high-performance in-memory PDF generator. This approach is crucial to its speed, as it completely bypasses slow disk I/O operations, leading to ultra-fast response times of sub-millisecond to low-millisecond. For the actual HTML-to-PDF and HTML-to-image conversions, the service leverages the power of wkhtmltopdf and wkhtmltoimage. This allows it to accurately render web pages and HTML snippets into high-quality PDFs and images. The project demonstrates how intelligently integrating and managing a powerful external tool like wkhtmltopdf can lead to a highly optimized and performant solution. Key Features and Implementation Details Template-Driven System: GoPdfSuit utilizes a JSON-driven templating system. This design separates data from presentation, making it simple to generate complex, dynamic PDFs by just sending a JSON payload to the REST API. Flexible PDF Generation: The service supports multi-page documents with automatic page breaks and custom page sizes, giving developers a high degree of control over the output. It also includes support for AcroForm and XFDF data, enabling the filling out of interactive forms programmatically. Deployment: It's deployed as a single, statically compiled binary, making it extremely easy to get up and running in any environment, from a local machine to a containerized cloud deployment. I'm happy to discuss the implementation details, the challenges of orchestrating wkhtmltopdf in a high-concurrency environment, or the design of the in-memory processing pipeline. GitHub: https://github.com/chinmay-sawant/gopdfsuit Project Page: https://chinmay-sawant.github.io/gopdfsuit/ <!-- SC_ON --> submitted by /u/chinmay06 (https://www.reddit.com/user/chinmay06)
[link] (https://chinmay-sawant.github.io/gopdfsuit/) [comments] (https://www.reddit.com/r/programming/comments/1ncl9ws/engineering_a_highperformance_go_pdf_microservice/)
https://www.reddit.com/r/programming/comments/1ncl9ws/engineering_a_highperformance_go_pdf_microservice/
<!-- SC_OFF -->I built GoPdfSuit, an open-source web service for generating PDFs, and wanted to share the technical design that makes it exceptionally fast and efficient. My goal was to create a lean alternative to traditional, resource-heavy PDF solutions. Core Technical Design The core of the service is built on Go 1.23+ and the Gin framework for their high performance and concurrency capabilities. Unlike many other services that rely on disk-based processing, GoPdfSuit is a high-performance in-memory PDF generator. This approach is crucial to its speed, as it completely bypasses slow disk I/O operations, leading to ultra-fast response times of sub-millisecond to low-millisecond. For the actual HTML-to-PDF and HTML-to-image conversions, the service leverages the power of wkhtmltopdf and wkhtmltoimage. This allows it to accurately render web pages and HTML snippets into high-quality PDFs and images. The project demonstrates how intelligently integrating and managing a powerful external tool like wkhtmltopdf can lead to a highly optimized and performant solution. Key Features and Implementation Details Template-Driven System: GoPdfSuit utilizes a JSON-driven templating system. This design separates data from presentation, making it simple to generate complex, dynamic PDFs by just sending a JSON payload to the REST API. Flexible PDF Generation: The service supports multi-page documents with automatic page breaks and custom page sizes, giving developers a high degree of control over the output. It also includes support for AcroForm and XFDF data, enabling the filling out of interactive forms programmatically. Deployment: It's deployed as a single, statically compiled binary, making it extremely easy to get up and running in any environment, from a local machine to a containerized cloud deployment. I'm happy to discuss the implementation details, the challenges of orchestrating wkhtmltopdf in a high-concurrency environment, or the design of the in-memory processing pipeline. GitHub: https://github.com/chinmay-sawant/gopdfsuit Project Page: https://chinmay-sawant.github.io/gopdfsuit/ <!-- SC_ON --> submitted by /u/chinmay06 (https://www.reddit.com/user/chinmay06)
[link] (https://chinmay-sawant.github.io/gopdfsuit/) [comments] (https://www.reddit.com/r/programming/comments/1ncl9ws/engineering_a_highperformance_go_pdf_microservice/)
A Warm Welcome to ASN.1 and DER
https://www.reddit.com/r/programming/comments/1nclsok/a_warm_welcome_to_asn1_and_der/
submitted by /u/Perfect-Praline3232 (https://www.reddit.com/user/Perfect-Praline3232)
[link] (https://letsencrypt.org/docs/a-warm-welcome-to-asn1-and-der/) [comments] (https://www.reddit.com/r/programming/comments/1nclsok/a_warm_welcome_to_asn1_and_der/)
https://www.reddit.com/r/programming/comments/1nclsok/a_warm_welcome_to_asn1_and_der/
submitted by /u/Perfect-Praline3232 (https://www.reddit.com/user/Perfect-Praline3232)
[link] (https://letsencrypt.org/docs/a-warm-welcome-to-asn1-and-der/) [comments] (https://www.reddit.com/r/programming/comments/1nclsok/a_warm_welcome_to_asn1_and_der/)
A Short Summary of the Last Decades of Data Management • Hannes Mühleisen
https://www.reddit.com/r/programming/comments/1ncmnj2/a_short_summary_of_the_last_decades_of_data/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/-wCzn9gKoUk) [comments] (https://www.reddit.com/r/programming/comments/1ncmnj2/a_short_summary_of_the_last_decades_of_data/)
https://www.reddit.com/r/programming/comments/1ncmnj2/a_short_summary_of_the_last_decades_of_data/
submitted by /u/goto-con (https://www.reddit.com/user/goto-con)
[link] (https://youtu.be/-wCzn9gKoUk) [comments] (https://www.reddit.com/r/programming/comments/1ncmnj2/a_short_summary_of_the_last_decades_of_data/)
Let's make a game! 324: Swapping and rearranging variables
https://www.reddit.com/r/programming/comments/1ncmp2z/lets_make_a_game_324_swapping_and_rearranging/
submitted by /u/apeloverage (https://www.reddit.com/user/apeloverage)
[link] (https://www.youtube.com/watch?v=iNN-TvUJjYE) [comments] (https://www.reddit.com/r/programming/comments/1ncmp2z/lets_make_a_game_324_swapping_and_rearranging/)
https://www.reddit.com/r/programming/comments/1ncmp2z/lets_make_a_game_324_swapping_and_rearranging/
submitted by /u/apeloverage (https://www.reddit.com/user/apeloverage)
[link] (https://www.youtube.com/watch?v=iNN-TvUJjYE) [comments] (https://www.reddit.com/r/programming/comments/1ncmp2z/lets_make_a_game_324_swapping_and_rearranging/)
Isn’t Kubernetes enough?
https://www.reddit.com/r/programming/comments/1ncndp2/isnt_kubernetes_enough/
<!-- SC_OFF -->Many devs ask me: ‘Isn’t Kubernetes enough?’ I have done the research to and have put my thoughts below and thought of sharing here for everyone's benefit and Would love your thoughts! This 5-min visual explainer https://youtu.be/HklwECGXoHw showing why we still need API Gateways + Istio — using a fun airport analogy. Read More at:
https://faun.pub/how-api-gateways-and-istio-service-mesh-work-together-for-serving-microservices-hosted-on-a-k8s-8dad951d2d0c https://medium.com/faun/why-kubernetes-alone-isnt-enough-the-case-for-api-gateways-and-service-meshes-2ee856ce53a4 <!-- SC_ON --> submitted by /u/mmk4mmk_simplifies (https://www.reddit.com/user/mmk4mmk_simplifies)
[link] (https://youtu.be/HklwECGXoHw) [comments] (https://www.reddit.com/r/programming/comments/1ncndp2/isnt_kubernetes_enough/)
https://www.reddit.com/r/programming/comments/1ncndp2/isnt_kubernetes_enough/
<!-- SC_OFF -->Many devs ask me: ‘Isn’t Kubernetes enough?’ I have done the research to and have put my thoughts below and thought of sharing here for everyone's benefit and Would love your thoughts! This 5-min visual explainer https://youtu.be/HklwECGXoHw showing why we still need API Gateways + Istio — using a fun airport analogy. Read More at:
https://faun.pub/how-api-gateways-and-istio-service-mesh-work-together-for-serving-microservices-hosted-on-a-k8s-8dad951d2d0c https://medium.com/faun/why-kubernetes-alone-isnt-enough-the-case-for-api-gateways-and-service-meshes-2ee856ce53a4 <!-- SC_ON --> submitted by /u/mmk4mmk_simplifies (https://www.reddit.com/user/mmk4mmk_simplifies)
[link] (https://youtu.be/HklwECGXoHw) [comments] (https://www.reddit.com/r/programming/comments/1ncndp2/isnt_kubernetes_enough/)
Beyond the Code: Lessons That Make You Senior Software Engineer
https://www.reddit.com/r/programming/comments/1ncx9gw/beyond_the_code_lessons_that_make_you_senior/
submitted by /u/_zeynel (https://www.reddit.com/user/_zeynel)
[link] (https://medium.com/@ozdemir.zynl/beyond-the-code-lessons-that-make-you-senior-1ba44469aa42?source=friends_link&sk=b26d67b2b81fe10a800da07bd3415931) [comments] (https://www.reddit.com/r/programming/comments/1ncx9gw/beyond_the_code_lessons_that_make_you_senior/)
https://www.reddit.com/r/programming/comments/1ncx9gw/beyond_the_code_lessons_that_make_you_senior/
submitted by /u/_zeynel (https://www.reddit.com/user/_zeynel)
[link] (https://medium.com/@ozdemir.zynl/beyond-the-code-lessons-that-make-you-senior-1ba44469aa42?source=friends_link&sk=b26d67b2b81fe10a800da07bd3415931) [comments] (https://www.reddit.com/r/programming/comments/1ncx9gw/beyond_the_code_lessons_that_make_you_senior/)
The unreasonable effectiveness of modern sort algorithms
https://www.reddit.com/r/programming/comments/1nd7bby/the_unreasonable_effectiveness_of_modern_sort/
submitted by /u/Voultapher (https://www.reddit.com/user/Voultapher)
[link] (https://github.com/Voultapher/sort-research-rs/blob/main/writeup/unreasonable/text.md) [comments] (https://www.reddit.com/r/programming/comments/1nd7bby/the_unreasonable_effectiveness_of_modern_sort/)
https://www.reddit.com/r/programming/comments/1nd7bby/the_unreasonable_effectiveness_of_modern_sort/
submitted by /u/Voultapher (https://www.reddit.com/user/Voultapher)
[link] (https://github.com/Voultapher/sort-research-rs/blob/main/writeup/unreasonable/text.md) [comments] (https://www.reddit.com/r/programming/comments/1nd7bby/the_unreasonable_effectiveness_of_modern_sort/)
Git Notes: git's coolest, most unloved feature
https://www.reddit.com/r/programming/comments/1nd8nsi/git_notes_gits_coolest_most_unloved_feature/
<!-- SC_OFF -->Did YOU know...? And if you did, what do you use it for? <!-- SC_ON --> submitted by /u/esiy0676 (https://www.reddit.com/user/esiy0676)
[link] (https://tylercipriani.com/blog/2022/11/19/git-notes-gits-coolest-most-unloved-feature/) [comments] (https://www.reddit.com/r/programming/comments/1nd8nsi/git_notes_gits_coolest_most_unloved_feature/)
https://www.reddit.com/r/programming/comments/1nd8nsi/git_notes_gits_coolest_most_unloved_feature/
<!-- SC_OFF -->Did YOU know...? And if you did, what do you use it for? <!-- SC_ON --> submitted by /u/esiy0676 (https://www.reddit.com/user/esiy0676)
[link] (https://tylercipriani.com/blog/2022/11/19/git-notes-gits-coolest-most-unloved-feature/) [comments] (https://www.reddit.com/r/programming/comments/1nd8nsi/git_notes_gits_coolest_most_unloved_feature/)
JEP 401: Value classes and Objects (Preview) has just been submitted!
https://www.reddit.com/r/programming/comments/1nd8vob/jep_401_value_classes_and_objects_preview_has/
<!-- SC_OFF -->The JDK it is coming out in is still not known. However, this is a major milestone to have crossed. Plus, a new Early Access build of Valhalla (up-to-date with the current JDK, presumably) will go live soon too. Details in the linked post. And for those unfamiliar, u/brian_goetz (https://www.reddit.com/u/brian_goetz) is the person leading the Project Valhalla effort. So, comments by him in the linked post can help you separate between assumptions by your average user vs the official words from the Open JDK Team themselves. u/pron98 (https://www.reddit.com/u/pron98) is another OpenJDK Team member commenting in the linked post. <!-- SC_ON --> submitted by /u/davidalayachew (https://www.reddit.com/user/davidalayachew)
[link] (https://www.reddit.com/r/java/comments/1nckdwr/jep_401_value_classes_and_objects_preview_has/) [comments] (https://www.reddit.com/r/programming/comments/1nd8vob/jep_401_value_classes_and_objects_preview_has/)
https://www.reddit.com/r/programming/comments/1nd8vob/jep_401_value_classes_and_objects_preview_has/
<!-- SC_OFF -->The JDK it is coming out in is still not known. However, this is a major milestone to have crossed. Plus, a new Early Access build of Valhalla (up-to-date with the current JDK, presumably) will go live soon too. Details in the linked post. And for those unfamiliar, u/brian_goetz (https://www.reddit.com/u/brian_goetz) is the person leading the Project Valhalla effort. So, comments by him in the linked post can help you separate between assumptions by your average user vs the official words from the Open JDK Team themselves. u/pron98 (https://www.reddit.com/u/pron98) is another OpenJDK Team member commenting in the linked post. <!-- SC_ON --> submitted by /u/davidalayachew (https://www.reddit.com/user/davidalayachew)
[link] (https://www.reddit.com/r/java/comments/1nckdwr/jep_401_value_classes_and_objects_preview_has/) [comments] (https://www.reddit.com/r/programming/comments/1nd8vob/jep_401_value_classes_and_objects_preview_has/)
Comparing Virtual Threads vs Platform Threads in Spring Boot using JMeter Load Test
https://www.reddit.com/r/programming/comments/1nd95t0/comparing_virtual_threads_vs_platform_threads_in/
<!-- SC_OFF -->I have created one video lesson on Spring Boot Virtual Threads vs Platform Threads Performance with JMeter Load Testing . Link: https://youtu.be/LDgriPNWCjY Here I checked how Virtual Threads actually perform compared to Platform Threads in a real Spring Boot app in case of IO Based Operations .
For the setup , I ran two instances of the same application: First one - with Virtual Threads enabled Second one - Same application with the default Tomcat thread pool (Platform Threads) running on different port Then I used JMeter to hit both application with increasing load (starting around 200 users/sec, then pushing up to 1000+). I have also captured the side-by-side results ( like the graphs, throughput, response times) . Observations: With Platform Threads, once Tomcat hit its around 200 thread pool limit, response times started getting worse gradually With Virtual Threads, the application did scale pretty well - throughput was much higher and the average response timesremained low. The difference became more more distinct when I was running longer tests with heavier load. One caveat: this benefit really shows up with I/O-heavy requests (I even added a Thread.sleep to simulate work). As expected ,for CPU-heavy stuff, Virtual Threads don’t give the same advantage. <!-- SC_ON --> submitted by /u/mrayandutta (https://www.reddit.com/user/mrayandutta)
[link] (https://youtu.be/LDgriPNWCjY) [comments] (https://www.reddit.com/r/programming/comments/1nd95t0/comparing_virtual_threads_vs_platform_threads_in/)
https://www.reddit.com/r/programming/comments/1nd95t0/comparing_virtual_threads_vs_platform_threads_in/
<!-- SC_OFF -->I have created one video lesson on Spring Boot Virtual Threads vs Platform Threads Performance with JMeter Load Testing . Link: https://youtu.be/LDgriPNWCjY Here I checked how Virtual Threads actually perform compared to Platform Threads in a real Spring Boot app in case of IO Based Operations .
For the setup , I ran two instances of the same application: First one - with Virtual Threads enabled Second one - Same application with the default Tomcat thread pool (Platform Threads) running on different port Then I used JMeter to hit both application with increasing load (starting around 200 users/sec, then pushing up to 1000+). I have also captured the side-by-side results ( like the graphs, throughput, response times) . Observations: With Platform Threads, once Tomcat hit its around 200 thread pool limit, response times started getting worse gradually With Virtual Threads, the application did scale pretty well - throughput was much higher and the average response timesremained low. The difference became more more distinct when I was running longer tests with heavier load. One caveat: this benefit really shows up with I/O-heavy requests (I even added a Thread.sleep to simulate work). As expected ,for CPU-heavy stuff, Virtual Threads don’t give the same advantage. <!-- SC_ON --> submitted by /u/mrayandutta (https://www.reddit.com/user/mrayandutta)
[link] (https://youtu.be/LDgriPNWCjY) [comments] (https://www.reddit.com/r/programming/comments/1nd95t0/comparing_virtual_threads_vs_platform_threads_in/)
What Is a Modular Monolith And Why You Should Care? 🔥
https://www.reddit.com/r/programming/comments/1nda6tp/what_is_a_modular_monolith_and_why_you_should_care/
submitted by /u/pepincho (https://www.reddit.com/user/pepincho)
[link] (https://thetshaped.dev/p/what-is-a-modular-monolith-benefits-and-microservices-challenges) [comments] (https://www.reddit.com/r/programming/comments/1nda6tp/what_is_a_modular_monolith_and_why_you_should_care/)
https://www.reddit.com/r/programming/comments/1nda6tp/what_is_a_modular_monolith_and_why_you_should_care/
submitted by /u/pepincho (https://www.reddit.com/user/pepincho)
[link] (https://thetshaped.dev/p/what-is-a-modular-monolith-benefits-and-microservices-challenges) [comments] (https://www.reddit.com/r/programming/comments/1nda6tp/what_is_a_modular_monolith_and_why_you_should_care/)
We messed up our query builder for years. Here's the story of how we fixed it and the lessons we earned along the way.
https://www.reddit.com/r/programming/comments/1nddp6e/we_messed_up_our_query_builder_for_years_heres/
<!-- SC_OFF -->I want to share a story from our team at SigNoz. For a long time, our platform had a mildy-frustrating query builder. In the early days, we had separate interfaces for logs, traces, and metrics, which led to a fragmented experience. Our next attempt to unify it with a SQL-based UI was fundamentally flawed, especially for logs, as it couldn't handle complex boolean logic or parentheses. After 2 years of accumulating issues and user feedback, we realized we had to completely overhaul our approach. A key lesson for us was that no matter how technically "obvious" a feature seems, if it isn't discoverable, it's useless. We also learned not to make assumptions on behalf of users, as it only leads to a frustrating and surprising experience. This led to Query Builder V5, a full architectural rewrite that not only fixed the core issues but also allowed us to pay off a lot of UX debt. It was a humbling journey, but the result is a tool that allows for complex searching and is so intuitive that some users have voluntarily replaced their raw ClickHouse SQL queries with it :) yay <!-- SC_ON --> submitted by /u/ExcitingThought2794 (https://www.reddit.com/user/ExcitingThought2794)
[link] (http://signoz.io/blog/query-builder-v5/) [comments] (https://www.reddit.com/r/programming/comments/1nddp6e/we_messed_up_our_query_builder_for_years_heres/)
https://www.reddit.com/r/programming/comments/1nddp6e/we_messed_up_our_query_builder_for_years_heres/
<!-- SC_OFF -->I want to share a story from our team at SigNoz. For a long time, our platform had a mildy-frustrating query builder. In the early days, we had separate interfaces for logs, traces, and metrics, which led to a fragmented experience. Our next attempt to unify it with a SQL-based UI was fundamentally flawed, especially for logs, as it couldn't handle complex boolean logic or parentheses. After 2 years of accumulating issues and user feedback, we realized we had to completely overhaul our approach. A key lesson for us was that no matter how technically "obvious" a feature seems, if it isn't discoverable, it's useless. We also learned not to make assumptions on behalf of users, as it only leads to a frustrating and surprising experience. This led to Query Builder V5, a full architectural rewrite that not only fixed the core issues but also allowed us to pay off a lot of UX debt. It was a humbling journey, but the result is a tool that allows for complex searching and is so intuitive that some users have voluntarily replaced their raw ClickHouse SQL queries with it :) yay <!-- SC_ON --> submitted by /u/ExcitingThought2794 (https://www.reddit.com/user/ExcitingThought2794)
[link] (http://signoz.io/blog/query-builder-v5/) [comments] (https://www.reddit.com/r/programming/comments/1nddp6e/we_messed_up_our_query_builder_for_years_heres/)
Performance Improvements in .NET 10
https://www.reddit.com/r/programming/comments/1ndemk4/performance_improvements_in_net_10/
submitted by /u/ben_a_adams (https://www.reddit.com/user/ben_a_adams)
[link] (https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-10/) [comments] (https://www.reddit.com/r/programming/comments/1ndemk4/performance_improvements_in_net_10/)
https://www.reddit.com/r/programming/comments/1ndemk4/performance_improvements_in_net_10/
submitted by /u/ben_a_adams (https://www.reddit.com/user/ben_a_adams)
[link] (https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-10/) [comments] (https://www.reddit.com/r/programming/comments/1ndemk4/performance_improvements_in_net_10/)