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

help-circle

  • Some people are going to be offended unless you participate in their games. In the army I had someone tell me he was going to punch me if I didn’t drink at a get together. So I drank. I probably would’ve anyway, but he was super weird about it.

    Redirect conversation, be noncommittal, let yourself get pulled away by duties, etc. Eventually if you’re lucky you just won’t be in the clique any more. But they’re never going to understand what you’re telling them without offense because they just don’t want to. There is no polite, easy way to do this that isn’t going to upset them. They will feel like you think you’re better than them.





  • The way I’ve dealt with this before is reference the ticket number in the commit message. Now the only tickets you ever need to review are the ones relevant to the element in question, and only those creating or modifying that particular property, which should be evident in your commit log.

    You don’t specify a language but I’d assume that is the footer definition/html and any scripts or styles invoked by it.

    But once you have an answer, it would be wise to document it in confluence somewhere, even if it’s something like “Footer green per request from Director, Mr. Smith” or “Footer color: arbitrary, green to differentiate profile pages. Verify changes with Director.”

    How to organize the documentation so that it isn’t difficult to navigate is another difficult question that is more art than science - one which has never been satisfactorily solved anywhere I’ve worked once complexity reaches a certain point, but I leave that exercise to the reader.







  • If you think hating on fascists is just more of the same (and to be clear, there is a lot of ambiguity in what you said) then I’m going to have to disagree. There is no nobility in loving your enemy until they exterminate you.

    As for the rest, you come at me a bit argumentative, but I don’t really disagree. But does it make it an echo chamber if I don’t fight everyone I disagree with? I’ve been arguing on the internet since before the WWW existed and nothing has changed, least of all anyone’s minds. I get upvotes when I manage a particularly eloquent turn of phrase that captures the zeitgeist, but as gratifying as that is I enjoy the back and fourth a lot more. I’d rather have someone thoughtfully and respectfully disagree with me.


  • I don’t come here for the far left. I come here for the lack of the far right. The far left are some crazy nutters, too, but I think for the most part they are well meaning and that’s a damn sight better than the far right who just wear hatred on their fucking sleeves.

    It means I get some shit for not wanting to live in a big city or being happy driving a car, but I take solace in the fact that I’ll be long dead before far left ideals take hold in any significant way. Meanwhile… fascism is a far more immediate threat, and that’s the one group of fuckers I give myself leave to unabashedly hate.



  • I was going to make the point that there may not be an error, but because you tell it to give you one, it finds something. But that doesn’t explain VSCode, you’re right. Every once in a while an IDE is just wrong. I was going to suggest trying a different IDE which might give you a less cryptic message. I often times find bad brace errors to be a result of something much higher in the code.

    But again, not knowing PHP, I could only take a stab at answering why with the AI. I’ve tried many times to have an AI help me with these tasks. And sometimes it’s very good at them, but other times I can spend hours refining my query and arguing with it and never make any headway.


  • I can’t read PHP, so I can’t tell you where the syntax error is, but the AI is only responding in a way to complete the conversation. It has no ability to comprehend the code you’ve written, it just knows that conversations that start off the way yours did, probably ought to end with a complaint about that closing brace - particularly if you told it what VSCode was complaining about.

    This is one of the shortcomings of AI code assistants - they can’t think abstractly at all. So it’s ability to answer a troubleshooting question depends greatly on how many times the same question has been asked on StackOverflow and elsewhere.



  • It doesn’t really matter all that much. camelCase is to break up the long variable names and help people find the word breaks. Like imagine linespacing. That could be line spacing or lines pacing, and a little context would help you understand which (yeah this is a bit of a stretch)

    As long as it helps clarify, it doesn’t matter. That doesn’t mean it won’t bug me if I think someone has done it wrong, but it doesn’t really matter.


  • Thank you. Turns out I have seen that before. I played with Graphviz for a couple of months. It was fun but ultimately fruitless for my needs at the time. Thank you for reminding me.

    I don’t have the vision of how that would apply to this project. Perhaps to visualize the current workflow, but it feels like it would be easier to do it by hand unless it’s constantly changing.


  • I don’t know how many answers you are going to get, but I suspect not many. You’re asking someone to architect a solution without any requirements. Even if that weren’t a massive ask, it’s pretty much impossible because you haven’t provided any information.

    First half: I’d write a guided wizard with a state machine.

    Data structure? You mean schema? Depends on what the data is, how it’s related, and how it will be used. The answer could be anything from 30 SQL tables to a big blob of JSON.

    Best language? The one(s) you know.

    Graphical representation? I’ve been doing this for 25 years and never used a .dot. Is that a Word template? I can tell you I definitely wouldn’t use that but maybe someone else would tell you different. I’ve only had to produce a word document a couple of times and I used Java & POI to do it (C# could probably do it easier I’d hazard a guess) but if that’s not a requirement I’d use a browser interface.

    Generating a fillable form? Like I say I’d make a wizard using some kind of web framework.

    Good luck. Hopefully someone else understands your needs better than I do and can give you a better answer.