Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)DI
Posts
26
Comments
1,266
Joined
2 yr. ago

  • Indeed. while my bash-fu is redimentary at best, I don't think Bash can be used for web scrapping ? But I think he could use RSS to get the posts, then extract youtube links with Regex and use the dump feature of yt-dlp* to get the video category, title,etc by using jq to parse the json. Then, it's probably just a matter of using curl to do the API calls and voilà.

    *yt-dlp is better maintained than youtube-dl, or so I heard.

  • It was just a recommendation. If you feel like python isn't for you, you can try any other language and the only difference will be how much time it'll take to make it, but otherwise you can use C if you want. Maybe you're so used to low level programming like managing memory and having to declare types everywhere that python dumb proof approach is difficult for you. Just don't think too hard about it, if it's a personal use script then there's no need to think about it's efficiency or ugliness. If it works, it works.

  • The best programming language for automating things is python. Python is easy and comes with a lot of modules that allow you to do anything and everything, I guarantee you that once you start automating stuff it'll become like a drug and you'll just "automate it" whenever you have anything repetitive.

    And BTW, one of the main uses of python is website scraping.

    https://musicbrainz.org/doc/MusicBrainz_API

  • But if it was a free browser game or something, I'd give it a whirl.

    Talking about free browser games, here's one of my favorites flash game ever ( you can play it and many of others Newgrounds masterpieces by installing their custom flash player or the ruffle flash emulator extension ) :

    Zos: https://www.newgrounds.com/portal/view/631499

    If you enjoyed it, try it's predecessor "Wilt : last blossom" from the same dev.

  • Yes, I know this but he didn't only include the video title and posted it. He add a hook to attract attention ,the length of the video , the date it was uploaded and the channel name. In the description, he removed quite a lot of gunk.

    This actually sent me into a rabbit hole.

    I spent the last several hours making a script that when given a youtube link format it the same way as he does. I made it in js, python and bash ( well, bing did the writing, I didn't want to spend too much time on this but it in the end, it took me several hours because I wanted to share the link from an online IDE but js module loading is wack).

    I then wanted to use llm to summerise the description and it turns out that thanks to tranfomers.js, it's actually quite easy to implement 100% local summerization/ video Q&A. I used the smallest model (t5-small) to test and it didn't give good results, but I know for a fact that bigger models are way better at this.

    Tldr; I wasted a good portion of new years eve because I got impressed by a post formatting style and tried to replicate it programmatically.

  • The downvotes made me remember a quote from HG Wells that have deeply resonated with me :

    "The crying sounded even louder out of doors. It was as if all the pain in the world had found a voice. Yet had I known such pain was in the next room, and had it been dumb, I believe—I have thought since—I could have stood it well enough. It is when suffering finds a voice and sets our nerves quivering that this pity comes troubling us"

    The palestinians scream their pain but you don't want to hear it, so you can eternally repeat the isreali propaganda mentras " both sides horrible" and " it's complicated " without feeling shame. And to further muffle the palestinians screams they started massacring journalists who dared record it for the world. A world that screams to not repeat NAZI Germany again and yet the children of their victims themselves are commiting worst crimes toward palestinians and No one bat an eye, or worse, help them commiting the massacre.

  • The game could have multiple amnesiac characters that the MC would meet. The MC vaguely knows them since he has hurts them all but the other characters don't remember him and even helps him.

    One of the characters is a former classmate that suffered extreme bullying when kid.

    While patrolling the town elementary school, the MC and the bullied guy fight several monsters (representing bullying ). After entering a random class, the bullied guy begin having flashbacks of his painful childhood and slowly piece together that it's the MC that bullied him. The MC vaguely remember his face but doesn't care as he isn't his only victim.

    The bullied guy confront the MC and :

    Dialogue Option : "Apologize for past misdeeds"

    Jerkass: "Yeah, I stole your lunch money in elementary school. Get over it, we're facing real monsters now."

    It leads to the bullied guy transforming into an abomination while several images flashes through the screen, showing him hanged on a noose and his family crying over his dead body. He committed suicide over the extreme bullying.

    The first boss battle starts.