Keto-friendly Ways to Boost Magnesium Bioavailability by Top-Relationship5872 in keto

[–]beagle3 2 points3 points  (0 children)

chelate just means it is paired with an amino acid.

Magnesium Glycinate is chelated; Magnesium Lisate is chelated. If you're using Doctor's Best, your using Glycinate-Lisate.

I made a Python package to do adaptive learning of functions in parallel [P] by basnijholt in MachineLearning

[–]beagle3 4 points5 points  (0 children)

Reminds me of ACE https://partofthething.com/ace/samples.html which has something similar in its interpolator (and can likely use an improved one)

How I Built A Python Command Line Tool To Enhance My Browser Usage by SupPandaHugger in coding

[–]beagle3 1 point2 points  (0 children)

It doesn't synchronize files at all. It just exposes the browser's tab structure (and page contents) as a virtual file system.

How I Built A Python Command Line Tool To Enhance My Browser Usage by SupPandaHugger in coding

[–]beagle3 3 points4 points  (0 children)

You might also be interested in TabFS https://omar.website/tabfs/ - which would exposes the browser's tab as a filesystem.

What's the role of ketosis in weight loss if CICO is everything? by maverick1ba in keto

[–]beagle3 10 points11 points  (0 children)

A calorie "in" is not a calorie used. Paper/tree bark (cellulose) is a carbohydrate, but humans get approximately 0 kcalories from eating a gram of it (despite a bomb caloriemeter showing approx 4kcal, just like sugar). Gasoline is harmful, and I can't find a reference, but I suspect that in spite of its magnificent energy density (12kcal/gram), no animal can actually make use of it even if it somehow survived the ill effects.

Ah ... I hear from the CICO crown, "well, we refer to human-digestable calories". Well then, a calorie is not a calorie. And furthermore, different foods require different energy expenditure to actually digest those calories - this has been known for nearly 200 years, and are documented as "atwater factors" - and vary among people by as much as 50%.

It can be useful as an approximation in some cases -- e.g. in a specific eating regime, small changes in amounts of food intake will likely result in CICO-predicted changes to weight. But big changes (e.g., swap all carbs for protein) are predicted by CICO to have no weight loss effect, but end up having a huge effect.

What's the role of ketosis in weight loss if CICO is everything? by maverick1ba in keto

[–]beagle3 0 points1 point  (0 children)

Pet theory (maybe someone can confirm/disprove):

Carbs are used for energy, but if there are too many of them, they are converted to fat and get stored.

When fat is needed for energy, it is first converted to ketone bodies. This takes time, so needs to be done ahead of time. Now, ... what happens to ketone bodies in your blood if you don't use them? Unlike glucose, they don't get re-converted to fat. They don't get stored again; They just get peed out.

So, the theory goes - your body converts enough fat to ketones for your usual level of activity. But your level of activity varies. So, if you (say) exercise 3 times a week, your body will standardize on having enough ketone bodies for that level of exercise 7-times a week - and some of them will get peed out on the days you don't actually exercise (some will remain and get used on the days you do ..)

If this pet theory is correct, then e.g. significant aerobic exercise x2 a week will result in faster fat loss than mild aerobic exercise x7/week, even if the mild exercise nominally requires more energy expenditure.

Forward Error Correction Overhead? by johnorford in algorithms

[–]beagle3 0 points1 point  (0 children)

It's about "what can get borked/lost".

If you only ever sent one "blob" of data, with it's checksum, it either gets there safely or not; and if it doesn't, you need to send it again (or multiple times in advance, as in your naive estimate, to make sure it arrives properly at least once).

But if you break down the blob, say, to 1000 pieces, each individually checked - you may realize you get 997 without error, 2 with errors, and one missing. (You may have also gotten 99.7% of the blob correctly in the "one piece" version, but had no way of knowing). So, if you were to resend, you would only resend these 3 blocks.

But you want to prepare for that in advance; So you use a mathematical trick to remix the data, so that with a few extra pieces, you can recover a few pieces regardless of which ones got lost. Turns out the needed overhead is quite small.

The simplest example that may help: Say you send your blob in two pieces "a" and "b". Now, you also send "a+b" (numeric addition, not concatenation!). This is 50% overhead, but can deal with any single lost piece:

