@nixCraft jokes aside that is indeed a perfect an almost perfect function for automation.
Top-level
@nixCraft jokes aside that is indeed 14 comments
@RDogPinK @GolfNovemberUniform @nixCraft Not only sufficient, but perfect. int32 is most definitely not. @RDogPinK @GolfNovemberUniform @nixCraft In type theory you could say that it's value is true or "bottom" if it is executed symbolically rather than physically. @RDogPinK @GolfNovemberUniform @nixCraft I mean depending on if youβre writing old C. They didnβt have bools, just Ints. Bools were specified by the stdbool.h IIRC much later in time @EndlessMason @GolfNovemberUniform @nixCraft yeah, but the function says "computer_on", not retrieve status ;) @RDogPinK @EndlessMason @RDogPinK @nixCraft A hybernated computer is not an operational computer. And what does thermal throttling have to do with it? @GolfNovemberUniform If I have those same 4 cores but they're running at 50% of their usual clock speed to prevent over heating the computer is also half on. @GolfNovemberUniform Like one might expect from a water tap, or a dimmer lamp except with computers you know... The kind of thing one might represent in a int32? @RDogPinK @GolfNovemberUniform @nixCraft Consistency with other BeOS API's was probably more important than considering it strictly in isolation. It was a syscall, so using the standard "return an int" idiom probably made the most sense in context. |
@GolfNovemberUniform @nixCraft donΒ΄t get it. wouldnΒ΄t a boolean be sufficient for this case?