Dolorosamente

The rain leaked through an ash sky that the sun had chosen to forget, and the streaks of light that pierced the clouds seemed to be its own way of mumbling an apology.

The dawn, as no wise man ever said, was simply a yellowish night without the odd star marring the darkness. Buildings – little more than spindly piles of damp, flaking brick and plaster – stood, bent, but still not broken, against the ceaseless downpour that threatened to turn civilization into a damp shadow of its former self. And then there were those who lay low and listened, not in the least perturbed by the droning of the raindrops.

The sombre melody of the raindrops falling to the earth was at once distressing and enchanting; it was a complex, nuanced rhythm that often seemed to have a voice of its own. It spoke of the cruel wrongs it had suffered, of the halcyon-days-in-sunny-meadows that everyone loves to remember, of the ecstasy that only a glorious fall from the heavens could exhilarate one with – and of the things great and small that it had seen as it fell before and flew past man and brute alike. It was occasionally angry, sometimes frustrated, often thoughtful and mostly morose. Some had died, some had killed and many had simply given up on life because of the dark, disturbing beauty of the rain. Yet, there were those who lurked in the shadows and listened intently to the music of a motherly Nature feeding and comforting the few stalks and roots that remained.

And in a small, quiet corner of the town, in an alley overhung by the finery of bakeries, stood a young boy shivering with cold and fright. He had a little puppy in his arms and an incongruously large backpack on his back. The puppy was staring: right up at the massed army of clouds that darkened the sky with cold fury. It looked with apparent wonder in its eyes at the shimmering drops falling from their exalted position in the heavens. Its eyes seemed to reflect the staid hopelessness that had enveloped life – a farce where all one could do was scavenge for survival to the tune of a liquid metronome marking off the moments as they crawled past with reluctance.

He bent down, put the puppy on the ground and took his backpack off. He opened it and pulled out a long, grimy shotgun. The fear that he had felt when he first held it had slowly turned into a distasteful familiarity. It needed reloading, but he did not bother with the shells which he knew were stowed away somewhere in the backpack. He had had enough of the shotgun. It was too heavy, and, besides, it needed weird black batteries filled with gunpowder, unlike his other toys.

He thrust it back into his backpack and took out something much more pleasing to his nine-year-old heart – a few peanut butter sandwiches tied up with a handkerchief that had once been blue. The sight brought back faint memories of a green Donald Duck lunchbox with a plastic spoon (or was it that most delightful of all inventions, the “spork”?) inside.

He quickly pushed the thought away, with the haste of a recovering addict eager to shield himself from a fatal glimpse of his marauding beloved, and untied the bundle. He threw a sandwich to the dog – with an offhandedness born out of the dust of roads longer than one like him was wont to weather – and took one for himself.

He raised the sandwich, trembling, to his mouth – and paused, as he felt himself failing to stop the all-too-familiar ache for starlight never to be seen and hours never to be struck again.

A little contraption of bread and peanut butter flung itself against a dim alley wall, as a child burst into tears.

Explained: Scanning Electron Microscope

awesoham:

A nice post by a friend.

Originally posted on Astro Wavelength:

Introduction
The invention of the Electron Microscope has taken microscopy to a whole new level. Two types are most commonly used: the scanning electron microscope and the transmission electron microscope. In this blog, I’m setting in to explain the functioning of an SEM.

What It Means
As the name implies, an SEM works with a beam of electrons, that scan across the sample to be analyzed. The signals received are then analyzed, and that’s all it takes to build up an image of the sample.

An image from a Scanning Electron Microscope. Such images have a very distinctive depth-of-field. Image Credit: Wikimedia Commons

Sample Preparation 
You just can’t put in any sample just like that in an SEM to view it, unlike with optical microscopes. Preparation of samples is an integral part of electron microscopy using an SEM.

To begin with, you have to ensure that the specimen…

View original 1,122 more words

Cadence

e32ae3d241b2b246200dcc05390b0dc3

The shelling continued deep into the nights, and by morning, all that was left of the quaint old village was dust, silence and a few wilted plants in their shattered coffins.

As the villagers returned in the morning, first a few young scouts, then a few others, and finally the whole bewildered crowd, they looked like people who’d had their hearts taken out while they were still alive.

