fabiochiu/medium-articles huggingface dataset:
Are You In The “Friend Zone”?
By: Marcus Blankenship
Tags: Agile, Management, Leadership, Software Development, Startup

When I was in high-school the worst phrase a guy could hear from a gal was “I like you as a friend.”

Oh, the anguish and trauma of unrequited love! It was a curse to be a ”friend” with someone you were sweet on. It was practically impossible to move from “friends” to “more than friends.”

These days, my kids tell me this is called being in the “friend zone.” And from what my son says its still the kiss of death.

You’re not in high-school anymore, but you might still be trapped in the “friend zone” at work, especially if you got promoted to lead a team you used to be a part of. Of, if you own the company and hired folks who you become friends with.

You’re not in high-school anymore…

Being in the “friend zone” with your team is also a bad situation. From my experience, being in the friend zone with a programmer meant…

1. I resisted offering them honest, direct correction, for fear of offending them.

2. I constantly wanted to be seen as a “nice guy, a real friend.”

3. I was much more likely to “pretend something bad hadn’t happened” (For more on this, see yesterday’s email)

4. Team members who weren’t as close to me felt I played favorites” (nepotism).

5. Firing them was 100x harder.

In short, when I managed people who were in my “friend zone,” everything was harder. This was because when I was leading the team, I had a larger obligation to the entire team, and the company. I was trying to balance two very different roles.

If this is you, it’s time to take stock. You should always be friendly. You should always be nice. But most of the time you shouldn’t be “real friends.”

You simply can’t afford to try and be both boss and friend. If you’re like me, you’ll end up neglecting one and focusing on the other, which confuses everyone.

To address this, I suggest you a list of your developers. Then ask yourself which of them, if any, you are concerned about being in the “friend zone” with. Ask yourself if you’ve been treating them better (or worse?) than others and if this relationship needs to change.

Remember, if you’re withholding feedback to be nice, they aren’t going to “just get the hint.”

They deserve a real boss, who treats them like everyone else.
Men Respect My Imaginary Husband More Than Me
By: Judith Valentijn
Tags: Self, Relationships, Life Lessons, Equality, Society

Men Respect My Imaginary Husband More Than Me

Why I can’t stop lying about being married

Photo by mulugeta wolde on Unsplash

From the corner of my eye, I saw him approaching me. Not in the mood for a conversation, I picked up my pace and focused on my podcast. Apparently, my body language was still too welcoming because he stepped in front of me and started talking.

I gestured at my earbuds and moved around him, keeping my social distance. He spoke again and pointed at my ears. Annoyed, I pulled out one of my buds and raised my eyebrows.

“Excuse me, I see you walking here often. Do you live here?”

He sounded nice, but I wasn’t going to give a stranger information about my address. So I shrugged and started walking again. He walked with me.

“You are such a beautiful woman. You seem calm and happy. But maybe I only have that impression because I don’t know you.”

I flashed him a smile and regretted it immediately. I didn’t want my smile to encourage him to keep talking — I just wanted to walk home without a random stranger trying to pick me up.

“Really, you are very beautiful. May I know your name?”

I said no in a friendly but firm tone. When he asked why not, I explained that I wasn’t comfortable talking to strangers on the street.

“But if we introduce ourselves, we aren’t strangers anymore.”

I started walking and repeated that it didn’t feel right to talk to strangers.

“Why not? Are you already married?” He sounded agitated, and I saw this as my way out.

“Yes, I am married,” I lied. “And it is very disrespectful to my husband to stand here and talk to you. So I am going home now. Have a nice day.”

This time he didn’t walk with me. He said my husband was lucky and walked away.

My imaginary husband demanded more respect than I did. And that is exactly why I keep lying about having a husband.
Pandas Functions— Heavy Rotation
By: Spencer Guy
Tags: Jupyter Notebook, Pandas, Data Science, Data

Most of my day to day work can be put into three broad categories: Data Wrangling, Data Movement/ETL and Data Analysis/Reporting. I’ve relied heavily on the Pandas library to accomplish some or all the data task that make up these categories.

Any process where a dataset is involved goes through at least one of the Pandas functions I’m going to talk about here.

I’m calling these my “Heavy Rotation” because they’re consistently used to help me across many different tasks and I think is core to learning how to use Pandas.

merge

loc/iloc

goupby

apply

Here are a few brief examples of work that fall into the three categories listed above. These are not definitions of these terms, rather personal interpretations based on some of my routine work.

Data Wrangling — Scraping data from websites then cleaning and aggregating to useable levels. Specifically, gathering price information from a competitor to use as a benchmark for comparison.

Data Movement/ETL — Reading data from one or more sources and bringing it together for reporting or storage in a database. Business users need data to work off of that changes rapidly. Often times this means automating data extraction and loading into a Google Sheet or Dash app for them to use.

Data Analysis /Reporting — This one is pretty straight forward. Summarizing data by grouping it into different subsets, displaying general statistics or data visualizations to help answer business questions. Automating workflows that aide data augmentation in Tableau reports.

