Thursday, June 29, 2023

Vantaxa 5 (Vortioxetine) Tablet

Vantaxa 5mg Tablet

Prescription Required

Manufacturer/ Marketer: Intas Pharmaceuticals Ltd

SALT COMPOSITION: Vortioxetine (5mg)

Storage: Store below 30°C

Vortioxetine Uses

Vortioxetine is used in the treatment of Depression.

Benefits of Vantaxa Tablet

In Depression Vantaxa 5mg Tablet works by increasing the level of a chemical called serotonin in the brain. This improves your mood, relieves anxiety, tension, and helps you sleep better. It has fewer side effects than older antidepressants. It usually takes 4-6 weeks for this medicine to work so you need to keep taking it even if you feel it is not working. Do not stop taking it, even if you feel better unless your doctor advises you to.

How Vortioxetine works

Vortioxetine is a serotonin modulator and stimulator (SMS). It works by acting on multiple brain chemicals including serotonin, noradrenaline, dopamine, histamine, and acetylcholine which are thought to be involved in controlling mood and related mental processes. Common side effects of Vortioxetine Constipation, Nausea, Vomiting, Abnormal dreams, Dizziness, Diarrhea, Dryness in mouth, Itching

Fact Box

Chemical Class: Piperazine Derivative Habit Forming: No Therapeutic Class: NEURO CNS Action Class: Serotonin modulator and stimulator Ref: https://www.1mg.com/drugs/vantaxa-5mg-tablet-758073?wpsrc=Google+Organic+Search

Sizodon MD 0.5 Tablet

Manufacturer/ Marketer: Sun Pharmaceutical Industries Ltd

SALT COMPOSITION: Risperidone (0.5mg)

Storage: Store below 30°C

Product Description

Sizodon MD 0.5 Tablet is used in the treatment of schizophrenia (a mental disorder that can result in hallucinations or delusions and also adversely affects a person’s ability to think and behave) and mania. Sizodon MD 0.5 Tablet is taken with or without food, preferably at night. However, it is advised to take it at the same time each day as this helps to maintain a consistent level of medicine in the body. Take this in the dose and duration as advised by your doctor and if you have missed a dose, take it as soon as you remember. It is important that this medication is not stopped suddenly without talking to your doctor as it may worsen your symptoms. However, discontinue this medicine immediately if you experience Neuroleptic malignant syndrome (NMS), characterized by fever, muscle rigidity, and altered consciousness or seizures. Some common side effects of this medicine include insomnia, sedation, somnolence, parkinsonism, and headache. Initially, this medicine may cause a sudden drop in blood pressure when you change positions, so it is better to rise slowly if you have been sitting or lying down. It also causes dizziness and sleepiness, so do not drive or do anything that requires mental focus until you know how this medicine affects you. This medicine may increase your weight but, modifying your lifestyle by having a healthy diet and exercising regularly can reduce this side effect. You should be cautious while using this medicine as it may increase the risk of developing diabetes, so it is better to monitor glucose regularly. Inform your doctor if you develop any unusual changes in mood or behavior, new or worsening depression, or suicidal thoughts while taking this medicine.

Uses of Sizodon Disintegrating Strip

Treatment of Schizophrenia Treatment of Mania

Benefits of Sizodon Disintegrating Strip

In Treatment of Schizophrenia Schizophrenia is a mental disorder in which a person’s thinking ability, feelings and behavior become abnormal. Sizodon MD 0.5 Tablet helps restore the chemical imbalances in the brain that are responsible for such changes. It improves thoughts, behavior and enhances the quality of life. In Treatment of Mania Mania means extremely excited or elevated mood. Sizodon MD 0.5 Tablet helps calm the mood and relax the nerves. This stabilises the mood and prevents the symptoms of mania from recurring again. Taking Sizodon MD 0.5 Tablet will ensure that you have a better social life and are able to do daily activities more comfortably.

How Sizodon Disintegrating Strip works

Sizodon MD 0.5 Tablet is an atypical antipsychotic. It works by affecting the levels of chemical messengers (dopamine and serotonin) to improve mood, thoughts and behavior.

Fact Box

Chemical Class: Benzisoxazole Derivative Habit Forming: No Therapeutic Class: NEURO CNS Action Class: Atypical Antipsychotics

Interaction with drugs

Taking Sizodon with any of the following medicines can modify the effect of either of them and cause some undesirable side effects Clotrimazole Brand(s): Clowil, Odis, Kamestin Life-threatening Use of Risperidone and Clotrimazole should be avoided at the same time. Clotrimazole is expected to increase Risperidone levels, which may result in potential life-threatening abnormal heart rate. Fluconazole Brand(s): Fungis, EF Z, Rocflu Life-threatening Itraconazole Brand(s): Itraspan, Canzit, Itoz Life-threatening Miconazole Brand(s): Canticid Life-threatening

Nexorab IT Capsules (GERD)

Rabeprazole + Itopride

Rabeprazole + Itopride Uses

Rabeprazole+Itopride is used in the treatment of gastroesophageal reflux disease (acid reflux) and Peptic ulcer disease.

How Rabeprazole + Itopride works

Rabeprazole + Itopride is a combination of two medicines: Rabeprazole and Itopride. Rabeprazole is a proton pump inhibitor (PPI). It works by reducing the amount of acid in the stomach which helps in the relief of acid-related indigestion and heartburn. Itopride is a prokinetic which works on the region in the brain that controls vomiting. It also acts on the upper digestive tract to increase the movement of the stomach and intestines, allowing food to move more easily through the stomach. Itopride (INN; brand name Ganaton) is a prokinetic benzamide derivative. These drugs inhibit dopamine and acetylcholine esterase enzyme and have a gastrokinetic effect. Itopride is indicated for the treatment of functional dyspepsia and other gastrointestinal conditions.

Common side effects of Rabeprazole + Itopride

