fabiochiu/medium-articles huggingface dataset:
The One Thing I “Should” Fear
By: Hikari
Tags: Fear, Anger

I have always been told that I am calm and laid back, more so than most. Some people think I’ve never cried, and never felt angry. Angry. It almost feels weird to me to say that people think I’ve never been angry, when anger is constantly pulsing under every emotion.

Ever since I was little, I’ve been scared of irrational things. It was said to be common for a little girl with an anxiety disorder. The thing was, what others feared, I did not. I did not fear anger — in fact, to this day, the damaging feeling is one of my favorites, something that got me excited when I usually felt numb and unmotivated… up to a point.

It started to get out of control. I would constantly get angry, so much that it was out of hand. I got angry at the littlest of things, such as someone making a claim I thought was false. One thing was really getting on my nerves, though. It was that my friends thought that because I hadn’t shown them anger or negative emotions that I felt, they could do or say whatever they wanted to me, and if I had something — even a little thing — to say back, they would act as if there was something wrong with me.

It went on for years.

Until I finally snapped.

By then, it was obvious that I was out of control. And since, no matter how I got mad, people didn’t believe that the calm girl was really mad, I never got around to seeing someone.
Realizing My Effects
By: Janeen G.
Tags: Anger, Anger Management, Writing, Control, Effectiveness

I did not realize it until it was too late. I let my emotions get to me, I let my anger and frustration get the better of me. I saw only but my hatred for you and for the situation that put me this way. I did not think about anything at that moment but to let out my rage into the world. I was letting my anger get a hold of me.

Realizing this now, I could have done things differently. I could have stopped myself from causing destruction and listened to the problem. I could have stopped my rage from the source and tried to heal my soul. I did not think about how I was hurting people; let alone I did not think about how I was hurting myself as well.

The effects my anger was having on people were causing them to suffer, and I could not realize it. The effects of my depression were leaving my loved ones scared and worried about me. I needed to heal my broken heart. I needed to cleanse my soul from this evil darkness. I realized I needed to let go of my anger.

I realized that I needed my loved ones to help me. I realized I needed to control my anger and let my sanity be at peace. Realizing that you have a problem is probably one of the hardest things that you can admit to yourself. Taking positive action and pushing for a better life is what your soul needs.

Words by Janeen G.

www.wordsbyjaneeng.wordpress.com
Anger Danger — GROW Counseling
By: Grow Counseling
Tags: Anger, Anger Management, Emotions, Atlanta Counseling, Dysregulation

“To recognize that my upsets come from myself is the first step to remedying them.” - Anthony De Mello

Anger is a powerful emotion that can often lead to undesirable behaviors and regretful interactions. Like many of our emotions, they tend to arise uninvited and take over our headspace. Oftentimes, our feelings become activated when we have a need to be met. For example, being tired reminds us to rest, fear is designed to protect us, happy helps us connect, and sad allows us to grieve.

There is just one problem: sometimes our emotions do not have all of the information, influence irrational thinking, and essentially end up lying to us. Because of these unsolicited mental visitors, it may be helpful to have some strategies in place.

When activated, anger can quickly escalate into aggressive words or behavior — especially under the wrong circumstances. This is a human phenomenon known as entering a state of physiological dysregulation. At this point, you may feel your body heating up, heart rate increasing, and thoughts racing. You are less likely to be the one choosing words or behavior, as anger is likely doing that for you.

Pro tip: a fitness tracker can be a huge help in identifying dysregulation when your heart rate reaches 100 beats or more per minute (obviously this does not include during exercise).

So what can we do to prevent what we may end up regretting?

Musical artist Vanilla Ice was on to something when he recited: “alright stop, collaborate and listen…” to yourself, that is. One of the first steps toward controlling angry outbursts is to take a timeout. Just like a parent may suggest to a child throwing a temper tantrum, you have the ability to do the same for yourself.

Next time you find yourself in the red, try this: HIT THE PAUSE BUTTON.

Take several deep breaths (in through your nose, hold in your belly, and exhale out of your mouth). Consider taking a walk. And if you need space from another person, do your best to let them know you need to take a break and will return in about 15–20 minutes.

Now that you are alone, how do we handle what got you so riled up?

First, remember that you likely did not choose to become angry in the first place. Research shows, however, that you may choose to stay angry. Based on recent studies, we have approximately 90 seconds from anger’s onset to continue fueling its fire. Therefore, timing is key. Let’s keep it simple from here: turn towards your emotion with ACCEPTANCE.

Then, be CURIOUS about what and how it started. Like a good detective, ask yourself about it and be sure to remain focused on you. Looking outward toward a source of blame will only perpetuate the anger.

If you can land in a place of ACCEPTANCE of why it’s there and what it needs, then you will likely be more regulated and able to communicate effectively.

For more helpful information, check out this article on Psychology Today!

Written by: Michael Kanner
YOU CAN CONTROL YOUR EMOTIONS
By: Kim Colman
Tags: Emotions, Anger, Visualisation