I’m simply trying to show a few patterns of use with some of the core Pandas functions. To do this I will share an exploratory data analysis example using data I found on data.world. Even with different data task I’m consistently using the same set of techniques. You don’t need to know every single function to be effective using Pandas. Really it comes down to being comfortable enough with a data structure that you are able to access, add or transform any piece at any level of that data structure with as little complexity as possible.
How To Create Your Own Python Library
By: Souvik Paul
Tags: Python, Programming, Software Development, Python3, Python Libraries

Library, Package and Module

A library is a collection of modules and packages that together fulfills a specific requirement.

A python module is a .py file that has variables, functions, classes, statements etc. related to a specific task.

A package is a collection of python modules under a common namespace that is created by putting different modules on a single directory along with some special files (such as __init__.py). In order for a folder to be recognized as a package, a file named __init__.py must also be stored in that folder, even if this file is empty.

Note — A library can have one or more packages.

Procedure for creating a library

Step 1: First of all, we have to decide the basic structure of the library. Here, we’ll decide the names and number of the modules to be included.

In our case, The name of our library will be mylibrary and the basic structure of our library is shown below. We’ll create this directory any where we like in our system.

Step 2: Now let’s write the python code for all the files.

First of all, we’ll write the code for intro.py and it is given below.

Then in the welcome directory, the hello.py file will contain the following code -

And the whatsup.py file will contain the following code —

Now, in the goodbye directory, we will write the code for seeyou.py as follows-

Step 3: Since our package is ready, now it’s time to associate it with Python by attaching it to Python’s site-packages folder of current Python distribution in our system. We can import a library and package in Python only if it is attached to its site-packages folder. To find the location of this folder, we’ll open the python IDLE and will type the following command.

>>import sys

>>print(sys.path)

['', 'C:\\Users\\mav\\AppData\\Local\\Programs\\Python\\Python38-32\\Lib\\idlelib', 'C:\\Users\\mav\\AppData\\Local\\Programs\\Python\\Python38-32\\python38.zip', 'C:\\Users\\mav\\AppData\\Local\\Programs\\Python\\Python38-32\\DLLs', 'C:\\Users\\mav\\AppData\\Local\\Programs\\Python\\Python38-32\\lib', 'C:\\Users\\mav\\AppData\\Local\\Programs\\Python\\Python38-32', 'C:\\Users\\mav\\AppData\\Local\\Programs\\Python\\Python38-32\\lib\\site-packages']

The sys.path attribute gives information about PYTHONPATH and it shows the directories that the Python interpreter will look in when importing modules.

So, from the above output we’ll copy the path to site-packages directory and we’ll navigate into that. There we’ll paste our mylibrary directory.

And that’s how, we’ll associate our own library with Python.

Step 4: Now, we’ll open the IDLE and we’ll check whether our library is working or not.

So, we can see that our own custom library is working properly.

All the above code is also available in my GitHub repository.
Another Amtrak Adventure
By: Mike Essig
Tags: Angels, Creativity, Surrealism, Poetry

To be a star, you must burn. Goethe

Once, from a train near Tucumcari,

he watched a herd of Angels break

into a stellar stampede.

It was heavenly pandemonium,

sudden Angelic anarchy.

Bliss broke out all around.

Rapture ruptured the desert.

New Mexico suddenly became Elysium.

But a psychiatrist and a computer

arrived and proclaimed them delusions.

The Reality Cowboys rode them down

and corralled their auras.

They burned out like sad super nova,

in a flashing of destruction.

New Mexico became New Mexico,

and the train chugged on it’s way.

In their bright burning, everything

and nothing at all had happened.
How I Was Productive During Election Week
By: Ryan Fan
Tags: Election 2020, Humor, Politics, Society, Satire

SATIRE

How I Was Productive During Election Week

My landlord has to stop annoying me about paying rent that was due a week ago

Photo by Markus Spiske on Unsplash

This week, we had an election that gripped the attention of, well, everyone. To be productive, I decided that I needed to spend time looking at my phone every single minutes of every day to see results from the election pile in. What’s wrong with you, Georgia? Why can’t you bring in results sooner?

To be productive this week amidst a hectic week in the news cycle, I decided to scroll through my phone and read advice all over the Internet about how to be productive. They told me to stop reading the news, to stop doomscrolling the news.

To stop reading the news and doomscrolling, I looked on Facebook and Twitter instead. That relieved a ton of stress, obviously, because social media is less harmful than actual media.

When I complained to my boss about how I had trouble doing work this week because I was so distracted by election news and results, she seemed to be looking away from the screen. She didn’t hear a word I was saying. She kept looking at my phone, and told shouted: “why haven’t they called Wisconsin yet?”

Fortunately, I knew I wasn’t alone, that no one was getting anything done around the office. How could they possibly expect us to function as normal? How could my boss expect me to finish the report that was due three weeks ago when there’s the future of our country rides on this election?

To be productive, I read advice online about “how to be more productive.” It’s pretty clear all those articles were insufficient to describe our current political crisis. They told me to sleep — how could I sleep when I was wondering if more ballots would come in from Pennsylvania at 3 a.m.? How could I wake up at 5 a.m. when I was already awake at 5 a.m. checking to see if Trump would come back in Arizona?

