teleren/devto huggingface dataset:
Music for health and human life.
Tags: dzwonki
Published: 2020-11-10 10:25:13

Music is indispensable in the human life today. Although people are busy with work, they still spend a lot of their time relaxing to make life more comfortable. Music is not only a means to help people entertain and relax when stressed, but also music has a huge impact on the spirit and human health. That is why doctors are now using music as a cure. Relaxing with music helps to relax psychology. In fact, there is a lot of evidence to show that music does have a very successful healing effect.

Therefore, it is no coincidence that the music of some famous musicians in the world has been recommended by many experts for babies, or fetuses still in the womb. Certainly music has great benefits and impacts on people. For the elderly, music as friends to meditate on life helps to become lighter. For children to develop brain and thinking. And you can set such ringtones that will help you at the following link:https://dzwoneknatelefon.com/
The UX of Loading states
Tags: ux, design, tutorial, webdev
Published: 2020-11-10 10:01:24

Every week I help and coach fellow indie hackers by working together on their product's UX. With some of them we livestream our sessions for my YouTube live show called "UX sessions for indie devs".
 
On the last episode I worked with [@mdgale](http://twitter.com/mdgale) on the checkout loading flow of his product.

Here is what we talked about:

🔸Think offline first. Think like a human.
🔸Difference between actual and perceived time
🔸 The 4 response time limits
🔸 Active and passive user modes
🔸 Examples of active and passive modes
🔸 Live user testing and feedback on Matt's Fbars app loading flow prototype
🔸 The concept of Optimistic UI
🔸 Live pair-design of the new loading flow
🔸 How can a user understand which UI elements are clickable?

👉 Check out the episode and let me know what you think! https://www.youtube.com/watch?v=aIlDxDDcwwE
Rebuilt my company's website with Tailwind CSS and Next JS
Tags: showdev, webdev, design
Published: 2020-11-10 10:00:38

We decided to refresh our branding and website. Previously it was built using Wordpress, and it lacked speed and a 2020 factor. I decided to redesign it and along with my team built it from scratch.

It's now live at [https://codechem.com](https://codechem.com)

The stack:

- Next JS
- Tailwind CSS
- Strapi
- Figma
- Framer Motion
Outsource Là Gì- TỔng Hợp Ưu Nhược Điểm Nổi Bật Của Outsource
Published: 2020-11-10 09:51:03

Outsource là gì? Lý do gì mà Outsource lại được sử dụng phổ biến như vậy? Hãy cùng tìm hiểu bằng các thông tin mà chúng tôi đưa ra dưới đây. Xem chi tiết tại: https://blog.itnavi.com.vn/outsource-la-gi/
New way to activate windows 10: atlas-activator
Tags: node, javascript, bash
Published: 2020-11-10 09:46:46

<strong>Atlas-activator</strong> is a bare Node.js server that sends back an embedded windows host script to activate Windows 10. All you need to do is save the response as a .bat (batch file) extension and run it using administrator privileges.
<br>

That's it, you're done and after a restart your windows will be activated. <br> 

Checkout the README file to get the AUTH_TOKEN for the day. <br> <br>

Here is the [GitHub repo](https://github.com/alpha037/atlas-activator). <br><br>

Do check it out. <br>

Star ⭐ it if you like it.
Open an issue, if you think there's something that needs to be changed. <br> <br>

Have fun!
Where do you store GitHub README.md assets?
Tags: discuss, github
Published: 2020-11-10 09:46:24

---
title: Where do you store GitHub README.md assets?
published: true
description: 
tags: discuss, github
cover_image: https://linoxide.com/wp-content/uploads/2015/03/github-universe.jpg
---
GitHub README.md is the front page of your project. You want to make it visually appealing, as it's the first thing the visitor checks in order to get a grasp of what the project is about.

Where do you store the images and other media assets (like screenshots, gifs, etc) of README.md? Including them directly in the project's assets folder seems to be odd as they are not directly related to the project itself.  

Some of the approaches I've heard include:
* Hosting them on External CDN like Imgur
* Creating a new dummy issue and upload them there
* Using a separate assets branch

What is your favorite workaround for this?
Creative Coding with RapydScript
Tags: creative, python, rapydscript, coding
Published: 2020-11-10 09:42:22

A few years ago I had a great pleasure to use RapyScript. It's a language that use Javascript using Python syntax.
I created RapydBox to experiment with it.
If there is enough interest I will detail a little more

You can test it here [RapydBox](http://salvatore.pythonanywhere.com/RapydBox/default/editor)

Choose a sample from the menu and click run button.

RapydBox is based on [pattern-canvas.js](http://relearn.be/2015/training-common-sense/sources/software/pattern-2.6-critical-fork/docs/html/pattern-canvas.html)
Completing Hacktoberfest challenge 2020
Tags: hacktoberfest
Published: 2020-11-10 09:35:09

<!-- ✨This template is only meant to get your ideas going, so please feel free to write your own title, structure, and words! ✨ -->


Going About - 
I've finished the Hacktoberfest challenge #hacktoberfest  #hacktoberfest2020 
Thanks #DigitalOcean & #github 
@digitalocean
 
### Background

Getting around when I saw a post regarding a Hackathon, going into - I progressed about Hacktoberfest 2020 for the first time ever.

### Progress

Going about the rules and the steps to ensure the things to go forward. Thought of setting up the own repository for the same.

### Contributions

By the requirements I, took a basic structure. Going forward i made changes to the base by adding the quick -setup stuffs which could counts as participation , first hand.


### Reflections
Overall, Hacktoberfest 2020 experience been refreshing and subtuating at the time. Being a first-timer, I will definitely participate again. I have learned about the useful contribution to the open-source community. Looking forward to more of such events in going further.
Email Marketing - A Powerful Tool for Your Business

Tags: emailmarketing, business
Published: 2020-11-10 08:51:20

One of the great ways to connect and engage with your customers is through social media sites like Facebook, Twitter, and Pinterest. However, people claim that email marketing is no longer staying effective and relevant due to the success of social media.

Stop listening to them because they are just misconceptions. Email marketing is still alive and well as one of the most effective and powerful techniques of marketing online and being in touch with your customers.

**Definition of email marketing**

First, you need to know what email marketing is, before moving on to the reasons why it is so useful in business.

When someone visits your website and thinks they are subscribing to your mailing list in order to stay in touch with you via email, this is referred to as email marketing. An email list like this is very important if you are selling a service or a product. Email marketing allows you to retain your customers, gain their trust, and promote your brand awareness while encouraging your followers to buy from you more often.

[Email marketing](https://www.propelguru.com/) has several advantages. While this is a great marketing tool, unfortunately, it seems to get a bad rap with a few companies, who don't fully understand it.

Some businesses find that people immediately consider finding an email from a stranger and deleting it, thinking badly about their business.

This can be true to some extent, mainly because companies haven't taken the time to nurture their list. Nonetheless, responsible marketing, and email marketing campaign can work exceptionally well for your business.

**Email Marketing vs. Social Media Marketing**

As explained earlier, social media sites like Facebook and Twitter are great ways to connect with existing and potential customers. They are ideal platforms for the word of mouth advertising, creating a strong connection with your current audience, and putting you in front of a new audience.

These two tools are necessary for your business. However, you cannot control who sees your updates or when they are seen.

Other than that, you can't completely control these connections because social media sites like Twitter, Facebook keep making changes without stating how they might affect the way you connect with your followers.

Social media sites don't give you the option to connect with people one-on-one because you can connect via email. Through [email marketing](https://www.propelguru.com/), your promotional campaigns can be fine-tuned by you, while forming a list of people who show a genuine interest in whatever you offer.
Things to Consider When searching for an N95 mask for sale
Published: 2020-11-10 09:26:03

If you need to buy a high-quality, effective, and affordable respiratory protection, then you should consider purchasing a quality N95 mask for sale. You can find one that meets your needs and will be the perfect match for any of your settings.
As an adult or a child, respiratory protection is important. With an average of twelve thousand deaths every year due to the effects of asthma and COPD, you have a responsibility to protect yourself and others around you. Recently our world has been attacked by one of the worst pandemics of this generation, the Covid-19, without the vaccine the only way to control the spread of the virus is wearing a face mask. Buying a mask that is designed to keep you safe from these serious health conditions is important.
Choose the right N95 mask for your need.
Masks are available in different styles and colors. Choosing the right one for your needs is easy with the many styles of N95 mask available today.
For those who suffer from the chronic obstructive pulmonary disease (COPD), you'll need to make sure the mask fits properly and you are comfortable breathing through it at all times. You'll want to consider all the features, such as the mask is not torn or has any leakage, proper attachment of the side straps, and the manufacturer’s detail if there is any expiry information is available or not.
There are several different sizes of masks available as well. To get the best fit and to find a mask that will provide the protection you need, you may want to try a few different models until you find the one that fits the best for you. If you buy a mask that is too large or small, you could end up with a mask that does not fit your needs at all.
Breathing into your mask can be uncomfortable at times so it is important to try out several different styles before making a decision. The right <a href="https://accumed.com/n95-mask-for-sale-respirator-safety-face-mask-z1.html
">N95 mask for sale</a> will keep you and your loved ones safe and secure during your time outdoors.
If you have children, it's a good idea to find a mask that has a mouth guard attached so they don't choke on their toys or anything else. If there is a problem with your baby choking, you will want to get an N95 mask for sale that has an emergency release valve or other features that will allow you to quickly get your child out of the situation.
When buying a new mask, it's important to consider a few different things before you make a purchase. Making sure the mask fits properly, has the features you want, and has the features that you need, will help you make the right decision about purchasing your N95 mask for sale. 
Some masks are more affordable than others. To find the best deal on your N95 mask for sale, check out the different prices online and look at what other customers are buying for the same price. You can find these masks in the local stores near to your house and even you can prefer to order online from websites like accumed.com who are selling the best quality masks at prices ones can easily afford.
Never use array_merge in a loop
Tags: php, array, performance, spread
Published: 2020-11-10 09:12:51

> The spread operator to the rescue.

# Flattening a one-level array

I have seen people using the array_merge function in a loop like:

```php
$lists = [
  [1, 2],
  [3, 4],
  [5, 6],
];
$merged = [];
foreach($lists as $list) {
    $merged = array_merge($merged, $list);
}
// $merged === [1, 2, 3, 4, 5, 6];
```

This is a very bad practice because it’s a (memory) performance killer!
Instead, you should use the spread operator (in PHP since 5.6!):

```php
$lists = [
  [1, 2],
  [3, 4],
  [5, 6],
];
$merged = array_merge(...$lists);
// === [1, 2, 3, 4, 5, 6];
```

## Unpacking an assoc-array

What if you had an assoc-array instead like this one?

```php
$lists = [
  'key-1' => [1, 2],
  'key-2' => [3, 4],
  'key-3' => [5, 6],
];
```

In that case, you will need to unpack its values:

```php
$merged = array_merge(...array_values($lists));
// === [1, 2, 3, 4, 5, 6];
```

In Functional Programming, this is known as flatting a list.
No loops & no more performance problem.

# Flatting a multilevel array

What if you wanted to flat a multilevel array like this one?
```php
$lists = [[1], 2, [[3, 4], 5], [[[]]], [[[6]]], 7, 8, []];
```

Or like this one, even with key-values?

```php
$lists = [
    'key-1' => [
        1,
        [2],
        'key-2' => [
            3,
            [
                'key-3' => [4, 5],
            ],
        ],
    ],
    6,
    'key-4' => [7, 8],
];
```

In these cases, you might want to use the internal standard library:

```php
$merged = iterator_to_array(
    new RecursiveIteratorIterator(
        new RecursiveArrayIterator($lists)
    ),
    $use_keys = false
);
// $merged === [1, 2, 3, 4, 5, 6, 7, 8];
```

# Conclusion

Usually, being aware of how to flat a “2 level” array might be sufficient:
```php
$flattenList = array_merge(...array_values($lists));
```

Otherwise, the internal standard library will help you deal with it.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/mbcozp9t6xqjafywrgn2.png)

> Originally published on https://chemaclass.es/blog/array-merge-in-loop/
OSD Lab-7
Published: 2020-11-10 06:21:58

This week for our Lab 7 we were tasked with adding a Formatter & Linter into our Link Checker program (you can find mine [here](https://github.com/MLJBrackett/link-check))

Since my program is made with Python I decided on using [Python Black](https://pypi.org/project/black/18.4a1/) and [Flake8](https://flake8.pycqa.org/en/latest/index.html#) Python black is a formatting tool that when you run it, will format the code to the configurations that you or another contributor chose for the project. Flake8 is a linter which will go through you code and tell you if you have any small mistakes in the code, i.e. unused import statements. 

Setting the code up in my project was pretty easy, all I had to do was run
```bash
pip install black
pip install flake8
```
And just like that I had both the tools ready to be used. Afterwords I created a small shell script that the user could run with the command bash format.sh, inside is the code:
```shell
black link-check.py
```
All this would do is just run the black formatter on my link-check.py file with the configurations that I set up. I also excluded all other files in my repository from black using a configuration file just incase something went wrong and the user tried to format other files.

I did the same thing with the linter.

I didn't have any issues other than the linter found that instead of having two blank lines before a function I had one which was a very quick fix. A complication arose when the linter was telling me that the lines were too long but the linter was adding in the whitespace before the lines.

Basically how I fixed this was just set up the configuration file to ignore that linter error because since the formatter was formatting properly, it wouldn't matter what the linter says. (The formatter and the linter were set to the same line length but I guess the linter accounts for whitespace before the characters while the formatter doesnt)

I chose to integrate my tools using Visual Studio Code, it was fairly easy following [this](https://code.visualstudio.com/docs/python/python-tutorial) guide from Visual Studio (To find formatting help click on "Editing Code" and to find Linter help click on "Linter")

Pretty much all I had to do was just write a couple of lines in a settings.json file that I put in a .vscode folder that was in the root of my file system. After that vscode did everything for me.

I found this lab incredibly useful as not to long ago with my Release 2.0 I was amazed by one of the project using a linter (They were using pylint). I spoke with my professor about it and we had a little talk about the usefulness of a linter. I will for sure be using it with my open source projects in the future. You can find my blog about when I first encountered a linter [here](https://dev.to/mljbrackett/release-2-0-pr-3-4d20)
Why hire an SEO company or SEO services for online businesses?

Tags: seoservices, seo
Published: 2020-11-10 09:05:24

Many companies hoping to increase their online presence either hire an SEO company or make good use of [SEO services](https://www.propelguru.com/search-engine-optimization/) to reap the full benefits while achieving their goals.

While trying to learn SEO on your own is a good and tempting idea, chances are that you will implement SEO techniques poorly because they require months and years of experience.

The only possible answer that can be found is to outsource a team of SEO experts with the skills and experience to get the best results at affordable prices.

The global web market has undoubtedly seen a boom in online buying and selling, blogging, promotion/marketing, etc. and the rate increases with time to be on the first page of Google.

Also, one of the sincerest wishes of any entrepreneur is to see your website in the first place among competitors in the same industry.

However, if these reasons are not enough to understand the need for SEO in your online product, the following SEO benefits surely explain why to hire an [SEO company](https://www.propelguru.com/) or SEO services for online businesses.

Top reasons  SEO is important to your online business
What we see is sold! We have heard this for a long time. This five-word sentence aptly describes the nature of Thanos' online business or web technology market.

Any SEO company or SEO service provider has a rule, "optimize the site to clear all Google standards, allow people to come in and visit automatically."
DSA Learning 
Tags: algorithms, datastructures
Published: 2020-11-10 08:53:01

https://docs.google.com/spreadsheets/d/1ru7LWL6BCojpQ_SrXGAAk7Lni7bkH1H7PaFT5m_bYZE/edit?usp=sharing

Data structures & Algorithms are very important for every programmer. 
But we are confused about where to start? and how to Start?

Choose your own preferred Programming language and solve the questions in the above google sheet.

The above google sheet has 450 Questions gathered from GeeksForGeeks in a structured format. Try to solve all of them you will see great results.
#codevember - 10 - Rainbow Fountain - Made with tsParticles
Tags: codepen, javascript, html, showdev
Published: 2020-11-10 08:43:00

# Rainbow Fountain

**Made with [tsParticles](https://github.com/matteobruni/tsparticles)**

{% codepen https://codepen.io/matteobruni/pen/KKMrPON %}

Checkout more samples on CodePen [here](https://codepen.io/collection/DPOage)
How to use Sudo in Windows 10 Powershell
Published: 2020-11-10 08:24:33

Many of us may face a small problem with windows terminal (`command line`) when going to execute some commands that require an admin privilege while the shell is opened in normal user privilege, so we have to restart the shell using `Run As Administrator` in order to proceed, whilst  in Linux we simply use `sudo` command to execute whatever we want as a root user.
Here we have solution for this issue in Windows, just follow the following steps:
1- Using `PowerShell` terminal execute the following command line to install [scoop](https://scoop.sh/) package installer:
```
C:\>iwr -useb get.scoop.sh | iex
```
2- Then after installing "scoop" in your system install "sudo" package:
```
C:\>scoop install sudo
```
Now you will be able to use `sudo` command same as in Linux, for example in order to install npm package globally we have to run `npm install` in a privilege mode:
```
C:\>sudo npm install –g bootstrap
```
As well as having a `sudo` option in Windows, we will have the ability to install packages in Windows using "scoop" similar to `apt` & `apt-get` in Linux.
For more information how to use scoop visit :
1. https://scoop.sh/
2. https://github.com/lukesampson/scoop/wiki
Sitecoreでウェブサイトの初期表示を速くする方法（Viewのプリコンパイルの設定方法）
Tags: sitecore, aspdotnet
Published: 2020-11-10 08:21:09

Sitecoreでは初めて描画するレンダリング（View）はアクセス時にコンパイルされます。ページへの初回アクセスが遅くなる原因の一つは、この実行時コンパイルにあります。
あらかじめすべてのViewをコンパイルしておくことで、初期表示時間を改善することができます。

## 設定方法
1. Viewファイルが含まれているプロジェクトに、NuGetで `RazorGenerator.MsBuild` をインストールします。依存関係は無視してOKです。
1. 以下のパッチを適用します。
    ```xml
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
  <sitecore>
    <settings>
      <!-- 物理ファイルの代わりにプリコンパイルされたViewを使用する設定 -->
      <setting name="Mvc.UsePhysicalViewsIfNewer">
        <patch:attribute name="value">false</patch:attribute>
      </setting>
    </settings>
    <mvc>
      <!-- プリコンパイルされたViewを使用するアセンブリ一覧 -->
      <precompilation>
        <assemblies>
          <assemblyIdentity name="Habitat.Foundation.Account" />
          <assemblyIdentity name="Habitat.Feature.Search" />
        </assemblies>
      </precompilation>
    </mvc>
  </sitecore>
</configuration>
```
1. プロジェクトをデプロイします。

以上です。  

dnSpy等でビルドしたアセンブリを除いてみると、名前空間`ASP`にコンパイルされたViewが生成されていることを確認出来ます。

## 注意点
プリコンパイルを設定すると、たとえサーバー上のViewファイルを編集してもページに適用されなくなります。Viewファイルを変更した際には必ずソースコードのデプロイを行うよう注意してください。

## 参考
- [Olmec Dev | Sitecore 9 View Precompilation](https://olmecdev.com/2019/Precompiling-Sitecore-Views/)
❎❓Quiz: Web Performance #10
Tags: challenge, webperf, webdev, quiz
Published: 2020-11-10 08:13:16

How confident are you with your knowledge of performance metrics?

What is the First Contentful Paint?

- First h2-Tag on the website.'
- First paint of the walls of someone's first own flat.
- First meaningful painting of a child.
- How long it takes to render the first DOM content.

---
<center>[Answer the question](https://marcradziwill.com/web-performance-quiz/what-is-the-first-contentful-paint/)</center>
---