Reddit Programming
209 subscribers
1.22K photos
123K links
I will send you newest post from subreddit /r/programming
Download Telegram
MBCompass - FOSS Compass and Navigation App
https://www.reddit.com/r/programming/comments/1mlmiw5/mbcompass_foss_compass_and_navigation_app/

<!-- SC_OFF -->Hello everyone, I'm pleased to announce MBCompass, which is a modern, free, and open source Compass and Navigation app without Ads, IAP, or Tracking. That's support Compass and Navigation features with being lightweight and simple! I built MBCompass, not just another FOSS compass app; it bridges the gap between a compass and a full navigation app Features: Shows clear cardinal direction and magnetic azimuths. Displays magnetic strength in µT. Live GPS location tracking on OpenStreetMap. Sensor fusion for improved accuracy (accelerometer, magnetometer, gyroscope). Light and dark theme support is controlled via Settings. Keeps the screen on during navigation. Landscape orientation support. Built with Jetpack Compose and Material Design. No ads, no in-app purchases, no tracking. Runs on Android 5.0+ full list available on website Even with all these features, MBCompass was just 1.35MB APK size with no ads, no IAPs, and no trackers For more info: https://compassmb.github.io/MBCompass-site/ <!-- SC_ON --> submitted by /u/native-devs (https://www.reddit.com/user/native-devs)
[link] (https://github.com/CompassMB/MBCompass) [comments] (https://www.reddit.com/r/programming/comments/1mlmiw5/mbcompass_foss_compass_and_navigation_app/)
wrkflw v0.6.0
https://www.reddit.com/r/programming/comments/1mlqoxw/wrkflw_v060/

<!-- SC_OFF -->Hey everyone! Excited to announce the release of wrkflw v0.6.0! 🎉 For those unfamiliar, wrkflw is a command-line tool written in Rust, designed to help you validate, execute and trigger GitHub Actions workflows locally. What's New in v0.6.0? 🐳 Podman Support: Run workflows with Podman, perfect for rootless execution and environments where Docker isn't permitted! Improved Debugging: Better container preservation and inspection capabilities for failed workflows. # Install and try it out! cargo install wrkflw # Run with Podman wrkflw run --runtime podman .github/workflows/ci.yml # Or use the TUI wrkflw tui --runtime podman Checkout the project at https://github.com/bahdotsh/wrkflw I'd love to hear your feedback! If you encounter any issues or have suggestions for future improvements, please open an issue on GitHub. Contributions are always welcome! Thanks for your support! <!-- SC_ON --> submitted by /u/New-Blacksmith8524 (https://www.reddit.com/user/New-Blacksmith8524)
[link] (https://github.com/bahdotsh/wrkflw) [comments] (https://www.reddit.com/r/programming/comments/1mlqoxw/wrkflw_v060/)
Novaxis: A smarter bf***
https://www.reddit.com/r/programming/comments/1mlr604/novaxis_a_smarter_bf/

<!-- SC_OFF -->Novaxis. The dumbest esolang ever but at-least its modern. Novaxis is my personal project ive been working on for a solid 2-3 weeks in Python. An under 300 line python interpreted paradigm tape-based esolang inspired by Brainf***, like BF its tape based and runs extremely lightweight but instead of being compiled its interpreted into Python (crazy i know),with an extended syntax and "acceptable" interpreter speed and handle-ability extends its usage slightly beyond Brainf*** If anyone wants to learn more head to <!-- SC_ON --> submitted by /u/No_Garbage_3120 (https://www.reddit.com/user/No_Garbage_3120)
[link] (https://github.com/MOHAPY24/Novaxis) [comments] (https://www.reddit.com/r/programming/comments/1mlr604/novaxis_a_smarter_bf/)
Searching for a Product API
https://www.reddit.com/r/programming/comments/1mlrlu8/searching_for_a_product_api/

<!-- SC_OFF -->Hello community, I'm looking for an API that will provide links and images to products that can be purchased online. I've already tried serpAPI, but unfortunately the Google Shop API no longer works. Do you know of any other good APIs I can try? I don't think the Amazon API is ideal because it only lists Amazon products. I would like independent product results. <!-- SC_ON --> submitted by /u/uxwithjoshua (https://www.reddit.com/user/uxwithjoshua)
[link] (http://www.gifties.ai/) [comments] (https://www.reddit.com/r/programming/comments/1mlrlu8/searching_for_a_product_api/)
Meta’s Project Ghostbusters HACKS MILLIONS OF PEOPLE: How Facebook Turned a “VPN” Into a Legalized Man-in-the-Middle Attack
https://www.reddit.com/r/programming/comments/1mlu746/metas_project_ghostbusters_hacks_millions_of/

<!-- SC_OFF -->Court documents just revealed something straight out of a cyber-thriller: Back in 2016, Facebook (now Meta) ran Project Ghostbusters — a scheme where they bought a “privacy” VPN service called Onavo, then used it to intercept and decrypt encrypted traffic from competing apps like Snapchat, YouTube, and Amazon. They literally had users install a root certificate so Meta could snoop on what they were doing inside other apps. This is the exact kind of man-in-the-middle attack that would get a regular person arrested under wiretapping and computer crime laws. But here’s the kicker: If you or I did this? FBI raid. Felony charges. Jail time. Meta does it? A few news articles, a court case that drags for years, and no executives in handcuffs. It’s a wild reminder that a VPN doesn’t magically make you “safe” — it just moves your trust from one potential snoop to another. <!-- SC_ON --> submitted by /u/Illphated336 (https://www.reddit.com/user/Illphated336)
[link] (https://illphated.com/metas-project-ghostbusters-hacks-millions-of-people-how-facebook-turned-a-vpn-into-a-legalized-man-in-the-middle-attack/illphated/) [comments] (https://www.reddit.com/r/programming/comments/1mlu746/metas_project_ghostbusters_hacks_millions_of/)
Minimal Python secp256k1 + ECDSA implementation
https://www.reddit.com/r/programming/comments/1mm4bj4/minimal_python_secp256k1_ecdsa_implementation/

<!-- SC_OFF -->Wrote a tiny Python implementation of secp256k1 elliptic curve + ECDSA signing/verification. Includes: - secp256k1 curve math - Key generation - Keccak-256 signing - Signature verification Repo: https://github.com/0xMouiz/python-secp256k1 <!-- SC_ON --> submitted by /u/Mou3iz_Edd (https://www.reddit.com/user/Mou3iz_Edd)
[link] (https://github.com/0xMouiz/python-secp256k1) [comments] (https://www.reddit.com/r/programming/comments/1mm4bj4/minimal_python_secp256k1_ecdsa_implementation/)
[P] I accomplished 5000:1 compression by encoding meaning instead of data
https://www.reddit.com/r/programming/comments/1mm6t2s/p_i_accomplished_50001_compression_by_encoding/

<!-- SC_OFF -->I found a way to compress meaning (not data) that AI systems can decompress at ratios that should be impossible. Traditional compression: 10:1 maximum (Shannon's entropy limit)
Semantic compression: 5000:1 achieved (17,500:1 on some examples) I wrote up the full technical details, demo, and proof here (https://docs.google.com/document/d/1XCBMxiU1Rrsr0Itw-JU85B_LyxkVK4JU6R0AekOVTi8/edit?usp=drive_link) TL;DR: AI systems can expand semantic tokens into full implementations because they understand meaning, not just data patterns. Happy to answer questions or provide more examples in comments. <!-- SC_ON --> submitted by /u/barrphite (https://www.reddit.com/user/barrphite)
[link] (http://loretokens.com/) [comments] (https://www.reddit.com/r/programming/comments/1mm6t2s/p_i_accomplished_50001_compression_by_encoding/)
Started technical writing, ~4 years of experience
https://www.reddit.com/r/programming/comments/1mmicpn/started_technical_writing_4_years_of_experience/

<!-- SC_OFF -->I've recently picked up writing technical content again, and I would love for all the programming enthusiasts to read it! I've 4 years of overall experience and close to 2 years of frontend-specific expertise, thanks to my current day job. I've mostly written about niche/performance stuff till now, and am enjoying it. I'm also trying to get my technical writing going - not sure the route I'm taking is correct or not, but I'm writing on Medium (may also do Substack soon). I'm trying to get more eyes on my writings, so it'd be great if folks here could go read and share some feedback. Thanks! Wrote about data structures for handling binary data in JavaScript, their similarities and differences: https://medium.com/@devoopsie/mastering-binary-data-in-javascript-an-explanation-of-arraybuffer-typedarray-and-dataview-08447d10cd6d Also wrote about some UI performance gains achieved with web workers: https://medium.com/@devoopsie/how-i-squeezed-out-80-ui-speed-gains-using-web-workers-in-my-electron-app-9fe4e7731e7d <!-- SC_ON --> submitted by /u/_vibhor_gupta_ (https://www.reddit.com/user/_vibhor_gupta_)
[link] (https://medium.com/@devoopsie) [comments] (https://www.reddit.com/r/programming/comments/1mmicpn/started_technical_writing_4_years_of_experience/)
Wrote a Beginner-Friendly Linear Regression Tutorial (with Full Code)
https://www.reddit.com/r/programming/comments/1mmjgrw/wrote_a_beginnerfriendly_linear_regression/

<!-- SC_OFF -->Hey everyone! I just published a beginner-friendly guide on Simple Linear Regression where I cover: Understanding regression vs classification Why “linear” matters in the algorithm Error minimization explained in plain English A hands-on Python project with code, visuals, and predictions It’s designed for anyone just starting out in ML who wants to learn by building — without drowning in heavy math or abstract theory. If you get a chance to read it, I’d love your feedback, comments, and even an upvote if you find it useful. Your support will help more beginners discover it! Blog Link: Medium (https://medium.com/p/e3a1e86f622a) Code Link: Github (https://github.com/watzal/SimpleLinearRegression) <!-- SC_ON --> submitted by /u/Motor_Cry_4380 (https://www.reddit.com/user/Motor_Cry_4380)
[link] (https://medium.com/p/e3a1e86f622a) [comments] (https://www.reddit.com/r/programming/comments/1mmjgrw/wrote_a_beginnerfriendly_linear_regression/)
Rustroid - The Rust IDE that runs locally on your Android phone.
https://www.reddit.com/r/programming/comments/1mmjt5i/rustroid_the_rust_ide_that_runs_locally_on_your/

<!-- SC_OFF -->Hello there. I'm Mohammed Khaled, and I'll just get straight to the point. I have just completed one of the biggest projects of my life. For about a year, I've been working on an IDE for Android (that runs on Android locally). By IDE, I truly mean an integrated development environment, one that offers features like syntax highlighting, auto-completion, diagnostics, signature help, go-to definition, declaration, implementation, show documentation, and more. Currently, it's for the Rust programming language. I chose Rust because it's consistently one of the most admired languages in the annual Stack Overflow surveys. A lot of the code in the IDE is shared, so it wouldn't be too difficult to adapt it for other languages in the future. The IDE does even allow the user to export APKs for graphical applications and games and also lets them run the app quickly without having to install it. The app actually uses a strange dynamic loading technique to load itself from the shared library it generates from your code. I've created a website for the app where I detail its features: https://rustroid.is-a.dev (https://rustroid.is-a.dev/) And I wrote about why and how I created the app in this article: https://rustroid.is-a.dev/story The application is available on Google Play.
https://play.google.com/store/apps/details?id=com.mohammedkhc.ide.rust And yeah that's it. Disclaimer: The application is not open source and/or free, but it's super cheap. It's also on sale for three days for only $4.50. I explained why is that in detail in https://rustroid.is-a.dev/story#publishing-the-app For screenshots, check out the app on Google Play:
https://play.google.com/store/apps/details?id=com.mohammedkhc.ide.rust <!-- SC_ON --> submitted by /u/MohammedKHC (https://www.reddit.com/user/MohammedKHC)
[link] (https://rustroid.is-a.dev/story) [comments] (https://www.reddit.com/r/programming/comments/1mmjt5i/rustroid_the_rust_ide_that_runs_locally_on_your/)
ShadowEngine2D v1.2.0: Rust-based 2D game engine with physics, tilemaps, and performance profiling now on crates.io
https://www.reddit.com/r/programming/comments/1mmjudi/shadowengine2d_v120_rustbased_2d_game_engine_with/

<!-- SC_OFF -->I just published ShadowEngine2D v1.2.0, a 2D game engine written in Rust. New features in v1.2.0: - Text rendering system with font management - 2D physics engine built on parry2d with collision detection - Multi-layer tilemap system with CSV import/export - Performance profiler with FPS tracking and memory monitoring - Save/load system with JSON serialization and auto-save Technical stack: - WGPU for cross-platform rendering - Winit for windowing and input handling - Parry2d for physics simulation - Serde for serialization - Glam for math operations Installation: cargo add shadowengine2d The crate includes 4 examples demonstrating basic usage, modern game structure, debug output, and all v1.2.0 features. Licensed under MIT and Apache 2.0. The engine supports Windows, macOS, and Linux with hardware-accelerated graphics rendering. <!-- SC_ON --> submitted by /u/SureMeat5400 (https://www.reddit.com/user/SureMeat5400)
[link] (https://crates.io/crates/shadowengine2d) [comments] (https://www.reddit.com/r/programming/comments/1mmjudi/shadowengine2d_v120_rustbased_2d_game_engine_with/)