YOU CAN CONTROL YOUR EMOTIONS

You do not have to explode with anger or dissolve into tears whenever someone else decides to behave in an angry or vindictive way.

So often when someone else is having a bad day, they erupt and can say some very hurtful things to the people that are close to them.

Our natural behavior is to then internalise this and we may feel the following:-

So angry, that we want to shout back

Extremely hurt

Tearful

Rejected

Resentful

Unforgiving

Stressed

The person who has lashed out is possibly under a lot of stress, and one does not know what that person is currently going through. You are not in control of them and their emotions. You are however in control of your reactions to them and your emotions to their acts.

Just because somebody else is having a BAD day, doesn’t mean that you must now have a BAD day too.

It is not always easy to reflect the negativity and anger when it is directed at you. This does become easy when you can start to look out for this pattern, and make a conscious effort to try to side step the wave of anger or negativity.

I find visualisation really helps me.

When I was a child, I was very frightened of the sea, and getting knocked over by the waves. My brother taught me, that if you dived under the wave, then you would not get tumbled, and would come out the other side okay.

I always visualise now, ducking under this big wave of anger or negativity, and standing up on the other side, totally untouched by it and smiling. This really helps me when someone is angry and trying really hard to spoil my day.

Find something that works for you to visualise and get in charge of your emotions rather than your emotions in charge of you.
Conflict and Silence
By: Ramandeep Johal
Tags: Anger, Communication, Silence, Words Of Wisdom, Conflict Resolution

A parable

In olden times, when people got angry with each other or engaged in an argument that remained inconclusive, perhaps even ending in accusatory remarks — they would stop talking to each other. This was not to indicate primarily the anger felt for the other person, but due to the realisation that words had failed (to convey) and now the protagonists needed to give a chance to mutual silence. Then, slowly, due to the silence, each party might dwell on some self-analysis, and quite possibly they were able to see caveats in their own argument, and the hatred towards the other person would begin to abate. Whatever it was that happened silently, they would finally resolve their differences.

But, with time, people forgot the actual significance of keeping silent after a scuffle. It was reduced to just a channel to broadcast one’s anger, albeit in a subtle way.

Photo by Nikola Johnny Mirkovic on Unsplash

Let us again try to appreciate the significance of that silence that comes spontaneously upon us i.e. when words fail to communicate, and let silence do its job.

Photo by Harli Marten on Unsplash

I feel this kind of open mind is better equipped to resolve it conflicts.
Anger management: Learning to control anger in a healthier way!
By: Nirja Gauchan Shrestha
Tags: Anger, Anger Management, Depression, Mental Health, Psychology

“There are 4 things in life which you can’t take back. An arrow once it is shot, a word after it’s spoken, an action when it is done & the time once it is passed” — Anon

Anger is a natural response of our mind towards unpleasant situations, circumstances, people, etc. It’s an emotion. Experiencing Anger means we are normal, healthy individual who can experience all sorts of emotions.

This negative emotion is not always bad, it can sometimes be a positive one too. Angry feelings might motivate us to stand up for injustice or challenge ourselves to achieve a certain goal in life. It becomes harmful when it is not managed properly and leads to aggressive/violent behavior that hurt others’ feelings.

Learning how to manage anger properly is a skill that everyone needs to understand and master. But before we discuss how can we master this skill, let’s get to know what anger management is and isn’t?

Anger management doesn’t mean we should never get angry, that’s impossible. Instead, it involves learning how to recognize, cope with, and express our anger in a healthy and productive way.

People who are suffering from depression due to family problems, failure in career / jobs / education, etc are more likely to get angry easily even in trivial matters. They are so blinded by their own mental issues that they fail to see how it is affecting the people around them.

To learn more on “How your depression and Anger might be related” check this article:
Dealing With Anger
By: Philip Baker
Tags: Self Improvement, Self-awareness, Anger, Anxiety

Just a few months ago it happened to me to lose a good job. I had to switch from working in a stable environment everybody would be jealous of, to a sudden de-escalation downwards, like a balloon getting a hole while mid-air. It wasn’t easy. Anger became my standard companion and friend which I would trust all my secrets in return of which he was to protect me from getting hurt and feeling exposed. It was an instinctual response. I wasn’t only dealing with loss but with its irreversibility of it as well. Unconsciously I knew there was nothing to be done and there was no action from my part to fix anything. There were too many internal questions to be answered that I refused profoundly to look upon. What were my mistakes, what can I learn from this, what can I do from now on to at least lessen the pain and get up standing in my feet the soonest possible. I asked none of that. Too proud to admit they had to be answered. Anger seemed a much easier approach to fix my problems.

Digging Into The Emotion

