fabiochiu/medium-articles huggingface dataset:
2 steps to being happy
By: Lucy In The Sky With Diamonds
Tags: Balance, Happy, Choose, Freedom, Possibility

Get free.

2. Use your freedom well.

Freedom is a strange thing.

People die for it.

People spend life times trying to get it.

People take it for granted.

What do we really want when we want freedom?

We want to feel we are able to do whatever we want, we want no constraints, freedom does not come in absolute values, it is never 0 or 1 and it is always also a matter of perspective. Most of us are free to a certain degree.

In a broad way we are constrained by 2 things in life: by our circumstances and by our own minds.

People have been through holocaust and were still acting like free people, still choosing the little that was possible, even choosing how to die and how to act in those circumstances.

People can also have all the resources and never think about how they spend them, how they spend time or money, taking no responsibility over their own lives.

There are some things that we cannot “get free from”, our basic needs, sleep, the need to eat, sex etc. but we do have some freedom in this regard as well: when we do it, how often do we do it, how we do.

Good questions:

What would you do if you had no restraints?

You have infinite money and time, what do you do with it?

How does one use freedom well?

For me it would be:

Exploring, inside and outside

See the whole world

Doing simple things that make me feel happy

Meditate

Exercise

Sleep under the stars

Read

Spend 11 months of summer a year

Love people,

Help people

Learn about topics that make me passionate

Learn new skills

Get new friends

Have deep talks

Write

Create

So many of them I can do more of right now.

We spend so much time thinking about

What is missing,

What we cannot do.

We forget what we can do,

We forget what we do have.

We forget it is our choice in how we use all the freedom we do have.

We will never have enough time or money, but we can always do the best we can with the circumstances we are in right now. I

n our chase of creating better future circumstances there is always a pressure between sacrifices we do now and sacrifices we do later, in that fragile balance there is a well lived life.

Actually there is only one step to being happy: Use your freedom well.

Are you?
The road less taken..
Tags: Freelancing, Life Lessons, Confidence, Happy, Lifestyle

The road less taken..

When one asks, what education is doing right, one answer that gets lost in the pool of answers is that it gives one the will to NOT follow blindly. The confidence to do so is sadly a subjective issue. With globalisation increasing rapidly, new ways of life have started defining work. The millennials are not afraid of taking risks and are constantly finding innovative ways to create demand for their talent. A want economy is on the rise. People are increasingly becoming okay being unique in their own manner and you shouting your talent off the rooftops is not raising eyebrows as it used to do 10 years ago.

What is more interesting is that even the well-settled, middle-aged employees are moving past ‘fill your stomach’ jobs and are successfully pursuing the dreams they let go off years ago. The world is becoming an idea driven economy. It doesn’t matter how big or small the idea is as long as it creatively gets the job done. When looked into closely, like anything successful, the disruptive manner are just a desperate need to do something one likes to do for most part of the day.

The driving factors can vary and a result of push or pull factors but the core remains the same. They desperately did or didn’t want to spend their time doing something specific.

Looking at examples of the completely opposite Jeff Bezos and Amish Tripathi, where one identified a need and defined a way of life compelling businesses to up their game overnight, the other simply wrote about an idea defining a way of life compelling everyone to ask the right questions..

The common factor between both other than the fact they dared to take a leap of faith is that they kept the definitive ways at bay and gave their ideas an honest attempt giving it all the dedication required and planning ‘what ifs’ along the way. The results could not be more happy. While one is a billion dollar entrepreneur, the other is one of the most respected authors. While the switching of careers gave them insecurities, the wisdom through their experience had taught them that risks and failures are almost always not as bad as they seem.

While there are innumerable examples of similar stories, the axis of leaders remain the same. ‘Never let go of activities that make you happy’. Simple. When one keeps on pursuing their passion in the smallest of scale, they are constantly giving themselves a chance to think outside the regular humdrums and looking for opportunities.

The person who said, “there is more to life than a job” obviously was not happy with his job. But that is not and should not be the case. Not liking the way we are is the core of being human as much as breathing, but it does not always have to be as long as one takes out time for merry activities. Giving time to what makes you happy should be as important as any client presentations and submissions. It is what one likes to do versus the quality delivered. Always.
June 17th, 2019
By: Derrick Nguyen
Tags: Monday Motivation, Startup, Team, Happy

Planning lunch for the team was such a pain for Hien. She had to think of 5 different meals a week which equal to 25 each month. After some discussion with the CEO, Hien decided to create a set of menu for each month and other members can look and choose from it. This way I believe would save a lot of time for her.

Manh has been working on the presentation materials for the legal guidelines of micro-finance institutions in Vietnam. The document was presented at the end of the day to the subscription team. During mid day, Manh also joined the meeting with our company’s head of government affairs (Mrs Mai) discussing about the company and suitable strategy for the upcoming MFIs clients.

Today was also the first working for our Mobile Engineer Lead, Thang Ngo. He started to join everyone immediately as he understood the hustle to finish the upcoming Application Suite version. He finished reviewing the mobile app mockup in no time and has already started with new knowledge of Ionic.

