51
Wombat
7y

Short version:

Dear devRantdairy,
today I was stupid.

The End.

Full version:

I am working on some messaging system, trying to use less as possible overhead sending data. Therefore there of course are asynchronous calls and some templating. But that's just the setting of the rant: I designed an architecture to save conversations in a database. Working with transactions in pdo I wrote a query wich in my eyes should have worked well. But the result just didn't appear in the table. So I started debugging data. Recreated the table. Rewrote the query. Went to bed. Woke up. Further tryed to make this work. And in the end I realized I just forgot to commit the transaction.

How dumb can you be? There's way too much time gone for that mistake. Is there a hole? I want do dig myself.

Comments
  • 4
    Nice way of starting the rant 😁
  • 4
    @AlexDeLarge thanks for the kind words. It was the first time I have made this particular mistake. I hope you never will read a second rant about it. 😅 You probably will change your mind.
  • 3
    @AlexDeLarge The inspiration for the TLDR was your rant.
  • 1
    @AlexDeLarge You literally translated "Den Wald vor lauter Bäumen nicht sehen", wow
  • 1
    @AlexDeLarge Translated sayings always seem weird to me. Also, I've never seen this saying being used in English.
  • 1
    My dear mr singingclub. 🙊
  • 1
    Holla, the forestfairy.
  • 1
    @AlexDeLarge when I saw the first results of the election, I was like 'There the dog in hell goes mad' 😕🔫
  • 1
    I’m guilty of these problems too. Instead of taking one step back I take a big step forward and sometimes I even question functions, methods and tools that have been around for ages! I always feel so fucking stupid afterwards
Add Comment