fabiochiu/medium-articles huggingface dataset:
Online order of liquor delivery in Kolkata
Tags: Liquor Store Online, Wine, Home Delivery, Alcohol, Kolkata

Beer, Whisky, wine, Vodka, champagne, Rum supplies — the new way to order liquor has been a new trend in Kolkata. LIQUESIP delivers everything you need to your Kolkata neighbourhood in minutes. Whether you’re looking to relax at home in this Kolkata winter and Christmas time, or to celebrate with friends or families, we at LIQUESIP website or LIQUESIP liquor delivery apps take online orders. The online order of liquor delivery is guaranteed for delivery in Kolkata offices, online order of liquor delivery at Kolkata homes, Online order of liquor delivery for supplies at a party, or send alcohol to a friend, LIQUESIP’s alcohol delivery app is a fast, easy, convenient way to get the drinks you want on demand. We partner with local FL shop retailers near your location in Kolkata to ensure the best selection of liquors and fastest delivery of liquors. Just think of the LIQUESIP app as your personal assistant an online one, which is in charge of the most important of tasks, take your online order of liquor delivery in Kolkata and then using technology to get your favourite alcohol delivered at doorstep ASAP. The areas that are served are #Ruby #Dhakuria #Rashbehari Avenue #Baghajatin #ChandniChowk #Chowbaga #ScienceCity #Tangra #ParkCircus #Kalighat #Tollygunge #Tagore Park #Jadavpur #SouthCity #Ajoy Nagar #Kalikapur #Kasba #Ballygunge #Moulali #Acropolis #Salimpur #Gobra #Hazra #Exide #CamacStreet #BeckBagan #Lord’sMore #BowBazar #Esplanade #Purbachal.

The LIQUESIP app is available for both iOS and Android that is new method of online order of liquor delivery in Kolkata. This is the most convenient and easiest, fastest way to get alcohol delivery in your Kolkata locality. Create an account in LIQUESIP website or LIQUESIP liquor delivery apps within minutes, choose your favourite beer, wine, alcohol, vodka, whisky, gin, rum in the product category in the home page. Mere minutes after that, the whole list of the product specific liquor brands will show up, and choose from the list, add to cart. The LIQUESIP liquor delivery apps is easy-to-use app ensures you can pay online, using netbanking, debit card or credit card. Get your favourite drinks you want delivered to your Kolkata neighbourhood right when you need it. If you’re more of an old-fashioned guy, the internet-browser type, and want to use www.liquesip.com, you can always place an order on the LIQUESIP website. The liquor delivery website offers the same great selection, no order minimums, and fast delivery.
What if we don’t drink alcohol for a month?
Tags: Whiskey, Drinking, Beer, Alcohol, Night

What if we don’t drink alcohol for a month?

what makes you feel incredibly healthy, saves you lots of money, gives you the best sleep you’ve ever had in your life, and can help your body run smoother than ever? If you answered quitting drinking, you’re exactly right! what happens to your body as soon as you put down the bottle. One Minute Later You should feel proud you’ve decided to make a commitment to your health! You should also start to feel bubbles of excitement about how good you’re going to feel in the next few days and weeks!

FIRST 12 HOURS

The First 12 Hours Ok, truth be told, the first day of not drinking will probably be the hardest. You’ll have to start breaking your normal routine of drinking at some point, and this will also be the day of identifying the triggers that make you want to drink. To help you out during this trying time it’s recommended that you try sticking to healthy foods even though you may crave sugar. This’ll help boost your mood while your body adjusts to this new normal. While your body is busy flushing the booze from your system you could start to feel a few effects of withdrawal coming on (depending on how heavy of a drinker you were). This part doesn’t feel great, but trust us, it’s worth it, keep going!

2 DAYS LATER

Two Days Later Ok, now you’re starting to get the hang of it.

If you want to know after 2 days just check out this link below.

Link: https://bodyfittingmechanic.com/stop-alcohol-what-if-you-dont-drink-alcohol-for-a-month/
How to Stay Sober Over Christmas (in a Pandemic)
By: Chelsey Flood
Tags: Addiction, Advice, Alcohol, Mental Health, Family

1. Consider what you actually want to do for Christmas

You’re an adult, and you get to make your own choices. So what do you want to do? What would your ideal — in the narrow realm of pandemic-possibility — Christmas be? How can you keep your loved ones happy and safe without torturing yourself?

If your family is triggering or disrespectful of your choices, then consider not visiting them. Call them to chat instead of dragging yourself over to see them. The pandemic makes this an easier get out than ever. And if you’re newly sober, then you have the right to take your health and comfort seriously too.

In my first year sober, I didn’t take this advice. I drove hundreds of miles to see my family for one day, but I made sure I got plenty of breaks.

I left the gathering to lie down whenever it got too raucous, and I played hide and seek with the little kids to keep myself away from all the drinking. I went to an AA meeting in the afternoon too, and talked about how insane it is that this drug is everywhere, and nobody seems to see that it’s a problem except for me.

I learned a few things on that visit. My family is noisy and funny and boisterous. And children are pretty fun to play with. And it’s possible to be around relatives you don’t know so well and feel awkward but not drink.