Diarrhea, Headache, Dizziness, Flatulence, Weakness, Nausea, Vomiting, Abdominal pain

Brand

Nexorab - IT Capsules

Sunday, June 25, 2023

Avoiding Common Traps While Thinking to Negotiate (Chapter 1)

Consider a business dispute based on real events that could happen to any one of us. Characters Evelyn: sister Fred: brother-in-law You are the founder of a small, privately owned research and development company in Silicon Valley. You recently learned that your joint venture partner, the giant Bikuta Corporation of Japan, has secretly developed a competing product which it is now selling under its own name in the Chinese market. This “new” product is essentially a knockoff of the design you licensed to Bikuta (along with essential know-how) two years ago. There is no doubt in your mind that Bikuta has violated your contract, which provides that Bikuta will manufacture and distribute only your product “worldwide” for five years—and pay you a license fee of 15 percent of sales. When you confront Bikuta's president, he is unremorseful. He says your original design does not “fit” the Chinese market and that Bikuta owes you nothing for Chinese sales. He also wants to renegotiate your 15 percent royalty rate, which he suddenly claims is too high. You feel stunned and betrayed. Bikuta thinks nothing of stealing your know-how, ignoring its contractual obligations, and trying to bully you into accepting less than you are due. You are also angry with yourself for being so trusting. Any businessperson can identify with this case. The gut says “Do battle!” and “It would be unworthy to negotiate.” But what's the wise thing to do— financially, morally, rationally? In the face of a bully, do you fight or negotiate? The tension between conflicting moral and pragmatic demands is central to this dilemma. By the time you finish reading it, I hope my framework will give you a new and useful way to think not only about Bikuta, but about all those situations in which you will have to decide whether to bargain with the Devil.

Avoiding Common Traps

Here we want to say why intuitive judgments are not always wise. Fred's perspective reflects a number of traps, or cognitive distortions, that commonly lead us to refuse to negotiate when we probably should. These “negative” traps are in the left-hand column below, and they are by far the more common response when we are in conflict with an enemy. But a second set of traps, listed in the right-hand column, can have the opposite effect, causing us to negotiate when maybe we shouldn't. Evelyn's perspective reflects some of these “positive” traps.
# Negative Traps Promoting Refusal Positive Traps Promoting Negotiation
a Tribalism Universalism
b Demonization Contextual rationalization and forgiveness
c Dehumanization Rehabilitation and redemption
d Moralism/Self-righteousness Shared fault and responsibility
e Zero-sum fallacy Win-win
f Fight/Flight Appeasement
g Call to battle Call for peace/Pacifism
a) Tribalism involves an appeal to a group identity, where you see your own side—the in-group—as familiar and reliable, while the other side is an out-group that should be distrusted and disfavored. The group identity rests on shared characteristics such as family or kinship structures, language, religion, race, ethnicity, or a common history. In our example, Fred perceives Bikuta as a member of a foreign tribe— the Japanese—who are different, don't think the way “we” Americans do, and who are not to be trusted. At the opposite extreme is the trap of universalism. This presumes that people are all essentially the same and underestimates the importance of differences created by culture, history, and group identity. In Evelyn's words, “People are people. Any businessman wants to make money for his company.” b) Demonization is the tendency to view the other side as “evil”: not just guilty of bad acts, but fundamentally bad to the core. Fred sees Bikuta's actions—secretly opening a factory in China, manufacturing a competing stent, and asking for a reduction in the license fee—as revealing his underlying character. Evelyn's perspective reflects the opposite extreme: contextual rationalization. She suggests that Bikuta's behavior is best understood as the product of external pressures and thus can be easily forgiven. c) Dehumanization involves seeing the enemy as being outside the moral order, less than human. Said to be a central process in prejudice, racism, and discrimination, this trap justifies treating the “other” as an “object.” Fred's characterizations of the Japanese lean in this direction. More extreme examples can easily be found. In 2008, Imam Yousif al-Zahar of Hamas characterized Jews as “the brothers of apes and pigs” before calling them a people “who cannot be trusted” and “have been traitors to all agreements.” The opposite trap might involve a belief that all people are capable of change and deserve an opportunity for rehabilitation and redemption. In Evelyn's words, “Give Mr. Bikuta a chance to do the right thing.” d) Moralism and self-righteousness create a tendency to see the other side as entirely at fault while you are innocent and worthy. Fred feels Bikuta is completely to blame, has purposely and flagrantly violated the joint venture agreement, and deserves moral condemnation. The opposite trap is the tendency to assume that in every conflict there is fault on all sides and that the burden of responsibility should be shared. Evelyn suggests that while Bikuta may be at fault, you are partially responsible as well for not being more attentive to Bikuta's desire to enter the Chinese market. e) The zero-sum trap involves seeing the world in terms of a competition: what one side wins, the other side must lose. Conflict is seen as purely distributive: anything that benefits your enemy is necessarily bad for you. Reducing the license fee, according to Fred, can only help Bikuta and hurt you. One sees this trap everywhere. In divorce disputes, for example, spouses often argue over the allocation of money, or timespent with the children, as if more for one spouse can't possibly be good for the other. The opposite trap is the naïve assumption that win- win is always possible, that the pie can always be expanded so that both sides are better off. Evelyn suggests that if joint venture sales will be expanded by reason of lower license fees, both you and Bikuta could be better off economically. She may (or may not) be right. f) The fight/flight trap involves seemingly opposite behaviors, but both are automatic reactions and relate to “hot cognition.” In the face of intense conflict, you may: (1) unthinkingly charge into battle or, (2) at the other extreme, flee, conceding what is important to you in the hope of avoiding a fight. Fred obviously wants to fight. Evelyn wants neither to fight nor to flee, but she is perhaps inclined toward appeasement. Better to negotiate with Bikuta and make concessions, she argues, than fight a possibly losing legal battle. g) The final trap, the call to battle, involves a political figure, business executive, or family member mobilizing his or her “troops” for a fight in a righteous mission against evil. This call uses the language of war and will often rhetorically draw upon demonization, tribalism, dehumanization, and moralism. While the leader inevitably claims his motivation is only to do what is best for the group as a whole, the call to battle often serves the leader's own political interests as well. Far less common is the opposite extreme, a call for peace, based on the premise that almost any conflict can be avoided or ended through sensible peace-seeking initia-tives. The call for peace may invoke notions of universalism, forgiveness, redemption, and shared responsibility.
Tags: Negotiation,Book Summary,