Anger is the auto-generated response to loss when we fixate in a particular cause. The moment we lay eyes on something that we think is hindering our desired state or outcome is the moment that aggression is generated. Evolutionary speaking, it worked fine. Anger declares our willingness to fight for what’s ours and sends the message we are not willing to duck out with the tail between our legs. Just the existence of it makes any attacker think twice before making a move forward. So anger is natural and exists in all species. It evolved to help us sustain our havings and possessions. But as with everything else, feelings evolve in their own. It shouldn’t surprise us. What anger was initially, as it came to be and the reason for its existence, doesn’t collide 100% with what is today. Emotions evolve together with people and the environment. They mutate like a virus until they find a sweet spot to coexist in our society. And their manifestations need to be looked upon anew, with a fresh eye.
What is the reason of continous failure or why i am getting fail again and again?
By: Happy Vishal
Tags: Succession Planning, Anger, Mood, Thoughtsaboutlife, Behavior

What is the reason of continous failure or why i am getting fail again and again? happy vishal Jul 15, 2020·2 min read

In the absence of logical thinking, man is not able to decide about what people will think and say about his actions, what will be the result of his actions. He doesn't realise the reactions of the people and the result of his actions. He does not stretch his imagination. He is entangled in only the two- the present and his own mind. As a result he performs which are laughable, unpleasant and wasteful. He may not suffer monetary loss, but others consider him a person with retarded intelligence or childish because of his complicated thinking and give up any hope for his ability for fulfilling any responsibility. People even entertain themselves and others by fooling them or ridiculing such childish person. When thought process get disturbed, imagination runs riot. Without any sense or knowledge of the availability of means and their situation, such persons think that whatever they imagine will easily be achieved. They are not able to estimate the means and the time required for giving a concrete shape to their imagination. They are not able to imagine that there can be obstructions to their to their projects and hence a long distance between imagination and success. As a result they are no better mentally than the children living in a fantasy - land of fairy-tales.

The popular sheikh chilli of children stories must have been suffering from such a mental weakness. When such people continiously think illogically, they becoms incapable of doing their daily work and lose their courage for doing anything without anyone’s help. As aresult of disturbance in their behaviour and mood mechanisms, it becomes difficult for a man to find out about the 'why' and 'how' of a such person’s transactions with him. Many a time we see their madness whereby they mistakenly believe their enemies to be their friends. These persons are also paradoxically afraid because of their belief that some persons have become their enemies indulging in black- magic against them or plotting to poison them and destroy them. Many are obsessed by an imaginary fear of accident, death, attack, seperation, jail etc. Such persons are not even able to decide as to which difficulty can be solved by which solution.
Managing Anger That Can Surface As a Caregiver
By: A Talented Mind
Tags: Anger, Self Improvement, Caregiving, Mental Health, Self Care

By Michael Cerreto

Imagine you are on a sandy beach at sunset. You look into the horizon and see dark clouds, lightning, and thunder quickly rolling your way. You try to estimate its arrival overhead, but can’t. So you immediately seek shelter to protect yourself from the coming storm.

As a caregiver of a TBI survivor, the frustration and anger that occasionally surfaces inside of you is like an impending thunderstorm you can’t control. You can experience a wide range of emotions throughout the day. You can experience happiness as the person with a TBI progresses with a new skill. You can feel anger when you have to answer the same question repeatedly throughout the day.

The feeling of impending anger is a sign that you are experiencing a situation over which you feel limited control to influence, and you want it to end. If you catch the impending feeling of anger early before it rolls over you like a thunderstorm, you can address the cause in constructive ways.

USE THE ANGER SPEEDOMETER

To avoid having anger takeover your day, you need to notice it building up in order to keep it from getting too extreme. To help, psychologist John Riskind developed a method called the Anger Speedometer.

It’s fashioned after a car speedometer to check your speed and slow down when you creep past the speed limit. As you see from the anger speedometer below, the faster your emotional speed, the more angry and explosive your emotions become. That’s when it’s time to slow down.

Anger Speedometer:

20 miles per hour and below: Calm and cool

40 miles per hour: Irritable and frustrated

60 mile per hour: Angry and mad

80 miles per hour: Irate and exasperated

90 miles per hour: Boiling, explosive, and violent

To use this speedometer throughout the day, you should periodically ask “What is my anger speed right now?” If your speed is at 40 miles per hour, irritable and frustrated, slow yourself down before it speeds up to 60 miles per hours, angry and mad.

SLOWING DOWN

You can use a variety of methods to slow down. You can remove yourself from the situation or person, express what you need from someone else, or breathe and relax physical tension. Whatever method you choose, make sure it slows down your thinking, emotions, and physical tension.

Be a safe driver of your own emotions and anger by noticing your anger speeding up and take your foot off the anger accelerator. Only then can you effectively care for yourself while caring for someone else.
You Said What!!!
By: Elaine Barron
Tags: Humor, Moving, Anger, Change

You Said What!!!

Having been born and raised in America south of the border was a vacation destination, not a place to set roots and raise a family. So naturally when my husband came home with the news that a wonderful employment opportunity would plunge my zip code across the Rio Grande, I wasn’t exactly jumping for joy. My first reaction was complete disbelief. Aren’t people dying to come to America? Why then was I supposed to be joyous to leave my perfectly happy home, to move to a country that’s own residents were fleeing. The irony!

