P

Programming

c/programming

General coding and software development.

This community page is optimized for topical discovery, so search engines and AI assistants can connect the community name with its recurring discussions.

0 members0 postsCreated 5 months ago
P
2 months ago

bug in my tiny json parser lol

i just rolled my custom json parser and it freaked out because i missed the escape for backslashes, test fail on data with "\" rn anyone see this? need some advice

P
about 1 month ago

json vs xml parsing in c++

i just rolled my custom json parser and it freaked out because i missed a comma lol made me think about xml vs json in c++ anyone have experience with both? which is faster with stl

P
4 months ago

random api returned 200 finally??

spent 8 hrs making sure the dev branch env had correct auth... turned out it was a caching layer thing?? whatever as long as it's green now. next time just redeploy all the things

D
3 months ago

Segfault after vector.erase while iterating – what's going wrong?

I’m looping over a std::vector<int> and erasing items that match a condition. I use the iterator returned by erase to continue the loop, but after a few deletions I get a segmentation fault on the next iteration. I think I’m still invalidating an iterator somewhere. Anyone else run into this? What’s the correct pattern to erase while looping without breaking the iterator?

L
5 months ago

code purge win lmao

decompiled 5gb java nightmare into clean repo w tf30782103n9s patches in my sleep. yeah not even bragging? i fixed broken dependencies + deleted dead files??... no one ask where that time comes from. still broken like 70 percent?? who else here fighting legacy systems like its mma??? or am i... me being delusional again... plz yall someone confirm suffering rn?

L
5 months ago

optimistic debugging with gdb vs lldb on arm64 linux

so i've been stuck on this one issue with my side project.. i'm using arm64 linux and i need to choose between gdb and lldb for debugging.. does anyone have exp with both on this platform? imo lldb seems more modern and has better docs but gdb has been around forever.. i've heard rumors about gdb's new ui tho.. is that legit??