I will say I’m particularly proud of one thing I did — I diversified my news sources. My Trump-supporting friends will no longer call me a “libtard” since I tuned into Fox News’s election coverage when they prematurely called Arizona for Biden. Now, I no longer live in an echo chamber.

My landlord has to stop annoying me about paying rent that was due a week ago — doesn’t he know about the stress of all the election going on? Doesn’t he know that I was trying to carry on being productive as normal during election week? How can I pay rent when the whole city roared in applause when the AP called the election for Biden? How does he have so much gall to ask for something as trivial as rent on a week so important to the future of our country?
James Durbin
By: Arin Segal
Tags: James, Idol, Music, Durbin, American

James and I chatted about his post idol plans and charity work he does.
10 “Silicon Valley” Liners/Puns that are So Funny, Apt & Relatable to the Tech World
By: Naina Chaturvedi
Tags: Humor, Programming, Tech, Software Development, Startup

That’s exactly software engineering is all about. Are the project managers listening?

Img Credits : Pinterest

We all have that one guy in the team who is basically like “One Man Army”. Isn’t it?

Image credits : Pinterest

That guy who is 24*7 on his computer. He eats code, sleeps code and ……

Image credits : Pinterest

When Jared asks what it is that he (Gilfoyle) does?

Gilfoyle answers —

“What do I do? System Architecture. Networking and Security. No one in this house can touch me on that. But does anyone appreciate that? While you were busy minoring in gender studies and singing a cappella at Sarah Lawrence, I was getting root access to NSA servers. I was a click away from starting a second Iranian revolution. I prevent cross site scripting, I monitor for DDoS attacks, emergency database rollbacks, and faulty transaction handlings. The internet, heard of it? Transfers half a petabyte of data a minute, do you have any idea how that happens? Every dipshit who shits his pants if he can’t get the new dubstep Skrillex remix in under 12 seconds. It’s not magic, it’s talent and sweat. People like me ensuring your packets get delivered unsniffed. So what do I do? I make sure that one bad config on one key component doesn’t bankrupt the entire f**king company. That’s what the f**k I do. … Listen, wherever we end up here, I just want to say that I feel I should get more equity than Dinesh.”
Thank You to My High School Crush
By: Bonnie Barton
Tags: Gratitude, Relationships, Music, Friendship, Love

My junior year (and his senior year) I had a challenging school schedule. After the first week, I dropped a class to pick up an extra study hall.

That single decision would profoundly impact not just my junior year but my life.

I strolled into the study hall scanning for any familiar faces. Who should be there? My blonde crush.

I summoned up the courage to say hello and found a nearby seat. He and I would spend every 6th period for the rest of the school year in those red auditorium seats.

In those early afternoon hours, we unknowingly were forging a friendship of a lifetime over music (particularly the Smiths and Morrissey), mundane high school subjects, and unspoken things like the final throes of my parents’ marriage as well as his own issues.

But, mostly? We shared music, sarcasm, and laughter.

He influenced my musical taste as much as anyone has in my life.

I went by his house after he graduated. I’m sure I had the urge to kiss him, but I never acted on that. I never told him how I felt.

He told me he had something for me. He grabbed a shabby silver-ish ring and thrust it into my hand. He didn’t say much, just that he wanted me to have it. It wasn’t even made of real metal. It was already starting to chip. And it was definitely too large.

But I cherished that ring.

In fact…I still have it.

To anyone else it would be worthless.

I’m no romantic. But I am sentimental.

That scrap belongs with me.

He moved away to attend college in another town. We stayed in touch, but it wasn’t easy during those pre-Internet days.

Eventually I drove down to see him over spring break of my freshman year at FSU.

More music, more laughter. I was as enamored with him as I’d ever been.

We ended up alone, listening to the Smiths (natch).

Three years after that haircut, two and half years since that fateful decision to add that study hall, countless hours of time spent together being silly, and lots of time spent apart while we were in different cities.

It all culminated in his leaning in to kiss me for the first time as “Back to the Old House” played.

I had to return to FSU. He had a girlfriend.

Life went on as it always had.

But our lives would intersect again. And again. And again.

And again.
8 Advanced Python Tricks Used by Seasoned Programmers
By: Erik Van Baaren
Tags: Technology, Software Development, Learning To Code, Python, Programming

1. Sorting Objects by Multiple Keys

Suppose we want to sort the following list of dictionaries:

people = [

{ 'name': 'John', "age": 64 },

{ 'name': 'Janet', "age": 34 },

{ 'name': 'Ed', "age": 24 },

{ 'name': 'Sara', "age": 64 },

{ 'name': 'John', "age": 32 },

{ 'name': 'Jane', "age": 34 },

{ 'name': 'John', "age": 99 },

]

But we don’t just want to sort it by name or age, we want to sort it by both fields. In SQL, this would be a query like:

SELECT * FROM people ORDER by name, age

There’s actually a very simple solution to this problem, thanks to Python’s guarantee that sort functions offer a stable sort order. This means items that compare equal retain their original order.

