r/ripred • • 26d ago

Software Free Game - Total Annihilation 2026

Thumbnail totalannihilation2026.trentwyatt.com
1 Upvotes
30 Years Later - Totally Free

r/ripred • • Oct 04 '26

Redditors vs Redditors

3 Upvotes

About this post

Euclid is a strategy game about placing dots and completing squares. This post collects finished matches between two Redditors, shared by their winners. Each comment is one result, newest first.

The post is locked, so only the Euclid app adds results. Play Euclid and choose Share result after you win a match to add yours.


r/ripred • • 12h ago

Primary Color A Tribute to Human-Crafted Code Wizardry: The Two Standard C Functions That 99% of C Programmers Don't Know About that Have An Incredible Embedded Payoff

1 Upvotes

Early in my career in the early 1980s I was fortunate enough to work with an engineer who wrote some of the coolest C code I’ve seen in 40+ years. This series is my attempt to recreate it and explain how it worked.

That code powered the proprietary pipeline in FactoryLink1, the industrial control and automation software we worked on at United States Data Corporation (USDATA). I was in the Kernel Group, where I helped maintain the runtime kernel and wrote the Compiled Math & Logic toolchain.

1 FactoryLink launched in 1986, and by 2003 USDATA reported that it had shipped more than 79,000 copies to more than 110 countries. When USDATA sold the FactoryLink business to Tecnomatix in 2003, it kept the patent on FactoryLink’s Open Software Bus and licensed it to Tecnomatix. U.S. Patent 4,908,746 expired on March 13, 2007. Later that year Siemens bought UGS, which had acquired Tecnomatix in 2005. On May 29, 2026, the USPTO cancelled Siemens Industry Software’s trademark registration for the Factory Link name.

The two functions are: setjmp(...) and longjmp(...).

A goto can jump to a label in the current function. A longjmp can take you back to a point that any still-active caller in the same thread has saved using setjmp, even from deep in the call stack.

Here’s how we put that idea to work in the FactoryLink recreation. We can declare hundreds of variables at compile time. When a reader asks for one, it gets the value right away if there’s a change it hasn’t seen. Otherwise it saves its place and goes to sleep right there inside the read. Several readers can be waiting on the same variable, each with its own stack. When any writer changes that variable, every reader waiting on it picks up where it left off and its read returns with the new value. Until then, those readers spend absolutely no CPU time polling. That can be especially valuable in an embedded system.

Before the writer even gets to its next statement, every reader that was waiting on that variable has already returned from its read and had a chance to use the new value. And all of that happens on a single thread.

If you’ve used MQTT, you’ll recognize the pattern. A writer publishes a value without knowing who’s listening. Here it all happens in memory. When a writer changes the value, longjmp takes each waiting reader right back into the read call it made earlier. That same call finally returns with the new value. But unlike MQTT, this architecture lets the writer hand its own thread to each waiting reader in turn, without sending a message through a broker. It took me a long time to appreciate how much work that little handoff saved.

In the next article I’ll introduce the API and use a small sketch to show how long that handoff takes. Then we’ll try the same example with an RTOS and with a cooperative scheduling library and see how the timings compare.


r/ripred • • 24d ago

Software Euclid Released in Apple App Store - Need Android Testers!

Thumbnail
apps.apple.com
1 Upvotes

Available on (or under review now):

iPhone

iPad

macOS

Apple TV

Apple Watch

Apple Viseon Pro


r/ripred • • Oct 18 '26

I need Beta Testers! Free Game on iOS and Android

Thumbnail
reddit.com
1 Upvotes

r/ripred • • Oct 04 '26

Euclid

3 Upvotes

Euclid

Euclid is a strategy game about placing dots and completing squares. Open the post on reddit.com to play.


r/ripred • • Oct 04 '26

Redditors vs Euclid

2 Upvotes

About this post

Euclid is a strategy game about placing dots and completing squares. This post collects finished games against Euclid, the computer opponent, shared by the Redditors who played them. Each comment is one result, newest first.

The post is locked, so only the Euclid app adds results. Play Euclid and choose Share result after a win or loss to add yours.


r/ripred • • Jul 14 '26

Serial Monitor, Serial Plotter, and a new Serial ANSI Window!

2 Upvotes

r/ripred • • Jul 13 '26

Can your IDE do this?! (another sneak peek)

4 Upvotes

I've added full docking support for all views (Serial Monitor, Plotter, and new ANSI views too!), in-place tracing and viewing of all library source code (and assembly for everything).

I completely rewrote the circuit simulator to be pure C++ so it is as fast as possible.

