Upvote!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
seaQueue@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago

50 million rendered polygons vs one spicy 4.2MB boi

lemmy.world

message-square
139
fedilink
1.37K

50 million rendered polygons vs one spicy 4.2MB boi

lemmy.world

seaQueue@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago
message-square
139
fedilink
  • jballs@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    37
    ·
    1 year ago

    I have the same problem with XML too. Notepad++ has a plugin that can format a 50MB XML file in a few seconds. But my current client won’t allow plugins installed. So I have to use VS Code, which chokes on anything bigger than what I could do myself manually if I was determined.

    • seaQueue@lemmy.worldOP
      link
      fedilink
      arrow-up
      15
      arrow-down
      3
      ·
      1 year ago

      Time to train an LLM to format XML and hope for the best

      • PsychedSy@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        22
        ·
        1 year ago

        Do we need a “don’t parse xml with LLM” copypasta?

        • QuazarOmega@lemy.lol
          link
          fedilink
          English
          arrow-up
          15
          ·
          1 year ago
          L arge  
          L regex  
          M odel
          
          • PsychedSy@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            5
            ·
            1 year ago

            I don’t wish death on anyone.

          • BluesF@lemmy.world
            link
            fedilink
            arrow-up
            5
            ·
            1 year ago

            Wait, it’s all regex?

            Always has been

    • expr@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Meanwhile, I can open a 1GB file in (stock) vim without any trouble at all.

      Formatting is what xmllint is for.

    • Johanno@feddit.de
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Just install python and format it. Then

    • Caveman@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      I use vim macros. You can do some crazy formatting with it

    • bloubz@lemmygrad.ml
      link
      fedilink
      arrow-up
      2
      arrow-down
      2
      ·
      1 year ago

      You don’t need to open a file in a text editor to format it

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 419 users / day
  • 701 users / week
  • 1.87K users / month
  • 10.5K users / 6 months
  • 1 local subscriber
  • 35.6K subscribers
  • 1.71K Posts
  • 37.5K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.6
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org