Karmona Pragmatic Blog

Don't get overconfident… Tiny minds also think alike

Karmona Pragmatic Blog

Strategy Games

January 12th, 2015 by Moti Karmona | מוטי קרמונה · No Comments

StarCraftII

Few things I have learned from *countless* hours playing Strategy Games for more than 35 years (e.g. Chess, Go, Risk, Archon, Warcraft, Red Alert, AoE, Age of Mythology, StarCraft etc.)

  • Plan a head | Map ALL possible “Candidate Moves” | The idea of candidate moves was first put forth by Grandmaster Alexander Kotov in his book “Think Like a Grandmaster”.
    In it, Kotov recommended looking for several moves that seemed feasible – the so-called candidate moves – and then analyzing those moves one at a time.
  • Adapt | You must adapt very quickly if you want to win
    • OODA loop – Observe, Orient, Decide, and Act, (developed by military strategist and USAF Colonel John Boyd) | An entity (whether an individual or an organization) that can process this cycle quickly, observing and reacting to unfolding events more rapidly than an opponent, can thereby “get inside” the opponent’s decision cycle and gain the advantage.
    • “If your enemy is secure at all points, be prepared for him. If he is in superior strength, evade him. If your opponent is temperamental, seek to irritate him. Pretend to be weak, that he may grow arrogant. If he is taking his ease, give him no rest. If his forces are united, separate them. If sovereign and subject are in accord, put division between them. Attack him where he is unprepared, appear where you are not expected” ~ Sun Tzu, The Art of War
    • “It Is Not the Strongest of the Species that Survives But the Most Adaptable” ~ Charles Darwin
  • Strategic Patience | “Timing Is Everything” | Sometimes you need time to place your pieces in the proper position before you can attack effectively; a premature attack will backfire.
  • Speed Matters | Have you ever experience a Zerg Rush @ StarCraft? – If you are fast enough you can win in less than 5 min.
  • Know (+ Play) your Enemy
    • “To know your Enemy, you must become your Enemy.” ~Sun Tzu, The Art of War
    • “In the moment when I truly understand my enemy, understand him well enough to defeat him, then in that very moment I also love him. I think it’s impossible to really understand somebody, what they want, what they believe, and not love them the way they love themselves. And then, in that very moment when I love them…. I destroy them” ~Orson Scott Card, Ender’s Game
  • The Art of Sacrifice | In his book “The Art of Sacrifice in Chess”, Rudolf Spielmann distinguishes between real and sham sacrifices. A “sham” sacrifice leads to a forced and immediate benefit for the sacrifice… On the other hand, “real” sacrifices, according to Spielmann, are those where the compensation is not immediate, but more positional in nature.
  • Sometime it is worth loosing and not to sacrifice the queen ;)
  • Threat is stronger than the execution” ~ Aron Nimzowitsch | The idea is that by threatening an action, you can nudge your opponent in a certain direction, but actually carrying out the threat may cause as many problems for you as for your opponent.
  • “The best form of defense is attack ~ Karl von Clausewitz
  • Determination | “It ain’t over till the fat lady sings” | This is true both ways. Don’t assume you won until the end and don’t assume failure until the last min | “It is not sufficient that I succeed – all others must fail.” ~ Genghis Khan
  • Easy is bad – If it goes too easy, something is wrong
  • Good opponents make you stronger | “That which does not kill us makes us stronger” ~ Friedrich Nietzsche
  • Play the hand you’re dealt | Improve incrementally and be PATIENT. You will have your chance to win many times.
  • Different phases of the game require different skills.
  • Master your Emotions | “An action committed in anger is an action doomed to failure” ~ Genghis Khan
  • Think outside-the-box. You must be creative to surprise moves to defeat a human enemy.
  • Play by the rules. Follow the rules or you might be disqualified.
  • Focus and Mass matters | Concentrate combat power at the decisive place and time
  • Deception | “All warfare is based on deception. Hence, when we are able to attack, we must seem unable; when using our forces, we must appear inactive; when we are near, we must make the enemy believe we are far away; when far away, we must make him believe we are near” … “Appear weak when you are strong, and strong when you are weak.” ~ Sun Tzu, The Art of War
  • Synergies Create Better Results | Leveraging the strengths of your armies so that the units are protecting each other while pushing forward is a timeless strategy in RTS games
  • Resources Management is crucial | Queues, Priorities and Timing Can Make All the Difference with your resource management | “An army marches on its stomach” ~ Napoleon Bonaparte
  • Never mistake tactical success for strategic direction | make sure that when you’re investing in short-term returns, you’ve also got plans in place to make longer-term strategic investments.
  • A chain is only as strong as its weakest link | Know the strength and weakness of your team. You can’t win alone!
  • Counter-offensive | A strategic offensive taking place after the enemy’s front line troops and reserves have been exhausted, and before the enemy has had the opportunity to assume new defensive positions
  • Economy of Force | Allocate minimum essential combat power to secondary efforts
  • Intel is key | Scouting your enemy is crucial
  • Master the Micro | The best Gamers excel in both Macro and Micro | Amazing strategy will not survive mediocre execution and vice versa
  • Study (game) History since history have a weird tendency to repeat

 

 

