• 0 Posts
  • 16 Comments
Joined 2 years ago
cake
Cake day: August 24th, 2023

help-circle
  • Glibc’s qsort will default to either insertion sort mergesort or heapsort. Quicksort itself is used when it cannot allocate extra memory for mergesort or heapsort. Insertion sort is still used in the quicksort code, when there is a final 4 items that need to be sorted.

    Normally it is simply mergesort or heapsort. Why I know this? Because there was a recent CVE for quicksort and to reproduce the bug I had to force memory to be unable to be allocated with a max size item. It was interesting reading the source code.

    That is if you are not on a recent version of qsort which simply removed quicksort altogether for the mergesort + heapsort

    Older version still had quicksort and even some had insertion sort. Its interesting to look at all the different versions of qsort.


  • Don’t listen to the haters but it would have been nice if you collapsed this because it is very long and generalized to the point that it is pretty much an eyesore. Plus most people can ask their AI of choosing semi-random topics. I don’t see what was interesting in the AI response at all. It states some blatantly obvious facts and is rather too wordy. I intentionally include into the system prompt or “personalization” about how I like things to be kept short and to not reiterate what I had posted especially if it just sounds like the “AI” is thinking out loud.





  • And yet I still believe there were kids who had good tasting vegetables. I already agreed that some didn’t but the ones who did? It was still common for kids to not step up and learn. Oh well, how about I just accept whatever you say but not actually believe your narrow view of life?


  • Fr I don’t think you want to think about it much past the surface level. I agree to some points but not the myth that kids all kids can’t taste good vegetables at all. Conversation ran it’s course, I don’t mind. It is what it is. I believe differently.


  • Acters@lemmy.worldtoLemmy Shitpost@lemmy.world1987
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 months ago

    I guess, but really I had some bad habits and didn’t know how to make anything more than simple dishes like spaghetti and meatballs. Salads seemed like way too much effort until you get the proper technique to chop them up. I understand what you mean but I still wish I had learned it as a kid. The muscle memory/technique to hone in on would have been nice before I became an adult and had to rely on eating out or eating random stuff at home because I also never learned to plan out meals properly. I guess there is more to it than cooking is what I am saying.


  • Acters@lemmy.worldtoLemmy Shitpost@lemmy.world1987
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    idk, am I privileged to have a family who cared enough to go to eat out once in while like once a month ?

    I fail to see how you can think I am trying to relate to someone who never had decent vegetables. It’s not like it is impossible for many of us to eat decent vegetables at one point. I clearly am not trying to be relating to everyone’s background. You are simply nitpicking and didn’t bother reading or understanding my comment.


  • Acters@lemmy.worldtoLemmy Shitpost@lemmy.world1987
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    This is so true. I find there are plenty of ways to enjoy vegetables on the cheap or lower the effects of rot on foods. I feel like people don’t realize that 2000s is the year that current adults as kids grew up in. It is so much better back than after 2008 and 2020(current generation) are having to deal with but still it was a solved problem.

    Yet people don’t really see what was talking about. I wasn’t alluding to the vegetables, but rather how kids are not willing enough to learn to cook or take initiative when they don’t enjoy something.

    It isn’t easy to cook but I still helped my little brother. I wish when I was a kid, I learned to cook. My mom made the best foods though, and I lived pretty much happy with vegetables. I love salads. It is sad how many are not liking salads or vegetables as much.


  • Acters@lemmy.worldtoLemmy Shitpost@lemmy.world1987
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    I don’t know where this came from. I am talking about how as kids we grow up too shy to pickup cooking as a skill, even though we find it not taste right for us. It is fine to accept the food cause hard work and all that about love, but if you feel like it’s not good enough, we don’t seem to try. But you know I don’t deny it’s like that, yet people can still talk to their parents as kids, spice exists and canned veggies or frozen ones can taste decent. All basic truths.

    I helped my little brother cook, he started pretty terribly and to be encouraging everything was, well, not gonna be effective for him to learn. I always made it clear I admired his work but clearly put how cooking skill takes patience and dedication to do. He learned how hard it was for me to cook. I wish I learned to cook when I was a kid.

    Oh well people here got whooshed on the real story I laid out.



  • Acters@lemmy.worldtoLemmy Shitpost@lemmy.world1987
    link
    fedilink
    arrow-up
    3
    arrow-down
    27
    ·
    2 months ago

    What’s even more silly about this is that you never bothered to cook it yourself to experience better cooked food and the reason is? Idk for me it was because I am lame and too shy to ask to change the established way of life. On the other hand I have adjusted to eat food of all sorts even though it is displeasing. Except foods that have capsaicin or or peppers, I’m allergic to them.