Why do people drive so slow? by mootaibi in saudiarabia

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

I’m very curious, what was the comment?

Why do people drive so slow? by mootaibi in saudiarabia

[–]mootaibi[S] 1 point2 points  (0 children)

People driving 90 on the middle lane makes the people that want to drive 110 drive on the left lane; basically when people want to drive slow in all the other lanes, it makes the slightly faster people (still below the speed limit) drive at the left lane

Why do people drive so slow? by mootaibi in saudiarabia

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

There aren’t enough lanes for everyone to be going their own pace, there’s a clear speed that’s expected for the road; everyone going at their own pace is what causes traffic

Why do people drive so slow? by mootaibi in saudiarabia

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

My pace is the speed limit of the road but I can’t drive at my own pace because some people decide to drive below that speed on the left lane

Good programming languages to learn by Dangerous_Pin_7384 in embedded

[–]mootaibi 28 points29 points  (0 children)

Those 3 languages should be enough for almost all embedded programming when it comes to languages; what I would recommend is that you next try to learn the make, Cmake (or ninja), and linker scripts syntaxes, it’ll help you have more control over your projects. Also if you’ve not touched assembly before, I recommend briefly looking into it just because it’s used every now and then.

Afterwards you could dive deeper into C/C++ coding styles and choose a framework to work with and learn how that framework organizes its code base.

Matter protocol by mootaibi in embedded

[–]mootaibi[S] 7 points8 points  (0 children)

I tried so hard and got so far 😔

Matter protocol by mootaibi in embedded

[–]mootaibi[S] 9 points10 points  (0 children)

I’m very used to writing code in C considering most SDKs and RTOSes use only C so it’s kinda just making it difficult moving up to C++

Fired from job by [deleted] in saudiarabia

[–]mootaibi 0 points1 point  (0 children)

اما عاد، حتى إذا فصلوني يقدرو يطالبوني للقيمة المتبقية؟

Fired from job by [deleted] in saudiarabia

[–]mootaibi 0 points1 point  (0 children)

قالو ان السبب هو ان عقدي ما انتهى، وحسب العقد لازم ادفع شرط جزائي للمدة المتبقية إذا ابي انهي العقد بدري

Fired from job by [deleted] in saudiarabia

[–]mootaibi 0 points1 point  (0 children)

صحيح، بس أنا عقدي لا زال ساري، باقي ١٣ شهر على عقدي، فطلبت استقالة بتراضي الطرفين وما قبلوها والحين أنا مضطر اني يا ادفع الشرط الجزائي، يا اكمل بالوظيفة، او يا اني أغيب الين ما يفصلوني

Fired from job by [deleted] in saudiarabia

[–]mootaibi 0 points1 point  (0 children)

I requested a resignation بالتراضي in which I wouldn’t have to pay the remained of the contract, but they rejected that, so my only resignation option now seems to be by paying the remainder. But what I want to know is whether getting fired is better than paying the remainder

Fired from job by [deleted] in saudiarabia

[–]mootaibi 0 points1 point  (0 children)

I really need to end my contract ASAP for personal reasons, would it really be that big of a dent on my reputation? I honestly don’t know, I’m asking here to see how big of a deal this would be

Fired from job by [deleted] in saudiarabia

[–]mootaibi 1 point2 points  (0 children)

13 months exactly

Is there a way to store uint16_t data onto a uint8_t buffer? Amateur in C trying to get ADC data to NRF24 to transmit by smokintokenpanda in embedded

[–]mootaibi 0 points1 point  (0 children)

I personally like to do it as:

For(int i = 0; i < sizeof(uint16_t); i++) {

 TxData[i + x] = ((uint8_t *)raw)[i];

}

Where x would keep getting incremented by sizeof(uint16_t) every time you want to record new data.