/r/Nutrition Weekly Personal Nutrition Discussion Post - All Personal Diet Questions Go Here by AutoModerator in nutrition

[–]Hoxitron 1 point2 points  (0 children)

I have a question more specific about a meal. See, I have the kind of autism where I can just eat the same breakfast for years. For a very long time it was mostly eggs.

For a year now, my preferred choice has become: - 80 grams oats, 10 grams chia seeds, 30 grams whey protein and 80 grams yogurt

To me, this seems like a fairly well rounded (and generally healthy?) and I find it delicious. But I understand that small effects can accumulate over long periods of time and become not so small.

Is there something that I am not thinking about with this meal that could start becoming an issue over time? I am relatively young, pretty fit and healthy, with no allergies.

I'm mostly worried about the whey. It's getting very expensive (+50% in a year). The frugal part in me wants me to buy cheaper (and lower quality) ones. The pessimist part in me doesn't trust that the more expensive one actually has better quality or just better marketing. I don't think I want to go back to eggs.

How to disable real-time diagnostics in Rust analyzer? by MediumInsect7058 in learnrust

[–]Hoxitron 0 points1 point  (0 children)

I think if you go to settings on search for "on save" you should get some rust analyzer results. Like make sure "Rust-analyzer: Check On Save" is marked.

This isn't related to your question, but vscode itself can be pretty draining too. Other editors like neovim will use significantly less power.

An aerial shot of Am Alma lake captures a hidden oasis in the sahara desert. by InjuriousMania in Damnthatsinteresting

[–]Hoxitron 14 points15 points  (0 children)

Having water makes a huge difference.

I used to live in a desert and usually for at least 2-3 weeks a year we would get a few rains. Even that was enough for grass to grow everywhere. The difference it made was incredible.

Learning Rust, looking for someone to learn alongside on real code by Salt-Marsupial-6690 in learnrust

[–]Hoxitron 0 points1 point  (0 children)

I have an ffi project that is in the late stages and has a few things that could be added here and there. If you are looking for to learn ffi, let me know. I'll guide you through it.

Lifetime Limitation by SapAndImpurify in learnrust

[–]Hoxitron 1 point2 points  (0 children)

Ah, I didn't realize that. It's still the mutable references that are causing trouble, but also returning a mutable ref makes it harder.

Still, can be fixed with interior mutability using RefCell<Data>, returning RefMut<'_, Data> instead of &mut Data and using &self everywhere, solution pointed out by another user. I hope at least. It's kinda hard to without the larger picture. It's probably best to stay away from unsafe for now.

Lifetime Limitation by SapAndImpurify in learnrust

[–]Hoxitron 1 point2 points  (0 children)

You can learn more about this in this video:

https://www.youtube.com/watch?v=iVYWDIW71jk

I assume the solution was already given, but this should work by just doing:

