Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "delete yourself already"
-
let me preface with the fact that I'm now known at my new job for being the resident cli hipster. I can't lay any claims to knowing if it's "better" but I like it, I don't care if you do or don't, it just works for me and my flow
so at my job, we generally squash all our commits into one commit and delete the source branch upon merging; i accidentally committed all my work to an old, already merged branch, so my boss tells me it would be more of a PITA with the weird references we would encounter by merging the branch again, rather than just cherry pick the commits into a new branch, which i'm like "eh, fine.".
HIM: "You want to share your screen so we can resolve this?"
ME: "k"
HIM: "Oh, you won't be able to do this in a terminal, you are going to have to load up a GUI of some sort"
ME: "lawlz, no you don't"
HIM: "i highly doubt you will be able to accomplish that, but if you wanna make an ass of yourself, i'll humor you"
ME: "yeah, watch this"
> git log > log.txt
> git checkout <new branch>
> git cherry-pick <copy-paste-full-commit-hash-here>
> git push
ME: "done"
HIM: "what? there's no way you did it that easily, where are all your other commits???"
ME: "i usually try to amend my commits since we squash them anyhow. it really helps in situations like this"
HIM: "well, you go girl"
roll that up in your fancy degree and smoke it, why don't ya?2 -
I have great news for several reasons. First of all, I have documented the whole devRant API now with some help of AI to resolve requests and made a script to resolve the responses and merged that together in a README.md and updated the docstrings of my devranta api client.
This is a big deal, because with such complete api class, you can vibe whatever advanced devRant bot you can imagine in a hour or so. Could make a wordle bot like Snek has. Just an example.
But besides that, I vibed a devRant API crawler using my devRanta class. It searches what users are connected to what rants and reversed since dr doesn't allow to browse the whole site per pagination. Wonder why.
The crawler is in the examples/crawler directory. If you have python3 already installed, the only think you have to run is go into that folder, and it will download whole devRant.
I hope that my work will contribute to the creator of the next devRant or for the training of an LLM or such. It's a nice dataset. The crawler pulls on my terrible slow 4g connection 272,340 rants per hour. The crawler is an beast actually and easy to fine tune regarding workers etc.
Long story short: get the whole devRant dataset by executing once `make`. And don't worry, the API can handle it easy.
@Lensflare, is it already possible to delete your account in your app? I've documented that as well :P
While a lot is vibed, it required quite some steps to pull all off together. I hope somebody takes my advise to vibe some nice bots with it.
If you take my example project files and the devRanta client yourself, you have enough information to generate a whole devRant site clone easy. I think in one day, you can have like 80% from the default user functionality. Maybe even a good idea to also give a few screenshots to the LLM.
https://retoor.molodetz.nl/retoor/...12