• 0 Posts
  • 27 Comments
Joined 1 year ago
cake
Cake day: August 2nd, 2023

help-circle

  • StarDreamer@lemmy.blahaj.zonetoAsklemmy@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    10 months ago

    Nothing but effort. Nobody wants to constantly baby a project just because someone else may change their code at a moment’s notice. Why would you want to comb through someone else’s html + obfuscated JavaScript to figure out how to grab some dynamically shown data when there was a well documented publicly available API?

    Also NewPipe breaks all the time. APIs are generally stable, and can last years if not decades without changing at all. Meanwhile NewPipe parsing breaks every few weeks to months, requiring programmer intervention. Just check the project issue tracker and you’ll see it’s constantly being fixed to match YouTube changes.


  • StarDreamer@lemmy.blahaj.zonetoAsklemmy@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    10 months ago

    An API is an official interface to connect to a service, usually designed to make it easier for one application to interact with another. This is usually kept stable and provides only the information needed to serve the request of the application requesting it.

    A scraper is an application that scrapes data from a human readable source (i.e. website) to obtain data from another application. Since website designs can update frequently, these scrapers can break at any time and need to be updated alongside the original application.

    Reddit clients interact with an API to serve requests, but Newpipe scrapes the YouTube webpage itself. So if YouTube changes their UI tomorrow Newpipe could very easily break. No one wants to design their app around a fragile base while building a bunch of stuff on top of it. It’s just way too much work for very little effort.

    It’s like I can enter my house through the door or the chimney. I would always take the door since it’s designed for human entry. I could technically use the chimney if there’s no door. But if someone lights up the fireplace I’d be toast.





  • Is there a specific reason you’re looking at shadowsocks? The original developer has been MIA for years. People who used it in the past largely consider it insecure for its original stated purpose

    trojan-gfw is a better modern replacement. However that requires a certificate in order to work. You can easily get one via lets encrypt.

    At this point, let Shadowsocks, obfs, and kcp die a graceful death like GoAgent before it did.







  • I’m not advocating that teenagers should save no money. I’m just saying you don’t have to save “all” of it.

    Good financial planning isn’t just not spending every cent when you can, it’s also figuring out how to get the most out of your money. There is plenty of expensive stuff that I’ve spent thousands of hours with, which makes them totally worth the investment. There’s no way a teenager would be able to figure that out without some trial and error.

    I’d say it’s better to get that out of the way now than later. If you make a bad purchase decision as a teenager, at most you’re short 200 dollars. Maybe that startup idea isn’t exactly what you imagined it to be, but at least you figured that out now than after sinking 20k into MLMs.


  • As a counterargument: spend your money. 200 dollars means a lot more to a teenager than a college student (with an on-campus part time job), then when you find yourself at your first full time job you may sometimes be spending 200 dollars like pocket change.

    As a result, you will most likely cherish what you buy now for 200 USD way more than what you can buy down the line. That console you need to save up 6 months for right now? It becomes a lot less sentimental when you can afford it every other month. So spend your money on something that you’d like right now. 200 dollars won’t change your life in college much, but it can change your life significantly right now.






  • My suggestion is to get a device that can do the stuff kids want, but just barely do the things they want.

    I probably spent more time tinkering around the family computer than anything else as a kid just to get games way over-spec to run on it. Throughout that process I learned programming, hex editing, and some Linux system administration, which eventually led me to my current career.

    These days, it’s probably a lot easier to get started with a raspberry pi. But without something to motivate people to learn tech, why would they do it in the first place?