fabiochiu/medium-articles huggingface dataset:
YamFlow — Reference Machine Learning Workflow
By: Thomas Lee
Tags: Yamflow, Artificial Intelligence, Neural Networks, Data Science, Machine Learning

Hello, World! We’re happy to announce our new startup YAM (www.yam.ai).

We initially chose YAM to stand for Yet Another Machine (which meant Artificial Intelligence) and later made it a recursive backronym YAM AI Machinery. At this startup, we strive to standardize the practices and frameworks of developing AI applications so that AI can be componentized for reuse and integration. With reusable and mashable AI components, we help enterprises build AI applications in a fast and proven fashion through consultancy.

YamFlow Draft Specification

First of all, we would like share with you the draft version of our reference workflow for the machine learning (ML) development life-cycle. We name this workflow YamFlow. YamFlow is aimed to provide a canonical taxonomy for practitioners to understand and communicate the flows of activities and data involved in a typical ML process. It specifies the key activities of pipelining data, modeling ML, training ML, and serving the inference.

Internally, we also use YamFlow as the baseline for YAM AI Machinery to design interoperable frameworks for composing ML tasks and data.

If you’re involved in developing ML applications in an enterprise environment, we believe you’ll find YamFlow useful too. While we are maintaining YamFlow as a live specification, we wish to hear your comments so that we can keep improving it for more accuracy, practicality, and generality.

Please check out YamFlow at https://flow.yam.ai, which is maintained as a GitHub project. We’d love to hear feedback from you so that we can improve YamFlow to cover your use cases.

Lastly, we’d love to stay in touch on social media:
What Is Office Housework and Why Should You Stop Volunteering for It?
By: Sundas Khalid
Tags: Work, Women In Tech, Essentialism, Startup, Data Science

How Does It Affect Your Career?

Office housework often consists of non-promotable tasks that consume time you could be spending on promotable work. Time is essential and limited. If you have been raising your hand for such tasks often, stop. It might be holding you back from doing “glamour” work.

My experience with office housework

I used to volunteer for organizing pretty much every team activity. I once organized an event for 80 people in the office. My core job was data science work and I was using my spare time doing office housework. Office housework did give me access and visibility to senior leaders, but it wasn’t the type of visibility that helped my career.

Since learning about office housework (and my “aha” moment), I have been mindful of things I volunteer for. Just because I am good at something doesn’t mean I need to do it.

Hosting a conference with 900 attendees.

The picture above is from a conference that I helped organize (office housework) and host (glamour work). Organizing the conference was months of effort. Did I need to do that? No. Did this work end up in my promo doc? No. However, hosting the conference as an MC did make it to my performance review. I helped organize it because I am good at it and wanted to, but in hindsight, I took away my time from other promotable work that would have ended up on my promo doc. Be mindful of how you use your time.
Gross is a really nebulous concept.
By: Paul Muller
Tags: Instagram, Mindfulness, Design

Gross is a really nebulous concept. On one hand it’s the gradual process by which things get bigger things get better and get slightly older. On the other it’s a process that is defined by the limits and the struggles against itself. True progress can happen without resistance. How do you handle the strain and stress that true growth requires. . #lettering #wordart #fountainpen #lamy #sotd #growth #watercolorpaper #sketch #brushpen #copicmarkers #pilotmetropolitan #ink #doodle #doodles #color #coffee #lettering #brushtype #mindfulness #realtalk #bonsai #random #healthy #mentalhealth #battleon #goodthoughts #brushlettering #latenight #sosleepy

Originally published on Instagram
Submission for Queen’s Children
By: Jean Carfantan
Tags: Sacred Feminine, Writing, Writers On Medium, Feminine Energy, Feminine Power

We’d like this network to be a Mutual Aid and Inspiration Community.

FIRST OF ALL, FEEL FREE IN YOUR EXPRESSION MY FRIENDS! WE LOVE EACH ONE OF YOU AND WE FORM A MOSAIC!

🌑 🌘 🌓 🌕 🌗 🌒 🌑

Feel free to propose anything to empower the feminine : words of love, words of wrath or words of humor, real life stories, tales, poems, essays, fictions and art (photos, paintings, digital…).

We ask you to take your time, to reread your texts. We won’t correct you but we’ll communicate in a private message.

You may propose non-English translations too but only while or after the English one has been published in our publication.

We hope to have a diversity in cultures, languages and continents.

How to propose your text

If you are enlisted as a writer

Once you have achieved your draft, click on the three little dots between the bell and the Publish button in the right hand corner of your draft page.

Select Queen’s Children in Add to publication and click the submit button.

If you are not in our writer’s list, feel free to comment this page so that we can enrole you in our list.

For other topics, feel free to write to QueensChildren@sten.33mail.com

Some rules

Your story should empower the feminine. This means respect and elevation, even if it is not precisely about the Sacred Feminine. The Sacred Feminine includes casual things too. Any word is allowed depending on the right context, as long as you don’t abuse it. Choose carefully your image. Make sure that all images are attributed to the author, with a link. For your first image, please choose the right position, the fourth one which allow to adapt to any screen size. Please write some alt text to describe it for those who use an audio browser. Of the five tags you are allowed.

