Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
jestdotty5748351dAdd more logs so if it pops up keep adding more logs until you figure out what happened
-
typosaurus12232351dI used c realloc the wrong way everywhere in my programming language and it never faulted. Only if you would execute it thousands of times like in batch it COULD go wrong 😁 Found out later, never destroyed an evening 😁 And yes, the language was well tested in its own language
-
awesomeest1209351d@retoor im really curious as to how you misused it now... i also miss good ol' c
-
typosaurus12232351d@awesomeest no memset / zerofill after it so I could randomly contain a zero somewhere is my theory
-
Demolishun35075351d@retoor we had a "squishy" bug in our codebase for 6 months. I thought I had solved it by upgrading the library version. It came back later. Every time I debugged it (when I could reproduce it) it would appear in unrelated code. I finally was going through some code for a different reason and saw some funky pointer shit being done. I cannot remember exactly what the issue was, but a pointer was being used for another context which was invalidating the original context. So it was leaving a fucked up pointer behind. It would eventually time bomb later and the debugger would think it was other code causing the problem. This was the "squishy" part. It moved all over the place. In hindsight the way we reproduced it should have given me a better clue. I found out later a lot of the code I was dealing with was written in a weekend in a rush for some reason. I spent months sorting out all the issues in the code base and making it less shitty to maintain.
-
typosaurus12232351d
-
awesomeest1209351d@retoor im shit at saving/backing up my code (even worse at it being decipher-able for others... seriously, im great at writing crypto and compression algos but naturally dont even need them) but base level storage in C is one thing ive kept snippets of for over 2 decades. Im a data architecture nerd for sure... with a horribly invalid frame of reference to what is "normal". That said, i appreciate the insight.
-
NoToJavaScript4638351d@jestdotty And then you get a 5000$ bill from Azurem, becaouse you logged 5 TB of data per day withj "detailed logs".
Not viable in production. Production logs should be as minimalistics as possible. -
jestdotty5748351d@NoToJavaScript this so why I don't make myself dependent on Goliath companies that are not at all invested in my success wtf
We have strayed so far from functional. Seriously. Cloud logging services? Lol -
Demolishun35075350d@retoor what? I thought you were going to post another rant? I don't see it in your rants.
-
typosaurus12232350d@Demolishun now I'm happehh 😁 I'm happehh in general. Got an operation today. May leave the same day :) Happehh
Related Rants
How are you supposed to fix bugs in your program where:
1. it has been investigated before and was not found how to reproduce it
2. it cannot be tested at all
3. never happens on the test environment
fml
rant