To achieve sorting by name and age, we can do this:

import operator

people.sort(key=operator.itemgetter('age'))

people.sort(key=operator.itemgetter('name'))

Notice how I reversed the order. We first sort by age, and then by name. With operator.itemgetter() we get the age and name fields from each dictionary inside the list in a concise way.

This gives us the result we were looking for:

[

{'name': 'Ed', 'age': 24},

{'name': 'Jane', 'age': 34},

{'name': 'Janet','age': 34},

{'name': 'John', 'age': 32},

{'name': 'John', 'age': 64},

{'name': 'John', 'age': 99},

{'name': 'Sara', 'age': 64}

]

The names are sorted primarily, the ages are sorted if the name is the same. So all the Johns are grouped together, sorted by age.

Inspired by this StackOverflow question.
LinkedIn Job Postings Trends Visualized
By: Sophie Zhao
Tags: Python, LinkedIn, Selenium, Data Visualization, Job Hunting

LinkedIn has a community of professionals and is also a fitting online platform for job hunting, especially during a pandemic. In this story, we saved a data set of the number of job postings for the 35 job functions that LinkedIn is able to filter. These “functions” include broad categorizations for jobs like “design”, “business development”, “engineering”, and more. By visualizing this data on line graphs and pie charts, we could observe similarities between the types of jobs and also gain insight into the distribution of the categories or jobs.

The technical specifics of our process can be found at the link to our other story where we explain how to use Selenium and Beautiful Soup for scrapping data or performing automated functions: https://medium.com/@sophie14159/linkedin-scrapper-a3e6790099b5

Our Dataset

As a Canadian resident, the information I gathered with our program focuses on jobs located in Canada. With this location filter on LinkedIn, I ran my code to search these following types of jobs on LinkedIn.

Below is the list of how many job postings are categorized in a specific type of job function that LinkedIn filters. This is an example of the data gathered from August 15

2020-08-15 Management 53147

2020-08-15 Manufacturing 49236

2020-08-15 Information Technology 44666

2020-08-15 Other 36069

2020-08-15 Sales 34510

2020-08-15 Business Development 24167

2020-08-15 Health Care Provider 19360

2020-08-15 Engineering 18664

2020-08-15 Customer Service 11247

2020-08-15 Finance 10042

2020-08-15 Administrative 8847

2020-08-15 Marketing 6185

2020-08-15 Design 5374

2020-08-15 Education 5210

2020-08-15 Training 5124

2020-08-15 Art/Creative 4919

2020-08-15 Project Management 4669

2020-08-15 Accounting/Auditing 4510

2020-08-15 Analyst 4108

2020-08-15 Science 3354

2020-08-15 Human Resources 2633

2020-08-15 Quality Assurance 2485

2020-08-15 Consulting 1983

2020-08-15 Research 1915

2020-08-15 Writing/Editing 1814

2020-08-15 Public Relations 1738

2020-08-15 Legal 1671

2020-08-15 General Business 1391

2020-08-15 Supply Chain 1173

2020-08-15 Product Management 897

2020-08-15 Purchasing 728

2020-08-15 Production 698

2020-08-15 Strategy/Planning 684

2020-08-15 Distribution 303

2020-08-15 Advertising 174

The data is stored in a text file that can be accessed in order to visualize the data onto either a series of line graphs or combined into a single one.

Visualizing the Data

With data gathered daily from August 15th to September 11th, we obtained graphs that demonstrated the trends of each job function. For example, the graph for “Health Care Provider” is posted below.
Cap Your To-Do List at Three Things Every Day
By: Michael Thompson
Tags: Succeed, Personal Development, Business, Productivity, Inspiration

Cap Your To-Do List at Three Things Every Day

When you get clear on what matters, you weed out what doesn’t

Photo: Hero Images / Getty

Tell me if this sounds familiar: You wake up thinking about all the things you have to do. But after working like mad all day, you manage to complete only half the tasks on your list. You spend the rest of the evening feeling annoyed.

There’s a way to remedy this common feeling of overwhelm: Cap your to-do list at three things every day.

The advice comes from Dan Sullivan, founder of Strategic Coach. Unsurprisingly, he gets a lot of pushback whenever he suggests it — high-performing entrepreneurs tell him that three tasks a day just isn’t enough to be successful.

But after trying it myself, I suggest giving it a shot. If you’re like me, it may even help you to achieve your biggest goals.

Capping your daily to-do list at three items forces you to ask yourself: What actually matters most today? What truly moves your needle? Is posting multiple times a day on social media really taking your business to the next level? Or would spending time honing your craft be a better long-term investment? When you get clear on what matters, you naturally weed out what doesn’t.

It’s also simply good for your mental well-being. If each day you complete all the things you plan to get done — which is much more possible when there are three items rather than 23 — you can spend the rest of the evening celebrating your wins, rather than stewing over unfinished tasks. According to Sullivan, prioritizing time away from our work is one of the best things we can do for our work. After all, it’s impossible to see the opportunities around us if we only focus on what’s in front of us.