Naturally I went through all the stages of grief. Grief may seem extreme, but for a week I was in complete denial. I told myself the job would fall through. There had to be a million more qualified candidates than my husband. What an awful thing to think? Yes, it is true, but desperation makes one hope for things you would never think of when you are in your right mind.

One week later any dreams of my husband’s failure were squashed, as he boarded a plane to what was soon enough to be my home. We had agreed he would go first. Aftercall, what if he got there and hated it? What if they hated him? One year is what we agreed on. He would settle in and get everything ready for us. That would give me one year to close shop in America and join him. It would also give me one year to hope and pray the good Lord would bring him home without me ever having to leave American soil (except for vacation of course).

Well the plan seemed great until good old Anger stepped in. Oh, oh, oh how nasty a little anger can be. To the world I had remained the same person. Responsible and reliable I went to work, carted my children to and from appointments and activities, but inwardly I was an explosive, just waiting for anything to make me ignite, and boy did it blow. I received a call late one night from my over joyous husband. He loved the job. He loved the people. He just raved about how happy he was, and excited. Happy, joy, wonderful, I am so sorry, but I was just not having it, as soon as we ended the call, the items on top of my bedroom dresser experienced my rage. With a bang everything went flying across the room.

I wish I could say it made me feel better, but not much. Okay maybe for a second, but not enough to make me do it again. Instead anger slowly faded and I began trying to bargain with my husband. Then with God. There had to be a way out of my situation. A happy ending for me…. (but oh my there is so much more to come)
ERNIE AND ERNESTINA: The Writer, His Wife, and their Afterlife
Tags: Anger, Mother Son, Dysfunctional Family, Dating, Codependency

ERNIE AND ERNESTINA: The Writer, His Wife, and their Afterlife

Book One, Part Two, Chapter 45: Joshua and Christy

Joshua calls. “Guess what? I just got a text from Christy. She’s a crew member on a boat that’s leaving Florida for Connecticut. It’ll take two weeks for the boat to get there.” His voice is thin, flat. “She didn’t tell me any of this was going on. I just heard about it.”

“I guess you feel . . . what?”

“You tell me. How would you feel?”

I take his bait. “Left out of her life, I guess. Slammed.”

“My throat’s scratchy,” he says. “I don’t have any energy.”

“Christy loves the water. She’s fit and strong. I can picture her being a crew member. She’ll pull her weight on the boat.”

“Damn!” he says. He’s at his computer. “I just lost all my work. I’ve been working on something for ten minutes. Now I’ll have to re-do it.”

Joshua’s been with Christy for over thirteen years. They fight a lot, and over the years, they’ve broken up quite a few times. He always lets her back in.

Maybe Joshua’s just the boat Christy’s riding until she spies another boat, one that will take her where she wants to go more quickly and more comfortably. Who knows? Christy’s lips are sealed most of the time. And Joshua doesn’t ask too many questions . . . of himself, either. Or, if he does, he doesn’t want to face the answers.

Not yet, anyway.
Anger or Smile !
By: Suryanarayanan K
Tags: Anger, Life, Smile, Happiness, Emotions

Anger or Smile !

Anger may turn friends into enemies but a Smile will turn all enemies into Friends

Anger creates fear and distrust -

Yelling and angry expressions make a dear person to fear us, friends & associates will begin to distance themselves

Frequent anger if uncontrolled will lead to hurt feelings and may end up causing physical as well emotional harm

Anger also affect the facial muscles to tense and in course of time turn the face expression as a permenant scorn

Wherein a Smile radiant the surroundings, creates a positive vibe and is contageous too

Smile makes everyone to feel better because other's, consciously or subconsciously connect with the smiling person

A ever smiling person will be treated as a cheerful,happy, friendly and kind person -

The facial muscles lift at smile and make a person look attractive & young

Anger will eventually lead to loneliness and depression causing agony to that person as well the well-wishers

Smile will unite to bring happiness in everyone and eventually build a beautiful relationship around

Anger will cost friendship & relationship

Smile will cause friendship & relationship

Let's choose smile over anger and lead a happy life 🙏
On Loss
By: Well, If You Ask Me
Tags: Death, Depression, Anger, Loss

As a dude coming up swimming in what seemed like a literal ocean of toxic masculinity, it is easy to channel emotions like sadness into anger. In fact, I spent a lot of my early life doing just that. When I think about how angry I was, I can still feel that, it is very visceral.

I understand in a way how so many bad things happen in this world relating to toxic male anger. Many of us never learned to just be sad or hurt, as we were afraid to be called cowards and soft in the eyes of a society that often doesn’t value human emotion or even human life.

A little over a year ago we lost Kerry Erin, and I was so angry about it, feeling like her life was stolen, from her and from us. It felt really unfair and unnecessary. I’m still just very sad about it and miss her a whole lot. She represented the best of us and it is unfair, and that is sad and I’m letting myself be sad about it and trying to let that anger go.

