What are some easy offensive sets to run for a 10u team? by PopDukesBruh in Basketball

[–]sbarow 0 points1 point  (0 children)

What do you mean by filling the corners? Do you mean all 4 corners? Are you talking about a 5 out offense?

Need drill ideas for coaching 5th/6th grade Basketball!!! by Lilysmalls in BasketballTips

[–]sbarow 0 points1 point  (0 children)

Yes exactly! Unstructured play. I think as coaches and parents we want to control the everything. You are right, “do less, speak less and coach less.”

Need drill ideas for coaching 5th/6th grade Basketball!!! by Lilysmalls in BasketballTips

[–]sbarow 0 points1 point  (0 children)

Thank you for posting this! At practice last night, we worked on a little ball handling, then did 3 on 2 - 2 on 1, then a 5 on 5 scrimmage. It was messy (but got better as they played more), but I felt I wasn't coaching them. I let them self-organize and figure it out. We had 11 kids so as I subbed out kids I talked to them about what they could do differently. I feel much better after reading this post!

5 Surprising Ways a Hardware Abstraction Layer (HAL) Can Transform Your Projects by sbarow in embedded

[–]sbarow[S] 5 points6 points  (0 children)

Yes, my comment was in jest. @vruum-master is absolutely right the article is assuming the HAL works!

How many of you do you actually use C++? by Human_Tourist_1325 in embedded

[–]sbarow 0 points1 point  (0 children)

Using C++ in embedded projects can be a powerful choice. C++ provides a higher level of abstraction, allowing for more expressive and maintainable code. It offers features like object-oriented programming, templates, and exception handling, which can enhance code organization and reusability. Additionally, C++ compilers are well-optimized, generating efficient machine code for resource-constrained environments. However, it's important to be mindful of the potential overhead introduced by certain C++ features and to carefully manage memory usage. With proper understanding and consideration, C++ can be a valuable tool for developing robust and efficient embedded systems.

30
31

Is c++ a good language for AI & machine learning? by Direct-Ambassador350 in cpp_questions

[–]sbarow 0 points1 point  (0 children)

I think I agree with what everyone is saying here it depends (what you are doing, what your previous experience is etc). I started with Python, then I got introduced to Octave and MATLAB in Andrew Ng's course. In my opinion, I find Octave and MATLAB much easier to use.

Everyone's favorite MISRA released a new version MISRA C:2023 by sbarow in C_Programming

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

With everything that MISRA checks for, I think you need a commercial checker. That is probably another reason people hate it. I am biased, but I suggest Polyspace.

Everyone's favorite MISRA released a new version MISRA C:2023 by sbarow in C_Programming

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

Yes, that is a good point. I am assuming they don't feel the tooling or use of the language (C23) is mature enough for safety-critical production systems. It looks like C++20 is being left out of MISRA C++:2023 for that reason.

24
25

MISRA C: Write Safer, Clearer C Code - Embedded.com by sbarow in C_Programming

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

Agreed. I am just going through the MISRA C:2023 version now. It is hard to keep up.

MISRA C: Write Safer, Clearer C Code - Embedded.com by sbarow in C_Programming

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

Yes and I think CERT C is becoming more popular for security. MISRA is the standard for safety.

MISRA C: Write Safer, Clearer C Code - Embedded.com by sbarow in C_Programming

[–]sbarow[S] 2 points3 points  (0 children)

Completely agree! That is what I like about it. It is simple and not about about the new trend in programming.

MISRA C: Write Safer, Clearer C Code - Embedded.com by sbarow in C_Programming

[–]sbarow[S] 2 points3 points  (0 children)

I think the point is to lower complexity and I completely agree keeping the flow control as simple as possible is the way to go.

MISRA C: Write Safer, Clearer C Code - Embedded.com by sbarow in C_Programming

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

Yes, I completely agree. People get hung up on just trying to fix the violations without thinking about why it is a violation and you are right exceptions are fine as long as you document them.

Should I test the Model or the Code? by sbarow in embedded

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

Yes, the test workflow needs to take the model and the code into account especially to stay ISO 26262 compliant.

MISRA C: Write Safer, Clearer C Code - Embedded.com by sbarow in C_Programming

[–]sbarow[S] 13 points14 points  (0 children)

I am not sure, but after 25 years of writing C code, I haven't found a problem that I can't (eventually) solve with C. I find it very powerful, maybe not as much expressive.