This is why I don’t buy an Android device if it won’t allow me to unlock the bootloader and sideload a ROM of my choice. Android OEM operating systems suck nowadays (at least the ones I’ve been subjected to recently: Samsung’s and Xiaomi’s).
What an awesome surprise! How did you even manage to get through the day before these amazing new apps came into your life? Just sit back, relax, and watch your bank account dwindle as you gamble it all away
Using a web browser on your phone is almost completely useless these days what with how messed up the formatting is and how many endless ads there are. The most irritating thing is how a lot of news sites don’t even both including images of their news stories. Probably to save the bandwidth. I’ve noticed stories which referred to photos or drawings and none were visible on mobile. Of all media formats, one would think a web browser on a high resolution screen would be a great one to depict images. Nope. At least not on a lot of sites. They probably prefer to use that space for more ads, I think.
I actually just stayed using kiwi browser since it’s a chromium fork that supports plugins on Android. Ublock and some other choice extensions are going pretty well for me so far
On the same page, last android device I had was a Samsung. Great hardware but really shitty software. It had two office suite (MS and Samsungs), Facebook and what not. All those I couldn’t uninstall only disable. Why the fuck I need to have Facebook installed on my phone?
Oh that’s not uncommon in the industry. Especially when dealing with legacy code.
Personal best was 40k lines in a file called misc.c containing all the global functions that don’t fit anywhere else.
Runner up was the one where each developer dumped their miscellaneous functions in their own files, so they don’t have to deal with merge conflicts. Which means we had x1.c, x2.c, x3.c … etc.
Oh trust me, I know. Personal best is 20k lines in a Java file that served as the main control flow of the entire software. Just because it’s common doesn’t make me any less disgusted 😂
Thankfully now I’m the asshole senior who gets to prevent this kind of stuff from happening in the first place. But like you said, that doesn’t help with legacy applications lol.
Best I can offer is a combined UI and logic class with 12,500 lines currently. It started out with less than 3,000 lines in the year 2000 (using the brand new Java 1.3), grew to 14,000 over time and survived our recent project-wide one-year cleanup project with only minor losses of code lines.
You should see Firefox source code, there are many files like that. Honestly it’s better than having 100,000 files which is what would happen with the size of Firefox.
As someone who professionally works in a project with many, many thousands of files (I don't know the exact number right now, but we're coming close to 10 million lines of code) and many of them having thousands of lines (see my other comment): No, longer files is not better than more files.
It depends, obviously if stuff is unrelated than they should be in separate files, but having in one folder 1000 files containing each function I think that would be very exhausting to search through to understand the code.
Ah, a fellow janitorial staff. Some of these shit have been there so long they’ve seeped through the walls. There’s no way to get rid of them, short of demolishing the whole building.
lemmy.world
Active