« first day (4012 days earlier)      last day (929 days later) » 

1:50 AM
You know what's so good about keeping a pet chicken? When you have a animal recognition and tracking software installed on your raspberry pi, you can use the chicken to test the software!
Lemme catch a pet chook ...
 
 
9 hours later…
10:35 AM
What if ... events such as industrial revolution or even Issac Newtons discovery of fundamental physics and calculus are not only the accelerator of human's advancement, but also act as a timer? That if we don't reach the next level by certain time period, human societies will be doomed for destruction due to various reasons such as the deterioration to the environment or population explosion? Timer will only reset when we reach the next level, such as inter-galaxy travel?
 
Something something "Great Filter"? 🤔
Well, the dinosaurs spent a good few millions of years not innovating and I guess their time was up 🤷🏾‍♂️
 
 
7 hours later…
5:29 PM
Does anybody have a reference for how to implement a FSM in C++?
I mean, I don't want to have a whole sequence of if statements in my code like:
if (myClass->state == stateX)
{
    do1();
}
else if (myClass->state == stateY){
    doY();
}
etc...
I find this horrible, I am looking for a more "clever" and generic approach
something where you for instance have a generic tree structure of all possible states of your application (the functions that have to be executed in every state and the entry/exit conditions), go through all states and compare to the current state of your class or whatever
something along those lines...
Any suggestions on where I could find an example of something more or less like this?
 
 
1 hour later…
6:48 PM
I meant a good/nice example of this...
 

« first day (4012 days earlier)      last day (929 days later) »