18

For @Alice

What is https://alicepeters.de/devrant/

What is the api?

And can you translate the german below?

Comments
  • 2
    Cool 👍
    //But only for those twenty people
  • 1
    Looking forward to the first person hitting 100k ++ 👍
  • 2
    Just a question cuz I am not sure about that: is it efficient to have a scheduled task running and checking every 15 minutes? In my eyes it would be way more efficient to cache the data some where and check the caching date Everytime some1 hits the page. Then if the date expired, refetch. I've had something similar not so long ago and I used the method described above. What does anyone think about this, what's the best practice in these cases?
  • 1
    Well fuck me, I'm in the top 20. That's really cool.
  • 2
  • 1
    @Alice Chill Alice I'm just having fun. The database is 2 KB. I wanted to save every user so you can see your standing even if you aren't top 20. It isn't making automatic requests. In fact it has only made about 15 in total. I'm not trying to be professional, I just made a python script cus I thought what you did was cool, and I wanted to show you my work.
  • 1
    @Alice I just read your tone as defensive, since you lead by telling me it seemed inefficient and then asked a large block of questions as if I were presenting a product for you to buy. Of course, I want to talk about it and answer questions and stuff but it seemed you were upset, something I was obviously concerned about since I was copying your work.

    The task could be easily automated (Have it on a clock rather than waiting for user input - basically the same code) and can certainly be limited to 5000 db entries (rough guess about .5mb) to prevent taking up too much space but honestly I don't plan on data mining devRant, I was just interested in making the thing, it seemed like a lot of fun (and was!).

    My plans were to be able to add users to the database manually (something like "top add <name>") but I couldn't figure out the username to user id portion of the API and got bored trying.

    One last thing I nearly did was instead of only going into the comments of each rant, I would also visit the profiles of each ranter I found (both in rants and in comments) and sort through their rants to find people in their comments but it seemed like too many calls to the API. Instead of just sorting through a Max of 50 rants + comments that could easily run into thousands of rants.
  • 1
    @Alice There was also a smiley face
  • 1
    @Alice Thanks! Most of my early Dev live I focused on client-side stuff and totally ignored networking, which is something I regret now, since http requests seem a bit foreign to me.

    I'm interested in data science, even though I know nothing about it. I'm taking data structures next semester and I think that's going to really beef up my ability to do things like this - perhaps download and analyze gigabytes of statistics from devRant. I have the hardware sitting around, just need the brains.

    Anyways I had a fun Sunday making this thing, thanks for the inspiration! If you wanna collab on something like this lmk, it would be fun! Especially since you're so good at front-end. I honestly admire your responsive design skills.
  • 1
    @Alice My first one is on the horizon as well. Gotta get my wisdom teeth removed, but they're all fucked up apparently so they're gonna knock me out and it's gonna be no good. It isn't soon, hopefully, but it isn't very far either... So I share your anxiety.
  • 1
    @Alice I'm just freaked out by the idea of anesthesia, both local and general. Usually I don't have worries about things going wrong, I just feel as if the world is ending for no tangible reason. It has proven more difficult for me and my therapist - it would be much easier to cope with fears or specific stimuli.
  • 1
  • 1
    @Alice Ugh it's an &... Lol. Well at least now I know
  • 0
  • 0
    @AlgoRythm Got what you were talking about
Add Comment