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

help-circle


  • PowerShell variable names and function names are not case sensitive.

    I understand the conventions of using capitalization of those names having specific meanings in regards to things like constants, but the overwhelming majority of us all use IDEs now with autocomplete.

    Personally, I prefer to use prefixes anyway to denote that info. Works better with segmenting stuff for autocomplete, and has less overhead of deriving non-explicit meaning from stuff like formatting or capitalization choices.

    On top of that, you really shouldn’t be using variables with the same name but different capitalization in the same sections of code anyway. “Did I mean to use $AGE, $Age, or $age here?” God forbid someone come through to enforce standards or something and fuck that all up.





  • It makes us all look stupid and hateful.

    I’d argue that it does a lot more than make people just look hateful. Plenty of assholes out there using progressive causes as justification and shielding for their poor behavior.

    The dev could have avoided this easily by merging the original PR and moving on with their life, but there is negative reason for the dogpiling that occurred. It’s open fucking source. Fork it and make your own inclusive competitor.

    The behavior of the community around this is reprehensible, and is the perfect ammunition for opportunists looking to draw people into right wing radicalism. “Look at what they did to someone for using he instead of they! Imagine what will happen if we let these people have any real power?”


  • wizardbeard@lemmy.dbzer0.comtolinuxmemes@lemmy.worldMany such cases
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    4 months ago

    If it was valid, do you really think people would be talking about it being a problem here? Please use your head a little.

    Also, two entitely different meanings of the word signing being used here. Signing as in signing a bill vs. Cryptographic signing. Adobe has some weird “halfway” thing that’s more than painting the sig on the image, but isn’t gpg.

    Hooray for proprietary shit becoming accepted for legal use! Yuck.



  • I’m probably a freak, but I can’t stand working on something complex, being pulled away from it for a week or two, and not being able to pick things back up because it’s not documented well. Especially when I’m the only person to blame.

    I also make scripts and programs with the goal to hand them off when I’m done. I’ve got more than enough to keep me busy at work without having to be the only person able to support my projects forevermore. Ultimately I’m still the go to, but I never want to be so critical that I can’t take time off, or that I’m effectively on call 24/7. I want the credit, but the whole point is to reduce responsibility by making shit more efficient and easy.



  • Only if it’s enabled by default, or the dev knows to enable it.

    I had a lot of weird problems processing some info with names in Powershell until I found out that Powershell doesn’t default to unicode format when shoving output into files. You can easily specify the encoding, but if you don’t it replaces any non-ascii characters with “?” by default, so it’s not even immediately obvious that there’s an incorrect character, as it just silently substitutes a valid one.


  • wizardbeard@lemmy.dbzer0.comtoProgrammer Humor@programming.devClassic Amazon
    link
    fedilink
    English
    arrow-up
    56
    arrow-down
    1
    ·
    6 months ago

    Absolutely the latter. This is similar to how Snowden had access to all the stuff he leaked. He worked at a place that did contract work with the government and was mortified at all he had access to that he should have never been able to see.

    There’s a shit ton of articles in the tech space about how companies keep fucking up with stuff like this. No reasonable expectation that the government and their contractors would do any better.







  • wizardbeard@lemmy.dbzer0.comtolinuxmemes@lemmy.worldThat's LTT in the bottom
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    7 months ago

    Huh? You only need the Pro version for Group Policy and all the registry settings, and you can get licenses for ~$20 if you buy an OEM license through an authorized reseller.

    There’s some limitations to the OEM licenses, but I’ve never run into them.

    As far as I’m aware, LTSC just effects the update channel that Windows Update pulls from, with LTSC getting non-critical updates later and for longer after support “ends”. Usually you can switch that in the registry.


  • Think what you want about 4chan, but I generally start with the links in the OP of the “/g/ - Technology” board’s regularly recurring “friendly windows thread”. Being 4chan, it is decidedly unfriendly, but the guides in the OP are usually good. Always read up thoroughly, fully, and apply your own common sense before using any tools or running commands.

    Wish I could be more specific, but I’m still using 10, so I’m not familiar with the 11 specific stuff.