I am:
@clb92@feddit.dk (MAIN LEMMY PROFILE)
@clb92@mastodon.social (Main Mastodon profile)
@clb92@kbin.social
@clb92@lemmy.world
@clb92@lemmy.ml
And /u/clb92 on Reddit (and many other places)

  • 1 Post
  • 55 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle


  • clb92@feddit.dktoProgrammer Humor@lemmy.mlYou don't need the mouse
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    19 days ago

    Doesn’t that just cut one line at a time?

    Move the cursor to the start of what you want to cut, press ALT+A, then move the cursor with arrow keys (you’ll see text be highlighted from where the cursor was to where you move your cursor), then once you’ve moved the cusor to where you want, press CTRL+K to cut.






  • clb92@feddit.dktoProgrammer Humor@lemmy.mlAI's take on XML
    link
    fedilink
    English
    arrow-up
    28
    ·
    2 months ago

    Lots or file formats are just zipped XML.

    I was reverse engineering fucking around with the LBX file format for our Brother label printer’s software at work, because I wanted to generate labels programmatically, and they’re zipped XML too. Terrible format, LBX, really annoying to work with. The parser in Brother P-Touch Editor is really picky too. A string is 1 character longer or shorter than the length you defined in an attribute earlier in the XML? “I’ve never seen this file format in my life,” says P-Touch Editor.











  • They have a feature where they toggle sound presets depending on your location. That’s the only thing that requires an account, as well as access to your location. It’s opt-in however (and pretty useless imo).

    If it can toggle ANC and “passthrough” mode based on location, that would actually be an awesome feature for me. I often wear my earbuds while walking, taking the train, and shopping, and in the train I like having ANC on but at the supermarket I like having passthrough mode on so I can hear the cashier better.