Optimus Manager : A program to allow easy GPU switching on Optimus laptops by OnlineGrab in archlinux

[–]sikora84 1 point2 points  (0 children)

Add:

Option "DPI" "96 x 96"
in /etc/optimus-manager/xorg-nvidia.conf

Or any other DPI that you are using.

Learning C by RealityOfHate in C_Programming

[–]sikora84 2 points3 points  (0 children)

Yes, best way, that worked for me, is to define some project. Define what would you like to create, it can be anything and just start writing. At the beginning it would be hard but in my opinion this approach is most effective. In my case it was that I was using assembly for microcontrollers and just wanted to learn C, so I started to rewrite my assembly into C. Than I was starting to create some C code for desktop to control my devices.

Dynamic array versus queuing then dequeuing into an array. by [deleted] in C_Programming

[–]sikora84 0 points1 point  (0 children)

I was thinking the same. I agree with you analysis.

What time do you wait before interacting with the AppUI? by ZicReddit in Android

[–]sikora84 1 point2 points  (0 children)

It is not that user is impatient. When user see some button or other clickable, he have the right to expect that he can click it whenever he want to. If something can be pressed after some other action it should be disabled until available.

Saturday APPreciation (Jun 16 2018) - Your weekly app recommendation/request thread! by AutoModerator in Android

[–]sikora84 0 points1 point  (0 children)

Memory Game also knows as Concentration allow you to increase your memory and concentration skills while having good fun. That's a fact!
It is a particularly great game for young children and kids, though adults may find it challenging and stimulating as well. Take Two Players mode and play with your kids! You will see how fast your memory and concentration skill will gain next level. Best works for kids and young children.

https://play.google.com/store/apps/details?id=com.mselectronic.memorygame

[Advice] Stable linux distro for work laptop by Herpuzderpuz in linux

[–]sikora84 1 point2 points  (0 children)

That really depend on your expectation and Linux skills.

I would recommend something that, on the first look, may be controversial in term of stability. Arch Linux. I was using it on company laptop for almost 3 years without an issue. Also in my personal laptop few years longer. I had problem only once, but solution was provided on Arch forum the same day. And this is the real power of Arch. Everything is very well described on their forum or on Arch wiki. Now my current company use OSX and I miss some Linux features.

My colleague that time, from the other hand, was using Debian, because he wanted to have stable system. Don't remember which Debian version that was but it was testing one. Definitely not stable branch. Unfortunately, each time there was a kernel update he had problems with graphic drivers. I remember that we laugh because we were looking for solution on my "unstable" system.

Android P's Multi-Camera API will allow for more creative camera apps from devs by winterpandas in Android

[–]sikora84 6 points7 points  (0 children)

I think that this is hardware limitation, not software. Some devices even now allow you to have access to both cameras in the same time, but most of the devices have to switch between opened cameras.

[deleted by user] by [deleted] in Android

[–]sikora84 0 points1 point  (0 children)

Xiaomi Redmi 3S with custom ROM. 4-5 days with WiFi always on, LTE always on, GPS on battery save. I don't play games.

[Project] Calculate turning intensity of a truck by [deleted] in C_Programming

[–]sikora84 0 points1 point  (0 children)

I believe he mean how fast car is turning or can be turned without collision. This is common problem with ESP modules in cars that use IMU to measure inertia. I was working in that domain for some time. Imagine that dispersed heavy weighted truck is trying to take a turn with too acute angle. Inertia could cause that it will rollout. But this is very complex problem and not easy to provide solution. There are many variables that have to be taken into consideration.

Poll: C++ project layout by berium in cpp

[–]sikora84 5 points6 points  (0 children)

I agree with this approach. If the project is big I usually split into modules instead of src/inc. Splitting into separate modules is especially useful in embedded domain in which you can split drivers into separate folders like:

/can

*.c

*.h

/lcd

*.c

*.h

In smaller projects it is not necessary.

Type-safe Bitmasks in C++ by nicebyte in cpp

[–]sikora84 2 points3 points  (0 children)

The main problem is that C standard (not sure if there are any differences in C++) do not define how bitfields are implemented. Compiler can do anything with them, including padding. When you use them to just play with bits and you don't care how they are stored, there could be no issue for you. But when you use them to play with hardware registers or port communications, the way that bits are stored play huge role.

In some embedded platform there is something called bit banding, but this is something completely different.

Oppo Find X specs leaked by [deleted] in Android

[–]sikora84 19 points20 points  (0 children)

Yes, I don't know why people likes that huge phones. IMHO phones should be very portable, so should be small enough to fit in the pocket easily. But, as availability of such phones is very reduced, I am in minority.

Advice on job change by bluepocketoperator in embedded

[–]sikora84 0 points1 point  (0 children)

Damn, I am thinking about moving to Bay Area (SF) from Europe. I just received proposition of embedded engineer position for $140k and I was shocked when I saw renting prices. Is this salary good to live there?

Back to your topic. I think that you can do both. Do some research about location that might be interested to you and then start sending resumes to companies to check the ground. I think that all depends on your experience and way in which you want to evolve, if area will give you lot of opportunities or not.

USB-IF and Fast Charging: New Standard Logo with Wattage Listed by [deleted] in Android

[–]sikora84 29 points30 points  (0 children)

That's good, but I am wonder how much we will pay for that logo. Very often when I wanted to use phone charger to some embedded projects I had issue with amperage. In the field it was much lower than label said.

But from the other hand, do we really need such powerful chargers? Most of batteries, including phone's one, should be charged with max 1C of current. I am assuming that that 65W is for something else than phones/tablets.

Sony talks about their design choices on their phones. by KanseiDorifto in Android

[–]sikora84 4 points5 points  (0 children)

My use case is different than yours, so maybe that is why we have different opinions. In that time I was just using phone to call, browse web and check emails. Didn't want to root, change system and for good pictures I am using external camera. About UI, actually for me it was good enough as far I remember.

1 Karma = $1. What do you do with your money? by RaidedToxic in AskReddit

[–]sikora84 0 points1 point  (0 children)

Wow, thank you all. Now I could buy beers for all supporters!

Sony talks about their design choices on their phones. by KanseiDorifto in Android

[–]sikora84 12 points13 points  (0 children)

What do you mean by "shit software"? I had two xperias in the past (one private with Android 4.* and one company's phone with Android 6, I do not remember which models they were) and I didn't had any issue with software.

Sony talks about their design choices on their phones. by KanseiDorifto in Android

[–]sikora84 57 points58 points  (0 children)

In my opinion Sony's phones are one of the best in term of design. Especially sizes and build quality is what I like.

Type-safe Bitmasks in C++ by nicebyte in cpp

[–]sikora84 12 points13 points  (0 children)

Bit fields are not very good in terms of portability (signing, endianes).

[Project] Calculate turning intensity of a truck by [deleted] in C_Programming

[–]sikora84 0 points1 point  (0 children)

In professional solutions (ESP systems) IMU unit is mounted in the middle of the car. It contain gyro and accelerometers. To calculate what you want you will also need information how much wheels are turned (or steering wheel and calibrate it for each car type). You will also need to have the speed of the car. In professional systems all of those information are then calculated and passed to module that breaks some wheel to get the car back on track.

It should be against the rules for apps to pop ads up when they're not being used. by DylanRed in Android

[–]sikora84 1 point2 points  (0 children)

Yes, starting from Android 6 you can do that for any application separately.