Trailblazing Braille Taser

  • 0 Posts
  • 131 Comments
Joined 2 years ago
cake
Cake day: August 16th, 2023

help-circle

  • I honestly think autocorrecting your scripts would do more harm than good. ShellCheck tells you about potential issues, but It’s up to you to determine the correct behavior.

    For example, how could it know whether cat $foo should be cat "$foo", or whether the script actually relies on word splitting? It’s possible that $foo intentionally contains multiple paths.

    Maybe there are autofixable errors I’m not thinking of.

    FYI, it’s possible to gradually adopt ShellCheck by setting --severity=error and working your way down to warnings and so on. Alternatively, you can add one-off #shellcheck ignore SC1234 comments before offending lines to silence warnings.




  • I wrote my comment not to antagonize you but to point out that you’re asking the wrong questions. I failed to articulate that, and I’m sorry for being harsh.

    Your prior comment indicated that you have used hash tables in Java, which were very fast. You said that your program accessed the hash tables, but did not “search” the table. These operations are the same thing, which led me to believe you’re out of your depth.

    This last comment asks me how much this paper’s contribution speeds up an average program. You’re asking the wrong question, and you seem to be implying the work was useless if it doesn’t have an immediate practical impact. This is a theoretical breakthrough far over my head. I scanned the paper, but I’m unsurprised they haven’t quantified the real-world impact yet. It’s entirely possible that despite finding an asymptotic improvement, the constant factors (elided by the big O analysis) are so large as to be impractical… or maybe not! I think we need to stay tuned.

    Again, sorry for being blunt. We all have to start somewhere. My advice is to be mindful of where the edge of your expertise lies and try to err on the side of not devaluing others’ work.









  • Once upon a time, my landlord’s management company tried to shake me down for an additional day of rent. I pointed out that my rental agreement stated I would pay exactly $x every month, so they can pound sand. They, too, decided to “let it slide.” How magnanimous.

    (Edit: I just remembered, first they tried to argue the contract shouldn’t have been written that way so I still had to pay. Wtf.)

    I swear they must have created a new spreadsheet with an off-by-one error somewhere and mailed out hundreds of bills instead of double checking.