By Joe Sun

A life explorer and dream chaser.

Antidote to whatever

The gym that I just paid 2-years membership fee upfront, said they had contract issues with the real estate developer and their business were coercively suspended.

 

Anyway, I just want to show that I’ve been here and done the 2018 portion of visiting. Hope for the best for anything coming from the unknown.

Mac系统的launchd守护进程 (转载)

“Mac系统的launchd守护进程daemon2013笔记整理”:
关键词:mac 系统 launchd 守护 进程 daemon2013 笔记 整理
1. launchd
mac系统下通用的进程管理器,是mac系统下非常重要的一个进程,一般来说该进程不允许直接以命令行的形式调用。只能通过其控制管理界面,launchctl来进行控制。
launchd主要功能是进程管理。可以理解成是一个常驻在后台的进程,根据用户的配置,来响应特定的系统事件。launchd既可以用于系统级别的服务,又可以用于个人用户级别的服务。
2. 在launchd的语境中,常驻进程有两种:
daemon # 也就是我们常说的守护进程,这种一般对所有用户都有相同的行为,响应相同的事件,始终运行于后台,没有前台交互界面。
agent # 这种是用户级别的服务进程,一般以用户的身份运行。
3. 守护进程(daemon)
是指在unix或其他多任务操作系统中在后台执行的电脑程序,并不会接受电脑用户的直接操控。此类程序会被以进程的形式初始化。守护进程程序的名称通常以字母“d”结尾:例如,syslogd就是指管理系统日志的守护进程。
通常,守护进程没有任何存在的父进程(即pid=1),且在unix系统进程层级中直接位于init之下。守护进程程序通常通过如下方法使自己成为守护进程:对一个子进程调用fork,然后使其父进程立即终止,使得这个子进程能在init下运行。这种方法通常被称为“脱壳”。
系统通常在启动时一同起动守护进程。守护进程为对网络请求,其他硬件 活动等进行响应,或其他通过某些任务

此文来自: 马开东博客 转载请注明出处 网址: http://www.makaidong.com
对其他应用程序的请求进行回应提供支持。守护进程也能够对其他硬件 进行配置(如在某些linux系统上的devfsd),运行计划任务(例如cron),以及运行其他任务。
在dos环境中,此类应用程序被称为驻留程序(tsr)。在windows系统中,由称为windows服务的应用程序来履行守护进程的职责。
在原本的mac os系统中,此类应用程序被称为“extensions”。而作为unix-like的 mac os x有守护进程。(在mac os x中也有“服务”,但他们与windows中类似的程序在概念上完全不相同。)
4. mac的守护进程目录有以下几处:
~/library/launchagents # 用户的进程
/library/launchagents # 管理员设置的用户进程
/library/launchdaemons # 管理员提供的系统守护进程
/system/library/launchagents # mac操作系统提供的用户进程
/system/library/launchdaemons # mac操作系统提供的系统守护进程
另:/library/startupitems 这个目录下也有可能存在开机启动项目的配置
以上是launchd的相关配置的存放目录,可以看到,一般我们个人编写的守护进程,都应该放到~/library/launchagents目录里面。
5. 举个例子,我以jenkins为例来讲。
macosx系统下,守护进程文件都是存在library文件夹,用户相关的library可能存在于以下三处:
/system/library
/library
$home/library
上面3处均有可能存在jenkins的守护进程文件(xxx.plist)。根据上面讲的几处守护进程的目录,找到jenkins的启动配置文件是/library/launchdaemons/org.jenkins-ci.plist。
另外,查的过程中我还发现jenkins的uninstall脚本存放于’/library/application \support/jenkins/’下,uninstall.command和jenkins-runner.sh。我想一些其他通过dmg或者pkg安装的app也是如此,要卸载的话,依次从上头的几个目录中删除配置文件即可。

参考资料:link1 link2

搜索此文相关文章:Mac系统的launchd守护进程daemon2013笔记整理
此文链接:http://www.makaidong.com/%E5%8D%9A%E5%AE%A2%E5%9B%AD%E7%9F%A5%E9%81%93/4476.shtml
转载请注明出处:Mac系统的launchd守护进程daemon2013笔记整理 – 博客园

Class 7 of CRM

  • Haagen Daz doesn’t mean anything.
  • QVC- there is a guy like the Fantasy Island guy with the magic suitcase
  • Affiliate marketing: earning a commission by promoting other people’s (or company’s) products.
  • Indirect selling: supermarkets, department stores,
  • response: active and thought-through answer
  • react: could be passive and natural answer
  • Sometimes you don’t know what you don’t know

CRM class 4

How to compete with big players in the industry

  • Work step by step and analyze your competitors’ value chain. 
  • De-construct their value chain
  • Find their weaknesses in the chain and bring to customers something your competitors couldn’t.
  • Beat them on their weakness using appropriate and specific strategy

Blockbuster vs. Netflix

  • customer focus vs. marketing focus
  • data-driven and forward-looking
  • Netflix’s advantage
    • selection
    • convenience
    • price

