• 0 Posts
  • 183 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle




  • That’s what I’ve been calling it for years, funnily. Like, I don’t practice meditation in general, but just letting time pass, chilling out, not focusing on anything to get into a state of mind that lets time flow faster, to me, has always been meditation.

    I’m kinda laughing reading about this whole “raw dogging” thing. What a ridiculously macho way of talking about it.

    I suppose they could call it “sitting to attention”, maybe? Like a palace guard you know? If they wanted to sound more macho without actually sounding like a creep.








  • I left Monday last week after a crash had occurred in prod. Had happened during the weekend because of a colleague fumbling on the Friday. Noticed it Monday morning. Notified the boss who didn’t care much and left for his afternoon off anyway, trusting me to do what i could. Which I did. Stabilised the bleeding, explained others what they had done and what to do, how to mitigate, how to temporise till I was back, then fucked off at 5pm sharp, for one of the best romantic weeks in years. Not a one phone call or message. I had even taken my laptop just in case they were really stuck. Nothing.

    Vive la France 🇫🇷 is what I’m saying.




  • fibojoly@sh.itjust.workstoProgrammer Humor@programming.devJSON Query Language
    link
    fedilink
    arrow-up
    33
    arrow-down
    1
    ·
    edit-2
    2 months ago

    The alternative is not super exciting though. My experience with NoSQL has been pretty shit so far. Might change this year as the company I’m at has a perfect case for migrating to NoSQL but I’ve been waiting for over a year for things to move forward…

    Also, I had a few cases where storing JSON was super appropriate : we had a form and we wanted to store the answers. It made no sense to create tables and shit, since the form itself could change over time! Having JSON was an elegant way to store the answers. Being able to actually query the JSON via Oracle SQL was like dark magic, and my instincts were all screaming at the obvious trap, but I was rather impressed by the ability.






  • JsonSchema is a way to validate some JSON. A great thing when you want to stop any sort of malformed data from coming in. Instead of wrecking your head in your code testing whether this bit here is not null, or is that string a valid boolean (I still remember that shitty piece of code they had, ugh!) or that bit is empty or that one is an actual number, or a string that can only have such and such value, well, you can formalise all this in one place, as a data file instead of code. Very convenient.

    Except when it turns out you’re using a JSON library that’s not one, not two, but six major versions behind, and the security department won’t greenlight you using anything recent because… fuck you, that’s why. And to add insult to injury, we were the Quality department. Responsible for analysing the code quality of thousands of coders, around a hundred thousand programs (mostly COBOL but also C#), of a European banking group… The JSON schema was for adding a layer of non existant security to our API. But no, let’s keep accepting shitty malformed JSON (because of course we kept receiving shitty JSON; that’s why we wanted to implement this)

    So I had to rewrite a lot of custom code to patch the bugs we found in the library, and none of the nifty tools that let you put in json and generate json schema would work for us. Heck, they even have JsonSchema to validate your JsonSchema but those wouldn’t work either, so far behind our version was.

    Fucking awesome experience. I’m glad it’s behind me.