teleren/devto huggingface dataset:
Developer Diaries [video]
Tags: watercooler, developer, opensource, machinelearning
Published: 2021-01-18 11:50:49

I started a series called, "Developer Diaries" on my [YouTube channel](https://youtube.com/BashWoman) about 2 months ago, in which we discuss their journey, difficulties faced, life lessons, and students interact with them too, and till now I have interacted with 8 awesome developers, I personally learned a lot of things from them. 

## Guests
- **[Shruti Balasa](https://twitter.com/shrutibalasa)**:  Full Stack Web Developer, Mentor & Course Creator, Laravel Evangelist.

Her [YouTube channel](https://youtube.com/Thirus).

{% youtube JJV1Yzc1NCw%}

- **[Harsh Bardhan](https://twitter.com/harsh_casper)**: MLH Fellow • Developer Outreach @ Deep Source • Tech Lead @ DSC-SIST • Web Developer • Microsoft Learn β Student Ambassador • Technical Blogger.

{% youtube xs9g6JQcc68%}

- **[Siddharth Dayalwal](https://twitter.com/siddharth_hacks/)**: Community Intern at Progate, a mentor at MLH Summer League events, Google Crowdsource Influencer, Coding Blocks Ambassador, and Lead Organizer for Hack This Fall Hackathon.
{% youtube dO0zcwa9zKM%}

- **[Vedant Khairnar](https://twitter.com/VedantKhairnar3)**: Dev, Founder@NeoVantium, Co-Founder@DevScript, Intern@Tesselate Imaging, Beta Microsoft Learn Student Ambassador, DSC RCOEM Core, AI Mentor@Tesseract Coding, FOSS enthusiast.

{% youtube PuP8lnqLtP0%}

- **[Akash Bhandwalkar](https://twitter.com/__akash__19)**: 5 years experienced Web developer with expertise in ReactJs, HTML, CSS. He is currently working as a Senior Software Engineer in Clairvoyant Pvt Ltd.  
{% youtube T8v3rvAAUyU%}

- **[Francesco Ciulla](https://twitter.com/FrancescoCiull4)**: He is a YouTuber,  JavaScript developer, and DevOps Enthusiast. 
His [YouTube channel](https://www.youtube.com/c/FrancescoCiulla).

{% youtube 9CMTvj9gNiw%}

- **[Apoorve Goyal](https://twitter.com/Response_200)**: Web Technologies, Scraping, Data Science Enthusiast, Mentor @HacOff 3.0, @L-ByDo, TechnicalSpecialist @Devscript, Speaker. 
{% youtube eE9F9wZGqUA%}

- **[Eddie Jaoude](https://twitter.com/eddiejaoude)**: Full-Stack Engineer with 15+ years of experience, GitHub Star, GitHub Star of the Year 🌟, DevRel, YouTuber Movie camera, FreeCodeCamp coach.

His [YouTube channel](https://www.youtube.com/eddiejaoude).
{% youtube iBx0EhV_MTw%}

## Lessons I learned

- Consistency is key.
- In the beginning, the journey will be tough, but you have to carry on. 
- Open Source is very beneficial, for both learning technical skills and people skills. 
- Introvert people can do whatever they want. 

## Connect

You can connect with me on:
🎥[YouTube](https://youtube.com/BashWoman)
⚒[LinkedIn](https://linkedin.com/in/seemasaharan)
🧵[Twitter](https://twitter.com/SeemaSaharan5)
✍[Hashnode](https://bashwoman.hashnode.dev)
📷[Instagram](https://instagram.com/bashwoman)
How to create a secure password that you can remember
Tags: security, developers, webdev, beginners
Published: 2021-01-18 11:47:00

---
title: How to create a secure password that you can remember
published: true
description: Creating a secure password that you can remember is easier than you think. Here you can find some tips on how to do it.
tags: security, developers, webdev, beginners 
cover_image: https://images.unsplash.com/photo-1533855097715-46e08ce4913e?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80
---

It's the eternal struggle, creating a strong password that is hard to crack yet easy to remember.

We are usually forced to use random letters uppercase and downcase, numbers and symbols and the password should be at least 8 characters long. 

All of that is very good for security but very bad for our brains.  If you try to remember: _HP2Epzo&BTPuyQV_ chances are that you will end up writing it down on a piece of paper.  

So here is the trick I use to generate passwords that are easy to memorize.


## Use letters from a sentence

It has the perfect balance between security and rememberability.

Think of a sentence that you remember from a movie or from a song that you like and then use the first letter of each word to create the password. 

To add an extra level of security you can:

* Use the last letter from each word.
* Alternate between the first and the last word.
* Substitute one letter with a symbol like: # $ % & * . ,
* Add numbers to the sentence if there are none.
* Think of a song you don't like yet you know the lyrics instead of one that you like.

... be creative.

These are a couple of examples using Iron Maiden songs.

**Fly on you way like an eagle, fly as high as the sun.**

The resulting password is: _foywlaefahats_

Let's improve it a bit:

With an ampersand to join the two sentences: _foywlae&fahats_

Adding the year that the album was released: _foywlae&fahats1983_

Another example:

**Oh Well, wherever, wherever you are, Iron Maiden's gonna get you, no matter how far.**

The resulting password is: _owwwyaimiggynmhf_

That's a very good password by itself but we can spice it up.

Put Iron Maiden in uppercase: _owwwyaIMiggynmhf_

Add some numbers and symbols. I'm adding the year that the album was released and changing the first O with an asterisk.

The resulting password is: _1980*wwwyaIMiggynmhf_

## Summary

As you can see generating secure passwords that are easy to remember is not as hard as it may seems if you are creative.

Anyway what I would recommend you is to use a password manager if you can. Let them generate the passwords for you.

But even a password manager needs a password to open it and also there are other situations like starting a session in your computer, that requires you to enter a password.

With the help of your favorite movie/song and a bit of creativity you can create good passwords that are hard to crack and yet rememberable.
6 Essential Steps to choose your North Star Metric
Tags: startup
Published: 2021-01-18 11:46:32

North Star Metric: Top 6 Steps to Discover Your NSM

The North Star Metric was developed in business to give companies a particular emphasis on a single target. Everyone should still measure progress by whether or not they are advancing the organization using this metric instead of being occupied by day-to-day matters or individual activities.

A north star metric should have these three factors:

Add Customer Value
Measure Progress
Drive Revenue

6 Essential Steps to pick your North Star Metric

1. Close to the customer’s prosperity moments
2. Enhances your customers
3. Measurable
4. Time-bound
5. Not affected by external factors
6. Mirror your growth

7 Genuine examples of North Star Metric


LinkedIn’s initial NSM was the number of supports given since it was a relationship-building factor between the users.

Spotify’s NSM estimates the value that customers get from the platform.

Hubspot is a CRM and its NSM captures the new records that are getting esteem and providing a signal of future trial conversion and membership revenue.

Intercom.

Slack aides in-office collaboration and its NSM is messages sent inside the organization.

Quora NSM is the number of questions answered.

Airbnb.


How to Implement NSM?

Every department of the organization should have their goals that are lined up with your North Star Metric. So that every department, every team, and every contributor pursue their metric, resulting in NSM growth.

Your organization will also need to set up the privilege analytics tools to measure the NSM progress.

If you want to hit your full potential for growth, a North Star Metric is important. As a company, you will need to build a long-term growth plan to succeed.

Originally Published at https://www.loginradius.com/blog/fuel/2021/01/north-star-metrics-nsm/
【Mac】Regular Expressions for exact matching as words with grep and sed
Tags: beginners, bash, unix, regularexpression
Published: 2021-01-18 11:40:27

- When we use grep or sed in our business, we often use word matching to search and replace.
- In this case, it is not uncommon that the exact match is not found.
- In this article, we will record the regular expression notation for doing so with a high probability of an exact match.

## Result
- A description of the results is given first.
    - **※It is designed to work with BSD-style grep and sed on Mac.**

```bash
# Data Example
$ cat data

10,30,50,100,150,250,300,500

# grep only 50 of the data examples
$ cat data | grep -o '[[:<:]]50[[:>:]]'

50

# Replace only 50 of the example data with "match".
$ cat data.txt | sed 's;[[:<:]]50[[:>:]];match;g'

10,30,match,100,150,250,300,500
```

## Description
- The above example shows the process of search and replace for arbitrary data.
- The method used here is to enclose the word like `[[:<:]]word[[:>:]]`.

### grep
- In the first place, grep extracts not only words but also lines.
- To extract only words, use option and use `grep -o word`.
- However, in the above data example, there is a partial match as shown below, and four are extracted.

```bash
$ cat data | grep -o 50

50
50
50
50
```

- From these things, we use the `[[:<:]]word[[:>:]]` which has the following meanings.
    - Since it matches the beginning and end of a word, it does not recognize the character strings before and after.

### sed
- The same is true for sed. If you replace it with the string as it is, it will be replaced 4 times.

```bash
$ cat data.txt | sed 's;50;match;g'

10,30,match,100,1match,2match,300,match0
```

- From these things, it is necessary to recognize it as a word like `[[:<:]]word[[:>:]]` like grep.

## Conclusion
- From the above, I was reminded of further study of regular expressions, conscious of data duplication.

## Link
- https://dev.mysql.com/doc/refman/5.6/en/regexp.html
The Contributions of Jimmy Ocean Osorio Guevara to Fidupetrol.
Tags: fidupetrol, jimmyoceanosorio
Published: 2021-01-18 11:34:14

Jimmy Ocean Osorio Guevara is a successful businessman, hailing from Columbia. He played a key role in ensuring the superior standard of safety measures in the coal mines during his time with Fidupetrol. In this article, let us understand how Jimmy Ocean Osorio Guevara rose to the ranks of President of Fidupetrol.

The Skills of a Businessman:

Jimmy Ocean Osorio Guevara was praised for his acumen in closing deals and ensuring minimal losses for the trade deals under his supervision. During his tenure with Fidupetrol, Jimmy has directly supervised and decided on more than 30+ transportation projects and union deals that supported union workers and the management. Jimmy Ocean Osorio has been one of the major decision making elements in the Fidupetrol Management and Board of Directors. His skills as a businessman raked him the higher ranks in the mining industry and have secured him the role of Directing President of Fidupetrol for the transportation and safety management in Columbia. 

Leadership in Act:

Owning to the poor transportations routes planned along the mines, deliverables were delayed over fifty instances that resulted in a net five hundred thousand US Dollars worth of profits. 

During the time of crisis, Jimmy Ocean Osorio Guevara rose to the situation to resolve the damages dealt. He personally co-ordinated with the transportation union and the management to charter newer and safer transportation routes. These new routes not only reduce accidents but also resulted in an improvement in the overall efficiency leading to profits.

Pioneering Advancements:

Mining in the mines of Casanare and Bogota has remained a complex and dangerous process. The complexity in mining soon became a growing concern as miners have begun reporting fatigue and inefficiency due to the use of outdated mining equipment. These concerns were immediately addressed by Jimmy Ocean Osorio. 

Despite budget cuts, state-of-the-art mining tools and gears were provisioned to miners across all the Fidupetrol mining sites. Under his direct supervision, mining equipment such as hand drills, heavy tools, power drills, and machine-driven drills have been purchased and used in the recent years of mining.

End

Jimmy has been perceived as one of the best leaders to have ever worked with Fidupetrol. His leading innovations in the mining industry have saved lives, improved profits, and eliminated casualties. Under his supervision, Fidupetrol’s mining sites of Casanre and Bogota were certified as one of the safest mining sites across all of Columbia.
Some small Css tips #002
Tags: webdev, css, html
Published: 2021-01-18 11:28:13

---
title: Some small Css tips #002
published: true
description: I try to tweet a small css tip every day. Here is a collection of some of them.
canonical_url: https://since1979.dev/some-small-css-tips-002/
cover_image: https://since1979.dev/wp-content/uploads/2021/01/some-small-css-tips-002.jpg
tags: webdev, css, html
---

To continue on my [previous post](https://dev.to/vanaf1979/some-small-css-tips-tweets-001-fj0) here are some more tweets with little Css tips that might help you in your projects. 

### Check color contrast in Firefox
{% twitter 1337373818650841088 %} 

---  

### Create triangles with css clip-path
{% twitter 1339121586260107268 %}
Text version is here: https://gist.github.com/vanaf1979/b8c511e1ef1b638c310ce3d77beddd46  

---  

### :first-child, :last-child and :nth-of-type selectors
{% twitter 1339539014269997056 %}
Here's a text version: https://gist.github.com/vanaf1979/c920cc3e365a6142f2ef756a9f09620e  

---  

### :nth-of-type
{% twitter 1339922766930333696 %}
Text version is here: https://gist.github.com/vanaf1979/adcdfd1991818f3e09b49bb641e0f192

---  

### Focus state.
{% twitter 1341028608974991361 %}

---  

### Check browser support
{% twitter 1341701055546093568 %}
A live Codesandbox is here: https://codesandbox.io/s/css-supports-tip-qz4xy?file=/styles.css

### Want more of this?

If you would like to have these tips, and other stuff, in your twitter timeline come and follow me [@Vanaf1979](https://twitter.com/Vanaf1979). If you just want the gist you can follow me here on dev.to [@Vanaf1979](https://dev.to/vanaf1979) as well. Or you could check out my blog at [Sinse1979.dev](https://since1979.dev)

**Thanks for reading and stay safe.**
3 Best Programming Repositories 
Tags: javascript, react, python
Published: 2021-01-18 11:20:08

I am the creator of the famous 30 Days of JavaScript, 30 Days of Python & 30 Days of React. 30 Days Of HTML & CSS is coming soon. Many more programming challenges will be available in 2021. 

The 30 Days of JavaScript, 30 Days Of Python and 30 Days Of React are the most popular programming challenges on the internet. These challenges helped thousands of developers to take their programming and problem-solving skills to a higher level. If you have never tried these challenges, you may give it a try. 
If you are keen on the following technologies:
- HTML
- CSS 
- JavaScript
- React 
- ReactNative 
- Node
- MongoDB 
- Python 
- Dataanalysis 
- D3js
- ML

in 2021 and if you would like to see more contents from me, you may follow me on Github, LinkedIn & Twitter. 

Twitter: https://lnkd.in/dFkN_vX
LinkedIn: https://lnkd.in/duSTP_N
Github: https://lnkd.in/dQ7UYN8

Challenges' repository

30 Days of React: https://t.co/URWNbOHltL
30 Days of JavaScript:https://t.co/MqieTiV7wS
30 Days of Python: https://t.co/TZ4WAhTq9P

This is not ready yet:
30 Days of HTML:https://t.co/QQc67y8epA
Java Unconferences/Open-spaces
Tags: java, unconference
Published: 2021-01-18 11:07:16

In 2018, I attended [CITCON](http://www.citconf.com/) for the first time and then I searched for a similar Java unconference/open-space. I got super lucky to be accepted at JCrete, but that’s another story. The reality is that unconferences are mind-blowing, but a bit hard to find if you don’t know what to look for.

These are the unconferences that I currently know about:
- [JAlba](https://jalba.scot/)
- [JCrete](http://www.jcrete.org/)
- [Unvoxxed Hawaii](https://voxxeddays.com/hawaii/)
- [JSpirit](https://jspirit.org/)
- [JManc](https://mcrjava.github.io/jmanc/)

Join one… it’s going to be worth it.
The Cookbook: Fable
Tags: news, feature, infrastructure, community
Published: 2021-01-18 11:03:44

---
title: "The Cookbook: Fable"
created_at: Friday 15 Jan 2021 15:00:00 EDT
author: Montana Mendy
layout: post
permalink: 2021-01-15-fable
category: news
excerpt_separator: <!-- more --> 
tags:
  - news
  - feature
  - infrastructure
  - community
---

Fable produces readable JavaScript code compatible with ES2015 standards and popular tooling like Webpack, which you've probably heard of if you've ever used React. Let's start this Fable. 

<!-- more --> 

## Build Fable with Travis CI

Hey builders let's get to building Fable with Travis CI! Let's start out with your `.travis.yml` file:

```yaml
language: minimal

services:
  - docker

sudo: required

before_install:
  - docker pull vbfox/fable-build

jobs:
  include:
    - stage: "CI"
      script: docker run -v "${PWD}:/app" -w "/app" vbfox/fable-build bash -c "yarn && yarn postinstall && yarn build"
 ```
 
There's sometimes issues with `Fable` for whatever reason with syntax errors, so you may want to take the time and `lint` your `.travis.yml` file, you can do this via running `travis lint`.

### The `package.json`

The `package.json` contains something like the following:

  ```json
    "scripts": {
    "start": "webpack-dev-server",
    "build": "webpack -p",
    "postinstall": "paket restore && paket generate-load-scripts -f netstandard2.0 -t fsx",
    "predeploy": "npm run build",
    "deploy": "gh-pages -d docs"
  },
 ```
As you can see `webpack` is being triggered there as well. That's it - you've now built Fable in Travis CI! Phew, that was easier than we thought.
What podcast apps do you use?
Tags: watercooler, podcast, apps
Published: 2021-01-18 11:01:10

---
title: What podcast apps do you use?
published: true
description: 
tags: watercooler, podcasts, apps
cover_image: https://www.self-directed.org/img/tp/TP-podcast-FW.png
---
Podcasts seem to be making a return as the main source of information gathering in the age of the Internet.

I use [Apple Podcasts](https://apps.apple.com/us/app/apple-podcasts/id525463029) on my phone and [dev.to/pod](https://dev.to/pod) on PC.

What do you use to listen to your favorites?
How I saved $2,000 / month 
in Cloud SQL for Postgres; point-in-recovery might cost too much
Tags: googlecloud, postgres
Published: 2021-01-18 10:47:43

I have a large postgres database for our web application on Google Cloud (Cloud SQL for PostgreSQL).
A few months ago, I found that the storage usage was over 2TB and it costed us around $3,000 / month. I thought this was too much.

Here's the note when I solved this issue.

## tl;dr

Disable point-in-time recovery if you don't need it.

This feature uses a lot of storage because it saves write-head log for some period.
It may cause a problem especially when your database has a large table with high frequency of updates. 

The option is in Backups section. 
![Screen Shot 2021-01-18 at 19.10.52](https://dev-to-uploads.s3.amazonaws.com/i/pv7nmodxq0k826iefnaa.png)

## Analyze the size of tables
First, I looked at how much storage each table used.

```
    table_schema    |                table_name                 | row_estimate  |   total    |   index    |   toast    |   table
 --------------------+-------------------------------------------+---------------+------------+------------+------------+------------
  public             | table1                      | 6.7337024e+08 | 205 GB     | 130 GB     |            | 76 GB
  public             | table2                        | 7.2914736e+07 | 11 GB      | 3871 MB    | 8192 bytes | 7497 MB
  public             | table3                                    |  2.826758e+07 | 10 GB      | 5137 MB    | 8192 bytes | 5514 MB
...

```

You can see that quickly by running a SQL in [this link](https://wiki.postgresql.org/wiki/Disk_Usage).

The size of the biggest table is ~200GB while the total disk usage is 2TB. This is strange.

## Vacuum 

I run `vacuum full` just in case. This command removes deleted rows from disk and frees database space.

But it made no difference in this case.

```
vacuum full table1;
```

## Disable point-in-recovery
I found point-in-recovery was enabled in Cloud Console.

It says:

> Allows you to recover data from a specific point in time, down to a fraction of a second, via write-ahead log archiving.

The large table was a write-heavy table, so it produces a lot of write-ahead log.

I disabled the option and restarted the database:
![Screen Shot 2021-01-18 at 18.50.18](https://dev-to-uploads.s3.amazonaws.com/i/wbjto4zkm4hlit14a3tk.png)

The usage went from ~2TB to ~200GB. As time goes, it increases a little but it's still lower than 300GB .

Also, the cost dropped dramatically. And the monthly cost went from ~$2,500 to ~$200. 

![Screen Shot 2021-01-18 at 18.46.21](https://dev-to-uploads.s3.amazonaws.com/i/j6kqfmkvc6sas2tsgykz.png)

I'm totally happy about this result.

## Closing
Point-in-recovery is a kind of backup recovery feature, which enables you to restore your database to any point of time. 
It's useful in many cases. But in some case, it may cost you more than it benefits.
Do you use a subscription feature on your blog?
Tags: watercooler, writing, communication
Published: 2021-01-18 10:44:07

---
title: Do you use a subscription feature on your blog?
published: true
description: 
tags: watercooler, writing, communication
cover_image: https://miro.medium.com/max/1036/1*S8ECcgU91azYT1M1HBCQpA.png
---
The subscription feature lets you inform your readers about the new content you have released.

Most blogging platforms offer that as a built-in feature, tho you can surely implement your own on your personal site too.

Do you use it in your blog/portfolio?