Hackathon 2012Casual dress code

What a 16th Century Samurai Teaches Us About VOICE - Part Three

Jeff Leeson

This is the third post in a series on YP's VOICE principles and the philosophy of Miyamoto Musashi as written in The Book of Five Rings. The translation of The Book of Five Rings used here was sourced from WikiQuote.

You can start from the beginning of the series here.

We at YP practice the VOICE principles (Velocity, Ownership, Innovation, Collaboration, and Execution), striving to embody each of them in order to become more effective at not only our jobs, but in our personal lives.

In the 16th century, a Japanese Ronin (a lord-less samurai) named Miyamoto Musashi wrote The Book of Five Rings. In it, Musashi describes his philosophy, called “The Way” of sword fighting, which is still studied today and can be applied across any discipline.

This series explains how the sword fighting principles of The Way can be generalized to each VOICE principle, leading you to a more productive life. In the previous entry, I wrote about how Musashi’s teachings relate to Ownership. In today’s post, I’ll be covering Innovation.

Innovation

Use of the word “innovation” has increased dramatically over the past 65 years, and for good reason. The definition of innovation, per Merriam-Webster, is “the introduction of something new” or “a new idea, method, or device.” Given the rapid pace of change in this time frame alone, it’s understandable why the term has increased in popularity, particularly in the fields of technology and organizational development.

Innovation is something we strive for both as an organization, as well as individually. As an organization, we work to be innovative in our field by creating new products, customer service processes, or sales techniques. Individually, we innovate by trying a new time management system, cutting the cord to our cable/satellite TV, or learning a new language. Only by staying innovative at both the micro and macro levels can we hope to not only stay relevant but earn greater successes.

Here is what Musashi says about Innovation:

Develop intuitive judgment and understanding for everything.

At its core, to be truly innovative, you must have complete understanding and the ability to accurately perceive situations. Understanding for everything doesn’t only mean an understanding of the “thing” that you are trying to innovate, but an understanding of many things, including those unrelated. The common phrase of “thinking outside the box”, or peripheral knowledge, refers to the ability of one to apply seemingly unrelated principles or theories to a given problem.

Developing intuitive judgment is similarly necessary, as an understanding of everything is only useful if it is filtered to eliminate irrelevant information. A product manager for YP for Business can utilize understanding for everything by drawing inspiration from a dating app, but (s)he also has to judge whether a feature in that dating app will translate and still be intuitive to a YP for Business user. A sales trainer might want to apply the Unix philosophy to his/her curriculum and methodology, but that requires judgment of what parts of the philosophy are more or less valuable to sales than to software. The combination of understanding of everything and propensity for intuitive judgment is invaluable when attempting to innovate in any area.

When the fight comes, always endeavor to chase the enemy around to your left side. Chase him towards awkward places, and try to keep him with his back to awkward places. When the enemy gets into an inconvenient position, do not let him look around, but conscientiously chase him around and pin him down. In houses, chase the enemy into the thresholds, lintels, doors, verandas, pillars, and so on, again not letting him see his situation....

Always chase the enemy into bad footholds, obstacles at the side, and so on, using the virtues of the place to establish predominant positions from which to fight.

What the heck does chasing someone around with a sword have to do with innovation? Nothing! It’s a metaphor for pursuing your enemy (the problem or task) into awkward and unusual circumstances, forcing yourself to examine them from diverse perspectives and attack them in uncommon ways.

Innovation requires us to not only pursue a challenge unrelentingly, but to do so in unconventional ways. We can’t always use a cookie cutter to solve problems; they often require creative problem solving, or more specifically, red teaming. Take a big step back, throw out all of your preconceived assumptions, and re-evaluate how to best tackle the challenge.

"To release four hands" is used when you and the enemy are contending with the same spirit, and the issue cannot be decided. Abandon this spirit and win through an alternative resource.

