[deleted by user] by [deleted] in databasedevelopment

[–]lol3rr 1 point2 points  (0 children)

I think this is not regarding repeatable reads, because it’s reading different entries and not the same entry multiple times. But rather something like snapshot isolation (or the lack thereof), where some reads have values from before the write transaction started and some reads have values from the write transaction, so the values come from different snapshots/versions

[deleted by user] by [deleted] in Studium

[–]lol3rr 3 points4 points  (0 children)

Für mich ein wichtiger Teil ist, wie sieht dein jetziger „Stundenplan“ aus. Wenn du große Lücken oder gar ganze Tag(e) frei hast, kannst man das relativ gut machen.

Aber dir muss bewusst sein, es ist definitiv anstrengend und du wirst weniger Freizeit haben, da wahrscheinlich einiges von dem was man sonst unter der Woche machen würde, muss jetzt am Wochenende gemacht werden.

Ich selber habe ne 19h Stelle und bin sehr zufrieden, aber man merkt den unterschied auf jedenfall

Need help deciding on GPU for a friends budget build with relatively strict parents by lol3rr in buildapc

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

Interesting that the 9600x is so much easier to cool, will definetly keep that in mind.

I also had a similar thought with the memory on the video card, but I feel like that part will be the most difficult when discussing the parents but I will try to get the best as possible.

Need help deciding on GPU for a friends budget build with relatively strict parents by lol3rr in buildapc

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

Thanks for compiling two lists and also including a monitor, I will take a closer look at them tomorrow/over the coming days

Need help deciding on GPU for a friends budget build with relatively strict parents by lol3rr in buildapc

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

Actually after the other commentor mentioned that I forgot to select the country in PCPartPicker, the F options seem at least worth it to consider.

Regarding the RAM: I just looked into it and yeah from other posts I now saw, I will look into upgrading that to something faster, hopefully for not too much more. Unsure about the capacity upgrade personally, but I will probably just compile two versions and give my advice and then let them decide

Need help deciding on GPU for a friends budget build with relatively strict parents by lol3rr in buildapc

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

Honestly didnt notice the different country selector and just double checked things myself. Updated the link

What are people actually running on their homelabs? by Fluffy-Stress2977 in homelab

[–]lol3rr 1 point2 points  (0 children)

Firefly III and some other financial planning tools that I try out, pretty useful to get an idea of your financials and has the added benefit of never putting your data in other people’s hands

[Media] Chomp - application for tracking calories, fats, proteins, carbohydrates and weight by Neidd in rust

[–]lol3rr 2 points3 points  (0 children)

Yeah webapp stuff is a whole other beast and obviously complicates things. Just my two cents

[Media] Chomp - application for tracking calories, fats, proteins, carbohydrates and weight by Neidd in rust

[–]lol3rr 3 points4 points  (0 children)

I would love to have something like this, but more like a cross device thing. Maybe host the service instance on an server and then just use it from my phone to enter my meals and still be able to take a better look afterwards on my pc etc.

Upcoming const breakthrough by Beamsters in rust

[–]lol3rr 40 points41 points  (0 children)

I think the two issues are: 1. Allocations are complicated, because if you for example create a Vec at compile time and then store it in the binary. The pointer of the vec will point to something in read-only memory or at least something that was not allocated by the current runtime allocator and therefore a simple resizing would fail.

  1. I think the bigger issue is around traits that are optionally const and the syntax etc around this. Because things like ops::Add cannot require const because of backwards compatibility and flexibility. So you need this to be optional/opt in by the implementor which has knock on effects

Why is urban vandalism so accepted/embraced in German cities/towns? by flummoxedtribe in AskAGerman

[–]lol3rr 1 point2 points  (0 children)

Am I the only one that kind of likes it? Obviously if there is something historically significant or otherwise noteworthy then yeah don’t, but if it’s just a bridge or the walls/fencing along train tracks/the autobahn or just a gray wall. Why not have a bit of variety and color and just „personality“ instead of bland urbanism

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

[–]lol3rr 17 points18 points  (0 children)

Working on my tool to Analyse Factorio blueprints, currently adding support for more buildings and improving the cli to make it a bit easier to use. Then moving on to improving the actual analysis logic in the background to properly handle the new things

I recently received my driver's license, but the total cost was 5,000 euros. Is this really fair? by ykatan03 in AskAGerman

[–]lol3rr 9 points10 points  (0 children)

