Reddit Programming
201 subscribers
1.22K photos
126K links
I will send you newest post from subreddit /r/programming
Download Telegram
Docker, Traefik, and SSE streaming: A post-mortem on building a managed hosting platform
https://www.reddit.com/r/programming/comments/1rg4li5/docker_traefik_and_sse_streaming_a_postmortem_on/

<!-- SC_OFF -->I built a managed hosting platform in two weeks while working a full-time job. ClawHosters now has 50 paying customers and 25 trials. All from Reddit posts. Zero marketing spend. This post covers everything that went wrong: • Docker symlinks breaking updates • SSE streaming through Traefik (way harder than expected) • Why containers hit memory limits constantly • The 2 AM Telegram alerts when customer instances crash Rails 8, PostgreSQL, Sidekiq, Hetzner Cloud API. No Kubernetes. One server. If you're thinking about building infrastructure products, this might save you some pain. <!-- SC_ON --> submitted by /u/yixn_io (https://www.reddit.com/user/yixn_io)
[link] (https://clawhosters.com/blog/posts/building-managed-hosting-platform-tech-deep-dive) [comments] (https://www.reddit.com/r/programming/comments/1rg4li5/docker_traefik_and_sse_streaming_a_postmortem_on/)
A modern C-like language you might’ve missed — C3 0.7.10
https://www.reddit.com/r/programming/comments/1rg9n9d/a_modern_clike_language_you_mightve_missed_c3_0710/

<!-- SC_OFF -->C3 0.7.10 is out. This release introduces constdef, for defining a group constants. It replaces the old "const enum" approach and better matches how C programmers typically structure constant groups with enums. Other improvements in this release:
• Much improved MSVC cross compilation
• Quality-of-life fixes
• Custom LLVM builds to reduce external dependencies Full write-up and examples:
https://c3-lang.org/blog/c3-0-7-10-constdef-finally-takes-shape/ (https://c3-lang.org/blog/c3-0-7-10-constdef-finally-takes-shape/?utm_source=chatgpt.com) <!-- SC_ON --> submitted by /u/Nuoji (https://www.reddit.com/user/Nuoji)
[link] (https://c3-lang.org/blog/c3-0-7-10-constdef-finally-takes-shape/) [comments] (https://www.reddit.com/r/programming/comments/1rg9n9d/a_modern_clike_language_you_mightve_missed_c3_0710/)
μpack: Faster & more flexible integer compression
https://www.reddit.com/r/programming/comments/1rgaq7j/%CE%BCpack_faster_more_flexible_integer_compression/

<!-- SC_OFF -->This is a blog post and library about fast integer compression and a novel implementation that allows for variable-sized output blocks compared to the more traditional fixed-size blocks. The post goes into how simdcomp by Daniel Lemire works, along with how and what μpack does differently, how it does this efficiently and some of the neat tricks that were used to optimise the assembly of the packing routines. I hope this is interesting to people and gives a good understanding of how both simdcomp and μpack work and brings some insight into how SIMD-based integer compression works. <!-- SC_ON --> submitted by /u/ChillFish8 (https://www.reddit.com/user/ChillFish8)
[link] (https://blog.cf8.gg/mpack-faster-more-flexible-integer-compression) [comments] (https://www.reddit.com/r/programming/comments/1rgaq7j/%CE%BCpack_faster_more_flexible_integer_compression/)
Is there a fully local alternative to remote AI session control?
https://www.reddit.com/r/programming/comments/1rgvc7l/is_there_a_fully_local_alternative_to_remote_ai/

<!-- SC_OFF -->[Used self-hosted LLM for checking grammar and spelling mistake for this post] Anthropic recently launched Remote Control for Claude Code, which lets you continue a local session from your phone. That idea is interesting, but it raises some questions around: Cloud relay Subscriptions Vendor lock-in Agent-specific integrations There’s an open-source tool called itwillsync that approaches this differently. Instead of relying on a cloud bridge, it wraps any terminal-based agent in: node-pty Local HTTP server WebSocket bridge xterm.js browser terminal You run something like: npx itwillsync -- claude npx itwillsync -- kilo npx itwillsync -- cline Then scan a QR code and open the terminal in a mobile browser to control the session. Key points LAN-only (no cloud relay) No subscription Agent-agnostic (Claude, Aider, Codex, bash, etc.) Multiple devices can connect 64-character session token WebSocket keepalive Optional remote access via Tailscale or SSH tunnel Everything stays on your own network. Curious if anyone here has tried something similar for mobile access to local agents?
Are there other self-hosted approaches people prefer? <!-- SC_ON --> submitted by /u/shrijayan (https://www.reddit.com/user/shrijayan)
[link] (https://github.com/shrijayan/itwillsync) [comments] (https://www.reddit.com/r/programming/comments/1rgvc7l/is_there_a_fully_local_alternative_to_remote_ai/)
On How Mailchimp Suspended Our Account
https://www.reddit.com/r/programming/comments/1rgvhvc/on_how_mailchimp_suspended_our_account/

<!-- SC_OFF -->TL;DR; Our email provider stopped delivering our emails and locked us out of the account. Then, they didn’t reply for over 16 hours (or more, depending on what you consider a reply), and when they did, they suggested that our API key was leaked. When asked about why they think so, they mentioned that we sent two “fake shipping messages”… And yet, they cannot tell us which ones are these. <!-- SC_ON --> submitted by /u/radekmie (https://www.reddit.com/user/radekmie)
[link] (https://radekmie.dev/blog/on-how-mailchimp-suspended-our-account/) [comments] (https://www.reddit.com/r/programming/comments/1rgvhvc/on_how_mailchimp_suspended_our_account/)
Laravel OCR & Document Data Extractor - A powerful OCR and document parsing engine for Laravel
https://www.reddit.com/r/programming/comments/1rgvjtc/laravel_ocr_document_data_extractor_a_powerful/

<!-- SC_OFF -->Turn any image or PDF into structured, actionable data. A powerful, developer-friendly Laravel package that reads text from images and PDFs, understands the content, fixes scanning errors with AI, and delivers clean, structured data directly to your application. <!-- SC_ON --> submitted by /u/mayaramyadav (https://www.reddit.com/user/mayaramyadav)
[link] (https://packagist.org/packages/mayaram/laravel-ocr) [comments] (https://www.reddit.com/r/programming/comments/1rgvjtc/laravel_ocr_document_data_extractor_a_powerful/)