In large-scale strategy, when there is a "four hands" spirit, do not give up - it is man's existence. Immediately throw away this spirit and win with a technique the enemy does not expect....

"To renew" applies when we are fighting with the enemy, and an entangled spirit arises where there is no possible resolution. We must abandon our efforts, think of the situation in a fresh spirit then win in the new rhythm. To renew, when we are deadlocked with the enemy, means that without changing our circumstance we change our spirit and win through a different technique.

These strategies are similar, and can be interpreted in several ways. One is that we (YP and other companies in the local space) are competing with one another in equal ways and with equal vigor, and we (YP) must abandon this head-on battle and fight via other methods to succeed. Another is that we cannot win by duplicating the features of others, whether they’re products, processes, or methods, but we must creatively solve these for ourselves. A third is that to simply fight with an opponent in the space, using the same methods, will not decide the battle. Innovation is required to disrupt the status quo and become more than we are now, more than just the sum of our parts.

Many things can cause a loss of balance. One cause is danger, another is hardship, and another is surprise. You must research this.

In large-scale strategy it is important to cause loss of balance. Attack without warning where the enemy is not expecting it, and while his spirit is undecided follow up your advantage and, having the lead, defeat him.

Innovation in an area causes a loss of balance. It puts competitors off balance (in a bad way, for them) and it puts customers off balance (in a good way, for them). Danger, hardship, and surprise can cause one to lose stability, all of which are inevitable situations one will face without change and innovation driving us forward.

Stagnation is also a loss of balance, but in the opposite direction. Disruptive change is necessary to prevent that stagnation, but too much disruption can also cause one to lose balance, not allowing a foothold to be gained.

To defeat one’s “enemy”, whether it be a competitor in the market, a challenge to solve, or a conflict with another person, one must maintain one's balance, while working to throw off the balance of the other. Correspondingly, to simply innovate isn’t enough. It’s equally important to follow through with the advantage provided by that innovation, as others will be quick to duplicate it.

In this world it is said, "One inch gives the hand advantage", but these are the idle words of one who does not know strategy… From olden times it has been said: "Great and small go together."… In my doctrine, I dislike preconceived, narrow spirit.

Here Musashi is saying to throw out all preconceived notions and assumptions. All options are available and should be used. To narrow one's viewpoint is to limit one's options, therefore limiting one's possibility of success.

In order to innovate, we have to throw out traditions, conventions, and rules. We must work without rules to create something new, something better. Iteration is not innovation, and assumptions about what has worked in the past can’t be used when strategizing for the future.

To innovate, we must free our minds of the boundaries we unconsciously raise within them to make our lives easier.

Conclusion

Innovation is key to strategy in battle and in business. I’ve set out how Musashi’s Way teaches that innovation comes through the understanding of everything, intuitive judgment, freeing yourself of preconceptions, maintaining balance, and creative thinking.

While we can’t expect to wake up tomorrow and decide to innovate, we can set the foundation required for innovation by applying The Way to our thinking. Begin by studying what may appear to be peripheral or unrelated subjects, and examine how your own biases and assumptions may prevent you from hearing or accepting alternative ideas. Lastly, apply the rules of Red Teaming by having someone without prejudice look at it from the outside.

Next in the series we’ll read what Miyamoto Musashi writes about collaboration.

Gratitude is Good

Nathan Cunningham

Gratitude is not only the greatest of virtues, but the parent of all the others.

— Marcus Tullius Cicero (106 BC-43 BC)

Science is increasingly reinforcing what the ancients have told us: Gratitude is a good thing. From Berkley's Greater Good Science Center:

For too long, we’ve taken gratitude for granted. Yes, “thank you” is an essential, everyday part of family dinners, trips to the store, business deals, and political negotiations. That might be why so many people have dismissed gratitude as simple, obvious, and unworthy of serious attention. But that’s starting to change. Recently scientists have begun to chart a course of research aimed at understanding gratitude and the circumstances in which it flourishes or diminishes.