Le’s working pace is relatively fast. He finished tasks in a timely manner since the beginning. For today, Le completed the implementation pages of guarantor information and borrower financial status in application portal. Up next, he was working on an update application and assessment form for Thanh Hoa MFI client.

Xuat, in my opinion, work hardest in the team. Even during our snack time, he did not even leave his work aside; multitasking at its finest. He has removed bugs regarding assign center action from PreAssessment screen vs “NaN” number should show something like “not available”. Xuat was left only with the task to run SMS Gateway works with our server on local.

Noi has finally figured out the solution to fix the font on Windows computer, which was a major bug from the previous week. He continued his work on putting a restriction on current customers to log into our application suite system since we are still testing the its prototype.

Our CEO were extremely happy with our new recruitment for the designer position who is believed to be very talented. We have been looking to fill in the spot in quite a while until now.
5 Uplifting Songs To Make You Feel Better
By: Tanya Saxena
Tags: Music, Feel Good, Happy

In life, whatever situation it may be, whether we’re feeling happy or sad, we need music. Obstacles and losses can make you feel sad or even depressed in life.

In those times, we need a good playlist to help us to carry on with our day. Here are some of my favourite songs that have always helped whenever I’m feeling down or sad.

#1 Eye Of the Tiger by Survivor

Now, this song helps me to boost my confidence. Here are some lyrics of the song -

“Risin’ up straight to the top

Had the guts, got the glory

Went the distance

Now I’m not gonna stop

Just a man and his will to survive”

#2 Fight Song by Rachel Platten

This song helps you to carry on with your day when you’re faced with difficulties and problems. Some lyrics of this song -

“This is my fight song

Take back my life song

Prove I’m alright song

My power’s turned on

Starting right now I’ll be strong

I’ll play my fight song

And I don’t really care if nobody else believes

’Cause I’ve still got a lot of fight left in me”

#3 It’s My Life by Bon Jovi

This song tells you that you shouldn’t care about what others are going to say. So just believe in yourself and keep on going. Here are the lyrics of this song -

“Yeah, this is for the ones who stood their ground

For Tommy and Gina, who never backed down Tomorrow’s getting harder, make no mistake

Luck ain’t even lucky, got to make your own breaks”

#4 Shake It Off by Taylor Swift

This song helped me to accept myself as who I am with my flaws and insecurities. Here are some of the lyrics -

“But I keep cruising

Can’t stop, won’t stop moving

It’s like I got this music in my mind

Saying it’s gonna be alright”

#5 Let It Go by Idina Menzel

Just like the title of this song, it teaches you to let go of the things you can’t control in life. Here are the lyrics -
Wishing Quotes On Happy Birthday Dad
By: Quotes, Digital Marketing
Tags: Happy Birthday, Birthday, Dads, Happy, Quotes

In this article we have given wishes For Quotes On happy birthday Dad in English (best wishes ) Happy and sweet birthday wishes to you as well. You can express your love for yourself by sending it to your father.

Quotes On Happy Birthday, Caption, Status available in English Marathi, Hindi language used on this website please read & share your family, friend, relative. Dad Is the Real-life Hero For everyone. How to plan for surprise, you Daddy

Dad, Happy Birthday… No matter what,

I’ll always be your number one Hero in world.

❤️❤️❤️❤️❤️

Wish you happy birthday Dad .

My world best Dad.. love you.

❤️❤️❤️❤️❤️

Happy Birthday To My Best & Cool Dad.

It’s your special day! Let’s celebrate & Joy your day.

❤️❤️❤️❤️❤️

For My Sweet Dad, Happy Birthday.

Thanks always support in my Bad time.

❤️❤️❤️❤️❤️

Wish you Happy Birthday, Dad..!

You work too hard. Today’s your day to sit back,

relax, and enjoy, celebrate your birthday…

❤️❤️❤️❤️❤️

Wish you happy birthday Dad you are always

special person in my life..

❤️❤️❤️❤️❤️

Wish you Happy birthday DAD.

Many happy returns of the day.

Let’s enjoy & celebrate your day.

❤️❤️❤️❤️❤️

Dad your Smile is my happiness you are my real hero .

Happy Birthday DAD.

❤️❤️❤️❤️❤️

My first Friend, Love, Teacher

Happy Birthday DAD…..

❤️❤️❤️❤️❤️

You are my teacher, my friend and

my inspiration. You are my life !

Happy Birthday Enjoy your day.

❤️❤️❤️❤️❤️

Dad you are Like the sun you always shine on me. Love you Dad!

Wish you happy birthday DAD🎂

❤️❤️❤️❤️❤️

You are not a classy Dad to me, you are

Something something I cannot explain you.

Happy Birthday Dad.

❤️❤️❤️❤️❤️

Thank you for making me a responsible person. Love you..

Happy Birthday DAD.

❤️❤️❤️❤️❤️

Dad’s you are the most important member of the

family and you are my strength and all..happy birthday

Daddy to the young man I respect and love more than any other.

Enjoy your day DAD.. love you.

❤️❤️❤️❤️❤️

Happy birthday dear dad. Loving wishes

for the most amazing dad in the world.

Stay happy stay fantastic. Everyday.

❤️❤️❤️❤️❤️