We miss you, Kerry Erin, every damn day. And in your memory, I’m going to enjoy life and enjoy friends as you always did, and not let anger control me. Rest easy, friend, and see you in the ether.
ERNIE AND ERNESTINA: The Writer, His Wife, and their Afterlife
Tags: Anger, Dysfunctional Family, Failure, Self-awareness, Relationships

ERNIE AND ERNESTINA: The Writer, His Wife, and their Afterlife

Book One, Part Two, Chapter 112: A Mess, a Failure

For months, Bella has been after me to clean my kitchen’s black-and-white vinyl floor.

She targets the floor, but she can just as easily target the stainless-steel sink, black with gunk; or the stove, splashed with cocoa milk; or the white tiled counter, sprinkled with black pepper and sugar and bread crumbs. And that’s just the kitchen.

Ernie would be aghast at the mess I’ve made of these rooms. “I don’t mind dust or dirt, but I hate clutter,” he often said.

This place is dusty, dirty, and cluttered. Once or twice I’ve made a feeble attempt at a cleanup, but I always stop almost before I start.

Why my resistance?

The short answer is: cleaning these rooms — and also cooking — makes me angry, and I don’t want to feel angry. Feeling angry makes me angry.

Ernie wrote novels and short stories and turf articles and a memoir and found ways to make money and did the taxes and gassed the car and did the banking and counseled Joshua and me and bought and sold property and repaired toilets and planned fun and . . . the list goes on and on.

He pushed himself. Then pushed himself more. He did so much and still felt like a failure.

Now, so do I.

Perhaps this is the source of my anger: I am angry at myself.
Anger
By: Shailendra Upadhyay
Tags: Frustation, Anger, Anxiety, Lifestyle, Stress

Of all negative feelings people can experience , anger is probably the most common in the world ...We live in the midst of anger epidemic..People may look placid outside but inside they may be seething with rage all around us ...

You are put on hold during a telephone call ,you are waiting in the checkout line, you are caught in traffic jam , the result is anger ...

One of the most potent is feeling wrongly accused ...You work harder than anyone else on a project ,it falls through ..If you get blamed ,how do u feel ?

HOW TO DEAL WITH FURIOUS PERSON?

You will often be called upon to deal with angry people. Dont let yourself catch fire.

Refusing to enter the world of angry people is probably the best thing you can do to help them ...It's not easy to stay angry for long in the presence of someone who refuses to participate ...Gently say the following two sentences :"I understand that you are upset ...We will talk when you will be feeling better and "These are optimal words to use ...These are nonjudge mental , they also hold open the possibility of further dialogue but only when anger subsides ...Once again , whatever you do ,don't go down to level of anger that you are seeing ...Because you have got too much class for that.

💙💙💙💙💙💙💙💙💙💙💙💙

Don’t forget to clap👏, share and follow.
Are you feeling angry? Read these Bhagavad Gita Quotes
By: Build Remarkably With Ishwar Jha
Tags: Anger, Self Improvement, Self-awareness, Mindfulness, Bhagavad Gita

Bhagavad Gita Ch.2/56

दु:खेष्वनुद्विग्नमना: सुखेषु विगतस्पृह: |

वीतरागभयक्रोध: स्थितधीर्मुनिरुच्यते || 56||

He whose consciousness is not shaken by anxiety under afflictions nor by attachment to happiness under favorable circumstances; he is free from worldly loves, fears, and waves of anger — he is called a muni of steady discrimination.

Bhagavad Gita Ch.2/62–63

ध्यायतो विषयान्पुंस: सङ्गस्तेषूपजायते |

सङ्गात्सञ्जायते काम: कामात्क्रोधोऽभिजायते || 62||

क्रोधाद्भवति सम्मोह: सम्मोहात्स्मृतिविभ्रम: |

स्मृतिभ्रंशाद् बुद्धिनाशो बुद्धिनाशात्प्रणश्यति || 63||

Brooding on sense objects causes attachment to them. Attachment breeds craving; craving breeds anger. Anger breeds delusion; delusion breeds loss of right memory, loss of right memory causes decay of the discriminating faculty. From decay of

discrimination, the annihilation of spiritual life follows.

Bhagavad Gita Ch.5/26

कामक्रोधवियुक्तानां यतीनां यतचेतसाम् |

अभितो ब्रह्मनिर्वाणं वर्तते विदितात्मनाम् || 26||

To those who are free from desire and wrath; who are practicing self-control; whose thoughts are controlled, whose minds are under their control — to such persons, the beatitude of the Brahman is close at hand

Bhagavad Gita Ch.16/1–3

अभयं सत्त्वसंशुद्धिर्ज्ञानयोगव्यवस्थिति: |

दानं दमश्च यज्ञश्च स्वाध्यायस्तप आर्जवम् || 1||

अहिंसा सत्यमक्रोधस्त्याग: शान्तिरपैशुनम् |

दया भूतेष्वलोलुप्त्वं मार्दवं ह्रीरचापलम् || 2||

तेज: क्षमा धृति: शौचमद्रोहोनातिमानिता |

