• 0 Posts
  • 34 Comments
Joined 4 months ago
cake
Cake day: March 8th, 2025

help-circle






  • It’s an interesting video in the sense that it seems like an honest attempt at just understanding the problem without really proposing a solution or call to action, which I appreciate. It briefly touches on two points that I thought were interesting:

    • Algorithms help us solve a “short term” problem that is really a symptom of a larger problem. And unfortunately, the best “short term” solution gets us farther away from addressing the larger issue. Specifically, engagement algorithms help us “solve” the problems of being bored and wanting connection. But while it helps us pass time (and feel some level of connection to the creators of whatever content we consume), in the end we feel less fulfilled and more lonely. And the quick satisfaction of the algorithm ends up making it even harder to put the work in to accomplishing things that are actually meaningful and going out into the real world to form real connections.

    • Engagement algorithms go beyond echo chambers into actually changing people. The issue of engagement algorithms only exposing you to amplified versions of things you already believe is something I remember reading about years ago. But this video points out that you can actually end up adopting entirely new interests and ideologies just because people who are similar to you engage with those things. So in a way, these algorithms can end up creating entirely new “communities” of people who are identified, not by what they really care about or believe, but by what common topics are most engaging to the community. Which is crazy because that effectively amounts to a group of addicts bonding over the substance that they are addicted to, but thinking of it as an identity rather than a problem.

    A surprisingly thought-provoking video from one of my favorite motorcycle channels.


  • If you’re building a website, you’ll probably want to stick to Javascript over Rust.

    This MDN article does a pretty good job at introducing the concept of making network requests in Javascript: https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Scripting/Network_requests. It focuses on the “fetch” API as the tool for making requests, which is the standard way to make network requests in Javascript. There are other tools like Axios that may make things easier, but “fetch” should be fine for your use case.

    Another concept that will be relevant here is asynchronous programming: https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Async_JS/Introducing. Basically, there will be some delay between when you make the request and when you get a response. So you’ll need to write your logic in a way that does the “waiting” part correctly.

    One important detail is that most APIs use some form of authentication. So when you’re “grabbing the data” from an external site, the site knows who you are and that you are allowed to access that data. Getting authentication right might be a little tricky, but here is an entry point: https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Authentication. Basically, you’ll need to figure out what authentication strategy your headless CMS is using, and then make sure to safely pass those credentials when making your network requests. If the API(s) you are using are public, you won’t need to worry about this.

    If your goal is primarily to get data from an external source, this should be a good starting point. You don’t necessarily need to get too deep into the backend or even the technical details of things like HTTP or REST. However, if you’re interesting in getting a deeper understanding of Web APIs, the other comment talking about building a skeleton API would be a good exercise.


  • jonathan7luke@lemmy.mltomemes@lemmy.worldRespect your elders
    link
    fedilink
    English
    arrow-up
    52
    ·
    edit-2
    1 month ago

    I 100% agree with the idea that rap is certainly not the only genre to glorify violence, drugs, etc. But the specific song choice is not really a great example in my opinion considering the last verse is

    C’mon you gotta listen unto me

    lay off that whiskey, and let that cocaine be.

    This song always struck me as a cautionary tale. Nothing about the song really seems to glorify the behavior.



  • I do have enough time, but I don’t have the self control. If I could hold myself to an hour a day, that would be fantastic, but I inevitably get myself too addicted and end up spending closer to 4 hours a day. At that point, all my other chores aren’t getting done. As a result, I haven’t played video games in several years.










  • This is part of the larger problem that AI tools are trained on (and profit off of) content that is produced and hosted by others who are now seeing their traffic change from humans to bots. For content sources that pay for hosting with ads, this means a loss in revenue to pay for hosting. For content sources like Wikipedia, they are seeing their hosting costs increase significantly due to the increase in bot traffic. Even if you want every website that depends on ad revenue to fail (which I don’t entirety agree with), AI is still damaging the open web in other ways. Websites like Wikipedia for example may soon be forced to lock content behind logins or leverage aggressive captchas just to fight the bot traffic, which makes things worse for those of us that still prefer to use actual websites over AI summaries.