Happy Birthday Daddy Quotes For Daughters

Quotes On Birthday Wishing Caption For Dad
BACK FROM THE DEAD
By: Rithika Palvayi
Tags: Updates, Books, Happy, Money, Regular

So, yea. That’s pretty much it. I didn’t die. At least, not yet. I’ve been preoccupied. “Blog is also important, fit it into your schedule” *mocking noises*. Yea, well it’s my wish so, (heheheh) back off. Sorry. I’m fiesty today. Anyways, I’ve been to my hometown. Had shit load of fun with my brother. Didn’t cry while leaving. Signs of growing up, I guess. Clicked SO many pictures, because we took the scenic route. Also the only route. I bought books by PHYSICALLY GOING TO A BOOKSTORE. AAAGGHHHHHH, it was so good I almost cried. Side note: I’m in a huge reading slump. I’ve been working on one of my stories. It’s going great. I might as well finish it in the near future. I’m positive about it. Been getting new ideas for more stories too. I feel so NOICE about everything that’s going on. Did I tell you that I got my first salary a week ago? Yesssss, I was jumping up and down. Ran across the whole house the whole day. I have unexplained energy, if you hadn’t figured it out already. Bought books for less than half the money, saved the rest. I feel so responsible. It’s still so unbelievable that I have money that I have earned and now am saving. DAMN! Again, I’ve been talking to two or three new people and they are so damn interesting. Man, I love talking to them. They actually want to know what I think about certain things. Asking for someone’s opinion is a big thing, at least for me. Be it about anything. I call one of them as “pretty boy”. I never give ANYONE nicknames, unless I like them very much. But yea, this guy is really fun to talk to. Maybe that’s why. Oh, and I online-partied with one of my first friends whom I call a best friend now. She’s an amazing girl. We have so many opposite views on very basic stuff and I guess that’s exactly why we work out.

All I want to say is that I’ve been happy. I have touched wood, don’t worry. And maybe you should also think about some little but good things that have happened to you and be happy because YOU FRAKIN' DESERVE TO BE HAPPY!

I promise to be regular from now on, seriously.
Is it Possible to Become Happier?
By: Ceylan Ersoy
Tags: Productivity, Happiness, Happiness In Life, Habits, Happy

While studying at UC Berkeley, I came across a list of “top courses to take” and made it a priority to add at least one to my schedule per semester. The one I was looking forward to the most was “Human Happiness” offered by Professor Dacher Keltner, the founder of the Greater Good Science Center and a world-renowned expert on human emotion. Even though it took 3 weeks of being on the waitlist, I was happy to finally be admitted to the class.

One of the first pieces of literature we focused on was “The How of Happiness” by Sonja Lyubomirsky. Sonja started the book by asking a simple question: “Is it possible for human beings to become happier?” She goes on to explain that several factors determine our happiness; you start with a set point of happiness that determines approximately 50% of your happiness level. This setpoint is the genetically determined baseline for our happiness that we are bound to return to. What this means is that not only are some people predisposed to being happier than others in life, these same individuals will also revert to their baseline happiness even after major setbacks or tragedies in life.

What’s surprising is that Sonja correlates only 10% of our happiness to life’s circumstances. Indeed, components such as income and marital status that a lot of people think are tied very intimately to our overall happiness level have very limited bearing on it.

The most important takeaway from the book for me was that the remaining 40% of our happiness is tied to intentional activity. That means that we have control over how happy we feel depending on how we think about situations and what we choose to do in our daily lives. The way I like to think about these findings is that while it has predetermined components attached to it, at the end of the day, happiness is a choice. We can choose to be happier. We can choose the job that satisfies us to our core rather than the higher-paying job that we will dread commuting to every day. We can choose to add daily workouts or meditation breaks to our schedule to feel more refreshed before or after our workdays. When evaluating a stressful situation, we can choose to approach it from a more positive perspective or shift our focus. We can choose to surround ourselves with people who give us good vibes rather than drain our energy.

We need to choose to be happier, and not just because being happy feels good. Happier people are not only more sociable, cooperative, and productive, they are also more resilient in the face of hardship and even have stronger immune systems. Having this in mind, why don’t you set yourself a brand new challenge: create a list of things that give you joy and happiness and find ways to integrate them into your schedule in a concrete manner. A great way to do this is through productivity and habit-tracking apps like Insumo! We just launched our app, so go ahead and download it now!
Retrieving files from FTP server using Spring Integration
By: J Riyana
Tags: Maven, Spring Boot, Apache, Ftp Server, Spring Integration

In this article, I am going to show you how to retrieve files from an FTP server to a local directory using Spring Integration.