———————————————————————————————————————————————————————————

recency

monitoring

Is Your Brand a “Partner,” a “Best Friend” or a “Secret Affair” For Your Customers?

Brand relationships come in all shapes and sizes, but marketers tend to focus on loyal brand “marriages,” missing opportunities to relate to customers who may see their brand as a best friend, a fling, or even an adversary, says Boston University’s Susan Fournier.

At MSI’s February 2014 conference, “Brands in the Balance: Managing Continuity and Change,” Fournier and John Wittenbraker of GfK discussed how managers can overcome such myopia and build stronger customer-brand relationships.

While many managers embrace the idea of relationship marketing, the practice of customer relationship management has devolved to customer profitability management, she points out. “A lot of relationship marketing is IT-led and IT-enabled and while these professionals know how to manage data they do not necessarily understand relationships. Bribing with cash incentives, locking-in, giving a membership card. Is that a relationship?”

Firms need to refocus on managing the relationship equity in their total portfolio of brand relationships, Fournier says. They will find that their consumer—brand relationships are complex and multi-dimensional. Some may be functionally-oriented, some superficial and fleeting, and some emotional and social. Each type of relationship has different norms and expectations. “If you learned your brand was a ‘secret affair’ for a sizable segment, for example, as we learned with Cheetos, ‘Sex in the City,’ Wal-mart, and National Enquirer, you are going to think twice about your advertising messages and marketing campaigns. A fashion brand marketed as a ‘best friend’ versus a ‘fling’ brand is going to have a different brand story, identity, and feel.”

Fournier cautions marketers not to forget about managing negative relationships, which her research shows comprise on average 45% of consumers’ relationships with brands. “If a customer of the New York Philharmonic feels they are in a stalker-prey relationship, you better develop a plan to manage that. And you might think twice about sending Development after them for donations, which is the knee-jerk reaction of CRM.”

“There is profit potential in all types of relationships,” says Fournier. “The trick is to understand the specific relationship contract and the implicit rules that govern consumers’ brand interactions.”

While managers claim credit for profitable relationships, they rarely look inward to learn why some relationships go bad. For example, companies often reward good customers with discounts and special treatment and permit them to break rules. These “best customers” become costly to serve and may even eventually be “fired” by the firm.  “Firms need to pay attention to their signals. All signals. Not just the ones in the marketing plan.”

“There is profit potential in all types of relationships,” says Fournier. “The trick is to understand the specific relationship contract and the implicit rules that govern consumers’ brand interactions. You have to play by the rules.”

Rather than seeking simply to maximize revenue in a journey to gold customer status, firms should segment their customers by relationship type, Fournier suggests. With this portfolio map, they can determine which segments to target, and develop strategies by reverse-engineering best and worst relationships.

“You can know a purchaser by collecting purchase and demographic data, but to establish a relationship you really need to understand what makes the person tick,” Fournier says. “As marketers, we tend to think it’s all about the brand—no, it’s all about people’s lives and if you are lucky, your brand will come into those lives.”

http://www.msi.org/articles/is-your-brand-a-partner-a-best-friend-or-a-secret-affair-for-your-customers/

MIT pic Gfk

Click to access BaCE-How-Deep-is-your-love.pdf

Click to access Putting%20the%20R%20Back%20into%20CRM_Sloan%20Management%20Review_April%202011.pdf

 

5 Things I Know About Marketing

http://www.msi.org/articles/5-things-i-know-about-marketing/
This link contains great articles to read; very informative.

The article below is from Susan Fournier:

1. Brands are a means to an end, not an end in themselves.

As brand managers and branding researchers, we put brands at the center of our thoughts and activities and in doing that, we lose perspective. We have supermarkets brimming with 60,000 SKUs and literally thousands of brands. Every brand manager thinks that their brand plays or could play a big role in people’s lives. That is not—and simply cannot be—the case!

People are social animals; at their core they are all about relationships with others. Our families, our friends, our coworkers—that’s what drives us. Brands sometimes play a role in that, but no matter how you slice it, they are the means in people’s lives, not the ends.

Brands can be a means to get the kitchen cleaned, which is just something I do as a mother with an Italian heritage, or they can be a means to express a certain vision of myself, an identity that matters to me, or a role I want to perform well. The key word is “can”.

Very often, brands are totally in the background. Maybe John likes to bike, and he is part of a biking club and he goes out every Saturday and participates in races. For him, it’s about the community of bikers. The bike is there; he enjoys it, but the point of this brand relationship is the people that he is riding with. His Cannondale is a means to that end.

To advance brand strategy, marketers will typically do a category study—map the attributes and benefits of, say, Minute Maid versus Tropicana versus Simply Orange—and act as if this brand-defined context is what the world is all about. Well guess what? It’s about the people, not the brands. If we want strong brands we have to start with a deep understanding of the people and figure out where our brands fit into their lives, if at all.

2. Our approaches to customer development are very simplistic (and big data may actually hurt and not help).