Friday, June 23, 2023

Story of Natan Sharansky (From the book 'Bargaining with the devil')

Anatoli (Natan) Sharansky was twenty-nine years old when he was seized by the Russian secret police, the KGB, taken to Lefortovo prison, stripped naked and searched, and told that he was being charged with treason, a capital offense. He was accused of passing state secrets to the CIA. The charges were bogus. His real offense was that he had become a public spokesman for the Soviet Zionist movement. He had regularly provided the major American and European television and newspaper correspondents in the Soviet Union with interviews and information about “refuseniks”—
Soviet Jews who had been refused permission to emigrate to Israel.
The KGB wanted to make a deal with Sharansky, and they used a combination of carrots and sticks in their efforts to induce his cooperation.

In exchange for a confession and a condemnation of the refusenik movement, they offered Sharansky a short prison sentence, after which he would be free to leave the Soviet Union and join his wife in Israel. Implicit in the deal was the understanding that once Sharansky had left the Soviet Union, he could repudiate his confession as coerced. The stick included subjecting Sharansky to a merciless campaign of psychological torture, social isolation, continuing threats of extreme punishment, and harsh conditions.

Instead of cooperating, Sharansky adopted a stance of absolute refusal to make any deal with the KGB. He faced down a succession of high-level KGB interrogators, refusing to confess to anything or to provide any information that would implicate his friends and colleagues. He pleaded not guilty to the criminal charges, dismissed the state-assigned lawyer (whowas a Communist Party member), and insisted on the right to defend himself during the trial. He then used the trial as a forum to denounce the charges as a sham and vilify the Soviet regime. He was convicted on the bogus espionage charge and condemned to a thirteen-year sentence: three years in prison, with the remainder in a forced labor camp.
For the next nine years, Sharansky endured harsh physical conditions in Soviet prisons and labor camps. “During the long months of interrogation and isolation before my trial, and for all the years that followed, my captors were determined to break me, to make me con-fess to crimes I had never committed,” he later wrote in his memoir.4 He steadfastly refused all forms of cooperation, and even went on a nearly fatal hunger strike as a protest against the authorities.
Finally, in 1986, the Soviets released Sharansky in a prisoner exchange with the United States. Sharansky was released in Berlin and the United States released a captured Soviet spy.

To the very end, Sharansky refused to bargain with the Devil. On February 10, 1986, Sharansky was flown to East Berlin, accompanied by a KGB agent. A car was waiting to take him to the border. As they stepped off the plane, the KGB agent instructed Sharansky, “You see that car … Go straight to it and don't make any turns. Is it agreed?” Sharansky replied,
“Since when have I started making agreements with the KGB? You know that I never agree with the KGB about anything. If you tell me to go straight, I'll go crooked.” He then defiantly zigzagged his way to the car.
The next day he walked across the Glienicke Bridge to his freedom.

~ ~ ~

Sharansky's decision provides a rich context for exploring the issues raised earlier in this chapter. Sharansky himself has provided a wealth of information in his memoir and subsequent interviews.5 How did he make this decision—and continue to uphold it during the long years of his imprisonment? Was it based on analysis or intuition? Was it a pragmatic decision or a moral one? Above all, was it wise? 

Background