For this, I am using the Apache FTP server. You can download the latest version from this link. ( https://mina.apache.org/ftpserver-project/downloads.html ) Download it and unzip the file.

As I mentioned in the heading we need to include the following maven dependency in our pom.xml. Here we use the spring-integration-ftp dependency to allow spring-boot to connect with the FTP server.

maven dependencies

Now let's implement the code.

Following is the code for the FTP configuration. I created an FTPConfiguration.java file.

FTPConfiguration.java

Now let’s see what we did here.

sf()

This method instantiates a DefaultFtpSessionFactory to access the FTP server and sets the localhost as the host, 2121 as the port, anonymous as the Username, and a null string as the password.

getFile()

This method defines and constructs an FTPOutboundGateway bypassing the sf() method, mget command (mget is the spring FTP adapter command that use to retrieve multiple files from the FTP server) and the payload argument. Here the ServiceActivator indicates that the gateway is a spring-managed bean. The output of this method is a set of files. I named it “fileResults”. And it saves the retrieved files in the downloads folder.

Here, FTPOutboundGateway is used to perform remote file operations and Payload is a set of data that can perform functions like get, ls, put and etc.

fileResults()

This method creates a DirectChannel and adds a wireTap bean to it as an interceptor.

Here the wireTap method creates a copy of the message to a secondary target while sending the original message to the main channel.

logger()

This method creates a logging handler object and sends the message to the logging channel. Here the wiretap channel is wired to the logging handler.

GateFile interface

Here I declared a MessagingGateway to this interface and FTP mget as the request channel and fileResults as the reply channel. Then the result is sent to the main method a list of string objects

Next, we have to create a runner method to run this as a spring application.

Following is the code which should include in the springApplication.java

springApplication.java

Here the runner() method takes the GateFile interface as the argument and fetches the output.

That's all about the coding part. Now let's see how to run this application.

1st step - Start the FTP server.

Go to the bin folder which is inside the apache FTP server folder. Open the command prompt and execute the following command.

This apache FTP server stores files inside the home folder. (C:\apache-ftpserver-1.1.1\apache-ftpserver-1.1.1\res\home)

2nd step - run the spring-boot application.

Output

It prints the path of each file stored in the download folder.
TVS Apache RTR 160 4v Price, Specs And Key Features
Tags: Apache, Apache 160, Apache Rtr 200 4v, Apache Rtr 160 4v Review

PHYSICAL OVERVIEW

TVS APACHE IS WELL KNOWN FOR ITS STYLISH LOOKS AND POWER , THE BIKE HAS A VERY AGGRESSIVE LOOK FROM HEAD TO TAIL STARTING FROM HEADLAMPS F THE BIKE THE BIKE COMES WITH 35/35 WATT HALOGEN BULBS WHICH IS OPERATED BY A 12VOLT BATTERY .

THE INDICATORS AND HEADLAMP ARE SHARP AND STYLISH WHICH GIVES A STYLISH AND AGGRESSIVE LOOK TO THE BIKE. THE HANDLE BARS OF THE BIKE IS STRAIGHT AND SINGLE WHICH PROVIDES A GOOD SITTING POSTURE TO THE RIDRE.

IN THE INSTRUMENT CONSOLE OF THE BIKE YOU CAN GET ALL NECESSARY CONTROLS LIKE SPEEDOMETER ODOMETER, TRIPMETER, RPM INDICATOR, LAP TIMER, AND MUCH MORE.

THIS BIKE COMES WITH A 12 LITERS FUEL TANK

AS YOU MUST HAVE SEEN CAP OF THE FUEL TANK IS IN THE RIGHT HAND SIDE OF THE TANK THAT GIVES THE UNIQUE LOOK TO THE BIKE.

COMING TO SEATS OF APACHE RTR 160 4V HAS A SINGLE-SEATER SO THAT WIDER AND PASSENGER CAN SIT COMFORTABLY THERE IS A VERY LARGE SPACE AT THE END AND THERE IS A STYLISH GRAB HANDLE AND BACK LAMPS ARE MADE UP OF LED THE BIKE HAS A VERY STYLISH LOOK AND LOOKS EXACTLY LIKE APACHE 200 4V.
Apache — stop internal dummy connection
By: Ruvinda Dilshan
Tags: Stop Dummy Connection, Apache, Linux Apache, Dummy Connection

[root@server ~]# cat /var/log/httpd/access_log

“OPTIONS * HTTP/1.0” 200 — “-” “Apache (internal dummy connection)”

“OPTIONS * HTTP/1.0” 200 — “-” “Apache (internal dummy connection)”

“OPTIONS * HTTP/1.0” 200 — “-” “Apache (internal dummy connection)”

Here we go with the Solution

go to → vim /etc/httpd/conf/httpd.conf

SetEnvIf Remote_Addr “127\.0\.0\.1” loopback

SetEnvIf Remote_Addr “::1” loopback

SetEnvIf User-Agent “.*internal dummy connection.*” loopback

CustomLog logs/access_log combined env=!loopback

And Finally :wq to save the document.

Then restart the httpd service from below

/etc/init.d/httpd restart

For virtualhost apache configuration file is like this

vim /etc/httpd/conf/http.conf

Go to end of the line

DocumentRoot /var/www/html

ServerName test.com

ServerAlias www.test.com

ErrorLog logs/error_log

SetEnvIf Remote_Addr “127\.0\.0\.1” loopback

SetEnvIf Remote_Addr “::1” loopback

SetEnvIf User-Agent “.*internal dummy connection.*” loopback

CustomLog logs/access_log combined env=!loopback

If you are not using virtualhost, then edit the apache configuration file

# vim /etc/httpd/conf/http.conf

# Go to line no: 492

SetEnvIf Remote_Addr “127\.0\.0\.1” loopback

SetEnvIf Remote_Addr “::1” loopback

SetEnvIf User-Agent “.*internal dummy connection.*” loopback

# Go to line no: 526

CustomLog logs/access_log combined env=!loopback

After that you want to restart the service

# service httpd restart
Completable Future — Java8. Probably you are aware that executing…
Tags: Multithreading, Asynchronous, Java8

Probably you are aware that executing assynchronous code is easier with Java 8. Completable future provides a way to run tasks in async mode. The following sample piece of code illustrates a non-blocking execution of a batch process with a fixed thread pool.

public class BatchProcess {



private static String longProcess(

int i) {

try {

if (i % 2 == 0)

TimeUnit.SECONDS.sleep(1);

else

TimeUnit.SECONDS.sleep(2);

} catch (InterruptedException e) {

e.printStackTrace();

}

return new StringBuilder("Completed ")

.append(i)

.toString();

}



private static CompletableFuture<String> createCF(

final int looper,

final Executor executor) {

return CompletableFuture

.supplyAsync(

() -> longProcess(looper), executor);

}



public static List<String> batchprocess()

throws InterruptedException, ExecutionException {

List<CompletableFuture<String>> ret = new ArrayList<>();

ExecutorService exec = Executors.newFixedThreadPool(8);



IntStream.range(1, 25)

.forEach(i -> ret.add(createCF(i, exec)));



Optional<List<String>> results = Optional.empty();



CompletableFuture<Void> all =

CompletableFuture.allOf(

ret.toArray(

new CompletableFuture[ret.size()]));



CompletableFuture<List<String>> resultsFuture =

all.thenApply((

aVoid) -> {

exec.shutdown();

return ret

.stream()

.map(future -> future.join())

.collect(Collectors.toList());

});



results = Optional.of(resultsFuture.join());



return results.get();

}



public static void main(String args[])

throws InterruptedException, ExecutionException {

LocalDateTime start = LocalDateTime.now();



System.out.println(batchprocess());

System.out.println(

"Exec time:"

+ ChronoUnit.SECONDS.between(

start, LocalDateTime.now()));

}

}

All completable futures could be combined using allOf. But, this returns Void completable future which could be used to complete the flow,

CompletableFuture<Void> all =

CompletableFuture.allOf(

ret.toArray(

new F[ret.size()]));

When passing custom executors, don’t forget to shutdown the executor —

exec.shutdown();

You could apply various functions CompletableFuture

join — Returns result value/ throws exception

complete — Completes if not completed

thenApply, thenAccept, thenCombine, thenCompose, thenRun— Apply new completion stages with stage result

whenComplete — new stage with stage result/throwable

supplyAsync — asynchronous task completion using forkjoin common pool

supplyAsync(supplier, executor) — asynchronous task completion using custom executor

Oracle docs link.
Callbacks in JavaScript
By: Udgeeth Aggarwal
Tags: Callback, JavaScript, Asynchronous

As the name suggests, callback could mean which is called back again, so, to understand we can say function which executes after another function has finished executing is called a callback.

In JavaScript, functions are objects. Because of this, functions can take functions as arguments, and can be returned by other functions. Functions that do this are called higher-order functions. Any function that is passed as an argument is called a callback function.

But, what is the need of callbacks? Many actions in JavaScript are asynchronous. In other words, we initiate them now, but they finish later. In simple terms, we can say when a function contains some sort of code which can’t be executed immediately like waiting for an api response, fetching a file from network or accessing database and returning data from it. And JavaScript didn’t wait for such responses before moving on to execute another function. So, callbacks are a way to make sure certain code doesn’t execute until other code has already finished execution.

To understand callback better, let’s try a simple code.

function callApi(name, callback) {

alert(`Calling ${name} api.`);

callback();

} callApi('user list', function() {

alert('Fetched api result');

});

From the above mentioned code, you’ll get two alerts back to back — Calling user list api and then Fetched api result.

But callback functions don’t always have to be defined in our function call. They can be defined elsewhere in our code like this:

function callApi(name, callback) {

alert(`Calling ${name} api.`);

callback();

} function alertResult(){

alert('Fetched api result');

} callApi('user list', alertResult);

So, now you have understood what a callback is and how it works. You can try writing callbacks in your asynchronous operations.

Hope this article helped you in getting the basic gist of callback!
Pull Requests, Challenges, and Passing Good Information
By: Kara R Peoples
Tags: Asynchronous, Github Actions, Agile Development, Lambda School, Pull Request

How this applies to my Lambda Labs Experience

During Labs, I have still not used that specific formula but tried to convey the pertinent information. I was not able to provide much code on the project but was able to offer challenges to pull requests. A good challenge takes into account the strengths and weaknesses of a pull request.

While seeing that functioning code may be correct, challenging things like linting error fix requests, and non-passing tests is essential to keep the code base clear of errors. These are not the big challenges. It was not until my own code participation was challenged. That I understood why pull requests and communication on pull requests are important to team learning.

Part 1 Pull Request

Part 2 Pull Request

In the particular instance above, I was happy, that I had spent my time with a pair-programming group throughout my time at Lambda. I was able to read the code and see how it was working in order to correct something we had learned time and again in order to fit the current code base. It not only helped me to be challenged but helped other team members learn how to read what the code was doing as well. It also helped that I knew how to explain since I had plenty of practice explaining to others.

So, in conclusion, my experience in Labs I learned just how important that early formula can be not only for myself, but may curb questions other developers may have later for pull requests you or other developers make. I will, in my professional life, be able to force better commit habits for myself. I, also, know I can gain more knowledge by questioning anything I am unclear on before approving anything in the future (Probably something I should have been doing since my first pull request in a team environment 🙃).
How javaScript Asynchronous works under the hood?
By: Sam Aghapour
Tags: JavaScript, Programming, Asynchronous, Synchronous, Event Loop

in this brief Article i’m gonna show you how Event loop , Call stack , Callback queue and web APIs (Events table) work together and handle the asynchronous and synchronous functions. ok let’s dive into it.

what is Call Stack ?

when we write some functions in our code and call them , these guys are sent to Call stack to run and after that they pop out of it.

in the above gif it shows how functions orderly go to to call stack and after execution they pop out of it and one intresting thing that catches your attention is that asyncronous setTimeout function which is not gonna end up right here (we’ll talk about it more), but first let break the gif down into a few parts to see what exactly going on:

greet function is called this function goes to call stack to run now call stack executes this function and return “hello” greet function pops out of call stack now respond function goes the same way above

that’s it for the gif, let’s continue…

Web APIs ( Events table ) , Callback Queue , Event Loop

Introducing of Web APIs(Event tables) :

every functions that is asynchronous like Ajax , setTimeout , event handlera , etc.., joins to Events table and wait for the time for execution to come for example: setTimeout waits 3000 ms to run or event handler waits untill Click event happens and then run. as we know functions are executedin call stack but these guys can’t join the others in call stack yet, so… they should go somewhere else but wher?!

Introducing of Callback Queue :

as it’s called , this is a queue of callbacks (the gusy in the events table, remember?), thus callbacks which are waiting for get executed will join to this queue. this queue is not going to execute callbacks or even puah them to call stack so what it does?!

Introducing of Event loop :

This dude is an intermediary between web APIs and callback queue , what does it mean?

event loop waits and keeps an eye on call stack and callback queue and when call stack is emty and there is no synchronous function to execute , event loop takes first callback from callback queue and sends it to call stack and as usual, call stack will execute it just like other functions.

now we know how any of these works, let’s see it in the gif below to understand this cooperate better.

attention: watch this gif twice ,first time just look at bar function and its setTimeout and second time look at the rest of the functions which are synchronous.

let’s see above gif as a code now:

now we can see although bar function get called first but because it’s asynchronous it has to wait for synchronous guys to get executed first, it is good to know that if setTimeout time was even 0 ms it wouldn’t be change anything , it’s ashnchronous function afterall.

well , that’s pretty much it

now , you are a better programmer than 10 minutes ago.

goodbye and good luck.🤞
🖊️ Copywriting: Are You Utilizing The Power Of Open Loops? 🖊️
By: Mehedi Hasan Shoab
Tags: Copywriting Tips, Copywriter, Copywriting Services, Copy, Copywriting

Ever heard of open loops?

If you know copywriting, chances are, you have.

It’s a term that gets thrown around a lot. For a good reason.

And what’s that?

It. Genuinely. Works.

Whether you’re doing presentations, animations, or simply whiteboard videos — open loops hook your audience everywhere.

But What Exactly Are Open Loops?

Glad you asked.

Remember hearing a story where you didn’t get all the answers right away?

Remember the time you were asked questions to keep guessing what was next?

Like TV show cliffhangers?

If so, you’ve experienced open loop already.

It’s a rhetorical tool, and has been working since time immemorial.

Here, the mindset is to ask plenty of questions, and stressing the answers slightly (not too much). That keeps the curiosity and greed fueling.

When you add questions and stress on them, customers get desperate to know the answer.

That said, there are numerous uses of open loops. But here’s a formula that works best:

“Before — After — Bridge” Formula

What’s the “Before — After — Bridge” Formula?

It’s the difference your product / service makes.

You show how your audience’s life is ‘less’ at the moment. Followed by how their life can be ‘much more’.

And in between — you introduce your solution, flood your reader with value, justify your price, thus, close the deal.

Simply put — here you’re selling the transformation your solution offers.

Now — Why Does This Approach Work So Sell?

Adam Ferrier, behavioral psychologist states humans take action because of two reasons: avoiding pain and chasing pleasure.

And with the questions., you’re rubbing chili powder over your reader’s wounds and dangling the solution in front of them.

It’s also known as the Pleasure Principle per Sigmund Freud.

Also, the sunk cost fallacy and carryover effect chips in.

So go ahead, and try it.

You’ll see your engagement and conversions soaring.

Hope this post served you.
How Many Cats Makes You the Crazy Cat Lady?
By: Ashley Thompson
Tags: Cats, Animals, Blogger, Pets, Copywriter

Oliver The Majestic Cat

How many cats do you own? Are you ashamed to tell people the actual number of cats in your home? I worked with a woman who was a cat lady. You could say she was the crazy cat lady. She never would tell us how many cats she owned. At one point, we started a secret list to try and figure out how many she really had. Every time she told us a story, we would try and memorize the cat names she spoke about and add them to the list. It’s interesting when you ask a person how many cats do you own, and they say, “Oh, too many to tell you!” My mind spiraled into what does that mean. Does she have 5, 10, 20, or even 30 cats??? I know the joke at my house has always been I will be the crazy cat lady if I am single for many years and live on the corner block with too many cats. Let’s just say I’m on my way to being the crazy cat lady! I definitely have a ways to go but, it’s always possible!

The phrase ‘cat lady’ indicates you have a large number of cats, perhaps twenty or more. The lady is often involved in cat rescue or is a cat hoarder with a mental health issue. Forty-two percent of Americans own cats. The average number of cats in a household is two cats. So here are the signs you are turning into the crazy cat lady.

You buy lint rollers in bulk.

You stop wearing specific colors of clothing.

You will alter your sleeping position to cater to your cat.

You evaluate your relationships based on if the person likes cats.

Your camera roll on your phone is filled with cat photos.

You know you don’t need another cat, but you check the adoption sites just in case!

Scoring for Crazy Cat Lady is:

0–5 Cats: You’re a crazy cat lady in the making!

6–10 Cats: Family and co-workers are questioning your sanity!

11–15 Cats: You have now become one with the cats!

16–20 You have definitely acquired the crown of Crazy Cat Lady!

Where do you find yourself on the Crazy Cat Lady scoring? Right now, I’m a crazy cat lady in the making.
“What’s Your Ancestry?”
By: Rachelle C Davis
Tags: Rachellecdavis, Copywriter, Content Marketing, Copywriting, Digital Marketing

In touch with my earthy roots.

It’s not a tough question for most people.

But I wasn’t really sure how to answer it.

“Some type of British, I think…

And I know I’m 1/32nd Native American.”

I haven’t done one of those DNA genealogy tests or anything.

But I do remember family life when I was growing up:

Days out at the farm on hot Oklahoma summer days…

My grandpa tilling the wheat…

My grandma watering the produce and picking okra, potatoes, tomatoes…

The cherry tree in the backyard that she used for homemade cherry pies.

For more background info on my memories growing up, check out my short one minute video:

At first glance, my current life doesn’t look anything like theirs.

I spend all day inside on a laptop, writing and working on projects.

But every time I post a piece of strategic content…

I’m effectively planting digital seeds online.

When people hear about me and want to work with me…

I’m reaping my harvest.

Perhaps we’re not so different after all.

It’s just not quite as hot and sweaty for me :-)