One tag must be Sacred Feminine.

With it, you should add one of those :

* POETRY for poetry and tales

* STORIES for life stories and fiction

* ESSAY for reflections

* ART for art work We ask you to take your time and reread your texts. We will communicate with you in a private message, if needed. Submit only unpublished drafts published work with agreement from the publisheer and with a mention with alink to the original publication. After 30 days, you can publish in an other publication, if so, please write at the top of the post: “Originally published in Queen’s Children” with a link to your story. The delay won’t more than a day.

We are happy to build this community around the Sacred Feminine.
Use These Free Tools To Generate New Writing Ideas
By: Scott D. Clary
Tags: Writing Ideas, Writing, Blogging, Writer, Content

Use These Free Tools To Generate New Writing Ideas

Some free tools and one freemium OpenAI headline generator.

Writing is tough enough. Sometimes it seems like professional writers can think of attention grabbing topics and headlines on the spot.

For many of us, it’s not that simple.

So, for everyone who is not gifted with unlimited writing ideas, there’s tools.

Copy.AI (OpenAI)

CopyAI will help you automate the tedious, and oftentimes frustrating, aspects of headline (& ad) creation. They help you brainstorm high-quality, audience-based copy in real time.

Hubspot’s Blog Idea Generator

Portent’s Title Maker

Impact’s BlogAbout Title Generator

Linkbait Generator
The Garlic Freak
By: White Feather
Tags: Short Story, Fiction, Humor, Food, Psychology

(9–17)

Charles James Worthington never tasted garlic until he was sixteen years old. It was on one of his first clumsy dates. It was on a double date, actually. It was the standard movie then pizza date. It was the first time Charles had ever eaten a pizza not made by his mother. He finally learned what real pizza was like and he also discovered garlic. (And girls.)

From that moment on Charles became wildly passionate about garlic. He did research on it. He went on a quest to try every ethnic cuisine that included garlic. He began going to grocery stores after school just to have a double handful of garlic in which to stick his nose.

How on earth could he have gone sixteen years of his life without any experience with garlic whatsoever?

It was because of his mother. The family never ate out in those sixteen years. Charles’ mother was an extreme penny pincher. She knew how to feed a family of seven on less than a buck-fifty. The only food Chucky (he was called Chucky back then) ever tasted was his mother’s cooking. Even the seemingly thousands of sack lunches that Chucky had eaten at school were made by her.

And she hated garlic. She hated it so much that she vehemently refused to even allow it in her home. Chucky learned this when his mother found a few stray cloves of garlic in Chucky’s sock drawer.

“Don’t you ever bring garlic into this house again! You understand me?”

“No. I don’t understand your weirdness about garlic. What’s the deal? I’ve tasted it and it’s delicious.”

She put her hand to her mouth, slowly dropping it to speak, “So you’ve tried it?”

“Duh.”

“I tried to shield you from it as long as I could but I guess deep down I knew that eventually you would succumb. I can’t protect you from garlic your whole life. You’ll be a man soon and you’ll need to make your own decisions. Just hear me now, Chucky; garlic is evil! It will inflame your loins and your stomach and it will turn your brain into mush. It’s what is used to control people. Promise me that you will stay away from garlic!”

“What? No. I love garlic.”

Once again, she covered her mouth.

“And one more thing….”

She didn’t move.

“From now on, my name is not Chucky. It’s Charles!”

Her hand still on her face, his mother let out a faint whimper then turned and left the room.
Simulating An Epidemic Outbreak With JavaScript — Part 7
By: Kelvin Zhao
Tags: Development, Virus, JavaScript, Simulation, Coding

TLDR: I made an epidemic outbreak simulation that can be played here.

Show Me The Curves

A lot of articles out there about the pandemic is talking about flattening the curve. Reducing the peak infection numbers so the medical facilities don’t get overwhelmed. So let’s add some charts to our simulation to see how our curves are doing.

Install ChartJS into our project with an npm install.

npm install chart.js --save

Import it into our app.js.

import Chart from 'chart.js'

Here’s how I set up my chart. Essentially stripping out all the labels and lines and whatnot. I just want to see my curves.

const myChartCtx = document

.querySelector( '.my-chart' )

.getContext( '2d' ) const myChart = new Chart( myChartCtx, {

type: 'line',

data: {

labels: [ 0 ],

datasets: [ {

data: [ beds ],

fill: false,

pointRadius: 0,

borderWidth: 1,

borderColor: 'rgba( 66, 153, 225, .5 )',

},

{

data: [ 0 ],

fill: true,

pointRadius: 0,

borderWidth: 0,

backgroundColor: 'rgba( 0, 0, 0, .1 )',

},

{

data: [ 0 ],

fill: true,

pointRadius: 0,

borderWidth: 0,

backgroundColor: '#ED8936',

},

{

data: [ total / 2 ],

pointRadius: 0,

borderWidth: 0,

} ]

},

options: {

legend: { display: false },

tooltips: { enabled: false },

scales: {

xAxes: [ { display: false } ],

yAxes: [ { display: false } ]

}

}

} ) function addData( who, data ) {

myChart.data.datasets[ who ].data.push( data )

myChart.update()

}

