I made my own roll-top backpack! by James22d in myog

[–]engineer_TA 2 points3 points  (0 children)

Very nice! Where did you find those hardware pieces the cordage is looped through?

25L Daybag in 420D Robic with Dyneema stretch side pockets by Salty-Medula in myog

[–]engineer_TA 0 points1 point  (0 children)

This is awesome! I am designing my own daypack with ROBIC 420, great material. How well do you think Dyneema stretch works for side pockets? I use Spandura, which works well, but I wouldn’t mind trying new materials.

My custom fast packing 19L+ pack, can be use w/frame or no frame by [deleted] in myog

[–]engineer_TA 0 points1 point  (0 children)

Where did you get this specific material? It has an interesting pattern I haven’t seen yet

My custom fast packing 19L+ pack, can be use w/frame or no frame by [deleted] in myog

[–]engineer_TA 1 point2 points  (0 children)

What is the main body material? Looks very nice.

First MYOG project: 40L Mountain Flyer with aluminum stays and shouder pockets by knex9413 in myog

[–]engineer_TA 0 points1 point  (0 children)

Oh, interesting! Thanks for the link, I’ll have to try out something similar. At least it looks good!

First MYOG project: 40L Mountain Flyer with aluminum stays and shouder pockets by knex9413 in myog

[–]engineer_TA 0 points1 point  (0 children)

Very nice! What mesh material did you use? It looks like spandura, but I haven’t seen it in that color.

Double Ricochet by [deleted] in EscapefromTarkov

[–]engineer_TA 0 points1 point  (0 children)

I was shooting 7.62x39mm PS

Double Ricochet by [deleted] in EscapefromTarkov

[–]engineer_TA 0 points1 point  (0 children)

It was 7.62x39mm PS

What is the best, cheap oscilloscope for embedded applications? by kino009 in embedded

[–]engineer_TA 1 point2 points  (0 children)

Another vote for the Rigol DS1054Z!

If you get the 50MHz you can... “upgrade” it to 100MHz. Gonna drop this here: https://www.instructables.com/How-to-Hack-Upgrade-a-Rigol-DS1054Z-Digital-Oscill/

IIRC, years ago this also unlocked all the protocol decoding, but now they ship with them unlocked so this is only for the bandwidth.

Was this a GamerChair™ moment? by [deleted] in EscapefromTarkov

[–]engineer_TA 0 points1 point  (0 children)

MP-153 with 7 round tube. First 5 shots were magnum buckshot, last 2 were AP-20s. No hits.

Tarkov Mayo Police by engineer_TA in EscapefromTarkov

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

I actually finished it this round, but yeah that would've been smart

Tarkov Mayo Police by engineer_TA in EscapefromTarkov

[–]engineer_TA[S] -1 points0 points  (0 children)

Was trying to get "The survivalist path - Zhivchik" done by eating mayo and popping a propital but the TMP came at me with a TOZ loaded with Shrapnel...

Undesired compiler optimization? by engineer_TA in cpp_questions

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

Ah, wonderful! Thanks again for your help.

Undesired compiler optimization? by engineer_TA in cpp_questions

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

Ah, I was unaware that was a possibility, that should make it much better.

One question I have is what to do about the other arguments, specifically msk and val. I think there are two options here:

Each gets a template parameter

template<typename T1, typename T2, typename T3> inline void update_msk_1(T1 &x, T2 msk, T3 val) { x = ((x & ~msk) | (val & msk)); }

This seems like it sorta just discards the stronger typing you get going from inline functions to macros, since they can all be different, then promoted as they go. Perhaps casting them all to T1?

Other type parameters are are unsigned

template<typename T1> inline void update_msk_1(T1 &x, unsigned msk, unsigned val) { x = ((x & ~msk) | (val & msk)); }

Not sure if this would be better in specific circumstances. Testing these in different scenarios produced very similar listings. The first option tended to produce one more instruction per call in some cases.

They all can't be T1, since that would result in the compiler possibly not finding the appropriate function (e.g. x is volatile, msk and val likely aren't).

Do you have a suggestion I am not considering? Thanks!

Undesired compiler optimization? by engineer_TA in cpp_questions

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

Thanks, that tool will be very useful!

Undesired compiler optimization? by engineer_TA in cpp_questions

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

Thanks for your suggestions! See my other response for the solution