→ No CommentsTags: Leadership · Planning · Psychology · Strategy

Five Elements a Product Manager should Master

December 28th, 2014 by Moti Karmona | מוטי קרמונה · No Comments

Five Elements a Product Manager should Master

Leadership*; Ship Amazing Products!; Customers 1st; Storytelling; Passionate (II**);

Kung-Fu-Pandas

 

Leadership*

They are the most important Leaders in a product driven organization – Product is where the magic happens and almost everything else connect. They should master the first 6 Leadership Super Powers (#8 Leadership Superpowers*) … Passionate; Inconceivable Tenacity; Hyper Strategist; Inspiring; Craftsmanship;

 

Ship Amazing Products!

They ship Products! They do whatever-it-takes to make the product successful!

They create value by combining wisdom, science and art, they are highly analytical (data driven) with attention to both the big picture (market, target user segment, positioning, company strategy and goals, competitive positioning) and the tiniest details of their domain (day-to-day constraints, compromises, content plan, edge cases, design trade-offs, engineering dependencies etc.). They can zoom out and drill down unlike others. They are Polymath. They have a strong background in many fields. Design, UX, Technical Architecture, Marketing, Engineering, Business Analysis, Project Management, Statistics, Sociology, Psychology, History and many others. Always curious and eager to understand and learn more.

“Good product managers know the market, the product, the product line and the competition extremely well and operate from a strong basis of knowledge and confidence. A good product manager is the CEO of the product.
A good product manager takes full responsibility and measures themselves in terms of the success of the product. They are responsible for right product/right time and all that entails. A good product manager knows the context going in (the company, our revenue funding, competition, etc.), and they take responsibility for devising and executing a winning plan (no excuses).
Bad product managers have lots of excuses. Not enough funding, the engineering manager is an idiot, Microsoft has 10 times as many engineers working on it, I’m overworked, I don’t get enough direction”

~Ben Horowitz | Good Product Manager/Bad Product Manager | http://a16z.files.wordpress.com/2014/08/good-product-manager.pdf

 

Customers 1st

They must understand their Customers better than anyone else.

“Empathy – We will truly understand their needs better than any other company…” ~Mike Markkula | January 3, 1977 | “The Apple Marketing Philosophy” … a.k.a. Empathy; Focus; Impute

 

Storytelling

They must have supreme communication skills. They connect the Strategy and Vision to the Tactics and Details. They are “The Context Providers”

“Building a visionary company requires one percent vision and 99 percent alignment.” ~Jim Collins and Jerry Porras, Built to Last

 

Passionate (II**)

They must be fanatical about building amazing products. They are passionate about the Product Vision. They are passionate about their Customers. They are passionate about *every* aspect of the product experience.

(**Disclaimer: This was also hiding in the Leadership* element above but Passion has it own set of rules… ;)

“We’re here to put a dent in the universe. Otherwise why else even be here?” ~Steve Jobs.

 

***************************************************************************
RELATED READING LIST

 

 

→ No CommentsTags: Leadership · Management · Product

#8 Leadership Superpowers

November 28th, 2014 by Moti Karmona | מוטי קרמונה · No Comments

Eight leadership superpower traits I value most in leaders

Passionate; Inconceivable Tenacity; Hyper Strategist; Inspiring; Craftsmanship; Authentic; Scale Masters

Avengers

 

Passionate

Leadership is a Passionate (almost fanatical), Inquisitive Pursuit of a Vision, of Excellence, of Perfection, of Truth, of the Impossible, of what’s Next, of Change, of Value, of Results, of Knowledge, of Experience , of Learning, and of something bigger than yourself.

“We’re here to put a dent in the universe. Otherwise why else even be here?” ~Steve Jobs.

 

Inconceivable Tenacity

Leadership is about tenacity, focused, resilient, determined, persistent, disciplined consistency of action, values, standards, methods and results over time with inconceivable internal-locus-of-control.

“Success is the ability to go from one failure to another with no loss of enthusiasm” ~Sir Winston Churchill

 

Hyper Strategist

Leaders are hyper-vigilant (almost paranoid) in understanding, mapping and confronting their reality constantly. They have almost mystical ability to adapt , plan and pivot to seize opportunities, avoid obstacles and win the end-game.

“Military tactics are like unto water; for water in its natural course runs away from high places and hastens downwards… Water shapes its course according to the nature of the ground over which it flows; the soldier works out his victory in relation to the foe whom he is facing. Therefore, just as water retains no constant shape, so in warfare there are no constant conditions. He who can modify his tactics in relation to his opponent and thereby succeed in winning, may be called a heaven-born captain” ~ Sun Tzu

 

Inspiring | X Factor

Leaders inspire others to move mountains when by all means they shouldn’t believe they can and then… faster.

“High sentiments always win in the end. The leaders who offer blood, toil, tears and sweat always get more out of their followers than those who offer safety and a good time. When it comes to the pinch, human beings are heroic.” ~George Orwell

 

Craftsmanship

Leaders are craftsmen, they create value by combining wisdom, science and art, they are highly analytical with attention to both the big picture and the tiniest details of their domain with keen strive for excellence (a.k.a. “get the things done and then better”). They are super creative in hacking and reinventing solutions, experiences and systems rejecting conventional wisdom, hype, and the madness of crowds.

“Faulkner is a writer who has had much to do with my soul, but Hemingway is the one who had the most to do with my craft – not simply for his books, but for his astounding knowledge of the aspect of craftsmanship in the science of writing” ~Gabriel Garcia Marquez

 

Authentic

Leaders are authentic, Genuine, Transparent, Straightforward, Trusted. They “walk the talk”. They don’t play games. What you see is *exactly* what you get.

“When you have to shoot, shoot; don’t talk… But if you miss, you had better miss very well. Whoever double-crosses me and leaves me alive, he understands nothing about Tuco. Nothing!” ~Tuco Benedicto Pacífico Juan María Ramírez (a.k.a. The Ugly :)

 

Scale Masters

Leaders with very rare recursion skill to lead, empower, delegate, grow, and mentor other leaders superheroes toward the same vision.

“I’ve been trying to control you since the day we met, and look where that’s got us. I have faith in you.” ~Charles Xavier

 

***************************************************************************
Related Reading List

 

Few more traits to consider

Visionary, Passionate , Authentic, Confident, Pragmatic, Straightforward, Professional, Caring, Proactive, Result oriented, Honest, Intelligent, Cooperative, Inspiring, Determined, Imaginative, Ambitious, Courageous, Mature, Loyal, Independent, Responsible, Confident, Enthusiastic, Decisiveness, Humility, Agile, Character, Initiative, Intuition, Positive Attitude, Persistent , Empathetic , Mentor, Goal Oriented, Focused, Consistent, Dedicated, Conscientiousness, Commitment, Trusting , Organized

→ No CommentsTags: Leadership · Management · People

Technology, Chutzpah and Innovation in Israel

April 19th, 2011 by Moti Karmona | מוטי קרמונה · 5 Comments

“Throughout Israel, brains and energy are ubiquitous” – Warren E. Buffett, 2007

This blog post is a ~thousand words “elevator pitch” on Technology, Chutzpah and Innovation in Israel (a.k.a. The Silicon Wadi)

Start-up Nation

The best book I have read on this topic is Start-up Nation – The Story of Israel’s Economic Miracle (by Dan Senor and Saul Singer)

Start-up Nation addresses the trillion dollar question: How is it that Israel – a country of 7.1 million (smaller than New Jersey), only 60 years old, literally surrounded by enemies, in a constant state of war since its founding, with no natural resources, managed to produces:

  • More start-up companies than large, peaceful and stable nations like Japan, China, India, Korea, Canada, and the UK
  • Most VC investments per capita in the world – Twice as much venture capital investment as the US and thirty times more than Europe
  • More tech-oriented NASDAQ companies than any country besides the US, more than all of Europe, India and China combined
  • Leads the world in medical device patents, and is a strong global player in cleantech and biotech
  • Economy barely hit by global economic crisis
  • The quality of Israel’s own scientific research institutions is ranked 3rd in the world by the WEF (+4 Nobel prizes in the past 6 years)

a.k.a. How do we kick ass with such little feet?


“It’s no exaggeration to say that the kind of innovation going on in Israel is critical to the future of the technology business . . . For Microsoft, having an R&D center in Israel has been a great experience . . . The quality of people here is fantastic.”

– Bill Gates, Chairman and Chief Software architect of Microsoft (2005)

 

 

Start-up Nation observations

  • Israel is not just a country, but a comprehensive state of mind. Where Americans emphasize decorum and exhaustive prep, Israelis put chutzpah over charm (see below)
  • Israeli immigration and assimilation policies bring and support a highly motivated, diversified pool of talent into the country; “Immigrants are not averse to starting over. They are, by definition, risk takers. A nation of immigrants is a nation of entrepreneurs.” — Gidi Grinstein
  • The fostering and facilitating role of the Israeli Government – Israel spends more as a percentage of our economy on R&D than any other country in the world and knows how to make that money relevant to startups.
  • Israel actively cultivates a culture of entrepreneurship and leadership in the military. Teenagers are not only given the responsibility to make life-saving decisions, constantly practice improvisation, typically with little data, but to question authority regularly in doing so.
  • The Israeli economy respects and knows how to integrate the unique talents and “chutzpah” developed by soldiers in the military.
  • Hyper- networking, everybody are connected to everybody; “The social graph is very simple here. Everybody knows everybody” — Yossi Vardi
  • The two real fathers of Israeli hi-tech are the Arab boycott and Charles de Gaulle, because they forced on us the need to go and develop an industry” — Yossi Vardi

 

“There are projects for which it won’t matter if tens of thousands of engineers work on it or if a group of 100 engineers with a range of talents do all the work. Israel has such groups.”

– Clifford Meltzer, Cisco Systems Senior VP Network Management Technology Group

 

The Good, Bad and Ugly of the Israeli Chutzpah (a.k.a. Where is the catch? or Aptitude vs. Attitude ;)

“Doubt and argument—this is a syndrome of the Jewish civilization and this is a syndrome of today’s Israel” — Amos Oz

Chutzpah is hard to define… Leo Rosten defines Chutzpah as “gall, brazen nerve, effrontery, incredible ‘guts,’ presumption plus arrogance such as no other word and no other language can do justice to”. In this sense, chutzpah expresses both strong disapproval and a grudging admiration

Outsider would see chutzpah everywhere in Israel: in the way university students speak with their professors, employees challenge their bosses, sergeants question their generals, and clerks second-guess government ministers.

When the Intel Corporation began building its Israeli teams in the 70′s, the Americans found Israeli chutzpah so jarring that Intel started running “cross-cultural seminars on Israeliness.” Intel-Israel’s Mooly Eden, who ran the seminars, said that “from the age of zero we are educated to challenge the obvious, ask questions, debate everything, innovate.” as a result, he adds, “it’s more complicated to manage five Israelis than 50 Americans because [the Israelis] will challenge you all the time — starting with ‘Why are you my manager; why am I not your manager?’”

When Paypal — the internet payments giant — bought Israeli start-up FraudSciences in 2007, Paypal president Scott Thompson went to Tel Aviv to meet with the FraudSciences team. He told us about his first meeting with the staff: “Every question was penetrating. I actually started to get nervous up there. I’d never before heard so many unconventional observations — one after the other. Junior employees had no inhibition about challenging how we had been doing things for years. I’d never seen this kind of completely unvarnished, un-intimidated, and undistracted attitude. I found myself thinking, “who works for whom here? Did we just buy FraudSciences, or did they buy us?”

To Israelis, this is the normal mode of being. Somewhere along the way — either at home, in school, or in the army — they learn that assertiveness is the norm, reticence something that risks your being left behind.

“What drives us is the desire to improve and excel, as well as the desire to build things by ourselves” –  Check Point Founder, Chairman & CEO, Gil Shwed

 

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

People who read this post also tend to read these two related posts

Main references

→ 5 CommentsTags: Innovation · Israel

The GeoSpatial Cloud

November 1st, 2010 by Moti Karmona | מוטי קרמונה · 3 Comments

In continue to my geo distance post, I have decided to post something on the simplest cloud architecture (RDS) for location based services (LBS)

IMHO, (to cut a long story short :) Amazon RDS is more than enough for most geo location applications.

Amazon Relational Database Service (Amazon RDS) is a web service that makes it easy to set up, operate, and scale a relational database in the cloud.

Amazon RDS gives you access to the full capabilities of a familiar MySQL database. This means the code, applications, and tools you already use today with your existing MySQL databases work seamlessly with Amazon RDS.

Two preliminary steps:
* Start a small DB instance with the kind help of AWS management console (image above)
* Use the RDS instance as if it is your “disruptive”  MySQL instance e.g. manage it using MySQL Workbench 5.2.29

“Flirting” with MySQL spatial capabilities (which seems to be “fully” supported by AWS RDS)

* Create the (MyISAM) Table with spatial index

CREATE TABLE `locations` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`lat` decimal(10,6) DEFAULT NULL,
`long` decimal(10,6) DEFAULT NULL,
`loc` point NOT NULL,
`name` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`),
SPATIAL KEY `loc` (`loc`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8

* Insert few values to populate your table

INSERT INTO locations VALUES(1,40.748433, -73.985655, GeomFromText(‘POINT(40.748433 -73.985655)’), ‘The Empire State Building‘);
INSERT INTO locations VALUES(2, 40.689166, -74.044444, GeomFromText(‘POINT(40.689166 -74.044444)’), ‘The Statue of Liberty’);
INSERT INTO locations VALUES(3, 40.758611, -73.979166, GeomFromText(‘POINT(40.758611 -73.979166)’), ‘Rockefeller Center’);
INSERT INTO locations VALUES(4, 40.757266, -73.985838, GeomFromText(‘POINT(40.757266 -73.985838)’), ‘Times Square’);
INSERT INTO locations VALUES(5, 40.7527, -73.9818, GeomFromText(‘POINT(40.7527 -73.9818)’), ‘New York Public Library’);

* Execute a simple test drive query which returns all the locations and their distance from ‘The Empire State Building’ + Comparing two distance calculation methods (1) MySQL euclidean calculation (2) Haversine calculation (results below)

SELECT locations.name,
astext(locations.loc),
GLength(LineStringFromWKB(LineString(locations.loc, GeomFromText(‘POINT(40.748433 -73.985655)’))))*100
AS euclidean,
6378.1 * 2 * ASIN(SQRT(
POWER(SIN(RADIANS(40.748433 – locations.lat) / 2),2) +
COS(RADIANS(40.748433)) * COS(RADIANS(locations.lat) )
* POWER(SIN((RADIANS(-73.985655 – locations.long)) /2), 2) )) AS haversine
FROM locations
— HAVING euclidean < 1
– ORDER BY euclidean ASC LIMIT 10;


Two Surprises/Issues

(1) SRID (Spatial Reference Identifier) support in MySQL is a disgrace – In MySQL, the SRID value is just an integer associated with the geometry value. All calculations are done assuming Euclidean (planar) geometry.

Possible Workarounds: (1) Euclidean calculation can be enough (2) Use Haversine function if you need the accuracy

(2) MySQL ‘Where’ clause can’t use column aliases for filtering

Possible Workarounds: (1) Use ‘Having’ clause (see above) (2) Use the explicit function or field and not the alias

*** *** *** *** *** *** *** *** *** *** *** ***

Related/Interesting reference Geo Distance Search with MySQL (Presentation | 2008)

Important note: To help new AWS customers get started in the cloud, AWS is introducing a new free usage tier. Beginning November 1, new AWScustomers will be able to run a free Amazon EC2 Micro Instance for a year, while also leveraging a new free usage tier for Amazon S3, Amazon Elastic Block Store, Amazon Elastic Load Balancing, and AWSdata transfer – Very Exciting Times!!!

Disturbing unrelated fact: Starting in 1931, every graduate of the Japanese Naval Academy was asked: “How would you carry out a surprise attack on Pearl Harbor?”

→ 3 CommentsTags: Cloud · Development · Disruptive Technology · Geo