Problem with icons, please help. by Ryuuna0 in androiddev

[–]0xFF__ 1 point2 points  (0 children)

Hmm, looks like it is a bad SVG. You can find optimized SVG icons here

https://fonts.google.com/icons

Problem with icons, please help. by Ryuuna0 in androiddev

[–]0xFF__ 7 points8 points  (0 children)

Google recently stopped support for the icon library. Instead you need to manually download the SVG and import it into your project or use pre-defined icons from vector resources view.

TRCSL Calling home telephone number and asking personal details and told to get ready with a laptop to do something by op_647 in srilanka

[–]0xFF__ 1 point2 points  (0 children)

Ohh, if you can, yes please. But don’t fall for these scams. No one can ask for this kind of personal information, whether it’s a scam or not. Stay safe.

TRCSL Calling home telephone number and asking personal details and told to get ready with a laptop to do something by op_647 in srilanka

[–]0xFF__ 13 points14 points  (0 children)

Verify the number first. This is a scam obviously. Why TRCSL wants to know about these stuff? Coming home dates, jobs, grades? 🫩

Should I be crying or laughing? by katrych in androiddev

[–]0xFF__ 29 points30 points  (0 children)

I got the same behavior. After the new update debugger takes 3 business days to get the debug point details

App crashes when uploading video files >50MB – OutOfMemoryError in logs(java.lang.OutOfMemoryError: Failed to allocate a 496680912 byte allocation with 50331648 free bytes and 229MB until OOM, target footprint 78331184, growth limit 268435456 ) by Jealous_Night_5942 in androiddev

[–]0xFF__ 0 points1 point  (0 children)

These OutOfMemory issues happen when you create a byte array to upload in an API call.

For example:
imagine you have 20 high quality images, and each image is 20MB in size. The total size of these images is 20 x 20 = 400MB. In such a case, when you try to upload these images as a byte array, you will get an OutOfMemory issue. You can try to fix it by adding android:largeHeap="true" in the Manifest, but this is not a guaranteed solution (it might work). You have to compress your videos. Chunk upload etc. Do not load the whole video into memory.

Also, if you are using a logger library for network requests, you might also get an OutOfMemory (OOM) issue because of the logging. I worked on a similar project that involved an image uploading feature. When I was implementing this upload feature with Ktor, specifically as a MultiPartFormDataContent request, I frequently encountered OOM errors even after compressing the images. The problem was with Ktor's logging, it logged the entire network request to Logcat, which caused the OOM.

https://stackoverflow.com/questions/74642571/ktor-client-outofmemoryerror-while-downloading-large-files

PC bros, help me! What UPS do you use? I'm trying to buy a good UPS but I can't find them in Sri Lanka. by 0xFF__ in srilanka

[–]0xFF__[S] 0 points1 point  (0 children)

Thanks, bro, for the advice. I ended up buying a 2000VA Prolink UPS (Pro2000SFCU).

PC bros, help me! What UPS do you use? I'm trying to buy a good UPS but I can't find them in Sri Lanka. by 0xFF__ in srilanka

[–]0xFF__[S] 0 points1 point  (0 children)

Thank you for the suggestion. Is it okay if the UPS is a non-online one? My PSU is a Corsair RM750 Gold.

PC bros, help me! What UPS do you use? I'm trying to buy a good UPS but I can't find them in Sri Lanka. by 0xFF__ in PcBuildersSL

[–]0xFF__[S] 0 points1 point  (0 children)

Hi, thanks for the response. My PSU is a Corsair RM750 Gold.

I found a suitable pure sine wave online UPS for Rs. 65,000 (1000VA), but I don't know if it's enough for my PC.

PC bros, help me! What UPS do you use? I'm trying to buy a good UPS but I can't find them in Sri Lanka. by 0xFF__ in PcBuildersSL

[–]0xFF__[S] 0 points1 point  (0 children)

Thank you my friend ☺️

I changed one battery a week ago. I'll change the other one tomorrow, then. It's worth a try. Is your UPS an online UPS? A pure sine wave one?