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

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

  • 16 Posts
  • 53 Comments
Joined 3 years ago
cake
Cake day: November 25th, 2023

help-circle






  • I lived in India(in what at the time, was called Hyderabad) for a while, as a foreign Arab. Most of the curriculum was in English, with both Telugu(the official language) and Hindu language subjects. I hated it.

    Coming from an Arab country where the most English we were taught was the ABCs, and then being told I had to juggle 3 entirely new language. I wasn’t even exempt from it. I would alternative from getting 61 out 75 in a hindui exam to falling the class, depending on if the teacher let’s me cheat.

    I couldn’t even tell you what letters I was writing, I just drew them as a I saw them. My dad even forced me to watch Hindi cartoons in the hopes I will magically pick it up. For a while, I even had a Telugu teacher teaching me the alphabets. None of it stuck.

    Honestly that period of my life was really damaging. I left India with full English and not a hint of Arabic. Coming back to the Arab world, to even get to the point of conversing with people again took years, and I still don’t know how to read or write beyond a first graders level. Reading still gives me a headache.














  • 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.


  • Why do the prefix numbers change between examples?

    My bad, i fixed it

    I want to show that the two terms are related e,g Star and Jedi by grouping them together

    Franchises

    Stars wars
    Jedi

    Transformers


    Also i am not able to add line breaks between bullet points in markdown. so instead i get this

    Franchises

    • Stars wars

    • Jedi

    • Transformers

    So i cant show the grouping thing in lemmy here. I would have also liked The list i make to be markdown compatible but i guess that separate issue.


  • Basically i collect keywords( e.g: transformers, A Deep dive, Harry Potter The worst, Xbox, stars worst, Jedi) from videos on my YouTube home page and organize them into a lists

    • YouTuber terms:

      • A Deep Dive
      • The Worst

    • Franchises:
      • Star wars
      • Jedi
      • Harry Potter
      • Transformers

    • Companies:

      • Xbox

    And Turn it into:

    A Deep Dive,The Worst, Star wars, Jedi, Harry Potter, Transformers,Xbox  
    
    

    Removing the titles and subtitles.

    How do you tell text and title/subtitle apart

    I was thinking of putting a symbol like “#” for example, in front of the Title

    # - YouTuber terms:  
    

    so the script knows to ignore that whole line, like in general programming