A persistent Table of Contents

A recent discussion on Wikitech-l lead to the idea of having a persistent Table of Contents on Wikipedia articles. Timo had shared the Underscore.js and Asciidoctor docs as examples but I liked Bootstrap’s the best because it collapses headings and shows you where you are. I sat down to experiment and came up with this —

toc expanded wikipedia

toc expanded wikipedia

You can try it by adding the following code to your common.js

The table will show up on the side once you have scrolled past the first heading. There are a few bugs and I am not collapsing headings as I am not yet sure if its necessary for Wikipedia articles. Feedback and ideas are welcome!

Church Bells

Since the day I started getting up early, there have been church bells. Every morning, without fail — 6am in Mumbai, 5am in Goa — never missed a day. Until, they did.

For a week or so I heard nothing. I’d even go out to the balcony hoping to catch a faint note. I never gave them a second thought while humming along, but when they were gone I wondered where they came from and who sounded them. Though I still don’t know their origin, at least I know I won’t lose them again.

churchbells

When googling and playing every sheet I could find didn’t work, I tried to play them on the keyboard from memory. After a few attempts I had something and by sheer luck it was even in the right key.

I have never had to pursue the identity of sound like this. Not knowing the lyrics, the genre, or even a time period, I feared it might only live as a thought in my head. I sought this one out, but so many songs that I pass by in restaurants, on the streets, at carnivals and in people, will sadly be lost.

Searching for the piece by key was fruitful, I found sheets with improvisations and a video of someone playing those sheets.

Wikis don’t lie

prtksxna: The wiki wasn’t lying when it said that this channel was friendly :)
KartikPrabhu: prtksxna: people here write the wiki :P
prtksxna: :)
prtksxna: Note to self: People lie, wikis dont :P
KartikPrabhu: haha
prtksxna: Wikis can’t, rather.
KartikPrabhu: “wikis don’t lie” new Shakira hit single
prtksxna: /o\

(with KartikPrabhu at #indiewebcamp)

dichotomy

/dīˈkädəmē/

  • a division or contrast between two things that are or are represented as being opposed or entirely different.
  • division into two mutually exclusive, opposed, or contradictory groups.

— A rigid dichotomy between science and mysticism.

Pragmatic Thinking & Learning

by Andy Hunt

This is probably the fastest I have ever read a book. In just a day it gave me a lot to try and think about.

Reinforcing some of my own thoughts, it gave me validation to try out techniques I would otherwise feel uncomfortable with. I can foresee it helping with some of the programming concepts that I have been struggling with.