At first, I was skeptical that this approach would be helpful to me. But as a dad who works from home, I often struggle to transition between work and family mode, so I decided to give it a shot. This past summer, while my two boys were home from school, I capped my daily to-do list at three things and cut off work at 2 p.m. With that extra time to be present with my family, I ended up feeling more inspired than I ever had. I finally managed to turn my side hustles of writing and coaching into my full-time job.

It’s easy to try it for yourself. Every morning before you start working, sit down for 10 minutes and envision the three most important things you want to finish by the end of the day. Here’s a little trick I picked up from my wife: Instead of keeping this list on your phone or in your journal, try writing out each task on individual notecards. There, you can also note the steps you need to take to accomplish the task. Then, after you finish a task, place the card on top of the pile of the other actions you’ve already completed.

As the days, weeks, and months pass, this growing stack of completed cards will serve as a powerful reminder of all you’ve already accomplished. Looking at it will grant you the much-deserved permission you need to walk away from your work at the end of the day, guilt-free.
On the Run (2020)
By: Vlad Alex, Merzmensch
Tags: Chatbots, Artificial Intelligence, Merznlp, Art, Videos

Imagine what will happen if you let two Artificial Intelligence Entities in one room? Well, this:
Khazer
By: Background Noise Comics
Tags: Health, Jewish, Diet, Comics, Cartoon

When it comes to bagels, all bets — and diets — are off!
I went a little crazy trying to choose Charted’s colors.
By: Mike Sall
Tags: Design, Colors, Data Visualization

It was actually one of the hardest parts of building and designing it. Here were the general goals:

Feel bright and colorful, but still professional

Work well in order so that each growing subset of 2, then 3, then 4, etc. still looks good as a complete set

Have each color work decently well with every other color, in case they end up next to each other

Increase color contrast to improve accessibility

Work on both white and black backgrounds, and as both lines and bars

I took inspiration from Airbnb’s recent brand refresh and a couple artists. Then I started throwing things together in Illustrator, trying different combinations and approaches until my eyes fell out.

I completely replaced them a few times. Eventually I settled on these seven, in this order:

I’m still not totally satisfied with them. Internally at Medium, too, I get requests all the time to improve them and add more. We’ll see, I say, maybe eventually. But for now, months later, I’m still letting my eyes rest.

If any color experts out there have better suggestions, there’s a list of hex values in the open source code awaiting your love.
Software Development Life Cycle
By: Vaidhyanathan S M
Tags: Sdlc, Software Engineering, Software Development

Let us explore the various stages involved in a typical Software Development Process.

There are 6 stages involved:

Requirements phase Analysis phase Design phase Development phase Testing phase Deployment & Maintenance phase

Gathering Requirements

This is the most important phase in the SDLC. In this phase, the technical and business team involved in the project gather complete information about the requirements from the customers. It is critical to not make any assumptions about requirements. Practice active listening and document every elicitation activity.

It involves various activities as follows:

1. Requirements Elicitation

The developers and stakeholders meet ; the latter are inquired concerning their needs and wants regarding the software product.

2. Requirements Analysis

Requirements are identified and conflicts with the stakeholders are solved. Various written and graphical tools such as user stories and UML are used.

3. Requirements Specification

Requirements are documented in a formal artifact called a Requirements Specification (RS) which is officially approved only after validation. For eg. Software Requirements Specification (SRS).

4. Requirements Validation

This process involves checking that the documented requirements and models are consistent and meet the stakeholder’s needs. Only if the final draft passes this validation process, the RS becomes official.

5. Requirements Management

It involves managing all the activities pertaining to the gathered requirements, supervising as the system is developed and being adaptive to the changing requirements.

Requirements engineering is crucial for success of software products.
ข้าวขาหมู ที่เป็นมากกว่ามื้อกลางวัน
By: Tuanrit Sahapaet
Tags: Technology, Engineering, Tech, Office Culture, Developers

Written by

Frontend Developer At Central JD FinTech Co., Ltd
Birth Control Methods are Targeted at the Wrong Gender
By: Richa Khare
Tags: Health, Feminism, Equality, Culture, Women

Both The Partners Are Responsible For Conception

With the progress of technology and science, we all know how fertilization takes place and both the partners are equally responsible and answerable for conception. But it also resulted in putting the pressure of birth control primarily at women. It somewhat translated in freedom for women so was welcomed with open arms. But with times, the need for some male-centric birth control methods was felt by everyone.

So how come still we rely only on women-centric methods of contraception? There are so many products aimed at women like:

Oral pills IUD Contraceptive Implants Contraceptive Injections Emergency Pill or Morning-After pill Contraceptive Ring Diaphragm Sterilization or Ligation

and the list goes on

And for men? Only two:

Condoms Vasectomy

Out of which only condoms are used widely because they protect against STDs too. When it comes to Vasectomy, very few males actually go ahead fearing their masculinity will go away with it. Although these same men have no such problem when their wives go through the sterilization process even though again and again it’s recommended to sterilize a male because the procedure is much simpler compared to a female’s. It’s reversible too though for women the reversible operation is much complicated and has a low success rate. One more reason why men should consider sterilization instead of making their wives do it.