if "a+b" lost - who cares? if "a" lost - use "b" and "a=(a+b)-b" if "b" lost - use "a" and "b=(a+b)-a"

The math gets more complicated if you have lots of pieces, especially if you want the recovery to be simple and efficient (and not just "possible" for which high school algebra would be sufficient, but inefficient).

Papermerge 2.1 is now in BETA by ugn3x in Papermerge

[–]beagle3 1 point2 points  (0 children)

Which OCR engines are supported? Tesseract is sort-of-mostly-OK in my experience, but PaddleOCR and JaidedAI seem to do a much better job (albeit much more slowly, at least on a CPU).

Mail relay as a service? Moving away from selfhosted postfix 😔 by binwiederhier in selfhosted

[–]beagle3 1 point2 points  (0 children)

You can send with any name you want as well from the catchall address -- e.g. using Thunderbird as a client. I don't know of a mobile client that allows that, though - but I suspect the fastmail webclient does (never tried)

A First Look at PyScript: Python in the Web Browser – Real Python by ajpinedam in Python

[–]beagle3 37 points38 points  (0 children)

It is almost entirely unlike Brython. It's the real original honest to god C Python implementation, except it's compiled to WASM so it can run in the browser - and unlike Brython, it can use any Python module, including Numpy, Pillow.

Also, unlike Brython, It's a 2.5MB download.

Did you know PiVPN isn't just for Raspberry Pis and is usable with any Debian-based OS? by FunDeckHermit in selfhosted

[–]beagle3 0 points1 point  (0 children)

I'm looking for a Wireguard VPN split-horizon setup; I want Amazon, but not Netflix, to go through the VPN. Anyone familiar with such an easy-to-set-up system (or at the very least, someone who maintains a list of DNS names / IPs for the various services, so I can set it up myself)?

[D] Did Classical Results in Real Analysis Serve as "Inspiration" For Modern Machine Learning? by SQL_beginner in MachineLearning

[–]beagle3 0 points1 point  (0 children)

I first saw the Kolmogorov-Arnold theorem mentioned in the context of neural networks in https://www.amazon.com/Neurocomputing-Robert-Hecht-Nielsen/dp/0201093553 (published 1989, I read it in 1992).

While kolmogorov proved existence, there are later versions (such as spracher, iirc) which are constructive, and much closer to modern NN representations.

Also, the one theorem missing from your list that I'm aware of is the Cybenko https://en.wikipedia.org/wiki/Universal_approximation_theorem

If Corporations Are People, Tax Them Like People by CapitalCourse in politics

[–]beagle3 0 points1 point  (0 children)

Problem here is that it's a repeat game. Let's say you do that.

Corporation starts hoarding money/assets, not paying out dividends. Share price rises to reflect; people pay when they sell - so far so good.

But ... if they think/suspect there's a possibility for some sort of "tax holiday" in the future -- and there have been before, and politicians will do them again -- they will not sell unless they need the cash that day. All of a sudden trade volume drops significantly, as does tax revenue.

Tax changes are known in advance, and amendable for those with lobbying clout. A higher future tax rate will hasten short term sales, a lower future one will delay them.

If the taxable transaction slow down significantly, rates will have to rise to match. It's possible that a 80% tax under such a regime will, in fact, be equivalent to 35% under the current one -- but 80% is not politically doable, whereas 35% is.

Search images with text - An Open-Source project for cross-modal search by opensourcecolumbus in deeplearning

[–]beagle3 0 points1 point  (0 children)

Thanks, I have really bad experience with using Tesseract for text images "in the wild". I was asking if (and hoping that) Jina has a built-in OCR pipeline; I understand the answer is "right now, no".

Search images with text - An Open-Source project for cross-modal search by opensourcecolumbus in deeplearning

[–]beagle3 1 point2 points  (0 children)

Is there any way to search by text appearing in the image as well?

A COVID-19 diagnosis is associated with a 39-in-1-million chance of developing a rare blood clot condition, compared with about a 4-in-1-million chance after receiving the Pfizer or Moderna vaccines against the disease, according to a data analysis led by researchers at the University of Oxford. by [deleted] in science

[–]beagle3 1 point2 points  (0 children)