I had an okay time in the end, but if there had been a pandemic on, if I had known how to take my own needs seriously — I would have stayed home and saved myself all that stress.

So make sure you are on the list of people you are trying to make happy as you finalize your Christmas plans.
Never ending battles
Tags: Alcohol Addiction, Alcoholism, Alcohol

Never ending battles

This never ending battle seems to consume everything about me. My mind, my body and my soul. Everything in me wishing I could stop this never having to take a drink again. What is it about my lips to a bottle that I’m so obsessed with? I can’t let this go, it’s brought me nothing but torture. Nothing but horror, yet I still crawl back to it. When will I learn that I can’t ever drink again? I am nothing more than an alcoholic that is consumed by this never ending madness.
Fallen Prince
Tags: Addiction, Poetry, Alcohol, The Little Prince, Fallen

I can still hear the engine & see the beaming headlights through my bedroom window. That of the midnight chauffer of the fallen prince.

With a stumble and stagger, the hopeless prince would just make it to his castle gates. After a minute of stillness, his key scratching at the lock amongst the shadows, slicing at the pristine silence like a sword.

The harsh sound of it falling multiple times to the floor. The stranger, not the man I love and call dad, clambering around trying to find it like a clumsy court jester.

Muttering incoherent gibberish to himself.

10-year-old me, going down to let him in. Seeing him sitting on the cold, wet concrete, with a glazed smile and another bleeding wound upon his face.

The shell of the man he can be amongst the glimmers of sobriety.
Dependent
By: Pseudonym Intellectual
Tags: Love, Addiction, Poetry, Alcohol, Dependencies

Dependent

Dependency is the excuse of the youth, an avoiding of addiction.

The invincible mindset, trivialising life until it’s you that becomes the joke.

Drink in the morning, night cap in the evening, that’s a normal way to live, right? Right?

Until it affects the one you care about it’s all just a laugh and smile.

Dependency is the excuse of the youth, an avoiding of addiction.
Why I don’t Drink Alcohol?
By: Anshuman Sharma
Tags: Wine, Drinking, Not Drinking, Beer, Alcohol

People have their creative reasons for drinking I have my reasons for not drinking. By drinking, I mean alcohol or any other type of intoxication like smoking or drugs.

I don’t drink not only because I never found a valid reason for drinking, but also never saw the greatness or the enhancement of life in the people who drink.

My first reason for not drinking is that it makes me cool. In a world where most of the people are drinking a person not drinking alcohol makes that person unique. It is good to be unique in a good way.

I don’t want to lose control of my motivation, being happy, or dealing with sadness to a chemical that is not adding value to anyone I love in any way

It is good for my family that I don’t drink. I’m yet to find a family that can proudly say that they are blessed as they have heavy drinkers in their family.

When I drink I tend to attract the most hated people who have weakness in their Character, problems with integrity and holes in their behavior. I don’t want to have any relations with this type of people.

Alcohol tends to make me lose control of my mind and body, which I don’t want.

I know alcohol can never make me happy, solve my problems, or help me deal with sadness. It has no place in my life.

Alcohol can bring the worst out of me. It can make me act like an animal or the most despicable human I have ever seen. I don’t want that.

Alcohol can never give me the high or the relaxation which I can get from meditation or spending time with my loved ones.

Alcohol damages my natural abilities, willpower, self-belief, passion, love, self-respect, and everything else connected to it. Without these qualities, I cannot consider myself as a human being.

I know and strongly believe that alcohol is not good for my health. It will never make me healthier.

I don’t want to waste my hard-earned money on alcohol. It’s my choice to use my money to add value to myself, to my family, or my community.

In English, it is categorized as intoxication and we all know the meaning of toxic, which is poison.

These are my reasons for not drinking or push any intoxicating material in my body. In the end, it is your choice. But, if you smoke I would ask you to reconsider it as smoking is not good for your health and your life.
This Is Why Americans look after Ice in Their Drinks and therefore the British Don’t
By: Kutub Talukder
Tags: Wine, Drinking, Drinks, Beer, Alcohol

You won’t classically discover a glass of water by ice on the opposite side of the pond. Have you ever noticed how Americans refill their entire glass with ice then pour their beverage in, but Europeans take their drinks at room temperature? Inside the U.S., we’ve produced fridges that offer you freezing ice at the press of a button, but in Britain, they normally provide their H2O warm. Something else that country does differently — driving. This may be why Americans and Brits drive on opposite sides of the road.

Why do Americans put more ice in any drinks?

More ice indicates earlier chilling followed by sluggish dilution. You obtain a cold gulp at its “peak” dilution and heat quicker than if thrice the ice had been put into your glass. It’s healthier for your drink and superior for you (in terms of enjoyment and flavor).

Does Ice minimize alcohol?

Ice not only chills your swallow, but also dilutes the alcohol, and by cheap water or the incorrect size, cubes can damage an otherwise cautiously crafted cocktail. But H2O isn’t the only real reason to go. You will be ready to create boozy ice balls to remain your cocktail cold without diluting it as much — plus you get to enjoy two drinks in one.

