teleren/devto huggingface dataset:
wunderDB : a micro Document Database
Tags: database, data, dbms, json
Published: 2020-08-25 20:19:59

wunderDB is a JSON-based Document Database inspired by MongoDB. It is accessible through an API, hosted at [wdb.tanmoysg.com](https://wdb.tanmoysg.com) . 

The API can be consumed using a ***Unified Actions API*** which enables operations on the clusters from a single Endpoint. 

wunderDB uses a Cluster - Database - Collection - Data hierarchy where Cluster is the set of all databases of a particular user. This hierarchy is very useful in multi level and multi role environments like schools, where there needs to be separate database for student, teachers and other staff and each student belongs to different classes and needs a seperate collection of students in a database. 

To make things easier for users to get started, I've included a Registration Portal for Cluster Creation without any hassle on the website.

The detailed documentation for wunderDB is available on [GitHub](https://github.com/TanmoySG/wunderDB/blob/master/documentation/documentation.md).

Hope you'll love it and use it in your projects! Do leave your thoughts, suggestions and feedbacks on the comment section, and also on my [mail](mailto:tanmoysps@gmail.com) .

[Code repository on Github.](https://github.com/TanmoySG/wunderDB)
[Hosted at wdb.tanmoysg.com](https://wdb.tanmoysg.com)
Unity top down player movement
Tags: unity3d, tutorial, gamedev
Published: 2020-08-25 20:18:02

If you are just starting out with your new 2d unity game. Well you might be having problems with creating something basic like top down movement. You might just want your 2d player to move across the screen. Well you can easily do this with a c# script. I wrote a short article on how you can practically achieve 2d player movement in unity here:
https://generalistprogrammer.com/game-design-development/unity-2d-movement-top-down-tutorial/
Making Slideshows w/FFMpeg

Tags: ffmpeg, slideshow, make
Published: 2020-08-25 19:56:29

Browsing Reddit or StackOverflow and you come across numerous posts asking how to generate slideshows with FFMpeg.  Seems a common interest and incredibly easy with the right tools.  FFMpeg is one of the said tools,the other....makefiles.

There are few utilities that are truly hated in this industry, makefiles seem to be one of them.  Despite it's poor reputation, make is a perfect utility for many image and video processing pipelines.  I blame it's bad reputation on the hacks that claim to maintain them.  Make is the perfect utility, it's dependency engine is a perfect match for creating videos from input media.

This short little makefile will convert all JPGs in the current directory into subvideos of 1 sec durations, then concat them together into a long video and finally adding audio.

$ cat Makefile 
SRCS=${wildcard *.jpg}
SIZES=$(subst .jpg,.jpg.size,${SRCS})
CLIPS=$(subst .jpg,.mp4,${SRCS})
SlideDuration=1
FPS=25

all: video.mp4

video.mp4: slideshow.mp4 audio.aac
 ${SH} ffmpeg -i slideshow.mp4 -i audio.aac -shortest -strict -2 $@

audio.aac:
 ${SH} youtube-dl -f best https://www.youtube.com/watch?v=IYbE2coMZPc
 ${SH} ffmpeg -i Íslandsklukkur\ \(Instrumental\ Icelandic\ Folk\ Music\)-IYbE2coMZPc.mp4 -vn -codec copy audio.aac

slideshow.mp4: ${CLIPS}
 ${SH} for f in `echo $^`; do echo "file '$$f'" >> filelist.txt; done;
 ${SH} ffmpeg -y -f concat -i filelist.txt -codec copy $@
 ${RM} filelist.txt

%.mp4: %.jpg video.size background.jpg
 ${SH} ffmpeg -y -loop 1 -i background.jpg -i $< -filter_complex "overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2" -r $(FPS) -vframes $(shell echo $(FPS)*$(SlideDuration) | bc) -an $@

video.size: ${SIZES}
 ${SH} echo $(shell cat *.size | cut -f 1 -d 'x' | sort -un | tail -1)x$(shell cat *.size | cut -f 2 -d 'x' | sort -un | tail -1) > $@

%.jpg.size: %.jpg
 ${SH} mogrify -auto-orient $<
 ${SH} identify $< | cut -f 3 -d ' ' > $@

background.jpg: video.size
 ${SH} convert -size $(shell cat $<) xc:black $@

clean: 
 ${RM} *.mp4 *.size background.jpg *.aac

This makefile works for an arbitrary list of image sizes, it first auto-orients images (portrait/landscape) as it's not uncommon to have phone images mis-oriented.  It then generates a *.jpg.size file that contains the image dimensions.  These files are used next by the video.size target, which generates the maximum image size...this allows creating the video to match the largest of the images.  Next, a background jpg image is created of said dimensions.  Next, each image is converted into a 1 sec video which is then concatenated into the slideshow.mp4 file.  Finally, an audio video is created by downloading a video from Youtube and the audio is extracted, then applied to the slideshow mp4 file to get the final video.

I dumped our Iceland photo archive into the directory to test and it spit out the following video;
https://youtu.be/RS4v9YB1rAA

Now, go out there and create something cool!

*This article was originally published at:
https://dragonquest64.blogspot.com/2019/10/making-slideshows-wffmpeg.html*
Demystifying ARM Templates: Create Your First Template
Tags: azure, devops, cloud, tutorial
Published: 2020-08-25 19:55:44

---
title: Demystifying ARM Templates: Create Your First Template
published: true
date: 2020-08-27 10:46:00 UTC
tags: azure, devops, cloud, tutorial
series: Demystifying ARM Templates
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/ttc4b125lyt0n05enazf.png
---

Now it's time to code. This session introduces the ARM Tools extension for VS Code, shows you how to create your first template from a snippet, and how to deploy it.

## Azure DevOps - DevOps Lab - Video

{% youtube YqoiR5HDhSo %}
- [YouTube](https://youtu.be/YqoiR5HDhSo)
- [Channel9](https://channel9.msdn.com/Shows/DevOps-Lab/Demystifying-ARM-Templates-Creating-Your-First-Template)

The Azure Resource Manager (ARM) Tools for Visual Studio Code, is available from the marketplace (for free), or directly from VSCode. Click the **Extensions** button from the Side Bar and search for "**ARM Tools**".

![Visual Studio extension][extension] 

Now from any JSon (.json) file, the extension will automatically be active. Create a new File and save it as a JSON file (ex: firstARMTemplate.json). Start typing `arm`, you should see the context menu popping.

![Create an ARM template][skeleton]

- That will add an empty template.
- Now type `arm-storage`, you should see a list of Azure resources filtered down to show only the storage. Click it and you should have now your first template done.

![armStorage][armStorage]

Now the tools are asking you to enter a name for your resource. Enter: learningARMStorage.

```json
{
    "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {},
    "functions": [],
    "variables": {},
    "resources": [
        {
            "name": "storageaccount1",
            "type": "Microsoft.Storage/storageAccounts",
            "apiVersion": "2019-06-01",
            "tags": {
                "displayName": "storageaccount1"
            },
            "location": "[resourceGroup().location]",
            "kind": "StorageV2",
            "sku": {
               "name": "Premium_LRS",
               "tier": "Premium"
             }
        }
    ],
    "outputs": {}
}
```

- You have now a template
- show auto-complete stuff
- validation in the outputs section.
- Notice the `location` is using an expression. In fact it's a ARM function, we will learn more about it in the episode/ module 5.

## References

- [Download VS Code for Linux, Mac, and Windows](https://code.visualstudio.com/Download?WT.mc_id=learnARM-devto-frbouche)
- [https://aka.ms/arm-tools](https://marketplace.visualstudio.com/items?itemName=msazurermtools.azurerm-vscode-tools&WT.mc_id=learnARM-devto-frbouche)
- [GitHub: Learning-ARM](https://github.com/microsoft/Learning-ARM)


[extension]:  https://dev-to-uploads.s3.amazonaws.com/i/t8coh5ucpo6wczub3yam.png
[skeleton]:  https://dev-to-uploads.s3.amazonaws.com/i/y93rpk5w2wkh6ro0z515.gif
[armStorage]:  https://dev-to-uploads.s3.amazonaws.com/i/wvbph7f8k3njovjatb7v.png
Python web scraping tutorial
Tags: python, tutorial, web, scraping
Published: 2020-08-25 19:46:55

Sometimes you need to do some data mining for a project and you just don't know how to start. Especially if you are new to web scraping you may be struggling to figure our which programming language to use.

Which libraries are available to you etc. Well web scraping is actually quite a big field. There are many languages which will be able to achieve it. However some easier than others. In my opinion for any newbie trying to start with web scraping. Python is the goto language for this as it has a rich set of libraries for everything from doing HTTP requests, launching a selenium instance and more. If you are interested in learning about python web scraping. Why not check out this tutorial I wrote a 6000 word blog post on the topic here:

https://generalistprogrammer.com/python/python-web-scraping-tutorial-with-beautifulsoup-and-requests/
Unity Game Challenge 
Published: 2020-08-25 19:36:40

#MLH, #MajorLeagueHacking, and #LocalHackDay
Are you a tech geek and love to play games ?? Great then you also have thinked about to develop your game too. 
So what are you waiting for just avail the Unity 3d gaming licences and tools with your github education pack and lets develop a quick 3d game in just 30 min . Follow the trend and also challenge your gamer friend to develop a game too , i am nominating Vivek Anand Sharma Adnan Ahmed Saad Pasta .
As all of these are influncers so guys lets start a interesting challenge . just nominate your friends and get started . 


Link to major resources . 
Github education pack   https://education.github.com/pack
unity 3d student access   https://store.unity.com/academic/unity-student
tutorile to build the game 
https://www.youtube.com/watch?v=Dweo04X7mJU&feature=youtu.be


also dont forget to follow me on github and dev.to as i will be sharing more intresting content about that on dev.to and github 
https://github.com/madilraza 
https://dev.to/madilraza
My Recipe For Learning
Tags: learning, productivity, beginners, codenewbie
Published: 2020-08-25 19:19:36

---
title: My Recipe For Learning
published: true
description: A personal blog post with some insights about my learning process
tags: learning, productivity, beginners, codenewbie
cover_image: https://images.unsplash.com/photo-1532009877282-3340270e0529?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80
---

I've recently reflected on my learning process. Even though I'm always finding new insights as to how I best learn, I feel I'm at a point where I've established a good groove when it comes to gradual and methodical improvement.

I hope to make blogging a regular practice as I continue reflecting on my growth as a developer.

In this post, I talk about getting out of tutorial hell, how I stay motivated, how I best retain information, and to embrace your shitty first project as a learning experience.

Hope it speaks to you!
[https://medium.com/@jessecalton/my-recipe-for-learning](https://medium.com/@jessecalton/my-recipe-for-learning-c4ae37208c9a)
PSA: Take Some Time for Yourself
Tags: productivity
Published: 2020-08-25 18:54:43

I was on PTO most of last week, so I don't have much of a This Week I Learned kind of thing. But, since I'm trying to write every week I thought it would be worthwhile to type out a friendly reminder: 
#####take time for yourself

My supervisor said it best, "you're not working from home, you're living at work". Whether it is during the regular work day, or during a side project, remember that it's ok to take a break. Go for a stroll around the block, around the neighborhood, or until your feet are sore!

I promise you will be happier _and_ more productive after you allow yourself some time to breath.
Stop Narrating Your Code Out Loud 
Tags: career, hiring, interview
Published: 2020-08-25 18:53:11

Interviewers can read code, not your mind. Unfortunately, hiring decisions often HINGE on how a candidate thinks.... or rather how they communicate their thoughts.

Many candidates are given the generic advice to "share your thoughts out loud," but if you're trying to impress interviewers during a technical interview, that advice is not 👏🏼 good 👏🏼 enough 👏🏼

In this video I share what you should be saying instead. I'm talking example phrases AND what your interviewer is honestly looking for and thinking. You may not be able to read their minds, either, but you can pretty dang close!

{% youtube sv42PpY-nK8 %}

0:00 - Honest intro
1:01 - Why not narrate?
2:59 - Narrating your thoughts out loud is not good enough
Examples:
3:29 - Taking a shortcut
3:50 - Design decisions
4:21 - Intentions when do something different
5:00 - When you run your code, get more credit
5:52 - Whenever there is an error or problem !!
6:24 - THIS IS THE ONLY TIME 🤫
7:47 - The last thing I'll say about narration 🤮

- Mood by Lake from Infinity Train
- Music by Dyalla and Gunnar Olsen

CANDIDATE PLANET:
Empowering candidates to ace interviews, negotiate offers and advocate for themselves at work. Leave a comment or email Lusen@CandidatePlanet.com with questions you want me to answer.

SUBSCRIBE \o/:
☆ Youtube ☆ https://youtube.com/CandidatePlanet
☆ Spotify ☆ https://open.spotify.com/show/39mwa4oOlKC7dMaNbLNFYE
☆ Newsletter ☆ http://newsletter.candidateplanet.com/
☆ LinkedIn ☆ https://linkedin.com/in/lus

SALARY NEGOTIATION PLAYLIST:
☆ https://www.youtube.com/playlist?list=PLY0uEDNh-Haqes9eEvyGtzrUWOHv-c1op

ACE YOUR INTERVIEWS PLAYLIST:
☆ https://www.youtube.com/playlist?list=PLY0uEDNh-HarP6UtKFYRJZnkXzz4ICi73
Working In The Code Mines: Mining Software Repositories With PyDriller
Published: 2020-08-25 18:03:00

<p>A large portion of the software industry has standardized on Git as the version control sytem of choice. But have you thought about all of the information that you are generating with your branches, commits, and code changes? Davide Spadini created the PyDriller framework to simplify the work of mining software repositories to perform research on the technical and social aspects of software engineering. In this episode he shares some of the insights that you can gain by exploring the history of your code, the complexities of building a framework to interact with Git, and some of the interesting ways that PyDriller can be used to inform your own development practices.</p><p><a href='https://www.pythonpodcast.com/pydriller-mining-software-repositories-episode-277/'>Listen Now!</a></p>
Factory Design Pattern - Javascript
Tags: designpatterns, creationaldesignpattern, javascript, factorydesignpattern
Published: 2020-08-25 18:18:49

## Factory Design Pattern

- Factory design pattern is one of the creational design patterns.
- Factory design pattern describes how the object should be created.
- It is used to separate the object creation logic from the rest of our code.
- It has only one responsibility. i.e. to create objects only based on the provided inputs.
- It simplifies the object creation logic by having the object creation logic at one place.

### When to use Factory Design Pattern

- When we need to keep the object creation logic in one place.
- To separate out the responsibility of object creation from the code which uses these objects.

### Code example

- The shape is one of the examples which we can use in our code example.

```javascript
class Shape {
    constructor(description) {
        this.description = description;
    }
}

class shapeFactory {
    createShape(shapeType) {
        switch(shapeType) {
            case 'square':
                return new Shape('Square shape');
            case 'rectangle':
                return new Shape('Rectangle shape');
            case 'circle':
                return new Shape('Circle shape');
        }
    }
}

const factory = new shapeFactory();
const circle = factory.createShape('circle');
const square = factory.createShape('square');
const rectangle = factory.createShape('rectangle');

console.log(circle); // Shape {description: 'Circle shape'}
console.log(square); // Shape {description: 'Square shape'}
console.log(rectangle); // Shape {description: 'Rectangle shape'}
```

- In this example, you can see that the `shapeFactory` is a factory class that creates shape objects based on the `shapeType` provided.
- You can find the code in the  [GitHub repository](https://github.com/07101994/design-patterns/blob/master/factory.js).

## One Last Thing...

- If you'd like to stay in the loop of Software Development then please subscribe to my newsletter. I will try my best to keep you informed about the latest trends and best practices for Software Development.

- Please like and follow the blog post. Connect with me on  [Twitter](https://twitter.com/tushar_koshti)  and  [LinkedIn](https://www.linkedin.com/in/tushar-koshti-683b1bb0/).

#### Let me know in the comments what you will like to learn next... Thanks for visiting the blog...
The 7 Most Popular DEV Posts from the Past Week
Tags: top7
Published: 2020-08-25 18:14:09

---
title: The 7 Most Popular DEV Posts from the Past Week
published: true
description: A round up of the most-read and most-loved contributions from the community this past week.
tags: icymi
cover_image: https://thepracticaldev.s3.amazonaws.com/i/sfwcvweirpf2qka2lg2b.png
---
_Note: Hi everyone! I'm posting on behalf of @jess who is out today. She'll be back soon to share the Top 7 as per usual. In the meantime, enjoy this week's picks! - Gracie_ 

Every Tuesday we round up the previous week's top posts based on traffic, engagement, and a hint of editorial curation. The typical week starts on Monday and ends on Sunday, but don't worry, we take into account posts that are published later in the week. ❤️

---

### The IaC primer you’ve been looking for

@flippedcoding shared a super helpful resource for any dev looking to get a more solid understanding of Infrastructure-as-Code (IaC)!

{% link https://dev.to/flippedcoding/what-is-infrastructure-as-code-iac-461c %}

### A little Rusty

As an engineer, @22mahmoud needs their terminal to be blazing fast. They discovered that a handful of tools written in Rust can help tremendously

{% link https://dev.to/22mahmoud/my-terminal-became-more-rusty-4g8l %}

### Your knowledge doesn’t begin and end with syntax

When you work towards becoming a polyglot dev and switch between two languages, your style also changes as do key fundamentals. @niharrs helps us see beyond syntax. 

{% link https://dev.to/niharrs/how-to-master-a-programming-language-really-fast-5a6c %}

### Avoiding the mousetrap 🐁🧀

@oguimbal explains how Vim can cut down on the frustration of switching between mouse, arrow keys, and keyboard -- and how to approximate the speed of Vim with relying solely on it!

{% link https://dev.to/oguimbal/how-to-never-touch-your-mouse-again-2ppk %}


### Job hunting is hard, but it WILL pay off!

We’re thrilled to have @coffeecraftcode coming aboard the DEV team! In this awesome post, they share a bit about their experience interviewing at multiple companies over time

{% link https://dev.to/coffeecraftcode/to-all-the-companies-i-ve-interviewed-with-before-jf3 %}

### Failing upwards (in a good way!)

@dthompsondev writes about one of their biggest beliefs: if you fail, fail forward and fail fast.


{% link https://dev.to/dthompsondev/fail-4gea %}

### Getting wacky with GitHub Actions

For their entry to the [GitHub Actions Hackathon](https://dev.to/devteam/announcing-the-github-actions-hackathon-on-dev-3ljn), @jayehernandez built an awesome action in the “wacky wildcards” category that (among other things) replaces curse words in GitHub Issues and PRs with approved words from The Good Place, a TV show they love!

{% link https://dev.to/jayehernandez/the-good-place-a-github-action-365m %} 



_That's it for our weekly wrap up! Keep an eye on DEV this week for daily content and discussions...and if you miss anything, we'll be sure to recap it next Tuesday!_
TrendingTags.io - Free Tags, Keyword and Video Downloader
Tags: javascript, python, node, react
Published: 2020-08-25 18:12:51

So, in this post I tell you about my small project i.e., [TrendingTags.io](http://trendingtags.io/)

Technology used to build this project.

- NextJS

- Python

- Tailwind CSS

Let's start!

I love building mobile and web application that people can use and on weekend I was thinking to build something as it also helps you build confidence in using the technology as developer. 

> As I didn't got any ideas, one of my friend calls me and while we talk I told him about I want to build something and shares idea to build a website from where we easily download Instagram Reels, Videos and IGTv.

I did the research and saw lots of people are searching for it and then I thought it would be great if am able to build our website will able to get lots of traffic.

Then we finalise the complete idea of TrendingTags.io

So, TrendingTags.io is an online tool which provide Free SEO Effective keywords and tags with volume data for your content, Instagram Video Downloader, IGTV Download, Reels Download, Facebook Video Download, YouTube Video Downloader

I used NextJS and built the complete frontend using Tailwind css and the backend with the django.

If anyone wants to know in detail how I built the complete project using the technologies then comment below. I will write the detail article on it.


Try the project and share your feedback or suggestions to improve the project.

Visit Now: [TrendingTags.io](https://www.trendingtags.io/)

Thanks,
Metadata Management And Integration At LinkedIn With DataHub - Episode 147
Published: 2020-08-25 18:03:17

<p>In order to scale the use of data across an organization there are a number of challenges related to discovery, governance, and integration that need to be solved. The key to those solutions is a robust and flexible metadata management system. LinkedIn has gone through several iterations on the most maintainable and scalable approach to metadata, leading them to their current work on DataHub. In this episode Mars Lan and Pardhu Gunnam explain how they designed the platform, how it integrates into their data platforms, and how it is being used to power data discovery and analytics at LinkedIn.</p><p><a href='https://www.dataengineeringpodcast.com/datahub-metadata-management-episode-147/'>Listen Now!</a></p>
How to create a cluster-admin bearer token on Kubernetes
Tags: sysadmin, kubernetes
Published: 2020-08-31 20:26:51

---
title: How to create a cluster-admin bearer token on Kubernetes
published: true
date: 2020-08-25 18:02:33 UTC
tags: sysadmin,kubernetes
canonical_url: https://jjasghar.github.io/blog/2020/08/25/how-to-create-a-cluster-admin-bearer-token-on-kubernetes/
---

Some times you need a `cluster-admin` bearer token. Here are the commands to createone:

**NOTE** : “clusteradmin-sa” can be any name, it’s good to have something-sa so you know what it is.

```
kubectl create sa clusteradmin-sa
kubectl create clusterrolebinding software-sa --clusterrole=cluster-admin --serviceaccount=default:software-sa
kubectl get secrets | grep software-sa
kubectl describe secret software-sa-token-<SOME-HASH>

```

The following is a `yaml` defintion that should give you the secret that does basiclly a `cluster-admin`

```
apiVersion: v1
kind: ServiceAccount
metadata:
  name: software
  namespace: default
secrets:
- name: software-secret
---
apiVersion: v1
kind: Secret
metadata:
  name: software-secret
  annotations:
    kubernetes.io/service-account.name: software
type: kubernetes.io/service-account-token
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: software-role
rules:
- apiGroups: ["*"]
  resources: ["*"]
  verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
  name: software-role-binding
roleRef:
  kind: ClusterRole
  name: software-role
  apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
  name: software
  namespace: default

```