[–] 8 points 8 months ago

I like the idea of using CSS variables for consistency.

Many years ago, before CSS variables were a thing, I did a very similar thing using a LESS function:

$zindices:
  hero-mobile,
  nav-bar,
  hero,
  nav-contents;

@function zindex($layer) {
  @return index($zindices, $layer);
}

Which would be used like:

z-index: zindex('hero'); 

The z-index value is just that string's position in the list.

  • source
  • [–] 7 points 8 months ago (1 child)

    Well given how many times I've tried z-index: 999999 and it didn't do what I wanted it to, the value of z-index is apparently multiplied by zero.

    (OK fine, I'll read the article...)

  • source
  • [–] 3 points 8 months ago

    That /unsaved/{id} path with a unique server-assigned identifier means your diff content was transmitted to and stored on their servers.

    Not necessarily. URLs can be changed client-side, within the browser, through JavaScript. The fact that the URL changed to unsaved alone is no proof. It could very well be browser-local, labeled unsaved and held in session store for example, ready to be saved.

    With the other indications, you can of course make a guess and/or consider it a strong indication.

    It should be pretty obvious/observable when observing interaction and network requests within the browser. A network request with the content as body would be much better proof.

  • source
  • [–] 6 points 8 months ago*

    I have never understood how a dev can be comfortable pasting a valid jtw Auth token into a random website to decode it, when there are several very good cli tools that will do this for you locally, faster, and much more securely

  • source
  • [–] 13 points 8 months ago (1 child)

    Site 5: regex101.com — The Honorable Mention What it does: Regular expression testing and debugging Why it is different: regex101.com stands out as significantly more privacy-respecting than the others tested. Here is what they do right:

    My boy regex101, sorry if I ever doubted you.

    I love you

  • source
  • view more: ‹ prev next ›