This tradition — if that’s what you’d opt to call it — dates back to the 19th century. During that point, it absolutely was already commonplace for several American homes to possess an icebox. Ice would be harvested in northern America or Canada and shipped across the Atlantic and sold at a high price in British shops. Are you able to imagine heading to Macy’s to treat yourself to a block of ice? This may well be often why Americans and Brits have different accents, just in case you were wondering.
This reminds me of a conversation I had with my alcoholic dad.
By: Rachel Rogers
Tags: Addiction, Alcoholism, Alcohol

This reminds me of a conversation I had with my alcoholic dad. He talked about how the girl at the liquor store knew what he wanted and always had it ready — I had to explain it wasn’t a crush — he had a predictable problem and she was sober enough to see it. I love reading your stories, they come from an honest place in the heart.
Drinks to Try When You are Craving Alcohol
By: Sidda Lee
Tags: Culture, Alcohol, Sobriety, Life Lessons, Mental Health

We believe that alcohol relaxes us. It does but only to a degree. Without being ultra scientific and boring — after it runs through the liver, alcohol processes via the HPA (Hypothalamic Pituitary Adrenal Axis). In short, HPA is responsible for communicating with the amygdala to determine if whatever is happening is a threat or if it is safe.

Alcohol registers as a threat. Because of that, it signals our brain to slow down. Which is the relaxation part. Also, why speech becomes slurred and inhibitions become lowered (eating a whole plate of nachos solo, anyone?). Since it’s a threat, our brains also start to surge adrenaline and that’s why you can feel energized after a few drinks.

As I said, that is an oversimplification. You didn’t click on this to read a byline abstract of how the brain functions.

The more alcohol consumed over a longer period of time (think years), the more damage this does to our HPA. This is why a lot of people struggle with moderation. The HPA has registered alcohol as a threat and will anticipate consumption. In turn, our tolerance will go up. Additionally, people who struggle with PTSD, C-PTSD, or have childhood trauma struggle with alcohol and addiction in general. But that’s an entirely different post.

For me, understanding trauma and how the brain functions have helped in moderating alcohol. While I both realize and recognize that some people cannot or do not want to simply change their relationship with alcohol but rather cut it out completely, changing my relationship was my goal.
Whisky Review: Bladnoch 10 “200 Years” Edition
Tags: Whiskey, Review, Alcohol, Whisky, Scotch Whisky

This Bladnoch is new to me as a distillery, a new 2018 special OB release celebrating their 200th anniversary, and bottled at a decent strength as well! Non-chill filtered and ex-bourbon barrels.

Bladnoch 10 “200 Years” Edition / 46.7% ABV / $40

Tasted neat

Lowlands is experiencing a bit of a renaissance of late, so I was quite excited to give this one a try. One interesting feature is the decanter-style bottle with an extra thick glass base, which feels quite premium.

Color: pale gold (0.35)

pale gold (0.35) Nose: grass, cream, orange popsicle, and salt

grass, cream, orange popsicle, and salt Taste: vanilla, bright cut grass, petrichor, green apple, and thyme

vanilla, bright cut grass, petrichor, green apple, and thyme Finish: medium, angel food cake

This is excellent, young and bright, and very tasty. It reminds me of some young Linkwoods, and the characteristic of the spirit is quite promising. I look forward to exploring more Bladnoch in the future.

Rating: 82/100
Straight Merlot isn’t exactly common in Paso Robles.
By: Stephen Mcconnell
Tags: California, Cooking, Wine, Alcohol, Food And Drink

Straight Merlot isn’t exactly common in Paso Robles. For decades it has been a stronghold of first Zinfandel and then Rhone varieties, and Bordeaux varieties–while present the entire time–have only recently begun to be emphasized. I have said for many years–as has Daniel Daou–that Cabernet will ultimately be the star in Paso’s crown. And here we have East-side Templeton Gap Merlot–and a very BDX-like one at that.

Dark ruby: moving through pink on its way to a miniscule clear rim. Dark and dirty in the nose: black fruit headed towards dessert and briary vegetal running into sweaty leather, showing the early signs of tertiary. I had to go check the bottle as my first exclamation was, “How YOUNG is this???” and was shocked to find it 5 years old. But it helps explain some barely-noticeable patina in the nose. It has a coyly decadent bouquet: on one hand round and ripe; on another: sinus-clogging in its green stemminess and stark mineral.

In the mouth, it changes gears a bit. My first taste was where I went and checked the label for the age. Do NOT buy this wine if you are into huge opulent oak-ridden lush-fest Merlots. You will be sorely disappointed. Bracing and bright, the dark cherry comes in clean and tight and maintains a steady beat down-palate throughout tasting. Cinnamon and tobacco grind in for effect, but what you will fall in love with are the ridiculous tannins. So much structure. They shriek against the fruit, compelling multiple tastes to assure balance.

I can’t believe this thing is 5. Probably the most shockingly-BDX-like Paso wine I have ever tasted. I suppose one could argue the tannin will far outlive the fruit, but there’s a lot of fruit in there. It’s a bit shy, but it’s in there. This would have been interesting to taste on release. This will be interesting to taste in 10 years. Can your Merlot do that?

2015 POMAR JUNCTION VINEYARD Merlot El Pomar District Paso Robles 14.6

