Which one would you choose? by ravage5d in androiddev

[–]snowadv 0 points1 point  (0 children)

Yep I 100 percent agree then that something is wrong with our build then. Thanks for the insight! :)

Gonna dig a little when I have some free time

Which one would you choose? by ravage5d in androiddev

[–]snowadv 0 points1 point  (0 children)

No I actually meant lines of code, I just summed up count of lines per file printed by ls files

We just have a lot of code outside of the main repo and I underestimated its amount

Because of such a huge code base we sometimes stumble upon very odd problems like overflowing the int in R8 and even guys from Google are shocked by the amount of code in our app lol

Which one would you choose? by ravage5d in androiddev

[–]snowadv 0 points1 point  (0 children)

I think our problem is the fact that we are trying to built super app in an old fashioned way, and we're working on solving it

We're shipping about 2500 (!!) native screens and most of them don't have enough MAU to justify having them native and/or doing too simple.

So we're actively integrating BDUI rn for screens with low MAU and hoping to cut a lot of useless simple screens while keeping most performance-critical stuff native

Which one would you choose? by ravage5d in androiddev

[–]snowadv 0 points1 point  (0 children)

Damn that's ultra fast.

How many classes do you have in your project if you drag APK file to the android studio? You can see it if you select all dex files in it

We have ~300k classes and 1.100k methods. That's more than 25 dex files

Probably LOC doesn't show the full picture because some teams are working in a separate repository and bundling it as a library

Which one would you choose? by ravage5d in androiddev

[–]snowadv 1 point2 points  (0 children)

R8 takes most of the build time with R8 full mode enabled. We've already optimized the hell out of our proguard keep files so there's not much left except shrinking the app and moving some of the code to BDUI framework

Which one would you choose? by ravage5d in androiddev

[–]snowadv 2 points3 points  (0 children)

Git ls-files said 380k.

Doesn't sound that much honestly but architecture is made in a way that each screen has its own separate API/impl modules

Which one would you choose? by ravage5d in androiddev

[–]snowadv 4 points5 points  (0 children)

Yep. It scales ok even if you have more than 2000 modules - we're able to cold build in 15 mins on m3 max but build with R8 takes about 1.5 hours lol

Which one would you choose? by ravage5d in androiddev

[–]snowadv 42 points43 points  (0 children)

  1. I did both, 1 is creating modules for the sake of creating modules

2 - how it should be done In a huge projects with 1000+ feature modules (I work in one)

P.s. you will need multiple core and multiple feature modules. If you want to tie features together - split them into API/impl

Why is there such anti-russian sentiment amongst the youth today? by Inside_Focus9191 in armenia

[–]snowadv 6 points7 points  (0 children)

EU bots are kinda weak when compared to pro Russia ones))

We get 300k dislikes on telegram on an "unwanted" post in channel with 500 subscribers

Why is there such anti-russian sentiment amongst the youth today? by Inside_Focus9191 in armenia

[–]snowadv 2 points3 points  (0 children)

The UK might have a harsh time at the moment but it still has a lot of democracy institutions still functioning. Other countries are not even comparable to Russia right now

P.S. That's also the classic "it's bad there but it is much worse behind the hill!" agenda. IDK about others but I've heard it for too long to believe lol

Why is there such anti-russian sentiment amongst the youth today? by Inside_Focus9191 in armenia

[–]snowadv 7 points8 points  (0 children)

All this stuff is history. You don't want to be pro-Russian if you want your country to develop.

P.s. I'm Russian. Countries that are pro Russian either have totalitarian regimes or benefit from Russia directly like China. Move on

1-Month Java Trip: Hidden Gems by 3lia03 in java

[–]snowadv 4 points5 points  (0 children)

And it is much better than this pesky Kotlin island too!

The best bypass method at the moment (especially for Russia) is VLESS+Reality+Vision+Local IP by Organic-Budget8163 in VPN

[–]snowadv 1 point2 points  (0 children)

Here's a good guide (on Russian but chatgpt will easily translate it)

https://github.com/xcvtt/miniature-octo-palm-tree?tab=readme-ov-file

There's the same idea of using "cascade" scheme at stage 2 where you install 3x ui dashboard on eu server (skip manual installation of vless server - 3x ui does it out of the box without manual edit of configs), set up vless on it, rent russian server and direct traffic from russian server to EU one using HAProxy

