• 12 Posts
  • 21 Comments
Joined 4 months ago
cake
Cake day: May 6th, 2024

help-circle


  • Here’s what I’m reading:

    startup-script line 27 threw the error.

    I’m reading this and interpreting that line 27 of that script is

    sudo echo "# FYI quotes(") must be escaped with \ like \"

    I am confused why there is no trailing double quote, the last 3 chars should be \"" so perhaps this is a bad assumption but the best I can do with the available information.

    So the fix here is to change startup-script line 27 so that you’re not echoing things that might contain characters that might be interpreted by echo or your shell.

    Now if startup-script is provided by your distro, there may be a reason that it’s using echo, but I will tell you now whatever dipshit reason they provide they’re fucking wrong because EXHIBIT A: # " fucks the script and rule 0 of linux is “don’t break userspace”.

    Everything else allows any printable char after the # in a comment, that script is not special, comments are not to be interpreted by the program. That is a show-stopping bug in startup-script and must be fixed.

    EOF



  • i think the real error was that you started the echo with a double quote and ended with a single quote. had you properly wrapped it with single quotes it would have worked. even if you had escaped the double quote, there still would have been an error because you’d have a multi-line string with no ending " (the 2nd double quote was properly escaped so that would not have terminated your string)

    Also, you didn’t escape your slashes.

    Either it should have looked like this:

    echo '# FYI quotes(") must be escaped with \ like \"'

    or this:

    echo "# FYI quotes(\") must be escaped with \\ like \\\""









  • So my first question is how can it be that my little mini J1900 Celeron (2 GHz) with 4 GB RAM cannot handle this bandwith?

    • check ethtool for link speed: sudo ethtool enp2s0 | egrep 'Speed|Duplex' Your device name may be different from enp2s0. use ip link to see all devices. if it’s not
    Speed: 1000Mb/s
    Duplex: Full
    

    then that’s probably a bad sign.

    • that is a 10 year old celeron processor. celeron were the budget (a.k.a. cheapest, slowest) class processor at the time. it’s quite likely that it cannot keep up.
    • If you still think it’s not CPU directly, use iotop to see if you have I/O bottleneck.


    • KHAAAAAAAAN, YOU PIECE OF SHIT!
    • Play it, Sam, you piece of shit. (no one ever says “play it again, Sam”)
    • Never tell me the odds you piece of shit!
    • I want you to hit me as hard as you can, you piece of shit.
    • Good morning Vietnam, you piece of shit!
    • I love the smell of Napalm in the morning you piece of shit!
    • You come into my house on the day my daughter is to be married and you ask me to do murder, for money, you piece of shit?
    • Go ahead, make my day you piece of shit.
    • Open the pod bay doors, HAL you piece of shit.
    • I am serious. And don’t call me Shirley you piece of shit.
    • You’re gonna need a bigger boat, you piece of shit.

    Charlton Heston Bonus Round:

    • LET MY PEOPLE GO YOU PIECE OF SHIT!
    • YOU DAMN DIRTY APES, YOU BLEW IT ALL TO HELL YOU PIECE OF SHIT!
    • SOYLENT GREEN IS PEOPLE YOU PIECE OF SHIT!
    • You may conquer the land, you may slaughter the people. But that is not the end. We will rise again, you piece of shit.






  • Let’s say there is a user lmicroservice. I’m on a UI team. I don’t get to tell the user service team what, or when, to implement any features.

    I’m tasked with making a page displaying all the users who have a birthday this month.

    User API service can only search by user id, email, display name, or nickname.

    Now instead of just querying the goddamn database, a one line fucking SQL statement, I have to deal with the user team, getting them to first off even admit that my use case is valid, convince them to work on the feature, coordinate with them to make sure the query works, sorts the data the way I need, etc, et. al, blah blah blah.

    They already have the next 3 sprints full so I’m sitting on my ass for the next month before I can test.

    Meanwhile they decide they’re gonna implement a super generic thing, and so despite me working on code that we talked about using an interface we talked about, they implement something else so i have to throw out half my work anyway.

    Then when I finally start using it I find, oh, it doesn’t support a sort, only returns 100 results max with no pagination, so if there’s 200 this month with a birthday fuck the 2nd hundred they don’t show up because they’re implementing bare minimum and the rest is slated for another sprint.

    And it was then, your Honor, I grabbed the lead dev for the user microservice and tossed him off the 9th story of the building.

    /sarcasm