https://pomarjunction.com/

EDIT: On linking the website, I find the 2015 IS the current release–which is probably smart.
The Rapture in the Rye
By: J.J. Pryor
Tags: Self Improvement, Alcohol, Self-awareness, Life Lessons, Health

Photo by Hasan Almasi on Unsplash

And I hadn’t swayed from the warrior lifestyle ever since.

Believe me, I tried.

I always secretly strived for intermittent releases from the battlefront. But my way of life always brought me charging back.

I never lasted more than a week or two before sliding up to the bar and asking for a bit of extra orange peel (only now in a different language).

It wasn’t until this year I finally stopped to ponder on my failed attempts.

I was so used to going into battle and occasionally regretting the action. I always assumed this meant I just loved the act of war — and nothing else.

But I stopped to think about that, and wondered if the heat of battle was actually what I was missing when I was sitting on the sidelines.

I realized I wasn’t missing the war itself.

I was missing the fighters. The camaraderie. The endless enjoyable conversations that alcohol allowed me to participate in.

I realized every previous attempt at a sober month since that first bet 13 years before had ended in failure. But not because of a love for the drink — but a love for the socializing.

On every attempt, I would always try to find a period of time where there were no events planned.

No birthdays, no work parties, no battles requiring me to run into.

I thought this was the smart method — planning ahead.

But as they say in war, “No plan survives contact with the enemy.”

In this case, I always assumed the enemy was the bottle. In reality, the enemy was boredom.

Whenever I embarked on a sober quest, something came up.

There was always a birthday I forgot about. Or there was a work party celebrating an unexpected promotion. Or there was another battlefront I hadn’t considered before.

Every. Single. Time.

And I would go. And I would party. And I would have a blast.

But I would feel a little bit more like a failure after every time. And my next attempt at taking a break would be delayed a little bit more too.
🥂🥃 木土合相 2020 聖誕🎄跨年 🛒好市多 買酒 推薦單 (2020/12/22 Updated)
By: Kyle Chu 微風捕手
Tags: Costco, 中文, Alcohol, 好市多, 台灣

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
Excipients Market Size Worth $6.9 Billion By 2025
By: Gaurav Shah
Tags: Germany, Brazil, Alcohol, Pharmaceutical, Sugar

The global excipients market size is expected to reach USD 6.9 billion by 2025, expanding at a CAGR of 6.02% from 2017 to 2025, according to a new report by Grand View Research, Inc. Globally increasing reach of generic medicines has been a major factor driving market growth. In addition, rising demand for newer excipients owing to the advantages of drug delivery and stability has led to the growth of the market.

Excipients are essential components for the improvement of overall pharmaceutical activity and performance, both of which directly impact the characteristics of pharmaceutical formulations. An excipient in the right proportion can improve the shelf life and bioavailability of a formulation. These can also be used in drug delivery mechanisms such as sustained release and rapid release drugs.

Polymers were the largest product category in 2016 and are expected to maintain a comparatively moderate growth rate over the forecast period. Microcrystalline cellulose was the leading polymer in this category, accounting for a share of over 26.0% in 2016.

Sugars are expected to observe the fastest growth over the coming years, exhibiting an estimated CAGR of 5.1% from 2017 to 2025. Sugars can play an instrumental role in increasing solubility, taste masking, dissolution, and drug delivery, which can drive its market.

Click the link below:

https://www.grandviewresearch.com/industry-analysis/excipients-market-analysis

Further key findings from the report suggest:
How My Therapist Helped Me Own My Decision to Get Sober
By: Chelsey Flood
Tags: Addiction, Alcohol, Therapy, Mental Health, Psychology

“Four years sober, that’s great,” my therapist said. “How much were you drinking?”

My stomach flipped a little.

This is the part where I have to prove I was a Real Alcoholic.

“O-oh, I didn’t drink very much,” I stuttered, like I was talking to the Booze Police.

“I used to try to drink half a bottle of wine cos then I wouldn’t have to quit,” I said, trying to connect to my past.

Increasingly, I can’t remember much about my drinking. There were years of drunkenness and the trouble it got me into, and there were years where I managed it better.

My last year of drinking was mostly trying and failing to quit. Stretches of sobriety intermitted with drunks.

“Sometimes I could manage it, and sometimes I couldn’t. But I’d get drunk on the weekend too or just randomly on a Tuesday. I had no idea when it would happen. And I just didn’t want to do it anymore.”

My therapist nodded, and I explained how, in the last eighteen months before I quit, I would pour thimble fulls of white wine into a huge wine glass, trying to make it last.

Almost like the opposite of an alcoholic.

It took great areas of my brain to drink ‘the correct’ amount. I coveted alcohol and hated it.

I knew it was ruining my life and yet I couldn’t live without it.

That strangeness around alcohol was the problem. I couldn’t take it or leave it. I never had been able to. And I wanted to be free.

“I used to drink a lot more,” I told my therapist. “As a teen, in my twenties. I’d blackout or have to be carried home. It was generally oblivion then. But the strange thing about my drinking was that by the time I quit, it had gotten a lot better… I liked drinking at home best because then I could control it.”

But my therapist didn’t need my explanation. She got it, and she helped me to get it too.