भवन्ति सम्पदं दैवीमभिजातस्य भारत || 3||

Fearlessness, purification of one’s existence, cultivation of spiritual knowledge, charity, self-control, the performance of sacrifice, the study of the Vedas, austerity, and simplicity; nonviolence, truthfulness, freedom from anger; renunciation, tranquility, aversion to faultfinding, compassion and freedom from covetousness; gentleness, modesty, and steady determination; vigor, forgiveness, fortitude, cleanliness, freedom from envy and the passion for honor-these transcendental qualities, belong to godly men endowed with divine nature.

Bhagavad Gita Ch.16/1–3

त्रिविधं नरकस्येदं द्वारं नाशनमात्मन: |

काम: क्रोधस्तथा लोभस्तस्मादेतत्त्रयं त्यजेत् || 21||

Three gates lead to the hell of self-destruction for the soul — lust, anger, and greed. Therefore, all should abandon these three.
Letting My Kid Be Angry
By: Jennifer Gregg Rogers
Tags: Anger, Life, Children, Parenting, Emotions

It’s so hard to do when you want to make things better all of the time. I’m Mom so that’s essentially my job, right? Except it isn’t. My job is to raise a well-balanced, self-functioning human being. That doesn’t mean a Stepford Robot who is happy and smiling all of the time, because that just isn’t real. None of us live in that world. Least of all an artistic adolescent. Sad happens. Happy happens. And all of the grey too is ok.

Today I tried to reason with her about her sadness and frustrations. She knows full well that there could be no resolution to her problem, no ending to this story, short of an uncomfortable action on her part. But she couldn’t take any action. Not now. Not here at midnight, when she needs to be asleep before the next dreaded day. So that meant she had a whole night to toss and turn with this feeling. This heavy, complex, uncomfortable feeling.

The feelings themselves aren’t new, and she knew that, but the intensity at which she now felt them, that was incredibly new. After about 10 minutes of crying in her room she came and asked for a hug saying she’d never cried like that in her life. And now she felt better, lighter. “I know,” I said. I’ve been there. I could tell that’s what she needed. Time to figure it out herself. To cry it out alone.

It was hard not to sneak back in and tell her a story or crack a joke. It took all I could muster not to turn on her TV and snuggle up over an episode of Doctor Who. But this isn’t the last time she’s going to feel this way. Better she learn how to find her way through the weeds while I’m here to throw a lifeline. “Ugh! Feeling feelings is hard.” Me too kid, me too.
Quick Overview of Deno JavaScript Runtime
By: Tyson Paul
Tags: Deno, Nodejs, Backend Development, JavaScript, Javascript Development

In JSConf held in Berlin on June 2018, Ryan Dahl(Creator of Node.js) gave a talk about the “10 Things I Regret About Node.js”. In this talk, he points out some problems with Node.js and as a solution, he introduces the Deno.

Deno log from https://deno.land/

Deno is a JavaScript runtime, built on top of V8, Rust, and TypeScript. It’s more like a modern version on Node.js.

Deno is still in the development stage but I think it worth watching its growth.

Features of Deno

Here are some of the features that made me curious about Deno. To see more features of Deno click here to go to the Deno’s manual page.

Build-in TypeScript support

The TypeScript code is compiled to JavaScript when we run the code.

No need for the package manager, you can import a module using URL.

In the JSConf Ryan talks about how the module searching logic in Node.js is complicated and how he regrets adding the npm into the Node.js. To solve this issue he uses URL to import modules into Deno.

Deno provides both standard modules and third-party modules. We can import these modules like ES modules. The modules given in the code are downloaded when we run the code. The module download will happen only once and next time if you run the code it will reuse the previously downloaded module.

The imported URL modules are downloaded when the code is executed

Since Deno is using the ES Modules syntax, we a technically run the some of the Deno code in a web browser. This was not possible in Node.js due to the usage of require() syntax.

Note: that Deno doesn’t have the global objects like document or window that the browser interacts with. We can’t write a code that accesses DOM in Deno.
How to install Go Lang on Windows, macOS & Linux
By: Shivam Goyal
Tags: Installation, Golang, Backend Development, Go Programming, Programming

How to install Go Lang on Windows, macOS & Linux

What exactly is Go Lang?

The Go programming language (also known as GoLang) is Google’s general-purpose programming language developed for the multi-core reality of today’s computers.

Concurrent, garbage-collected, and designed for scale, Go is a programming language made for building large-scale, complex software.

Why use Go Lang? +1’s of GoLang?

Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while it's novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It’s a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.

Is Go Lang the future? or not?

As Go Lang is made by Google, the project has regular financing. So, my answer is Maybe or Maybe not. The language is quite popular among guys but it’s still not in a position to bring up a revolution, it’s quite young.
A Real-World Example of Go Interfaces
By: Dirk Hoekstra
Tags: Web Development, Golang, Backend Development, Go, Programming

A Real-World Example of Go Interfaces

Photo by Sean Lim on Unsplash