So if you noticed, I have 3 datasets in my chart set up. The first one is a single line that draws across my chart. This will represent the breaking point of the medical facilities. As mentioned in the previous articles, this is about 25% of my total population.

The second is my death count. It is a black area chart with a 10% opacity so it will overlay on the chart to give a sense of the growing numbers of dead beans in our population.

The last dataset is my infection numbers. This will include both infected beans and detected beans. This is the curve to flatten and keep below our breaking point line from above.

Every time I loop through my particles to do a count, I push these data to my chart and update the chart. I also set a small deference counter so that I don’t push my data that often. Currently, my loops are on a 60 fps, I don’t want to update my chart that often.
Glossier: A Brand You Can Be Friends With
By: Sashi A.
Tags: Glossier, Marketing, Digital Marketing, Digisoc1

Treat Customers Like Friends

Glossier invested most of the day interacting with their followers on Instagram. They would answer questions and comments daily. They already had a big community — thanks to Into The Gloss, the beauty blog that kicked start the brand — but as they gained more spotlight, Glossier were able to build a cult-like following.

Glossier set apart from their competitors by continuously engaging their customer in order to create products that resonated with the followers’ needs. Every product they launched were result of a co-creation process between the community and the brand. When the brand diligently cultivated interest to fulfill their customers’ needs, the customers would reward them with fierce loyalty.

Glossier’s best selling fragrance that claimed ‘You’ as its important ingredient

On Twitter, Glossier focused on building friendly and approachable rapport rather than flooding their feed with non-stop promotion. Their tweets were witty and relatable, inviting people to retweet or response to the posts.

Glossier’s not overly promotional tweet

Turn Customers Into Influencers & Evangelists

Other thing that should be highlighted was Glossier’s strategy to encourage their Instagram followers to post their own beauty regime and tag the brand’s social account. They turned ordinary girls into social media influencers and evangelists featuring their products. Their authentic, humanizing, and personal approach image seemed to be the mindset behind Glossier’s high engagement rate. People would post snazzy pictures that feature Glossier’s products and write good reviews to be worthy of Glossier’s repost.

A product review by Glossier’s customer

This user-generated content played a dominant role in uplifting Glossier’s sales, as Emily Weiss the CEO & Founder of Glossier, said that 70% of their sales come from direct/organic/referral traffic. Moreover, this strategy cut a large chunk of budget used for marketing expenses.

Not Glossier-centric

Glossier implemented a slightly different strategy on YouTube. Their most-watched content was a series called Get Ready With Me, featuring women doing their beauty routines. The women were often bare-faced at the beginning of the video before gradually applying their skincare and makeup — not to cover up their flaws but instead to make their physical features stood out. The series were fascinating because the videos often included products from other brands. Glossier aimed to add value to their brand by producing informative an helpful contents, as opposed to blatant Glossier-centric sales pitch.
Memories of 25 (A Quadrille)
By: Tre L. Loadholt
Tags: Loss, Quadrille, Death, Writing, Family

Memories of 25 (A Quadrille)

An Ode to My Late Grandmother

My late Maternal Grandmother. Time period? Unknown to me. Photo enhancement? My Own.

cancer stripped you

of life.

25 needed you,

but

you were already

gone. claimed by

a disease that

terrifies me in

my sleep. I become reacquainted —

with you in nature and

in the glossy pupils of

blinkless eyes.

you are alive, even in

death.
A scientific reason why you shouldn’t compare yourself to others
By: Roshan Daryanani
Tags: Happiness, Celebration, Envy, Science, Comparison

A scientific reason why you shouldn’t compare yourself to others

Instead, try celebrating with them

Rawpixel on Unsplash

Any student of science knows that in an experiment, comparisons are only valid if you control all the other variables that could affect the outcome. If you are studying the effect of physical exercise on heart rate, you need to control for things like caffeine consumption, age, previous heart conditions, and a host of other things that could also affect heart rate.

Ironically, I’ve also compared myself to other people for years. I felt I wasn’t as hard-working as them or as confident or that I was falling behind in some other way. I conveniently forgot about all the control variables.

When you compare yourself to someone else, you forget all the variables that made them who they are are — their genes, their upbringing, the events of their life. Funnily enough, you overlook the fact that others may be comparing themselves to you, while you take all the positive variables of your own life for granted. Or at least, that’s what I do.

Such comparisons are scientifically invalid.

Instead of envying someone their good fortune or achievements, we can aspire to what I’d like to call peer cheering (as opposed to scientific peer review). By this I mean finding something to celebrate when you hear someone else’s good news and feeling glad that they will enjoy it.

As hard as this may seem to do, especially when they’re in a situation you’d really like to be in yourself, I’ve found it’s possible. I’ve tried doing it lately, and when I can manage it, it feels great. We’ve been fed a false narrative that one person getting what they want somehow makes others less likely to do so. Isn’t the opposite often true? Haven’t you at some point been inspired by those who’ve already managed to achieve your dreams?