“Well, you said that you drank because of social anxiety, so I suppose it made sense that you could control it when you were home alone.”

“I guess so. Yeah.”

“And, you know, it’s really not about how much you drink. It’s about the reasons why you’re drinking. You’re not having a cocktail to celebrate, you’re drinking wine, on your own, at home. You’re drinking to be able to tolerate your life.”

I was smiling now because it is such a relief when people understand.

“A lot of the time, if you look at the context of people’s drinking, it makes sense,” she said.

“That’s what I always thought. I always thought I was drinking the way I was because of something in my life. Like I was struggling with a relationship or writing or something…

“And then when I went to AA someone said, ‘maybe you’re struggling with life because of how you’re drinking.’ And I just thought, huh.”

She nodded at me over the screen. “You turned it around.”

“Yeah.”

“And then you stop drinking, and you can’t tolerate your life, so you have to make some changes. And then your life improves.”

“Exactly!”

“It sounds like you realized drinking wasn’t helping you and so you did what you could to remove it, and life got better. It doesn’t have to be more complicated than that.”
“The alcoholic will always fabricate new urgencies, which never fail to convince their partner to…
By: Nanda Jurela
Tags: Addiction, Relationships, Alcoholism, Alcohol, Codependency

“The alcoholic will always fabricate new urgencies, which never fail to convince their partner to stay by their side.”

(Your words in the article.)

Yes!

That may be the biggest reason why a codependent (with a responsible mindset) stays in a relationship with an alcoholic.. That cocktail of excitement, negative news, drama and losses, urgency and unlikely explanations for the urgency, and the perception that one “has to remain” there to help where help is obviously needed is so potent.

People who show perseverance, faith in the future and in the future of the relationship, and who have a humane or even self-sacrificing disposition are easily manipulated by alcoholics who think only about how to get the next drink and rely on their partner to maintain a sense of normalcy..

This relationship is less rewarding than a parent-child relationship, although it resembles it a great deal; particularly when the child becomes a teen. The codependent / enabler parents the addict in the best way they know how; while the addict continues to test the limits of what they can get away with, while expecting loyalty, a home to return to, and that the mess they make will be cleaned up..
Is it ok to drink non-alcoholic beer while in recovery? — GROW Counseling
By: Grow Counseling
Tags: Addiction, Alcoholism, Atlanta Counseling, Alcohol, Alcoholic

While working with addiction and specifically alcohol abuse, I have often been asked the question “Is it ok to drink non-alcoholic beer, etc. while in recovery?”

It seems harmless and even like a tool to “cut back” slowly which has required me to do some of my own research around it.

First and foremost, “alcohol-free” or non-alcoholic beer does contain a small amount of alcohol in it (up to 0.05% ABV).

There are some brands that are considered alcohol-free beer that are labeled as 0.0% ABV. Non-alcoholic beer is made from removing the alcohol from regular beer and contains twice the number of carbs (mostly in the form of added sugar) then regular beer. One study of 45 non-alcoholic beverages showed that nearly 30% of them included more alcohol than stated. This same study found that 6 beers labeled 0.0% ABV did actually contain levels up to 1.8% ABV.

Secondly, non-alcoholic beer suggests to your brain that it is merely a substitute or means of denying yourself of what you truly want.

This subconscious message along with the triggers of the taste and smell slowly builds up making it harder and harder to resist the craving of the alcohol itself. To understand the severity of using non-alcoholic beers, it may be helpful to acknowledge that addiction treatment centers do not even allow their patients to have mouthwash or cough medicine let alone non-alcoholic beer.

Before non-alcoholic beer can be viewed as “harmless”, the belief structure around alcohol being “good” also has to change.

When non-alcoholic beer is a way to “white knuckle” recovery or to use your willpower to overcome the craving, then it is destined to fail. Sheer willpower has a 95% chance of failure. Many people believe they will be even more unhappy without it in their life and the belief system says things like, “Everyone drinks. It’s harmless.” When the truth is that alcohol is the 2nd most addictive substance on the earth (falling second to heroin) killing 2.5 million people/year according to the World Health Organization.

When someone truly has had a problem with alcoholism, trying to “drink in moderation” or using substitutes such as “non-alcoholic beer” simply will not work.

Written by: Betty Gebhardt
Keep a Single-Page-Application updated
By: Mattia Costamagna
Tags: Javascript Tips, JavaScript, Single Page Applications, Web Development, Reactjs

So basically my idea is to periodically check if there is a new version stored on the backend. I use React to build frontends along with Create-React-App to create the bundle that needs to be deployed. I know that every time I generate the bundle I get different unique hashes for each resource, so I can periodically check if one of the resource names has changed to know that a new version is available. Here’s the JavaScript function that performs this check:

Using fetch I can get the raw index.html file stored on the backend, convert the output to a text string and then searching for the main JavaScript resource using a RegEx (here is a nice website to test your RegEx). After that I just have to loop the script tags in the body of the local index.html looking (again) for the main script. The function returns true if the src attributes are different.

Now we have to periodically call this function.