Sharansky was born in 1948 in Stalino, a city in the Ukraine. While ethnically Jewish, his family, like most Jews during the Soviet period, was not religiously observant. From an early age, Sharansky was taught that Jews were often persecuted and that expressing any form of dissent was dangerous. He was five years old when Stalin died in 1953, and he remembers the day vividly. His father told him that Stalin had been a “terrible butcher” who had killed “many innocent people,” that shortly before his death Stalin had again begun persecuting Jews,6 and that another pogrom might soon be in the offing. Moreover, “Papa warned us not to repeat these comments to anyone. This is when I first learned that in order to survive in Soviet society you had to function on two levels at once: what you really thought and what you allowed yourself to tell other people. I lived with this dual reality until 1973.” Sharansky grew up “unaware of the religion, language, culture and history of my people.” As a youth he had little interest in a religion that could only be practiced in secret. “Because Jews of my generation had no desire to live a double life, or to be handicapped by a Jewish affiliation that meant little to us, we constantly looked for a means of escape.” Sharansky's means were his brains—he was a chess prodigy who excelled at math and had a passion for learning English. Because of his mathematical gifts, and despite being a Jew, Sharansky was accepted to the Moscow Institute of Physics and Technology, a prestigious, highly competitive school that liked to compare itself to the Massachusetts Institute of Technology (MIT). While a student there, inspired by Andrei Sakharov and his Committee for Human Rights, Sharansky became interested both in human rights and the Soviet Zionist movement, a dissident group that sought to pressure the Soviet regime to grant Jews the right to leave the USSR for Israel and thus “make aliyah.” Through this movement he developed a strong Jewish identity and the courage to speak out: “[F]or the first time in my life, I was no longer afraid to say what I really believed—about my fellow citizens, the country I lived in, and the values I adhered to. At the age of twenty-five I finally learned what a joy it was to be free.” In October 1973, through his work with the Soviet Zionist movement, Sharansky met Natasha (later Avital) Stieglitz, who quickly became the love of his life. They soon moved in together. Later that year, Sharansky followed Natasha's example and applied for permission to leave the Soviet Union for Israel. In doing so, he knew it was only a matter of time before he was fired from his job as a computer specialist at the Institute for Oil and Gas. Natasha's exit visa came through in mid-1974. The couple struggled with the question of whether she should leave without him, and if so, whether they should marry before her departure. They decided they should marry and that she should not put her exit visa at risk through a delay. They married on July 4, 1974, in a Jewish ceremony. The next day she left the Soviet Union for Israel, where she took the name Avital. Sharansky, hoping that his own exit visa would come through quickly, assured her that he'd be there within six months at the latest. In fact, they were not to be reunited for twelve years. Sharansky increasingly devoted his energy and time to the Soviet Zionist movement, especially after he lost his job in 1975. Because of his excellent English, he became an important spokesman for the Jewish dissidents with the Western press. He developed close relationships with the Moscow correspondents of the major media from America and Europe, and frequently granted interviews and provided information about the plight of Soviet Jews in general and refuseniks in particular. After several years, the Soviet authorities decided to crack down on the movement. On March 4, 1977, the newspaper Izvestia published a full-page article denouncing Sharansky and several other Jewish activists, accusing them of passing state secrets to the CIA. Soon thereafter, Sharansky was arrested. After his arrest, Sharansky ended up spending nine years in prison and labor camps, including more than four hundred days in unheated, damp, four-by- six-foot “punishment cells,” with half rations. He also spent about two hundred days on hunger strikes. He chose this course instead of joining his wife in Israel. Based on what he knew at the time, was this a rational decision? It certainly looked as though he was analyzing the situation rationally. He was a chess master. He had studied game theory and was well grounded inmathematics. He saw himself as locked in a strategic contest with the KGB, and he relished formulating and refining his tactics. Even before his arrest, he had been interrogated by the KGB on several occasions and had framed these dealings as akin to a chess game. He took comfort in thinking through in advance what the KGB's moves might be, and how he might respond and defend. I had trained myself not to pay attention to the threats of the KGB interrogators I occasionally met with. Instead of answering their questions, I told them only what I wanted them to hear. In their presence I felt like a chess player facing a much weaker opponent. They did exactly what they were supposed to, and I knew all their moves in advance: their threats and warnings, their attempts at blackmail, their flattery and their promises. During the key period between his arrest and trial, he had sixteen months to refine his game. He also drew upon the memory of a computer program he had written as part of his graduate thesis, titled “Simulating the Decision-Making Process in Conflict Situations Based on the Chess Endgame.” He remembered that “an important element in my program was a hierarchical list, a 'tree' of goals and conditions for attaining them. And now, as I stared at the chessboard in my cell, it occurred to me that I could take a similar approach in the game that I was about to play against the KGB.” Now let's pay close attention to Sharansky's description of his thought process. What are the goals of this game? I asked myself. Clearly it was impossible to establish a goal of “minimizing the possible punishment,” for that would mean submitting to the will of the KGB. After some thought, I decided upon three goals, and I sketched them out on a scrap of toilet paper, part of the daily ration of rough tissue paper the guard had given me at breakfast: Obstruct → Study → Expose. (Emphasis added.)Upon further thought, he changed the first goal slightly. “Unfortunately, it wasn't in my power to obstruct, so I neatly crossed out that word and replaced it with a more modest goal: 'Not to cooperate.' ” Next he had to decide what it meant “not to cooperate”—what he would disclose, what he would not disclose. He spent a considerable amount of time diagramming the ends and means with each goal, dividing each into “more elementary parts” until it looked like a tree. Analysts often construct decision trees to analyze rational decision- making under conditions of uncertainty. But on closer inspection, Sharansky's tree looks suspiciously bare—in fact, it's missing a couple of branches. If Spock had been at Sharansky's side during this harrowing period, he wouldn't have let Sharansky get away with this. Spock would have begun by observing that Sharansky appeared to have three obvious interests. First, to minimize punishment and avoid execution. Second, to join Avital in Israel. Third, to promote the Soviet Zionist movement. On hearing a statement like the quoted passage above, Spock would immediately protest that Sharansky makes no mention of any interest in saving his own life, regaining his freedom, or joining his wife in Israel. In fact, Sharansky has already cut those branches right off the tree. He appears to have jumped ahead a few steps and presumed that it would be impossible to negotiate a deal that would serve these interests at an acceptable cost—that any negotiated deal that even remotely served these interests would mean “submitting to the will of the KGB.” Spock would have said, “Not so fast. This sounds rather like zero-sum thinking, with strong overtones of demonization and moralism.” At the very least, Spock would have insisted that Sharansky consider all his alternatives and weigh the pros and cons systematically. We will come back to this issue later. Now let's return to Sharansky's thought process. If he made no deal with the KGB, what were his alternatives? There was really only one alternative: to defy the KGB and insist that his case be tried. Sharansky was very clearheaded about the possible outcomes if he went to trial. He understood that there was no chance that he would be acquitted. Given the reality of the Soviet system, his conviction was preordained once he was arrested and charged. The only question was the penalty. Under the Soviet statute underwhich he was charged, the penalty was either death or fifteen years in prison. To most utilitarian analysts, that would qualify as a terrible BATNA. What were the odds that Sharansky would be executed? He had no way of knowing. On the one hand, the KGB clearly intended to make an example of him. Many refusenik dissidents had been arrested before, but they had been charged with the lesser crime of participating in “anti-Soviet” activities, which ordinarily carried only a five-year sentence. Sharansky was the first refusenik to be charged with a capital crime, and the KGB never let him forget it. Indeed, the KGB tried to give him the impression that the risk of execution was very great if he didn't cooperate. Interrogators repeatedly used the word rasstrel: death by gunfire. However, Sharansky also knew that his captors had an incentive to exaggerate this risk in order to make him confess. Sharansky's own perception of the risk of execution fluctuated wildly during the sixteen months of his pretrial imprisonment and interrogation. Initially, he thought a death sentence was extremely unlikely—little more than a theoretical possibility—for two reasons. First, the Soviet regime of the 1970s was imposing capital punishment far less often than in the Stalinist period, when many dissidents had been summarily executed. Second, Sharansky was well-known in the West and knew that Avital would do everything possible to ensure that his case received continuing publicity. He reasoned that the KGB could not afford to kill him or keep him completely hidden from the outside world because they would have to provide some proof to the media that he was alive. For the same reason, he believed that they would likely not kill his parents and brother, who remained in the Soviet Union. But later Sharansky came to feel that the threat of execution was real. At a critical time shortly before the trial, when the KGB tried hardest to coerce him, they applied a variety of psychological pressures to make him believe that rasstrel was a substantial possibility. His cellmate, a likely KGB collaborator, continually made sardonic jokes about how the executioner would soon smear Sharansky's head with iodine (to mark the target for the bullet) if he kept up his stubborn refusal to deal with the authorities. The KGB reinforced these “jokes” with their own comments. One of the more sophisticated interrogators, named Volodin, made statements such as:We tolerated you for a long time. We warned you and your friends. But even our patience has its limits. You ought to know our Soviet history. In every case where somebody was charged with crimes such as yours and did not confess and repent, he was executed. Well, not every case. There were times where there was no death penalty, and the accused received twenty-five years. We're not threatening you. I'm merely explaining your situation, which is my duty as an investigator. Assuming he escaped the firing squad, however, Sharansky knew he could count on a long prison sentence. This, too, carried great risk and uncertainty. Because of the harsh conditions in Soviet prisons and work camps, he might not survive. Even if he stayed alive, he might not survive psychologically; he feared that at some point in his incarceration, the KGB would finally break him and extract a confession. In his calmer moments, he thought the KGB would eventually let him go, perhaps in a prisoner swap with the West or out of sheer pressure from world opinion. But he had no idea whether this would happen in five, thirteen, or thirty years. Did Sharansky have a realistic sense of what kind of negotiated deal might be possible? The answer is yes. For the sixteen months between his arrest and his trial, Sharansky was continuously subjected to KGB interrogation. Reasonably early in the process he got the first hint of the kind of deal the KGB might offer if he were prepared to negotiate. [The interrogator's] tactic was to tell me about two other prisoners he had recently dealt with who had decided to cooperate with their investigators. They were both foreigners, a Dutchman and a Frenchman, and were arrested for passing out dissident literature. As I could see from the protocols of their interrogation [which the KGB shared with him], each had loudly insisted on his rights, but soon recanted. Then, after returning home, both men had repudiated their confessions, and the Dutchman had even written a book about his imprisonment. [The interrogator's] message was obvious: recant, and you, too, will be released. Then you can say whatever you like.Later the KGB was even more explicit: Our only goal is to defend state interests. You're young, and your wife is waiting for you in Israel. If you help us suppress the anti- government activity of the Zionists and the so-called dissidents, you'll receive a very short sentence—maybe two or three years. Perhaps you can even be freed right after the trial. We can make a deal about everything. We are not judges, of course, but we do have some influence in the courtroom. The precise terms of a negotiated deal were not spelled out. Exactly how short a sentence would he be offered? Would his parents and his brother be allowed to emigrate as well? Would a confession and general renunciation of the Soviet Zionist movement be enough? Or would the KGB also require that Sharansky reveal information that might jeopardize specific Soviet Zionists who had been his colleagues? Sharansky believed that once he made any concessions, the KGB would “own him,” that he would be forced down a slippery slope and would need to make further and further concessions. Obviously, the scope of Sharansky's required cooperation would rationally affect his assessment of whether to make a deal. But without entering into negotiations, there would be no way to explore the KGB's “bottom line.” Suppose an acceptable deal could be made that required Sharansky to do no more than confess and generally renounce the Soviet Zionist movement. Could the KGB be trusted to uphold its end of the bargain? Sharansky said the answer was yes. Although this may be a surprising conclusion to some, he reached it logically—by thinking about the KGB's interests. He knew his enemy well. The KGB was a “repeat player” that needed to negotiate with other refuseniks. Therefore, Sharansky reasoned, the KGB had a strong interest in maintaining its reputation within the refusenik community for honoring such deals. Sharansky reports that his assessment was based on precedent: the KGB's previous dealings with refuseniks who had cooperated. Sharansky also considered the costs of negotiating.Sitting in my cell, I asked myself the obvious question: why not recant and then repudiate it after I was released? But I already knew the answer. First, any confession I made would mean betraying my friends. When [dissidents] Yakir and Krasin decided to cooperate with the authorities, it was enormously demoralizing for the dissident community. I had no desire to undermine the movements I believed in, or to do anything that would leave my fellow refuseniks and dissidents with an even greater feeling of hopelessness, or of the KGB's own impotence. Second, I knew that the only reason that the world paid any attention to a small group of Soviet dissidents and Jewish activ-ists was our strong moral position. While collaborating with the KGB might be understandable, it would severely compromise that stance. The moral righteousness of our struggle was our greatest asset, perhaps our only asset. To cooperate with the KGB would mean letting down our growing number of supporters in the free world and undermining their continued determination to help us. Finally, on a more practical level, I knew that every time the KGB made a political arrest, it required permission from the political leadership. If I recanted, it would only make it easier for the KGB to receive permission to initiate new repressions and another round of arrests. If you accept that Sharansky's only interest was promoting the dis-sident movement, he did an impressive job of cost-benefit analysis. As to that interest, Sharansky found the costs of negotiating unacceptable. He believed that any sign of cooperation—even if subsequently recanted—would undermine the movement. He feared that any statement he made to the KGB might be twisted and used to implicate his compatriots in some fabricated crime. He also feared that the movement might lose Western support if its leaders were exposed as collaborators. He concluded that he would better serve the movement by resisting the KGB, and even becoming a martyr if necessary. Spock would not quickly dismiss this conclusion as irrational. He might question some of Sharansky's predictions and assessments, and he mighteven caution Sharansky against grandiosity. (How could Sharansky be so sure that the movement would be better served if resistance led to his death and martyrdom?) But if we accept that Sharansky's primary interest was the Zionist movement, Spock would have to agree that noncooperation met that interest better than negotiation. Indeed, it strengthened the movement by showing the world that Jewish dissident leaders could not be corrupted by the Soviet regime. But something remains a puzzle. Why did Sharansky so completely ignore his other interests in this calculus? Why didn't they even count enough to be mentioned? Given how much Sharansky detested the Soviet regime, surely he had some desire to get out of prison and join Avital in Israel, where he could raise a family, speak freely, and further promote the movement. Rationally, it doesn't make sense. And Sharansky would agree. In April 2004, he gave an interview at the University of California, Berkeley, that shed new light on his decision-making process.7 When asked how he decided what course of action to follow when imprisoned by the KGB, his answer had nothing to do with chess games or rational analysis. The source of his resistance, he said, was a “feeling that as long as you continue saying no, you're a free person. … The moment you say to them 'yes,' you will go back again to that slavery of the loyal Soviet citizen.” Sharansky added that this “intuitive, automatic feeling”—this desire “to continue being free” and “to enjoy [his] inner freedom in prison”—was “the basis of [his] resistance” (emphasis added). In fact, the basis of his decision was “irrational.” But reason and logic also played an important role in implementing his goal. [I]t is very dangerous to rely only on intuition, on non-rational things. As a religious, rational person, I was relying on my instincts, but as a scientist I had to rationalize these instincts. I had to explain to myself, rationally, why I should not cooperate with them. I had to make sure that I was controlling my behavior during interrogations, in spite of the fear, which they could insert in me, threatening to sentenceme to death. That's why I developed the whole system of rationalization, of what are my aims and means. He makes a similar point about the decision tree he created in prison. In looking back at that tree now, he says in his memoir, [It] seems like pseudo-science, a pathetic attempt to impose order on my racing and chaotic mind. But at the time it was tremendously important, as the familiar terminology from my scientific training helped me adjust to my new reality. After hours of scattered thoughts, I was finally able to organize my impulses under the rubric of a logical plan. This alone was comforting, and gave me a sense of control. In other words, he is admitting that he rigged the analysis. His desire to survive, which favored negotiation, was so powerful that he was afraid he would sacrifice his principles. So he simply removed that “interest” from the equation. He was very much caught in the Faustian tension I described earlier: a conflict between pragmatism and conscience. And he is telling us, with remarkable frankness, how he managed that tension. He used the intuitive, feeling part of his brain to decide what his goal should be, and then went back and manipulated the analysis so it would lead him to the “right” conclusion.8 The “feelings” that were so decisive here relate to self-respect, moral purpose, and identity. Spock's analysis cannot easily capture these factors, but they are very powerful motivators in human life. Indeed, a constant theme in the memoir was the importance Sharansky attached to maintaining his self-respect and not allowing the KGB or the system to humiliate him. “When I was stripped and searched, I decided it was best to treat my captors like the weather. A storm can cause you problems, and sometimes those problems can be humiliating. But the storm itself doesn't humiliate you. Once I understood this, I realized that nothing they did could humiliate me. I could only humiliate myself—by doing something I might later be ashamed of.” He turned this thought into a kind of mantra: “[N]othing they do can humiliate me, I alone can humiliate myself.”As for the traps we mentioned earlier, they too played an impor-tant role. It appears that Sharansky used the negative traps as a survival tactic. Take demonization, for example. Sharansky consciously repressed any impulse to empathize with his interrogators, or even to think they might in any way have any of his interests at heart. When Sharansky overheard his interrogators chitchatting among themselves about their families and children, he told himself that he must resist the natural impulse to realize that outside the prison the KGB personnel might be normal people. What worried me most about my isolation was that if it continued I would inevitably, perhaps even unconsciously, start adapting myself to the world of my interrogators. And once that process began, helped along by my fear of being killed and by [his cellmate's] constant chatter about the possibility of reaching an agreement with the KGB, I would gradually abandon my own world and my own values. The next step was all too clear: I would begin to “understand” my captors, and would try to reach an accord with them. Unless I stopped this process, it was only a matter of time before I succumbed. To counteract that impulse, Sharansky demonized the Soviet regime in sweeping and absolute terms. He viewed the regime as evil and soulless, oppressing not only him but his community—the Soviet Jews—and more broadly, the entire Soviet population. Sharansky also appears to have used the zero-sum trap to strengthen his resolve. He viewed every interaction with the KGB in purely competitive terms. In a chess game, there cannot be two winners. If your opponent wins, by definition you lose. And vice versa. He genuinely loved to do battle. He saw himself as supremely intelligent, and he relished the feeling that he could outsmart and defeat his captors. Sharansky did not want to see the “evil” regime win on anything, no matter how trivial. He refused to negotiate with the KGB even about receiving care packages in prison, or about receiving fewer days in a punishment cell in return for simply conversing with an interrogator. Finally, his extreme moralism and self-righteousness, mixed with apparent narcissism, appear to have helped him fight the fear and lonelinessof life in the Gulag. Sharansky told himself that when even one individual cannot be co-opted, the entire Soviet regime is undermined. He saw himself as waging a moral battle in which he alone held the key to victory. If he did not cooperate, he won and the KGB lost. It was as if he believed that if he gave up, his whole purpose in life—his struggle against the Soviets for Jewish liberation—would be shattered. He had little use for fellow dissidents who could not maintain this standard. In the Gulag, he confronted a former colleague, another Jewish dissident, Mark Morozov, who was negotiating with the KGB. Morozov wanted desperately to get out of captivity, and he justified his cooperation with the KGB by arguing that he would be more valuable to the Zionist movement on the outside than in prison. Sharansky felt both pity and contempt for him. His encounter with Morozov reaffirmed his intuition that “without firm moral principles it was impossible to withstand the pressure of the KGB. If you're a captive of your own fear, you'll not only believe any nonsense, but you'll even invent nonsense of your own in order to justify your behavior.” After his trial, as he left the detention prison where the KGB had tormented him for sixteen months, Sharansky saw that prison as “the place where I had emerged victorious, defended my freedom, retained my spiritual independence against the kingdom of lies, and reinforced my connection with Israel and with [my wife].” On his way to serving a thirteen-year sentence, he felt joy in having exercised his freedom by speaking the truth at the trial. In the ensuing years of imprisonment, Sharansky continued to demonstrate extraordinary discipline and courage. With the benefit of hindsight, there can be no doubt that his refusal to cooperate accomplished exactly what he hoped: to increase worldwide pressure on the Soviet regime.
Tags: Negotiation,Book Summary,