I think it simply comes down to wanting to feel good for others. When you come across someone whose hard work has finally paid off or who’s had a stroke of luck or is simply content for someone reason, picture them dancing around with joy, and wish them well. Even if you don’t genuinely feel it at first (that was my worry!), if you do it enough, you start to really feel happy for them. I’ve repeated this experiment a few times so I know it works. That doesn’t mean I no longer feel any envy, of course — but it’s a step forward.

Less comparison + Being able to feel glad for others = Expansion of your own potential for happiness

Maybe I should be sharing this with the students I teach science to, alongside the equation for photosynthesis.
Einstein’s Formula for a Happy Life
By: Genius Turner
Tags: Life Lessons, Self Improvement, Life, Self, Productivity

Einstein’s Formula for a Happy Life

A few days before Einstein twirled into the Reaper’s grim arms, his assistant — Dukas — found him in the hospital bed, “in agony, unable to lift his head.”

Yet on the very next day, a mere 24 hours or so away from his death-day, Einstein “asked Dukas to get him his glasses, papers, and pencil, and he proceeded to jot down a few calculations.”

“He worked as long as he could,” noted biographer Walter Issacson, “and when the pain got too great he went to sleep,” for the final time. Indeed, Einstein died doing the one thing he loved most — working. Ah, circumstances reveal character!

“Genius is one percent inspiration,” said Einstein, “and 99 percent perspiration.” Indeed, it’s not by accident that no one has ever become great by accident. After all, as Einstein once noted: “Only a monomaniac gets what we commonly refer to as results.”

Show me someone great and I’ll show you someone obsessed. Besides, what more is “greatness” than the child of an obsession?

For the above reason, when Einstein was asked for the secret to a happy life, though the questioner expected an answer long and sour, Einstein kept it short and sweet:

“If you want to live a happy life, tie it to a goal, not to people or things.”

Here lies Einstein’s formula for a happy life.
How to Be Comfortable Speaking a New Language
By: Mathias Barra
Tags: Language, Learning, Education, Self Improvement, Productivity

Despite spending months learning a language, you still feel unease speaking it. You’re starting to understand more but it still feels foreign to you. The words coming out of your mouth feel wrong, even when they aren’t.

This is a struggle all language-learners have to go through. One we’ve all stumbled against at least once. One we fear we can never pass. One we wish never existed.

The journey to becoming comfortable in a new language isn’t the journey to become fluent. It’s only part of it. An important part, to say the least.

How can we feel comfortable speaking the language quickly when it took us years to be at ease with our native language? Do we have to spend years to reach such a level?

We don’t. As adults, we have more tools at our disposal. We don’t have to be passive and wait for this unease to disappear, we can tackle it head-on.

How? Here are 5 ways I’ve used in the past decade to rid myself of this feeling and enjoy the journey even more.
2 Simple Ways to Reprogram Your Mind to Do Anything
By: Brenda Abigail
Tags: Self Improvement, Personal Development, Psychology, Life, Success

How to Change Your Programming to Achieve the Results You Desire.

If negative thoughts turn into beliefs that determine your behavior, then the opposite holds true. Positive thoughts and beliefs can lead to positive action. This means we can reprogram our minds to become successful, happy, fulfilled, etc. There are two ways you can reprogram your mind: (1) self-hypnosis, and (2) repetition.

#1. Self-hypnosis

We spend most of our waking time in the beta state. Here our consciousness is directed towards cognitive tasks and the outside world. When we relax — before we go to sleep, while we daydream, when we meditate — our brain enters the alpha state. The theta state is reached during sleep or deep meditation.

In the theta state, your conscious mind shuts off, and you’re subconscious mind takes over; you’re back in the hypnotic state from your early years of childhood.

If you listen to affirmations or a self-help audio program during sleep/deep meditation, your subconscious mind will insert pieces of the recording into your programming. Your brain always records what goes on through your mind, consciously or unconsciously.

I like to listen to affirmations as I drift off to sleep. I’ll set a timer on my phone (anywhere between 1–3 hours) so that when the alarm goes off, it’ll automatically stop whatever is playing. I recommend Higher Vibration Meditations on Youtube. They offer a variety of different affirmations as well as guided meditations. You can also record your own affirmations and play them on repeat.

Not to mention, it’s a soothing way to go to sleep.

#2. Conscious Repetition

When we’re in our waking state, the only way we can learn something is through practice and repetition. Much like learning how to ride a bike, you have to repeat certain actions to form a habit.

When you become conscious of a negative thought, you have to replace it with a positive one. Avoiding negative thoughts will not form the habit because we think in pictures, not words. If you tell yourself “don’t think about how insecure you are”, you’re going to think just that because our subconscious mind doesn’t operate through negatives.

This is where affirmations become particularly important. If you’re trying to become more confident, say “I am confident”, repeatedly. All the time. Especially when thoughts of insecurities pop into your head.

Through repetition, your subconscious mind will insert those statements into your programming, and your conscious mind will make it real. Once it’s programmed, you have no more work to do. The belief will stay until you rewrite the program again.

You’ve heard the phrase, “fake it until you make it.” Your job isn’t to believe your affirmations (you won’t) but to constantly repeat them. Your subconscious mind will take care of the rest.
How to Use Kustomize for Your Kubernetes Projects
By: Randil Tennakoon
Tags: Programming, Kubernetes, Docker, DevOps, Containers

