Details
-
AboutJust a dude who's a little bit too enthusiastic about life :D Wish y'all a great time on our beautiful Earth <3
-
SkillsJava, C#, Python, C, JS/TS
-
LocationIsrael
Joined devRant on 6/23/2018
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
-
@retoor You can't change the meaning of a word WHILE you're still using it. Before you said reachable is a hundred or so, that means you meant how much the API returns in the feed.
The amount of rants you can get to by recursion is "basically" all rants. Which is a LOT more than a hundred. -
@retoor I would not call that stable normal development...
The amount of rants reachable is around ~40 for 'recent' (Currently: 40) and about ~140 for 'algo' (Currently: 130) -
@Lensflare No, I'm using the older native UI toolkit, but it's not JUST the UI (although a LOT is), it's the ENTIRETY of the android Framework. It's the UI, the android java (somehow took only the worst things about Java, and then made it even worst), the horrible documentation, the whole resources structure (all the values.xml and themes.xml, and all the others with little to no documentation of what does what, or how does any of it works, or what the defaults are, and other shit like this)
And basically every thing I do I have to spend hours on google hunting stack overflow questions or random forum questions becuase nothing is ACTUALLY fucking documented, so 80%+ of my time is literally spent trying to find "how to implement shit" instead of just fucking implementing shit.
Every time I make the mistake of making an android app, it just makes me feel retarded. -
@retoor Oh, okay, an already existing crawler is great(one less thing to work on would be amazing), but how did you get to 30GB???
I have downloaded slightly less than 50,000 rants and it only weights 35.8 MB
Also a question about your crawler, took a quick peek at it and it looks like while crawling through users there is only one API request, and I didn't see any loops to crawl through the user's entire rant/comment history (The API only spits up the last 30 rants and comments in the respose, to get the all you need to keep requesting with `skip=[number]` in the same way as the main feed), so my question is does your crawler actually go through the entire user's history or only recent rants? -
@retoor @whimsical I think you will be pleased to hear the crawler is written in the python that you like so much
-
And if I'll have time in the next months (I am way too busy and I still have the Android client as a higher priority) I'll also make a small web-client of my own on top of the backup to be able to launch it as a zero-day replacement in case devRant shuts down.
But since that is for a further future this is providing devRant survives for at least half a year (Which I feel is a valid expectation, but also if/when devRant shuts down it would probably be unexpectedly so tomorrow, in a week, in a month, in half a year, and in 5 years all seem equally probable to me) -
@Lensflare I've been somewhat toying with the idea in between other things, I wanna back up the entirety of devrant (all posts, collabs, users), and make a publicly accessible database (that is kept updated with devRant) and an API, so that if/when devRant gets shut down, all the actual posts are backed up and whoever(me included, if the time would allow me) would make the replacement, could include "Legacy Posts" in the new app and build the backend on top of the backup's backend (instead of writing it completely from scratch), I'm currently designing a crawler to be able to reach older rants (since devrant's API for some reason only shows VERY recent rants, I'm getting no further than ~40 rants back on the feed) but I'm at least listening to new rants.
-
@peapowder Mentions don't work either btw.
For iOS there's @Lensflare's joyRant client - https://github.com/WilhelmOks/...
For Android I'm in the process of making an Android client. I am giving it a very small amount of time and attention(because I don't have much time) so it will take time to happen.
For browser there's @retoor 's https wrapper for the unworking devrant cert - https://dr.molodetz.nl , and her custom webclient (with PWA support!) - https://rantii.molodetz.nl
For desktop I made a notifications script that displays desktop notifications when you get mentioned - https://github.com/yuriKhordal/... -
@antigermgerm Freud was a fucking retarded idiot
-
@Lensflare Thank you for all the suggestions and opinions <3
-
@Lensflare
> Don’t try to copy the UI from the original.
But I like the original's UI....
The only dislike (and a STRONG one) is that posts don't show usernames on the feed, which you can see mine already shows them from the very start.
But we'll see, maybe further down the road(After at least the base features are implemented), if people don't much like the original UI I'll add an alt-UI in the settings. Currently not a priority. -
@Lensflare
> I recommend to make a list-
Aye aye you will get your lists, don't worry, as soon as I implement the bare minimum (scrolling feed, viewing a rant+comment, post a new rant, post a comment) I will publish a list of what's already implemented, what's going to be implemented, order of importance, what MAY BE implemented, what I'm not going to implement, and which known bugs there are. -
@Lensflare
> Isn’t skyrant open source?
Probably, but I suck at reading other people's codebases, and I'd like to make it by myself. I'm already suffering enough by having to dive into Android again, allow me to at least have a tiny ounce of enjoyment out of doing it with my own hands instead of rewriting someone else's project.
Dark Souls has a better 'Fun to Suffering' ratio than Android dev. -
@Lensflare
> Why do you want to use certificate pinning?
Because I don't want to blindly trust EVERY invalid certificate in case someone's going to try and abuse the fact that the certificate has expired, and do an attack (basically any type of an attack that a certificate usually protects from), instead I want the app to ONLY trust that one expired certificate that we "know" is safe and secure. Basically to protect the app from, for example - Someone claiming to be `devrant.com` with some self signed certificate.
I want the app to only accept valid certificate plus ONE KNOWN expired certificate.
So the goal is reducing the attack surface.
"But nobody is realistically going to attack devRant, who would even want something out of this dying websight" -> Sure I think so too, that's not a good enough reason for me to ignore an obvious vulnerability, and apparenty it's an easy fix.
It's just not the priority at a pre-alpha stage. -
@retoor Ohhhhhhhhhhhhhhhhhh, PWA. So that's how you're supposed to use 'rantii'.
Couldn't figure out how it's more useful than the regular devrant website, now I get the intended use case. -
@Lensflare tagging you too since you also have your own third-party devRant client, and maybe you'll have non-android (or non-os in general) specific advice for things that you already struggled with and solved.
-
@retoor @whimsical
-
@Lensflare There is nothing sexual about analysis, absolutely unprofessional!
@glowFX -
@retoor Awww, the Dutchie thinks she's an *upgrade* to Germans, how cute
-
Wait, what am I missing? How is this useful to the android app users?
I mean, it's not an app, it's a website, and the devrant website works, only the app doesn't, and it doesn't make the app work, sooooooooo??? -
*The world greets you back and smiles upon you*
-
I wish I had the time for conventions, competetions and other fun stuff like that...
-
@retoor Isn't skyRant iOS exclusive??
I was considering making an third party Android client for devRant. But Android is SUCH a pain in the ass in terms of development that I'd need to be REALLY bored and hate myself really hard to actually do it. Fuck Android development, I have made a few Android apps, and each and every one had me genuinly struggle keep myself from tearing my own hair off. Android development invokes primal fucking rage and hatred in me. -
No, you're not the only one, I also used the official dR client for android, and yeah, it doesn't work since the certification expired.
Why, is there a different dR client for Android???
(Since you're calling it old) -
@Lensflare Except whatever broke images is probably a complex problem that might require either money or a lot of debugging time to figure out, which would make no sense for an abandoned project. Meanwhile renewing ceritificates takes a few minutes and a couple terminal commands and then you forget about it
-
Yaaay, at least for iOS it will work.
I don't have or use any Apples, but it's still good news :D
Let's hope it won't take too long until certificates are renewed (Which I assume they will be because it's not the first time) -
@retoor cert isn't short for certbot, it's short for certificate (which is why certbot is called certbot)
But also I did check, and devrant was using Let's Encript since the very start (since 2016, the first certificates were signed by Let's Encrypt) sooooooooo xD xD xD -
@jestdotty Wait, what do you mean "was", is sharing food/drinks taboo or something nowadays???
-
I am completely aware these problems are very probably EASILY solvable, I'm not sayin "Muh, Uh, Windis sucks, I don't know how to do a thing, it's wundus fault".
There are solutions, I just couldn't find them, and I'm not willing to spend more than a day on this. -
@retoor Actually it's my first time making a user service too :D
I only ever made system services for my servers and other random stuff.
And yeah it's somehow working better than expected.
Also works really nicely with combination with a conventional RSS reader, I use Akregator and if I accidentally close a notification or want to go back to one that I closed I just launch Akregator.