This video is just a small snippet of the larger forensics gathering, sandboxing, trigger guards as well including integrated support for Wireshark and Ghidra.

It also fixes a huge existing security hole in Arduino's implementation of the IDE that allows for the installation and execution of unknown binaries and menu entries. Currently supported targets include the full AVR family, the full ESP32 family (including the full series through c6 and s6), and the FULL RP2040 stack including direct hardware debugging for all targets as well as using hardware device probes. The last month has been spent on the C++ SPICE porting/conversion, QEMU support (so now I can support and simulate ANY QEMU target), and serious application of DRY patterns/reductions.


r/ripred • • Jun 18 '26

A Sneak Peek ...

3 Upvotes

I really like falstad.com/circuit's Circuit Simulator. It is a true engineering gem. The author Paul Falstad provides the full source for the JavaScript version that is running there on the main page. He also provides an example version of using the engine integrated with the avr8js AVR compilation and emulation engine that is used for online Arduino simulators such as wokwi.com.

The example is limited and only exposes 4 AVR output pins that can connect to the running electronic circuit but it really got me thinking.

He also provides the original Java source code for the circuit simulator. I love Java. And seeing that source code for the Java version of the circuit simulator reminded me: Hey, isn't the Arduino IDE written in Java? Why yes. Yes it is.. Maybe you can see where I am going with this ...

Some time around 17 years ago I had those thoughts. I thought "Wouldn't it be great to have a tab in the IDE that could contain and run falstad.com's circuit simulator?!". Why yes. Yes it would.

The IDE and the Java version of the circuit simulator were a horrible mixture of AWT and Swing. Especially the IDE. And really the word horrible doesn't do it justice. Trauma inducing might be a batter description. But being the overconfident fellow I am I thought "How bad could it get? I'll just rewrite the whole thing...". That was 17 years ago...

I write shit tons of software just for fun. And when I was in the mood to really get deep into things I would work on this project on the side. I write compilers and linters as part of my day job so much of this got hammered on as I needed various tools: Protocol Analyzers, Assembly Language (and C/C++ source level) Debugging complete with full step in/over/out support including full support for address breakpoints, expression breakpoints (e.g. when X => Y), and various security fuzzing tools for odd assorted MCU/MPU/CPU/SoC/FPGA silicon targets.

The ATmega328 implementation is complete and has been for a few years but I needed to support other silicon targets that would have been much harder to write complete bespoke emulation engines for so I added support for the QEMU emulation engine. I've been adding silicon targets and tools purely on an as-needed basis until it just got to be one giant chunk of tech-debt that had gotten out of control. So I focused on refactoring the entire toolchain all over again from scratch. It continues to be a huge WIP but I do plan on doing something with it publicly eventually. yada yada here's a screenshot from today:


r/ripred • • Jun 08 '26

I forked Gately and pushed it into a live logic-simulator playground with truth tables, K-maps, custom components, auto-layout, runtime optimization, and more ..

Thumbnail
reddit.com
1 Upvotes

r/ripred • • Jun 05 '26

BetterMenu Library Updated with CYD Examples

Thumbnail
reddit.com
1 Upvotes

r/ripred • • May 31 '26

New - Official Arduino BetterMenu Library Released

Thumbnail
reddit.com
1 Upvotes

r/ripred • • May 09 '26

Some DIY Electronics Be Like..

1 Upvotes
whether you can versus whether you should 😂 🥴

maybe a better title is "What I wanted to make versus what I ended up with." lol


r/ripred • • May 04 '26

The Best Part of Engineering...

Thumbnail reddit.com
1 Upvotes

r/ripred • • Mar 03 '26

Standard 0.1" pcb pin pitch terminal blocks

Thumbnail
reddit.com
1 Upvotes

r/ripred • • Feb 20 '26

Embedded "openclaw style" Assistants are Trending

Thumbnail
reddit.com
1 Upvotes

r/ripred • • Feb 06 '26

Electronic Circuit Simulators

Thumbnail
reddit.com
1 Upvotes

r/ripred • • Jan 13 '26

The Arduino Uno Q 4GB Pre-Order Started Today

Thumbnail reddit.com
1 Upvotes

r/ripred • • Dec 30 '25

App Lab Custom Bricks and Applications!

Thumbnail
reddit.com
1 Upvotes

r/ripred • • Dec 17 '25

Exploring Arduino UNO Q LED Triggers: Complete Guide to the Linux LED Subsystem

Thumbnail reddit.com
1 Upvotes

r/ripred • • Dec 13 '25

TomServo 1.1.0 released: PCA9685 support + completion callbacks + new examples

