https://toitlang.org/ logo
Join Discord
Powered by
# general
  • k

    kasperl

    05/28/2025, 12:29 PM
    Jaguar v1.52.0 comes with support for SDK v2.0.0-alpha.182, so you get the goodies outlined here: https://discordapp.com/channels/918498540232253480/918498540232253483/1376596683357421738.
  • f

    floitsch

    05/28/2025, 3:14 PM
    The 183 release didn't make it through the builder. We will probably have to delete it and try again with a few fixes.
  • g

    GitHub

    06/02/2025, 11:26 AM
    message has been deleted
  • g

    GitHub

    06/03/2025, 7:55 AM
    message has been deleted
  • g

    GitHub

    06/03/2025, 8:31 AM
    message has been deleted
  • z

    z3ugma

    06/10/2025, 6:40 PM
    hldf
  • f

    floitsch

    06/11/2025, 3:23 PM
    PSA: our Artemis server had more than 8 million edge function invocations last month. Unfortunately only 2 of those are included in our plan, and we need to pay the rest (~$20). Not a big deal yet, but we can't really scale like that. If you are using our Artemis server please avoid
    max-offline: 0s
    (which uses 3 requests per minute) and pick something less frequent. You can use the Artemis package to trigger connections, or simply reboot the device if you need an update at a specific time. For now we won't restrict any usage, but we will (and already have) change the defaults, and maybe even remove a constant connection (
    max-offline: 0s
    ) from Artemis in the future.
  • p

    Phost

    06/14/2025, 12:45 PM
    message has been deleted
  • b

    bmentink

    06/16/2025, 3:07 AM
    I am guilty of that, have changed it to 10s 😟 Will rollout tomorrow first thing.
  • f

    floitsch

    06/16/2025, 8:06 AM
    Currently 0s is equivalent to 20s (except that it keeps th network interface up). So 10s wouldn't really help (maybe even make things worse).
  • b

    bmentink

    06/16/2025, 8:10 AM
    Ok, will make it 60s
  • f

    floitsch

    06/16/2025, 8:13 AM
    We can make that work, but out of curiosity: why do you need such frequent checks? In theory you don't expect a device to require a firmware update more often maybe once a day.
  • b

    bmentink

    06/16/2025, 8:24 AM
    Is it only updates it affects? If that is true, I can make it once a day. I sometimes need to do device logging for customers..
  • f

    floitsch

    06/16/2025, 8:30 AM
    It's only checks for new updates. And if you want to trigger an update more eagerly, you can either reboot the device, or use the Artemis package to trigger it from your code.
  • f

    floitsch

    06/16/2025, 8:30 AM
    All other communication is independent of max-offline.
  • f

    floitsch

    06/16/2025, 8:31 AM
    For devices that are on battery and cellular there is also some code to make sure we reuse connections. So if a device goes online shortly before Artemis was supposed to check for an update it will piggyback on the existing connection. That shouldn't matter to you, though.
  • b

    bmentink

    06/16/2025, 8:32 AM
    Understand, thanks
  • b

    bmentink

    06/16/2025, 9:01 PM
    What does max-offline need to be to do once per day? Is it "1d" ? Can't find any docs..
  • f

    floitsch

    06/16/2025, 9:02 PM
    24h is probably the best.
  • f

    floitsch

    06/16/2025, 9:02 PM
    We usually avoid "days" since they aren't always 24h with daylight saving
  • k

    kasperl

    06/18/2025, 7:00 AM
    Always love to see more tests 🤩
  • g

    GitHub

    06/18/2025, 7:25 AM
    message has been deleted
  • a

    addshore

    06/18/2025, 8:58 AM
    ooooooo, new release inbound? 😄
  • p

    Phost

    06/23/2025, 4:10 PM
    message has been deleted
  • d

    darlington4580

    06/23/2025, 6:23 PM
    Hello Can toit work with AS608 fingerprint scanner?
  • f

    floitsch

    06/23/2025, 6:24 PM
    let me have a look.
  • f

    floitsch

    06/23/2025, 6:28 PM
    There isn't any driver for it yet, but the interface looks like it's not too complicated. From what I can see it's based on a UART connection, with a relatively straight-forward communication. The Adafruit sensor library could serve as a template for a Toit port: https://github.com/adafruit/Adafruit-Fingerprint-Sensor-Library/blob/master/Adafruit_Fingerprint.cpp
  • f

    floitsch

    06/28/2025, 11:25 AM
    After seeing @davidg238's interaction with sketch.dev (see #1367748896633262131 ), I started a repository for AI instructions: https://github.com/toitlang/ai-instructions I added a few things that I have seen LLMs get wrong when writing Toit code. If you have other observations or have improvements, please contribute.
  • b

    bpmct

    06/30/2025, 7:56 PM
    This is extremely helpful. I was using RooCode with Toit and it was struggling so I will try this out
  • a

    addshore

    07/02/2025, 12:39 PM
    I look forward to trying that out 😄