3. Add Changes to the Existing K8s Resource Files

Changing the label of the existing Kubernetes deployment

Inside the resources section, you can add your K8s resource files, such as deployments, services, namespaces, ConfigMaps , etc. At the moment, I only have a K8s deployment. After specifying the resources , you can then move to the next section where you define your changes.

commonLabels:

someName: #some-value

owner: #mike

app: #test

The commonLabels field allows you to define labels/names to your YAML configuration file. As shown above, you can add your labels to it. Once you’re done with the changes, you can run the command below to apply them to your deployment:

$ kubectl delete -f nginx-deployment.yaml

First, you need to remove the existing pod. But before deleting the existing pod, make sure to run the kubectl get all --show-lables command to check what you have in the Labels section in your pod:

// output NAME READY STATUS RESTARTS AGE

pod/nginx-deployment 1/1 Running 0 26s LABELS

app=nginx,pod-template-hash=66b6c48dd5

Then you can apply your changes by running the command below:

$ kubectl apply --kustomize . OR $ kubectl apply -k .

Let’s run the kubectl get all --show-labels command and see whether it has taken the changes:

// output NAME READY STATUS RESTARTS AGE

pod/nginx-deployment 1/1 Running 0 9m14s LABELS

app=nginx,owner=randil,pod-template-hash=6dcc7ddc48 NAME READY UP-TO-DATE AVAILABLE AGE

deployment.apps/nginx-deployment 1/1 1 1 9m14s LABELS

app=nginx,owner=randil NAME DESIRED CURRENT READY AGE

replicaset.apps/nginx-deployment-6dcc7ddc48 1 1 1 9m14s LABELS

app=nginx,owner=randil,pod-template-hash=6dcc7ddc48

Note: If you’re running an older version of Kubernetes, you have to install Kustomize on your computer before getting to this process. Then, you can run the commands below to apply the changes.

$ kustomize build . > test-deployment.yaml $ kubectl create -f test-deployment.yaml

Changing the names of the existing Kubernetes deployment

Kustomize helps you to change the names of your K8s resource files. For that, you can use the namePrefix and nameSuffix fields:

resources:

- nginx-deployment.yaml commonLabels:

owner: randil namePrefix: test- nameSuffix: -dev

namePrefix appends your custom text at the beginning of the name and nameSuffix appends your custom text to the end of the existing name.

// output - extracted only the relevant part NAME

deployment.apps/test-nginx-deployment-dev

Refer to the docs for more options.
Toxic traits that need addressing in any design team
Tags: Work, Design, Design Thinking, Technology, UX

Individualism

I don’t know about you, but I certainly tried to do everything myself in the early years of my career. And because I tried to do everything myself, I experienced burn-outs more times than my then-fragile mental health should’ve allowed. When I wanted things done “ correctly” (whatever that means), I had to do it myself. The mentality was flawed and evidently dangerous. By letting myself be more collaborative with my peers, I slowly got out of this bad habit of mine. I ask for help more often these days, making fewer assumptions and asking for help when I need it.

In my experience, I’m not an exception in any way. Individualism is not uncommon in the Design industry. The mainstream public still believes the superstar-designer myth, which in turn affects how we see ourselves as professional designers. For instance, Jony Ive didn’t single-handedly create Apple’s most iconic designs. I know firsthand Apple’s Design teams to be massive, spanning across many disciplines. Although I never met him, I see Jony as a great Design leader, and there’s no doubt he will come down in history as one of the most prominent Design figures; but no, he did not do it all alone. Even if we, the designers doing the workday in and day out, know Design can’t be done in a silo, many still internalise individualism (including myself). Our stubbornness for it is even more evident when we fly solo.

By learning the difference between owning the work we do and isolating ourselves from our peers (within Design & beyond), we can learn how to let go, to delegate, to better collaborate, and, therefore, to develop productive and healthy work practices. While flat structure promises autonomy, overvaluing those who can get things done on their own without needing supervision or guidance can lead to a lack of accountability developed within the team’s culture. Moreover, more junior members may feel like they’re being neglected with no assistance or long-term career development.

The flat structure should instead be about transparency and open communication, focusing on a shared mission and how everyone is working toward them; i.e. holding people accountable as a group rather than as individuals. Meanwhile, make sure that credit is given to all those who participate in each project, not just the leaders or most public person. When building a new team, leaders ought to intentionally develop a culture where people bring problems to the group. One tangible tactic is not only using staff meetings as a place to report activities, but also a place to solve problems taken place within the organisation.
Don’t let anyone, including Tim Denning, tell you that pursuit of money will cause you to give up…
By: Melinda Crow
Tags: Writing, Money, Publishing, Ideas, Life

Don’t let anyone, including Tim Denning, tell you that pursuit of money will cause you to give up writing.

I love most of his work, but there are times when his words come from another planet – as in a planet where it rains money.

I’ve been a happy freelance writer for 30+ years and money is my principal motivator. Have I written for free? You betcha! I have a brain that communicates best in written language and a soul that demands I do so.

