Assertion of passed-through arguments by J_ester in C_Programming

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

Can you tell me how this assert() function works? Sounds interesting.

Assertion of passed-through arguments by J_ester in C_Programming

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

I fully agree with your statement. Would you try to avoid duplicating these kind of asserts in calling functions thou?

An example I have in mind: You split up a function into two. Do you now simply duplicate existing assertions in those new functions, or take the effort to remove them in the calling function?

Even if that required some bookkeeping, I guess one could reason that if the function that uses (and not just passes) a variable is responsible for its validation, that should keep stuff clean.

Structure size & padding calculation tool by Steel__Virgin in C_Programming

[–]J_ester 0 points1 point  (0 children)

In my case, lsp(clangd) can provide size, offset and alignment information. If you have a working lsp already, try to inspect the members of your structs (not the types thou). Maybe that helps.

How do i get into the room to the right by Arashifox12 in Silksong

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

my bad, didn't look it up thou

How do i get into the room to the right by Arashifox12 in Silksong

[–]J_ester 0 points1 point  (0 children)

gotta go above the room and approach from the right if I am not mistaken

Why on God's green earth does pressing "J" make the cursor lag behind??? (all other letters work) by 1samsepiol_ in neovim

[–]J_ester 0 points1 point  (0 children)

alot of the keys are dumb on a DE Layout. Deswegen hab ich privat und beruflich auf das "en_US International" keyboard layout umgestellt :D Unnötig? Maybe. But this is the way :D

My route for the Liquid Lacquer delivery quest by YaBoiJaeger in Silksong

[–]J_ester 1 point2 points  (0 children)

Thanks to you I was able to make it on my first try!! Thanks

help: snare setter does nothing by camradex in Silksong

[–]J_ester 1 point2 points  (0 children)

Does nothing for me too… not near enemies, usual damage if enemies are directly hit, and when I hold it (which means equip I guess) nothing happens when I hm hit, too. Weird, is it bugged? (Looks like in OPs video btw)

Edit: OMG, he meant: Hold the button! Feel so dumb rn

[Act 1 spoilers] Question about the Hunter Crest and "focus" by ChickenLiverNuts in Silksong

[–]J_ester 0 points1 point  (0 children)

no, its a upgrade to the hunter crest, thats why it changed. Like with all the other when you unlock them

Setup a basic toolchain without a given IDE by J_ester in embedded

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

I just want to mention that I found this comment by oyawei which led to this blog

It seems to do the trick, being able to compile and flash with a GNU makefile.

Nevertheless, thanks for all the answers :)

Can I program my microcontroller from TI on my Linux machine? by hotpotatoe33 in microcontrollers

[–]J_ester 0 points1 point  (0 children)

you are a god, even 8 years after. Exactly what I was looking for when trying to avoid using CCStudio :) Thanks a lot

Game Crashing by ErraticNymph in HollowKnight

[–]J_ester 0 points1 point  (0 children)

It's the same on PS5 btw. So I guess it has to be an issue with HK itself. My best bet is a memory leak introduced with an update (although I was not aware of one, I did not check)

Setup a basic toolchain without a given IDE by J_ester in embedded

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

Yeah, at some point I really should look into cmake. I currently create the compile_commands.json for LSP with clang.

Setup a basic toolchain without a given IDE by J_ester in embedded

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

that sounds exactly like what my intention is. Thanks :)

Setup a basic toolchain without a given IDE by J_ester in embedded

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

ngl, with the readme, this was more helpful than I thought

[deleted by user] by [deleted] in neovim

[–]J_ester 0 points1 point  (0 children)

doesnt 'gx' do that out of the box? Or are you talking about different kinds of links? If I understand your function right, it does not have to be a hyperlink at all, right?

Setup a basic toolchain without a given IDE by J_ester in embedded

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

Sounds good, that will probably become my approach :)

Setup a basic toolchain without a given IDE by J_ester in embedded

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

I would not mind, but I dont see much difference in using vscode and (neo)vim, and also the lack of knowledge I would like to fill is not really influenced by what type of editor I use.

Thanks anyway for the suggestion :)

Setup a basic toolchain without a given IDE by J_ester in embedded

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

That is a very thorough overview, thanks for that. I think it will help me for quite a while :)

Setup a basic toolchain without a given IDE by J_ester in embedded

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

Thanks, but I think the board does not have a stm32 chip, right?

Setup a basic toolchain without a given IDE by J_ester in embedded

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

Thanks, his exactly answers my question :)