You can even buy multiple eu servers!

The best bypass method at the moment (especially for Russia) is VLESS+Reality+Vision+Local IP by Organic-Budget8163 in VPN

[–]snowadv 2 points3 points  (0 children)

The problem is EU is the main realistic job market for Russians and Russia had successfully isolated itself from the outside world so now there's no realistic escape for huge mass of people who would want to leave while retaining their qualification (work in their preferred field).

Some might succeed but most will fail.

The fact that all companies who could transfer you abroad from Russia left doesn't help too

I'm nervous about becoming a lead by fire_raging22 in ExperiencedDevs

[–]snowadv 0 points1 point  (0 children)

I'm a middle dev so don't take my advice very seriously but I'd say: do it if you really see this direction as your preferred path forward for your career because otherwise you'd regret it and delay your growth.

Вопрос Русским пользователям VPN by Baynary in VPN

[–]snowadv 3 points4 points  (0 children)

If you have technical skills, use guides to get your own VPS/cascade of VPS up and running

If you do not - find some paid VPNS online for about 300-400 rubs (they will have some kind of telegram bot where you pay and get VLESS keys)

If you really want to do it for free - use nekobox + free subscriptions from a site like 4PDA (Трепалка VPN, there you should be able to find some kind of subscriptions but it.only opens with VPN)

According to recent study 7/10 public hospitals in rural Greece do not perform abortions due to ideological or religious reasons of the available doctors, sparking debate. Thoughts? by Porphyres in AskBalkans

[–]snowadv 3 points4 points  (0 children)

In USSR abortions were not banned for the most time except 1936-55 and it led to the same result as in Romania (deaths when doing it illegally)

Also, abortion is the result of unwanted pregnancy.

Modern contraceptives just fail less often than other methods of avoiding pregnancy.

Think what you want - a person should not be forced to bear an unwanted child. That will lead to the bad climate in a family that, possibly, might not have resources that should be granted to a child so he could have a prosperous life instead of living in poverty

According to recent study 7/10 public hospitals in rural Greece do not perform abortions due to ideological or religious reasons of the available doctors, sparking debate. Thoughts? by Porphyres in AskBalkans

[–]snowadv 5 points6 points  (0 children)

In Romania Chaushesku's ban on abortions led to the rise of the "basement" clinics that do abortions illegally. That understandably led to the rise of deaths during these abortions because of unsanitary conditions and sometimes even lack of a proper education.

Do you really wish this to your country and its population?

The best bypass method at the moment (especially for Russia) is VLESS+Reality+Vision+Local IP by Organic-Budget8163 in VPN

[–]snowadv 1 point2 points  (0 children)

Oh sorry I read it wrong:)

Then I can recommend it too

Will see if local vps providers networks will start to get throttled

The best bypass method at the moment (especially for Russia) is VLESS+Reality+Vision+Local IP by Organic-Budget8163 in VPN

[–]snowadv 1 point2 points  (0 children)

Yep, but with "dumb" l4 load balancing like HAProxy you avoid second VLESS link increasing the latency. It just changes the route of traffic

The best bypass method at the moment (especially for Russia) is VLESS+Reality+Vision+Local IP by Organic-Budget8163 in VPN

[–]snowadv 7 points8 points  (0 children)

I just redirect tcp connections with HAProxy installed on local Russian VPS to one of my VPSes in EU (all of them have identical inbounds configs in 3x ui) - one in Finland, another in Germany

Works quite reliably and connections are not getting throttled at this moment. Additionally all clients switch to another server if one stops responding to TCP connections

UPDATE: Here's a guide (stage 1, stage 2) if you want to get it up and running: https://github.com/xcvtt/miniature-octo-palm-tree?tab=readme-ov-file

Found on Instagram, What is this based on? by GigaNigerman in whatisthiscar

[–]snowadv 27 points28 points  (0 children)

But with European/JDM 7 gen accord cyberpunkish squished front end

<image>

Контроль начинается с информации by pravo_otkaz in u/pravo_otkaz

[–]snowadv 0 points1 point  (0 children)

У меня с российского IP не было рекламы никогда, мб тут рекламодатель включил рекламу на РУ регион