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
  • 40 Comments
Joined 2 years 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
    2 months 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 cursor to where you want, press CTRL+K to cut.




  • clb92@feddit.dktoProgrammer Humor@lemmy.mlAI's take on XML
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 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.







  • Really cool project, even though it has its flaws. Be prepared to search the documentation and update the configuration via the command line, as there’s no settings page in the web interface.

    I had some trouble with it throwing a fatal error on URLs longer than the max filename length on my filesystem, but the author has been very responsive on GitHub. I replied to a 3-4 year old closed issue and the author opened it again and tried implementing a new fix in the dev version. I’m encountering another issue with using the dev version in my setup right now, but I think that’s being worked on.



  • My G700 just started having double click issues recently, after almost 12 years of heavy use. Debated disassembling it and replacing the switch, but it’s so worn out, especially the scroll wheel, that I decided to search for a replacement mouse instead, as I couldn’t find any new G700 or G700S in stores any more.

    I really wanted a mouse with plenty of side buttons, so I replaced it with a Razer Naga V2 Pro with the 6-button side panel, which I really like so far (I was skeptical at first). Only thing I really miss is the Logitech “Infinite Scroll” zero friction scrolling.