I’m teaching my tips for planting seeds online with strategic content:

It’s all in my free VIP newsletter.

When you sign up, I’ll send you my limited time free case study.

It shows you how my client went from 0–6 figures with strategic content ranking #1 on YouTube on Google.

==> Get your free case study and VIP Insider subscription
Your most competitive asset as a newbie copywriter
By: Cedric Debono
Tags: Freelancing, Copywriter, Clients, Heycopywriter, Copywriting

If you’re just starting out as a copywriter, you might feel like you don’t have much going on for you — no experience, no portfolio, no testimonials and no track record. I empathise, because that’s exactly how I felt when I started a couple of decades ago.

But there’s one quality that you own, that nobody can dispute, and that will give you all of the competitive advantage you need.

It’s your dependability.

If you know any business owners, pick up the topic of freelancers or part-timers with them. I guarantee the majority of them will respond with a look of abject horror. Why? Because most freelancers are not dependable. They start out great, and then they start disappearing sporadically, leaving the business owner high and dry.

I promise you, if someone is looking for a freelance copywriter, they will obviously care about results, but more than that, they will care about dependability.

The great news is that you can own that.

In your relationship with the client, your promise should be sacred. If you give your word that a project will be ready by a set date and time, you need to stick to it.

Of course, shit happens, and sometimes you can’t help but miss the deadline. But when that happens, be up front about it. Be accountable. Inform the client ahead of time that you might need am extension. But once the extension has been granted, make damn sure you don’t miss the deadline again. Moreover, keep the client updated about your progress, to reassure them you’re not going to ghost them.