In the componentDidMount method I create a new timer that every 10 minutes calls the CheckForIndexHTML and stores its return value in the reloadOnNextChange variable. I have to keep checking for updates until I know that there is a new version, so if the return value is true, I can clear the interval and stop the timer. The history prop is provided by react-router-dom and it exposes a listen function that executes a callback every time the route changes. So I can use this function to perform a reload of the page if I have to.
JavaScript Button Click Event on Odoo Form View.
By: Zahid Mehmood, Software Engineer, Odoo, Python
Tags: Javascript Tips, Odoo, Odoo Erp, Odoo Development, Odoo 13

JavaScript Button Click Event on Odoo Form View.

Using below code you can add a button on form view which will be fired on JQuery or JavaScript button click event.
Interview Question — JavaScript this keyword with apply method
By: Deeksha Sharma
Tags: Javascript Tips, JavaScript

Browser JavaScript and Event Loop Course is available at http://bit.ly/39eDgEA

The code is available at https://bonsaiilabs.com/js-interview-this-keyword/

Here is some JavaScript code and we want to get its output.

In this piece of code, you will need an understanding of `this` keyword

in JavaScript and use it in conjunction with `apply` method available on all functions.
What are Methods in Java
By: Use My Notes
Tags: Programming, Javascript Tips, Java

In this tutorial, we will study What are Methods in Java, What are the types of Methods in Java, What are the components of a method like -

1. Access Specifier

2. Return Data Type

3. Name of the Method

4. Arguments

5. Body of the Method
Call() Method in JavaScript
Tags: Javascript Tips, JavaScript, Javascript Development, Programming, Coding

“ lets us understand the use of call( ) in javascript ”

Call( ) method is used for using methods of one object in other object

const obj1={ f_name : "xyz",

l_name : "zyx",

print : function(){

console.log(`first Name : ${ this.f_name } ,

last Name : ${this.l_name} `)

} } obj1.print(); const obj2={

f_name : "efg",

l_name : "gfe",

}

Now how to use print() method of obj1 in obj2 ? To use print method of obj1 in obj2 we use call() method

const obj2={

f_name : "efg",

l_name : "gfe",

} obj1.print.call(obj2) /* by using call() we used method of obj1 in obj2*/

now lets see how to pass arguments in call() method

Syntax : obj.method().(obj,arguments)
bind() Method in JavaScript
Tags: Javascript Tips, JavaScript, Javascript Development, Programming, Coding

“ Let’s Understand bind() in javascript ”

By this method , we can bind an object to a common function

— Bind Method returns a new Function —

Syntax : let new_function = function.bind(object)

let _obj ={

first_name:"xyz",

last_name:"zyx"

} function print(){

console.log(`firstName : ${this.first_name} lastName : ${this.last_name}`)

} let new_function = print.bind(_obj) new_function();

This is how we bind a function to an object using bind() method , we can also pass arguments in bind method

let _obj ={

first_name:"xyz",

last_name:"zyx"

} function print(title){

console.log(`${title} . firstName : ${this.first_name} lastName : ${this.last_name}`)

} let new_function = print.bind(_obj,"Mr") new_function();

Now let us take an example of using bind() method for a function inside an object S yntax : let new_function = object.method.bind(new_object)
How To Handle JavaScript Type Conversion Between Numbers And Strings
By: Sanchitha Sr
Tags: Javascript Tips, JavaScript, Web Development, Programming, Coding

In JavaScript, you can represent a number as type number (ex. 12 ), or as a type string (ex. '12' ). At times while coding we might have to convert the data from one type to other. I would like to list few of the methods I know of data conversion from number to string and vice-versa.

Number to String

1. Using toString() method

There is a default string method that converts the data to string. The toString() method returns the value of a String object.

myNumber = 100

myNumber.toString() // expected result: '100' noNumber = NaN

noNumber.toString() // expected result: 'NaN' decNum = 122.33

decNum.toString() // expected result: "122.33"

2. Using String()

The String() method creates a primitive String type for the number that is passed to it.

myNumber = 99

String(myNumber) // expected result: '99' fltNumber = 25.54

String(fltNumber) // expected result: '25.54'

3. Concatenating the Empty String

Adding empty string to the number value will convert the data to string is one of the simplest way to do the job. It is also considered to be faster than the above two when it comes to performance.

myNumber = 22

myString = '' + myNumber // expected result: '22' fltNumber = 25.54

fltString = '' + fltNumber // expected result: '25.54'

4. Template Strings

With the introduction of template strings in ES6, injecting a number inside a String is a valid way of parsing an Integer or Float data type. This is the fastest way to convert the number to string.

myNumber = 22

flt = 50.205; string = `${num}`; // expected result: '50'

floatString = `${flt}`; // expected result: '50.205'

5. Using toFixed() method

This is the least known method. But it can be little tricky with the decimal numbers.

myNumber = 22

myNumber.toFixed() // expected result: '22' a = 56.9887

a.toFixed() // expected result: '57'

a.toFixed(4) // expected result: '56.9887'

Here is the comparison of the methods when it comes to the performance.
6 JavaScript Tips and Tricks
By: Justine Manaloto
Tags: Javascript Arrays, Javascript Tips, JavaScript

Completely Accurate.

