Profile pic

Cactus_Head, cactus_head@programming.dev

Instance: programming.dev
Joined: 2 years ago
Posts: 19
Comments: 24

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

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

RSS feed

Posts and Comments by Cactus_Head, cactus_head@programming.dev

It didn’t even upload after 12 hours. I left it running the whole night and woke up in the morning to it still running


Ah, sorry i thought you meant after “About”.


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


Same man, most days I am not sure I am event a person.



Than that an issue from safari than anything to do with the torrent site.

Your description of the site is just unhelpful. Too many sites fit the bill. I would suggest you find a different site.


This like three degrees of “This has nothing to do with what I am asking”


Do you mean it was romved from your browser/bookmark manager service e.g (Firefox sync, raindrop.io)?


That’s meant to distract you from Grandma in the bottom left corner.



RSS feed

Posts by Cactus_Head, cactus_head@programming.dev

Comments by Cactus_Head, cactus_head@programming.dev

It didn’t even upload after 12 hours. I left it running the whole night and woke up in the morning to it still running


Ah, sorry i thought you meant after “About”.


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


Same man, most days I am not sure I am event a person.



Than that an issue from safari than anything to do with the torrent site.

Your description of the site is just unhelpful. Too many sites fit the bill. I would suggest you find a different site.


This like three degrees of “This has nothing to do with what I am asking”


Do you mean it was romved from your browser/bookmark manager service e.g (Firefox sync, raindrop.io)?


That’s meant to distract you from Grandma in the bottom left corner.



Did you read my post like at all?

I meant something that breaks the traditional windows environment. Stuff outside xfce , cinnamon and kde. gnome doesn’t work for me on keyboard and mouse. I want a distro to mess around with, not distro to settle on, i am fine on linux mint as is, just wanted to try a distro as a side hobby



I keep getting “No such file or directory” and " Permission denied” on directories “/pro” and “/run”. I am assuming those are the partitions of the HDD, either way, i got 193 GB but its not down broken down into sections. i am also wondering if it counted the HDD storage space in the total storage used.

Linux mint does have Disk Usage Analyzer where i got the storage spaced breakdown from. the size of / directory is 117 GB, 48 of which is Timeshift snapshots, so 67 GB of used space out of 240 GB SSD.


I didn’t phrase that right. It filled to over 90% of the 180 GB SSD. Had move distos right away


If you’re talking about containerized software

do you mean Flathub or something like docker/distrobox. I remember using toolbox for some CLI commands.


It depends on where that storage was used. Some details would be useful.

Linux mint 240 SSD is free 152 GB. The SSD includes home directory(28 GB) and Swap file(17 GB)

I have an 500 GB HDD that has 20 GB important files. I plan on keeping a copy on the 240 SSD and want the immutable allow twice that sizes(40 GB).

I don’t plan on playing any games but i do plan on trying out some video and photo editing, nothing too big.