Threads for conradp

  1. 2

    tl;dr: The article provides some guidelines for how to build a decent Over-The-Air (OTA) update system that won’t brick a device. There’s also some neat links to other content on that company’s blog about linker settings, bootloaders, etc. that look useful if you’re shipping an embedded system.

    1. 3

      Related, this 10 bit gray code demo has often been one of my favorite demos for a graphics library.

      1. 1

        That circular gray code is gorgeous!

      1. 2

        I’m excited to see this release includes watercolor brushes! Those are going to be fun to play with.

        If you have a drawing tablet, like a cheap Wacom or something, Krita is a great drawing/painting tool. I’ve used it as a way to live-sketch during lectures, and be able to save the results.

        1. 3

          Experimenting with closed loop BLDC control on the ODrive, trying out a setup to recycle and recover Isopropyl Alcohol, and targeting my first 50 miler week on my feet.

          1. 1

            What are you planning to do with the BLDC motors, if anything?

            1. 2

              Initially, trying to figure out the limitations/capabilities of this kind of setup.

              Assuming it’s as quiet and performant as I expect it to be, this’ll be the first project the setup gets ported into: https://www.youtube.com/watch?v=YiupCe-qaOI

              After that, we’ll, I have some ideas :D

          1. 4

            I’ve started a blog and have one finished article on it about using native libraries in Flutter: https://asim.ihsan.io.

            I’d like to finish the second article on constant-space permutations. I wrote a Rust library for it but I want to document the idea and explain it well.

            I’d like to reach a cadence of an article every week and I’m slowly building up to it!

            Otherwise I keep promising my wife that I’ll publish a calendar all I’m making for her and testing via TestFlight to the App Store, that’s next.

            1. 2

              I skimmed your draft of the constant-space permutations article; it looks really neat! I think the idea there is pretty cool, and I’ve actually run into a few situations at my job where a permutation library like permutation-iterator-rs would’ve been really useful.

              1. 2

                Thank you! I appreciate your feedback. I’m going to try and clearly explain the method used. It’s also possible to compile Rust to Webassembly so I’m trying to see if interactivity helps explain the ideas.

            1. 2

              I’m overhauling my workflow on a computing cluster at my university. I expect it to be a bit of a slog because it’s Slurm job scripts, and they’ve gotten pretty crufty over time.

              I’m also working on an ethernet-related tool in Rust on the side, so while I’m waiting on Slurm job scripts to run/explode on the cluster, I’ll probably be hacking around in Rust, which should be fun!

              1. 1

                tl;dr: This was a neat little article, where the author covers how they’re building shaders into their (C++?) software renderer. They even have a demo video or two where they show their small shading engine coloring a spinning cube, OpenGL style!

                My main nit is a stylistic one: The author has a vendetta against Capitals at the start of sentences, and it made reading their work much more difficult for me, because my eyes would skip past the end of one sentence, smack into the next one, and then I’d have to go back and re-read. After doing that for 2-3 paragraphs it was no longer a cute quirk, it was just annoying.

                1. 2

                  I’m writing a parser/lexer for Core Erlang in OCaml. Eventually, I’d like to expand to constructing an entire compiler, but that’s in the future for now. Wrangling Menhir for the parser and making decisions about my AST design are going to occupy me for a while, I think.

                  1. 2

                    This looks like a numeric type that would be fun to code up a module for in Verilog! The handling of NaN values thankfully doesn’t look to be any more complicated than normal IEEE 754 floating-point, so that’s good.

                    One interesting thing I saw just from glancing over the page is that the value 0 has 255 different representations – all of which are considered equivalent. Having not built an ALU working with DEC64’s, I can’t say yet whether or not that will be an issue in practice.

                    1. 1

                      I’m working on course materials for a new IoT course at my university, as well as hacking on side projects when I have the time.

                      I’m also trying to get back into a good work/sleep schedule for 2020, which is difficult, given that some of my most productive work hours seem to occur after midnight.

                      1. 2

                        Hey Philip! Let me know when you get those resources together. Charles said the project is going to be a webserver implemented in assembly, is that right? Sounds like a lot of fun.

                        I’ve found that my most productive time is either way early in the morning (before 8) or after dinner (after 8). During the day I don’t seem to get as much done, I couldn’t tell you why.