Their findings (read the whole article and lots of other good related content here) support the idea that other good things come from gratitude.

So in the spirit of this, THANK YOU to all the readers of and contributors to this blog and THANK YOU to the leadership of YP for the opportunity to contribute to YP's conversation in this way.

Ways you can show Gratitude: Support the SMB Community

Remember its Small Business Saturday this week - between Black Friday and Cyber Monday - so you can do your bit to support the incredible economic engine that is American small business with your shopping dollars on Saturday. See here for more on that and YP's involvement.

Ways to Give Thanks: An example

In Cicero's words its a virtue, and can lead to other good things, to thank those who help make you successful. Here is a great example written to Peter Drucker by someone who Drucker had directly influenced - full context here.

Alt text

Ironically, all of us have been indirectly influenced by Drucker. He's had a huge impact on business and commerce and life as we know it. We owe him (posthumously) our gratitude as well.

So I ask the same question posed in the article above:

Is there someone with whom you might share a similar sentiment today?

Happy Thanksgiving!

Procrastination from the Inside Out, Part 3: Don't Think Too Hard

Chris Fincher

This post is the final post in a series investigating the ways that procrastination influences and is influenced by the way the brain works. Here is part 1 and here is part 2.

By now, most of the working world has come around to the idea that breaks improve productivity because tired workers don't do good work, and they don't do it very quickly. But there's another reason you should make sure that you take breaks in your work: it makes you more creative. Have you ever gotten a great idea for something when you were taking a shower? There's a reason that tends to happen.

The brain thinks in two modes, called the focused mode and the diffuse mode. The focused mode is exactly what it sounds like. You're concentrating intensely on something and putting all of your energy into solving the problem at hand. The diffuse mode is when you're not doing that, and your mind can wander freely from idea to idea. The focused mode is great for analyzing new facts and patterns, as well as applying the ones you already know. It helps you figure out the fine details of a problem and how to make things work together seamlessly. The diffuse mode, on the other hand, is good for making new connections and approaching problems in new ways. Essentially, your brain is rubbing together the ideas it already has and seeing what makes sparks start flying.

These two modes work best if you can alternate between them. Focused thinking lets you pick up new ideas, diffuse thinking lets you bounce the new ideas off of each other to create more new ideas from them, and then another session of focused thinking lets you explore those newer ideas in detail and flesh them out. Lather, rinse, repeat. It's simple! Unfortunately, that doesn't necessarily mean that it's easy.

A huge amount of literature on how to be productive relies on scheduling, and while schedules can indeed be very helpful, diffuse thinking takes more effort to integrate with a schedule than focused thinking does. Scheduling is easiest when one knows exactly how long a task will take to finish, and while making time estimates is always hard, making time estimates for a diffuse thinking breakthrough is especially hard, since returns can be unpredictable. On top of that, it can feel lazy or self-indulgent to set aside time for diffuse thinking. It doesn't feel like what we've come to expect work to be. This makes some people try to count the time they spend working on one task as diffuse thinking time on another task, and while this sometimes works if the task you're working on is somewhat brainless (e.g. taking a shower, washing dishes, folding clothes), you have to be careful when you're trying this kind of substitution that you're actually clearing your mind and not making it stay in the focused mode for your new task.

Since it's so hard to schedule creativity, it's a good idea to give yourself generous amounts of time in which to create, and that's where procrastination enters the picture. When you procrastinate, you force yourself to do your creative work in one long sitting, which stifles your diffuse thinking and hence your creativity. So when you know you'll have to get creative for something you're working on, fight the urge, and start early! The sooner you focus, the more time you give yourself to have that breakthrough while you're shampooing.

A Brief Summary

So what have we learned in our past three weeks together? (After all, repetition is a virtue!) In order to create, you have to think diffusely, and that takes time. In order to learn and remember, you have to repeat over several days and take the time to do, rather than simply read. That takes time, too. Since procrastination deprives you of time, it's not compatible with maximal learning or creativity. What's worse, there are biological factors making all of us want to do it. The good news is that the urge to procrastinate falls off quickly, so a little bit of grit might be all you need to get past it.