Below are just a few quick tips and tricks to have handy when working with JavaScript and I hope they prove helpful in a project or a future lab for upcoming Flatiron students!

Using Array.from() to create strings or create unique arrays!

This neat little method has a few useful uses to create new arrays but in so many different ways! Below are just two of the several ways you can utilize it. The rest can be found on: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from

-Create an array with a string:

-Create a Unique Array when there’s repeated values in the original array using ‘new Set’:

2. Using the Ternary Operator in place of ‘if/else’ statements:

To simply your code when writing if/else statements and have it looking cleaner with a shortcut, the Conditional Ternary Operator is your solution! The operator takes three operands(objects or inputs), evaluates a condition, and executes a block of code based on that condition.

Our condition is if the age is over 40, execute the first block of code after the ‘?’ , else, execute the second block of code after the ‘:’ In this case, the age is defined as 30 so the second block of code will run.

3. Dynamic Objects:

Square brackets are used to create dynamic values in objects.

The ‘school’ value has been injected dynamically into our object.

4. Slicing arrays from the beginning or from the end:

You can easily slice an array by assigning a new numerical value for its length, and then return the altered array, but keep in mind that this method is destructive UNLESS you assign it to a new variable name first as seen in the array end splice example.

To slice the array from the end, use the .slice method and include a negative number in parenthesis to return the values starting from the end.

If the slice method is called on the original array and assigned to a new variable, the original array can still be accessed and untouched.

5. Converting an array into an object:

Using the spread operator in curly brackets {…} with the array to convert will return that array as an object. (Make sure to to set everything to a new variable.)

6. Converting an object into an array:

Using the capitalized Object along with calling dot notation on either the ‘keys’ or ‘values’ followed by the array name as an argument will return the object values in an array.

Googling tips and finding out all the useful ways to get around JavaScript can be an exciting journey because it’s like finding little treasures to utilize in your code. You’ll never know when you’ll need these!
Particular Javascript Side
By: Barış Can Tayiz
Tags: Programming, Javascript Tips, Application, JavaScript

Performance seems to be mostly could be critic factor for many operations at business.

For performance issues, this article could help you as a good pill.

After that article, you can read that web functionality article:

and there are many javascript libraries on this Github page

You can read 2020 trending libraries of javascript from here:

You can start with these projects to create your own projects

After that, you can watch this one-page vanilla js application

You can try building games with matter.js finally

I hope you will create nice games and apps.

Have a healthy and nice week.
Zero-cost client-side error logging and tracking with Google Analytics
By: Kaushik Ganguly
Tags: Javascript Tips, JavaScript, Google Analytics, Javascript Development, Babeljs

As the web development trends today are shifting towards a headless approach or a single page application. It becomes essential to track any errors or bugs that might show up on the client side(browser) due poor code or due to any unexpected user behavior.

In the previous generation of web applications that were primarily rendered from the server; we had the server side log files to debug and diagnose any specific error. The server logs used to provide a central point to track and debug any bug in the application. With the rise of Browser rendered development stacks along with the adoption of SOA(Service Oriented Architecture), it is not possible to track down all the bugs from the server logs as both front-end and back-end are decoupled in these cases.

We cannot expect end users to report these issues as they are not visible to an end user on the browser. Therefore, it becomes even more important to log these errors from the client side to a repository, where, these occurrences can be captured and tracked to better debugging of a bug or even finding one.

Products like Splunk, Loggly, LogZilla or AWS provide features to capture event streams from different endpoints for tracking errors and debugging purposes. But, all the above mentioned solutions comes at a cost. This got me thinking of figuring out a way to track these errors in a more economical(mostly thinking about the zero cost option) way.

When thinking of capturing and analyzing data in an economical way, what better than Google Analytics. It is free to sign up and use.

So, I started creating a wrapper for logging using Babel. This logging utility can log statements with respect to a logger name that we provide and also helps to log the statements to Google analytics.

I used the custom events API on Google Analytics to capture the error log. I have developed a gist to the code. Below is the link.

https://gist.github.com/kgsnipes/9da080869bee26ace1e8acfcbfde27de

The statements logged can be seen on the developer tools in the browser as shown below.

The log statements can also be tracked on Google analytics console as provided in the screenshot.

This approach of tracking the client-side application logs might not be the best approach but at zero-cost, this certainly would look like a great option to any business. I really appreciate Google to have this service available for free to start and use. I hope Google continues to provide this service for free in the future as well, so businesses can benefit from the cloud economies at scale.

If you have come across better ways of addressing this situation or if you have developed a better solution to address this problem in an economical way, then please feel free to share your experiences in the comments.
Install Bitnami wordpress on Ubuntu
Tags: Bitnami, Javascript Tips, Install, PHP, WordPress

Simple steps to install bitnami which allows wordpress to run on our computer.

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

Steps

