• 0 Posts
  • 386 Comments
Joined 6 months ago
cake
Cake day: August 21st, 2024

help-circle



  • i was unfortunately responsible for this one…

    we developed a wireless communication protocol which was specified in an excel sheet, and it fell on us devs to implement the message types specified in the sheet. however since the specification kept changing we had to constantly update the message types in our tests to make sure they conformed. so i said “fuck it” and built a program that allowed me to “import” an excel file in a python program, which exposed all messages as classes that could be instantiated with automatic unit conversions. just drop the excel file of the day in the right place and run the test suite.

    anyway that’s how the excel sheet became the formal API definition











  • the implication of einsteins mass-energy equivalence formula is mind-blowing to me. one gram of mass, if perfectly converted to energy, makes 25 GWh. that means half the powerplants in my country could be replaced with this theoretical “mass converter” going through a gram of fuel an hour. that’s under 10 kilograms of fuel a year.

    a coal plant goes through tons of fuel a day.

    energy researchers, get on it