I hope this brief look into the biology of procrastination was interesting and useful to you. I personally find it a lot easier to follow advice when I know why it's supposed to work, so even if you didn't hear any recommendations from this you hadn't heard before, I hope you've gained some background that makes the strategies you already know a bit more convincing. Keep fighting the good fight!

About This Series

I wrote this series to relate some of the things I learned in Learning How to Learn, a course on Coursera taught by Barbara Oakley and Terrence Sejnowski. Any assertions I've made about how the brain works (as well as the term "metabolic vampires") is taken from there. I am usually very skeptical of anything that essentially claims to make you smarter, but I hoped a course with the backing of a UCSD neuroscientist would stay clear of anything pseudoscientific. The material might not be quite what I'd call university-caliber, nor the production values Hollywood-caliber, but it was very approachable and gave me some interesting new approaches for self-improvement. If you're interested in taking it yourself, another session of the class is starting in January. If you just plan on following along and don't think you'll do the assignments (which, admittedly, is what I did), you can join up and read through the material at your own pace. If you'd like a more interactive experience, however, make sure you join an active session. The session I participated in had over 170,000 students, so I suspect they'll be offering this course for the foreseeable future.

Procrastination from the Inside Out, Part 2: The Nonpersistence of Memory

Chris Fincher

This post is part 2 of a series of posts investigating the ways that procrastination influences and is influenced by the way the brain works. You can read part 1 here.

There's a trick you might have seen before that authors and speakers like to use to convince people that they don't really know how their brain works. It's pretty simple: just ask them what they had for dinner three days ago. Unless that dinner was some kind of special occasion, the victim is usually unable to remember. The perpetrator will usually rub in the fact that it was only three days ago, and, if (s)he is a speaker, will turn to the audience with a smug expression that says, "Look at this genius who can't even remember three days ago!"

Should you find yourself being asked this question, here's what I want you to do: contort your face in such a way as to suggest that you cannot imagine the sort of absurdity that would prompt such a question, and ask why in the world you would remember that. If they point out that it was only three days ago, point out that it happened once and it wasn't very important, and those aren't things people remember.

Actually, that might make you look like an uncooperative jerk in front of a lot of people. Use your judgment on whether you want to say that.

Still, that's the way that things work. Things that happen once, unless they evoke some kind of emotional response, tend to fade away. To borrow a phrase, the "metabolic vampires" of the brain sweep them away with all of the minutiae of the day. Did I see a Honda Accord on Sunday? I don't know. Hasn't come up. What did I have for lunch? I don't know. Hasn't come up. How do you use guard clauses in Haskell? Oh, that's easy. You just, uh... Well, you put "if" somewhere. And, uh... I... I don't know. Oops.

This is a problem I'm a little too familiar with. It's the problem with cramming. If I study something long enough in one sitting, I can get to where I feel like I've mastered the material and everything makes sense, and then, when I wake up the next morning, it's all gone. It's especially evident if you study lanugages, programming or otherwise. Immediately after reading a chapter in Learn You a Haskell for Great Good!, I can solve all of the problems in my head, and it seems like the easiest thing in the world. Then, a week later, I might decide to sit down and try to do something as simple as print out the numbers one through ten, and when I sit down at the keyboard, I manage to type about four characters before I realize I don't remember the syntax for something that seemed so intuitive only a week ago. Perhaps you know the feeling. I realize now that it was the metabolic vampires at work.

