Now that said, 68 mg/L **is** above the ~40 mg/L that the Winemaker Mag calculator suggests I target based on pH and ABV. I believe that’s explained by potassium metabisulfite not being 100% SO2. In fact, when it dissolves in water it contributes only 57.6% of its weight as SO2 (source). So 68 mg/L of K-Meta is only contributing 39 mg/L of SO2. Which is just about what I was targeting. I’ve added this 57.6%-by-weight aspect to the post above.

Maybe they should call it 5.76% solution instead of 10% solution…

]]>Here’s the two parts I bought:

https://grem.link/2reQopC

https://grem.link/2HM7lSN

There is something wrong with your SO2 calculation. You say BYO recommends 30 mg/L of SO2 and then, you suggest adding 2.6 ml of 10% SO2 solution. However, 10% solution means 10 g/100 ml. This translates into 2.6 g of SO2 per gallon (approximately 4 L), which is roughly 0.65 g/L or 650 mg/L. This is about 20 times more that suggested 30 mg/L. Or perhaps, I’m missing something (I know, I didn’t account for pH).

Jarek

]]>Try it out with your hand, where size = 5. To count from your pinky to your thumb and back is 8 … (5-1)*2. Do it again and you’re at 16, then 24, etc. Using %% to get the remainder avoids the time of walking the scanner back through all of these full periods. It only walks the final period of (x-1)*2 or fewer steps.

]]>Thanks

]]>I calculate the scanner’s position, but that’s not important. All that matters is whether the scanner’s position is 1, which can be determined by the period of the scanner’s oscillation and returned as a logical.

]]>I’d estimate it’s 1/10th the characters and 1/1000th the runtime. Humbling & inspiring.

]]>For my twitter bots (made in R), I define a cronjob and call the Rscript function.

Hope it helps.

Best,

Yannick ]]>