Blog

Featured Posts

  • Nikon Small World 2023

    The Nikon Small World microphotography contest is full of great photos. My personal favorites, in no particular order, are: Venomous fangs of a small tarantula: Sphagnum moss with two air bubbles on the sample: Carpenter bee (Xylocopa violacea) head and antenna:

    Read more


  • Dark Mode Fixed!

    For a while, dark mode on my site wasn’t working that well. Turns out that WordPress was, for some reason, using !important on one of the background color rules. I was able to fix it with some CSS:

    Read more


  • Courses at Stanford OHS

    ,

    I’ve realized that I haven’t really talked about the courses I have taken/am taking at OHS. Core courses are courses that everyone in a grade is required to take, and while some courses have Honors in their name, there’s usually not a regular non-Honors level course at OHS. Last year’s courses (9th grade), in no…

    Read more


  • Word Generation

    ,

    I had an idea for a way to generate fake words from dictionaries a few months ago and I made it. I totally forgot that it existed and just remembered, so I’m posting it here. To generate fake words, a method that I thought of (almost definitely not the best) is to make a graph…

    Read more


  • macOSicons

    ,

    I sometimes submit icons to macOSicons. It’s a great place to get icons and is paired well with Pictogram. My username is shreyasm-dev.

    Read more


  • Keylayout – Here’s to the crazy ones

    Something small I noticed: the image for .keylayout files on macOS is the text of “Here’s to the crazy ones” from Apple’s Think Different ads.

    Read more


  • Oranges

    As far as I can tell, there’s one very common way to say orange in Indo-European and other language families: This is derived from Sanskrit, which I knew. What I didn’t know was that Sanskrit took ‘nāraṅga’ from Proto-Dravidian, the ancestor of Telugu, Tamil, Malayalam, Kannada, etc. For example, Telugu uses ‘nārinja’ (I speak it,…

    Read more


  • x86-64 zsh on aarch64?

    ,

    I was recently trying to optimize my shell startup time, and I noticed that zsh –version said that it was x86-64, while bash –version reported (correctly) that bash was running on aarch64. file $(which zsh) and file $(which bash) reported, also correctly, that the binaries themselves were universal, i.e. they were fat binaries that could…

    Read more


  • Userscript: npmc

    , , ,

    npmc (npm package manager chooser) is a userscript that allows you to choose the package manager and flags to use when copying an installation command on npmjs.com. Using When you first install the userscript and visit an npm package page, you’ll notice that in the sidebar on the right, a few things have changed. The…

    Read more


  • Useful Shell Functions/Aliases

    , ,

    These are some shell (specifically zsh) functions and aliases I use pretty often that I’ve put in ~/.zshrc. I’ve put them here since they could be helpful for someone else. Some are much, much simpler than others, but I’ve put them here anyway. It’ll be updated as time passes.

    Read more