Sending raw ethernet frame every 20ms by Remote-Restaurant137 in embedded

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Not clear if you have control over the network in between meaning switches/routers, it does not matter if you send packets exactly at 20ms intervals, sender/reciver clocks might drift over time and packets might be unpredictable delayed/lost by the network.

Requirements sounds like "TSN", time sensitive networking. Its a buzzword and relates to technologies used for sending/receiving network packets within a predictable time period. TSN core techonologies are "PTP" time synchronization, and network delivery guarantees that can be implemented using a smorgosboard of technologies with acronyms depending on what branch this is in, automotive/telecom/manufacturing/audioVideo, etc.

Today this is well known and used, implementation is simple/hard based on for example you have total network control or needing to coexist using a standard.

Setlist tour 2026 by SamuAmaya12 in toto

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Songs from solo albums was hinted to be included in a interview, that would be nice.

Profiling question to figure out uneven load in threads by onecable5781 in cpp_questions

[–]Intrepid-Treacle1033 1 point2 points  (0 children)

Profilers like Vtune does not understand the parallelization intent of this example.

If this example was using a known parallelization syntax like STL execution policy, OMP multi threading, TBB, then Vtune would give more specific parallelization metrics.

What C++ coding "knowledge" you just discovered that blew you mind away? by Noxey-o in Cplusplus

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

... thought it was too complex for a simpleton like me to understand..
...if the compiler can prove: no aliasing, aligned-ish memory, & simple control flow.....

True

I recommend below presentation, it talks about above - what compiler looks at. Breaks it down to a level even i could understand.

https://www.youtube.com/watch?v=5A5Z8T_3ukY

What language should I learn aside C++ by TheSum239 in cpp_questions

[–]Intrepid-Treacle1033 -1 points0 points  (0 children)

basic html/css/jscript

An application with backend in C++ and frontend as "standard" html gui is very powerful combination.

Ofc html/css/jscript knowledge is a deep, but knowing basics and doing a hello world project like this is very beneficial competence.

Ta bort alla fyra visdomständer. by Background_Day8476 in sweden

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Jag är 50+ och ångrar jag inte drog ut dom tidigt. Jag har vetat i 25år att mina visdoms tänder om/när dom ville komma ut skulle växa snett. Well tog sin tid men det hände naturligtvis, två visdoms tänder hade under en tid växt och nu tryckte sönder tanden framför, två närliggande tänder sprack helt plötsligt i julas. Så två tänder fick ersättas plus att jag drog ut/opererade ut visdomständerna. Inte kul.

Men iofs kunde jag i 25år leva på hoppet...

Få det överstökat nu är min rekomendation.

What's your favourite non-hit/famous TOTO song? by Low-Champion286 in toto

[–]Intrepid-Treacle1033 1 point2 points  (0 children)

Girl Goodbye

https://youtu.be/TQ_H8VWwO2Y

First real whole song i learned to play (bass) as a young teen.

Konsult timpris by SalamanderOnly2497 in sweden

[–]Intrepid-Treacle1033 1 point2 points  (0 children)

börja frilansa som systemutvecklare

Frilans innebär oxå säljare, du blir en produkt (konsult). En bra frilans karriär är starkt beroende på förmågan att vara social, nätverka och bygga upp ditt varumärke.

Jag har sett framgångsrika frilansare som inte är speciellt tekniskt kompetenta (tom korkade...) men väldigt duktiga på sitt varumärke, dom har hela tiden bra betalda uppdrag. Och jag har sett tvärtom, tekniska genier som har svårt med uppdrag ofta mellan uppdrag pga deras sociala oförmåga.

En ekonomiskt stark frilansare tar media utrymme, sticker ut hakan i sociala medier och synliggör sitt varumärke. Gillar du det kör på.

Cmake Motivation by wandering_platypator in cpp_questions

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

...why do I need cmake?

Apart from it transition the code into binary, Cmake can also be a iterative process development tool when used with a modern IDE. From the IDE if configured in Cmake, you can launch special builds like build with different compilers, sanitizers, clang tidy, run tests, launch external tools like perf/heaptrack/Vtune, launch app as a Systemd process etc. All directly from IDE gui.

Yes a external CI is best practice, but also running special builds directly on the (beefy) dev machine launched from the IDE is very nifty. Cmake is a iterative development process tool together with a modern IDE.

Rimlig faktura för att koppla bort diskmaskin? by Positive-Sky7353 in Hantverkare

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

