Cyberia
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
bestelbus22@lemmy.world to Programmer Humor@programming.dev · 2 days ago

For that modern web feeling

lemmy.world

message-square
43
link
fedilink
370

For that modern web feeling

lemmy.world

bestelbus22@lemmy.world to Programmer Humor@programming.dev · 2 days ago
message-square
43
link
fedilink
  • itkovian@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    I have no clue what any of it means.

    • funkless_eck@sh.itjust.works
      link
      fedilink
      arrow-up
      21
      ·
      1 day ago

      “make the page transparent and show a spinning icon, wait 750ms, then make the page display normally”

      it’s a fake loading screen

      • bestelbus22@lemmy.worldOP
        link
        fedilink
        arrow-up
        8
        ·
        1 day ago

        And perform the action you actually want to do after the delay

      • Rooster326@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        1 day ago

        It’s a real loading screen

        • itkovian@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          1 day ago

          It’s a real fake loading screen.

      • AnUnusualRelic@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        22 hours ago

        Shouldn’t it be 750 seconds? Who’s going to notice a slowdown that’s below one second?

        • bleistift2@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          4
          ·
          22 hours ago

          To your first question: The arguments to setTimeout and setInterval (and I believe everything else in JavaScript) are in milliseconds.

          Second question: Everybody, unless you’re a 90-year old, demented grandma.

          • AnUnusualRelic@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            19 hours ago

            With most web pages pulling megabytes of crud to display anything, I’m not sure a 0.75 second delay would change anything much.

        • xthexder@l.sw0.com
          link
          fedilink
          arrow-up
          2
          ·
          22 hours ago

          3/4 of a second is quite noticeable. Most UI animations are only 100-200ms, and if you disable them, things feel faster but less “polished”. Try it out yourself on your phone UI if you’ve got an Android.

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.23K users / day
  • 4.4K users / week
  • 8.25K users / month
  • 17.3K users / 6 months
  • 1 local subscriber
  • 28.6K subscribers
  • 1.32K Posts
  • 27.8K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org