We take a really shallow view of customer development. Brand managers try to move people in aggregate groups along one path, typically from shallow to deeper. Did you buy more? Are you with us longer? Do you advocate for the brand among your friends? But there is a lot more going on than progressive layers of loyalty and commitment.

Ironically, big data can thwart the mission to develop more inspired customer development plans. The analyst’s job is to reduce everything to 0’s and 1’s. To take out context that can complicate things. To reduce the data to empirical relationships with correlations like, “People in zip code X tend to buy peanut butter sandwiches.” But this is information without meaning. We are overly enamored of information when we need to be focused on meaning. This complicates things, but no one said it would be easy.

3. The brand is what the brand does; brand meaning is complicated.

Everything we do affects the brand meaning and hence the brand relationship, whether it is in the brand strategy or not. Marketers might send out coupons or a survey; their intent is clear—to ignite purchase—but this is a meaning-laden signal and people may interpret this signal in completely different ways. For one person the coupon says, “You really don’t care about the important things in this relationship”; for another it validates the tit-for-tat nature of a basic exchange.

Brands and the organizations that represent them leak signals constantly. When Martha Stewart told Barbara Walters that her alleged illegal sale of ImClone stock was meaningless, insignificant, and represented a mere fraction of a percent of her personal financial equity, she created brand meanings that certainly did not help her brand. Unintended signals can stand as big statements about what the organization believes in or doesn’t believe in, and fundamentally affect the brand at its core.

Marketers do tons of work to figure out a brand’s positioning and they spend millions of dollars communicating and reinforcing that. To make things tractable, they want to circumscribe brand meaning and put it in a box: “This brand is the [blank] among all [blanks] because it [blanks].”  But when a brand gets into a person’s life, there isn’t consensus about what it means. Multivocality and co-creation are terms that have been used: a brand speaks with many voices.

My doctoral student Claudio Alvarez has shown empirically that brands have less shared meaning than they have idiosyncratic or personalized meaning. Yet, our entire branding philosophy is founded on the task of finding one differentiated meaning and repeating it until everyone develops shared knowledge and familiarity with that positioning. Things would change radically if the paradigm was refocused to encourage idiosyncratic meaning.

4. Marketers underappreciate the importance of brand relationships that are not “marriages”.

Basic exchange relationships are the most prevalent form of relationality in the commercial space. Yet we are always trying to move beyond them. I think there is a lot to appreciate in basic exchanges, especially because habits are often involved. Habits run deep and our understanding of them is shallow.

Or consider brand flings, which we also dismiss: “Oh, that’s bad, the consumer played with us and then they moved on.”  No, that’s awesome. A fling has tremendous passion and an amazing amount of investment. You’re obsessed; it’s all-consuming. Yet we always want to move people out of flings into brands marriages.

Just think about a situation where 100,000 people are having a fling with your brand this year and another 100,000 people are having a fling next year. You can run a whole business on that! Get more people to have flings and then maybe have a product portfolio so they can go to another brand and have another fling when the passion dwindles. Embrace it—it’s beautiful stuff!

Marketers also tend to ignore the negative relationships that likely populate their brand relationship portfolios. In cross-cultural research with GfK, we learned that on average 45% of a brand’s relationships are negative. Yes, we have some insight into managing service failures, but that does not constitute a science of negative relationships. Abusive marriages, enemies, ex-friends, addictions, stalker-prey. These are the relationships that can make or break you. Do we know how to manage them? To think you can turn these into brand marriages is optimistic at best. These relationships each need to be dealt with on their own terms. What are the rules of these relationships? What meanings are being sought and delivered in the brand? Those are questions we could be asking. You can create interesting segments with that data and craft strategies to migrate people across relationships in your brand’s relationship space.

5. Risk is elemental as a brand construct.

In marketing we are revenue-centric; we don’t think a lot about risk. But risk is a huge part of branding. People stick with a brand to control risk: psychological risk, financial risk, the risk of failureIn stewarding a brand, the manager’s job is to understand risk and manage accordingly.

In a project with my BU colleague Shuba Srinivasan, we analyzed ten years of data on brand architecture strategies—for example, Fed-Ex and its “Branded House” where everything is branded Fed-Ex, or Apple’s sub-branding strategy with the Apple iPod, or endorsed branding as with Courtyard by Marriott, where two brands are combined and the secondary brand is prominent. We learned that some of these strategies are inherently riskier than others: there’s risk of meaning dilution, risk of reputation loss in the wake of failures, cannibalization risk, and financial risk from lost opportunities or competition for management time. When you factor in risk, the standing recommendations for certain strategies change. Sub-branding, most notably, exacerbates rather than controls risk.

“Person branding” is another interesting scenario where managing risk—the risk of personal crisis, the risk of death—is more elemental than managing revenues and returns. Think of Taylor Swift, Martha Stewart, Tiger Woods, and even Barack Obama.

We could rethink the entire exercise of branding as risk management. It reframes everything. Do we have the skill sets and conceptual frameworks to migrate to risk management? I do not think so.

http://www.msi.org/articles/is-your-brand-a-partner-a-best-friend-or-a-secret-affair-for-your-customers/