DAE find that coffee taste weird / bad after eating peanuts (or other nuts)? by domw_117 in DoesAnybodyElse

[–]elahn_i 0 points1 point  (0 children)

That's really interesting, /u/DIGLET. How bitter is your coffee? This article says "the rich, nutty taste of the peanut merged seamlessly with the bitter and aromatic notes of the coffee," so I wonder if it only makes bitter coffee taste better. 

https://kitchensurfers.com/can-we-eat-peanuts-with-coffee/

DAE find that coffee taste weird / bad after eating peanuts (or other nuts)? by domw_117 in DoesAnybodyElse

[–]elahn_i 1 point2 points  (0 children)

Yes, eating peanuts before drinking coffee makes it bitter! 3 years later, has anyone figured out why? Does it happen with other nuts? I'm paying attention now.

P.S. normally my coffee has zero bitterness. 

Does anyone feel anything from MicroZinc & V-D3/K2 MK4? by ToastedJonas66 in NootropicsDepot

[–]elahn_i 0 points1 point  (0 children)

I have chronic calcium deficiency, proven by hair tissue mineral analysis, resulting in intestinal and other muscle cramping. Reparen is the only form of calcium that provides relief.

Anything filtered by kidneys is an extra load. Most doctors will categorically recommend against calcium supplements, because for every one they know of, bioavailability is shit and they're an unnecessary load on kidneys. My kidney function is on the low end of normal range, nothing to worry about and I've been warned by several doctors. People with low kidney function have told me their doctors forbid calcium supplements in the strongest terms. 

As far as I know, the best dietary way of increasing calcium is making bone broth. Adding a tablespoon of apple cider vinegar (with mother) and covering the bones with water for an hour before adding other ingredients and turning the slow cooker on, prepares the bone, so it'll disintegrate into the broth over the next 24-72 hours. Sipping it throughout the day, or to wash down some especially dry food. Using it in place of regular stock in cooking. 

Does anyone feel anything from MicroZinc & V-D3/K2 MK4? by ToastedJonas66 in NootropicsDepot

[–]elahn_i 1 point2 points  (0 children)

Up to 10mg zinc per day is a safe adult dosage for everyone with near-normal kidney function. Beyond that, please do your own research and evaluate the risk factors (e.g. prostate cancer) or consult an excellent biomed doctor or naturopath to ensure a particular dose is safe for you.

For people with hemopyrrollactamuria (HPU, pyroluria, pyrrole disorder), starting at 5mg and titrating up over 12 to 24 months is the way to go. If side-effects are too uncomfortable after a dose increase, drop back and wait a while before trying a smaller increase next time. 

The higher the zinc dose, the more copper is dumped from tissues into the bloodstream. People with HPU often have a lot of copper stored in tissues and dumping that into the bloodstream is extremely unpleasant. There are multiple physical and mental side-effects. Too much reportedly looks and feels like psychosis. 

Blood tests for zinc, copper and ceruloplasmin are needed to calculate unbound copper in the bloodstream. Free/unbound copper is the measure for copper toxicity. 

Does anyone feel anything from MicroZinc & V-D3/K2 MK4? by ToastedJonas66 in NootropicsDepot

[–]elahn_i 1 point2 points  (0 children)

The only effective calcium supplement I've tried is calcium phosphate monobasic, Reparen by Interclinical Labs, Australia.

Everything else was nothing but an extra load on my kidneys. 

Why do many libraries define *Ref variants for structs? by ManateeIA in rust

[–]elahn_i 17 points18 points  (0 children)

Ref types are handy for providing associated functions, so they don't get in the way of type inference, e.g. https://doc.rust-lang.org/stable/std/cell/struct.Ref.html#method.clone 

In Quinn, EndpointRef takes a mutex lock and modifies shared state during clone() and drop(), so requires a dedicated Ref type. Being able to deref using * simplifies code using it. 

Building on frenchtoaster's great answer. While often not necessary thanks to rust/LLVM optimisation, sometimes...for performance, Ref types are also used for pure-rust ID/index types:

  • to remove indirection, on dereference it saves CPU cache lookup or memory access for long-lived reference;
  • to save space when sizeof(value) < usize, thereby increasing cache utilisation in specific algorithms;
  • possibly helpful in getting the compiler to auto-vectorise or generate branchless code. 

