Civilloquy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to Programmer Humor@programming.devEnglish · 21 hours ago

You can save at least 40% by externalizing the CSS

programming.dev

message-square
26
fedilink
217

You can save at least 40% by externalizing the CSS

programming.dev

codeinabox@programming.dev to Programmer Humor@programming.devEnglish · 21 hours ago
message-square
26
fedilink
alert-triangle
You must log in or register to comment.
  • rizzothesmall@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    5 hours ago

    If only there was a way to do this with the <script> tags as well

  • Kairos@lemmy.today
    link
    fedilink
    arrow-up
    23
    ·
    8 hours ago

    These people are indistinguishable from my grandparents when it comes to using tech

  • funkless_eck@sh.itjust.works
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    10 hours ago

    if they’re using class=“card” then they’re likely using something like bootstrap in which the CSS is largely handled for you anyway

    • 3abas@lemmy.world
      link
      fedilink
      arrow-up
      6
      arrow-down
      2
      ·
      8 hours ago

      Fun fact, people often use css frameworks as a starting point and override a lot of built in classes to add their own look.

      • Blackmist@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        Although it has lead to every website have that 2/3/4 column look for about 10 years at least. Widescreen monitors have 50% of the space wasted,

        I think it was Grid that started it, had 12 columns you could divvy up with a load of weird classes, and then a version of grid got added to the CSS standard instead so now it’s just there.

        You can still make CSS from scratch, but I can see why a beginner would go with Bootstrap or whatever.

  • hissing meerkat@sh.itjust.works
    link
    fedilink
    arrow-up
    65
    ·
    18 hours ago

    You can save 100% on tokens by not being a clucker.

    • vithigar@lemmy.ca
      link
      fedilink
      arrow-up
      11
      ·
      15 hours ago

      🐔

    • GreenKnight23@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      14 hours ago

      1000003807

  • mrmaplebar@fedia.io
    link
    fedilink
    arrow-up
    134
    arrow-down
    1
    ·
    20 hours ago

    AI rotbrain discovers CSS in 2026.

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    33
    ·
    edit-2
    20 hours ago

    They didn’t think of just letting it generate the text (usually Markdown) and then processing it to HTML?

    Wait, the LLM does the “thinking” there.

    • chicken@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      4
      ·
      11 hours ago

      I assume there’s some context for why there is an argument to begin with between whether to prompt for markdown vs html, and what this is actually for

      • MonkderVierte@lemmy.zip
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        Well, i’ve got polls via excel via email at work, so…

  • codeinabox@programming.devOP
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    2
    ·
    21 hours ago

    In case anyone is curious, this is the original post on X.

    • zeroConnection@programming.dev
      link
      fedilink
      arrow-up
      11
      ·
      13 hours ago

      https://xcancel.com/nicbstme/status/2052965305148981494

      Fuck that nazi platform, just add “cancel” to the the domain to avoid driving traffic there

      • The Ramen Dutchman@ttrpg.network
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        This is a Nitter instance, there are many other instances as well to avoid any one being overloaded or blocked!

      • zqps@sh.itjust.works
        link
        fedilink
        arrow-up
        6
        ·
        12 hours ago

        Awesome thanks. Also avoids the awful UI and forced login popup.

    • I Cast Fist@programming.dev
      link
      fedilink
      arrow-up
      22
      ·
      17 hours ago

      God please, this can’t be a honest question

      • pivot_root@lemmy.world
        link
        fedilink
        arrow-up
        21
        ·
        15 hours ago

        Embrace it. Teach these people how to use data URIs to “embed images into the HTML file”, then laugh when they burn even more tokens.

      • entwine@programming.dev
        link
        fedilink
        arrow-up
        14
        arrow-down
        3
        ·
        14 hours ago

        AI is here. Deal. With It. Your authoritarian chains have been shattered, knowledge Nazi. No longer will creation be a luxury for the mentally wealthy. It has now been fully democratized so that even republican voters will be able to code soon.

    • sirdorius@programming.dev
      link
      fedilink
      arrow-up
      30
      ·
      19 hours ago

      These are the CEOs that are replacing the workforce with AI. I fear for the future of humanity. Everything will be endless slop, with pre-slop era knowledge sold on a black market.

      • Croquette@sh.itjust.works
        link
        fedilink
        arrow-up
        10
        ·
        15 hours ago

        This is 40K shit where we lost a golden era of tech and we’ll have to scavenge old tech.

    • abbadon420@sh.itjust.works
      link
      fedilink
      arrow-up
      50
      ·
      20 hours ago

      I wouldn’t dare to venture into the badlands

      • LeFrog@discuss.tchncs.de
        link
        fedilink
        arrow-up
        36
        ·
        20 hours ago

        Be safe out there and use xcancel.com instead

        • SubArcticTundra@lemmy.ml
          link
          fedilink
          arrow-up
          24
          ·
          19 hours ago

          Thank you, i needed this proverbial internet condom

          • Victor@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            18 hours ago

            Eugene, is that you?

  • Vince@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    20 hours ago

    I thought it was arguing how to make ai burn more tokens when scraping your site

Programmer Humor@programming.dev

programmer_humor@programming.dev

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: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 1.63K users / day
  • 2.86K users / week
  • 5.13K users / month
  • 13.2K users / 6 months
  • 1 local subscriber
  • 31.3K subscribers
  • 1.97K Posts
  • 51.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org