Suppose I’m building a web app in Go. In my app, I want to send a message to my users. I can send a message to the users via email or SMS. This would be a perfect use case for interfaces.

For this hypothetical web app, I create the following main.go file.

The User struct represents a user.

You can see I created a UserNotifier of type interface that has a single function: SendMessage() .

To implement this interface, I have to create a struct that implements the SendMessage() function.

As you can see, I created a new EmailNotifier struct. Then I implemented the SendMessage() method on the struct. Note that in this example, the EmailNotifier simply prints a message. In the real world, you would probably call an email API such as Mailgun.

And that’s it, the interface is now implemented.

The next thing to do is send an email to the user using the UserNotifier interface.

When running this program, the SendMessage() of the EmailNotifier is called correctly.
Arrow Functions Return Rules in JavaScript
Tags: Javascript Tips, Backend Development, JavaScript, Front End Development, Programming

There are 2 ways for returning values in arrow functions:

Explicit Return Implicit Return

1. Explicit Return

What is Explicit Return?

A function is returned values using the return keyword, it’s called an explicit return.

The Rules of Explicit Return

You must use an explicit return statement in a block body.

Example

// Single-line

const explicit = (value) => { return value; }



// Multi-line

const explicit = (value) => {

return value;

}

2. Implicit Return

What is Implicit Return?

A function is returned values without using the return keyword, it’s called an implicit return.

The Rules of Implicit Return

You must use an implicit return in a concise body.

Example

// Single-line

const implicit = (value) => value;



// Multi-line

const implicit = (value) => (

value

);

Issue Returning Objects

When using implicit returns, object literals must be wrapped in parenthesis so that the curly braces are not mistaken for the opening of the function’s body.

const implicit = () => { value: 1 };

implicit(); // undefined



const implicit = () => ({ value: 1 });

implicit(); // { value: 1 }

Parens Rules

Arrow functions can omit parentheses when they have exactly one parameter.

// Arrow Functions, with parentheses

const myFunction = (p) => {}



// Arrow Functions, without parentheses

const myFunction = p => {}

In all other cases (multiple parameters), the parameter(s) must be wrapped in parentheses.

// Arrow Function, with parentheses

const myFunction = (p1, p2) => {}

References

Thanks for reading ❤

Say Hello! Twitter | Github | LinkedIn | Facebook | Instagram
Ruby Methods New to Me
By: Ben Dunjay
Tags: Ruby on Rails, Regex, Backend Development, Codingbootcamp, Ruby

I have taken a bit of a step back on blogs for front-end and React-based projects/skills to also focus on Ruby. After doing a take-home exam a week ago, I realised I was adept enough at making my own RoR project but creating a Regex, plain Ruby setup from nothing… I was not. It felt weird knowing the workings of Rails and yet in a plain Regex file, forgetting to use require ‘path_name’. I think that’s one thing that is good and bad about Ruby. So much of the work is done automatically for you in the background thanks to the stability and longevity of the Ruby community and language, but at the same time, knowing x does y, doesn’t necessarily help you understand why x does y. During the take home exam, I found myself learning new and simple things, both for testing with rspec and better use of Ruby enumerables. So I simply decided to document some of the ones I came across.

First off, a simple one. The use of bang on certain array methods. In my day to day use of Ruby or other languages, I had always used the bang (!) or double (!!) for a truthy / falsy.

Something rudimentary like this. It is simply using the ‘!’ before array to say ‘If the array does not include the letter, return…’.

However, after going through this take-home exam, I had to manipulate a hash I had made. The hash had individual keys pointing to an array of elements. I needed to find the number of unique values in each array for each key. However… this hash was an instance variable, whereby I then needed to use the data stored in it for another method afterward. But what I kept finding was that if I called the uniq! method first, it manipulated my hash, whereby my next method was working with a manipulated hash that only contained unique values!

This wasn’t meant to happen! In my take home, I called the unique method last. So luckily by checking if the data was normal after the last method, I found it was not and I had manipulated my instance variable.

The bang was manipulating self and returning it.
An Introduction to Kotlin for server-side applications — Part-2
By: Sumit Sutar
Tags: Android, Bekindkotlinchallenge, Kotlin, Backend Development, Jetbrains

Photo by Andrew Neel on Unsplash

Welcome to part-2 of this series …!!!!

As we have seen in the 1st part of the series, It covers most of the theoretical concepts. In this article, we are going to build a small todo application. It will cover REST and JSON handling concepts.

We are going to use the MongoDB server to store the todo items in it. Alright, let’s get started. First, we will create a server and some routes.

We have created a server and introduced some routes. Routes are empty for now, but in the meantime, we will add life to it.

Now let’s create a model we require only one model in our application.

Basically model contains core application information. It includes data, validation rules, etc. and In our case, it will be the same therefore we have defined the fields which are required in our application.

So far we have created server, routes, and a model. Now, we will see the core part of the application. Which mostly contains business logic in it.

The above code is really straight forward we have just created simple methods that are returning something. Now, its time to connect our routes with the util function. We will return the request for now.

