4

Update on youRant (the android app):
As I said multiple times in the past: I. HATE. Android so much xD
I spent yesterday 5 hours to write 25 lines of code(of securely storing encrypted session tokens for the login) because nothing in this platform is straightforward, and everything is done in the most roundabout and unexpected way ever.
And today an unexpected event happened so I couldn't work on it, so with regret, I have to say I have nothing new to show, as of now you can only see the main rant feed, and click on the rant to see the rant+comments page (No option for sign in or posting rants/comments or upvote/downvote yet), if that's usefull to anyone, mention me and I'll drop an apk tomorrow/day after tomorrow.

On the good news, since current devRant's API exposes no more than like ~40 recent rants (I swear you used to be able to scroll "infinitely" back in the past, so this must be a new bug or some shit) that means the rant feed in my app is suddenly effectively done(for the MVP, after the MVP there will be a more efficient feed scroller) since it means it can load in a single request all the rants that the API will give you anyways, and there's no need to implement scrolling or shit like that. So allowing to post and vote is "basically all" that needs to be added for the MVP to be done and published.
("Basically all" in quotes becaue I know well enough to not trust Android and expect another 5 roadblocks in the things that should be extremely easy to implement in any other UI toolkit/platform, I am fully expecting to spend a 7 hour session trying to figure some shit that is as simple as, for example, trying to set text to be bold or some shit)

Comments
  • 2
    Are you using Jetpack Compose?
    I haven’t tried it yet but I hear it‘s a similar boost in productivity as SwiftUI was for iOS.
    For the "normal" android UI framework, I agree, it’s a major PITA to work with.
  • 0
    Seems to be just stable normal development :p sometimes it's just 25 lines. The amount of rants within reach is displayed here at total rants: https://static.molodetz.nl/dr.stats... . It's hundred or something, that's the match you can paginate. I think it's two weeks what site displays and once it was just more. Love to sign myself up as beta tester.
  • 2
    @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.
  • 1
    @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)
  • 0
    @SoldierOfCode reachable is way more. Because from rants you can go to users. From users you can go to other rants and that recursively. In the end - my crawler in the example directory fetches 30gb on rants or something pure by connecting everything. The reachable rants is a sickload.
  • 0
    @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.
Add Comment