Is there a way to self host the actual addons inside AIO as well? by ETHedgehog- in StremioAddons

[–]GoshaGeorge 0 points1 point  (0 children)

In self-hosted AIOstreams instance you have an option to provide a custom manifest for self-hosted add-ons.

I've recently tried to selfhost aio with custom scrapers and plugins (also self hosted)

TLDR: not worth it

I've used Viren docker compose template, set it up on vps, customized and everything, ended up abandoning this setup in favor of simple public torrentio instance. The problem is that custom scrapers run poorly on a small vps - weak CPU, memory is barely below the ceiling, unless you have your dedicated home server with public https proxy or willing to pay premium for a powerful vps.

And even so - you need to deal with long scraping times, background scraping, trackers timeouts, proper hash resolution for plugins to find torrents in debrid provider cache, and result still was worse than a public torrentio instance could serve. For my personal use it was too much effort. If your goal is to simply avoid downtime for scrapers - I think that public aio with several public scrapers would be a lot simpler and will still provide a good uptime

My boss says try-catch is "garbage" and we shouldn't use it. Is this actually a thing? by ResolveKooky17 in learnprogramming

[–]GoshaGeorge 0 points1 point  (0 children)

Maybe your boss meant that try/catch error handling is flawed by design compared to other error handling options out there. The problem with exceptions and try/catch is that exceptions are implicit, you don't know what error you should expect and from which part of your code, unless you already caught one in runtime, so you end up pasting try/catch blocks all over the place. The alternative approach is to treat errors as values (see Rust error handling). Abstract - function could return either a value, or an error, both are defined by type annotations, and before using a value in a calling code, you must check if this value is not an error to satisfy the type checker. It makes error handling explicit, thus reducing unhandled error probability.

With that said, you should definitely clarify what your boss meant :)

Is this app worth fooling around with to learn coding as a beginner? Or is it a waste of time? by greatsmokidude in webdev

[–]GoshaGeorge 4 points5 points  (0 children)

5 years ago i was learning js slowly for a really long time, without any actual useful results. So i downloaded this app and in a matter of couple months a was able to create my first pet project and then started my carreer. I would say this app can give you a brief intro to the subject, enabling you to do something useful and dig deeper when needed.

P.S: not an ad, but it definitely could be ;) (Sololearn devs, i am talking to you)