We have made some changes to the Main file. Added Lens to retrieve single and multiple todo items and the ID from the URL. Until now, we have just played around with the routes and utilities.

The fun part begins now.

Yes…!!! We are going to connect the application with the MongoDB server. You need to add below line to the Gradle file to make use of the MongoDB driver.

compile group: 'org.mongodb', name: 'mongo-java-driver', version: '3.12.1'

Now, let’s make changes in our util functions. You can refer to this link to get more information about the MongoDB driver.

Note: The documentation is mainly for JAVA but, you can refer it for Kotlin as well.

This is the thing I loved most about Kotlin. You can make use of plugin which is built for JAVA.

In the above piece of code, we have created a new instance, and using that instance we are connecting to the database and the required collection in the getCollection() method.

The getCollection() method created using the MongoClient instance so it has all the access of MongoDB APIs. We have called the API which is required to perform respective action.

Now let’s add some life to the routes so that we can go ahead and check whether the APIs are working or not.

That’s it we have created a todo application using Kotlin and the MongoDB. So we have covered the following points in this article.

Created a real-life application using the Kotlin. Created REST APIs and we have seen how to handle the JSON. We have seen the interoperability feature of Kotlin in action making use of dependency that was built for JAVA only.

Here’s the Github repository link to this application.

Team Credits: Mukund | Nikhil Jadhav | Akshata Shelar | Archana
Good to know when you are learning about backend!
By: Emmie Loheden
Tags: Postman, Http Request, Simple, Backend Development, API

Good to know when you are learning about backend!

Here you go! This is some (simplified) facts that is good to know when trying to understand backend!

#API, #POSTMAN and #HTTP status codes.

Photo by NASA on Unsplash

API is the layer between the user and the data.

You could look at it like a bank worker, trusted and trained :) it preforms logic and gives information.

It’s also a service that listens, acts and responds.

API routes: Incoming HTTP request is routed to a particular action method on a Web API controller. A common approach when creating routes is REST “Represontational state transfer”. Read more about RESTfull routes from the link here..

It could look like this.

get/users

post/users (create a user)

get/users/123 (get specific user)

put/users/123(this would be used to edit user)

delete/users/123 (offcorse will delete this user)

Postman is simply a testing tool when building backend and frontend.

Postman let you test what to expect and plan how to use the data.

HTTP status codes

HTTP response status codes indicate whether a specific HTTP request has been successfully completed.

From 200 and up everything is a successful response..

From 300 and up something was edited or changed.

From 400 and up is used for client errors.

From 500 Server errors.

Lets look closer at status code 400.

The 4xx class of status codes is intended for situations in which the error

seems to have been caused by the client and the server receiving the request can’t understand it.

If you get the 400 bad request message, perhaps you’ve mistyped a URL.

For example, when you try to upload a file that’s too big to some sites,

you might get a 400 error instead of an error letting you know about the

maximum file size.

Website designers can customize how a 400 error looks. So, you might see

different looking 400 pages on different websites. Like this for example..

Dogs explaining the mysteries of HTTP status codes….

Thank You and have a lovely day!
Is Backend-as-a-Service(BaaS) a right choice for your app development plan?
Tags: Baas, Cloud Services, Backend Development, Backend As A Service, Backend

The traditional way of manufacturing a car is that the manufacturer produces/builds each component individually, and then assembles them to a ready-to-use unit. However, building each part in-house takes a lot of time and resources. To avoid this, manufacturers outsource components, say parts of an engine, from another supplier, and assemble the engine, which reduces the time taken to build a car. This outsourcing process will allow the manufacturer to focus more time and effort into making the interiors and the exteriors of the car better.

If you can now relate the manufacturing of a car to developing a web/mobile application, the interiors and the exteriors are the user-facing interface of the app. In comparison, the engine and other components are the backend of an application. BaaS is similar to an outsourcing plan.

BaaS vendors pre-build services built and hosted on cloud such as data management/storage; file management; user authentication; messaging and push notifications; media playback; location and other services.

Developers then integrate these services into their apps to simplify their application development process. This process would also lead to lower the time required to ship the app to the market. Some of the familiar BaaS platforms include Google Firebase, Apple Cloudkit, AWS Amplify, Backendless, and others.

Startups that are willing to validate their product-market fit could use such services and quickly ship their product. Also, the cost of development is considerably low, and since the backend is hosted on a cloud platform, the app scales as the users grow. However, there are also some disadvantages to this. The integrations of various APIs and services need fine tuning for optimal performance, even developing a custom business-logic is a challenge, which is why most growth-stage businesses and large enterprises focus on using some of the existing APIs but develop their custom backend engine.

During growth-stage, a lot of businesses have their unique functionality that serves a specific user problem. In that case, BaaS platforms do not help, as the ability to write a custom business logic is limited. Also, debugging the source code in case of issues is much more simpler when you own the code base. The performance and cost of development can also be optimized better when a custom backend solution is developed. Most businesses we know of have such requirements during their growth and mature stages, and hence they invest in custom backend solutions.