ENTRY

[ESC]
3h•W:145

I am so bad at math

And yet i decided that my first complete program with a GUI had to be a Bread calculator: a baker's percentage formula calculator. Which i insisted on letting the user add multiple preferments, which contain a ratio of flour and water, and thus when setting their baker's percentage directly, the weight updates and the total flour from which the baker percentage is calculated, now drifts because the updated weight contributes a different amount of flourWeight towards that denominator.

How to solve that shit? FUCKING ALGEBRA

i dont even know what the fuck is algebra. But i've managed to solve this by separating the total Flour minus the current contribution and calculate the share based on that.

for multiple preferments? i dunno man. Ill do that later and for now work on portioning and maybe the GUI.

Someday i will let the user add multiple preferments

0 replies

Join the conversation