The onus of childbearing and rearing had always been on women naturally but males can at least take some responsibility when it comes to contraception but as always they don’t want to be bothered. Since childbirth affects a woman’s health primarily, she has to take steps to improve her health by protecting against unwanted pregnancy.
4 Simple Ways to Make Someone Feel Incredibly Valued
By: Samantha Blake
Tags: Relationships, Self, Advice, Society, Life

The world doesn’t necessarily need more people who talk. It needs more people who listen, and it needs more people who care.

Because really, nobody likes a phony.

And in today’s world, there’s a lot out there that’s fake. People are so often posting their “best selves” online, trying to appear perfect for friends and strangers alike. The pressure to look like you have everything together and be the best version of yourself is intense.

In part because of this, it can sometimes be difficult to find true authentic relationships. Not just romantic ones, but day-to-day interactions too. And it can be hard to feel like other people actually care.

People want to be heard, seen, respected, and listened to. But sometimes, a person who truly makes you feel valued is hard to find.

You can be that person.

“People will walk in and walk out of your life, but the one whose footstep made a long lasting impression is the one you should never allow to walk out.” — Michael Bassey Johnson

If someone walks away knowing that you actually listened to them as an individual and they feel truly appreciated, they’re going to remember you.

So how do you go about making someone feel incredibly valued?

Four simple things to keep in mind:
Code Smell 51 — Double Negatives. Not operator is our friend. Not not…
By: Maximiliano Contieri
Tags: Software Engineering, Clean Code, Software Development, Programming, Code Smells

Code Smell 51 — Double Negatives

Not operator is our friend. Not not operator is not our friend

Photo by Daniel Herron on Unsplash

Problems

Readability

Solutions

Name your variables, methods and classes with positive names.

Sample Code

Wrong

Right

Detection

This is a semantic smell. We need to detect it on code reviews.

We can tell linters to check for Regular Expressions like !not or !isNot etc as a warning.

Tags

Readability

Conclusion

Double negation is a very basic rule we learn as junior developers.

There are lots of production systems filled with this smell.

We need to trust our test coverage and make safe renames and other refactors.

Relations

More info
Pibble Sponsors the Hangang 42K Nightwalk in Seoul
By: Bryan High
Tags: Health, Blockchain, Charity, Cryptocurrency, Social Media

At the foundation of Pibble is People.

We want everyone to live their best life, engage with each other, and act as a support structure for each other across the globe, regardless of where they are living. You can see this within the main functions of the Pibble app, we provide a way for individual users to raise money for charities and crowdfund their own dreams. But, beyond that, we are looking for traditional partners that can help us spread awareness for blockchain and cryptocurrency while providing a positive message of the impact that it can have.

With this in mind, Pibble is proud to sponsor the Hangang Nightwalk 42K.

What is the Hangang Nightwalk?

The ‘Hangang Night Walk 42K’ is a walking marathon program held at the Han River in Seoul (gang=river in Korean). This marathon has been held for 4 years and almost 10,000 participants join each year to walk along Hangang from night until the next morning. The event offers 3 courses for participants: a 15km, 25km, and 42km routes that they can walk through the night. Before the start of the walk, everyone will gather for a concert and do some group stretching.

However, the event is more about camaraderie and creating a shared experience, as it is a non-competitive walking marathon. It is about challenging your limits, focusing on your inner self, and honestly a great excuse to spend the night out with your friends and loved ones while enjoying the beauty of the Han River. With this in mind, Pibble jumped at the opportunity to sponsor an event about community building that also promotes both physical and mental health.

More information soon about what Pibble will be doing as part of our sponsorship. If you are attending, come check us out at the Pibble booth!

Early nightwalk from 2018

Event Details

Where: Starting from the Yeouido Park at the Han River in Seoul

When? 5pm July 27th 2019 (Saturday)— 8am July 28th 2019 (Sunday)

*Unfortunately, all the tickets have already been sold out**

If you cannot attend the Nightwalk but would still like to show your support, please check out their social media links or support us or any of the other sponsors.

We hope to see anyone who has already registered at the event!

As always, follow us on our other social media:

Homepage: https://www.pibble.io/

Medium: https://medium.com/pibbleio

Telegram: https://t.me/pibbleio_eng

Facebook: https://www.facebook.com/pibbleio/

Twitter: https://twitter.com/pibbleio

Youtube: https://www.youtube.com/channel/UCkMYrB69xASlhSW3DcYsPsA

Need to ask a question? Contact me directly on Telegram

https://t.me/bryanhigh
The Breakup Song
By: D Abboh
Tags: Breakup Songs, Music, Heartbreak, Song Lyrics, Poetry

written in your lines,

all my once upon a times —

I can’t escape,

you break me wide open —

snatch pieces of soul,

scatter me like confetti and celebrate —

as you take me under your waves

I drown a little — but learn to swim,

I lose my breath, you find my strings —

and play,

pump adrenaline through my veins,

take me over —

night and day

you ignite my tears

as your symphony of misery —

sings my life,

blue days are just so long,

the nights melodies —

just sound so unkind

you call my name

with your crazy beat,

damn — you make such sense to me