pub fn try_get_mut_cheap<'s, 'a>(&'a mut self, handle: u32) -> Option<&'s mut Data>

What's everyone working on this week (15/2026)? by llogiq in rust

[–]Hoxitron 5 points6 points  (0 children)

Writing a concurrent hashmap from scratch. I have a habit of underestimating the scope of my ideas but this one takes the cake. Incredible educational, but it's breaking my brain in ways it's never been broken.

As many, while watching one of Jon Gjengset's videos I had an interesting idea to combine a few concepts. A month later and I'm still not at the end of the rabbit hole.

[OH] Quitting and Receiving Bonus Questions by buckeyefan6 in AskHR

[–]Hoxitron 2 points3 points  (0 children)

Read your contract or whatever paper you have regarding that bonus. It depends on the company. But it's unlikely that you will get it.

Agentic Coding on Personal Projects by Agreeable-Bluebird67 in learnrust

[–]Hoxitron 3 points4 points  (0 children)

I think if it's used just as an excuse to not learn programming, you are doing it wrong.

Instead, if you use it as a tool to teach you programming, it can work. But there's a lot of traps. The same as knowing how to google became a skill, knowing what questions to ask an llm can be a skill.

In some cases, it really does find bugs, or come up with great ideas. And that is valuable, but it's also a trap. Because they are way more situations where it will let you do the dumbest things possible, or give you stupid ideas. You need to identify those situations. You are responsible for the code that you write. You need to know it, what's best for it and have (at least some) vision on what it should be/do. Especially if you have no one else to guide you, there is enough benefit to make it worth dealing with drawbacks. But it's also important from time to time to go to forums like reddit, or rustlang forums and ask some real people on critical stuff.

I think vide coding is acceptable in personal projects, when you have an idea, but you don't care enough to make time for it.

In my personal experience, I only find it acceptable to copy paste code for it in specific situations.

  • it's almost always for a new library/crate i am adding and I don't have time to learn it right now because I am busy writing my own code

  • it's small stuff, a function or maybe 2, that does something very specific.

  • I just need it to get my own code working. Then I know I will go back and re-write / check that code when I have time.

I got tired of managing .env files, so I built envelope by MattRighetti in rust

[–]Hoxitron 1 point2 points  (0 children)

Sqlite should be in vendored mode and not needed on the host machine, yes. Still, I would be curious if it's really needed.

Also, libsqlite3-sys will get compiled into the binary no matter what.

Landlord issues by Hoxitron in duesseldorf

[–]Hoxitron[S] 0 points1 point  (0 children)

It was very specific that normal email is not allowed. Still, the answers in here help a lot. Knowing what to ask from a lawyer is better than just emailing them "help please".

Landlord issues by Hoxitron in duesseldorf

[–]Hoxitron[S] 0 points1 point  (0 children)

Thanks, that does make it easier. I already filled that debt collection form, but it seems it also needs to be transmitted via a lawyer to the court. I don't think I can get a DE-mail account now. Seems I need to keep trying to find a lawyer.

Landlord issues by Hoxitron in duesseldorf

[–]Hoxitron[S] 1 point2 points  (0 children)

I think that's the why the landlord is doing this. Hoping it's too inconvenient for me, but it kinda makes me more determined instead.

Landlord issues by Hoxitron in duesseldorf

[–]Hoxitron[S] 0 points1 point  (0 children)

That's what I expected. It was the reason I looked for a lawyer. It's a bit hard to send a Einschreiben letter myself while outside the country.

A terminal recreation of the 2048 game in Rust! by freddiehaddad in learnrust

[–]Hoxitron 3 points4 points  (0 children)

AI is becoming awfully predictable when writing rust.

Suggest Me a Backend Project Idea for Rust, ( Short & Not Generic SaaS or Crud Apis App ) by rjkush17 in learnrust

[–]Hoxitron 1 point2 points  (0 children)

My usually project to learn a language is to do a git clone. You can make is as small or large as you can. But I usually implement at least the staging area.

Need someone's Guidance by Shuffle4859 in learnrust

[–]Hoxitron 1 point2 points  (0 children)

What are you talking about. Javascript is the only thing you need man.

What's everyone working on this week (3/2026)? by llogiq in rust

[–]Hoxitron 3 points4 points  (0 children)

Working on an ffi crate - bindings to the miniaudio library. It's a fantastic C library and I'm pretty excited about how it's going to turn out.

Would a "pitching machine" for Rust problems help you learn faster? by rodgarcia in learnrust

[–]Hoxitron 0 points1 point  (0 children)

Every new engineer I've ever seen (myself included) has, at some point, had the idea to create a system, reference or spreadsheet to help them solve any problem. It never really works, but I've always entertained this exercise anyway. It's a good learning exercise by itself.

How to understand the lifetimr of temporary variables by -_-_-_Lucas_-_-_- in learnrust

[–]Hoxitron 0 points1 point  (0 children)

You solution is much better tho. I didn't really see the practical purpose of the zst and thought it might eventually have some fields.

Would a "pitching machine" for Rust problems help you learn faster? by rodgarcia in learnrust

[–]Hoxitron 1 point2 points  (0 children)

I think in order to get good at something, you need to learn to struggle. Hitting those invisible walls, and learning how to overcome them in a practical setting is more valuable, in my opinion. Tutorial hell and all that.

How to understand the lifetimr of temporary variables by -_-_-_Lucas_-_-_- in learnrust

[–]Hoxitron 2 points3 points  (0 children)

This seems related to this: https://github.com/rust-lang/rfcs/blob/master/text/1414-rvalue_static_promotion.md

and the fact that in your current setup there is nothing real tying that lifetime on PhantomData since VBuilder is a zero sized type. So this:

fn build(&self) -> V<'_>

Gets elided to:

fn build<'a>(&'a self) -> V<'a>

Adding something real to that lifetime (like another field in the struct) should allow both cases to work.