Once the project is done, get the client to give you a testimonial about how dependable and accountable you are. It will work wonders for landing your next gig.
Three pieces of bullshit advice about being a working copywriter
By: Cedric Debono
Tags: Freelance, Copywriting, Freelancing, Copywriter

The path to becoming a fulltime working copywriter is different for everyone. Sure, there are best practices recommendations that are worth following, and pitfalls you should avoid. But very few things fall into the category of “NEVER” or “ALWAYS” do this.

I want to share with you some pearls of idiocy that I’ve heard over the years from so-called “copywriting gurus”. I’ve fallen for most of these bits of “advice” myself, and found out the hard way why they’re stupid.

Bullshit Advice — “Never work for free”

If you want to work for free, do it. Just don’t let anyone force you into it. Remember, payment doesn’t always have to come in the form of a monetary exchange.

There are many reasons why you might choose to do a project for free.

Maybe it’s for a cause that you feel strongly about, and you want to contribute to it by doing some pro bono work. Or you might be trying to get some experience in a brand new industry, so you want to offer a prospective client a low-risk opportunity for collaboration — they get the copy, you get the experience and testimonial.

Bullshit Advice — “Charge high fees or you’ll never be able to raise your prices later”

There are no industry standard prices for copywriters. What you charge, depends on a mix of factors, mainly:

What kind of results you’ve been getting for clients How selective you want to be with the clients you pick up How competent you feel

Here’s what worked for me.

I started out cheap, because I wanted to get people into the door. Most of the jobs I did, weren’t worth it in terms of monetary compensation, but I made sure I was compensated in other ways, such as strong testimonials.

Once I started reaching my client capacity, I started raising my fees for new clients. I wasn’t earning a ton of money, but at least my client portfolio made me comfortable enough to be ok with losing a sale.

Eventually, I started raising my fees for my existing clients too, giving them fair warning ahead of time. Most of them stayed, some of them dropped out. And that’s fine.

Bullshit Advice — “Confidence trumps competence”

You need both. But nothing builds confidence better than results, so work on becoming competent first. Impostor syndrome will never be too far away, but if you build yourself a good track record, it will give you the confidence boost you need.

On the flip side, if you try to sound confident without having anything to back up that feeling, you’ll be fighting a losing battle.

I’m not saying you should present yourself in front of your client in a terrified mess. Maintain your dignity and focus on what you can offer. You might not have a track record of massive sales, but there is one thing you can consistently promise and deliver — excellent service.

Your turn, tell me

I’m sure you’ve had your fair share of bullshit advice thrown at you from the high and mighty. Let’s hear it!
CopyBlocks AI Review:First Ever Real Artificial Intelligence Copywriting Software
By: Simon O
Tags: Copywriters, Artificial Intelligence, Copywriting, Copyblocks