Wednesday, June 7, 2023

Books For Flask (Web Development Using Python)

Download Books
1. 
Flask Web Development: Developing Web Applications with Python
Miguel Grinberg, 2014

2. 
Mastering Flask
Jack Stouffer, 2015

3. 
Mastering Flask Web Development: Build Enterprise-grade, Scalable Python Web Applications, 2nd Edition
Jack Stouffer, 2018

4.
The New And Improved Flask Mega-Tutorial
Miguel Grinberg, 2017

5.
Flask Framework Cookbook
Shalabh Aggarwal, 2014

6.
Python API Development Fundamentals: Develop a Full-stack Web Application with Python and Flask
Ray Chung, 2019

7.
Building Web Apps with Python and Flask: Learn to Develop and Deploy Responsive RESTful Web Applications Using Flask Framework
Malhar Lathkar, 2021

8.
Flask Framework Cookbook: Over 80 Proven Recipes and Techniques for Python Web Development with Flask, 2nd Edition
Shalabh Aggarwal, 2019

9.
The Powder Flask Book: Treating of the History and Use of the Flask as a Principal Accessory to the Firearm, from Its Inception, Through the Ages, Until the Popular Acceptance of the Metallic Cartridge; and Giving Emphasis to the Powder Flasks of the Nineteenth Century, Noting Their Significance and Values for Shooters and Collectors of Antique Arms and Flasks
Ray Riling, 1953