Since it's somewhat impractical to make all of things we want to learn emotionally significant ("Promise me that if you ever break up with me, you'll read the first 100 digits of pi when you do it. Then I'll never forget them!"), we have two options for keeping the metabolic vampires at bay.

  • Repetition. Revisiting a topic multiple times will multiply the chances that you hold on to that information. Doing something 500 times in one sitting doesn't count as repetition. Instead, split your time between days and spread whatever you're studying across a week.

  • Going hands-on. Actually do the thing that you're trying to learn. If you're learning a language, make some sentences. Say them out loud if you can. If you're learning a programming language, fire up an editor and play with the language. Use the things you're reading about.

You've heard this advice before. Practice makes perfect. But for a long time, I let the quick confidence I got from rushed studying deceive me into thinking I could condense learning into big, isolated blocks. I would read about languages and skip doing exercises on constructs I thought were simple because I felt like I already understood them. Then, when I did come across an exercise I deemed worthy of my time, I would get stuck on the basics. Reading about how the brain cleans up one-time occurrences helped me realize why that kept happening. I'm not going to say I've managed to stop 100%... but, hey, things have improved.

So what does this have to do with procrastination? Well, you can't repeat something over several days if you only work on it the day before you need it. Procrastination begets cramming, spending hours of studying just in advance of when you need new knowledge. While it's possible you can cram enough knowledge into your short-term memory to get through a test or a deadline, don't expect it to stick around afterwards. As night falls, the metabolic vampires will come... and if they come before then, you're in real trouble. Procrastination also deprives you of time to practice what you're learning, which means you might not actually be learning how to do something. To put it simply, procrastination just isn't compatible with learning new things.

In my next post, I'll be finishing out the procrastination series with a look at how procrastination affects the creative process.

Procrastination from the Inside Out, Part 1: Everyone's Got the Itch

Chris Fincher

A lazy cat. Procrastination incarnate.

Procrastination is bad.

"What a bombshell," you're probably thinking, "what a fresh perspective! Why didn't anyone tell me before? This will revolutionize my life!"

Yes, I know I'm probably not the first person to tell you that procrastination is bad. I don't think you can get a high school diploma today without being told at least four hundred times that procrastination is bad. I can only remember reading that procrastination is good once, and that was in The Four-Hour Workweek, which is... non-traditional, to say the least. Anyway, I'm not planning to dispute that procrastination is bad, but I do want to change the way you think about it with a little neuroscience.

What We Already Know

Analyzing how the brain works is tough, so most writing on procrastination avoids talking about the brain itself. Instead, it focuses on how your environment affects what you do and how that, in turn, affects your work. This philosophy of treating the brain as a sort of "black box" is called behaviorism. You might have heard of it if you've taken a psychology class. It's taught us a lot of useful things about procrastination, for instance:

  • People make mistakes. When you procrastinate, you don't leave yourself time to find mistakes and fix them.
  • Procrastination leads to stress. Stress can be bad for your work, your relationships, and even your health.
  • When you procrastinate, you don't leave any extra time to work, so if you underestimate how long your task will take, you miss your deadline. Unfortunately, people aren't very good at estimating time.

These are all great reasons to fight procrastination, but most of us know them and we still do it anyway. With this series, I'd like to explore the things we can learn about procrastination by analyzing it from the inside out, that is, putting aside behaviorism and seeing how procrastination relates to the brain on a physical level. Let's start by looking at how the brain causes procrastination, and how we can use the way the brain works to avoid it.

The Problem

Speaking from experience, I know that it's easy to feel cursed when you seem to struggle with procrastination more than your peers. Well, the good(?) news is that they're probably dealing with it, too. We are all wired to procrastinate. When the brain thinks about doing something unpleasant or tedious, it's actually a little traumatic. The same part of your brain that reacts when you see a baseball sailing toward your head is reacting to what you're thinking of doing, and it's objecting strenuously. So when you open Facebook, Reddit, YouTube, or whatever it is you do to avoid working, even if the content is stale and you're not entertained, you still start to feel better simply because you made the bogeyman of work go away. You can't reason your way out of it. Even when you know that the only logical thing to do is start working, there's always part of you that is only living in the moment and does not approve. So unless you've found a way to avoid ever thinking that something you have to do is unpleasant, your brain will want to procrastinate as a matter of survival.