Mr. Denning is also condescending when he says $1,000–2000 isn’t enough to quit your job. For thousands of us it is the exact right amount we need for life changes.

Read his story about News Break if you want to add to his bank account. Or here’s mine:
First Steps
By: Elise Edmonds
Tags: Fiction, Microfiction, Fantasy, Writing, Superheroes

Pixabay

First Steps

Microfiction

I turned my back for a second. That’s all. One second. When I spun around, holding the blanket, Josh wasn’t there.

Lips wobbling, I reached my shaking arms towards the cot. Where’d my baby gone? It didn’t make sense.

The sides were too high for him to climb and there was nowhere to hide. I couldn’t drag my eyes away from the empty bed. His blanket fell from my hands, blue elephants mocking me, dancing before my eyes.

“Josh? Where are you?” Even I could hear the note of desperation in my voice.

I gazed until my eyes watered. Nausea rose in my stomach and my hands trembled. But just before I screamed, the air flickered, like a heat haze, distracting me.

Then came a ‘pop’, and there he lay, giggling. My mouth dropped open. Invisibility? And early manifestation. Looked like he’d got the genes. I thought he would, but I’d had my money on X-ray vision….
95% of users rely on reviews. And now what?!
By: Flavio Lamenza
Tags: Design Process, UX Design, User Experience Design, Marketing, User Experience

This report shows that 92% of consumers trust recommendations from the people they know.

Bringing the online to the offline:

Batiste Dry Shampoo with star ratings on the lid.

Let's be clear here… This shampoo is not for me 🙄 Don't know if you've checked my profile photo, but I have a very minimalistic hairstyle.

This example is only to show how awesome offline merging with online can influence a decision. Do you know any other dry shampoo with a score 4.6 out of 5?? If you are in a shop, are you going online to double-check if other brands are better rated?

This quote from the book "The Brain", by neuroscientist David Eagleman, can help us understand this behaviour a bit better.

We are a splendidly social species. We need each other.

We need each other. And that explains a lot…

Online world

Baymard Institute did an amazing research and found out that 95% of users relied on reviews to learn more about products.

It's not just up to businesses to tell their users/customers how great their product is, it's up to other humans as well. As a matter of fact, a simple online review might be more powerful than a huge amount of copy trying to convince you that a product is good.

Read about "The Coolest Cooler". It's in regards to one of the (if not, the biggest) fail in Kickstarter history. It started of by being the most amazing Cooler ever, raising the astonishing amount of 13 MILION DOLLARS. However, they failed after infinite bad reviews and orders not fulfilled… 💸

👉 Read about the coolest cooler fail, here.

Reviews are fundamental for massive businesses

Some new business models are only working because of user reviews.

Airbnb: Would you stay in a stranger house solely based on the stranger's description of his house?

No, thank you..

Trip Advisor: Who's actually advising? Users!

eBay: Would you buy a product from a seller with zero reviews and no ratings?

Trustpilot: With 45 million reviews, Trustpilot released a very insightful report stating that:

"Trust and reputation must be earned."

Yelp: Users have written more than 155 million reviews on the platform. Micael Lucas is a professor for Harvard Business and his study showed that:

"Restaurants which increase their ranking on the platform by one star raise revenue by 5–9%".

Amazon: Can you imagine shopping at Amazon without reading the reviews?
Flee your country by using Python to find the best job offers at LinkedIn
By: Matheus V De Sousa
Tags: Web Scraping, Immigration, Python, Jobs, LinkedIn

Note that the parameters for the request are like this. There’s no problem if you remove all the other parameters by the way.

If you keep scrolling down, you’ll notice this:

The new jobs are coming as the start parameter increases by a factor of 25.

👩‍💻 Coding time

Let’s first create our CSV file.

Let’s make some requests to LinkedIn address we have just discovered.

https://www.linkedin.com/jobs/search?keywords=jobName&location=locationName&start=25’

We will be getting the first 100 jobs to filter as we said before increasing by a factor of 25.

If you try to filter more than a hundred jobs and you will be getting a lot of outdated data.

We are making several requests here to get 100 job results from the LinkedIn website. As said at the beginning of this article by looking at the HTML.

all the cards on the left are ‘a’ elements whose class is ‘result-card__full-card-link’. All these elements have a link that if you saw that ‘href’ property over there. Also, note that the link is actually the job page you are seeing on the right side of the page.

So we first find the div that contains all the job cards we are looking for.

soup.find(class_='jobs-search__results-list')

Then we find all 'a' elements whose class is 'result-card__full-card-link'. They are actually our job cards.

.findAll(‘a’, { ‘class’ : ‘result-card__full-card-link’ })

And finally, we append the results of every iteration to an array called joblist.

This way our variable joblist holds a list of a hundred 'a' elements. 😱

The next step is to iterate over those jobs to get the name and the link for the job's page. After getting the link, we'll make get requests to get the job’s description that, as pointed before, is as simple as getting a div whose class is show-more-less-html__markup.

To find the keyword visa in the description we're going to use regular expressions.

description.findAll(string=re.compile(r”\bvisa\b”,re.I))