10.
Flask By Example
Gareth Dwyer, 2016

11.
Building REST APIs with Flask: Create Python Web Services with MySQL
Kunal Relan, 2019

12.
Building Web Applications with Flask
Italo Maia, 2015

13.
Mad Science: Einstein's Fridge, Dewar's Flask, Mach's Speed, and 362 Other Inventions and Discoveries That Made Our World
2012

14.
Instant Flask Web Development
Ron DuPlain, 2013

Tags: Technology,List of Books,Python,

Propyphenazone

Introduction

Propyphenazone (known as isopropylantipyrine in Japan) is a derivative of phenazone with similar analgesic and antipyretic effects. Originally patented in 1931, propyphenazone is marketed as a combination formulation with paracetamol and caffeine for treatment of primary headache disorder. Serious adverse events Case reports have described acute inferior-wall myocardial infarctions characterized by low atrial rhythms[vague] (Kounis syndrome) secondary to propyphenazone use. Excerpt from WHO comments Propyphenazone, a pyrazolone derivative with anti-inflammatory, analgesic and antipyretic activity, was introduced in 1951 for the treatment of rheumatic disorders. As it is structurally related to aminophenazone it has been associated with severe blood dyscrasias. However, it cannot be transformed into potentially carcinogenic nitrosamines and has therefore been widely used as a replacement drug for aminophenazone. In certain countries, products containing propyphenazone have now been restricted in their indications, whereas in others they are still available, sometimes as over-the-counter preparations. Ref: wikipedia

