teleren/devto huggingface dataset:
Dev Blog with Azure Functions
Tags: azuretrialhack
Published: 2022-03-06 08:15:25

[Instructions]: # (To submit to the Microsoft Azure Trial Hackathon on DEV, please fill out all sections.)


### Overview of My Submission
[Note]: # (Please make sure the project links to the appropriate GitHub repository, and includes the [Apache-2 permissive license](https://www.apache.org/licenses/LICENSE-2.0)  and README.)

I created a Developer's blog, in-short _Dev Blog_ using Azure functions where GraphQL APIs are hosted and deployed. Used Azure Static Web App service for deploying the front-end part of the application. With this app, users can create, view, and delete the posts.

My submission will have two repositories namely [dev-blog-azure-ui](https://github.com/chilupa/dev-blog-azure-ui) for _front-end_ code and [dev-blog-azure-functions](https://github.com/chilupa/dev-blog-azure-functions) for _back-end_ code.

**Play with the app here** 🚀
UI - https://brave-hill-0c5adaa10.1.azurestaticapps.net
GraphQL playground - https://posts-graphql.azurewebsites.net/api/posts




### Submission Category: 

[Note]: # (AI Aces, Computing Captains, Low-Code Legends, Java Jackpot, or Wacky Wildcards:)

Computing Captains


### Link to Code on GitHub

[Note]: # (Our markdown editor supports pretty embeds. Try this syntax: `{% github link_to_your_repo %}` to share a GitHub repository)
[Note]: # (Your repository must include a README)
[Note]: # (You must use and list a permissive license for your code: MIT, Apache-2)
**Front-end**
{% github https://github.com/chilupa/dev-blog-azure-ui %}
**Back-end**
{% github https://github.com/chilupa/dev-blog-azure-functions %}



### Additional Resources / Info

**Screenshots**

**Home page**
![Home page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/urqpq3ek6uzq5yhnt1gi.png)
**Dashboard view**
![dashboard](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xxdf8rj2b43ioelwtum8.png)
**Create post**
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rd9hrolrtfjnzlozolwk.png)
**View and delete post**
![View and delete post](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9eyuuqj8dpdk8mktit61.png)


[Note]: # (Be sure to include the DEV usernames of your collaborators, if any. Prizes for winning projects with multiple collaborators will be sent to the person who posts this submission and they will distribute the prize evenly. DEV will not split prizes as per our rules)

[Reminder]: # (Submissions are due on March 8, 2022 @ 11:59 PM UTC)
Sweeper.js
Tags: javascript, node, programming
Published: 2022-03-06 08:15:18

Hi everyone, this is my first post but definitely not last. Currently I am working on a react like project called sweeper.js, it would mean the world if you could check it out and may be even give the GitHub repo a star. Currently the package is in beta with no expected release date. Anyway thank you for your time and I hope you like the project

GitHub: https://github.com/MrEggoXYZ/Sweeper.js#readme
npm: https://www.npmjs.com/package/sweeper.js
My Third week in Taskforce 5.0 at Awesomity Lab and Code of Africa.
Tags: awesomit, codeofafrica, taskforce
Published: 2022-03-06 08:02:30

This is my third week in Taskforce 5.0, this week was super and cool. Although there were a lot of challenges, the week was interesting.

On soft skills, we begin with value, learning what it is and why it is so important. Next, we do an exercise in defining our values, which we compare to the core values of the Code of Africa. Finally, we see how value can play a significant role in the growth of people working together. This taught me the importance of being cautious when selecting people to work with. Knowing and understanding people's values will improve work habits.

> Your core values are your deciding factors for success.”
**Tobi Delly**

We also learned about [intercultural communication](https://en.wikipedia.org/wiki/Intercultural_communication#:~:text=Intercultural%20communication%20is%20the%20idea%20of%20knowing%20how,people%20to%20achieve%20a%20sense%20of%20cultural%20diversity.), which is the concept of knowing how to communicate with people from all over the world.
We discussed what team culture is and why having a shared culture as a team is important, as well as how to build a strong team culture.
We concluded the session with an interesting exercise in which we were asked to identify the team culture of CoA.
This taught me to stop making judgments on other people's behavior because different body language should have different meanings depending on the country's culture, and it also taught me to respect other people's cultures as well as our own.

![intercultural communication](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u65n54mgbnmyjofmmw19.jpg)

We also started technical skills, which were about component design and project file structure for mobile apps using react native, which was a challenge for me as a Flutter developer because it was my first time developing a mobile app for react native, but I am learning and hope to be familiar with it soon.

![Learn to Code](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cj3haafnnt3z1vpwayaq.jpg)

Finally, I had an amazing presentation with my colleagues, where we were to put together a small presentation in groups and discuss intercultural communication.

In a conclusion, I can say that I have learned a lot this week, and I am very excited to see what the coming weeks will bring.
Today's Fun Joke For Developers - Daily Developer Jokes
Tags: jokes, dailydeveloperjokes
Published: 2022-03-06 08:00:13

---
title: "Today's Fun Joke For Developers - Daily Developer Jokes"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12598468df3.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q:___ Who used the internet before it was cool?

___A:___ Httpsters
 -->
Who Am I?
Tags: awesomity, codeofafrica, taskforce, weeklyjournal
Published: 2022-03-06 07:57:18

What a week to get thoughts highbrown!
We have always known that first impression is key to convincing others your motive and that has been around since the old days. Hardly you find people taking a second thought about it’s impact on society.

Just like everything else, it has it’s pros and cons that can be viewed differently depending on which point you are standing on. Since this is my mind speaking, there are no judgments.


![fix my computer, who am I](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9c6uua6uqkw0f3xxhrdz.jpeg)

**`Can you fix my computer?`**

As an engineer, it is a statement we hear often from our friends and family. Mostly when people hear that you are an engineer, they expect you to have magical powers of fixing every broken appliance that exists on earth, regardless if you know it or not and failure to fix it comes with it’s judgments and imposter syndrome manifests.

Since I’m aware of their expectations from me, I get to know how to respond and empathize with them. One of the superpowers an engineer must have.
To get it out of my head, it is not cool to call me an imposter engineer because I can not fix your printer, laptop, phone and your shaver🤦🏿‍♂️! Please understand that I’m so cool not to fix broken hardware, but program them to serve you.

`What if I tell you that I can build a mobile application that will always fix your devices every time! Will you finally understand what I do?`

**Let's react to this statement natively**

There are two major mobile platforms in the world and that is Android that uses Java and Kotlin and iOS known in iPhones that uses Swift.

![language barrier](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/um4oanobjkj33n69midi.jpeg)
As a developer, to build an app for any of the platforms, you needed to know their respective language and this spurk a cold war among developers and they reacted to it natively to solve the language barrier hence React native.
How cool is this! Not only can we not fix your computer, but we can also solve the language barrier in our communities.

**Take away for the week**
Every society has it’s norms and way of life that has to be appreciated and not be a judgment point. Before you can judge, first understand the other person’s reasoning and in exchange, you will improve your communication skills, efficiency, reduce inappropriate judgment and be considered cool.
time complexity difference between set & vector
Published: 2022-03-06 07:46:53

for set: 4.720976s wall, 4.711230s user + 0.000000s system = 4.711230s CPU (99.8%) (also tested set::insert which takes little time)

for vector: 1.407571s wall, 1.404009s user + 0.000000s system = 1.404009s CPU (99.7%)
Task force5.0 {Diversity}
Tags: episode3, reactnative, taskforce
Published: 2022-03-06 07:35:42

Another week down, I can't understand how fast time flies! Imagine we are already in the third week of our taskforce Bootcamp.

This last week we had an amazing and insightful moment.  In today's episode, I will highlight key takeaways of the week.

##Intercultural Communication

The Software Development industry engages people from different places, backgrounds, and cultures. 

Understand the views and perspectives of other people or cultures. It's the best move to deliver and conquer our goal as software developers.

So In last week, we dived deep into intercultural communication. We learned differences and similarities among cultures, gestures and their meaning, etc.

>**Anthony Robbins** said, “To effectively communicate, we must realize that we are all different in the way that we perceive the world and use this understanding as a guide to our communication with others.”

##React native

[React native](https://en.wikipedia.org/wiki/React_Native) was the the talk of the week as we went through setting up its development environment, best folder and file structuring, and UI theming.
![react native](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jb847imatpcwk8f5rxeg.png)

It wasn't my first time developing a mobile app using the native framework. Mostly I used [flutter](https://en.wikipedia.org/wiki/Flutter_(software)) and shifting to react native was kind of smooth.

I expect to learn more about react native in the coming weeks as this was just an introduction.

To sum up, this was a very insightful and educational week. We learned more about soft and technical skills, and  I can't wait to see what comes next.
Php Mvc Framework
Tags: php, git
Published: 2022-03-06 07:30:03


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tfz8mib62ls4stcoiflf.png)Php is a strong language, but not that organized! Zerdeşt `[zerdesht]` Mvc structure aiming that solve that problem.  However, Zerdeşt is now at the very beginning, we need your help as well. Please don't be shy when you have even a small idea or suggest putting the light on the problem of the structure. We are working on it, day by day, and try to make it more secure and strong. Do you want to take a look?

Here is the github repository. 


```
git clone https://github.com/yusufocaliskan/php-zerdest-mvc
```


For the first installation:

```
zerdest start [your-database-name]
```


Zerdeşt would create a new database while installing itself by that command if there isn't any database that exists with the same name that is given by the command. Besides it would also create a new controller called login if there isn't any.

To create a new fresh controller just use that command

```
zerdest new-controller [a-new-controller-name]
```

that is all!

Enjoy!
This week’s newsletter is out! (05-03-2022) - The WebKit browser engine lineage
Tags: javascript, tech, webdev, discuss
Published: 2022-03-06 07:17:46

---
title: This week’s newsletter is out! (05-03-2022) - The WebKit browser engine lineage
published: true
description: Another week of great javascript, tech and web development links.
tags: javascript, tech, webdev, discuss
---

The WebKit browser engine lineage

https://markjgsmith.substack.com/p/mark-smiths-newsletter-05-03-2022?s=w

Would love to hear any comments and feedback you have.

[@markjgsmith](https://twitter.com/markjgsmith)
Instagram Automation using Python and Selenium
Tags: python, selenium, instagram, automation
Published: 2022-03-06 07:15:04

In this tutorial, I have used Python and Selenium. I am assuming that you know the basics of Python.

In case, if you don't have Python installed, you can download it from [https://www.python.org/](url) and follow the install instruction.

After Python, we need to install Selenium Automation Framework. We will be using pip to install Selenium.

```
python3 -m pip install Selenium
```
Next, we will need to install ChromeDriver. You can download it from [https://chromedriver.chromium.org/downloads](url). After downloading, unzip it and move it to some sensible location.

## Automate Instagram

```
import os
from typing import KeysView
from selenium import webdriver
from selenium.webdriver.common import keys
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.keys import Keys

os.environ['PATH'] += r"C:\Users\saura\Desktop"  #replace it with path that contains ChromeDriver
driver = webdriver.Chrome()

driver.get("https://www.instagram.com/?hl=en")

driver.implicitly_wait(5)

try:
    username = driver.find_element_by_name("username")
    password = driver.find_element_by_name("password")
except:
    print("no element found with this name")

username.send_keys("your_username")  #replace it with your instagram username
password.send_keys("your_password")  #replace it with your instagram password
password.send_keys(Keys.RETURN)

try:
    not_now = driver.find_element_by_class_name("cmbtv")
except:
    print("no element with this class name")

not_now.click()

try:
    not_now2 = driver.find_element_by_class_name("HoLwm")
except:
    print("no element with this class name")

not_now2.click()

see_all = driver.find_element_by_link_text("See All")
see_all.click()

for i in range(1, 30):
    follow_link = driver.find_element_by_xpath(f"html/body/div/section/main/div/div[2]/div/div/div[{i}]/div[3]")
    follow_link.click()
```
Copy this code and paste it in your Python file with (.py) extension. Replace path to ChromeDriver and username and password in code. And then run it. It is completely automated. Just sit back and relax.
My First Open Source Contribution
Tags: hacktoberfest, appwrite, github, digitalocean
Published: 2022-03-06 06:54:58


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qk7d0j6ejl0d1nu1ss4o.jpg)

Finally arrived!!! Joined #opensource by contributing to hacktoberfest2021. Thanks for the swag #github #digitalocean #appwrite #hacktoberfest2021. It was a great learning experience.
System32 Discovery #4 - The secret behind the System32 folder
Tags: system32, windows
Published: 2022-03-06 06:50:52

## ⚠️ Warning!
Messing around with system32 files without knowing what you’re doing can demage your system! The author doens’t take any responsibility for demaged systems and installations.

{% embed https://www.youtube.com/embed/CBbHzXyjxeo %}

## Introduction

You may know the System32 folder as the folder where all the system files are located. But that's not necessarily true. All these applications, dll files and other stuff are so called hard links.

## What is a hard link?

You surely know shortcuts in Windows. These can also be called soft links.  If you remove or rename a softlink file it will not have any affect on the other file. It's just a pointer to where the file is located.

![softlink](https://user-images.githubusercontent.com/58633848/151668028-042092ed-dc14-4084-b0a4-a01e87835600.png)

A hard link for comparsion is two times the same file, just at different location. If you rename the file on one end it will also get renamed on the other end.

![hardlink](https://user-images.githubusercontent.com/58633848/151668027-75e0499f-b091-4a3f-892d-7fbb46624957.png)

## Why?

So, why are these files all hardlinks?

Because you can execute all the commands from this folder directly. You don't have to go first into the folder where they are really located and then execute `explorer` `logonui`, etc.

With all these files in one folder it's easier to index them all.

## Where are they really?

They are mostly in package folders in the `%windir%/WinSxS` folder.

The package name has the following pattern:

`[target platform]_([platform])_[name]_[id]_[version]_[language]_[hash]`

### [target platform]
The targeted platform: x86, wow64, msil or amd64

### [platform]
Optional indicator of the platform. 
For example:
* system
* Microsoft-Windows
* bth

### [name]
The package name. If the name is too long `...` will replace a part of the name.

e.g.: 
* basicrender.inf.resources
* s..store-adm.resources
* syncres.resources

### [id]

Unknown

### [version]

The version of the system

### [language]

The language of a package

### [hash]

Unknown
System32 Discovery #3 - System information
Tags: system32, windows
Published: 2022-03-06 06:46:52

|||
|-|-|
|<b>Application title</b>|System Information|
|<b>File name</b>|msinfo32.exe|
|<b>File name stands for</b>|<b>M</b>icro<b>S</b>oft <b>Info</b>rmation|
|<b>Syntax</b>|`Msinfo32.exe [/?] [/nfo Path] [/report Path] [/computer ComputerName]`|
|<b>Type</b>|Application/Console Application|
|<b>File description</b>|System Information|
|<b>WinSxS package</b>|`md64_microsoft-windows-msinfo32-exe`|

## ⚠️ Warning!
Messing around with system32 files without knowing what you’re doing can demage your system! The author doens’t take any responsibility for demaged systems and installations.

{% embed https://www.youtube.com/embed/1hgELblNLsI %}

## Overview

The system information displays information about the hardware, system drivers, the Windows installation and other things of your or a remote computer.

## All categories

* System Summary
  * Hardware Resources
    * Conflicts/Sharing
    * DMA
    * Forced Hardware
    * I/O
    * IRQs
    * Memory
  * Components
    * Multimedia
      * Audio Codecs
      * Video Codecs
    * CD-ROM
    * Sound Device
    * Display
    * Infrared
    * Input
      * Keyboard
      * Pointing Device
    * Modem
    * Network
      * Adapter
      * Protocol
      * WinSock
    * Ports
      * Serial
      * Parallel
    * Storage
      * Drivers
      * Disks
      * SCSI
      * IDE
    * Printing
    * Problem Devices
    * USB
  * Software Environment
    * System Drivers
    * Environment Variables
    * Print Jobs
    * Network Connections
    * Running Tasks
    * Loaded Modules
    * Services
    * Program Groups
    * Start-up Programs
    * OLE Registration
    * Windows Error Reporting
    
## Arguments

### `/?`

Opens the help article to System Information: [https://support.microsoft.com/en-gb/topic/description-of-microsoft-system-information-msinfo32-exe-tool-10d335d8-5834-90b4-8452-42c58e61f9fc](https://support.microsoft.com/en-gb/topic/description-of-microsoft-system-information-msinfo32-exe-tool-10d335d8-5834-90b4-8452-42c58e61f9fc).
    
### `/nfo Path`

Saves an nfo file to the specified path. If the path doesn't end with `.nfo` it will be appendend.

### `/report Path`

Saves an txt file to the specified path.

### `/computer ComputerName`

Opens the system information for the specifid computer.

## More Information

[KB300887](https://go.microsoft.com/fwlink/?LinkID=2100680)
Relearning Data Structures and Algorithms
Tags: algorithms, javascript, interview, learning
Published: 2022-03-06 06:40:31

As a product of a bootcamp, my lectures on data structures and algorithms spanned two days - one day for lectures, one day for practice problems. A huge issue was that this was the first lesson that we had but instead of building on these fundamentals, we navigated towards web development which to be honest uses hardly any data structure (on the front-end). It wasn't till towards the end of the program where it dawned on all of us that we need to actually understand data structures a little bit more, not just for interview preparation but for building a strong foundation. 

*It's really easy to complain about how tech interviews aren't really applicable to say a React developers day-to-day, but I'm a believer that having a strong basis in understanding how data flows can help you write more inefficient code. Or it'll at least help you think in a specific way.*

Now that we've addressed my issue of not having a strong foundation in computer science, it's become my priority to improve this, now I'm come to an intersection on how I need to approach this.

Here are my options:
1. Read through Cracking the Coding Interview from front to back.
2. Pay for AlgoExpert and take their crash course
3. Sign up for a free tutorial on Coursera/Udemy and take that. (I've heard great things about Colt Steeles course)
4. Idk...

I'll continue to update this list as I approach this, but for the time being, I'll take these approaches one step at a time and document my thoughts. If you have any resources to share, be sure to let me know and I'll give my thoughts on those too!
Schedule notifications on WeChat with Azure AKS
Tags: azuretrialhack
Published: 2022-03-06 06:35:50

[Instructions]: # (To submit to the Microsoft Azure Trial Hackathon on DEV, please fill out all sections.)


### Overview of My Submission
An application that allows you to schedule notifications on [WeChat](https://en.wikipedia.org/wiki/WeChat) so that you can get notified while keep connected with your friends.

This app is realized through several WeChat message push platforms, such as [PushPlus](https://www.pushplus.plus/) and [ServerChan](https://sct.ftqq.com/), as well as the native Enterprise version of WeChat (WeCom) message push API.

The application be deployed using Azure AKS by helm chat with this [script](https://github.com/HollowMan6/Wechat-Timed-Message/blob/main/helmChart/install-online.sh). For meanings of configurations please refer to the [README file](https://github.com/HollowMan6/Wechat-Timed-Message#online-install-scriptrecommend).

### Submission Category: Computing Captains

### Link to Code on GitHub
{% github https://github.com/HollowMan6/Wechat-Timed-Message %}


### Additional Resources / Info
- https://docs.microsoft.com/en-us/azure/aks/quickstart-helm#run-your-helm-chart
[Reminder]: # (Submissions are due on March 8, 2022 @ 11:59 PM UTC)
Youtube downloader with Python
Tags: python, pytube
Published: 2022-03-06 06:28:49

A simple project to make gui on kivy mixed with the function of downloading music from youtube with youtube_dl package

## Repo
git clone https://github.com/watchakorn-18k/18k-youtube-download

## Requirement
- Python 3.9 https://www.python.org/downloads/release/python-390/
- pip install kivy
- pip install pytube
- ffmpeg for windows In your project PATH then create folder "ffmpeg" then add folder "bin" from ffmpeg put in folder "ffmpeg"
https://www.gyan.dev/ffmpeg/builds/


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/la49pgfombm98sduxgk2.gif)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nkrqehoxcm89yjd2draq.png)