One girl knelt beside the debris that had once been the cause of much argument because it would not suffice for a growing family. The remains of the room where her sister had died in childbirth. The roses that peeked out from among the ruins – petals shredded so badly that they would have been soundlessly howling had they been human. The rattle which all of the nine children had shaken and giggled at with wide-open eyes. Then, she turned, with an imperceptible reluctance, to the center of what had once been a marketplace.

Nearby, an old man stood beside a walnut tree. He had given up trying to understand the unfathomable that had occurred – it was enough work trying to hold back a torrent of tears which even the Ever-Merciful would not be able to stop. He stared blankly at a portrait of her – a portrait which he always said he liked less than the 76-year-old love of his life. Alas, where was she? Where had she been when he ran out?

He bent , and it was not his hunched back that pained him, but the loss of the only star he had ever needed to hop, skip and jump on his own seas. He picked something up from among the rubble. It was a simple silver ring, stained with the red of blood and the sorrow of tears. He turned, for the last time, toward the marketplace.

Slowly, the whole village was dragging its feet to the square.. Some wise man once said that an army marches on its stomach. They wouldn’t have known – but it was probably not hunger that brought them to the center of the marketplace.It was not food they wanted for – they had never had had much of that anyway. It was hope, or rather the absence of hope. It was the fact that all the light that had ever lit their simple lives had gone out in an excruciating instant – extinguished by the cold steely hand of dispassionate War, coming down on a little hamlet that was hardly a formidable adversary for his man-made apocalypses, and ending anything that had ever meant anything to them.

And as a wail went up from the rubble – a wail that only a mother robbed of her child can wail – they strode, as one, over the brink. The wail stopped, and the shadow of a human being that remained walked right into the crowd and joined the blank stares that looked skyward, at the shell that hurtled down towards them in its eagerness to release them from all that remained.

under_the_spreading_chestnut_tree_by_thephantomsmuse-d4uszpk

The Glyphcube: My Epic Rubik’s Cube Mod!

