Logo
Whitespace: Programming with just spaces and tabs.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Spinners Memes

Posts tagged with Spinners

For That Modern Web Feeling

Javascript Webdev Programming Frontend
3 months ago 354.6K views 0 shares
For That Modern Web Feeling
Someone literally wrote 15 lines of JavaScript to make a page fade out. You know what else makes a page disappear? Closing the tab. Takes zero lines of code. But no, we need to set the page opacity to 30%, create a spinner element with inline styles that would make any CSS developer weep, position it dead center with transforms (because apparently flexbox is too mainstream), add a linear infinite rotation animation with hardcoded pixel dimensions, append it to the body, wait 750ms, then fade everything out and remove the spinner. All of this to simulate "loading" when the function literally does nothing except waste three-quarters of a second of the user's life. Modern web development is just adding spinners to make users think something important is happening. Spoiler: it's not. The best part? The setTimeout callback has an empty action() function. Chef's kiss. Peak web engineering right there.

Today's picks

DAYBETTER RGB Light Bar, 360° Smart LED Light Bar for Room, Music Sync Gaming Lights, App & Remote Control Led Lights for TV Backlight, Desk Light Bars for Game Room, White

DAYBETTER RGB Light Bar, 360° Smart LED Light Bar for Room, Music Sync Gaming Lights, App & Remote Control Led Lights for TV Backlight, Desk Light Bars for Game Room, White

Affiliate
$11.99
PhD in googling

PhD in googling

Programming
70.3K views 3 years ago
What would you prefer?

What would you prefer?

Programming
66.8K views 4 years ago