Reddit Programming – Telegram
Reddit Programming
212 subscribers
1.22K photos
125K links
I will send you newest post from subreddit /r/programming
Download Telegram
Day 15: Gradients and Gradient Descent
https://www.reddit.com/r/programming/comments/1ou9cp1/day_15_gradients_and_gradient_descent/

<!-- SC_OFF -->1. What is a Gradient? Your AI’s Navigation System Think of a gradient like a compass that always points toward the steepest uphill direction. If you’re standing on a mountainside, the gradient tells you which way to walk if you want to climb fastest to the peak. In yesterday’s lesson, we learned about partial derivatives - how a function changes when you tweak just one input. A gradient combines all these partial derivatives into a single “direction vector” that points toward the steepest increase in your function. # If you have a function f(x, y) = x² + y² # The gradient is [∂f/∂x, ∂f/∂y] = [2x, 2y] # This vector points toward the steepest uphill direction For AI systems, this gradient tells us which direction to adjust our model’s parameters to increase accuracy most quickly. Resources https://aieworks.substack.com/p/day-15-gradients-and-gradient-descent https://github.com/sysdr/aiml/tree/main/day15/day15_gradients <!-- SC_ON --> submitted by /u/Designer_Bug9592 (https://www.reddit.com/user/Designer_Bug9592)
[link] (https://aieworks.substack.com/p/day-15-gradients-and-gradient-descent) [comments] (https://www.reddit.com/r/programming/comments/1ou9cp1/day_15_gradients_and_gradient_descent/)
Building a cross-platform project scaffolding engine: template detection, safe copying, and Git-aware initialization
https://www.reddit.com/r/programming/comments/1oua8df/building_a_crossplatform_project_scaffolding/

<!-- SC_OFF -->I’ve been working on a small cross-platform project scaffolding tool and kept running into problems that weren’t documented anywhere. Figured the technical notes might be useful to others.
It’s not fully polished yet, but the core ideas work. 1. Template detection
I wanted templates to identify themselves automatically without a predefined list. Ended up using a mix of signature files (package.json, go.mod, pyproject.toml) plus a lightweight ignore system to avoid walking massive folders. 2. Safe copying
Copying templates sounds trivial until you hit symlinks, Windows junctions, and binary assets. I settled on simple rules: never follow symlinks, reject junctions, treat unknown files as binary, and only apply placeholder replacement on verified text files. 3. CLI quirks on Windows and Linux
ANSI coloring, arrow-key navigation, and input modes behave differently everywhere. Raw input mode plus a clear priority between NO_COLOR, --color, and --no-color kept things mostly sane. 4. Optional Git integration
Initialize a repo, pull a matching .gitignore, create the first commit, but avoid crashing if Git isn’t installed or the user disables it. The project isn’t fully done yet, but the current implementation is open source here for anyone curious about the details: maybe for people that are programming already for a long time this sounds easy but for me creating a project for the first time without really copying parts from stackoverflow or other tutorials was a real prestation. <!-- SC_ON --> submitted by /u/kajvans (https://www.reddit.com/user/kajvans)
[link] (https://github.com/kajvans/Foundry/blob/main/README.md) [comments] (https://www.reddit.com/r/programming/comments/1oua8df/building_a_crossplatform_project_scaffolding/)
16 minimal multiplatform GUI app examples with Go's Fyne + Rye
https://www.reddit.com/r/programming/comments/1ouzfc1/16_minimal_multiplatform_gui_app_examples_with/

<!-- SC_OFF -->16 increasingly complex, but still minimalistic, examples of multiplatform GUI apps using Go's Fyne GUI library and Rye language. From Hello world, demoing various GUI widgets, goroutines, to combining GUI with HTTP calls and at the end SQLite storage. One of the examples, a simple clock, using a goroutine: fyne: import\go "fyne" app: import\go "fyne/app" widget: import\go "fyne/widget" lab: widget/label "" go does { forever { fyne/do does { lab .set-text now .to-string } sleep 500 } } w: app/new .window "Date & Time" w .set-content lab w .show-and-run 15 more (with screenshots) on the link. <!-- SC_ON --> submitted by /u/middayc (https://www.reddit.com/user/middayc)
[link] (https://ryelang.org/cookbook/rye-fyne/examples-2/) [comments] (https://www.reddit.com/r/programming/comments/1ouzfc1/16_minimal_multiplatform_gui_app_examples_with/)
Build a Digital Bank (Step-by-Step Playlist)
https://www.reddit.com/r/programming/comments/1ov9epi/build_a_digital_bank_stepbystep_playlist/

<!-- SC_OFF -->This series walks through how to build a digital bank from scratch Tech Stack Spring Boot microservices (Customer, Account, Transaction, Payments, AuthUser, Consent) Auth0 for OAuth2 / JWT-based security PostgreSQL for persistence Key Concepts Covered Domain-Driven Design for financial services FDX-compliant API contracts (OpenAPI-first) Idempotency, ETags, and optimistic concurrency https://www.youtube.com/watch?v=VHBlkZYzSNY&list=PL4tLXdEa5XIWrhuhgJA1pdh2PDMrV7nMM&pp=gAQB0gcJCbAEOCosWNin <!-- SC_ON --> submitted by /u/AdPresent3286 (https://www.reddit.com/user/AdPresent3286)
[link] (https://www.youtube.com/watch?v=VHBlkZYzSNY&list=PL4tLXdEa5XIWrhuhgJA1pdh2PDMrV7nMM) [comments] (https://www.reddit.com/r/programming/comments/1ov9epi/build_a_digital_bank_stepbystep_playlist/)