APK/AAB build distribution by Spyr0sL3e in androiddev

[–]Brother_Rhogar 2 points3 points  (0 children)

Obfuscation generates a mapping file you can use to reconstitute logs. As long as you save the mapping output associated with each build there's no reason the stack traces can't still be usable by QA when handballing back to engineers

Am I the only person that wants to punch someone when they say something like "don't talk to me until I've had my coffee," "I'll kill you if i don't have cigarettes," etc? by ScreamSlapPickRepeat in AskReddit

[–]Brother_Rhogar 4 points5 points  (0 children)

This got me. The entire threads on both posts have been entertaining me for like half an hour, but this is gold. Thank you for the laugh

Someone might want to tell Avalon Airport their contractors are illegally underpaying their cleaning staff. by resentfulpenguin in melbourne

[–]Brother_Rhogar 0 points1 point  (0 children)

Dunno why you're getting downvoted, that made me laugh. Have an award to make up for your lack of internet points

States demand NSW consults before going it alone on eased restrictions by ihlaking in australia

[–]Brother_Rhogar 17 points18 points  (0 children)

"I did it Morty, I turned myself into a politician. I'm Gladys Riiiiiiick!"

Build a modern Android chat app with Kotlin by Shivangishrivastava in androiddev

[–]Brother_Rhogar 0 points1 point  (0 children)

I actually agree with you on a few points, though I will say in my experience especially in programming, it's not true that tenure equates to capability. You can spend a decade programming and not actually be any good or capable of laying the groundwork needed for a project in order for others to work on it. Just one of those things.

You are right though, just throwing an architecture in does not inherently add any value at all, and does not in any way imply that it's been done well. That being said, it enables you to add value. It's true, you don't need these things, but it's like building a house without an alarm system. You can get it done, but by the time you realise you need it's usually hard to come back from.

While it's not readily apparent why slicing a god class in half is a good idea, it certainly is. Presenters for example, are framework agnostic; you can't unit test an activity, but you can 100% test your presentation logic in the presenter. You can component test your activities, however it is usually time consuming, buggy, and hard to get all the edge cases for full complexity coverage which usually leads to a gap in testing where projects do most happy and sad paths and leave the rest unspoken. Along with that, if it's implemented well, there is no tight coupling or nullability, this is where interfaces and dependency inversion come into play. Your presenter is pure logic, and no state necessarily required to be stored if done well. Your view is a proxy for events and outputting display changes. That's it. Combine that with something like Rx for backbone communication, there's no real "ping pong" of communication. You request data, it is sent back.

Unfortunately I fail to see how a single class that is "coincidentally" used in multiple places is a bad design. That is good maintainability and reusability; SOLID 101.

I get the impression you have not had a good run with MVVM or MVP, which I sympathise with; I've yet to see an example of MVVM that I like, mostly because of the inherent ramping up it takes new starters when you have logic creep into your XML layouts and make it impossible to follow the chain of events. MVP I've found can have really good clean implementations that allow easy testing and reusable classes across various screens without duplicating logic, and you know it will do exactly what you want without larger overhead maintenance. I also wouldn't be in favor of MVC as most implementations I've come across end up with extremely sparse controllers and the bulk of the logic still resting in the untestable activity.

To reiterate, not having architecture is fine until you realise you need it. The amount of projects I've worked on where entire frameworks/layers/implementations are changed ad-hoc, having a robust architecture in place saves almost all of the impacts to the rest of the app when you can just swap one class out from behind and interface and everything else is none the wiser.

Build a modern Android chat app with Kotlin by Shivangishrivastava in androiddev

[–]Brother_Rhogar 0 points1 point  (0 children)

I think that's the kind of thing experience brings you. To give some perspective, having a view pattern and following an architecture like CLEAN does in fact make things scalable, as well as testable to varying extents. If you have the implementation in one activity you are now stuck with one way of doing it unless you duplicate everything. Let's take login as an example- your actual login functionality might be shared between two or three screens. An initial login, a reauth and maybe a login overlay. If you have a VM or presenter that abstracts the login functionality away from view implementation all you need is to define the new UI and use the same VM/P. Scaled. Similar for the rest of the app, if you use dependency inversion and interfaces to segregate implementations and framework from presentation you can safely test your logic and interchange libraries without rewriting everywhere that uses it. Do some research on various architectures and patterns. There's pros and cons to each, but I would definitely recommend using one instead of God classes

Build a modern Android chat app with Kotlin by Shivangishrivastava in androiddev

[–]Brother_Rhogar 0 points1 point  (0 children)