So in the code above, the function re.compile is receiving the regular expression ”\bvisa\b” as a parameter as well as the constant re.I, that indicates to ignore case sensitive.

You can use other keywords like 'relocation' or 'sponsorship'. Let us know in the comments whatever works best for you.

Now run your code and start practicing for code interviews. 🤓
Localization vs Internationalization
By: Martin Thoma
Tags: Software Engineering, Software Development, Business, English Language, Terminology

Internationalization is the process of making your software easy to adapt to different languages or regions.

Internationalization is often abbreviated by i18n. In a website, i18n can mean to use Babel projects (e.g. flask-babel in Python, gettext in PHP, FormatJS in JavaScript, …)

Localization is the process of adapting your software to a different language or region.

Localization is often abbreviated by l10n. l10n includes translation, adjusting currencies ($, €, £, ¥, …), systems of measurement (metric vs imperial), adjusting time zones. The language change might make a lot of other changes necessary. For example, it can very well be that the layout does not work any longer. It might mean that you need to get more data about the user because there are other ways to address the user.

Localization is not defined by the language

You might be tempted to use the language as an identifier for the locale. That doesn’t work:

English: The UK has calendars that start on Monday, but the USA have calendars starting on Sunday. The UK has Pounds, the US has Dollars.

German: Switzerland has the Swiss franc, Germany has the Euro.

Localization is not defined by the country

This one is far closer, but there are many more detailed rules about time zones. For example, the US has four time zones and Russia has 11 time zones.

Also the language is not defined by the country. French is the official language of Quebec, but the rest of Canada speaks English.

See also
Build Advanced React Input Fields Using Styled Components and Storybook.js
By: Jennifer Fu
Tags: Programming, Storybook, Nodejs, React, JavaScript

The Multiple-Value Clearable Input

In addition to the clear icon, we’ll try to make the combo input more interesting. Whenever a user hits the Enter key, the existing none-empty value will be extracted out of the input field to be an item, displayed with a gray background.

Duplicated item values indicates an error. The combo input will be bordered by red lines.

In addition, we can change the clear icon to red color too.

This MultiValueClearableInput can wrap around to the following lines if the size exceeds the width.

Entering Backspace will delete the text in the input field and then items, one by one, from back to front.

When there are no duplicated-item values, the combo input border will turn back to black.

Clicking the clear icon will clear all of the items, along with the current value in the input field.

This MultiValueClearableInput can be built with a container composed by three things: a list of div s, an input field, and a clear icon.

In addition, the list of div s and the input field are grouped by an input container.

We copy the ClearableInput code and expand it to accomplish the MultiValueClearableInput .

Here’s src/components/AdvancedInputs/MultiValueClearableInput.js :

Line 13 defines the container’s border color, which is based on whether there’s an error. isError is passed to the props at line 77.

Line 53 adds a state to track item values.

Lines 55-57 calculate the state and whether there’s an error (duplicated item values).

Lines 79-81 specify a list of items, in addition to the input field and the clear icon.

Line 84 handles the KeyDown event. The event handler is defined at lines 59-74. Why do we use KeyDown instead of KeyPress ? It’s because the KeyPress event is invoked only for printable character keys, and the KeyDown event is raised for all characters, including nonprintable characters, such as Control , Shift , Alt , Backspace , etc. The Enter key is a printable character.

Line 94 sets the SVG color based on whether there’s an error.

Line 97 clears item values along with clearing the input field (line 96).

This file adds code to the ClearableInput . Instead of having two files, we could add a parameter for it to handle both cases. Do you want to take it as an exercise?
Misters Darcy, Ranked
By: Silvia Killingsworth
Tags: Pride And Prejudice, Jane Austen, Movies, Mr Darcy, Books

Misters Darcy, Ranked

A Listicle With Some Commentary

Picture Mr. Darcy in your mind’s eye. What do you see? Brown hair? Some eyes? Rich-man ruffle shirts and short pants? Or rather, whom do you see? Colin Firth or Matthew MacFadyen? Well all of this is wrong according to a panel of experts. Apparently he looked more like a regular schmo, with gray hair to boot:

Wait, looked? “Real” Mr. Darcy? Yes, that’s right. We’re arguing over the visual integrity of a real fake literary character. Well in the spirit of such nonsense, why don’t we take a ride back and rank ALL the Misters Darcy we’ve come across through the years. I’m not including spinoffs like “Lizzie Bennet’s Diary” or “Bride and Prejudice” or whatever. I am including the zombie one though because that preview got me for like one second. Do not try to tell me Bridget Jones’s Darcy counts because he does not.

Here are the Darcies, in order from worst to best:

Sam Riley from Pride and Prejudice Zombies (2016)

Laurence Olivier, Pride and Prejudice, 1940

Bow-tie-for-hair Darcy, Alex Balk, 2017

Matthew Rhys, Death Comes to Pemberley, 2013

Not-dancing Darcy, Nicole Dieker, 2017

Billing-statement Darcy, Megan Reynolds, 2017

David Rintoul, Pride and Prejudice, 1980 (BBC Miniseries I)

Napkin Darcy, by Mike Dang, 2017

