From pete at soper.us Sat May 6 12:36:38 2023 From: pete at soper.us (Peter Soper) Date: Sat, 6 May 2023 13:36:38 -0400 (EDT) Subject: [TriEmbed] Possible big deal for Python programmers: Mojo Message-ID: Not clear if this will relate to embedded development but it's relevance to AI might drive rapid maturation. It's a pure Python superset (a very light layer of syntactic sugar) that can be compiled with state of the art tools for native code generation targeting multiple cores. Another amazing advance driven by the LLVM/Clang/Swift/MLIR developer Chris Lattner. Mojo might be the biggest thing to happen in programming for decades - https://www.fast.ai/posts/2023-05-03-mojo-launch.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From 1101010 at gmail.com Tue May 9 15:06:02 2023 From: 1101010 at gmail.com (jonathan hunsberger) Date: Tue, 9 May 2023 16:06:02 -0400 Subject: [TriEmbed] Possible big deal for Python programmers: Mojo In-Reply-To: References: Message-ID: It looks interesting but at the moment the only place you can try it is in a sandbox JupyterHub hosted by the company developing it. The github repo ( https://github.com/modularml/mojo) says they will open-source it but doesn't say what license, so it's hard to know how widely-usable it will be. Seems very early for the breathless excitement of that article you linked, but maybe part of that is the track record of the developer. Definitely something to keep an eye on! On Sat, May 6, 2023 at 1:36?PM Peter Soper via TriEmbed < triembed at triembed.org> wrote: > Not clear if this will relate to embedded development but it's relevance > to AI might drive rapid maturation. It's a pure Python superset (a very > light layer of syntactic sugar) that can be compiled with state of the art > tools for native code generation targeting multiple cores. Another amazing > advance driven by the LLVM/Clang/Swift/MLIR developer Chris Lattner. > > Mojo might be the biggest thing to happen in programming for decades - > https://www.fast.ai/posts/2023-05-03-mojo-launch.html > _______________________________________________ > Triangle, NC Embedded Interest Group mailing list > > To post message: TriEmbed at triembed.org > List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org > TriEmbed web site: https://TriEmbed.org > To unsubscribe, click link and send a blank message: mailto: > unsubscribe-TriEmbed at bitser.net?subject=unsubscribe > Searchable email archive available at > https://www.mail-archive.com/triembed at triembed.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chanoia33 at gmail.com Wed May 10 13:31:41 2023 From: chanoia33 at gmail.com (Charles A) Date: Wed, 10 May 2023 14:31:41 -0400 Subject: [TriEmbed] Fwd: CAN Bus Resources In-Reply-To: <3b032cbc7c774bb0a4b5621db84f9bcc@temposonics.com> References: <3b032cbc7c774bb0a4b5621db84f9bcc@temposonics.com> Message-ID: Hello All, I mentioned in Monday?s meeting that I am working in the CAN Bus area. My work is in Python running on RPi?s (PI Zero W, Pi3B and Pi3A+ so far). I have found lots of good development boards on the web at Copperhill Technologies. They have great customer service too! Copperhill Technologies - SAE J1939, CAN Bus, NMEA 2000, IoT I am currently using the PICAN2 Duo with very good results. I also have the PICAN3 but haven?t started using it yet. Links below: PiCAN2 Duo CAN Bus Board For Raspberry Pi 4 With 3A SMPS (copperhilltech.com) PiCAN3 CAN Bus Board for Raspberry Pi 4 with 3A SMPS And RTC - Copperhill (copperhilltech.com) OBD Plug (16-pin) to DE-9 (DB-9) Socket Adapter Cable [1 meter long] : ID 4841 : $5.95 : Adafruit Industries, Unique & fun DIY electronics and kits Adafruit also has feather and RP2040 based CAN Bus options if interested: Adafruit RP2040 CAN Bus Feather with MCP2515 CAN Controller [STEMMA QT] : ID 5724 : $19.95 : Adafruit Industries, Unique & fun DIY electronics and kits Adafruit CAN Bus FeatherWing - MCP2515 : ID 5709 : $12.50 : Adafruit Industries, Unique & fun DIY electronics and kits Adafruit PiCowbell CAN Bus for Pico - MCP2515 CAN Controller : ID 5728 : $12.50 : Adafruit Industries, Unique & fun DIY electronics and kits Adafruit CAN Pal - CAN Bus Transceiver [TJA1051T/3] : ID 5708 : $3.95 : Adafruit Industries, Unique & fun DIY electronics and kits -------------- next part -------------- An HTML attachment was scrubbed... URL: From pete at soper.us Thu May 11 12:31:03 2023 From: pete at soper.us (Pete soper) Date: Thu, 11 May 2023 13:31:03 -0400 Subject: [TriEmbed] Python print problem Message-ID: <31292f48-922b-1fa0-130c-5e55da18ee75@soper.us> I have some python code that has this statement: ??????? print(f'C: {degrees_c:6.2f} F: {degrees_f:6.2f}') If I run the script from an Ubuntu bash terminal session I get the two temperatures as expected. But if I redirect the output I get nothing. For instance these two commands result in zero output to the terminal or log file: ??? ./edgerBMP3XX.py >log ??? ./edgerBMP3XX.py | tee -a log What am I doing wrong? The version is 3.8.10. Pete From 1101010 at gmail.com Thu May 11 12:41:09 2023 From: 1101010 at gmail.com (jonathan hunsberger) Date: Thu, 11 May 2023 13:41:09 -0400 Subject: [TriEmbed] Python print problem In-Reply-To: <31292f48-922b-1fa0-130c-5e55da18ee75@soper.us> References: <31292f48-922b-1fa0-130c-5e55da18ee75@soper.us> Message-ID: Probably output buffering if the script continues running. See what happens if you set PYTHONUNBUFFERED environment variable or add , flush=True to your print arguments. On Thu, May 11, 2023, 13:31 Pete soper via TriEmbed wrote: > I have some python code that has this statement: > > print(f'C: {degrees_c:6.2f} F: {degrees_f:6.2f}') > > If I run the script from an Ubuntu bash terminal session I get the two > temperatures as expected. But if I redirect the output I get nothing. > For instance these two commands result in zero output to the terminal or > log file: > > ./edgerBMP3XX.py >log > > ./edgerBMP3XX.py | tee -a log > > What am I doing wrong? The version is 3.8.10. > > Pete > > > > _______________________________________________ > Triangle, NC Embedded Interest Group mailing list > > To post message: TriEmbed at triembed.org > List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org > TriEmbed web site: https://TriEmbed.org > To unsubscribe, click link and send a blank message: mailto: > unsubscribe-TriEmbed at bitser.net?subject=unsubscribe > Searchable email archive available at > https://www.mail-archive.com/triembed at triembed.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pete at soper.us Thu May 11 12:48:58 2023 From: pete at soper.us (Pete soper) Date: Thu, 11 May 2023 13:48:58 -0400 Subject: [TriEmbed] Python print problem In-Reply-To: References: <31292f48-922b-1fa0-130c-5e55da18ee75@soper.us> Message-ID: <676a152e-1cd4-004d-7070-2cc139346a79@soper.us> flush = True did the trick. Thanks! Pete On 5/11/23 13:41, jonathan hunsberger via TriEmbed wrote: > Probably output buffering if the script continues running. See what > happens if you set PYTHONUNBUFFERED environment variable or add , > flush=True to your print arguments. > > On Thu, May 11, 2023, 13:31 Pete soper via TriEmbed > wrote: > > I have some python code that has this statement: > > ???????? print(f'C: {degrees_c:6.2f} F: {degrees_f:6.2f}') > > If I run the script from an Ubuntu bash terminal session I get the > two > temperatures as expected. But if I redirect the output I get nothing. > For instance these two commands result in zero output to the > terminal or > log file: > > ???? ./edgerBMP3XX.py >log > > ???? ./edgerBMP3XX.py | tee -a log > > What am I doing wrong? The version is 3.8.10. > > Pete > > > > _______________________________________________ > Triangle, NC Embedded Interest Group mailing list > > To post message: TriEmbed at triembed.org > List info: > http://mail.triembed.org/mailman/listinfo/triembed_triembed.org > TriEmbed web site: https://TriEmbed.org > To unsubscribe, click link and send a blank message: > mailto:unsubscribe-TriEmbed at bitser.net?subject=unsubscribe > Searchable email archive available at > https://www.mail-archive.com/triembed at triembed.org/ > > > _______________________________________________ > Triangle, NC Embedded Interest Group mailing list > > To post message:TriEmbed at triembed.org > List info:http://mail.triembed.org/mailman/listinfo/triembed_triembed.org > TriEmbed web site:https://TriEmbed.org > To unsubscribe, click link and send a blank message:mailto:unsubscribe-TriEmbed at bitser.net?subject=unsubscribe > Searchable email archive available athttps://www.mail-archive.com/triembed at triembed.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pete at soper.us Thu May 18 13:18:31 2023 From: pete at soper.us (Pete soper) Date: Thu, 18 May 2023 14:18:31 -0400 Subject: [TriEmbed] Project Edger meeting Wednesday 5/24 7-9pm @ Forge & Jitsi Message-ID: <27b81dd0-3235-5e1e-2005-eb61a46077af@soper.us> Project Edger Meeting Wednesday the 24th we'll have an Edger meeting at the Forge Initiative at 2172 Salem St., suite 002, Apex, NC. Doors will open at 6:30pm for setup and the meeting will start at 7pm and finish at 9pm. This will be a hybrid meeting with a Jitsi session at _https://meet.jit.si/TriEmbed_ The meeting agenda will be published closer to the day. The project website is at https://edger.app and the repository is at https://github.com/triembed/edger . Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: From pete at soper.us Mon May 22 10:15:33 2023 From: pete at soper.us (Peter Soper) Date: Mon, 22 May 2023 11:15:33 -0400 (EDT) Subject: [TriEmbed] FPGA emulation of RP2040 PIO Message-ID: Recreating RP2040 PIO Interface in an FPGA - https://github.com/lawrie/fpga_pio -------------- next part -------------- An HTML attachment was scrubbed... URL: From pete at soper.us Mon May 22 10:34:17 2023 From: pete at soper.us (Peter Soper) Date: Mon, 22 May 2023 11:34:17 -0400 (EDT) Subject: [TriEmbed] Linux on RP2040 Message-ID: Running Linux on RP2040 with the help of RISC-V emulation - https://github.com/tvlad1234/pico-rv32ima -------------- next part -------------- An HTML attachment was scrubbed... URL: From pete at soper.us Wed May 24 17:56:29 2023 From: pete at soper.us (Pete soper) Date: Wed, 24 May 2023 18:56:29 -0400 Subject: [TriEmbed] Project Edger meeting Wednesday 5/24 7-9pm @ Forge & Jitsi In-Reply-To: <27b81dd0-3235-5e1e-2005-eb61a46077af@soper.us> References: <27b81dd0-3235-5e1e-2005-eb61a46077af@soper.us> Message-ID: <460f5ef1-17ab-6089-c423-da1094dd5d8f@soper.us> We'll create an agenda at the start of the meeting. Pete On 5/18/23 14:18, Pete soper wrote: > > Project Edger Meeting > Wednesday the 24th we'll have an Edger meeting at the Forge Initiative > at 2172 Salem St., suite 002, Apex, NC. Doors will open at 6:30pm for > setup and the meeting will start at 7pm and finish at 9pm. This will > be a hybrid meeting with a Jitsi session at > _https://meet.jit.si/TriEmbed_ > > The meeting agenda will be published closer to the day. > > The project website is at https://edger.app and the repository is at > https://github.com/triembed/edger . > > Pete > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl.nobile at gmail.com Sat May 27 18:32:10 2023 From: carl.nobile at gmail.com (Carl Nobile) Date: Sat, 27 May 2023 19:32:10 -0400 Subject: [TriEmbed] I just published the TriEmbed meeting of 2023-05-08 Message-ID: Hi all, Sorry for the late publishing of this video. I had gone away a few days after it was recorded then completely forgot about it when I returned. The link to the video is: https://youtu.be/k1TPosIO46Y Next up is the FPGA video from 2023-05-24. ~Carl -------------------------------------------------------------- Carl J. Nobile (Software Engineer/API Design) carl.nobile at gmail.com -------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From carl.nobile at gmail.com Sat May 27 21:11:45 2023 From: carl.nobile at gmail.com (Carl Nobile) Date: Sat, 27 May 2023 22:11:45 -0400 Subject: [TriEmbed] Just published the Edger meeting from 2023-05-24 Message-ID: Hi all, I just published the Edjer meeting from last Wednesday. https://youtu.be/p8gnbPgA3gI ~Carl -------------------------------------------------------------- Carl J. Nobile (Software Engineer/API Design) carl.nobile at gmail.com -------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: