- Getting RabbitMQ
- sudo apt-get install rabbitmq-server
- /usr/sbin/rabbitmqctl status
- sudo pip install pika
- RabbitMQ terminology
- producer – publishes the message to an exchange
- channel – sub-socket inside open TCP socket to RabbitMQ (TCP sockets are re-used to avoid overhead connection costs)
- consumers – consume the message from the queue
- basic.consume – passively receive messages from the queue (push mechanism)
- basic.get – poll-based requests, essentially subscribe, basic.consume of 1, unsubscribe
- auto_ack is set true, fires off after receiving, or use basic.ack if auto_ack is false
- basic.reject rejects the message, requeue=true puts it back on the queue, use requeue=false for malformatted messages
- queue properties
- exclusive – can only be subscribed by 1 consumer, useful for testing
- auto-delete – delete as soon as last consumer unsubscribes
- durable – should be re-created after re-starting?
- exchanges – publishers send messages to exchanges, who then route them to one or more queues
- direct – routing key must match with the name of the queue
- $channel->basic_publish($message, $exchange=’’, $routing=’test-queue’)
- fanout – broadcast the message to every queue that’s bound to a particular exchange
- topic exchange – can use a wildcard key, * if you have more characters, # for everything
- each vhost has its own exchanges, bindings and queues
- permissions are per vhost
- default: username=guest, password=guest
- rabbitmqctl list_vhosts
- rabbitmqctl add_vhost
- rabbitmqctl delete_vhost
- set exchange durable=true, survives the restart
- set queue durable=true, survives the restart
- set message persistent=true (delivery mode = 2)
- persistent message is flagged in persistence log after being delivered and ACKed
- if the server crashes before the garbage collector has run, it will be re-delivered
- persistence can cause 10x decrease, but SSD helps
- structure clusters into critical (persistent, SSD) and fast (no persistence)
- Queue management
- rabbitmqctl list_queues
- rabbitmqctl list_queues -p specific.vhost
- rabbitmqctl rotate_logs suffix_to_appent.to_old_logs
- For messages requiring confirmation, the publisher can set reply-to header of the AMPQ message, and then listen for a confirmation to arrive on a separate queue
- Inside a cluster, RabbitMQ does not automatically replicate the queues – for persistent queues this would imply being copied over the network, and being copied to disk, which could pose significant performance issues
- As a follow-up, if the queue was marked durable, and the node crashed, the node would have to be resurrected for that queue’s messages to be retrieved from persistent storage
- Exchanges in RabbitMQ are lightweight – they’re essentially routing tables storing the routing keys and queue names. Therefore replicating (and scaling out) exchanges is pretty easy
- What happens when you publish the message into the exchange, and the exchange node fails? You lose the message
- If you employ AMPQ transaction, it will block until you get a confirmation
- You could also be listening for publisher confirms and have some logic in publisher to deal with messages that were lost by the exchange
- Storing metadata on disk allows for easier restart, storing metadata in RAM allows for easier declaration of new exchanges, queues or bindings, as that operation will block until all of the nodes in the cluster have propagated it
- But what if you’re doing RPC with separate anonymous queues for ACKs? Super-noisy.
- RabbitMQ requires one node stores metadata on disk, everybody else can store metadata in RAM
- Declaring a mirrored queue requires hard-coding the specific node name into your application
- Cannot mirror on all nodes, since potentially that would degrade performance
- A newly declared mirror queue will copy the contents of the queue from the point of declaration – it doesn’t fully mirror the queue
- Mirrored queue is really another queue with a fanout exchange
- Using publisher confirms on mirrored queue will cause ACKs to be delivered only when ALL slaves received the message
- You can have a weird situation when the master host fails and ACK never arrives
- When the master fails, all consumers need to re-attach to the new master, the failover is not automatic
- This means the app has to understand and process consumer cancellation notices
- Shovel is RabbitMQ’s cross-data-center replication plugin, effectively subscribes to the master queue, and re-publishes the data to remote server
- Four basic rules for success with real estate investments:
- Buy a property for less than you can sell it.
- Use other people’s money as much as possible.
- Make sure the property pays for itself.
- Take maximum advantage of the tax laws.
- When looking at appreciation rates, homeowners rarely consider total cost of ownership – replacing roof, furnaces, appliances.
- When you consider the total interest payments and home improvement costs, very few homeowners with a 30-year mortgage actually come out ahead.
- Who loans the money:
- Family and friends
- Hard money lenders
- A real-estate license won’t hurt – one needs a network of contacts to acquire properties before they hit the Web listings or newspapers.
- Three questions to ask about each property:
- Is buying this property the best use of the money?
- Will it pay for itself?
- Can you add value to the property?
- Two ways to raise profits for the property – increase the rent or decrease expenses.
- Buy locally – you’re unlikely to be able to add value to the property being on the other side of the country or world, partnerships with remote partners tend not to be hands-on.
- By having several properties nearby, you save on your time, and contractor’s or handyman’s time when you plan a major repair job.
- Cap rates are lower in desirable neighborhoods and higher in high-risk neighborhoods.
- Gross Rent Multiplier – ballpark figure, total price divided by annual gross income produced by the property.
- Debt-service ratio – used by lenders, net operating income divided by annual debt payment, should be in the range of 1-1.5.
- Return on investment – cap rate inclusive of loan payments.
- Before striking a deal, write a note to the tenants introducing yourself, and ask for what could be improved. You can get a good overview of current problems.
- The biggest reason people invest in real estate is to use depreciation – fantom losses on the properties count against one’s income. Government has a way, however, to recapture that at the time of sale, when it turns out the property has not depreciated as much as expected.
- You have to materially participate in the investment to get the investment income treatment – that means maintenance and being involved with tenants.
- 1031 exchange allows an investor to sell an existing property and buy a more expensive property without paying taxes on the sale.
- If you bought a house (for yourself) at the peak of the market and are in the hole now, rent it out for a couple of years before selling, and then capture the losses as investment losses.
- Each property should be a separate entity, easier to operate and sell.
- Home office deduction raises a flag with IRS, usually it’s hardly ever worth bothering.
- Types of starter investment properties:
- In-law units
- Vacation homes
- Single family homes
- Duplexes and multi-family homes
- With in-law units, it’s hard to qualify for material participation rule, therefore the hope is to have the expenses and depreciation be deductible and as a result have the rental income arrive to you tax-free.
- Vacation homes are tougher to qualify as investment properties, as you cannot use them for longer than 10% of their total rental availability. However, two weeks of rental income on such properties is tax-free.
- Once you pass 4-family units, residential loans no longer apply, for commercial loans it’s typically expected that you cover at least 25% of down payment.
Predictably Irrational by Dan Ariely is an exploration of human behavior which diverts from the logic. Consistently. For example, imagine yourself shopping for a brand new suit and, for whatever reason, a new pen, maybe to accompany your suit. You see the $15 pen, but then remember that you saw the same pen in a different store for $7. The store is not that far (15 minute drive) and you decide that it’s totally worth it to postpone the purchase of the pen and drive by another store to save $8. Then you take a look at the suit. It’s $1,000, but then somehow you recall that a similar one. Same story – the store is 15 minutes away, and it’s $992 there, $8 cheaper.
Most people when faced with these two options will definitely purchase the pen at another store, but will forego a 15-minute drive to purchase the $992 suit. Relatively the savings are different: it’s more than a 50% on the pen, and a tiny sub-percentage point discount on the suit. Nevertheless, in a nutshell in both cases you stand to save $8 by driving 15 minutes. As a rational human, once you decide that a 15-minute drive is worth $8 in savings, you should accept that as an absolute rule. Nevertheless humans behave consistently irrational when faced with such choice in psychological studies conducted by Dan Arieli.
So what are other examples of inconsistent behavior from Predictably Irrational?
- When faced with the following choices for magazine subscription: $59 for digital edition, $125 for print edition, and $125 for digital+print edition, 84% opted in for the third option. Well, why not, you get digital+print for the same price as print, practically a steal. However, when the middle option is removed, people overwhelmingly (68%) chose the digital subscription. Comparing a $59 digital subscription with $125 print+digital made people wonder whether they reallyneed print subscription at all. Just having a middle option that will never be selected for obvious reasons boosted magazine’s top-of-the-line product. The magazine in question is Economist.
- Relativity also leads to unexpected results. SEC told public companies that by 1993 they were obliged to disclose the top executives’ pay. Ideally, this would make companies more responsible to shareholders and even out the outrageous executive paychecks. In 1976 a CEO was paid 36 times the average worker pay. Net result? By 1993 the CEO pay was at 131 times average worker pay. Exposing the fat cats did not cause expected shareholder outrage, it encouraged other CEOs to demand higher pay, since now they had hard data telling them they were underpaid.
- Having two somewhat similar options together with dissimilar one will make people choose a better deal among similar options. Assuming that you’ve never been to Africa and have no emotional attachment to geographical locations there (choose something neutral to you if you do), what would you rather choose if I gave you a choice of (a) a free trip to Zanzibar that includes a free breakfast, (b) free trip to Zimbabwe without a free breakfast, (c) free trip to Zimbabwe with free breakfast. Most people in psychological studies consistently chose option C. Our brain is wired to compare equals, and comparing A and C without specific knowledge of locations seems like a lost cause. Comparing B and C, however, is a no-brainer – you get a free breakfast or you don’t. C is such an obvious choice, the brain shortcuts, and before long option A is out of the picture.
- Marketing technique that utilizes this knowledge is called a decoy. Williams-Sonoma accidentally discovered it by adding another, more expensive, product to its breadmaker line. Prior to this breadmakers did not sell very well, being completely new product. When a more expensive machine was added, the original version seemed like a bargain, and also customers felt that since this was a line, not a one-off product, it must be something worth researching. Sales of the original breadmaker nearly doubled.
- In one study participants were asked to write down the last 2 digits of their social security number, and then write an estimated price they would pay for a bunch of unrelated items. Box of Belgian chocolates, bottle of wine, a wireless keyboard – the items were intentionally random so that most people would have a vague idea of what they cost in real world. By asking participants to write down their social security digits, researchers were hoping to prime the mind. The technique worked – people whose social security #s ended with 00-20 overall bid significantly less for the items than those with 80-99 as the first number on the list. The point is not that people with high social security numbers pay more, but the fact that making a person think about the number impacts the decision-making process, if this process involves choosing random numbers.
- Offering the item for free has a huge impact, even when the alternative is not that expensive. Arieli set up a stand offering two kinds of treats – Lindt truffles for 15c and Hershey kisses for 1c. The price difference was huge, but most people nevertheless seemed to appreciate Swiss chocolates over Pennsylvanian sugar-and-cocoa-butter concoction – 73% chose Lindt truffles. So another test the book author ran was selling Lindt truffles for 14c and giving Hershey’s kisses away at 0c. The relative difference was still 14c, but this time 69% of the customers chose the kiss. It’s not that 1c previously broke their budget, and all of a sudden a 0c kiss offered huge savings to hungry students. Faced with two paid choices, participants were forced to make a judgement, and in this case went for a more expensive, but higher-quality item. Faced with FREE, participants forgot all about the relative taste differences between Lindt and Hershey product, and overwhelmingly acted on instinct.
- When Amazon was testing free shipping promotion in different countries, Amazon France did not expect any real change. After all, the French site has been charging customers 1 franc if their shopping cart when over a certain amount. It’s a modern-day equivalent of 20c, what difference could it make, if your shopping cart had to be over $25, where Amazon currently allows you to ship for free? However, going from 1 franc to 0 francs was dramatic.
- Setting deadlines works, and having external deadlines seems to work better. The author experimented with 3 of the classes he taught. Class A had specific deadlines on when the papers should be submitted – week 4, week 8 and week 12. Class B was free to choose its own deadlines, but it had to be done in writing – each student was asked to commit to submitting a paper by a certain week, even if the commitment involved writing ‘week 12′ for each one of the three papers. The third class had no deadlines at all, except for the fact that by the end of the course the instructor wanted to have a set of all 12 papers. Which of the classes got better final grades? It was just in the order they were listed – A did best on the exam, followed by B, followed by C.
- Accessories matter. The researcher has set up a coffee tasting station by giving away free coffee, which could be complemented with a variety of condiments – sugar, cream, nutmeg, cinnamon, etc. The additives were placed in Styrofoam cups with hand-written notes indicating what they were. The students were then asked the rate the quality of the coffee, supposedly for a new coffee shop that was planning to open its doors to MIT students. Second test involved brewing precisely the same coffee, except this time the condiments were placed in glass-and-steel containers on a nice looking tray with pre-printed labels. Students consistently gave the second coffee much better rating, even though the contents of the pot or the variety of condiments did not change.
- People have different expectations for products with various prices. Researchers conducted the experiments where a group of participants was exposed to a new pharmaceutical in a very professional environment – lab coats, brochures, and all. The experimental drug, they were told, was a pain reliever, so to conduct practical tests, they would produce an electrical shock of increasing voltage until the participant pressed the button indicating they’ve reached their maximum pain tolerance level. Price for the new drug? $2.50 a pop. To test the efficiency, the researchers first asked the participants to experience pain with no drug intake, and then undergo the same test. 100% of respondents claimed the pain was relieved and hence medication worked. The same drug was then tested on a different group of people, who accidentally (via a brochure on the table) found out the drug was 10c a pop. In this test, only half of those people claimed the pain reliever worked. The drug? In both cases Vitamin C.
- People order differently in public and in private. When groups of people were offered a list of beers to choose from, there was inevitably more variety in the orders than when everybody was handed a menu to write on. Hearing choices of others makes people want to express their individuality, and sometimes they tend to order their 2nd or 3rd choices after hearing what people before them have ordered. Whenever asked in private, the individuals were lacking the information on others’ choices and always went for their first choice.
Believe it or not, Predictably Irrational is available at Amazon.
This past weekend I finally updated my VideoGames app to the latest Facebook API. VideoGames was written during the original platform hackathon a few days before Facebook platform launch two years ago. Thanks to everybody who stuck around while the app was inoperable, and to those who found deleting the app just too onerous of a process.
As before, the app allows you to list which games you own, which ones you want, and which ones you’re currently playing. Once your friends start using the app, you can see the same data for your friends on Facebook.
- you can get to each game via a typeahead
- you get short profile stories published each time you add or remove a game, your friends see respective News Feed stories
- coming soon – alphabetical sort for games
Going to DefCon this year? If you are, Orbitz will give you $75 off 3+ night flight+hotel package with coupon 3odwr75, and it works on Las Vegas hotels. So SFO-LAS 3-night and round-trip airfare package is $229 if you decide to stay at Circus Circus (close to Riviera, but bad hotel experience, unless you end up in the new tower), $263 if you stay at Las Vegas Hilton (across from Riviera Convention Center) or Stratosphere (a little further from Riviera than Hilton). It’s $334 with that coupon to stay at Riviera itself. Another 1% off your whole booking if you start your trip from eBates. I wrote a few entries when I was at DefCon in 2006 and 2007, was too lazy to write stuff last year.
Wall Street Journal today describes the work of Matthew Salganik and Duncan J. Watts (published in Social Psychology Quarterly in December 2008) on researching herd mentality with popularity rankings. 12,000 volunteers were given 48 random fairly obscure songs, and asked to rate them. To help things out, popularity rankings were provided. Except that a certain group saw the popularity ranking in exactly reverse order â€“ least popular songs appearing on top. Youâ€™d think that good songs would still win based on their merit, right?
The prior No. 1 began making a comeback on the new top dog, but the former No. 47 maintained its comfortable lead on the old No. 2, buoyed by its apparent popularity. Overall, the study showed that popularity is both unstable and malleable.
Look for page 338 of that PDF document if you want to read the details of the experiment.
Another research Carl Bialik points to is Observational Learning: Evidence from a Randomized Natural Field Experiment by Hongbin Cai, Yuyu Chen, and Hanming Fang out of Duke that gave customers of Chinese restaurants a â€œmost popular itemsâ€ list when they were ordering off the menu:
We find that, depending on the specifications, the demand for the top 5 dishes is increased by an average of about 13 to 20 percent when the top 5 popularity rankings are revealed to the customers; in contrast, being merely mentioned as some sample dishes does not significantly boost their demand. Moreover, we find some modest evidence that the observational learning effect is stronger among infrequent customers, and that customersâ€™ subjective dining experiences are improved when presented with the information about the top choices by other consumers, but not when presented with the names of some sample dishes.
Noah Goldstein’s, Steve Martin’s (no, not that Steve Martin‘s) and Robert Cialdini’s Yes! 50 Scientifically Proven Ways to Be Persuasive is a pop psych book, where a bunch of research in psychology is distilled into one readable volume.
50 scientifically proven ways constitute 50 chapters of the book, longest of which take 7 pages. The authors take the position that persuasion is a science, not art, hence with the right approach anybody can become the master in the skill of persuasion. So, what are the 50 ways?
- Inconvenience the audience by creating an impression of product scarcity. It’s the famous change from “Call now, the operators are standing by” to “If the line is busy, call again”, that greatly improved the call volume by creating the impression that everybody else is trying to buy the same product.
- Introduce herd effect in highly personalized form. The hotel sign in the bathroom informed the guests that many prior guests chose to be environmentally friendly by recycling their towels. However, when the message mentioned that majority of the guests who stayed in this specific room chose to be more environmentally conscious and reused their towels, towel recycling jumped 33%, even though the message was largely the same.
- Ads quoting negative behavior en masse reinforces negative behavior. Petrified Forest National Park A/B tested two versions of a sign imploring people not to steal pieces of petrified forest from the park. One mentioned large amounts of petrified forest taken away on an annual basis, the other one simply asked the visitors not to remove petrified wood. The first one actually tripled the theft ratio as it showed stealing petrified wood as something commonplace. Same effect was observed after airing an ad that implored women to vote, but mentioned that 22 million single women did not vote last year. That kind of information actually portrays not voting as more socially acceptable.
- Avoiding magnetic middle. A California survey measured energy usage of a neighborhood on a week-by-week basis. When the average electricity consumption for the neighborhood was calculated, researchers sent thank-you cards to those using the energy conservatively, and a nice reminder to perhaps conserve to those who used electricity liberally. Net effect? While the liberals tried to cut down on unnecessary energy usage, the conservatives, finding out they’re way below average, suddenly became way more liberal with their energy usage, which actually increased the amount of energy used by the neighborhood. Proposed solution that worked? Sending a smiley face card to conservatives with a request to keep doing what they were doing, instead of pointing out they were at the right end of the bell curve.
- Too many options necessitate selection, and hence frustration, when brain decides it’s unnecessary work. The example here is given by a company that manages retirement funds for other companies, and hence has access to retirement information of 800,000 employees. When employees were offered a choice of 2 funds, roughly 75% signed up for a retirement program. When the number of funds was increased to 59%, even though qualitatively this was a better deal for employees, only 60% decided to sign up. When Head & Shoulders brand killed off 11 flavors of the shampoo, leaving only 15 on the market, the sales rose 10%.
- Giving away the product makes it less desirable. Researchers gave one group of people a picture of a pearl bracelet and asked to evaluate its desirability. Another group of people was given the same task, but prior to that was shown an ad, where the same bracelet was given away for free, if you bought a bottle of expensive liqueur. The second group considered the bracelet much less desirable, since mentally a lot of potential buyers (35% of them to be exact) shuffled the bracelet onto “trinkets they give away for free” shelf in their brain.
- A more expensive product makes the old version look like a value buy. An example here is a Williams-Sonoma bread maker. After an introduction of a newer, better, and pricier version, the sales of the old unit actually increased, as couples viewed the new item as “top of the line”, but old product was all of a sudden reasonably-priced, even though a bunch of features were missing.
- If a call to action is motivated by fear, people will block it, unless call to action has specific steps. A group of people received a pamphlet describing the dangers of tetanus infection. It didn’t describe much else. The second group of people got a description of tetanus infection, plus a set of instructions on how to get vaccinated. The second group exhibited much higher sign-up rate for tetanus vaccination than the first one, where many participants tried to block out the high-fear message urging that something as rare as tetanus would never happen to them.
- A small gift makes people want to reciprocate. People who received a small no-strings-attached gift from a stranger were twice as likely to buy raffle tickets from him than those who were just pitched on raffle tickets.
- Hand-written Post-It note improves response rate on inter-office letters. Researchers distributed three sets of questionnaires around the office. The first set included a hand-written Post-It note requesting completion of the survey. The second set got the same survey, with the request to return it hand-written on Page 1. Third group got the same survey with their name mentioned (in type) on page 1 of the survey. Response rates? 75%, 48%, 36%. People appreciated personalized approach, and somehow a Post-It note even highlighted the extra work that someone did before sending out the survey.
- How restaurant mints are a personalized affair. Let’s a say a restaurant provides mints for its customers on the way out. If the amount of tips per week is the baseline for that restaurant, let’s make the waiters include a mint as they give the check to the customer. The tips go up by 3.3%. However, when the waiters offer the mints themselves, prior to signing the check, the tipping amount went up by 14.1%. In yet another experiment, the waiter would present the patrons with 1 mint per guest, then give them the check, then turning around to leave, then, as if remembering something sudden, turning around and giving them yet another mint per guest. Result? 23% increase in tips, as this signaled high amount of personalization.
- Attaching no strings increases response to the message. Using the same hotel as the one mentioned in Chapter 2, researchers tried out two different versions of the sign. The first one: if you reuse the towels, a donation will be made to a nonprofit environmental organization. Â The second version: the donation has already been made, since the hotel trusted you’d reuse the towels anyways. Recipients of the second message reused their towels 45% more than the recipients of the first one.
- As time goes by, the value of a favor increases in the eyes of the favor-giver, and decreases in the eyes of the favor-receiver. Researchers asked a group of people in the random office environment to exchange favors and then rate the value of the given/received favor in their eyes. A few weeks later the same employees were reminded of the favor, and asked to evaluate the favor again. Favor-givers consistently assigned higher value to a given favor, while as the time passed by, favor-receivers tended to assign lower value to the received favor.
- Asking for small favors changes self-perception, introducing ways for big favors. Researchers asked a group of homeowners to place a large “Drive Carefully” sign on their front lawn. Only 17% agreed. With the second group of homeowners, 76% of people were ok with road traffic people maintaining the sign on their beautiful lawns. What was the difference between two groups? A few weeks earlier group B was asked to display a small non-intrusive window sign asking drivers to slow down. This mental foot-in-the-door technique made homeowners from the group B view themselves as socially responsible and safety-aware, hence a request for a larger favor few weeks later didn’t startle them.
- Labeling people into a social group tends to increase their participation ratio. A group of people was interviewed regarding their voting patterns. Half of them were told that based on their response criteria, they were very likely to vote, since they were deemed to be more politically active. Later on the election day that specific half did indeed turn up a participation rate that was 15% higher than participation of the control group.
- Asking people to substantiate their decision will lead to higher commitment rate on that decision. Researchers called a group of people asking them how likely they were to vote in an upcoming election. Those who responded positively were either asked nothing, or asked why they felt they would vote. Any reason would suffice, but when the election day came, the turnout for the control group (who all responded “Yes” to the question of whether they were going to vote) was 61.5%. Turnout for the group that actually gave a reason (any reason)? 86.7%. A restaurant stopped telling customers “Please call to cancel your reservation” and started asking “Will you call and let us know if you need to cancel?” Net result? Number of reservation no-shows dropped from 30% to 10%.
- Writing things down improves commitment. Group A was asked to volunteer on AIDS awareness program at local schools, and was asked to commit verbally. Group B was asked for the same kind of volunteer project, but was given a simple form to fill in. 17% of volunteers from Group A actually showed up to their assigned local school. From Group B 49% of volunteers showed up.
- The fact that circumstances changed allows people to change their viewpoints without being viewed as inconsistent. People are generally not thrilled to change their viewpoints on something, as they fear they will display lack of consistency and be called a flip-flopper. Convincing people that their old decision (to stick with the old product) was completely 100% correct under old circumstances allows them to be more responsive to the messages that imply a new product/idea is better because the circumstances radically changed since then.
- Sometimes asking people for help makes them more open. Group A was given some bogus research that included a sum of prize money. After the experiment, the researcher approached them and asked whether it wouldn’t be inconvenient if they had to give the money back, since the researcher was using his own money. Group B was not approached with such request after their portion of bogus experiment was done, and was allowed to keep the money. After this both groups were asked to rate their impression of the researcher. Even though it was the first group who didn’t get to keep any money, all of them consistently rated the researcher higher on likability scale.
- Asking for little goes a long way. Researchers went door-to-door asking for American Cancer Society donations. Group A just asked for a donation, group B ended their spiel with “even a penny would help”. Results? 28.6% response rate for Group A vs. 50% response for Group B.
- Lower starting prices attract higher bids. This is a reference to a study of eBay items where people consistently bid items with a lower starting price higher. The explanation seems to focus on the fact that people invest more time into updating bids for a lower-priced item to let it go.
- How to impress a potential customer with credentials without being labeled as a show-off? Public speakers have someone else introduce them, a real estate company made a slight improvements to their phone service by directing people to “Jane, who has 10 years of experience with houses in upper price range”, and physicians display their diplomas on the walls.
- The danger of being the smartest person in the room. The expert card frequently trumps any other card in the room. The example here is that the scientists who discovered the double-helix of the DNA were never prime DNA experts, which made them “hungrier” for new discoveries, and made them question established rules.
- Devil’s advocate example works with large organizations. Leaders who consistently seek out dissenting opinions earn more respect, and generally have better agreement with people in the room than those who rule by laying down the law and persecuting dissenters.
- Negative examples are memorized better than positive examples. When one group of firefighters went through the list of real-life mistakes other firefighters have made, and another group just went through the list of positive things to do, the first group demonstrated better judgment when faced with real-life tests. Our brain seems to discount the best practices, but single out bad examples of someone else making a mistake.
- Admitting negatives up-front might lead to better communication. When Progressive says that they will compare your rate against their competitors’, and when original VW Bug was introduced in the US, both companies pursued a strategy of highlighting the negative stuff only to open conversation about the true values their product has to offer.
- Spinning negative facts as positive allows customers to make a mental link towards the positive. Among the viewers who viewed an ad advertising restaurant’s cozy atmosphere, an ad advertising the restaurant and lack of parking spaces, and an ad mentioning both, the third group made a connection between cozy atmosphere and bad parking situation. The restaurant was so cozy, the customers reasoned, that they didn’t even have enough parking spots, which made them even cozier in the eyes of a customer.
- Admitting you’re wrong makes people trust you more. Company A published an investors relations report, contributing slump in sales to overall economic climate. Company B said slump of sales was relevant to a few bad decisions by top management. Net result? Investors viewed company B more positively. You’d think that they’d be viewed as a bunch of screw-ups, but admission of a mistake made investors more confident the situation was under control, while company A investors got the uneasy feeling of the ship floating in the waters with captain losing control.
- Similarities raise the response rate. A person named Cindy Johnson received a survey request by mail from someone named Cynthia Johannson. Someone named John Smith received a survey from Gregory Jordan. The name similarity in the first case (note that it’s just phonetic similarity, none of the names are the same) brought up the response rate to 56% vs. regular 30%.
- People like the sound of their name, and that defines their vocation. There are three times as many dentists named Dennis as any other names. Number of Florences living in Florida is disproportionately high, same goes for Louises living in Louisiana.
- Verbalization helps interaction. Waiters who repeat customers’ order to them make 70% more in tips than waiters who just say “Okay”. Our mind subconsciously appreciates the effort taken to ensure the things are perfectly right.
- Just smiling makes for a poorer customer service. Group A was exposed to a hotel clerk smiling, while peppering the customer with questions regarding their preferences and ways to improve their hotel stay. Group B had just a smiling clerk performing her duties. Group B was more likely to rate the smile as fake.
- People pay more for the stuff that’s about to disappear. Oldsmobile sales rose after GM announced the end of life for the line. Australian beef purchases rose after customers learned this year’s supply would be severely diminished because of the weather conditions. Concorde sales took off right after British Airways announced the hyper-speed flights would be shut down.
- When people feel something is about to go away, they will stick to perception of the product being better than the new one. In majority of blind tests customers chose New Coke over Classic Coke. Yet when New Coke was introduced, massive protests were staged. When the same drink was packaged into Classic Coke and New Coke bottles, customers still claimed they preferred the Classic Coke and could taste the difference, even though labeling was the only thing that differed two drinks.
- “Because” makes any explanation rational. In a line to Kinko’s copy machine a researcher asked to jump the line by presenting a reason “Can I jump the line, because I am in a rush?” 94% of people complied. Good reason, right? Okay, let’s change the reason. “Can I jump the line because I need to make copies?” Excuse me? That’s why everybody is in the line to begin with. Yet 93% of people complied. A request without “because” in it (“Can I jump the line, please?”) generated 24% compliance.
- Asking people to choose reasons themselves might backfire. Two groups were given an ad by BMW. Group A saw an ad saying “So many reasons to buy a BMW. Can you name 10?” Group B saw an ad saying “So many reasons to buy a BMW. Can you name 1?” After the ad both groups were asked to evaluate their likelihood of buying a BMW. Similar to what’s described in Chapter 5, people who had to name 10 reasons actually named Mercedes-Benz, a competitive brand, as their probable choice, while Group B named BMW as their likely next vehicle, compared to Mercedes-Benz.
- People like stocks with more pronounceable names. Research of stock tickers between 1999 and 2004 looked at the relationship between the phonetic fluency of the stock and its rise through IPO, then 12 months later, then throughout its lifetime. The result? Stocks with more pronounceable names produced higher returns, even though nobody yells out the tickers on the exchange floor anymore.
- Rhyming makes the phrases more convincing. People were asked to evaluate the practical value of parables “Caution and measure will win you treasure” and “Caution and measure will win you riches”. In general proverb A was considered to be more practical and insightful than proverb B.
- Amount of information is context-dependent. A group of people was given an ad for department store A, extolling in great detail the 6 departments that A had. Another group was given a short blurb on store A, presenting mainly abstract information. After that store B was presented to both groups with information on 3 departments given to both groups. The first group thought they preferred A, since A volunteered more information and B seemed shadier in comparison. The second group did exactly the opposite and preferred store B, which volunteered detailed info on 3 departments, while A’s message was an abstract blurb.
- Incentive programs need a good start. A car-wash place gave one group of customers a free car wash after 8 washes, and everybody got their first stamp after their visit. Group B got a free car wash after 10 car washes, with 3 stamps on the card. Both groups needed to make 7 more trips to get a free wash. 19% of the Group A returned, while 34% of the Group B did.
- Abstract names allow the customers to come up with reasoning. Crayola found out that naming colors Cornflower Yellow and Kermit Green worked better than no adjectives attached to colors. The more abstract the connection, the better it seemed to work, as people spent mental time working out the connection between the abstraction and the product in their mind.
- Ad campaigns that do not incorporate brands tend to not be remembered. A good portion of people when asked which company was represented by a bunny and the phrase “going, going, and going” named Duracell as the advertiser. Duracell sales increased with the launch of Energizer Bunny campaign.
- Mirrors make people more self-conscious. A group of trick-or-treating kids was told to pick up one candy from the jar in the living room, while the adult was in a different room on some pretense. Group A had a large mirror placed by the candy jar, group B did not have the mirror. 8.9% of kids with the mirror in the room and 33.7% of the kids with no mirror treated themselves to extra candy. Another group of people was brought in for what was advertised as gel research, and was given a hand paper towel to wipe the gel off while heading for the exit. With the mirror in the hallway, 24% of participants littered, dropping the towel on their way out, with no mirror, 46% threw the paper towel on the floor without bothering to find a trash can.
- Negative emotions make people pay more. Group A was exposed to an emotional movie about the death of someone close to the main character. Group B saw no such movie. Both groups were asked then to name a fair price at which they’d buy the object presented to them. Group A tended to give prices 30% above Group B’s.
- Tired people tend to be more receptive to arguments. No wonder those magic bullet infomercials run so late at night. Both groups were presented to product demo, and then asked to evaluate the possibility of buying it. Group A was tired and a bit sleep-deprived, group B was in good physical condition. Group A was much more prone to buy.
- Caffeine increases the argumentativeness of a strong argument. Group A drank regular orange juice, group B drank orange juice infused with caffeine. Both groups were then presented with a statement on controversial issue. Except one statement then made weak and hasty arguments, while the second statement made a strong case. Both groups equally dismissed the weak argument case. As far as strongly argumentative case, group B was 30% more receptive. A faster-working brain under the influence of caffeine seems to appreciate good arguments.
- Face time still beats e-mail time. Group A was given time to get to know one another in person, then resolve a conflict via e-mail. Group B got a similar task, except no face-to-face communications. 6% of the Group As failed to come up at a good resolution, while 29% of Group Bs arrived at impasse.
- Individualism is perceived differently in many countries. In US and Western Europe a chewing gum campaign that accentuated “you, only better” seemed to get more success, than a similar campaign in Eastern Europe and Asia, with much more collectivism built into the culture. In those countries, emphasizing that chewing gum was much more tolerable for other people who can smell your breath, was perceived better.
- Notion of commitment among various cultures differ. A group of American students was asked to complete a short marketing survey. A few weeks later they got invited for the second survey, which was going to take twice as long. No pay for either survey. The same experiment was conducted among Asian students. The response rates among American students was 22%, response rate among Asian students was 10%. Research suggests that while American students relied only on their own experience, Asian students found out that few of their peers responded to the first request to complete the survey, which triggered their negative response.
- Response to voice mail differs among Americans and Japanese. When faced with a voicemail message, 50% of Americans, and 85% of Japanese hang up. Respondents from Japanese test group pointed out the personal touch of the conversation (intonation, pauses, volume) was important to them and impossible to reproduce over voicemail.
If you liked reading review of this book, check out my review of Predictably Irrational, which is written by a psychology professor and explores the topic of human irrationality in our perfectly rational world.
On Wednesday Microsoft announced the release of PHP SDK for Windows Azure. It’s a set of classes providing access to Azure platform, that supports cloud storage, cloud computing, queue service, and management of the virtual boxes you’re renting from Azure. The PHP client, that comes complete with a set of PHPUnit tests, is available for checkout here. A quick look around Codeplex site shows a few other PHP projects that are either developed by Microsoft, or commissioned/funded by them and developed by somebody else:
- Silverlight PHP – PHP access to Silverlight objects. The download, however, is a Visual Studio solution.
- PHP Site Generator – a simple CRUD form builder. Helps if you’ve got a a table (one on SQL Server, looks like) an need to give some users access to create, retrieve, update, and delete the data – the site generator builds out all those forms for you.
- PHP client for Virtual Earth – supports both SQL Server and MySQL for backend.
- Web Slices and Accelerator for IE 8 – more a set of tutorials in PHP than a single complete client solution, but some pretty basic stuff, for example, an IE-compatible slice that pulls Facebook status.
I spent two days last week at Percona Performance Conference – a free event that took place parallel to MySQL User Conference & Expo at Santa Clara Convention Center. The content was good, and the organizers packed an impressive amount of 51 presentations, a sessions of lightning talks, and two open Q&A sessions towards the end of day, into 24+ hours over 2 days.
In lieu of Sun acquisition by Oracle, there was a lot of conversation regarding where MySQL is headed. Michael (Monty) Widenius outlined three directions Oracle could take with MySQL: abandon, sell, embrace, and at Percona conference was giving more details on Maria storage engine for MySQL, which looks a lot like InnoDB storage engine, with a new type of indexes.
Here’s a rundown of the sessions I attended with a possible link to slides where available (many slides are in PDF):
- Return of Gearman – by Eric Day – Gearman is a “manager” server, assigning work to other available boxes, and coordinating the work between clients and workers (servers), so that clients can be unaware of the server pool, and send their requests directly to Gearman. Introducing this extra tier allows then for scaling out the server pool. Gearman also has a variety of native clients and fast protocols (few more presentations from Eric Day).
- Object-Oriented CSS – Nicole Sullivan presented an overview of the project. Contrary to the advertised name, it’s not a project to make CSS behave as expected, but more of a framework to ensure the same behavior of various grids, templates and modules across different browsers.
- Fighting MySQL replication lag – from Peter Zaitsev from Percona. Some pretty useful tips, such as running heavy-duty jobs (ALTER TABLE) directly on the slaves, and reconsidering hardware options for slaves.
- Scaling with Postgres – from Robert Treat – I was surprised at the quantity and quality of Postgres presentations at Percona conference. Having never dealt with Postgres in production, I don’t really have any good opinions on the presentations, but Robert’s slides provide a good deal of gotchas when scaling Postgres.
- Balanced Patricia Tries – Moshe Shadmon from ScaleDB – a good overview of ScaleDB, where it’s useful, and how it uses tries. It’s an interesting proprietary storage engine.
- Working with disk arrays – by Paul Tuckfield – first DBA at YouTube, and also first DBA at Paypal.
- Using proxy architectures – by Robert Hodges – was a pretty in-depth look at proxy architectures and some pitfalls.
- EMT Performance Monitoring – from my former colleague at Yahoo! Eric Bergen, now at Proven Scaling – EMT is a script for data collection and aggregation that Proven Scaling found useful to have on their clients’ boxes to get up-to-the-minute view of what exactly happened to the machine right before collapsing.
- Proactive Operational Measures – from Nicklas Westerlund and Augusto Bott – more like an overview of what could potentially go wrong when you’re tasked with the operations side of things.
I didn’t go to presentations about CouchDB, Amazon cloud recipes, and exploring new hardware (flash memory, multi-core processors) for database servers, but glad to see the authors posting the content of those.
Second day of Percona Conference:
- Disruptive innovations in open source – or where do we go from here in regards to MySQL from Baron Schwartz of Percona
- Performance instrumention – from Cary Millsap – has some pretty good stories even if you know nothing about databases. Such as: don’t ever ask people what the most common performance problems are, since then you’re likely to be led astray. Manuals are very likely to suggest One True Solution for any performance problems, but if you flip through the pages, you will find out there are many One True Solutions to similar sounding problems. Optimization of subsystems might still be useless, when the process on top is broken and un-optimizable.
- Pushing the envelope – by Don MakAskill of SmugMug – Don has to store pretty large amounts of data (raw photos in tens of megapixels) for paying clients, and the presentation covered SmugMug experience.
- Internals of InnoDB disk I/O by Mark Callaghan of Google (slides are posted on his blog)
- Hive – distributed data warehousing at Facebook – Hive has been open-sourced by my employer, and it’s a pretty useful layer if your data lives in Hadoop, but you cannot get everyone at the company to run map/reduce jobs. Ashish’s and Prasad’s presentations provides an overview of what Hive is. It’s also one of the few Facebook projects written in Java.
- Multi-terabyte install of Postgres – pretty impressive from Theo Schlossnagle
- Efficient pagination from Surat Bhati of Yahoo! – every Web developer probably dreads the moment when the pagination code generates something to the extent of SELECT * FROM images LIMIT 1000000,10. Yeah, it’s very unlikely the user will actually browse past the first million images, and Surat’s presentation primarily dealt with the ways of building interfaces around avoiding such queries. Spoiler alert: use Previous and Next, don’t link pages directly, most of the users don’t care about exact counts, and are perfectly fine with seeing “thousands” and “millions”, not “Comments 13,300 – 13,400 of 15,635,611”
- High performance MySQL on a limited hardware budget from Percona
I didn’t see: Hypertable, PostgreSQL trees, Zawodny’s search at Craigslist, InnoDB tuning, common mistakes, non-disruptive backups, high-performance Erlang, and tuning MySQL replication, but thankfully those are online.
A few more cool things: MySQL User Conference has videos of selected presentations posted at blip.tv, I didn’t watch all, but started wathing Don MakAskills’s on SmugMug Tale, and since he didn’t post the slides, that’s the best way to get his presentation. There’s also a full range of presentations from MySQL Conference 2009 available at the conference site.
Jeremy Zawodny posted MySQL and Search at Craigslist on SlideShare, they’re a Sphinx shop, going from 25 MySQL MyISAM FULLTEXT boxes to 10 Sphinx boxes:
Giuseppe Maxia posted presentation on MySQL 5.1 partitions:
Robert Hodges posted slides on Tungsten SQL Router, Tungsten replication and using Tungsten with RightScale.
Kazuho Oku shared experience on building a real-time stats service on top of MySQL (Pathtraq is one of the largest in Japan):
as well as slides on building a reliable message queue service, Q4M:
At MySQL Conference, Anders Karlsson did a talk on using libmysqld inside your application:
MySQL High Availability presentation from MySQL and bwin games:
MySQL 5.1 Event Scheduler:
Running multiple MySQL servers on one box:
From Netflix description of Another Cinderella Story:
The official description mentions “dropping her iPod”, while in the movie it’s clearly Zune. Emphasized a few times by characters referring to the player as “Whose Zune is it?”, “What’s in your Zune playlist, girl?”, etc. Can imagine there were some calls between the producers and Zune product placement team.
Bret Taylor from FriendFeed presented today at San Francisco MySQL meetup on how FriendFeed uses MySQL. If you’ve read Bret’s blog post previously, the presentation itself wasn’t news, but the Q&A session was pretty good. A few interesting takeaways:
- For replication FriendFeed relies on MySQL replication, and it works quite well
- They did try document storage systems, including Couch DB, but none proved to be mature enough for production deployment
- They’re aware that a write might take longer than usual in this two-phase commit scenario, but they don’t need to present the data in real-time right away – a delay of a few seconds is acceptable for the users
- Some users tax the existing index system by following 30,000 friends on FriendFeed
- Failover is done manually most of the time – from Bret’s experience with Google and FriendFeed, a babysitter script for automatic failover tends to introduce issues
- There are some new sorting parameters ready to be pushed out for FriendFeed, and for each new sorting parameter FriendFeed creates a new set of indexes – there’s never ORDER BY in any of the queries
Blueprint CSS is a pretty quick way to design complex grids with CSS. The idea is basic â€“ include the necessary styles, and you get a container for your site with fixed with of 960 px. So itâ€™s not a universal solution, but at least if youâ€™re comfortable with the width of 960, Blueprint will prevent you from giving up and using tables.
There are just 3 compressed CSS files to include, the third one is only for IE support.
<link rel=“stylesheet” href=“css/blueprint/print.css” type=“text/css” media=“print”>
Â Â <link rel=“stylesheet” href=“css/blueprint/ie.css” type=“text/css” media=“screen, projection”>
Then a simple container div will give you a centered area 960 pixels wide:
Â I am a container.
Let’s say we are going to need a header, a footer, a narrow right sidebar, a narrow left sidebar, and wide area in the center for content. Blueprint provides you with a bunch of classes ranging from span-1 for 1 column to span-24 for full 100% width. So for a full-width header and footer we create the following markup:
Â Â Â <!– header –>
Â Â Â <div class=“span-24 header”>
Â Â Â </div>
Â Â Â <!– footer –>
Â Â <div class=“span-24 footer”>
Â Â </div>
What about the content area with 2 sidebars? With Blueprint CSS, your spans on one row have to equal to 24, so we can either do 1-22-1, or 2-20-2, or 3-18-3, and so on. 8-8-8 would get us a page equally divided into three divs. Letâ€™s go the 2-20-2 route:
Â <div class=“span-24 header”>Header </div>
Â <!– content –>
Â <div class=“span-2″>I am the left column</div>
Â <div class=“span-20″>I am the main content area</div>
Â <div class=“span-2 last”>I am the right column</div>
Â <!– footer –>
Â <div class=“span-24 footer”>Footer</div>
There’s another nuance to the markup above â€“ the right sidebar has to have the last class. If I add some additional coloring to those divs, hereâ€™s a sample layout Iâ€™ve built with the code above:
But wait, thereâ€™s more. You can host divs inside divs without worrying about them overflowing. Letâ€™s say we wanted to make the right column wider, up to 10 columns, which would make the central column become a span-12. And inside that right sidebar thatâ€™s a span-10 we wanted to host 2 divs per line, span-5 each, perhaps displaying an image, or a square ad. You can host two span-5 divs inside a span-10, or even a span-10 ad inside a span-10:
Â Â <!– header –>
Â Â <div class=“span-24 header”>Header</div>
Â <!– content –>
Â Â <div class=“span-2″>I am the left column</div>
Â Â <div class=“span-12″>I am the main content area</div>
Â Â <div class=“span-10 last”>
Â Â Â <div class=“span-10 last”>Ads</div>
Â Â Â <div class=“span-5″>I am some kind of ad</div>
Â Â Â <div class=“span-5 last”>I am some kind of ad</div>
Â Â Â <div class=“span-5″>I am some kind of ad</div>
Â Â Â <div class=“span-5 last”>I am some kind of ad</div>
Â Â Â <div class=“span-5″>I am some kind of ad</div>
Â Â Â <div class=“span-5 last”>I am some kind of ad</div>
Â Â Â <div class=“span-5″>I am some kind of ad</div>
Â Â Â <div class=“span-5 last”>I am some kind of ad</div>
Â Â </div>
Â <!– footer –>
Â Â <div class=“span-24 footer”>Footer</div>
uWink is Nolan Bushnell’s next iteration on combining games and food after founding Chuck E. Cheese’s (and before that, Atari). It’s good news for those who enjoy casual gaming while waiting for food, and a bit of bad news for aspiring waiters, as they’re mostly replaced by touch-screen LCD screens. Sure, you still need someone to seat people, someone to refill your iced tea, and someone to bring the food from the kitchen, but for the space the they occupy (I think the capacity is at 150 or so) they only had 2-3 waiters.
Everything you order is off a colorful touch-screen menu (all apps are written in Flash, looks like). While you’re waiting for drinks and appetizers, you can play games by yourself, with your lunch buddy, who gets their own screen, or with anyone else at the restaurant, as they advertise trivia nights by the entrance. They also have movie nights.
Food ordering process is where touch screens excel, since your burger can have thousands of configurations, single or double patty, choice of 5 cheeses, 5 types of buns, about 20 additional toppings and 20 more sauces, with 5 side items. With waiters I think I’d be more likely to choose some default configuration, with uWink’s UI it’s a challenge of how complex of a burger one can build. Payment and tipping is done through the same touch screen display – there’s a card reader on the side. The receipt can optionally be sent to your e-mail, and once you give them your e-mail, you’re asked to join their mailing list as well, which I did.
Jeffrey Veen of Adaptive Path, MeasureMap, and now Google Analytics spoke at Startup2Startup dinner tonight. He covered startup design, and had a pretty good strategy as well as warnings. One of the warnings he had was on the current trend of copying the leader of the pack, the way you see iPhone UI replicated in newer models from Samsung and LG. Without real knowledge and understanding of why certain features are there it’s very hard to get the product right, even if the outer shell looks very similar to the successful competitor’s product.
A lot of the copying has to do with the cargo cult of the believing that if you have the right components of somebody else’s successful design in place, you’ll get the core of the product right as well, or at least fool the users into treating your product with the same respect as competitors’.
Veen also discussed the creative process behind WikiRank, his brand new, and yet unlaunched, project. Process might be a strong word for the strategy of rapid prototyping, which is not that expensive to do nowadays with Web products. Instead of spending time on designer mocks in high resolution, where people get distracted into discussing the qualities of the graphic design, focus on building wireframes and core pages, iterate as necessary, perhaps with pair coding of one person doing the front-end, and another one building out the model on the back-end.
Recommendations for testing on the budget? Projects like UserTesting.com are pretty effective with getting the users to your site, and getting the videos back to you, so you can test out feature by feature, and do things like A/B testing in pretty short time spans. Inviting the users in person via Craigslist and paying them in gift cards also worked out, but don’t have designers in the same room, as they get emotionally attached to the tested product.
The video of this talk is not (yet) available. Dave McClure might announce when it gets posted, but if you never heard Jeffrey Veen presented, here’s a fairly recent video of his talk from UX Week conference.
At home I keep a separate phone line just for my DSL connection. It’s a metered local calling plan, the cheapest you can get from AT&T, since with zero calls a month there’s nothing to meter, as there’s not even a phone device plugged in anywhere at the house. Imagine my surprise then, when reviewing my bill from a month ago I discovered a charge from OSP Communications for a collect calls, supposedly from New Mexico, that my DSL modem supposedly accepted. A quick search for OSP Communications painted quite a picture – it’s rarely a good sign when the first few results for a company name include consumerist.com, ripoffreport.com and complaintsboard.com.
It seems that OSP Communications quite frequently engages in cramming, supplying random artificial charges to a phone company under false pretenses. Since there’s no official company Web site, it’s hard to say whether cramming is its major business model, or occasional mistakes are made. Judging by the reports left on the various complaint boards, cramming seems to be the primary business objective of the company, so it’s certainly surprising they’ve been able to stay in business for that long. To be fair, their customer service was quick to acknowledge this was a mistake, and offered to add my phone number to a blacklist to ensure “something like this will never happen again”.
Allison Randall from O’Reilly spoke about Parrot at last week’s San Francisco PHP meetup. Parrot is a pretty interesting project, whose goal is to build a unified virtual machine for scripting languages.
Wait, another virtual machine? Is there a world shortage of virtual machines, not satisfied by .NET and Java? Well, yeah. The current lifecycle of a scripted app involves passing the scripted PHP/Python/Perl/Ruby code to interpreter, which then sits between the scripted file and the OS layer. For each new hardware platform you’d have to port the proper interpreter. Parrot attempts to define a set of opcodes that are portable to specific hardware platforms. All the scripts within Parrot would be compiled to Parrot bytecode. It’s also a register-based virtual machine, not stack-based, which supposedly will offer some sweet benefits in the future, such as not having to worry about stack overflow when designing a security model for a new language.
You can get the current trunk of Parrot from their SVN repository, but they’re still a few months away from 1.0.
svn co https://svn.perl.org/parrot/trunk parrot cd parrot perl Configure.pl make make test make html
There’s a provocative article in the October issue of Fast Company magazine that’s adapted from the book Iconoclast: A Neuroscientist Reveals How to Think Differently by Gregory Burns. In it, the author explores the process of creativity by analyzing the brain activity that’s happening when a truly creative or inventive thought hits the brain. Some bad news:
- Offsites and scheduled brainstorms are ineffective, as the brain has time to prepare, and it becomes a routine procedure.
- Analogies are brain’s shortcuts designed to avoid creative process.
The second point is the most interesting. Lazy by nature, human brain prefers to use analogies instead of starting a hardcore creative thinking session. Analogies are fast and convenient, the brain knows how to deal with them, and hence always tries to use them up before coming up with anything truly original.
Fortunately, the networks that govern both perception and imagination can be reprogrammed. By deploying your attention differently, the frontal cortex, which contains rules for decision making, can reconfigure neural networks so that you can see things that you didn’t see before. You need a novel stimulus — either a new piece of information or an unfamiliar environment – to jolt attentional systems awake. The more radical the change, the greater the likelihood of fresh insights.
The article (I haven’t read the book) then lists a few examples of innovative processes that happened outside of the usual environments, thus leading to striking discoveries.
It seems that software engineering, an occupation that is usually connected with creative spark among most observers, is most of the time an exercise of relying on analogies. When you’re in college, you go through data structures and algorithms course, which teaches the generally accepted ways of running a queue or generating a number of permutations from a set of numbers. Later on, in the field, we frequently refer to design patterns, frameworks or best practices to bring previously acquired analogies into the new project we’re working on.
Analogy usage is incentivized – most of the software engineers would expect higher pay for more years of experience, which implies either a better ability to project analogies onto existing project (senior engineers which code faster) or a wider exposure to various projects in the past (senior engineers who have architectural knowledge about a variety of projects).
I like Malcolm Gladwell, but after reading Blink I found that his ideas, usually written out in hundred-page books, can be summed up in a few paragraphs. So if you’re looking for a short summary of his new book, Outliers: The Story of Success, look no further than the excerpt published in this week’s Guardian. In a nutshell, someone practicing a certain craft (computer programming, violin, sports) for more than 10,000 hours becomes do adept at it, that we mistakenly look for some innate abilities and call it talent.
There’s also the element of sheer luck of being at the right place at the right time that amounts to success – Bill Gates with access to computer programming resources and kits at an early age had a certain advantage over someone in Africa, who perhaps had the same business acumen, but did not have the resources readily accessible to become one of the world’s wealthiest businessmen. There’s an interview with Gladwell on CNN Money:
Bill Gates has this utterly extraordinary series of opportunities. When he’s 13, it’s 1969. He shows up at his private school in Seattle, and they have a computer room with a teletype machine that is hooked up to a mainframe downtown. Anyone who was playing on the teletype machine could do real-time programming. Ninety-nine percent of the universities in America in 1969 did not have that.
Whether or not Prop. 8 passes in California on November 4th, there’s one clear winner – California news media. According to San Francisco Chronicle,
…the mayor told guests on Wednesday that they need about $5 million from now until election day to battle Prop. 8, the most expensive social-issue campaign in U.S. history. Political analysts are expecting both sides to spend a total of $70 million.
Both sides happily pump the money into defending their positions, and it seems that the media industry is happy to receive extra $70 mln, with the ad market being down and all doom and gloom on the economic front.
In fact, <conspiracy-theory-start> it seems that the media itself every once in a while would be in the position to start a controversial issue, raise enough awareness for some activist group to put it up on the ballot, and then enjoy the windfall revenues that wouldn’t have come otherwise.</conspiracy-theory-end>
They don’t give out a video blog on Kremlin.ru just to anybody. Russian President Dmitry Medvedev started an official video blog, addressing Russians regarding his upcoming trip to an economic forum in France. The video is Flash-encoded, supports embeds, but is also downloadable as Windows Media Video file.
A few more things about Medvedev’s office:
- Dual monitor setup running Windows XP with default theme
- A view of St. Petersburg for a desktop wallpaper
- Looks like MS Internet Explorer is preferred, but there’s no full-screen view to figure out what he’s running in that open window. The site in question is Kremlin.ru