ukrainian cat ~

  • 0 Posts
  • 167 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle











  • voxel@sopuli.xyztoProgrammer Humor@lemmy.mlCertified in AI
    link
    fedilink
    arrow-up
    55
    ·
    edit-2
    8 months ago

    it’s for the official Office keyboard.
    it comes wirh shortcuts to ms office stuff and was supposed to work without installing any software, so they bound them to an extremely long key combinations no one will trigger by accident and shipped the changes to all windows users.

    also another fun fact: Ctrl + Alt + Shift + Win corresponds to the “Office” key, and hitting that combination will make Windows silently and automatically download and install the Microsoft/Office 365 App and launch it, even if it was previously removed



  • well I’m using lower-ish-level stuff like wgpu a lot, so there’s a lot of repeated code in my codebase with only small variations, but I can’t really encapsulate it into anything since all of my pipelines are completely different and have different requirements (it’s basically already as encapsulated as it gets without limiting freedom)


  • voxel@sopuli.xyztoProgrammer Humor@programming.devAI Suggestions
    link
    fedilink
    arrow-up
    79
    arrow-down
    5
    ·
    edit-2
    8 months ago

    don’t get the negativity towards copilot in other comments.
    it’s a really smart autocomplete, and this is exactly what i wanted for the past 5 years.
    (yeah it’s not going to replace programmers or whatever people’s exaggerated opinions of it are)

    wanna quickly create a wgpu bind group?
    let texture_bind_group = <tab> <tab> and it’s smart enough to understand the context and pull in texture and texture sampler that are already defined as local variables.

    too lazy to type this obvious thing in?
    (like of course the next opcode islet op = self.fetch();) just press tab and move on with your life.

    wanna quickly refactor something?
    select, ask CP Chat to “replace all if statements with match”, check if it’s correct and click confirm (it will even show git-style diffs, so it’s hard for something unexpected to slip in)

    it’s not perfect, and it’s suggestions do not match your intention like 50% of the time but when they do match or your intention is REALLY obvious (like you already wrote a clear and concise variable name and need to complete the value), you’re a single keypress away from completing those 2 lines of code

    It’s not a total deal breaker but it’s definitely very useful. (especially for me, because of my very short attention span. unless i can quickly complete a thing I’m currently working on in less than a minute i will forget about the next 10 things I was thinking of doing)

    also i don’t believe the price is justified, but it’s free for students so of course I’m gonna use it.

    (you just need to verify your student email and upload a photo of your student id on education.github.com, and you get a free gh copilot subscription, gh pro account, priority support and promos on loads of services like heroku etc while you’re a student)




  • voxel@sopuli.xyztoMemes@lemmy.mlRun
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    8 months ago

    administrator in windows != root, it’s more like user account in sudoers file (but without password auth) processes don’t start out with admin rights under administrator accounts on windows, they still need to request the user to elevate (unless uac is off)