• 26 Posts
  • 212 Comments
Joined 3 years ago
cake
Cake day: June 18th, 2023

help-circle






  • Usually that just means the server as a whole is slow, but your not logged in requests are being served from a cache.

    Basically, a not logged in request can be answered with the same response for everyone, so the server generates the response once and then saves it to use over and over again. But, when you’re logged in the response is going to be slightly different for everyone. So the server has to go through the whole process of generating the page from scratch for your exact version of it.


  • It costs more to make things multi-voltage. For small electronics that run off DC, it turns out that the ‘costs more’ for having an auto-switching power brick is less than the ‘costs more’ of dealing with stocking multiple different power supplies to be sold to different regions.

    With higher-power appliances that don’t just run off DC, where you actually need the thing itself to be different, it turns out that having multiple variants (or only selling to one region) is cheaper.

    Toasters are a great example because you’re pretty much just shorting a wire into the plug, but it’s a wire whose resistance is very carefully chosen so that it gets hot but doesn’t burn up for the voltage of the grid it’s being plugged into. To make something like that multi-voltage you would need multiple paths for the power to flow and some sort of ability to switch things, all of which costs more money than not having that.

    Of course, that’s all ‘in general’. It’s always going to come down to the specific factors related whatever the thing is, who’s making it and who it’s trying to be sold to.



  • That quote is the second sentence in the abstract and the next sentence is:

    However, the impact of ketogenic diets (KDs), which contain even higher lipid content but reduce circulating insulin and induce ketogenesis, remains poorly understood.

    I read that as saying existing science says high-fat diets that cause you to become obese increase the risk of cancer in the small intestine. Not anything about their findings in this study specifically.

    The end of the abstract says:

    These findings reveal that dietary lipid content, through fatty acid oxidation rather than ketone metabolism, influences intestinal tumorigenesis and highlight the need for nuanced consideration of dietary strategies for cancer prevention in genetically susceptible populations.

    Which I think is implying that they found some difference between their “high-fat” (60% lard diet) and “ketogenic” (80% lard diet) cohorts.

    I can’t find the full content of the paper to verify exactly what they’re trying to say, but I think the only claims they’re trying to make are basically, ‘there’s no point in consuming externally synthesized ketones’. Which, yeah, but good to have proper scientific confirmation.





  • I’m a fairly experienced Rust Dev (I’ve been paid to write it since 2014). I’ve never use Tauri, but damn it looks complicated.

    If your goal is learning rust, I’d suggest learning on something simpler. Avoid complicated “ecosystems”, anything super macro heavy, or async in general. Go write code like you’re a college freshman. Duplicate code, call .clone() and .unwrap() with wild abandon. There’s no reason to throw all the hardest parts of the language at yourself all at once.

    If your goal is ending up with a GUI application, I don’t really have advice for you, I’ve never figured that out myself.




  • Unlimited servers. I work for a VPS provider and on my first day my boss setup my account with $10k of credit and showed me how to add more in the admin panel “whenever [I] need it”. As long as I’m only using things with plenty of excess capacity and don’t cause problems, I can spin up whatever I want.

    Sadly, I’ve already got a rack of hardware at home, so all I’ve done so far is spin up a server with 96GB of ram and put a 2-page static website on it, lol.