In this article, I will be giving you a review of CopyBlocks AI that may help you with copywriting and why you should get one today

What is CopyBlocks AI?

CopyBlocks AI is a Futuristic ‘Self-Writing’ A.I App That Builds & Runs A Pro Copywriting Agency Business Completely Hands-Free.

It uses advanced marketing technologies like A-I-D-A & P-A-S that generate guaranteed-to-convert copies in less than 60 seconds

Why CopyBlocks?

It’s no secret that ever since the pandemic, many offline businesses have been struggling to move online.

Freelancers & Agencies rendering services that can help these businesses establish themselves online are seeing an increasing demand.

Website Designing Services

Video Creation Services

Social Media Ad Creation Services

Bloggers and other services are in high-demand now.

However the biggest winners are copywriters because you need their services

A website needs content

A sales page needs copy

A video needs a script

An ad needs a copy

A blog needs content

Why CopyBlocks Is Better Than Every Other Copywriting Software

There are a bunch of copywriting software in the market these day but here are a few reasons why CopyBlocks AI stands out

Creates ‘Human-Written Like’ Content for Social Ads, Website/Ecommerce, Sales Pages, Blogs, Company Info. etc.

-Save hours in writing time (500X faster than humans)

Save money (200X cheaper than humans)

100% Original Content each time you click on generate

Bring your copy to life using the Feature to Benefits convertor engine

AI generates copy in over 120+ Languages in just a few clicks

Set and easily change the tone for your copy (professional, academic, childish, mysterious, slang, etc)

No more writer’s block

No more copy that doesn’t convert

Team member access

Take A Look At CopyBlocks In Action

Price

With all these amazing features and benefits, do I think you should buy one today? YES.

Kickstart your own copywriting agency today with CopyBlocks for just $47

>>Click Here To Buy CopyBlocks AI Today<<
The Stateless Wanderer
By: Salima Noorani
Tags: Mental Health, War, Survival, Sense Of Belonging, Refugees

When your only shelter is the blue sky

Photo by Amir Arabshahi on Unsplash

It was a chaotic day. Mom and dad were busy packing whatever they thought is going to be useful in the journey they are about to take. Little Khalid, who was 5 years old had a hard time figuring what was going on. They left home in a hurry. They were traveling on foot. The streets were covered in blood. There were corpses all over. Khalid was very tired but there was no time to rest. They reached the dock and boarded the ship. It was jampacked. They could hardly breathe.

While they were sailing they saw the other ship sank. People were screaming but there was no help. Everyone was scared. Khalid started to cry. Her mother put her arms around him. She tried to console him but it was evident that she was trying hard to be brave. Nobody could tell how long it took to reach their destination. It was an unfamiliar territory and they did not feel welcomed. They started to live in a camp with whatever little surviving tools they got from generous donors.

There are millions of people who became stateless wanderers after fleeing their homeland because it became a war zone. The sudden transition they had to face is traumatic. Apart from the material loss, they had to suffer mental health issues that remain with them for the rest of their lives.

It is hard to imagine what it feels like when you are uprooted from your home and end up in a strange land. You have to start all over again. Have you ever wondered what would you do if you suddenly lose your sense of belonging?