Profile by artisticside(website:www.artisticsideoflife.com, Instagram:@artisticsideoflife_)

Banner by Elena_Medvedeva(Email:lenkovskai@yandex.ru, Website:https://creativemarket.com/elenamedvedeva)

  • 32 Posts
  • 135 Comments
Joined 2 years ago
cake
Cake day: November 25th, 2023

help-circle












  • I have had an account Piefed for four months now and i hate it, the UI anyways. No UI theme feels right. I wish someone would make a lemmy theme cuz i keep being put off everytime i open Piefed.

    I like Piefed feature of keywords blacklisting(i heard multi-communities are coming to lemmy too) so i hope one day there are better themes.

    P.S: The keywords blacklisting feature has a limited. You can make more than one grouping of keywords, but each group can have a limited number of keywords(i figured this out when i tried to copy paste all 50 states of the USA).













  • second part you’re not matching at all.

    That because the program/ add-on i am using, only requires certain keywords to blacklist videos

    so if it find What "X" Says About in a Video Title , it doesn’t need the rest of the sentence to blacklist the video.

    The other problem with regex is that every implementation does things differently

    Th developer links to Firefox’s developers Regex Documentation.

    Regex
    
    You can use Regex to match very specific patterns of text.
    
    /aaa+/i: will block content that include aaaAAAAAaaaaAAAaaa or aaaaaaaa
    /top \d+/: will block content that include top 10 movies, top 5 upcoming movies
    
    Supports negative too, by adding ! (exclamation mark) before the regex.
    Example: !/^a/i will block content that does not start with a 
    
    

    This is a snip-it of the the add-on Guide. I cant like to it cuz for some reason its only inside the extension but here is the add-on’s page


  • I think this is The solutions that makes the most sense to me

    But i don’t understand what sed does here

    replace the trailing comma with a newline again

    Why do we replace the commas again with new lines?


    Also, I figure a better way to group related terms

    Stars Wars;Clone Wars;Jedi
    

    Using semicolons “;”
    I figure i can replace them with commas using tr command

    tr ';' ',' 
    

    But do i just pipe

    tr '\n' ','
    

    Into

    tr ';' ',' 
    

    Or is there a way to combine them. I don’t see an option to do more than operation in tr manual


    Lastly, i have been trying to use regex to match

    What "X" Says About
    

    To

    What The MCU Says About The Comics Industry 
    

    I just need to match The “X” There, the program takes care of the rest

    I tried

    What \w+\s+ Says About
    

    On this website to match

    What The MCU Says About The Comics Industry

    But using the debugger, it only recgnize “The” and then stops


  • Something like this?

    - Franchise(Title): 
    
      - Harry potter
    
      - Perfect Blue
    
      - Jurassic world
      - Jurassic Park
    
      - Jedi
      - Star wars
      - The clone wars
    
      - MCU
    
      - Cartoons(Sub-Title):
    
        - Gumball 
    
        - Flapjack
    
        - Steven Universe
    
        - Stars vs. the forces of Evil
    
        - Wordgril
    
        - Flapjack
    
    

    Turned into

    Harry potter,Perfect Blue,Jurassic world,Flapjack,Jedi,Star wars,The clone wars,MCU,Gumball,Flapjack,Steven Universe,Stars vs. the forces of Evil
    

    Both “Franchis” and “Cartoons” where removed/ not included with the other words.