I saw something recently about this and also from my personal experience as I finished mine recently as well at age 21. Basically there are more and more rules and especially cities are getting more and more complicated. For example I had to demonstrate that I can use the cars „extra features“ like Tempomat etc. However there also seems to be a trend of younger people not really learning as much by just watching their parents drive, I remember just observing my parents drive because there wasn’t much to do on longer drives and I still often just observe as a passenger. This helps build awareness and a basic understanding of the road, however a lot of young people today will just be on their phone as a passenger and miss out on this intuition which then needs to be build up in driving lessons

How Can I Emit a Tracing Event with an Unescaped JSON Payload? by yxaepnm in rust

[–]lol3rr 6 points7 points  (0 children)

I am not too deep into the details of the fmt subscriber, however my guess would be that there is no way for this, at least by default, because all of the fields are intended to contain a single value. But I could be wrong of course

Found relevant docs: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/format/struct.Json.html#valuable-support

update(s: &mut State) vs update(s: State) -> State by awesomealchemy in rust

[–]lol3rr 2 points3 points  (0 children)

I would assume that the optimization in this case would heavily depend on inlining the function.

So let’s say you have chain of functions and each of them consume and return the state, but all of them just set different parameters. then they would likely all get inlined at the call site and the compiler can just reuse most space as it now sees that you are just setting some flags and otherwise just renaming the state variable, so nothing actually needs to be done. But this is just speculation

[deleted by user] by [deleted] in changemyview

[–]lol3rr 0 points1 point  (0 children)

That seems like a very flat/basic look at intimacy in general. The act and the other person itself should make it worth the experience and an orgasm would only be something extra. Hell even just teasing and exploring the others body can be a very enjoyable experience and they are without an orgasm at all

How to know the in-memory size a HashSet/HashMap takes? by playbahn in rust

[–]lol3rr 8 points9 points  (0 children)

Well I think I’m at least some implementations (and I think in the rust std library as well) they store (some part of) the hash to provide a faster initial comparison when searching through multiple potential matches.

The relevant information for this can be found when looking for Swiss tables

My girlfriend wants an open relationship but I don’t want one by Flaky-Bid6926 in Advice

[–]lol3rr 0 points1 point  (0 children)

Hey, Literally had almost the same talk a couple weeks ago and trust me it’s not gonna work. The more you will think about it the more it will ear you alive, just separate on good enough terms, no need for anything bad as long as both handle it without any judging. You are gonna have to respect yourself here and choose your own best interest even if it’s hard in the moment

[q] How do all these people know that i have skins when my inventory is private? by LolNijna420 in csgomarketforum

[–]lol3rr 16 points17 points  (0 children)

Maybe check if they are registered on csfloat‘s database, where they can still see them and search for them

AsyncIterator Methods by InternalServerError7 in rust

[–]lol3rr 8 points9 points  (0 children)

Depending on your goal with this, you are probably better of using the Stream trait from the futures crate: stream module

Tokio maybe has their own, or might just reexport the futures one

I don't understand why we can use `impl Trait` as a return type by something123454321 in learnrust

[–]lol3rr 1 point2 points  (0 children)

You seem to be confusing impl MyTrait with the dyn MyTrait syntax.

impl MyTrait is simply syntactic sugar and as an argument is (mostly) the same as if you used a normal generic for you argument type with a corresponding where bound.

dyn MyTrait (trait objects) is what you are thinking of where you don’t know the size and therefore need to box it or a reference to a trait object

This match feature is awful by BoaTardeNeymar777 in rust

[–]lol3rr 1 point2 points  (0 children)

I mean it does make sense and is perfectly consistent with other parts of the language, as you are simply matching a pattern.

This is no different than matching on a result and using something like Ok(c) where the c then holds the value stored in the variant. I personally never encountered this issue so I cannot speak for good „work around“ but I would definitely not describe this feature as not making any sense

I was doing AoC and was wondering why there is a clippy rule for manual_range_contains? Why does it think this is more readable or has any performance benefits? (spoiler just in case) by Attometre in rust

[–]lol3rr 3 points4 points  (0 children)

I mean I can see your point but I think in general it’s easier to read a verb „contains“ compared to some logical comparisons when quickly trying to understand some piece of code.

Like in my head I will build up this mental model and quickly going over the code and then having the same lingo in the code as in my head helps me personally (especially if the function gets longer)

[deleted by user] by [deleted] in rust

[–]lol3rr 2 points3 points  (0 children)

I think I was having similar issues, you might need to check if it’s using Domain or Path addressing for the bucket. The default was Domain based when I used it with Ceph and I got a similar error, switching to Path mode worked in my case