but I can’t explain,

set fires to my bones,

I like the way it burns —

dance all over me with flames

you play your song,

heart skips to your beat

you shoot me down,

I trip over my feet —

fall back onto those memories,

flipping through ex files once again

I lose myself —

and lose my way,

nostalgia paints me over —

and I’m never quite the same,

never quite the same

you’re so bad for me —

but feel so good at the same time,

you’re killing me so endlessly —

but making me feel so alive,

feel so alive

your lyrics cut — and bleed me dry

it’s such a bloody, big mess in my mind,

your chorus breaks my heart, bends my spine,

dislocates my hip —

sways my waistline,

sways my waistline

I turn the radio up

as the DJ rewinds —

just one more time,

when the music dies — we say goodbye

just one more time,

when the music dies — we say goodbye

but freedom doesn’t feel so free —

when you’re out of love

like you and me,

you and me —

out of time
I Wasn’t Sleeping Through the Night. Here’s What I Did to Fix It.
By: Shannon Ashley
Tags: Lifestyle, Sleep, Self, Health, Life

Something happened when I became pregnant with my daughter. I started waking up in the middle of the night. For a long time, this didn’t bother me at all. I’d wake up, do some reading, and go back to sleep.

As my daughter grew older, however, waking up in the middle of the night became problematic. It’s not too unusual to carry odd hours with an infant. It’s another story when you’re trying to balance work and a school-aged child.

For the past couple of years, I’ve tried to curb my split-sleep habit. Occasionally, I’d still wake up in the middle of the night and wind up getting some writing done. But I still spent most nights with the intention of sleeping through it without any interruption. For the most part, it worked.

Things shifted again in 2019. It seemed like no matter how hard I tried, or how desperate I was for a good night’s sleep, I kept waking up at random times like 2AM or 4AM — and then I couldn’t get back to sleep.

After several months of that, I felt exhausted. I knew that something needed to change, but I was having a hard time making anything positive happen. The coronavirus pandemic certainly didn’t help me out, either.

Basically, I was sleeping “well” for about 2 to 4 hours each night, waking up tired yet unable to fall back asleep, and then I was drowsy all day. The lack of sleep left me feeling grumpy and foggy.

Over the course of a year, I tried sleeping pills, gummy vitamins, and all sorts of supplements, but nothing seemed to help. My friends swore by things like CBD, melatonin, and lavender essential oil. And do you know what?

I was desperate enough to try them all, so, I did. But none of those suggestions actually worked for me. A lot of them made me feel even more exhausted.

After several months of experimenting with my daily routine, here are the steps that actually got me sleeping through the night with zero interruptions — save the occasional wakeup from my 6-year-old, of course.
Tommy Ramone, RIP
By: Todd A
Tags: Pop Culture, Ramones, Music, Zine

I was born the year the Ramones played their first show making me a generation too young for their revolution. But still the simplicity and power in their sound impacted me like no other band.

In my early teenage years I dubbed a copy of Ramones Mania (for the Ramones were already being anthologized in the late 80s) from a friend and listened until the tape wore out. At 16, I would have listed hardcore punks the Dead Kennedys as more influential to me but it was the Ramones who stuck around.

As I grew into a proper fan, each Ramone came to mean something special to me. Johnny was the curmudgeon with integrity I wanted to be. Joey was the sensitive guy I identified with. Dee Dee was the troubled kid I knew. But Tommy might have been the closest in temperament and personality to me.

Tommy was the architect of the band. He put the other elements in place and when he couldn’t find a suitable drummer, he stepped in. After three albums and the constant touring, he called it a day…as drummer. Tommy continued to be the architect. He literally sat behind Marky at the drum kit to teach him the Ramones style of drumming. He produced Road to Ruin and Too Tough to Die. He stepped into the role of historian after the band broke up.

It’s easy to miss how much of a struggle the Ramones had. They rebooted music. They created punk rock: its ethos, sound, and look. But they didn’t start making money until the bitter end. Johnny and Joey spent decades hating each other but traveling in a van together for months out of the year. A van. They couldn’t afford tour buses. But more than anyone else, Tommy and Johnny knew the importance of the Ramones and Johnny kept them moving until their legacy could take hold.

Tommy is the last of the original band to pass away. None of them made it to old age. When I saw the headline of his death this morning, I went to Arturo Vega’s website to see if he had posted a tribute. When the website didn’t load, I had a sinking feeling. Arturo — the creator of their iconic logo, their lighting and design director for their entire career — passed away last year. I’d missed the news. I bought my Ramones shirt from him. He was the fifth Ramone.

I wrote a novel largely about one fan’s obsession with the Ramones. In it, the fan mourns Johnny’s death wrapped in her leather jacket watching old clips of the band. I feel like doing that today to mourn the passing of four blue-collar weirdos from Queens who reshaped rock music. They were accidental futurists with retro impulses. They were deliberately confrontational to the status quo but cartoonish enough to be lovable. They were — arguably — geniuses.