[A little backstory. I wrote this post back in October 2013, but never got around to publishing it since I hadn't taken pictures of my cube. Now, I take a Rubik's cube to school often. I'm also famous for my God-given ability to lose things. The unbeatable combination of these two things is responsible for the next two sentences. I lost this cube last year, and so you won't see pictures of all the faces. They're lost forever. Sob.]

Imagine an evening during Durga Puja here. Now replace the image of the grinning, phuchka-downing, pandal-hopping Bengali with an image of a (then) 14-year-old down with a cold and a fever, sitting at home. He’s obviously displeased. He takes a shaving blade, and…

…picks up his Rubik’s cube and starts making shapes on its faces (or cubies, or cubelets, or whatever you like calling ‘em). Yeah, that was me.

OK, time for a little explanation. I scratched the paint off this cube to make nice symbols . Now, the white face was left alone, so five faces were left. And there are nine ‘facelets’ on each face, for a total of 45 symbols.

Here are some pictures (taken with the camera on my mother’s phone since I couldn’t remember where our H70 was):

 

What I did:

  • The yellow face
  1. The top-left shows a random bit string of length 18 (it evaluates to 742637, which is pretty uninteresting!)
  2. As for the middle-top one, let’s just say I’d been listening to Achilles’ Last Stand all day…
  3. The third one is an asterisk (duh) and was chosen for the supremely important top-right position because of its use as a symbol for multiplication, because it stands for convolution, and because it’s part of nearly every regular expression. And movie subtitles. Duh.
  4. The middle-left is a lambda. What can I say? From wavelength to lambda calculus to Python, Haskell and LISP (and awesome functional programming in general) to my previous desktop wallpaper – it’s pretty much everywhere.
  5. The center one is a warning sign – only with the foreground and background colors interchanged. (I should have made it red instead, right?)
  6. The sixth one. Yes, the middle-right one. (It’s all right if you’ve stopped breathing in awe. Take your time.) Beauty in a symbol. The Golden Ratio. Yes, 1.61803398874989484820458683436563811772030917980576286213544862270526046281890…!
  7. The bottom-left one was originally intended to be a simple plus-minus symbol (OK, if you want a philosophical explanation of why I put that here, it was to celebrate the duality inherent in everything – even the simplest middle school quadratic equation – no, just kidding, I like how it looks) but I kind of made the minus sign too thick and ended up joining the plus and the minus. It looked a bit like a grave now, so I scratched a thin line on each side of the minus to make it look like a convincing one.
  8. I intended the next one to be a water sprinkler (think Feynman’s inverted one), but somehow ended up drawing a shower. Hooray for 20-second baths (and for fluid mechanics, which I viscerally detest)!
  9. The last one is a sun. It represents a new beginni… oh, go read the ending of a Dan Brown for all that. We now turn the cube (an x rotation, fellow cubers. Then we do a y’ to make sure we’re looking at the symbols the right way.)
  • The blue face

This face (part of it, at least) celebrates simple combinatorics, statistics and what-have-you (sorry if you expected me to scrawl the q-Vandermonde identity or the Dirac distribution on a facelet :D).

  1. This one’s k, the most commonly-used variable over which we iterate on a summation or a product. <says the next sentence in one breath> sumktothenegativekthforkfromonetoinfinityquick!
  2. The middle-top one is 26. Or… is it? The center of the six was scratched out intentionally (you didn’t think I did it accidentally, did you? mwahahaha <maniacally laughs at evil level of skill in scratching paint off Rubik’s cubes>) so that the six could be made to look similar to an opening  single quote. This makes it stand for two things: 26, the number of letters in the English alphabet, and 2 followed by a quote – 2′ – which could be taken to mean “double-quote”.  (I like quoted speech and string variables a lot.)
  3. The next one is, plain and simple, infinity. (Pedants, positive infinity.) (Malevolent pedants, positive uncountable infinity.) Often used for upper summation limits, never mind all those paradoxes and philosophical questions.
  4. The fourth was the first design I made on the cube. Don’t call it a random set of scratches – it’s modern art. (Or does it look like a river delta? Delta? That’s coming later.)
  5. The blue center is a percent symbol. It also stands for the modulo operation in C, Java and so on (and I remember every mark I’ve lost because I wrote % instead of MOD when we did QBASIC in school. Sad memories.)
  6. The next one is not a six turned 90 degrees clockwise. It’s a lowercase sigma. Standard deviation, yeah!
  7. The next one is about for the second-biggest* lie children are ever told. “NO NEGATIVE NUMBER HAS A SQUARE ROOT IF YOU SAY SO YOU’RE WRONG SHUT UP AND DO THE SIMPLE INTEREST SUMS I’VE SET YOU.” The imaginary unit. A high-school student’s version of the belief that one day, you’ll find out that everything’s possible.
  8. Bottom-left – capitalized, though it should have been lowercase –  is an n. It’s there because it’s often used as the upper limit for summation (though many people use this as an iteration variable as well). Oh, and it’s a common variable name anyway :)
  9. The last one is awesome. e. The “base of natural logarithms”, according to Wikipedia. Or, as the awesome Kalid at BetterExplained puts it, it is “the rate of growth associated with all continually growing processes.” Yeah, there’s a mathematical constant talking about what those health drinks claim to do! Time ter turn over to da green face. (x2 y’, cubers.)
  • The green face
  1. The first one, on the top left, is interesting. Srinivasa Ramanujan (once, and still, a role model for me) once scrawled “1 + 2 + 3 + 4 + . . . = -1/12″ in his notebook. Although that is (obviously) false, it is a case of what is called Ramanujan summation, and you can read about it here. I put it there because it’s compelling, mind-bending, and because I think that a person who solved problems by saying “I knew the answer was a continued fraction, so I simply asked myself – which one?” deserved, even demanded, a place on my cube.
  2. The second one is a symbol for the console. The command line. Terminal.app for Mac guys. The home sweet home for every self-respecting developer (I’m looking hard at you, Dreamweaver users) worth his line endings. (I rock oh-my-zsh, if you must know.)
  3. The third one is fire. Not Fire (IIRC the subject of a common question in quizzes), but plain old fire. Again, you can find everything it stands for (vitality, health, change and such-like) all over.
  4. The fourth is the uppercase Γ, which I’m using here for the gamma function. So you wanted to find the factorial of one-half, huh? Well… it’s actually quite pretty. it’s the square root of π. (Previously referenced malevolent pedants, the positive square root of π.)
  5. Σ, uppercase sigma, stands for summation. You can do a few things with summation, right?
  6. Pr stands for probability. It’s all about stuff like whether you have more chances of getting a six on six dice, or getting two sixes on twelve, or three sixes from eighteen. And NFL and La Liga winners. Chances.
  7. The seventh was rather random, so I put Ei – the exponential integral – on that. I remembered it from a PDF on numerical integration I was going through. (I think I should have put a Lambert W there, right?)
  8. The eighth is a tree. Freshness, growth, and the like.
  9. The ninth is the beautiful von Mangoldt function. I first came across it on Terry Tao’s blog. It’s very interesting, and it often crops up when one’s studying the zeta function. (Twice-referenced malevolent pedants, the Riemann zeta function.) Time for the red face. z’ y time, cubers!
  • The red face
  1. The first one is modern art, like one facelet we’ve seen before. If you forced me to interpret it I would say… erm, perhaps a comet orbiting the sun, as seen by an alien through a dirty telescope?
  2. The top-middle one is a theta in a picture frame. Wow. Sleek and angular. This is TIME LightBox material.
  3. The top-right one is a comet (or a meteor). I like ‘em (and like the numbers behind them!), but I’ve never seen one through my telescope.
  4. The fourth is (embarrassingly) the second instance of a mundane fire – but it’s rotated through ninety degrees. What can I say? It was one of the first designs I made on the cube <sheepish>
  5. dx is straight out of calculus, and is the only thing common to a derivative (remember the dx in the ‘denominator’?) and an integral (that thing people forget to put at the end, and therefore decide to put at the beginning when they go advanced).
  6. Pi. π. The “best” number ever, according to many. The most profound number in mathematics. So much so, that I’ve got to stop beating myself up for not putting it on a center.
  7. ħ (h bar), the “reduced Planck constant“, is one of the lone physics references on this cube. It’s meaningful as it’s deeply related to how small things can be – you have a Planck time (the smallest possible meaningful length of time), a Planck length, a Planck mass, a Planck charge and everything else short of a toothbrush in Planck units.
  8. Delta, the mathematical symbol for change (as Robert Langdon unconsciously starts explaining to a physicist). Be the Δ you wish to see, said a certain wise old man once.
  9. This was supposed to be a ζ (for the Riemann zeta function – what is the probability that two randomly selected numbers are coprime?), but I couldn’t  make the shape properly, so I scratched it out. Go, do an x2 y’ and look at that orange face.
  • The orange face
  1. The top-left one is “America’s favourite pictogram” (why does Dan Brown keep cropping up?) and I really am proud that I put it there. A fork and a knife – because a spork can do everything a spoon can.
  2. R’ is one of the commonest Rubik’s cube moves, and means to turn the right face 90 degrees counter-clockwise.
  3. The third one is a misspelling (?) of -1, and it’s half of the world’s “most beautiful equation”<teary-eyed awe>
  4. The fourth one was nice. It’s an LED matrix, and it can show all the digits (and a few letters) if you light up parts. Old-school calculators, anyone?
  5. The fifth one was kinda crazy. This center was scraped into a likeness of a Rubik’s cube itself. (To get your mind bent, imagine that cube having a drawing of a cube on its orange center. And that one too… Recursion \m/)
  6. The right middle one was supposed to be a simple line drawing of Ma Durga (goddess Durga, a symbol of the victory of good over evil), but I botched it. You can still see the eyes, the nosering, and the shaft of her trident, though.
  7. The seventh is a contour integral (over the contour C**). It’s how you integrate crazy things like this.
  8. The bottom-middle one is the last random fire. This one looks like a blowtorch, though. Oxy-acetylene, maybe? (See, I added a bit of chemistry too!)
  9. The last one. Almost fitting. The Bernoulli numbers (at even indexes***). They’re applied almost everywhere – for example, remember that the sum of the first n positive integers is half of n times (n + 1)? That’s an example of Bernoulli numbers in action. They’re also found in quite a few other places.

