Giter VIP home page Giter VIP logo

blog's Introduction

I am Nate

This is where my blog lives

This may be hosted elsewhere at some point

I don't really feel like setting up hosting right now

Note on my writing style: "Why waste time say lot word when few word do trick?" ~Kevin

btw if you like my stuff, feel free to check out my youtube, twitch, and x.com all linked here

blog's People

Contributors

douglance avatar npmaile avatar thomasqueirozb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blog's Issues

Speak English to Me, The Secret World of Programmers

I did not find a place to comment on your post...
But, the maim problem IMHO are not software themselves, but it is a matter of mindset...
Windows and MacOS worlds, especially the former, were design to raise generations of illiterate IT people...
They have detonated their narrow minds with the "point-and-click" computer life-style that is hard to knock down...
If schools, universities and government agencies do not fight this trend, I bet they will not - because they already have been bought by these big players, we will end-up in a "Idiocracy" < https://en.wikipedia.org/wiki/Idiocracy > society...
But, do not be fooled, because I also have crossed and dealt with people who have IT computer degrees who also did not know what unix/Linux, openSource, FS and the like was and were and are slaves of M$ in their personal life and work...
Do not conclude that Programmers everywhere in the world know their craft in a deep level.
I also have seen some of them who do not know how to use a terminal for installing and configuring simple things...
Sorry to comment your post here...

Some "flashbang" corner-cases

I find your term of "flashbang" extremely accurate in how I feel when I open a web site at night and it blinds me with a white screen. Thanks for coming up with it!

However, the solution you are proposing, in my experience, doesn't work quite as well as one hopes; it does indeed switch the site to a dark-mode palette, however it doesn't eliminate the following problems:

  • some browsers (like for example Firefox, at least a few versions ago) default to a full white page even before starting to load the actual content, and even if the browser is using a dark-mode theme; I don't know if this is still the case, because I've used the following chrome/userContent.css to fix this:
@-moz-document url(about:blank) {
    * {
        background: #2a2a2e;
    }
}
@-moz-document {
    html:root {
        background: #2a2a2e;
    }
}
@-moz-document url-prefix(http:), url-prefix(https:), url-prefix(file:) {
    html:root {
        background: #2a2a2e;
    }
}
  • some browsers will eagerly start rendering the partial HTML received, before loading the CSS, thus if the site owner puts that CSS in a file, at the end, you'll still get the "flashbang" effect (although for a limited time); one solution is to put that in <head><style>... as close as possible to the beginning of the HTML;

  • in recent releases, there is another option to instruct the browser that the site prefers a dark-mode color scheme, and the browser would choose the colors; this is achieved by the following <head> snippet <meta name="color-scheme" content="dark" />; it is specified here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name

  • in relation to the previous item, it appears there is also a color-scheme CSS attribute that does the same: https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme

Thanks for the article!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.