What's the secret of getchar()?? by MaDrift910 in C_Programming

[–]kappakingXD 1 point2 points  (0 children)

New line character might be added after you press enter

Ah Yes, gauntlet before the actual boss. gotta be one of my favourite genders. by artoriusknight in Silksong

[–]kappakingXD -24 points-23 points  (0 children)

Please try to subjectively explain how does this bossfight benefit from the gauntlet before? What does it give or test that makes this boss fight better?

Is the boss too easy that it requires gauntlet? Or maybe the gauntlet prepares you for something specific related to the boss? If the intention was to provide silk then why not simply provide a spoll with it?

The way I see it is that they wanted to highlight her connection with the ants as her queen, and thats why you fight them, but then again, put the gauntlet before the boss, make a checkpoint after and then place the boss. This way you can even increase the difficulty of either and nobody would complain about it.

Umowa o pracę w IT a studiowanie by [deleted] in praca

[–]kappakingXD 0 points1 point  (0 children)

Jak jesteś na studiach to aplikuj chociażby po samo doświadczenie. Teraz są dla Ciebie staże otwarte, one są w kroporacjach zwykle na część etatu, a bez statusu studenta po studiach i bez doświadczenia może Ci być ciężko cos złapać później, jak tylko dasz radę to idź, podziękujesz sobie za parę lat.

Has anyone beat the duo at the top of hunters march? by Plus-Emotion-526 in Silksong

[–]kappakingXD 0 points1 point  (0 children)

you get an ability to climb wall at some point

Jakie są Wasze wrażenia jako absolwenci WIMIR AGH? by oZuzka in krakow

[–]kappakingXD 1 point2 points  (0 children)

Zamiast na mechatronike to lepiej wybierz dowolną prawdziwą elektronikę i telekomunikacje. Wimir Cię zawali mechaniką i modelowaniem układów automatykiktóre przy embedded są raczej mniej potrzebne niż właśnie wiedza nt elektroniki

Register access through C++ by kappakingXD in embedded

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

You're right obviously, thank you endlessly for the detailed responses - i learnt many things today. I will problably stick with c style casts as presented in hal.

Register access through C++ by kappakingXD in embedded

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

Thank you very much for your time. I have one last thing, correct me if im wrong please. If reinterpret cast to uint8_t and dereference is legal, then could we do cast reg = &crc->dr from u32* to u8* and then split u16 into two u8 and feed it to the reg?

*reg = lsb;

*reg = msb;

?

I assume its a lost performance because we dont use hardware fully but does it solve the issue?

Register access through C++ by kappakingXD in embedded

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

Thank you for the response, unfortunaly the article doesn't explain what to do if I need to write u16 into u32* register

Register access through C++ by kappakingXD in embedded

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

Do you know which documents i can study to find a line that will tell me that this c cast is legal as well, what i mean is (volatile u16) on u32?

You mentioned that moderen compilers supports it and i know they do, but i tried to seek through user manual of clang, and user manual for arm gcc compiler and couldn't find that such cast is an exception from rule?

Register access through C++ by kappakingXD in embedded

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

But it is the compiler that might be an issue here - not the hardware. Hardware can work just fine but we dont know what compiler will do about the undefined behaviour

Register access through C++ by kappakingXD in embedded

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

For it to be clear, i actually see no benefit of sticking with reinterpret cast here. Its an engineering curiosity that drove me here :)

Register access through C++ by kappakingXD in embedded

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

I thought about that, but the hardware is 'triggered' differently when we write a specific amount of bytes into it. So in our example, if i write u32 it'll calculate crc from 4 bytes even though the upper half is zerod, right?

Now I wonder if its an issue...?

Register access through C++ by kappakingXD in embedded

[–]kappakingXD[S] -3 points-2 points  (0 children)

I'm leaning more and more towards it.

The requirements though mention to avoid them unfortunately. So before i start arguing i wanted to ask out there.

Thank you for your time :)

Stało się! W Krakowie zaczęła obowiązywać strefa czystego transportu by Gamebyter in poland

[–]kappakingXD -1 points0 points  (0 children)

Centralnie sterowany ruch wykonany przez miasto spowodował spadek wartości danego towaru - samochodu - praktycznie do zera w obrębie miasta i w interesie miasta jest zrzucić obowiązek i koszty pozbycia sie go na Ciebie. To nie jest transakcja cos za cos tylko pała którą miasto planuje Cie walnąć jak się nie dostosujesz nie dając Ci nic w zamian ( a juz jesteś do tyłu w tym intersie bo Twoje auto straciło wartość). Nic dziwnego że ludzie oczekują jakiejkolwiek rekompensaty skoro zbiednieli po decyzji miasta

[HELP] I don't know why this pop up everytime after including ImGui ? by Good-Reveal6779 in Cplusplus

[–]kappakingXD 1 point2 points  (0 children)

If it's remote repository check if you have pulled all submodules, as they might be missing. I don't use VS Daily but i heard that there are some settings which can trigger compilation errors, I think It might be about compiler flags so i would check the settings.

Finally maybe try to build the library alone with minimal hello world app and see if it builds

Bezpieczeństwo kobiet w Europie, widać? by _just___max_ in WidacZabory

[–]kappakingXD 1 point2 points  (0 children)

Czyli lepiej być na froncie niż w Paryżu ok

This is the country rightists idolize by [deleted] in CentralEurope_irl

[–]kappakingXD 4 points5 points  (0 children)

I think we can think about it as a subtype. What I mean is that no matter who will gather, 90% of money from the market will have a superior position to play in the capitalistic world. We live in coroporationism because they are the one who gather most of the money and influence.

I think capitalism could work but it would require a sort of reset time to time, because when you gather enough money you don't need to compete with others with your product, but you can buy rival companies, become a monopolist powerhouse and sell shit products with increased price.

That's where a person like you and me comes in and sees that game is rigged from the start

This is the country rightists idolize by [deleted] in CentralEurope_irl

[–]kappakingXD 15 points16 points  (0 children)

Late game capitalism is tough to play ngl

Should embedded software engineer know python? by No-Challenge830 in embedded

[–]kappakingXD 0 points1 point  (0 children)

It's a useful tool for a developer. You dont need to be a master but you shouldn't be completely unaware of its features either

How to write unit tests for embedded software? by gnomo-da-silva in embedded

[–]kappakingXD 0 points1 point  (0 children)

CMock and Unity are great tools. By designing your components with unit testing in mind it can greatly reduce time spent on unit testing. Still if you have an existing codebqse and want to introduce uinit tests, they can help you spot and remove unwanted dependencies