I’ve been meaning to make new dev projects for a while. But finding the time to sit down to just code is difficult for me these days. However I wanted to make a watch face for my new watch and I just said screw it.

Through a mix of using the Pebble SDK documentation, and referencing a few AI chatbots, mainly GPT-OSS I’m running in Alpaca, I was able to make it, make it run, and since it’s in C, I was able to have no memory leaks (according to the logs).

I’ve uploaded the source code to Codeberg if you want to look at it, I’ve yet do document it, so hopefully it’s not too hard to understand and not a spaghetti mess.

https://codeberg.org/the16bitgamer/poketech-dx

** Notes on my experience using AI to aid in coding **

When I was taught to coding, Google-fu was the goto way if/when the documentation fails you. However with both how old, and incomplete the Pebble SDK docs are, Google-fu wasn’t helping since the info it would pull was about a decade or older and mostly out of date or hard to decipher information on Stack Overflow. I would almost say using an AI along with the actual documentation and tutorials was a necessity for me to even finish this project.

The AI wasn’t perfect, endlessly gas lighting me, telling me to do over the top things for functions I already implemented, and putting me down rabbit holes going no-where. But compared to what I could get from Google, and it’s ability to try and break down what the code is doing, it was a lot more helpful than I thought it would be.

  • AnimalsDream@slrpnk.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    Isn’t there a Pebble project that lets anyone create watchfaces through easy drag and drop interactions?

  • vrighter@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 months ago

    you know what? I have had several projects where finding documentation online was hard, sometimes impossible for some proprietary stuff. Shit still got done.

    The excuse for rationalizing ai reads as “when it got too hard, i gave up and gave the task to someone else”. And it wasn’t even the task itself that was hard, it’s just the information gathering and digesting stage (the part in which you learn stuff).

    Edit: I also wrote my own watcfaces back when I had the first pebble model. Llms didn’t even exist yet. Documentation was there and it was very clear. Writing my first watchface was done within the day. And it was also one of my first times with c

      • potustheplant@feddit.nl
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        Suggesting they Buy a replacement cable for a new product seems like a weird response. If it’s within the warranty period, they should simply get it fixed/replaced free of charge.

        • the16bitgamer@programming.devOP
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          My recommendation was more of a “quick turn around to solve a problem” solution. I would hope they would’ve already reached out to Core designs, and Core Designs appear to be responsive to issues, even out of the warranty period. However Amazon can have a new charger at your door step in days if you wanted to do basic trouble shooting.

  • whoisearth@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    Good job and on your AI notes this is exactly why the anti-AI crowd is delusional. There is clear and quantitative value in AI and it very much is a game changer. The train has left the station.

    What we need to get behind is getting guardrails in place and introducing a UBI before it’s too late.