teleren/devto huggingface dataset:
WEBSOCKETD : Full duplex messaging between web browsers and servers
Published: 2021-01-11 10:06:27

Awesome tool which turns any console application in WebSocket Server, whatever programming language you use.
Available for Windows, Linux, Mac

Try it, really awesome

[WebSocketd](http://websocketd.com/)

```python
#!/usr/bin/python
from sys import stdout
from time import sleep

# Count from 1 to 10 with a sleep
for count in range(0, 10):
  print(count + 1)
  stdout.flush()
  sleep(0.5)
```

```bash
#!/bin/bash

# Count from 1 to 10 with a sleep
for ((COUNT = 1; COUNT <= 10; COUNT++)); do
  echo $COUNT
  sleep 0.5
done
```

```csharp
using System;
using System.Threading;

class Counter
{
  static void Main()
  {
    for (int i = 1; i <= 10; i++)
    {
      Console.WriteLine(i);
      Thread.Sleep(500);
    }
  }
}
```

```c
#include <stdio.h>
#include <unistd.h>

int main() {
    int i;

    // Disable output buffering.
    setbuf(stdout, NULL);

    for (i = 1; i <= 10; i++) {
        printf("%d\n", i);
        usleep(500000);
    }

    return 0;
}
```

Launch the server with the following command

```bash
c:\> websocketd --port=8080 my-program
```

and in Javascript

```js
var ws = new WebSocket('ws://localhost:8080/');

ws.onmessage = function(event) {
  console.log('Count is: ' + event.data);
};
```
How to make MySQL work in your GitHub Actions
Tags: ci, cd, github, mysql
Published: 2021-01-23 11:25:45

---
title: How to make MySQL work in your GitHub Actions
published: true
date: 2021-01-11 10:02:43 UTC
tags: ci,cd,github,mysql
canonical_url: https://ovirium.com/blog/how-to-make-mysql-work-in-your-github-actions/
---

There are a ton of tutorials out there on how to make MySQL service work inside your Ubuntu environment in GitHub Actions. But all of them returned the "Failed to initialize, mysql service is unhealthy." error for me. Let's fix that.

The post [How to make MySQL work in your GitHub Actions](https://ovirium.com/blog/how-to-make-mysql-work-in-your-github-actions/) appeared first on [my blog](https://ovirium.com).
Đánh Giá Xe AutoComVN
Published: 2021-01-11 09:57:23

https://auto.com.vn - Trang thong tin dien tu chuyen cap nhat tin tuc, danh gia thi truong , chia se kinh nghiem, bao gia do choi xe hoi và xe may tai Viet Nam. SDT: 0916055599. Dia chi: 285 Hoang Dieu, P6, Q4, TPHCM.
Augmented Reality vs. Virtual Reality - What's the Difference? (Explained by Space Jam)
Tags: beginners, augmentedreality, virtualreality, techtalks
Published: 2021-01-11 09:39:41

Two great super short YouTube videos that explain what are augmented reality (AR) and virtual reality (VR) and how to spot the difference between them using Space Jam as an example:


1. **[What is AR/VR?] (https://www.youtube.com/watch?v=J_h_ygpxqbg&list=PLlNGTOzDSLPMaoyhYpoOm_nKPx3BHsBje&index=1&ab_channel=echoAR)** (1:43)

2. **[The difference between AR/VR (explained with Space Jam)] (https://www.youtube.com/watch?v=Kwv575JRJ2c&list=PLlNGTOzDSLPMaoyhYpoOm_nKPx3BHsBje&index=2&ab_channel=echoAR)** (1:11)


![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/9dtxrsuw0zcvaorocp5u.jpg)

----------



Scan this QR code with your phone to see something awesome!
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/iza0vlkv8xh6qt5d3860.png)

or go directly to https://go.echoar.xyz/eTgX with your phone browser.

[Sign up] (https://console.echoar.xyz/#/auth/register) to the echoAR platform for free to create this yourself!
Has AI already surpassed humans? 
Tags: machinelearning, ai, podcast
Published: 2021-01-11 09:37:28

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

Fascinating discussion about AI and ML:
Kyle shares concerns about how AI/ML have already surpassed what humans can understand. Eran talks about how AI can not only make its predictions based on data sets that exceed our mental capacity, but also leave some explanation breadcrumbs that humans can understand and audit. The discussion shifts to exploring the practicality of AI translating programs from one language to another, and even generating a higher level, idealized or universal "one language to rule them all".

Listen now to this exciting new podcast episode
https://www.tabnine.com/blog/eran-and-kyle-podcast-ep3
Web Development Play a Key Role to Bring Business Online
Tags: webdevelopmentcompanyindia
Published: 2021-01-11 09:31:03

We are living in the Digital World, and it’s quite imperative to adapt to the market trends. With the changing trends, the familiar words are shifting from interpersonal communication to internet communication. As such, our business should also change towards the digital patterns.

When you have a business and if you want your business to generate more opportunities, your voice needs to hear among people. The business objective, goal and the services you provide should reach more people. To achieve this, Website Development is the Key.

<a href="https://www.ascentwebportal.com/web-development.html">Web Development Companies</a> are the ones who take your company to the digital world.

The experienced Web designers bring a perfect balance for your business through the medium of art and science by knowing the customer needs, your services and generate traffic. These web designers ensure that the website meets SEO standards and the content is persistent.

There are a lot of web development companies worldwide. High-end professional website design , development of the application, maintenance service, etc. can be provided by the web development companies at the desired price.

Web Development Company is the <a href="https://www.ascentwebportal.com">Digital Agency</a> which helps to build E-commerce Websites, create interactive web pages for the business to associate with customer needs.

Most of the start-up companies need their objectives and goals and their services to reach more people to grow their business. By negotiating with the Web development companies, the start-ups have a quick growth because the web designers are technical professionals to get your business online.

The Web Development Company creates a web community with the leading web design templates and SEO standards and helps in internet marketing. People look for the products.

online, study the review and rating for the products before they decide to purchase the product. It makes the online presence a mandatory thing for the business.

Depending upon your business and based upon the budget, you can choose your web development company and take your business to the next level.

Web Development Company takes your business to the internet marketing by exposing the market to the social media sites. These social media platforms are the place where people spend more time, and check for the services they need, reviews and finally do business with you.

Finally, make your business more visible with the help of the web development companies by giving a digital presence of your niche.

Source: https://www.ascentwebportal.com/blog/web-development-play-a-key-role-to-bring-business-online/
The journey is only 1% finished
Tags: career, growth, development, stackoverflow
Published: 2021-01-11 09:27:45

It's hard to find where you belong; this is mine. <br />

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

As I announced on Twitter, I would be joining the incredible [Stack Overflow](https://stackoverflow.com/) team working in-between the Community and the Platform Engineering team here at Stack Overflow.

Helping to improve the Stack Overflow platform, in general, is exciting for me, and it's precisely the kind of role I have been looking out for.

I am looking forward to working with all the moderators on Stack Overflow and helping to shape the future, importantly making it an open/safe place where users can easily collaborate, ask questions and get answers to issues they have.

I had roughly around ten interviews, every single person I spoke with from [Sara Chips](https://twitter.com/SaraJChipps), [Yaakov Ellis](https://twitter.com/Yaakov), [Teresa Dietrich](https://twitter.com/teresadg), [Cesar Manara](https://twitter.com/CesarManara) and the fantastic coordinator [Abby T. Mars](https://www.linkedin.com/in/abbytmars), where all amazing, the flow of the interview was one excitement after another, I sure studied hard for this one after every interview 😂

![alt text](https://media4.giphy.com/media/IPbS5R4fSUl5S/200.gif)

Joining a team like this, with so many incredible people, changes everything for me, contributing to a global platform that has about 50 Million+ monthly visits and 20 Million+ developers actively using this platform is enormous, and I look forward to building a platform with Stack Overflow where every user feels welcomed when using our platform, and I can’t wait to begin on the **25th of January 2021**

![alt text](https://thumbs.gfycat.com/ColossalHotCavy-small.gif)

You can follow me over on Twitter here: [@developerayo](https://twitter.com/developerayo)<br /><br />

As [Chukwuemeka Afigbo](https://twitter.com/nke_ise) would say:


> The journey is only 1% finished.

> Jisi nu ike "Be Strong."
DO Hackathon Dev Log #3
Published: 2021-01-11 09:13:51

![Rep Spec DO App Platform Hackathon Project](https://dev-to-uploads.s3.amazonaws.com/i/ulf81tw6zqv6x2dhnfwb.png)

![Rep Spec Task Board](https://dev-to-uploads.s3.amazonaws.com/i/5od78q7hk58zv8mp7mzc.png)

The hack is complete! I definitely underestimated the time I would be able to spend on this project but I was able to create a MVP. Even more valuable, I was able to experiment with some cutting age web dev technologies! 

## Takeaways
1. Next.js is very fun to hackaround with. I was able to new up a project from a template and deploy it within 15 minutes. 
2. Learned the benefits of Server Side Rendering + Static Generation to make next.js sites blazing fast.
3. Worked with a few third party API's that I ahve not used before! Cloudinary + SendGrid
4. Need to work on keeping my goals/tasks specific + measurable + timebound in order to complete all that I set out to
5. JavaScript component libraries look amazing in demos but take some time to migrate existing app components. Look forward to a new PR to include those sexy ChakraUI components!
How to Download & Install PHP 8 on Windows 10
Tags: php8
Published: 2021-01-11 09:12:27

---
title: How to Download & Install PHP 8 on Windows 10
published: true
description: This post will help you download & install php 8 on Windows 10 and set php 8 to system's path, verify php version and run the php 8 local development server.
tags: php8
---

This post will help you download & install php 8 on Windows 10 and set php 8 to system's path, verify php version and run the php 8 local development server.

## Download & Install PHP 8

- Head to php.net
- Click Download button
- Click Windows Downloads
- Download Thread safe 32/64 bit zip package for your system type
- Extract the zip package
- Paste the extracted folder onto your desired drive (C?D?E?)
- Rename this folder to php8
- One this folder and look for php.ini-development file
- Make a copy of this file and rename copy version to php.ini
- Open php.ini file with your preferred text editor and
uncomment PHPIniDir “ext”
- Save the file and close the editor.

### Learn PHP & MySQL
[LEARN PHP and MySQL](https://tidd.ly/39501MO) from Highly Rated Experts one-to-one $5 an hour.

## Set PHP 8 to System's Path

- Open php8 folder and copy and folder path
- Press Windows Key on your keyboard and type 'variable' and hit Enter
- Click Environment Variables
- Click Edit and Click NEW on the right
- Paste the php8 folder path
- Click OK, OK, OK

## Verify PHP Version
- Launch Command Prompt 
- Type php -v

## Run PHP Local Development Server
- Create a Folder on your desktop
- Open this folder with your text editor
- Create a file and save as filename.php
- Write PHP code and save it
- <?php echo phpinfo(); ?>
- Navigate your CMD to this folder
- Run PHP server
- php -S 127.0.0.1:3000
- Launch Browser
- Navigate to 127.0.0.1:3000/filename.php

[Install PHP 8 on Windows 10](https://tubemint.com/php-8/)

{% youtube ITweSppjLlY %}
this.$__path is not a function mongoose error
Published: 2021-02-01 11:08:21

---
title: this.$__path is not a function mongoose error
published: true
date: 2021-01-11 09:09:09 UTC
tags: 
canonical_url: https://boobo94.github.io//tips/mongoose-error-path/
---

Currently I faced a strange error with mongoose “this.$\_\_path is not a function”, described [here](https://github.com/pinojs/pino-pretty/issues/109). If you face the same issue I suggest you to [update mongoose](https://www.npmjs.com/package/mongoose) to the lastest version.

Run

```
$ npm update mongoose

```

Personally I encountered problems with version “^5.8.11” and works with “^5.11.11”.
Tableau Certification Online Training Course
Published: 2021-01-11 09:05:33

The Tableau online training course by IgmGuru is planned to assist users in dynamic learning about Data visualization using Tableau. The foremost goal of the learn Tableau online course is to help users gain a working knowledge of Tableau and visualize data into the dashboard using the tools provided by Tableau platform. The Tableau online training provides a basic understanding of Data types, extraction of Data, data blending, adding filters, highlighting data, geocoding, map and image visualization, and many more technical details about Tableau. IgmGuru’s online tableau training course for Tableau course helps users to culminate an outstanding knowledge of Data visualization using Tableau and develop a technical aptitude to design interactive dashboards based on organizational requirements.
Data Analyst Career Path for  Beginners & Experienced in 2021
Tags: datascience, career, analyst, analytics
Published: 2021-01-11 08:50:16

Do you have a question **How to Get a Data Analyst Job?** First of all, **Congratulation!** You have chosen a profitable, secure, and most demanding career. 

But if you are confused How to Get a Data Analyst Job? then don’t worry. I am here to clear your doubts and guide you on a clear path. 

I have written this article for both people- who have no experience as well as who have experience. So, give your few minutes and get a clear answer to How to Get a Data Analyst Job?

**In this blog, I am gonna tell you-**
1. What is a Data Analyst?
2. Roles and Responsibilities of Data Analyst
3. Is Data Analyst a Good Career?
4. How much Data Analyst Earn?
   4. 1. Salary for Freshers/ Entry Level Data Analyst
   4. 2. Salary for Experienced Data Analyst
5. Data Analyst Career Path
   5.1. Data Analyst Career Path for Fresher
        5.1.1. Qualification Required
        5.1.2. Skills Required
   5.2. Data Analyst Career Path for Experience
        5.2.1. Career Path for Experience in Programming
        5.2.2. Career Path for Experience in Mathematics
6. What’s the Next Step?

So, let’s start with the **definition of a Data Analyst.** And then we will move forward to the Roles and Responsibilities of a Data Analyst.

##**Who is a Data Analyst?**

As the name suggests, “Data Analyst“, means a person who analyzes the data. Data Analyst is a person who **collects the data, cleans that data, analyze the data, and represent the valuable findings from that data in a visual form.**

In a nutshell, a Data Analyst converts numbers into plain English. A Data Analyst delivers value to the company by finding valuable insights from the data.

You will understand more about Data Analysts by their Roles and Responsibilities. So, let’s see the Roles and Responsibilities of Data Analyst-

**[Click to continue reading...](https://www.mltut.com/how-to-get-a-data-analyst-job-with-no-experience-and-with-experience/#roles-and-responsibilities-of-data-analyst)**
Some small Css tips #001
Tags: webdev, css, html
Published: 2021-01-11 08:40:45

---
title: Some small Css tips #001
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-css-tips-tweets-001/
cover_image: https://since1979.dev/wp-content/uploads/2021/01/some-small-css-tops.jpg
tags: webdev, css, html
---

## Wait, what!?
Well, lately if been trying to tweet a small css tip daily(ish) or at least a couple of times a week. These are small tricks i come across while building websites myself. Now believe it or not but the entire web dev community doesn't follow me on twitter :wink: So i thought i'd share them here as well for your convenience. :smile: There will be more coming soon too.

### Visualize a css grid in firefox
{% twitter 1336633943559340034 %} 

---  

### Keep your footer at the bottom with Flex
{% twitter 1336230979183276033 %}
Text version is here: https://gist.github.com/vanaf1979/caedbe162e39503c6ce3dd4f6833bf5b  

---  

### A small Css specificity cheatsheet
{% twitter 1321380946646601728 %}
Here's a text version: https://gist.github.com/vanaf1979/9383395531d29c756183364ea1140cca  

---  

### A responsive header with the Css clamp() function
{% twitter 1314158826560651264 %}
Check out this article for more info: https://utopia.fyi/blog/clamp/  

---  

### A image reset.
{% twitter 1344629629378768897 %}

### 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.**
Where to store users number of tries ?
Tags: python, django, database, programming
Published: 2021-01-11 08:37:22

Hi guys, I am looking on some alternatives on were to store apps users consumable actions. For example, number of tries of doing something in the app per day.

Should I go ahead an store everything in a db table ? 
How will this affect the performance if the number of users rise ?

And last but not least, this has to reset at the end of the day.

[UPDATE] I found an easy way to handle this by storing the dynamic data in the cache ..can be redis.. with a TTL set to it. The max or min for the counter is stored in the DB.

This way you can store counters/values that are consumable by the user and have it reset without a background job.
Security by Design - Everything you need to know, in a simple manner.
Tags: security
Published: 2021-01-11 08:29:22

Security by Design is a method that will allow your team to take security into account from the start of a project.

And this for all stages of a project.


In this video, I am going through all the concepts of Security by Design through a very simple metaphor of building a house. 👷🏼‍♂️

Then moving on to the theory of Security by Design. 👨🏼‍🏫


Once you've watched this entire video, you'll know everything you have to know about Security by Design. 👌🏼


I hope you'll enjoy watching it as I enjoyed doing it.


---

{% youtube WE_C14q8WrU %}


---


*If you like this content, push the like button, that helps spread the message.* 👍🏼

*If you think it can be useful to anyone in your network, share it.* 📨

---

Video produced by [Wild & Secure](https://wildnsecure.com), your consulting firm to all things security and real estate.
If you want to receive weekly quality content about security, subscribe to our newsletter [on our website](https://wildnsecure.com/contact).
My first experience about Local Hack day
Published: 2021-01-11 08:25:06

It is the one of the memorable moment of my life. First time I have participated in a Local Hack day. The MLH support is excellent and helps me throughout the whole process from registration to submitting the project. The event started with a opening ceremony with Ryan and the Mary. They explained all the procedure how to participate and submit projects in the devpost and google forms.

In my first day, I had learned how to deploy the GitHub pages to showcase our skills to the client. This session is hosted by Robbie. He explained each steps elaborately. I had followed all the instructions correctly. At the end of the session I am able to deploy my Github page. Checkout my profile at https://github.com/chaudharypraveen98

The next session that I had attended is the Build with the Flask Starter Pack. We had used the flask server to deploy our app with PostgreSQL database. We had faced some issues with the PostgreSQL version but it is sorted at the last.

During this Local Hack Days, I had learned how to work with team and manage all the stuff. Thank MLH for providing such platform. Will join the event in season too. Waiting eagerly.
Tables size in ClickHouse
Tags: clickhouse
Published: 2021-01-11 08:05:38

We can check the size of ClickHouse tables with this query:

```sql
SELECT
    concat(database, '.', table) AS table,
    formatReadableSize(sum(bytes)) AS size,
    sum(bytes) AS bytes_size,
    sum(rows) AS rows,
    max(modification_time) AS latest_modification,
    any(engine) AS engine
FROM system.parts
WHERE active
GROUP BY
    database,
    table
ORDER BY bytes_size DESC
```
Digital Ocean App Platform Hackathon Submission
Tags: dohackathon
Published: 2021-01-11 07:59:36

## What I built
One rep max lifting calculator

### Category Submission: 
Program for the People

### App Link
https://rep-spec-xnb4a.ondigitalocean.app/

### Screenshots
![Rep Spec Screenshot](https://dev-to-uploads.s3.amazonaws.com/i/46dnc6r0az96u9qcaxgw.png)

### Description
Simple Next.js MongoDb Passport App with CRUD features 

### Link to Source Code
https://github.com/TechSavagery/rep-spec
### Permissive License
[MIT](https://choosealicense.com/licenses/mit/)

## Background
Wanted to try next.js. 
### How I built it 
Very easy deployments! 


### Additional Resources/Info
Feature Phone Emulator with SMS app - DigitalOcean Hackathon 
Tags: dohackathon
Published: 2021-01-11 07:57:13

## What I built

### Category Submission: 
Random Roulette


### App Link

https://fpe-sms-58nib.ondigitalocean.app/


### Screenshots
![screenshot](https://i.postimg.cc/k5XkWXxG/ss.png)

### Description
This is a feature phone emulator with an SMS app.
As such, the screen is not (clickable/touchable).
The Left & Right selection buttons have to be used to
select the respective actions in the screen footer.

While writing a new message, click  you can switch from uppercase/lowercase/number mode using the * key.

Example: To type "Hello"
1. Press * once to switch to uppercase
2. Press 4 twice
3. Press * twice to switch to lowercase
4. Press 3 twice
5. Press 5 thrice.
6. Wait ~ 1.5 seconds
7. Press 5 thrice.
8. Press 6 thrice.

 

### Link to Source Code
https://github.com/CitronBrick/fpe-sms

### Permissive License
MIT License

## Background
(What made you decide to build this particular app? What inspired you?)
I've been a feature phone user for a long time. It was fun to develop buttons that insert a different letter based on the frequency of clicks.

### How I built it 
Used Angular for this project, after a long time.
This is my first time using DigitalOcean. Deployed it as a
stati site.

(How did you utilize DigitalOcean’s App Platform? Did you learn something new along the way? Pick up a new skill?)


### Additional Resources/Info
This video was quite useful to deploy the angular app.
 https://www.youtube.com/watch?v=TW5HYRz6kPk