The Solution

The bright side to this instinctive procrastination is that it fades away about as quickly as it appears. If you can push through that initial panic and make yourself start working, then work stops being a baseball sailing towards your head. It's not a danger anymore. It's just the way things are. The part of your brain in charge of keeping you out of peril doesn't notice it anymore, and the more analytical part of your brain, which can consider the ramifications of procrastinating versus working, takes over. While this doesn't mean that the task at hand will be easier, it does mean that the things you know about procrastination and the work you need to do will be clearer when you decide whether to keep working.

In other words, it's easier to keep working than to start working. It's a bit like Newton's First Law of Motion. Objects at rest tend to stay at rest, and objects in motion tend to stay in motion! When it seems just unbearable to get started on something, and you want to watch some videos instead ("just for a few minutes"), try to remember two things: what you're feeling is normal, and if you can make yourself start and get even a little momentum, then the urge to slack will fall away very quickly.

The Lesson

You'll never win the war on procrastination. Sorry to break it to you. I won't, either. It's just not how we're wired. There's always going to be another battle with it around the corner. Thankfully, each of those battles is more winnable than it seems at first glance, so fight on! You might surprise yourself with what you can accomplish with only a little more grit.

In the next part, I'll look at what happens in the brain when you learn and how procrastination impacts it.

Photo credit: Flickr/gRuGo CC BY 2.0

Nathan’s First Week at YP

Nathan Hwang

My first week working as a contractor for the Data Quality team at YP exceeded, in a positive way, any expectations I had coming in. Although I don’t have an extensive amount of experience working in different companies (having graduated from college only two years ago), YP has demonstrated that I’m not merely a number in a nationally recognized company, but that I’m part of the YP family.

Let me explain what I mean by being part of the YP family. It’s our families that love and care for us in the best way possible. They want what’s best for us and they’ll go out of their way to provide any means necessary to help. That’s what I’ve experienced at YP beginning on day one.

From the team manager and all the wonderful YP family I’ve met thus far, everyone seems to encourage growth and knowledge within the company for both the benefit of the company and my own professional advancement. It’s manifested first in the simple things like providing a fun and enjoyable work environment (free food and snacks, a ping pong table, a football table, arcades, and more free food) and to the bigger, more important matters like pushing us to learn by making mistakes because that is the only way we’ll grow.

So, I’m deeply grateful to the entire YP family for giving me an amazing opportunity to be among such hardworking individuals that seek the best interest of others and the company as a whole. If my first week’s experience was this memorable I can’t wait for what’s in store for the future.

YP Wi-Fi Bus in the News

Eric Thomasian

YP on the cover of the LA Times!

This was a strong PR week for YP thanks to the Wi-Fi bus. Not only were we in an article on the LA Times website, but we were also featured on the front cover of the newspaper. As a print company transforming into a digital company, we thought showing up in both places was especially appropriate. As I wrote this post, I received an email notifying me that we were also picked up by Los Angeles Magazine for their own article.

The LA Times article highlights YP and other Los Angeles tech firms who are leading the adoption of Silicon Valley best practices in LA. With tech recruiting being as fierce as ever in Los Angeles, companies are making great strides in innovating employee benefits to compete in the market. YP in particular looks to reinvigorate the tech scene in the tri-city area (Pasadena, Glendale, Burbank) by reducing any transportation frictions for talent on the Westside.

Greg Bettinelli, a partner at UpFront Ventures said it best:

"As the L.A. tech scene continues to rise, there's obviously best practices from the Valley that will be transported down here. I don't think it's unique to the tech industry, but it's a broader realization of the tighter labor market for highly skilled workers and the need to create better team cohesiveness."

Happy Diwali

Shri Jambhekar

Diwali Celebration at YP

Drawing
In honor of our rich cultural diversity, and our 'Educate and Celebrate' initiative, Glendale YP team celebrated Diwali after an all hands yesterday.

The culture club committee and facilities decorated the happy hour areas with traditional Diwali decor and provided sweets - creating a beautiful celebration of this most auspicious of Hindu festivals which is celebrated over 5 days.

In addition, the team on 13th floor shared delicious Indian food today.

Diwali also known as Deepavali and the "festival of lights", is an ancient Hindu festival celebrated in autumn every year. The festival spiritually signifies the victory of light over darkness, knowledge over ignorance, good over evil, and hope over despair.

Happy Diwali to you and your families.

दीवाली की शुभकामनाएं

Generating SVG on the Fly

Joe

When developing a webapp, a great way to enhance the visual design of your site is to use beautiful, intuitive icons. Sometimes people understand images a great deal more than words. Icons take up much less space as well, giving your site a cleaner look.

With the advent of retina-resolution screens, older lower-resolution icons just don't cut it. One solution is to simply start serving higher-resolution icons. This approach causes unnecessary network load for screens that don't need the extra pixels. You can use retina.js to load higher resolution icons only when they're needed, but this requires creating multiple image files.

SVG icons provide the flexibility to display correctly on all screen densities, although you sacrifice file size, as SVG files are generally larger than PNG. The big benefit SVG provides is easy modification. Modify one field in the XML and you've changed the bakground color, for example. So when you want to dynamically generate icons, using SVG makes sense.

In my intern project I had to do just this; I needed to generate map markers with letters inside to represent waypoints. There are a few ways to generate SVG on the fly. One is by using a library like svg.js, which allows you to programmatically create SVG with a very easy-to-understand API. The other is the method I used:

Manually create an SVG image using an editor such as Inkscape. This will give you an SVG file that looks something like this:

<svg
   xmlns="http://www.w3.org/2000/svg"
   width="307.99988"
   height="455.08182">
  <g
     transform="translate(-169.2067,-124.16583)">
    <g
       transform="translate(64,-51)">
      <path
         transform="matrix(-0.86545762,0.50098217,-0.50098217,-0.86545762,689.00106,496.77337)"
         d="m 437,360.36218 c 0,82.29043 -66.70957,149 -149,149 -82.29043,0 -149,-66.70957 -149,-149 0,-53.23257 28.39924,-102.4215 74.5,-129.03778"
         style="fill:#ffdd00;stroke:#000000;stroke-width:10" />
      <path
         d="M 388.62072,403.36218 324.00914,514.28781 259.39756,625.21343 194.65584,514.36218 129.91412,403.51093"
         style="fill:#ffdd00;stroke:#000000;stroke-width:10;" />
      <text
         y="384.4017"
         x="197.7131"
         style="font-size:180px;fill:#000000;font-family:Verdana;">A</text>
    </g>
  </g>
</svg>

Now you can edit this any way you want! For example, using a framework like Ractive.js or Angular.js, you can replace the "A" in the text node with "{{text}}" and use your framework's method of populating templates.

Another method is to use Jade templates to serve your SVG icons from a node.js endpoint. To create a Jade template from your SVG XML, modify the root node to use Jade's "Block in a Tag" feature. Your root node should look similar to:

svg(
   xmlns="http://www.w3.org/2000/svg"
   width="307.99988"
   height="455.08182").

The rest of your XML file can be copied in. Then replace whatever you'd like to change on the fly with Jade's method of inserting content:

<text
     y="384.4017"
     x="197.7131"
     style="font-size:180px;fill:#000000;font-family:Verdana;">#{text}</text>

To serve this SVG over a node.js endpoint, create a route (here using express) that sets the Content-Type to "image/svg+xml" and passes a text parameter to your Jade template:

app.get('/marker', function (req, res) {
    res.contentType('image/svg+xml');

    res.render('path/to/templateFile', {
        text: req.query.text
    });
});

And here is the result:

“Hot!”