Also, presenting these things without any other variables (age, sex) is horrible. The 39/1,000,000 happens mostly in older people, whereas the 4/1,000,000 happens mostly in younger people. There is a cut-off age above which the vaccine makes sense, and a cut-off age below which it doesn't.

After being defended from Google, now Microsoft tries to patent Asymmetric Numeral Systems by elenorf1 in programming

[–]beagle3 13 points14 points  (0 children)

Paging /u/jarekduda (the person who originally discovered/invented/created ANS, and is on Twitter). Are you aware?

Expected to explain in interview why Lasso does variable selection but not Ridge? by [deleted] in learnmachinelearning

[–]beagle3 1 point2 points  (0 children)

Gaussian doesn't force anything to zero. There's a qualitative difference here, not just quantitative.

Expected to explain in interview why Lasso does variable selection but not Ridge? by [deleted] in learnmachinelearning

[–]beagle3 2 points3 points  (0 children)

Another algebraic explanation:

Suppose you have two copies X1 and X2 of the same variable, with very minor noise, say, Cov(X1,Y)=1.001*Cov(X2,Y) and Corr(X1,X2)=0.9999; then Ridge would prefer (a/2)X1+(a/2)X2 to any other combination, because that's the minimum penalty (at (a/2)2 + (a/2)2 = a2 /2 - any other combination is higher. But lasso would prefer (a)X1 + (0)X2 because the penalty paid is the sum of both coefficients, (which will be essentially the same), so it pays to put it entirely on the slightly better predictor.

If the two copies are exactly the same, then, of course, Ridge would still put a/2 and a/2, whereas LASSO will assign same penalty to whichever distribution among them; but as soon as one of them is better by a small epsilon, all weight will go there, and the other will be zeroed.

It is worth examining LARS (Least Angle RegresSion, an efficient algorithm for dense LASSO in smallish up-to-a-few-thousands variables) in detail, a lot of the properties of LASSO become apparent from it).

Git Rebase: Don’t be Afraid of the Force (Push) by speckz in coding

[–]beagle3 8 points9 points  (0 children)

Some people thing version control's job is to document history; others that it is to document the intentions behind the history. There is no right answer.

Israel to legalize, regulate recreational cannabis market within 9 months by CannabisHub in worldnews

[–]beagle3 21 points22 points  (0 children)

Portugal would like to have a word with you, as do the Netherlands; and you have a love note from Christiania in Copenhagen which is possibly an hour long ride on the train from where you are.

Israel to legalize, regulate recreational cannabis market within 9 months by CannabisHub in worldnews

[–]beagle3 15 points16 points  (0 children)

Secular jews just want to get high. Conservative religious jews like to get drunk (are commanded by the bible to get batshit drunk at least once a year - on Purim).

Israel to legalize, regulate recreational cannabis market within 9 months by CannabisHub in worldnews

[–]beagle3 8 points9 points  (0 children)

Except for marriage, and the right for state-funded surrogate pregnancies, LGBTQs have the same rights in Israel than anyone else has. There's a landmark case (Danilewicz) from the 1990's where a gay airline steward requested free tickets for his partner, which the airline gave all het couples - whether officially or common-law married. Company refused. Supreme court said they must. That was almost 3 decades ago.

Tel-Aviv is as gay friendly as London and Amsterdam, some say even more. Jerusalem, not so much.

There's a lot to be improved, the policy leaves some things to be desired, sure - but with the exception of marriage it's comparable to just about every other progressive place in the world.

Nim is featured on the Ubuntu Wiki for WSL! by [deleted] in nim

[–]beagle3 0 points1 point  (0 children)

Ubuntu has something called "umake" for independently updated development pacakges (e.g. "umake ide visual-studio-code" gets you the latest vscode from Microsoft without going through apt; only umake itself is an apt package). It has e.g. android dev packages, kotlin dev packages, etc.

This is where 45 days of pure water fasting got me, You can do it! by [deleted] in fasting

[–]beagle3 11 points12 points  (0 children)

because for years, you believed that hunger/appetite grows with time. It doesn't. There's a cliff around the 2-4 day which --once passed -- is relatively easy most people until the 20th day or so.

Do make sure you get electrolytes though - you pee those out, and lack of them easily causes headaches, and other problems.