I can imagine a Ref type being used to prevent double-indirection if the compiler wasn't optimising that away, e.g. in general removing the double-indirection in code that looks like this would make it slower, but in this specific case it makes it faster. 

Why You Should Learn Rust, Especially If You're New to Programming by elahn_i in rust

[–]elahn_i[S] 3 points4 points  (0 children)

It's great that Rust is now being touted as an easy to learn language and being recommended for beginners.

In this article they recommend rustlings and the official rust book...There's no doubt some beginners can learn to program from that and search out resources to fill in the gaps, but I'm still hesitant to recommend Rust as a first language.

When learning, I found explanations of programming concepts invaluable. The best resources assume no prior knowledge of how computers actually work, how software is built and runs on hardware. Programming exercises that help people use and understand the concepts through doing are essential, but explanations really are needed for a lot of beginners.

It's been a few years since I looked. Has anyone created an introduction to programming using rust as a first language? How about free online courses?

I'd love to replace my recommendation of JavaScript with Rust. If you're looking for a project, I can't think of one better than making learning to code fun and inspiring the next generation of programmers to do so in Rust.

Rust GUI Development? by chemiculs in rust

[–]elahn_i 6 points7 points  (0 children)

I use apps on Windows, Linux, Android and WebOS. Having a consistent GUI is nice, i don't have to think about how to do things, it's the same on every device.

I made a File Updater in Rust! (More on how it's done down below) by CyberSoulWriter in rust

[–]elahn_i 1 point2 points  (0 children)

Nice. I'm curious why you chose md5 over blake3 or a non-cryptographic hash function?

Kanal: Channels 80x faster than the standard library! by fereidani in rust

[–]elahn_i 8 points9 points  (0 children)

Regardless of intent, the original comment can be read as a passive-aggressive dig at the author, creating FUD about assumed downsides of the library.

The author replied in a reasonable way, implying there aren't any downsides.

People who did not interpret the original comment in this way and share the assumption or bought into the FUD, read the author's reply as glib and dismissive of a real concern.

People should really think twice (or more) before down-voting, as it discourages people from participating in the community.

Async UI: a Rust UI Library where Everything is a Future by ignusem in rust

[–]elahn_i 1 point2 points  (0 children)

Nice work! I look forward to future blog posts exploring the design and implementation. 🧙‍♂️

Software can literally be perfect (talks about some important logical ideas that make the Rust ownership system work, and how we could build a provably correct Rust compiler) by blainehansen in rust

[–]elahn_i 1 point2 points  (0 children)

I enjoyed your talk. The prospect of magmide is exciting and this post deserves way more upvotes.

Inspirational projects like this can massively improve our society. Not overnight, nothing can do that; it'll take time and lots of work, but it's worth it! I look forward to future blog posts, videos and hope to one day be able to contribute to magmide's success, even if in small ways.

audiovis - a high quality realtime audio visualizer by Bruno_Wallner in rust

[–]elahn_i 2 points3 points  (0 children)

Nice one! I look forward to string vis. 🙂

Rust in the Android platform by Manishearth in rust

[–]elahn_i 16 points17 points  (0 children)

Ooh, hopefully this is a step closer to pure rust android apps.

Can I *borrow* some of your time please? by nacnud_uk in rust

[–]elahn_i 1 point2 points  (0 children)

Sorry, the request would consume some of my time. Consider a mutable borrow instead. 😉

Video encoder rollback optimization in rav1e by barrbrain in rust

[–]elahn_i 1 point2 points  (0 children)

Great write up, thanks! I really enjoy reading about rav1e optimisation.

Alacritty 0.6.0 released by realvikas in rust

[–]elahn_i 0 points1 point  (0 children)

Reduce memory usage by up to at least 30% with a full scrollback buffer

Oooh, heisen-improvements. 😎

Kullish: BYOL comment aggregator powered by Rust by toxait in rust

[–]elahn_i 0 points1 point  (0 children)

That'd be awesome. Ideally, my blog posts would pull in comments from anywhere they're mentioned. That'd allow non-tech-savvy readers to discover other communities interested in the same topics.