💩 Shit I just heard in my office



  • "I can't deallocate memory from a C process if you kill it from the OS, we should do this in Java since it has a garbage collector".

    :headdesk:



  • Shit I've heard all day in my office....

    BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP

    Stupid broken UPS.


  • sockdevs

    I can't deallocate memory from a C process if you kill it from the OS

    I'm no C expert, but I'm pretty sure killing the process frees all memory…

    I might start a product line of ClueHammers; they'd look like Piko Hammers, but have the word 'Clue' written in large friendly letters on the sides. I could make a lot of :moneybag: just from selling them here…

    <!-- Emoji'd by MobileEmoji 0.2.0-->


  • Man, their delivery service has really gone down hill...



  • Doing it in Java has valid reasons of its own, I'm just amazed at the thought process behind what the GC does in the JVM.



  • Buying good noise-isolating earbuds and carrying them everywhere is one of the best decisions I've recently taken.



  • @Keith said:

    @loopback0 said:
    BEEEEP ....BEEEEP BEEEEP BEEEEP BEEEEP BEEEEP

    Man, their delivery service has really gone down hill...

    And, apparently, they're backing up going down that hill....



  • So backing down that hill, then? :laughing:



  • @loopback0 said:

    So backing down that hill, then? :laughing:

    You're triggering a repressed memory of some really awful song...

    Plz no.


  • sockdevs

    @RaceProUK said:

    I might start a product line of ClueHammers;

    i'll buy one. Serial number 1 please.

    :-P


  • sockdevs

    @accalia said:

    i'll buy one. Serial number 1 please.

    Serial number 1 is mine!
    But you can have serial number 2. I might even be persuaded to offer a discount… ;)

    <!-- Emoji'd by MobileEmoji 0.2.0-->

  • sockdevs

    ..... That is acceptable. :-P



  • @dstopia said:

    I can't deallocate memory from a C process if you kill it from the OS

    It would've been nice to have the conversation that started this part.


  • Winner of the 2016 Presidential Election

    @RaceProUK said:

    I might start a product line of ClueHammers; they'd look like Piko Hammers, but have the word 'Clue' written in large friendly letters on the sides.

    You might want to check with @snoofle about possible copyright infringement first.


  • sockdevs

    Hammer ≠ Bat

    So I think I'm safe there :smile:

    <!-- Emoji'd by MobileEmoji 0.2.0-->


  • Oh, believe me, you don't want to know what this project is about. That's probably TRWTF.



  • I want to know!



  • Shit I just heard in my office

    I hate it when toilets are not properly sound proof ...


  • sockdevs

    @Luhmann said:

    > Shit I just heard in my office

    I hate it when toilets are not properly sound proof ...


    :rimshot:

    <!-- Emoji'd by MobileEmoji 0.2.0-->




  • Ugh, it's kind of a long story.

    I recently started working for a Big Local Telco™. Said telco bought a billion different Expensive Billing Enterprise Software Packages™ in the 90s, and over time, as it usually happens around these parts, the IT department started suffering budget cuts after budget cuts, and the whole thing fell into a mess of different systems interacting in weird ways with one another.

    My whole team is dedicated to solving the various errors that crop up from the interaction between these different billing systems. As soon as I joined, about a month and a half ago, I got put in charge of a Java EE application that is basically a frontend that allows a subset of IT users to visualize the gazillion different errors that arise every day from the whole thing's regular operation.

    One of the things the users of this application do is solve issues by way of executing SQL queries, except they don't actually have the privileges to execute queries on the production DB, so there's this whole complicated chain of change requests they have to go through. The brillant idea some random fuckwad of a manager had is to automate the process of going through this bureaucracy by having our application upload SQL query files to be executed by a batch daemon running on a Unix server (the idea being that only a subset of approved queries would be allowed). This last bit was the idea of my predecessor, who wanted multithreaded access to the DB written in an ancient Oracle C preprocessor language called Pro-C. The phrase in the OP was just uttered this morning by the guy who was assigned the task of writing the Unix daemon.

    I can't even begin to count the number of WTFs there are here. I wouldn't even know where to begin. Sadly, this is only my second gig as a programmer (I worked for six years for a consulting agency for an Oracle ERP and that's its own set of WTFs) and I'm still learning a lot here, so I'm not ready to leave yet. But holy shit am I dreading my future here.


  • mod

    @dstopia said:

    a consulting agency for an Oracle ERP

    I feel your pain



  • @dstopia said:

    This last bit was the idea of my predecessor, who wanted multithreaded access to the DB written in an ancient Oracle C preprocessor language called Pro-C. The phrase in the OP was just uttered this morning by the guy who was assigned the task of writing the Unix daemon.

    He might have a point. Some dark corner of the Oracle driver might be holding onto memory after your process exits.



  • Hey, at least that's Java and seems to be using a rather sane variable naming scheme. You haven't felt pain until you need to deal with JD Edwards C functions with their stupid Hungarian notation, cryptic API you can only look up in 800 pages long Oracle PDFs plus its special preprocessor functions.

    Fuck Oracle.


  • sockdevs

    @boomzilla said:

    He might have a point. Some dark corner of the Oracle driver might be holding onto memory after your process exits.

    But Java having a GC isn't going to help if someone SIGKILLs the JVM

    <!-- Emoji'd by MobileEmoji 0.2.0-->


  • Oh believe me, he wasn't talking about that. He literally thought malloc() memory doesn't get deallocated by Unix. He didn't even know what SIGTERM and SIGKILL are.


  • mod

    Shit I hear in meetings all the time: "In JDE land, we can't do fancy things like you can in the Web", like bug tracking or regression testing.



  • @RaceProUK said:

    But Java having a GC isn't going to help if someone SIGKILLs the JVM

    Oh, yeah, definitely.



  • "Just because it's not in the requirements doesn't mean it's not a requirement"

    How the hell was I supposed to know, then?!



  • That sounds familiar. maybe all Big Local Telco™'s are the same



  • @dstopia said:

    upload SQL query files [...] Pro*C

    We looked at Pro*C for a day or so at the start of moving our entire product from mysql to oracle. Our conclusion was its only redeeming feature compared to OCI is lost when you don't hardcode all your queries.



  • Interesting facts related to back up alarms:

    Why Do Reversing Trucks Not Beep Any More? – 01:45
    — Tom Scott



  • TIL

    That's what I love about TD :wtf: - a place where that is interesting!

    Round these here parts I still hear the beeps, but not the "eessss"'s...

    ... but that was one of his points, wasn't it :wink:



  • I don't ever recall hearing a vehicle with the white noise sound.

    Non-beep noises sure, but not white noise like that on the video.



  • @loopback0 said:

    don't ever recall hearing a vehicle with the white noise sound.

    That's 'cuz it missed you.

    :

    :

    :

    :

    :

    WATCH OUT!!!!!!!!!

    You OK bro?


    Yep, that "BIG A" does work.....



  • @dstopia said:

    Java EE application that is basically a frontend that allows [...] visualize the gazillion different errors

    Wow... This is a high level WTF.


  • Winner of the 2016 Presidential Election

    @ijij said:

    That's 'cuz it missed you. you heard it better

    Filed under: At least according to that video...



  • It is pretty insane. The app in itself is a WTF of UX and general design principles. It's getting worse as it slowly becomes this jack of all trades bullshit app for whatever purpose Mr. Manager wants the app to behave in order to fill up some stupid presentation for Mr. Chief Manager prior to budgeting meetings starting.

    Fuck corporations.



  • @sloosecannon said:

    Filed under: At least according to that video...

    ...but also, since the white noise doesn't carry and bounce like the beeps do...

    If you hear the white noise - it's coming for you
    more specifically than if it were some wimpy beeps


    Filed under: basically you said "he hasn't heard it because he heard it better" ;)

    Also file duner: why cnnnnat I spell anympore? Is it contagious? Need weekend.


  • sockdevs

    @ijij said:

    why cnnnnat I spell anympore?

    @accalia

    @ijij said:

    Is it contagious?

    Apparently. :-P you may wnat to tget yourself tested at your local spelling bee

    @ijij said:

    Need weekend.

    QFFT



  • @accalia said:

    Apparently. you may wnat to tget yourself tested at your local spelling bee

    :clap:



  • @ijij said:

    You're triggering a repressed memory of some really awful song...

    Plz no.

    You're welcome.

    https://m.youtube.com/watch?v=wp43OdtAAkM



  • "I hate you, Rabbit Sea Lion...."


    Filed under: looking for something like Yosemite Sam...

    ... find Hitler. :man:

    Also, :wtf: this is :massage: ?


  • sockdevs

    @ijij said:

    Also, :wtf: this is :massage: ?

    A head massage

    <!-- Emoji'd by MobileEmoji 0.2.0-->


  • @dstopia said:

    He literally thought malloc() memory doesn't get deallocated by Unix

    This might've been true, in like, 1976, maybe...



  • @PleegWat said:

    Pro*C

    I just googled it. In my opinion based on 5 minutes looking, it looks absolutely dreadful.



  • @ijij said:

    Sea Lion

    Eh, close enough...



  • @tar said:

    Eh, close enough...

    :facepalm: I picked the wrong one...

    ... OTOH - AHA! THERE! I got you back for that video!



  • That sure showed me!



  • @tar said:

    I just googled it. In my opinion based on 5 minutes looking, it looks absolutely dreadful.

    And you haven't even seen what happens if you compile the code it generates. You'll have no other choice than to disable -Wall.

    It's one redeeming feature is that it is simpler to do queries, and you get compile-time validation. But that only works for hardcoded queries, not immediates.


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.