@JF@mastodon.codingfield.com avatar

JF

@JF@mastodon.codingfield.com

[FR,EN]
https://codingfield.com
Developpment: C, C++, embedded, Python
Platforms: Linux, Rpi, ESP8266, STM32, NRF52
Working on #InfiniTime, a FOSS firmware for the PineTime smartwatch.
https://infinitime.io
About me : https://codingfield.com/en/a-propos-de-moi/

This profile is from a federated server and may be incomplete. Browse more on the original instance.

JF, to random French
@JF@mastodon.codingfield.com avatar

I received my tracker from @seeedstudio

Let's try to connect it to !

JF,
@JF@mastodon.codingfield.com avatar

@seeedstudio

✅ Tracker connected to
✅ Data fetched using
✅ Data processed and converted to GeoJSON using a small script
✅ Map drawn by uMap

geerlingguy, to random
@geerlingguy@mastodon.social avatar

Can a CPU be too powerful?

I upgraded my Arm workstation: 128 cores, 384 GB of RAM, and a 4070 Ti to OBLITERATE the M2 Ultra Mac Pro (in almost every way).

See how Windows on Arm runs—and if I could finally get Steam going on Linux! https://www.youtube.com/watch?v=argfZlPZKdY

JF,
@JF@mastodon.codingfield.com avatar

@geerlingguy I wish I had so many cores! Not sure what I would do with them, but... I want them !😄

JF, to random
@JF@mastodon.codingfield.com avatar

Defining open hardware on @LWN

https://lwn.net/Articles/945870/

JF, to linuxphones
@JF@mastodon.codingfield.com avatar

, the Linux companion app that supports is now available in thanks to @jmlich and @piggz

https://fosstodon.org/@jmlich/111211201481856258

@PINE64

JF, to mastodon
@JF@mastodon.codingfield.com avatar

(Finally) updated to v4.2.1!

jmlich, to linuxphones
@jmlich@fosstodon.org avatar

for was published in open-store.

There can be some glitches:
(1) pairing may require turning on + off in settings, then you need to click back and select smatwatch again.
Yesterday it took me about 10 minutes to connect.

(2) I have noticed some reconnect issues which needed systemctl restart --user harbour-amazfish from terminal

(3) many smartwatch vendors are available, but not everything works see https://www.ncartron.org/review-of-amazfish-on-sailfishos.html

(4) voicecall api is different in sailfish.

JF,
@JF@mastodon.codingfield.com avatar

@piggz @jmlich @PINE64 @ubports Awesome, great work!

JF, to random
@JF@mastodon.codingfield.com avatar

, the Linux companion app for the by @piggz now displays the battery level of the watch thanks to @jmlich

https://github.com/piggz/harbour-amazfish/commit/fa171fe5040a6069036522c996dd73053fe16ccc

@PINE64

JF,
@JF@mastodon.codingfield.com avatar
JF, to proxmox
@JF@mastodon.codingfield.com avatar

I got running on the @PINE64

I hacked together an @armbian image with Megi's kernel and Proxmox-Arm64 and... it just works!
I'm using a SATA SSD and a NVME SSD as storage. OS is installed on the SD card.

Currently running a Rocky9 container and a Debian 12 VM.

https://github.com/jiangcuo/Proxmox-Arm64

collabora, to linux
@collabora@floss.social avatar

Coming up tomorrow at @KernelRecipes in Paris, Sebastian Reichel presents "Getting the RK3588 SoC supported upstream", a look at current upstream status of Rockchip's ! https://kernel-recipes.org/en/2023/schedule/getting-the-rk3588-soc-supported-upstream/

JF,
@JF@mastodon.codingfield.com avatar

@collabora @KernelRecipes I won't be able to attend this talk live. Will a recording be available afterwards?

JF, to linux
@JF@mastodon.codingfield.com avatar

Doing my best to help @thelinuxEXP and @tilvids sharing news, tutos and info about !

JF, to random
@JF@mastodon.codingfield.com avatar

is an awesome companion app for running on the @PINE64 .

It even mounts the PineTime filesystem so you can access (R/W) all the file from the watch directly from the command line of from your favorite file browser!
Even better : it exposes the address, the battery level, the heart rate, the motion data, the step count and the version as virtual files!

https://gitea.elara.ws/Elara6331/itd

JF,
@JF@mastodon.codingfield.com avatar

@piggz @PINE64 @jmlich I need to check that out!

JF,
@JF@mastodon.codingfield.com avatar

@alphazino @PINE64 This is the BLE MAC address of the device.

JF, to random
@JF@mastodon.codingfield.com avatar

Since we delivered the new weather 🌤️ feature in , some users noticed that their would crash after a few hours.

We figured that those crashes were caused by a memory overflow : InfiniTime stores too many weather events in memory!

https://github.com/InfiniTimeOrg/InfiniTime/pull/1822#issuecomment-1712842416

Let's fix this!

JF,
@JF@mastodon.codingfield.com avatar

But first, let's enable C++17, we'll need a few functionalities from newer C++ (like "if constexpr")!

Coming from a company that is stuck (for various reasons) in C++11, this is probably one of the most satisfying commit ever!

JF,
@JF@mastodon.codingfield.com avatar

Then let's refactor and improve the weather service : create weather events in dedicated functions and write a function (and multiple specializations) to handle the QCBOR deserialization.

image/png

JF,
@JF@mastodon.codingfield.com avatar

Now, since actually uses only temperature, cloud and precipitation information, let's disable all the other weather events. This way, won't spend time and memory processing useless data.

Since we'll probably want to use those info later on, I don't want to delete the code that handles those events. I think this is a good opportunity to disable the code using "if constexpr".

image/png

JF,
@JF@mastodon.codingfield.com avatar

Even if companion apps send multiple "versions" of the same event (ex : temperature for the next 6h and 24h), currently use only one of them. So... there's no need to store multiple version. The next step consists in choosing which event to add in the timeline, and to remove events that are overwritten by newer ones.

JF,
@JF@mastodon.codingfield.com avatar

And finally, fix PineTimeStyle (PTS) so that it refreshes the weather info even if it didn't receive any precipitation info (and assume 0 precipitation in this case).

JF,
@JF@mastodon.codingfield.com avatar

Ok! Now, time to push, create a PR and wait for the reviews !

https://github.com/InfiniTimeOrg/InfiniTime/pull/1860

JF,
@JF@mastodon.codingfield.com avatar

Ooh and this PR frees 1596B in flash memory! Nice!

JF, to random
@JF@mastodon.codingfield.com avatar

Megi's just added support for the from @PINE64 in their fork of the kernel!

With USB2/3/C, 2xLAN, PCIe (with NVMe adaptor board), SATA, frequency scaling and many more, things are taking shape for the RK3588!

If I understand correctly, this branch is based on Collabora's mainlining efforts.

image/png
image/png

wekeys, to random French

See you soon .
I spent my holidays (3weeks) without charging it and i leave my charger at home.

Thank you again @JF

JF,
@JF@mastodon.codingfield.com avatar

@wekeys Nice! I'm really impressed by the results of those optimizations we integrated in InfiniTime 1.13!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • cubers
  • GTA5RPClips
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • tacticalgear
  • ethstaker
  • modclub
  • JUstTest
  • Durango
  • everett
  • Leos
  • provamag3
  • mdbf
  • ngwrru68w68
  • cisconetworking
  • tester
  • osvaldo12
  • megavids
  • khanakhh
  • normalnudes
  • lostlight
  • All magazines