Thumbnail reddit.com
1 Upvotes

r/ripred • • Dec 07 '25

Seeking robotics builder feedback: AI agentic robot with LLM-driven orchestration

1 Upvotes

Hi r/ripred,

We're working on an AI agentic robot project and looking for feedback from experienced robot builders on technical approach and real-world viability.

Technical approach:

  • LLM-driven streaming orchestration enabling reasoning-while-acting (not pre-scripted behaviors)
  • Multi-component coordination (12 servos, camera, mic, speaker, display)
  • Modular architecture where AI core can port to different chassis designs
  • Memory-personality framework for dynamic character development

Current prototype: Desktop quadruped. Survey includes footage of the system responding to unscripted natural language commands in real-time.

Survey link (5-7 minutes): https://docs.google.com/forms/d/e/1FAIpQLScDLqMYeSSLKSowCh-Y3n-22_hiT6PWNiRyjuW3mgT67e4_QQ/viewform?usp=dialog

Genuine technical validation needed - critical feedback from experienced builders extremely valuable. Happy to discuss implementation in comments.


r/ripred • • Nov 10 '25

Creating Your Own AI Models for the Uno Q - Pt 1

3 Upvotes

working title: Creating Your Own AI Models for the Uno Q - Pt 1

This is the next article in a series about exploring the new Qualcomm-based Arduino Uno Q.

In this article we'll learn how to create and train your own custom AI models for the Uno Q. In a future article we'll learn how to write your own custom Bricks that expose your AI model for use in your own App Lab projects and Apps.

You can create and train an AI model for anything you can imagine as long as you can:

  • Identify the right values that are the important attributes to measure and collect for the accurate training and use of the model
  • Take these measurements thousands or hundreds of thousands of times in order to collect a dataset of training material
  • Identify the output state(s) or values that you want your model to produce at inference time

Three fundamental uses for AI models are Classification, Identification, and Detection. The App Lab software ships with a few examples AI examples that demonstrate some classification and identification AI models and Bricks. The input to the models can be text, images, and even sounds.

One of those examples is a popular text classifier use case known as sentiment analysis. Sentiment analysis takes some form of input and it tries to determine the mood or sentiment of the content. The example that ships with the App Lap tutorial is a text classifier and it will take a string of text input and try to classify its contents as positive, negative, or neutral.

One example of a real life use case for Sentiment Analysis Text Classifiers

A program could make use of this new ability to intelligently automate the process of reading user reviews and then categorizing them. The results could then be put to use to automate the qualitative ranking of restaurants by integrating the number of positive, neutral, and negative reviews into a single qualitative numerical ranking value for each restaurant. That would then enable relative comparisons to me made for things like sorting the list of restaurants.

TODO:

  • point out that since we have an MCU reading input from the real world and controlling real world interactions such as a robot moving itself forward, left and right; We can also use these models to make real time decisions about what we do, what actions we take or don't take etc. A robot could have several conditions that it can sense such as light, sound, sonar-pings, accelerometer movements, and it can have its own understanding of whether brighter light is "positive" or "negative" etc.Or its own understanding of its battery levels and whether they are "positive" or "negative" from the robots perspective. And then all of these can be integrated to help decide what the robot does next. It may go to its charging station if its batteries are low. If more than one route is available it may also consider brighter pathways to be more "positive" choices to take since it may be able to see better (if that is possible).
  • Describe the MNIST Hand Written Digits dataset
  • Explain where to get it: https://www.kaggle.com/datasets/hojjatk/mnist-dataset
  • Explain that we have to provide the 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 labels/classifications for each of the images so that they can be used to train the model.
  • Explain that we have to break the labeled images it into into two sets: a set to use for training and then a set that it has never seen to use for testing. We have 60,000 images for training and 10,000 images for testing.
  • Explain that we have to extract the greyscale 28x28 images from the MNIST dataset.
  • Provide the Python program to do that extraction and creation.
  • Explain that we have to now send the training images up to edgeimpulse.com along with their labels and then send the testing images up to edgeimpulse.com along with their labels too.
  • Provide the Python program to do that uploading and labeling
  • Explain how to select and add the Image Processing stage and the Classification Learning stages to the dashboard
  • Explain the Generation step and how to apply that to the dataset at edgeimpulse.com
  • Explain the Training step and how to apply that to the dataset at edgeimpulse.com
  • Explain the Testing step and how to apply that to the dataset at edgeimpulse.com
  • Explain the selection of the target platform: Arduino Uno Q
  • Explain the Training step and how to apply that to the dataset at edgeimpulse.com