Reddit Programming
211 subscribers
1.22K photos
124K links
I will send you newest post from subreddit /r/programming
Download Telegram
I built a lightweight function‑call tracer with structured logging, context, and metrics!
https://www.reddit.com/r/programming/comments/1km32lr/i_built_a_lightweight_functioncall_tracer_with/

<!-- SC_OFF -->Hey guys! Super happy to share my first ever python library :) I made this tiny tracing/logging library for python in a few hours and thought I’d share it with y’all. I’d love to hear back on what could be done better. I’m honestly not sure about how solid the implementation is but I’d love to keep building this depending on feedback, usefulness and potential for real world usage. Why I bothered: I bounce between logging, structlog, loguru, and various tracing libs. They’re great, but flipping between call‑graph visualisation, pretty console output, and JSON shipping always felt clunky. So I slammed the bits I wanted into one decorator/context‑manager combo and called it a night. Road‑map (if the idea has legs): - ContextVar‑based propagation so async tasks keep the same request ID - stdlib‑logging bridge + OTLP exporter for distributed traces - sampling / dedup for high‑volume prod logs - multiprocess‑safe queue handler Looking for honest — but kind — feedback 😅 I’m sharing because: 1. I don’t want to reinvent wheels that already roll better. 2. If this is useful, I’ll polish it; if not, I’ll archive it and move on. 3. I’d love to know what you need from a tiny tracing/logger lib. TIA! <!-- SC_ON --> submitted by /u/Living-Purpose-8428 (https://www.reddit.com/user/Living-Purpose-8428)
[link] (https://github.com/jeffersonaaron25/PyEzTrace) [comments] (https://www.reddit.com/r/programming/comments/1km32lr/i_built_a_lightweight_functioncall_tracer_with/)
Replacement for CSS
https://www.reddit.com/r/programming/comments/1km440g/replacement_for_css/

<!-- SC_OFF -->After writing this post in the CSS subreddit, which was admittedly a bit of a rant, I'm looking for more input on this. I'm considering to build some kind of replacement for CSS, which in its first version just renders to CSS with JavaScript or WebAssembly as a compatibility mechanism. The long-time goal is, that this engine should be able to replace CSS in its entirety. At least theoretically, that this is unlikely to happen from today's point of view is a different question. The comments I got in the CSS subreddit seem to be predominantly from people who view CSS and the W3C as some kind of divine entities which can, by definition, never be wrong and only deliver perfection. Any ideas how to do a better layout engine based on constraints are really appreciated. Constructive criticism is very welcome, too. <!-- SC_ON --> submitted by /u/Unique_Hope8794 (https://www.reddit.com/user/Unique_Hope8794)
[link] (https://www.reddit.com/r/css/comments/1kju06n/css_is_badly_designed_prove_me_wrong/) [comments] (https://www.reddit.com/r/programming/comments/1km440g/replacement_for_css/)
Built a visual narrative planning tool for writers — like Excalidraw, but story-focused
https://www.reddit.com/r/programming/comments/1km4fbh/built_a_visual_narrative_planning_tool_for/

<!-- SC_OFF -->This started as a side project, but it’s grown into something I’m actively beta testing now. I built a web-based visual planning tool aimed at writers, screenwriters, and narrative designers — think Excalidraw, but structured around storytelling. It lets users map scenes, arcs, nonlinear branches, etc., in a fluid canvas without rigid templates. Tech stack: Frontend: React + Zustand + SVG rendering Backend: Firebase for sync and auth Focus: minimal latency, collaborative editing (coming soon), and offline-first UX Would love feedback from devs who have built creative tools or anything involving visual interfaces. Also open to advice on distribution — I’m currently recruiting beta testers and refining onboarding. Let me know if you want a link or peek under the hood! <!-- SC_ON --> submitted by /u/Whole-Chipmunk-7007 (https://www.reddit.com/user/Whole-Chipmunk-7007)
[link] (https://storynode.vercel.app/) [comments] (https://www.reddit.com/r/programming/comments/1km4fbh/built_a_visual_narrative_planning_tool_for/)
help i want to become a mlsa
https://www.reddit.com/r/programming/comments/1km4rta/help_i_want_to_become_a_mlsa/

<!-- SC_OFF -->help me become microsoft student ambassador by the end of 2025 I've applied for the Microsoft Learn Student Ambassador (MLSA) program, and l've chosen the role of Community Influencer. To meet one of my goals, I need 250 people to visit some links provided by Microsoft! All I need is a quick visit to the links below-no need to sign up or do anything, just check them out! t and you never know you might learn something new 1. Microsoft Azure Fundamentals (Course AZ-900T00) https://learn.microsoft.com/training/courses/az-900t00?wt.mc_id=studentamb_467394 2. Developing Solutions for Microsoft Azure (Course AZ-204T00) https://learn.microsoft.com/training/courses/az-204t00?wt.mc_id=studentamb_467394 3. Microsoft Azure Administrator (Course AZ-104T00) https://learn.microsoft.com/en-gb/training/courses/az-104t00?wt.mc_id=studentamb_467394 4. Configuring and Operating Microsoft Azure Virtual Desktop (Course AZ-140) &-https:// learn.microsoft.com/training/courses/az-140t00?wt.mc_id=studentamb_467394 5. Designing Microsoft Azure Infrastructure Solutions (Course AZ-305T00) &https://learn.microsoft.com/training/courses/az-305t00?wt.mc_id=studentamb_467394 <!-- SC_ON --> submitted by /u/Friendly_Painter_559 (https://www.reddit.com/user/Friendly_Painter_559)
[link] (http://microsoftlearn.com/) [comments] (https://www.reddit.com/r/programming/comments/1km4rta/help_i_want_to_become_a_mlsa/)
Rubber Ducky Interpreter
https://www.reddit.com/r/programming/comments/1km7ktf/rubber_ducky_interpreter/

<!-- SC_OFF -->So I never wrote ducky code before and needed to use a custom script for a project I am working on. Let's just say I was not looking forward to this tedious task, and was curious if I could write a script to track my keys while the program is running and format it in to ducky language without ever having to write a line of ducky code. So to save myself 10 minutes I spent all weekend creating an interpreter, and (today) I believe I have worked out most of the bugs, and think it is now user friendly , however I want people to try it out, let me know if they find any bugs and maybe use it for some projects. All the source code is posted directly on github and there is an executable, but you can compile the c++ code yourself and let me know ! :) P.S I'm not sure if this is the right place to post, but hopefully this finds the right people <!-- SC_ON --> submitted by /u/teslah3 (https://www.reddit.com/user/teslah3)
[link] (https://github.com/th3-coder/duckyinterpreter/blob/main/interpreter.cpp) [comments] (https://www.reddit.com/r/programming/comments/1km7ktf/rubber_ducky_interpreter/)
Closure Conversion Takes The Function Out Of Functional Programming
https://www.reddit.com/r/programming/comments/1kmfodz/closure_conversion_takes_the_function_out_of/

<!-- SC_OFF -->The next entry in the making a language series (https://thunderseethe.dev/series/making-a-language/). This time we're talking about closure conversion. <!-- SC_ON --> submitted by /u/thunderseethe (https://www.reddit.com/user/thunderseethe)
[link] (https://thunderseethe.dev/posts/closure-convert-base/) [comments] (https://www.reddit.com/r/programming/comments/1kmfodz/closure_conversion_takes_the_function_out_of/)