nikhil.io

fifty-one things tagged “references

Some Amazing Things You can do with Modern CSS

Plenty of good stuff on there but this totally blew my mind. Consider this custom tag (should be lowercased and contain hyphens. Emojis are allowed!):

<cool-thing shadow>wow</cool-thing>

and this valid CSS:

cool-thing {
    display: flex;

    &[shadow] {
        box-shadow: 1px 1px #0007;
    }

    @media (screen < 480px) {
        flex-direction: column;
    }
}

The only thing missing from my beloved SASS are mixins but I suppose you can achieve that by composing attributes (like shadow above). Super cool.

Telugu Script Components

Telugu is a phonetic language, written from left to right, with each character representing generally a syllable. There are 52 letters in the Telugu alphabet: 16 Achchulu which denote basic vowel sounds, 36 Hallulu which represent consonants. In addition to these 52 letters, there are several sem…

Levels of Jhana

When I was a kid, I’d close my eyes and allow the strange shapes caused by the night lamp and blood flow in my eyelids to put on a small dance and lull me to sleep. Many a time, as I’d relax and drift away, I would suddenly feel this ‘inflation’ and loss of personal boundary and sense of geometry.…

Guide to Book Conditions

Reproduced here via AbeBooks with this caveat: The definitions below are for reference only. Booksellers use these terms, as well as unique terms not included in this list, based on their own criteria. If you would like clarification on any term in a particular seller’s description, please contac…

A List of Hacker News ‘Classics’ (jsomers.net)

When you’re following a bunch of feeds, it’s easy to forget that the web is the greatest library in the history of the world—and that a good library doesn’t just have a rack of newspapers, it has a vast collection of books and archives: the stacks. These are stories that get reposted a lot. Many…

Light Pollution Map

DarkSiteFinder is a map of light pollution around the world. The maintainer explains why he doesn’t use the Bortle Scale. In Iowa, Lake Sugema and The Whiterock Conservancy appear to be the ‘best’ places to see some (more) stars.…