Hi, I’m Shauna! I’m a 37 year old transgender woman from Ontario, Canada. I’m also a Linux enthusiast, and a Web Developer by trade. Huge Star Trek fan, huge Soulsborne fan, and all-around huge nerd.

  • 0 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle
  • I haven’t seen anyone mention it yet, but a reason might be that providing an API is cheaper than web scraping.

    If people really want access to your data, they can just scrape your website, but that requires loading all the data through the website itself which requires loading millions or billions of video thumbnails, comments, descriptions, recommendations, etc. It’s much cheaper for them to send a JSON through an API, even though they might know that some people are trying to undermine them by using that data to circumvent their advertising.




  • ShaunaTheDead@kbin.socialtomemes@lemmy.worldThis is a robbery
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    2 months ago

    On a somewhat related note, that Sun Tzu quote reminds me of something he did. Sun Tzu had a rivalry with this other general who he often got into skirmishes with and always defeated him or outmaneuvered him with some kind of trickery. So one time this rival general actually had Sun Tzu on the ropes and had chased him into a bit of a corner. Sun Tzu was in a smallish fort with the enemy general closing in and he definitely did not have enough soldiers to hold the fort for long.

    So instead of trying to intimidate his rival with a show of force or making his army seem bigger than it was or whatever else he might have tried instead when his rival arrived at the fort he found the front gate fully open and nobody in sight except Sun Tzu himself sitting on the battlement playing an instrument somewhat akin to a lyre I think.

    His rival was so wary of trickery that he assumed it must be a trap, or a distraction while a larger army moves in to reinforce him, so he left and Sun Tzu and his army survived.