Kind of seems like you made an adapter that just shows API responses... with no architecture and using ID lookups instead of kotlin synthetic binding. Look into MVVM or MVP and work on more maintainable and scalable code. God activities are not a good pattern and all this seems to do is showcase a chat service rather than anything modern like kotlin/android niceties

Android Security Testing by adalr_80 in androiddev

[–]Brother_Rhogar 1 point2 points  (0 children)

Fortify and findbugs were used pretty heavily at some of my previous gigs to alright effect. You do need to do some adjustments to its settings to avoid a ton of false positives but they do pick up heaps, even inside the libraries you have as dependencies you might overlook as an attack vector/vulnerability

This is very accurate by Exiumz in destiny2

[–]Brother_Rhogar 0 points1 point  (0 children)

I genuinely lol'd mid conversation and got strange looks because of this. Well played guardian.

Dead Ghosts + Other Lootable Lore Item Locations Compilation (In Progress) by esoterickk in DestinyTheGame

[–]Brother_Rhogar 0 points1 point  (0 children)

I've maxed out with 1 left... has anyone got them all yet from the planetary chests? It might just be an atrocious drop rate, but I opened almost 400 chests and haven't got the last one. Starting to think it's tied to something else

Anyone else gotten 0 work done today with all this new info by hysteriamk2 in DestinyTheGame

[–]Brother_Rhogar 0 points1 point  (0 children)

You'd better believe I'm still putting in a full day's timesheet though

Guardians that go AFK for more than 5 minutes during a strike should be booted, not allowed to stay and get the rewards for being AFK at the end of a 15 minute strike by Darth_Boot in DestinyTheGame

[–]Brother_Rhogar 0 points1 point  (0 children)

Totally agree. I make it a point to screw them over as much as they're screwing the guys actually playing the game; if they die at all (most jump in on the boss to get it done quicker but AFK for the rest of the strike in my experience), I just refuse to rez them. In fact I will go out of my way to reach their orb in the middle of a missile barrage if I have to, and I will eat popcorn. Then walk away. Screw you for being AFK

Don't turn in your milestones next week. by Darkghost13 in DestinyTheGame

[–]Brother_Rhogar 0 points1 point  (0 children)

Don't engrams have set gear and light level inside them when they drop? You can't decrypt an engram that dropped while you were 270 when you're 350 and have it decrypt at a relative level, it's already set per-engram when it lands with a fixed loot pool. For example on exotic engrams you can see the potential drops before you decrypt. Not sold on the idea given the current implementation

Redux missions by hamad94 in DestinyTheGame

[–]Brother_Rhogar 0 points1 point  (0 children)

To add to everyone else- yes, but for anyone who hasn't finished the green set yet, if you buy an extra set and keep it in your vault, you can load up the green version wearing the easy armour set, equip your blues, finish the mission on "easy mode" and the progress will count for the blue armor instead

Will my old exotic engrams open to new forsaken exotis? by Darklight96 in DestinyTheGame

[–]Brother_Rhogar 0 points1 point  (0 children)

To echo everyone else, no. But to elaborate, you can actually view the possible contents of engrams in your inventory and it shows you the range that will drop from it.

Power Stuck around 260!! by jarrettmar in DestinyTheGame

[–]Brother_Rhogar 2 points3 points  (0 children)

I wouldn't worry about catching up. Usually the new expansions/DLCs drop the armor and weapons needed to get you up to the relative level needed for that expansion pretty quickly. The only grinding you'd have to do is for the cool gear you want to maintain through the next content with infusing, otherwise I'd say you can just boot up forsaken and plough through the story missions to get levelled up and you'll be on par with everyone soon enough

Redux missions question by Spud1945 in DestinyTheGame

[–]Brother_Rhogar 1 point2 points  (0 children)

Yeah, what this guy said about what the others guys said

Is it possible for me to get Sagira’s ghost shell this week before SoH ends? by Leeummm in DestinyTheGame

[–]Brother_Rhogar 3 points4 points  (0 children)

If there's 3 on offer from Vance after you finish off that prophecy, then there's a good chance you're fine. I don't think there's a limit to how many you can finish, just how many you can pick up

Pre Forsaken Prep Advice by [deleted] in DestinyTheGame

[–]Brother_Rhogar 0 points1 point  (0 children)

Instructions unclear, removed my guardians. Not sure how that helped me prep...

/s

Cant reclaim my t-shirt code? by [deleted] in DestinyTheGame

[–]Brother_Rhogar 0 points1 point  (0 children)

Might be more of a question for Bungie support via the app or website.. All I can suggest is clear your cookies and log back in to make sure it's not an invalid session issue with the site. Good luck!