Go to https://bitnami.com/stack/wordpress and click Win/Mac/Linux button below the title “on my computer”, file downloads automatically. Go to terminal => cd downloads(or downloaded file path) and use cmd: chmod +x bitnami-wordpress-5.6–0-linux-x64-installer.run && ./bitnami-wordpress-5.6–0-linux-x64-installer.run Installation process starts, Click next => next => ….and finish (You need to enter some credentials like usename,pasword, email while installation) ‘wordpress-5.6–0’ folder is downloaded. Go to http://127.0.0.1:8080/ to see the webpage. Click on “access wordpress”, You can see hello world! Message displayed. Use http://127.0.0.1:8080/wordpress/wp-login.php or http://127.0.0.1:8080/wordpress/login (hit enter) to login and use the dashboard (login with credentials used while installation). Inorder to view servers status , go to wordpress-5.6–0 folder and double click on the manager-linux-x64.run file. A popup appears, click manage servers tab, you can observe mysql database and apache web server running.(you can manage servers using stop, run, stopall, etc..,).

Done!

Hope, this piece of text helps you, Have a great day!
Finding Closure
By: Daniel C Reyes
Tags: Javascript Tips, JavaScript, Javascript Closure, Javascript Development, Web Development

While trying to expand my knowledge of JavaScript, and preparing for technical interviews I have continued to hear the term closures.The concept of closures in JavaScript seem to be very important due to the fact that employers ask about this very concept on interviews. Understanding what and how to use closures in JavaScript seems like it can make or break a job interview.

What is a JavaScript closure?

A closure gives you access to a parent or outer function’s scope from a child or inner function. In JavaScript, closures are created every time a function is created. Closure means that the inner function will always have access to the variable of its outer function. The function accomplishes this by storing a reference to the outer function’s variables. It does not store the actual value of the variable . The function at creation then has access to variables in three scopes : Variables declared in their own scope, variables declared in a parent function scope and variables declared in the global scope. Closures are nested function which have access to the outer scope after the outer function is returned, by keeping a reference to the inner function (the closure) we prevent the outer scope to be destroyed or lost.
Javascript. 5 news that ES2021 will bring us
By: Gerardo Fernández
Tags: Front End Development, Javascript Tips, JavaScript, Javascript Development, Frontend

Since ES6 was released back in 2015, year after year Javascript has received interesting news that improve the way we work with this language.

It is true that none have been the revolution that at the time meant the features incorporated with EcmaScript 2015 (spread operator, promises …), but they have contributed to making Javascript an increasingly mature language.

Now that we are at the end of 2020, it is time to review everything that is to come next year with the release of ES2021
Export ke CSV cuma Pakai Vanilla JS
By: Riyan Satria
Tags: Javascript Tips, Rekayasa Perangkat Lunak, JavaScript, Pemrograman, Javascript Indonesia

Learn more. Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Make Medium yours. Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore
Interview Question — JavaScript Map — Delete an element
By: Deeksha Sharma
Tags: Javascript Tips, JavaScript

Browser JavaScript and Event Loop Course is available at http://bit.ly/39eDgEA

The code is available at https://bonsaiilabs.com/js-interview-map-delete/

We need to find the output of this code.

mapping is a variable that holds a JavaScript Object Map. And the contents of this map are some key value pairs.

mapping.delete actually deletes an element from this map.

And finally logs the value of mapping variable. Let’s look at what this code does.
Loops In JavaScript
Tags: Javascript Tips, JavaScript, Loops In Javascript, Javascript Development, Programming Languages

While loop :

while loop execute the block of code until the given condition evaluates to true. As soon as the condition is fails, the loops is stopped. The syntax of the while loops is:-

Syntax :-

while(condition){ //body of the loop }

Example of while loop:-

let i=1; while(i<6){ console.log(i); i++; } //output:

1

2

3

4

5

In the given example, the body of loop executed until the value of i is less than 6 and the value of i increase by 1 when body of loop is executed once.

Do-while loop :

In do-while loop, the body of loop executed before the condition is checked. The condition is checked at the end of each iteration of loop.

Do-while loop is closely related to while loop, the only difference is that body of loop executed first then after checks for the condition i.e.(exit controlled loop).

syntax:-

do{ //body of loop }while(condition)

Example of do-while loop:-

let i=1; do{ console.log(i); i++; }while(i<6); //output:

1

2

3

4

5

In the given example, the body of loop prints the value of i and increase by 1 when body of loop executed once and at the end condition is checked i.e. i<6

For loop :-

For loop repeats the block of code until the certain condition is reached and used to repeat the block of code certain number of times.

syntax:-

for(initialization; condition; increment){ //body of loop }

In syntax, initialization is used to initialize the variable once before the first execution of the body of loop, condition is evaluated every time at the beginning of each iteration, increment update the variable at each iteration of loop.

Example of for loop:-

for(let i=1; i<6; i++){ console.log(i); } //output:

1

2

3

4

5

For/In loop :-

The For/In statement loops the properties of an object. In each iteration, one property of object is assigned to the variable.

syntax:-

for(variable in object){ //body of loop }

The variable in for/in loop is string, not a number.

let myObj={ a:”apple”, b:”ball”, c:”cat”, d:”dog” }; for(prop in myObj){ console.log(myObj[prop]); } //output:

apple

ball

cat

dog

For/Of loop :-

The for/of loop is introduced in ES6. The for/of statement loops over the objects or data structures that are iterable, such as array, string, etc. The for/of loop does not work on objects because they are not iterable.

syntax:-

for( variable of iterable){ //body of loop }

Example:-