Guardian Guy, 2017 (honestly the way this guy is drawn, it’s not so bad)

Image: UKTV/Nick Hardcastle/PA

Boy Darcy, Kelly Conaboy, 2017

Matthew MacFadyen, Pride and Prejudice, 2005

Extremely Accurate Darcy, Christine Friar, 2017

Colin Firth, Pride and Prejudice, 1995 (BBC Miniseries II)

Which one would you fuck?
“Press” Premieres on PBS Oct 6
By: Shain E. Thomas
Tags: Pbs, Journalism, BBC, Drama

Image Credit: IMDb.com

Public Television

“Press” Premieres on PBS Oct 6

Journalism drama reflects real-world U.K. newspaper life

What is Press About?

Press revolves around two rival fictional British newspapers, The Herald and The Post, and their staff.

Even though the BBC has a well-established reputation for high-quality period dramas, one should not underestimate what it can do with contemporary set productions.

Journalists at The Herald, a left-leaning broadsheet newspaper, look to write serious hard-hitting news content without compromising journalistic integrity.

In Wendy Bolt’s words, the people at The Herald think it is “a prize-winning crusading liberal lefty paper exposing hypocrisy and corruption.”

During the first episode, Bolt, played by Susannah Wise, was seen undercover at The Herald. She was there to dig up dirt on the journalistically honest broadsheet for The Post.

Although Evans describes Bolt as a “provocative twenty-first-century icon,” Edwards more accurately referenced the author as “a toxic right-wing troll.” From the way Edwards speaks of Bolt, you would be forgiven for thinking The Herald’s investigative reporter was referencing real-life Fox News commentators.

Directed by Tom Vaughan, in the era of digital media and the 24-hour news cycle, the six-part series highlights the changing nature and growth of modern journalism. Media is truly the industry that never sleeps.

Who is in the Press Cast?

Holly Evans, played by Charlotte Riley, is the deputy news editor at The Herald. Constantly annoyed by the easily correctable errors she sees being published, the news editor believes The Herald’s content should be accurate and without reproach.

The editor of The Post, more concerned with filling pages with populist entertainment dribble than hard-hitting news content, is Duncan Allen.

“We do the news,” Allen said, “but we cheer people up.”

Allen, played by Ben Chaplin, has virtually zero home life because of the commitment he has to his career.

The broadsheet shares a building with The Post.

The Post, owned by Worldwide News CEO George Emmerson, is a tabloid publication suggestive of the U.K.’s newspaper The Sun.

It’s therefore not surprising the tabloid’s CEO, played by Poirot actor David Suchet, is reminiscent of real-world media mogul Rupert Murdoch.

With both publications reporting on the same stories from different angles, the tabloid staff are more interested in getting the scoop than they are with moral and ethical standards.

According to Evans, The Post is “sexist sensationalism that doesn’t check it’s facts.”

Further to Riley, Chaplin and Suchet, “Press” also stars Priyanga Burford, Al Weaver, Ellie Kendrick, Brendan Cowell, and Shane Zaza as Amina Chaudury, James Edwards, Leona Manning-Lynd, Peter Langly and Raz Kane, respectively.

Is there a Trailer?
An Intuitive Explanation of Random Forest and Extra Trees Classifiers
By: Frank Ceballos
Tags: Random Forest, Decision Tree, Python, Data Science, Machine Learning

A Single Stump vs 1000 Stumps

Suppose that we have a weak learner, a classifier whose accuracy is slightly better than a random decision, with a classification accuracy of 51 %. This could be a decision stump , a decision tree classifier with its depth set to one. At first instance, it would appear that one shouldn’t bother which such a weak classifier; however, what if we consider putting together 1000 slightly different decision stumps (an ensemble), each with 51 % accuracy to make our final prediction? Intuitively, we can see that in average, 510 of these classifiers would correctly classify a test case and that 490 would misclassify it. If we collect the hard votes of each classifier, we could see that on average there would be about 20 more correct predictions; consequently, our ensemble would tend to have an accuracy higher than 51 %. Let’s see this in practice.

Here we will build a decision stump and compare its predictive performance to an ensemble of 1000 of them. The ensemble of decision trees is created using the Scikit-learn BaggingClassifier. The decision stump and the ensemble will be trained on the Iris dataset which contains four features and three classes. The data is randomly split to create a training and test set.

Each decision stump will be built with the following criteria:

All the data available in the training set is used to build each stump. To form the root node or any node, the best split is determined by searching in all the available features. The maximum depth of the decision stump is one.

First we import all the libraries that we will use for this article.

Script 1 — Importing the libraries.

Then, we load the data, split it, and train and compare a single stump vs an ensemble. The results are printed to the console.

Script 2— Stump vs Ensemble of 1000 Stumps

The accuracy of the stump is 55.0 %

The accuracy of the ensemble is 55.0 %

The results show that the ensemble of 1000 decision stumps obtained an accuracy of 55 %, showing that they are no better than a single decision stump. So what happened? Why are we not getting better results? Well we basically created 1000 decision stumps that were exactly the same. It’s like we asked a single person what their favorite food was 1000 times and, not surprisingly, obtained the same answer 1000 times.