More Details

Therapeutic Classification : Analgesic (of a drug: acting to relieve pain) And Antipyretic (of a drug: used to prevent or reduce fever) Agent Trade Names/Brand Names of Propyphenazone: Dart Overview of Propyphenazone • Propyphenazone is an analgesic and antipyretic, with some anti-inflammatory activity. • It is used to reduce fever and pain in conditions like headache and toothache. What is the dosage of Propyphenazone? • The recommended dose of the drug is 75 to 150 mg tablet orally. • It is usually available as a combination with other drugs like caffeine and paracetamol. How should Propyphenazone be taken? • Propyphenazone should be taken up to a maximum of four times a day. Ref: medindia.net
Tags: Medicine,

Saturday, June 3, 2023

String Related Functionality in Python

Some Commonly Used String Methods

count(): Returns the number of times a specified value occurs in a string

startswith(): Returns true if the string starts with the specified value

endswith(): Returns true if the string ends with the specified value

  • Form validation of an email ID

isalpha(): Returns True if all characters in the string are in the alphabet

  • Usage: Form validation

isdigit(): Returns True if all characters in the string are digits

  • Usage: Form validation

isspace(): Returns True if all characters in the string are whitespaces

  • Usage: Form validation

islower(): Returns True if all characters in the string are lower case

isupper(): Returns True if all characters in the string are upper case

lower(): Converts a string into lower case

upper(): Converts a string into upper case

  • Used in palindrome check.

split(): Splits the string at the specified separator, and returns a list

  • Usage: File processing

splitlines(): Splits the string at line breaks and returns a list

  • Usage: File processing

strip(): Returns a trimmed version of the string

zfill(): Fills the string with a specified number of 0 values at the beginning

  • Left padding a string with 0s (ex. phn no)

A more exhaustive list

