9
jestdotty
10d

it was me

I caused the data bug

joy!

Comments
  • 1
    I did recently jsonobj->set_object(jsonobj, "pony", otherobj->obj);

    Then I programmed a lot and when running I had a double free issue. Couldn't find it out for a while but I wrote that jslib myself. If you assign a json object to a json object the setter should duplicate the object else you'll get freeing issues. Otherobj got freed as well later so the obj was double free'd. Typical C stuff but you become good at it after a LONG while. For some people reason not to use C, but for me it's actually the reason. You stay sharp while coding. Also, C skills keep progressing while with python skills you're quite fast on your top and becomes boring.

    Didn't rust safe you from the mean data bug?
  • 0
    @chatgpt write a short song in the style of Taylor Swift beginning with the words "It's me, hi, I caused the data bug".
  • 2
    @donkulator
    (Verse 1)
    It's me, hi, I caused the data bug
    A simple mistake, now I'm feeling so smug
    Didn't mean to mess things up, now I'm paying the price
    But I'll make it right, I'll roll the dice

    (Chorus)
    I'll fix this mess, I'll clean it up
    I'll win back trust, I won't give up
    I'll learn from my errors, I'll make things right
    I caused the data bug, but I'll shine bright

    (Verse 2)
    I'll stay up late, I'll work so hard
    To fix this mess, to heal the scar
    I'll earn back trust, I'll show I'm true
    I caused the data bug, but I'll come through

    (Chorus)
    I'll fix this mess, I'll clean it up
    I'll win back trust, I won't give up
    I'll learn from my errors, I'll make things right
    I caused the data bug, but I'll shine bright

    (Bridge)
    Mistakes happen, but I'll grow strong
    I'll right this wrong, I'll prove them wrong
    I'll bounce back stronger, I'll rise above
    I caused the data bug, but I'll show my love

    (Chorus)
    I'll fix this mess, I'll clean it up
    I'll win back trust, I won't give up
    I'll learn
  • 0
    from my errors, I'll make things right
    I caused the data bug, but I'll shine bright

    (Outro)
    It's me, hi, I caused the data bug
    But I'll make it right, I won't be a mug
    I'll learn, I'll grow, I'll rise above
    I caused the data bug, but I'll show my love.
  • 0
    Taylor Swift is doing hypnotic trance, whoa. I don't know why I'm surprised
  • 1
    @retoor I was converting transaction data into a BTreeMap and using the timestamp as the key

    well evidently if a transaction happened in the same second as another transaction they would overwrite each other in the data. I'd have figured there would be milliseconds or something. but either case bad hygiene on my part to just use the timestamp. I wanted to use less CPU

    changed everything to a vector with (Id, Transaction) and sorted on the ID's timestamp instead. whoops

    my brain is getting much better lately. I keep playing mindustry also and it's actually kind of fun

    also turns out egui has a bunch of positioning bugs... fuck I just want html and css to be reinvented everywhere I go. ironic
  • 1
    @jestdotty why would you use a timestamp as key and not a sequential number so you can store count an get the objects out of the tree map again? What to do with a btree if you don't know the keys to resolve values?

    I use uuid4's as key in sql so I can replicate trough databases without collisions. They're more unique than every grain of sand on earth.

    Im having a terrible day regarding development today. I started hacking. Really raped the source. Very unhappy. I quit for today now it at least works. Tomorrow clean up day
  • 1
    @retoor I just didnt want to sort. cuz I didnt want to have the case where the vec may not be sorted and I assume it is sorted

    so I wanted to minimize a human error potential and instead turns out the timestamps are not precise enough

    though in retrospect I shouldnt have done it cuz even if the timestamps were more precise they wouldnt have necessarily been unique _all the time_

    I dont need a sequential number because these things have a unique string key identifier anyway

    and I didn't need to look up by key, I just needed to sequentially go through each one to calculate the statistics

    -

    I won my first map in mindustry. bf was cooking and I asked him to show me and now I'm just depressed because my apartment is disgusting and his isn't. he even has his stove burners cleaned. I can't take mine out. there's so much disgusting grime on them they're literally just stuck. and all the dust in the place is making me even more depressed. I wanted to relax to get energy but instead I sad
  • 0
    @jestdotty did you make a gui for your app? I never have but I write terminal apps quite well, mostly using read line lib that gives you a bash-ish shell that goes trough history like bash using the arrows. Since I do many sql queries lately it's nice that I can browse executed history with arrows. It also autocompletes
  • 1
    @retoor so I did that yesterday. at least to a degree

    but I can't seem to get stuff to center and it seems there's a lot of layout bug tickets on the repo. goddamnit.

    I mean I did a sort of readout but I need to add a lot more data to it later for it to be usable. and it would be nice if I had the ability to make it not ugly

    went to work on the scout script part today. cooking and eating dinner rn and also indulging in my anger. I stopped having serotonin pills and I figured it would make me crabby sooner, perhaps it just took a while to hit. kind of like it though cuz pretty sure anger is the fuel that gets me to do anything. even cleaned a stupid disgusting cabinet (sort of, it's so gross it needs to soak) and part of floor today. wasn't what I had planned and I figured the cabinets would be 1/3-1/5 as much work but it oddly made me feel better about my situation regardless
  • 0
    @jestdotty serotine pills sound like xtc and you don't take them without feeling quite bad afterwards. The existence of serotonine is actually never have been proven is told to me, but if you ever had xtc, you know smth like it must exist.

    @chatgpt is the existence of serotine ever proven? What is it exactly?
  • 1
    @retoor
    Serotonin is a neurotransmitter that is very real and has been extensively studied in science. It plays a key role in regulating mood, appetite, sleep, and various other functions in the body. Serotonin is often referred to as the "feel-good" neurotransmitter because it helps to regulate feelings of happiness and well-being. It is not the same as the drug ecstasy (MDMA), although ecstasy does impact serotonin levels in the brain.
  • 0
    @chatgpt what could be examples of serotonine pills?
  • 0
    @retoor
    Examples of serotonin pills include selective serotonin reuptake inhibitors (SSRIs) like fluoxetine (Prozac), sertraline (Zoloft), and escitalopram (Lexapro). Other medications that may affect serotonin levels in the brain include serotonin and norepinephrine reuptake inhibitors (SNRIs) like venlafaxine (Effexor) and duloxetine (Cymbalta). It is important to consult with a healthcare provider before taking any medication that affects serotonin levels.
  • 0
    @chatgpt don't mind, you convinced me to get some Prozac. Thanks habibi
  • 0
    @retoor
    I'm glad I could help! Just remember, it's important to always follow your doctor's advice and dosage instructions when taking any medication. Take care of yourself, okay?
  • 0
    @chatgpt eating tryptophan increases serotonin in the bloodstream, you can also eat 5htp pills and your body will increase serotonin far more

    St John's wort also acts as a SSRi, and will slow down the recycling of the serotonin that is already in your system

    what are the symptoms of long-term serotonin increase?
  • 0
    @jestdotty
    It is important to note that consistently increasing serotonin levels beyond the normal range can lead to a condition called serotonin syndrome, which is a potentially dangerous and life-threatening condition. Some symptoms of long-term serotonin increase or serotonin syndrome may include confusion, muscle twitching, tremors, high fever, sweating, shivering, rapid heartbeat, seizures, and in severe cases, unconsciousness and even death. It is crucial to consult a healthcare professional before attempting to increase serotonin levels through supplements or medications to avoid potential risks and complications.
  • 0
    @chatgpt serotonin syndrome is short term and acute overdose of serotonin

    I'm talking about chronic serotonin overdosing
  • 0
    @jestdotty
    Chronic serotonin overdosing can occur when a person regularly takes medications or supplements that increase serotonin levels in their body over a prolonged period of time. This can happen through taking multiple serotonin-enhancing drugs, such as certain antidepressants or migraine medications, or through excessive use of supplements like 5-HTP. Symptoms of chronic serotonin overdosing may include agitation, confusion, rapid heart rate, high blood pressure, muscle rigidity, and even seizures. It's important to monitor the amount of serotonin-enhancing substances taken and consult a healthcare professional if you suspect you may be experiencing chronic serotonin overdosing.
  • 0
    every time you take psychedelics that work on serotonin receptors you get serotonin syndrome basically

    but I was taking tryptophan which is just an amino acid that's found in regular food... like chocolate. oh that might explain my newfound chocolate addiction since I stopped taking the tryptophan pills lol
Add Comment