That’s it! Tell me what you think of this in the comments :D

[I am pretty bad at cube rotation notation (rhymes!) so please correct me if something was wrong.]

* the biggest lie is that “the needle won’t hurt – it simply feels like an ant’s bite!”
** thrice-previously-referenced malevolent pedants.
*** or indices, if you like.

Stats, Stats, Stats!

Screenshot from 2014-02-04 10:37:12

Okay, so it’s been some time since I started this blog, and since I had nothing to do today, I’m posting some stats.

March was the month I started the blog, but I made almost no posts. A couple of posts were made the next month. I forgot that this blog existed for the next four months. Posting increased , and so did my views. The last 3 months of last year saw a spike in views, due to the Project Euler post, and also the Android ViewPager post which I made.

January was my best month till now, because I started posting some of my writing – and people liked them, apparently. Well, I can’t complain. Besides, there’s a lot more coming up, so, if you’re reading this, you might wanna check back later.

Till then, scroll down and take care ;)

Nacht der Walküren [WIP]

Valkyries on the wing
Thralls to hearts of stone
Resolve to which memories cling
Ecstasies bitter to the bone.

Time is fast, time brooks sloth
Time alone flies not
Valkyries nine, we shadow clouds
And take the brave who in battle rot.

The spawn of thought rises, rises
Ever nearer the sun
Twins born of wisdom ascend
Twin shrieks rise as one
Sisters draw a sister down
Wings bear down upon wings
Ascendant hope falls to earth
To the bowed keen of strings.

