HN user

ponzao

17 karma
Posts0
Comments15
View on HN
No posts found.

Do you happen to have any idea if your g- and grandparents on the Indian side eat and or ate a lot of refined carbs like naan or white rice? Refined carbs being often called a modern thing and the cause of metabolic disease, but so far I've not really found that to be true.

I guess you are talking about life expectancy being way lower back in the day. Those numbers are massively skewed by infant mortality and so many other things (infections, complications during child birth, ...) that are nowadays easily sorted out by antibiotics and other means.

Margarine 5 years ago

A lot of people actually do follow them. If you check https://fns-prod.azureedge.net/sites/default/files/nutrient_... (from https://www.fns.usda.gov/nutrient-content-us-food-supply-190...) you can see saturated fat consumption going down as recommended, chicken consumption going up, even things like sugar has gone down recently. These obviously vary between country, but here in Finland people at large do seem to follow the guidelines especially considering school and work canteens, retirement homes and so on.

Margarine 5 years ago

It isn't even just the trans fats in vegetable oils it is the amount of polyunsaturated fats (omega 3 & 6) which are present in amounts that are basically impossible to find in the wild and don't react well when heated up.

"During the last three decades, 4-hydroxy-2-nonenal (HNE), a major α,β-unsaturated aldehyde product of n-6 fatty acid oxidation, has been shown to be involved in a great number of pathologies such as metabolic diseases, neurodegenerative diseases and cancers." Source: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3824598/

"Overall, beef fats produce less HNE and total secondary lipid oxidation products under thermal treatment, compared to pork and chicken fats as well as most vegetable oils." Source: https://conservancy.umn.edu/handle/11299/191191

Single stomach animals such as humans, pigs and chicken store whatever fat they consume somewhat in the same form whereas ruminants like cows do not, hence the fact that pork and chicken fats oxidise easier as they are nowadays fed a not very ancestral diet.

Some omega 6 amounts in oils (sourced from Fineli https://fineli.fi/fineli/en/index): - Sunflower seed oil n-6 polyunsaturated fats 62.3g - Canola oil n-6 PUFA 22.1g - Olive oil n-6 PUFA 10.4g

Sorry are you agreeing or disagreeing with me?

That Wikipedia article doesn't seem to cite very many studies. At least from my own perspective I can tell you that even after two hours of eating many kinds of meals your blood sugar can rise and you will need insulin to counteract that, either produced by the body itself or injected.

As an aside I would really like to know where the two hour postbrandial measuring for blood glucose levels etc. comes from as it feels completely arbitrary.

T1D here who has a CGM, this is not true for me at all. Without _enough_ insulin on board spaghetti would start spiking my blood sugar ~20 minutes after consumption and the sky is the limit. With something like steak I could basically skip injecting insulin beforehand, but would need to inject later to deal with the delayed rise. The rise from protein in general is never anywhere near as drastic as from carbs, even the "healthy" carbs.

.NET Fiddle adds F# 13 years ago

I have it installed and I've even dabbled with it a bit, but I am looking for some task where it would shine compared to JVM languages.

.NET Fiddle adds F# 13 years ago

Outside of web development any ideas what I could use it for (I am on Linux so it should run on Mono)? I've done quite a lot of web development on the JVM with Clojure, Scala and Java and would like to try to do something totally different with F#.

.NET Fiddle adds F# 13 years ago

That example is not quite equivalent, because now you are not passing `isEven` or `println` as arguments, you are passing anonymous functions that call `isEven` and `println`.

.NET Fiddle adds F# 13 years ago

`sum` does not accept a function as a parameter, the original example had an `foreach` instead of `sum`.

    list filter isEven foreach println
As a side note omitting that many commas and parenthesis is very rare at least based on the Scala projects I've worked on. The above example is equal to the one below:
    list.filter(isEven).foreach(println)

I really enjoyed programming in Clojure, especially 4clojure.com, an amazingly fun way to learn a new language.

4clojure.com is fun for learning basic syntax and problem solving, but it doesn't really teach you how build applications with Clojure.

* Worse readability (parens, less regular). That's the #1 problem of Clojure.

I have to disagree with you here. Clojure's syntax is a lot more regular than Scala's or even Java's.

* IDEs, including LightTable, are not even close to the usefulness of Eclipse or IDEA.

You can use Eclipse or IDEA, though the support for Clojure in these IDEs is not as good as it is for Java. This is only natural because Java is a lot older and statically typed.

* Imperative code is easier to write and more importantly more readable in Java.

Naturally imperative code is easier to write and more readable in Java, because lambdas are not yet available. If you mean Java's imperative code is more readable than Clojure's functional then I would like to know if you have an equal amount of experience in these languages?

* Formattig code for readability is PITA. In Eclipse, I usually just press Ctrl+Shift+F to autoformat after every edit.

I don't understand your point, you can autoformat Clojure code.

You are comparing an array of integers with an integer. You would want to do this instead:

    for (y <- x if y > 2) ...