I don’t experience fandom the way I see it in others but I’m unabashedly a fan of the Ramones. They mean more to me than their music. I feel a kinship with them. I’m sad to hear of Tommy’s passing. I’ll remember him and his band fondly and I’ll do my part to keep their legacy alive.
Penggunaan algoritma Nearest Neighbors pada Machine Learning sederhana untuk deteksi Taksi Online pada area parkir.
By: Ilyas Ahsan
Tags: Python, Data Science, Scikit Learn, Machine, Algorithms

Easy read, easy understanding. A good writing is a writing that can be understood in easy ways

Follow
If Only I’d Known …
By: Harper Thorpe
Tags: Humor, Music, Love, Poetry, Satire

If Only I’d Known …

Limericks let loose for Christmas

If I had written a different story, this picture would have been the perfect fit. (Photo by v2osk on Unsplash)

Pulled out of my driveway still unscathed,

was running late, but so glad I bathed.

Backed down to my neighbor’s,

whose wife still belabors,

“Together, you’ve never behaved”

What does she mean? What what and what where?

We’re normal buds — just a fun-loving pair.

At Hooters, no leering,

just burgers and beering.

If only I’d known, temptation was there.

A bit embarrassed, not sure I should share.

Went to the restroom to comb my hair.

Missed sign, “Please step down.”

Tripped, fell, hit my crown.

If only I’d known, that warning was there.

Seems a buxom server had heard me swear.

She saw my head bleeding, bump big as pear.

Applied forehead band-aid,

healing kiss (sweet handmaid.)

If only I’d known, she left lipstick there.

Now heading home, looking worse for wear.

Took alley short cut, my friend’s stupid dare.

Heard a pop, what was that?

Can’t believe, tire’s flat.

If only I’d known, that nail was there.

The bad news was, I had no cab fare.

The good news was, there’s air in my spare.

We’re late and we’re speeding,

Speed limit exceeding.

If only I’d seen that cop hidin’ there.

“No license, Sir” — he started to glare,

then smiled and said, “It wouldn’t be fair.

Since it’s almost Christmas,

a gift for your missus.”

If only I’d known, a heart was in there.

Back underway, I stopped at The Square

to buy sexy nightie — less fabric, more bare.

Clerk said, “Is she my size?”

I flirt, “Not your big eyes.”

If only I’d known, my wife’s in swimwear.

Dropped my friend off, was still unaware

my wife thought I was in an affair.

Lingerie was gift wrapped,

held it out, but got slapped.

Turns out she had seen lipstick near my hair.

She walked out on me, now living elsewhere,

left me with the kids, who need childcare.

I’ve made some mistakes,

but hit the sweepstakes.

That Hooter handmaid’s now my live-in au pair.

©2020 HHThorpe. All rights reserved.
Getting Things Right With Checklists
By: Mathias Lafeldt
Tags: Microservices, Software Development, Complexity, Checklists, Safety

👉 This article has moved and is now available here.
Treating Most Common Data Uniformity Problems with Pandas
By: Bex T.
Tags: Machine Learning, Data Science, Artificial Intelligence, Programming, Software Development

Date Uniformity

One other very common problem is date uniformity. Different countries have different standard DateTime formats and when you have data from multiple sources, you are going to have to deal with multiple date formats. In Python, there are 3 main DateTime formats you can work with:

25–12–2019 -> (%d-%m-%Y) -> day, month, year

-> day, month, year October 31, 2020 -> (%c) -> literal dates

-> literal dates 12–25–2019 -> (%m-%d-%Y) -> month, day, year

When you load data into your environment with pandas , it always imports dates as object data type. In the Setup section, we imported sample data containing people's full name and birthday:

people.sample(5)

The birthday column represents the dates as YY-MM-DD format but as strings. Converting date columns to datetime has a number of advantages to perform analysis on. We will use pd.to_datetime() function to convert the column into datetime :

We got an error! If we look closer, the error says that month must be in 1, 2, …, 12. That means, somewhere in the data, there is an inconsistent value(s) that is preventing the function to run. pd.to_datetime has a good workaround for such cases:

This time, we did not get any errors. If you set infer_datetime_format to True , pandas will automatically identify the date format based on the first non-NaN element and converts the rest to that format. If there are any values that do not fit the conversion, errors parameter decides what to do with them. If set to coerce , pandas will put NaT s which are missing values for dates.

Based on our assumptions, the above line of code should have spotted date inconsistencies and put NaT s to inconsistent dates:

There are a few methods to handle such inconsistencies:

convert to NA and treat accordingly

infer format by looking at the data source, how it was collected

infer format by looking at other dates

If you have many inconsistencies, converting them to NaN is not always an option. You should try to come up with custom solutions by looking at their patterns and inferring their formats.

After you are done with error-handling and conversions, it is best practice to convert date columns to global DateTime standard:
เทคนิคการทำเว็บไซต์ให้ติดอันดับ Google ด้วยการส่งเว็บของเราเข้าสู่สารบัญเว็บไซต์ด้วยวิธีง่าย ๆ
Tags: SEO, Developer, Google, Artisan, How To

We are a full-scale digital agency based in Chiang Mai, Thailand, specializing in software development, design, and digital marketing consulting.

Follow