CodeFoodPixels’s avatarCodeFoodPixels’s Twitter Archive—№ 5,657

      1. Wrote my first bit of C today. Worked first time. I only did it to enable me to do something in JavaScript.
    1. …in reply to @CodeFoodPixels
      I'm using MongooseOS to automate my heating which means I can write a subset of JavaScript.
  1. …in reply to @CodeFoodPixels
    MongooseOS Because it's a subset, some stuff is missing. The date object is one of those things. I needed a way to convert a human readable date string to an epoch time. C has the ability to do that.
    1. …in reply to @CodeFoodPixels
      MongooseOS Implemented it in C (after looking at a load of example code) and then used MongooseOS' great FFI to pull it into the JavaScript. Works!