Method Description
capitalize() Converts the first character to upper case
casefold() Converts string into lower case
center() Returns a centered string
count() Returns the number of times a specified value occurs in a string
encode() Returns an encoded version of the string
endswith() Returns true if the string ends with the specified value
expandtabs() Sets the tab size of the string
find() Searches the string for a specified value and returns the position of where it was found
format() Formats specified values in a string
format_map() Formats specified values in a string
index() Searches the string for a specified value and returns the position of where it was found
isalnum() Returns True if all characters in the string are alphanumeric
isalpha() Returns True if all characters in the string are in the alphabet
isascii() Returns True if all characters in the string are ascii characters
isdecimal() Returns True if all characters in the string are decimals
isdigit() Returns True if all characters in the string are digits
isidentifier() Returns True if the string is an identifier
islower() Returns True if all characters in the string are lower case
isnumeric() Returns True if all characters in the string are numeric
isprintable() Returns True if all characters in the string are printable
isspace() Returns True if all characters in the string are whitespaces
istitle() Returns True if the string follows the rules of a title
isupper() Returns True if all characters in the string are upper case
join() Converts the elements of an iterable into a string
ljust() Returns a left justified version of the string
lower() Converts a string into lower case
lstrip() Returns a left trim version of the string
maketrans() Returns a translation table to be used in translations
partition() Returns a tuple where the string is parted into three parts
replace() Returns a string where a specified value is replaced with a specified value
rfind() Searches the string for a specified value and returns the last position of where it was found
rindex() Searches the string for a specified value and returns the last position of where it was found
rjust() Returns a right justified version of the string
rpartition() Returns a tuple where the string is parted into three parts
rsplit() Splits the string at the specified separator, and returns a list
rstrip() Returns a right trim version of the string
split() Splits the string at the specified separator, and returns a list
splitlines() Splits the string at line breaks and returns a list
startswith() Returns true if the string starts with the specified value
strip() Returns a trimmed version of the string
swapcase() Swaps cases, lower case becomes upper case and vice versa
title() Converts the first character of each word to upper case
translate() Returns a translated string
upper() Converts a string into upper case
zfill() Fills the string with a specified number of 0 values at the beginning

Count of each alphabet

for i in string.ascii_letters: print(i, x.count(i))

a 39

b 6

c 21

d 11

e 71

f 6

g 15

h 27

i 31

j 1

k 3

l 27

m 6

n 40

o 32

p 10

q 4

r 31

s 37

t 59

u 13

v 3

w 6

x 1

y 12

z 1

A 2

B 0

C 0

D 0

E 0

F 0

G 0

H 0

I 1

J 0

K 0

L 1

M 0

N 1

O 1

P 5

Q 0

R 1

S 2

T 1

U 0

V 0

W 0

X 0

Y 0

Z 0

Count of characters, count of words and count of sentences in a given string

x = "A line about Python String from the book 'Pg 191, Learning Python (O'Reilly, 5e)': Strictly speaking, Python strings are categorized as immutable sequences, meaning that the characters they contain have a left-to-right positional order and that they cannot be changed in place. In fact, strings are the first representative of the larger class of objects called sequences that we will study here. Pay special attention to the sequence operations introduced in this post, because they will work the same on other sequence types we’ll explore later, such as lists and tuples. Note: All string methods returns new values. They do not change the original string."

print(len(x))

print(len(x.split())) # it by default splits on space

print(len(x.split("."))) # this splits the string on full stop

658

105

6

split()

Date of birth:

23-07-2023 -> extract date or month or year

20/07/2023 -> extract date or month or year

20 Jun 2023 -> extract date or month or year

05.01.2015 -> extract date or month or year

5.1.2015 (do it using date formatting)

Way 1: slice[]

Way 2: split()

Way 3: Date Formatting

d = dateutil.parser.parse("5.1.2015", dayfirst=True)

Find first occurence of ‘that’, and find all occurences of the word ‘that’

x.find('that') # This gives you the starting index of first occurence

165

print(x[x.find('that') : x.find('that') + 15])

that the charac

pattern = 'that'

for match in re.finditer(pattern, x):

s = match.start()

e = match.end()

# print('String match "%s" at slice %d:%d' % (x[s:e], s, e))

print('String match "{}" at slice {}:{}'.format(x[s:e], s, e))

String match "that" at slice 165:169

String match "that" at slice 240:244

String match "that" at slice 372:376

Find first occurence of ‘in’, and find all occurences of the word ‘in’

Startswith() and Endswith()

# How to check if a phone number is from a particular country?

# Condition for a number to come from a particular country is it’s starting country code

print('+917651179969'.startswith('+91')) # India

print('+917651179969'.startswith('+92')) # Pakistan

print('+17644479969'.startswith('+1)) # US and Canada

True

False

True

# How to check if a person’s DOB is from 2003? Assuming that DOB is following a pattern...

dates_of_birth = ['01/01/2003', '02/01/2004', '07/07/2003',

'03/02/2003', '04/03/2004', '05/03/2004']

for i in dates_of_birth:

if i.endswith('2003'): print(i)

Split and SplitLines

  • # split()
  • string = 'Jack Smith Junior is a good boy'
  • string.split()
  • # splitlines()
  • string2 = """Jack Smith Junior is a good boy
  • He loves programming"""
  • string2.splitlines()

Note About String in Python

  • A line about Python String from the book "Pg 191, Learning Python (O'Reilly, 5e)":
  • Strictly speaking, Python strings are categorized as immutable sequences, meaning that the characters they contain have a left-to-right positional order and that they cannot be changed in place. In fact, strings are the first representative of the larger class of objects called sequences that we will study here. Pay special attention to the sequence operations introduced in this post, because they will work the same on other sequence types we’ll explore later, such as lists and tuples.
  • Note: All string methods returns new values. They do not change the original string.

Now in code

Tags: Technology,Python,