(more to come!)

[another work in progress. The title is German for "Night of the Valkyries", a reference to Richard Wagner's Ride of the Valkyries (Ritt der Walküren). Let me know what you think in the comments.]
[I'd love to set it to music!]
[this might just be the beginning of an obsession with Scandinavian mythology :D]

The Lay of the Cloak [Work in Progress]

[this is a poem I wrote. I set it to music, to a tune similar to that of "We Three Kings". it's a work in progress. I'm sorry about the capitalization.]

Verse 1

Sing, O sing, O daughters of youth
A song of welcome for a stranger unliked
A cloak, a scythe, a stare and a sigh
A hand that reaps the earth and the sky.

(more verses to come)

Chorus

O behold him here, behold him alive
The roots, the embers an’ the ashes of time
Ever-vigilant, quietly triumphant
A ruler feared once, but never again.

[as I said, more verses are in the pipeline. Just wait till I get over with the exams ;) Oh, and be sure to tell me what you thought of this in the comments!]

[what would you say to a black metal version of this? with Emperor-esque spewed growls and all? :evilgrin:]

Return of the King

vividity overflows
grey looks on,
green

[the 'green' in the last line refers to jealousy]

Eight Cantos of Time


A light touch gives birth to a note
That sets as quickly as it rose.

A promise lies dead where fingers
Strike a chord and draw cruelly away.

Every now and then, the fingers
Descend in unison
As heralds of a newborn sun.

The drizzle that reverberates
Through His expansive halls
Is but the echo
Of the forgotten multitudes.

Aeons pass, and the melody awakes as if from a fabled slumber
An overarching joy
Breaks through the drone of the superfluous.

A deafening silence descends -
A silence that is but a prelude to a thundering epic
Its rhythm rising and falling in tandem
With His exquisitely choreographed chaos.

Then discord lets fall its precise fingers, slowly at first,
Adding to the music minute notes which are beautiful
Even in their dissonance
And but embellish His majestic harmony.

It is then that anarchy breaks through
Bringing an iron fist down
Obliterating every remnant of a melody that was supreme even a moment ago
Shattering all that was and all that could be.

Hallowed tears fall and serve only to moisten
The shattered ivory
Strewn over a newly-chequered floor.

[I wrote this poem last week. It envisions God as a pianist playing a never-ending melody that embodies all that is our world, and how He expresses His sorrow at the death of a great human being. The "eight" in the title is a reference to the number of octaves found on some of the better grand pianos.]

Runaway Mushroom

A streak of fire cleaves
The cerulean of the sky.

It suddenly cuts back
And arches up wide.

Fishtailing wildly
It shreds the heavens wide.

It spins round
And whistles down straight. Instantly

Two million souls are
Freed of their bonds
As night turns into day.

[another 2012 poem]