mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

348K
active users
Brian McKenna<p>Wired up a warning light, reverse switch, and regen brake button. Went on a trip from 230m above sea level to 3.3km away, 180m above sea level, then turned around and came back. The vehicle works great going uphill the 1:40 gradient. Has a huge amount of power. Battery only dropped 0.6V, so like 3% used? Really happy!</p>
Brian McKenna<p>Changed a bunch of settings in the Fardriver controller and then tried the newly electric vehicle on the 1:40 gradient near our station. It has a really good amount of power and gets up the hill without issue. I think I&#39;m only hitting around 2kW on the 5kW motor. Need more stress testing.</p>
Brian McKenna<p>I wired up the 200A BMS, a 15A adjustable voltage charger, and an emergency stop button. I accidentally did a factory reset of the motor controller due to my lack of Chinese language skills. Now, I have to figure out the right configuration for the QS165 and redo the self-learning, which requires taking off the chain. Annoying!</p>
Brian McKenna<p>I did not expect aspects of functional programming to be discussed in a video about the self-sabotaging pricing of proprietary software, but I really enjoyed it: <a href="https://youtu.be/I4mdMMu-3fc" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">youtu.be/I4mdMMu-3fc</span><span class="invisible"></span></a></p>
Brian McKenna<p>Got <a href="https://mastodon.social/tags/NixOnWindows" class="mention hashtag" rel="tag">#<span>NixOnWindows</span></a> to pass its first functional test, executed using Wine.</p>
Brian McKenna<p>Debugging <a href="https://mastodon.social/tags/NixOnWindows" class="mention hashtag" rel="tag">#<span>NixOnWindows</span></a> using <a href="https://mastodon.social/tags/NixOS" class="mention hashtag" rel="tag">#<span>NixOS</span></a>. I&#39;m running w64devkit&#39;s gdbserver.exe binary under wine, loading in nix.exe then connecting &quot;remotely&quot; to that GDB session from VSCode. I&#39;m even loading in libstdc++&#39;s pretty-printing, which is something I didn&#39;t have when debugging natively under Windows.</p>
Brian McKenna<p>Battery box got made, but bolt holes are in slightly wrong spot, so it will need to be modified. Hood now doesn&#39;t fold flat, so the hinge will have to be modified slightly. Hopefully, we will be able to give it a quick trial on the railway in a week.</p>
Brian McKenna<p>Want daily builds of your <a href="https://mastodon.social/tags/NixOS" class="mention hashtag" rel="tag">#<span>NixOS</span></a> configurations, but you use Flakes? I documented my hack here: <a href="https://brianmckenna.org/blog/hydra_dynamic_flakes" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">brianmckenna.org/blog/hydra_dy</span><span class="invisible">namic_flakes</span></a></p>
Brian McKenna<p>Got the train wheels spinning electrically for the very first time. 72V battery thrown together from two old Hyundai Kona modules. Foot pedal throttle is connected to an ND72450 motor controller, which goes to a QS165 motor. Way too much power. Will need to heavily tune the power limits.</p>
Unison Programming Language<p>🌟 We're thrilled to announce the first official release of the UCM Desktop! ✨ </p><p>Explore your Unison codebase, click through to source definitions, and read the docs with a sleek desktop interface. Get the app here:</p><p><a href="https://github.com/unisonweb/ucm-desktop/releases/tag/app-v1.0.0?utm_source=mastodon" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/unisonweb/ucm-deskt</span><span class="invisible">op/releases/tag/app-v1.0.0?utm_source=mastodon</span></a></p>
Brian McKenna<p>The lawnmower now has a solid rear axle with a 37 tooth sprocket attached. Runs to the motor, which has a 14 tooth sprocket. Chain is 428 size. Giving a fixed 2.6 gear ratio. Just need to put it together and add batteries!</p>
samueldr<p>Wrote some words specifically about the <em>problem</em> that is handling <em>dtb files</em> on devicetree platforms with the Linux kernel's expectations regarding its own <em>dtb files</em>.</p><p>I suspect this may be somewhat controversial, and will spark debate (which is also kind of the goal). Still, I hope everyone who reads will make a good attempt at internalizing the nuances I am trying to highlight, even if they disagree with some of the details.</p><ul><li><a href="https://samuel.dionne-riel.com/blog/2024/12/05/dtb-loading-is-harder-than-it-looks.html" rel="nofollow noopener" target="_blank">https://samuel.dionne-riel.com/blog/2024/12/05/dtb-loading-is-harder-than-it-looks.html</a></li></ul>
Brian McKenna<p>After taking a look at the existing mower transaxle, we noticed that someone had welded a pulley to it, and it was completely out of line. Wish we knew before screwing around with motor pulleys! After struggling to find a replacement transaxle or input shaft, we decided to completely change the approach. Going to weld the axles together and put a 428 40T chain sprocket in the middle, which will be pulled by a 14T front motor sprocket. Fixed 2.8 gear ratio.</p>
Brian McKenna<p>100mm pulley was too big. Had to get a 70mm pulley instead. Now attached to the motor, ready to put on the chassis.</p>
Brian McKenna<p>nix.exe resolving the flake registry, downloading nixpkgs, then trying to evaluate the non-existent Windows packages <a href="https://mastodon.social/tags/NixOnWindows" class="mention hashtag" rel="tag">#<span>NixOnWindows</span></a></p>
Brian McKenna<p>First file created in the Windows Nix store <a href="https://mastodon.social/tags/NixOnWindows" class="mention hashtag" rel="tag">#<span>NixOnWindows</span></a></p>
Irenes (many)<p>neat post! very good to know how to do this <a href="https://mtlynch.io/nix-fuzz-testing-1/" rel="nofollow noopener" target="_blank">https://mtlynch.io/nix-fuzz-testing-1/</a></p>
Brian McKenna<p>Hacked up nix.exe to start making a local store <a href="https://mastodon.social/tags/NixOnWindows" class="mention hashtag" rel="tag">#<span>NixOnWindows</span></a></p>
Brian McKenna<p>Nix&#39; functional test suite, running on Windows! <a href="https://github.com/nix-windows/nix/actions/runs/11695796213/job/32571822806#step:10:2751" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/nix-windows/nix/act</span><span class="invisible">ions/runs/11695796213/job/32571822806#step:10:2751</span></a> (they all fail) <a href="https://mastodon.social/tags/NixOnWindows" class="mention hashtag" rel="tag">#<span>NixOnWindows</span></a></p>
Brendan Zab<p>Is there a programming language out there that sort of has… built in recursion schemes? i.e. so that you don’t need to remember a menagerie of different weirdly named functions, juggle fix datatypes or do painful stuff to support mutual recursion? I know of the “catamorphisms” in the nanopass framework (<a href="https://nanopass.org/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">nanopass.org/</span><span class="invisible"></span></a>), which essentially let you forward through a transformation automatically and elide boilerplate cases, but I’m hoping for something more general.</p>