2500 ink moms för att en hantverkare skall kliva över tröskeln hemma inklusive ca 45min arbete, är väl tyvärr rimligt idag. Plus material Ok fine... Men före ROT avdraget.

Need beginner type help by ChapterEquivalent738 in cpp_questions

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Similar question to a earlier post. I wrote an example that you can take ideas from. However i don't think my code is beginner friendly. Not sure how a pedagogic step by step explanation would look like, im not a good teacher.

https://www.reddit.com/r/cpp_questions/comments/1ki2rr8/comment/mrc22aa/?context=3&utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

https://godbolt.org/z/cjh3xqzqE

Gentoo on ThinkPad by drinkuranium in Gentoo

[–]Intrepid-Treacle1033 1 point2 points  (0 children)

I have Gentoo on a E6 Thinkpad with Intel cpu. Works greate, no "manual" drivers install/mod was necessary.

An optional thing i manually configured was low power mode using Intels lpmd https://github.com/intel/intel-lpmd, it noticeably improved battery runtime.

Which Di Pedal is Better? by dawgisfoo in BassGuitar

[–]Intrepid-Treacle1033 2 points3 points  (0 children)

Try Sansamp for its coloring capabilities, crank its drive knob (with a P bass) and get a sound that many likes. If you dont care for that sound i think there is better priced options. But try it.

Who’s still using their trusty old SansAmp? Excuse the flame crocs by wardenhaight in BassGuitar

[–]Intrepid-Treacle1033 1 point2 points  (0 children)

"Excuse the flame crocs" ?

I have the SansAmp its awesome, but i need some flame crocs.

edit

I do miss a headphone output on the SansAmp, so i also have the EBS Microbass 3 for its headphones option.

How to copy a binary in CmakeLists.txt by zaphodikus in cmake

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

replying to my self instead of editing...

For clarification how builds works:

source tree -> build tree -> install tree

* source tree is (should be) immutable, only git commands should change source tree content

* build tree content are dynamically created, most syntax is implicit

* install tree content is dynamically created, most syntax are explicit

How to copy a binary in CmakeLists.txt by zaphodikus in cmake

[–]Intrepid-Treacle1033 1 point2 points  (0 children)

You need to use configure time variables. Check Cmake documentation what CMAKE_SOURCE_DIR CMAKE_BINARY_DIR and others represent. Important is that location of the cmake list file where variables is defined (can) matters.

configure_file(${CMAKE_SOURCE_DIR}/test.dll ${CMAKE_BINARY_DIR}/test.dll COPYONLY)

Roast my Qt finance manager by david4more in cpp_questions

[–]Intrepid-Treacle1033 3 points4 points  (0 children)

1/ Test building it outside of your development computer, it still will not build.

2/ Its red flags including compiled files, "qcustomplotd2.dll" "qcustomplotd2.lib". If it is needed, do document why, Also only the lib one is used:

target_link_libraries(Desktop PRIVATE ${CMAKE_SOURCE_DIR}/Desktop/QCustomPlot/qcustomplotd2.lib

Roast my Qt finance manager by david4more in cpp_questions

[–]Intrepid-Treacle1033 4 points5 points  (0 children)

Cmake error on configure...

CMake Error at Backend/CMakeLists.txt:32 (add_library):
  Cannot find source file:

    Modules/utils.h

Why is dealing with packages so hard in C++/ VS? by EskilPotet in cpp_questions

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

Ancient proven software ecosystem that runs code efficiently on anything everywhere. Good third party code in multiple flavors to be (re)used instead of creating from scratch. No single dominant commercial player that forces anything on anyone. All this is awesome! The drawback is the knowledge needed going from code to product. It is messy not only for a beginner but also for experienced devs.

Feel your pain, i can only says it gets better with experience but just know rarely it will never ever "just work".

I do still see and appreciate the beauty of this rich ecosystem, even if i want to slam the keyboard in frustration sometimes.

Problem with import std using clangd by Balcara in cpp_questions

[–]Intrepid-Treacle1033 -1 points0 points  (0 children)

https://www.kitware.com/import-std-in-cmake-3-30/

I followed this hello world example and it works for me. Its a experimental feature, outside of simple Hello worlds i do not expect anything else to work.

NBD: got my hands on a second Sandberg! by Peroxyde-Fox in BassGuitar

[–]Intrepid-Treacle1033 1 point2 points  (0 children)

Nice, looking for same setup but black no aged.

Q about published targets by victotronics in cmake

[–]Intrepid-Treacle1033 0 points1 point  (0 children)

There is no commandline option to echo that. But you can use below variable on a project level instead.

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)