• 24 Posts
  • 133 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle

  • alyth@lemmy.worldOPtodepression_now!@lemmy.worldFull Circle
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 days ago

    Hi Zerlyna!

    I really appreciate you commenting to check on me. It honestly made me feel very cared for and I’m immensely grateful - thank you!

    I’m very happy to report that life has gotten a lot better since I made this post.

    1. I stopped talking to and caring about my ex. When the relationship ended, I felt like I woke up in a new world which I hated at first, but now I’ve grown to love it.

    2. I made a very close friend. I used to think I could never trust anyone this deeply again. But it turns out I met a new person and we care about each other a lot. I really enjoy every exchange we have and I’m so glad that the feeling is mutual.

    3. I can hardly believe it - but I have a crush (a different person than 2). Like 2, she’s also someone I met recently and our daily conversations are so fun and effortless. I’m expecting a no when I ask her out, but that’s okay! Merely knowing that I’m capable of these feelings again shocked me.

    4. I’d been talking about interpersonal improvements so far, but for myself, I realized that I don’t care about spending the rest of my life here anymore. I need to go on an adventure. I feel like I’m finally able to focus on spending the time I’ve been given on this earth on my own journey.

    To summarize, I think I’m finally learning the art of letting go and I’m building up meaningful relationships.

    That’s enough yapping from me! I almost feel bad for talking this much about myself. I’m sorry to hear about your bad day. Please feel free to share if there is anything on your mind, you are always welcome to . If you’d rather not, that’s just as fine and I genuinely hope that positive things are just around the corner for you too. Thanks again for your check-in and good wishes, I genuinely appreciate you a lot and wish you just the same.















  • Thanks for sharing this. I took the time to read through the documentation of the re module. Here’s my review of the functions.

    Useful:

    • re.finditer returns an iterator over all Match objects
    • re.search returns the first Match object or None if there are no matches.
    • r'' use raw strings for patters so you don’t have to worry about backslashes
    • the optional flags argument modifies the behaviour (case insensitive, multiline)

    Utility:

    • re.sub replace each match in the string
    • re.split split a string by a regular expression

    The Match object:

    • match.groups(0) returns the portion of text matched by the pattern
    • match.groups(1) returns the first capturing group
    • match.groups(2) returns the second capturing group, and so on

    I don’t understand why these exist:

    • re.match like search, but only matches at the beginning of the string. why not just use ‘^’ or ‘\A’ in the pattern you pass to ‘search’?
    • re.fullmatch like ‘search’, but only if the full string matches. Why not just use ‘\A’ and ‘\Z’ in the pattern you pass to ‘search’?
    • re.findall Returns all matches. It seems like a shitty version of ‘finditer’. The function has three different return types which depend on the pattern you pattern you pass to the function. Who wants to work with that?



  • alyth@lemmy.worldtolinuxmemes@lemmy.worldLOL
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    2 months ago

    or traditional Fedora, which also has often unstable packages, dnf is often unusable

    My experience with dnf is that it’s slow as molasses but your average computer user isn’t gonna install 10 new CLI apps per day /j

    I’ve used Discover (dnf or flatpack backend) and you can install just about any software with 1 click. It takes a minute to install but that’s fine.




  • alyth@lemmy.worldtoPersonal Finance@lemmy.mlPersonal Responsibility
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    2 months ago

    “let me know what you think”

    I think your advice is very obvious and too specific to your situation. The section about what kind of person you should be isn’t relevant.

    One useful nugget of information in your post is that your local library may offer services beyond borrowing books.

    Sorry, if you have good intentions I appreciate you sharing what you think is helpful. But you asked for comment so I’m explaining the downvotes.