lemmy.onlylans.io
  • Communities
  • Create Post
  • Create Community
  • 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
39
fedilink
275

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
39
fedilink
alert-triangle
You must log in or register to comment.
  • rizzothesmall@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    4 hours ago

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

  • Kairos@lemmy.today
    link
    fedilink
    arrow-up
    25
    ·
    7 hours ago

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

  • funkless_eck@sh.itjust.works
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    9 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
      7
      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
        ·
        42 minutes 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.

    • t҉̠̙ǵ̣̞̄ͪ͜x̸̱͚̳ͫ͐̑̈ͯͣ̚n̒͌҉͉̦̜̝ͅ@lemmy.tgxn.net
      link
      fedilink
      arrow-up
      4
      ·
      9 hours ago

      Unless your using an LLM to make simple one-page HTML pages. In which case it likes to reinvent the wheel every single time. 🤣

  • pseudo@jlai.lu
    link
    fedilink
    arrow-up
    18
    ·
    edit-2
    13 hours ago

    There was a time where people were made fun of for saying they program in HTML. Now some people proudly explains you to use AI to write it. The same type of people use LLM as a calculator and are in awe for its publiposting capacities. Wait for the day they would program a AI to print on carbon paper. Two copy for one file in memory!!

  • rozodru@piefed.world
    link
    fedilink
    English
    arrow-up
    39
    ·
    15 hours ago

    this has to be satire right? please someone tell me he’s only joking. please.

    • jlow@slrpnk.net
      link
      fedilink
      arrow-up
      24
      ·
      14 hours ago

      I’m reading the whole thread on xcancel and I’m wondering if they’re all in on the joke / trolling or …

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

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

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

      🐔

    • GreenKnight23@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      13 hours ago

      1000003807

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

    AI rotbrain discovers CSS in 2026.

  • orca@orcas.enjoying.yachts
    link
    fedilink
    arrow-up
    106
    ·
    20 hours ago

    As someone that has been writing CSS for something like 18 years, this is peak cringe.

  • Jakylla@jlai.lu
    link
    fedilink
    arrow-up
    128
    ·
    20 hours ago

    You can also save up to 100% by externalizing the HTML part too

  • squirrel@cake.kobel.fyi
    link
    fedilink
    English
    arrow-up
    90
    ·
    20 hours ago
    <marquee>suck on these tokens</marquee>  
    
    • AeronMelon@lemmy.world
      link
      fedilink
      arrow-up
      56
      ·
      18 hours ago

      The day the blink tag was removed from the rendering engine was the day we lost our way.

      • bountygiver [any]@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 hours ago

        https://developer.mozilla.org/en-US/docs/Glossary/blink_element

        While initially popular, <blink> became much maligned because of overuse; many people found it annoying. More importantly, it degrades readability and can be particularly problematic for users with visual impairments or cognitive disorders such as epilepsy or ADHD. It can be disorienting or, in the worst cases, even trigger seizures.

        tbf it’s a valid reason to drop its support

      • Arigion@feddit.org
        link
        fedilink
        arrow-up
        8
        ·
        18 hours ago

        Oh come on. Nobody used it since we have animated gifs as replacement.

        • WFH@lemmy.zip
          link
          fedilink
          arrow-up
          19
          ·
          16 hours ago

          I felt a great disturbance in the Force, as if millions of Geocities pages suddenly cried out in terror and were suddenly silenced.

    • db2@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      14 hours ago

      <blink/>

      • Arigion@feddit.org
        link
        fedilink
        arrow-up
        3
        ·
        2 hours ago

        Nope. That element never existed. It was <blink>text</blink>

        Besides a selfclosing <blink/> would make no sense.

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    45
    ·
    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
      5
      ·
      10 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
        ·
        60 minutes ago

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

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

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

    • zeroConnection@programming.dev
      link
      fedilink
      arrow-up
      14
      ·
      12 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
        ·
        1 hour 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
        ·
        11 hours ago

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

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

      God please, this can’t be a honest question

      • pivot_root@lemmy.world
        link
        fedilink
        arrow-up
        26
        ·
        14 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
        15
        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.

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

      I wouldn’t dare to venture into the badlands

      • LeFrog@discuss.tchncs.de
        link
        fedilink
        arrow-up
        45
        ·
        19 hours ago

        Be safe out there and use xcancel.com instead

        • SubArcticTundra@lemmy.ml
          link
          fedilink
          arrow-up
          27
          ·
          18 hours ago

          Thank you, i needed this proverbial internet condom

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

            Eugene, is that you?

    • sirdorius@programming.dev
      link
      fedilink
      arrow-up
      33
      ·
      18 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
        11
        ·
        14 hours ago

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

  • Vince@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    19 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: [email protected]

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.

  • 2.98K users / day
  • 5.24K users / week
  • 8.35K users / month
  • 17.8K users / 6 months
  • 1 local subscriber
  • 31.3K subscribers
  • 2.31K Posts
  • 90.6K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org