teleren/devto huggingface dataset:
Adding features to existing code & merging the branches
Tags: opensource, github, git, osd600
Published: 2021-09-29 21:14:16

## Introduction ##
I have been working with open source development for four weeks now. It has been a great pleasure to work with GitHub. After completing pull requests to other developers. Now, I am moving forward to learn to merge changes from different branches. Here's my Swift development code [Repo](https://github.com/japneetsingh035/ModernSSG/)

## Creating issues ##
First of all, I created the issues to provide information on what changes are to take place. So, I commenced with the feature to support [Add an optional -l, --lang, or \l flag feature] (https://github.com/japneetsingh035/ModernSSG/issues/15).Also, issues such as [Add support for a horizontal rule in Markdown](https://github.com/japneetsingh035/ModernSSG/issues/17) and [Add support for inline blocks in generated html pages](https://github.com/japneetsingh035/ModernSSG/issues/16)

## Merging and Pushing ##
### First Commit ###
The process was trickier than I thought. I created another branch for this issue to avoid changes on the main. The code part was not hard. I was able to do it quickly. I had issues because I forgot to git add and git commit the files before merging. This created problems which were resolved later on and pushed them to the main branch. [d7244e14](https://github.com/japneetsingh035/ModernSSG/commit/d7244e141be720e83c6d7fbb418fa38dcecae22c#diff-4ac05fd3ba0c39c88de3ae3c64864f8f215d1563fdf0af906d715e0a45360c97)

### Second Commit ###
This commit took place firmly, was able to do it without any error and made changes to a different branch. Added and committed from that other branch and then merged onto the main branch. The features were to support MD files to have inline blocks and horizontal rules generated to HTML pages.
[e59061b](https://github.com/japneetsingh035/ModernSSG/commit/e59061b15158983b56827e086e573fe3f2a7c5c3#diff-4ac05fd3ba0c39c88de3ae3c64864f8f215d1563fdf0af906d715e0a45360c97)

## Conclusion
I learnt a lot of things during lab 03, I can now work on different projects and can clone the project to my local computer. This will help me to work on my files. Also, not to forget to segregate the branches based on each issue found. In the end, merging the code and testing before creating merge requests to other developers. In future, I would like to work slowly and do not push to the main branch until successfully tested _lol_.
Priority Scheduling in operating system
Tags: schelulingalgorithm, priorityscheduling, aging, starvation
Published: 2021-09-29 21:07:32

* Why we need scheduling algorithms ?
When two or more processes demands the same resource for its processing, how will the CPU decide to which process should the resource be given. So there are many scheduling algorithms which could be used by CPU to decide it.  


* One of which is **priority scheduling**. Each process is assigned a priority and on the basis of the priority of the process the CPU compare between them. If we have two process with the same priority than it will give the resource to the process which came earlier.


![Priority Scheduling](https://imgur.com/H7uY0VK.png)


* The problem with priority scheduling is **starvation**. It occurs When a process with a much lower priority never gets a chance to be completed. for example there is a process with priority 100 (the higher the value the less its priority) and there is continue occurence of processes with higher priorities than how will it get a chance to be executed.This phenomenon is called **starvation**. Starvation is different than deadlock.   


* To deal with starvation there is a technique called __Aging__. So in this technique, we increase the priority of the process after every particular period of time. For example we have a process with priority 100 and we decide to increase it's priority by 1 after every 10 minutes. So in the worst case the process will be executed at priority 0 which it will reach after approximately 17 hours.
Have you used Stripe to collect payments?
Tags: watercooler, business, stripe, finanses
Published: 2021-09-29 20:41:35

---
title: Have you used Stripe to collect payments?
published: true
description: 
tags: watercooler, business, stripe, finanses
cover_image: https://kursors.lv/wp-content/uploads/2021/03/social.png
---
With [Stripe](https://stripe.com/) businesses of all sizes - from startups to large enterprises can accept payments, send payouts, and manage their businesses online.

It's easy to set-up and maintain. Thanks to their API, developers can integrate custom payment solutions in their apps. 

Have you ever used it for any of your projects? 
What's your experience and would you recommend it to others?
Java Quickie. The .class syntax
Tags: java, tristan
Published: 2021-09-29 20:38:29

#Introduction
- This series is going to be dedicated to the basic understanding of Java. When ever I find myself asking, "How does this work ?". I will create a blog post and put it here. This series will not be in order so feel free to read what ever post you find most relevant.

- Ok I am not 100% sure about the correctness of this blog post but I have been reading stack overflow and JVM specification documents for the last couple hours and this is what I have come up with. If you see that I am missing anything please comment below. 


###What is .class?
- the `.class` is representing what is called a `class literal` in Java. A class literal is an expression consisting of the name of a class, interface, array or primitive type followed by `.class`. A class literal evaluates to a [Class](https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html) object for the named type.
- For example if you have C.class, where C is the name of a class. The class literal will evaluate to a class object of type C, like so:
```
C.class ---evaluates to---> Class<C>
```

###What is a class object and why is it generic?
- Well, instances of `Class` represent classes and interfaces in a running Java application. A Class has no public constructor, instead Class objects are constructed automatically by the JVM as classes are loaded by the defined class loader. Ok, that sort of makes sense but why is it generic? That seems to be due to changes made in JDK 5.0 where Class was made generic in order to help with modeling the class it is representing. See the code snippet above for an example.

###Why use a class literal?
- Again, not 100% sure, I have seen class literals used in JUnit and all over the Android System. However, they all seem to point back to the Java [Reflections API](https://docs.oracle.com/javase/tutorial/reflect/class/index.html). Which is commonly used by programs which require the ability to examine or modify the runtime behaviour of applications running in the JVM. The reflections API specifically states, `For every type of object, the Java virtual machine instantiates an immutable instance of java.lang.Class which provides methods to examine the runtime properties of the object including its members and type information`.

###Summary
- So basically any time you see `.class` know that a `class literal` is being used. A class literal being a creation of the Class object of whatever type .class follows. Class objects are created automatically by the JVM. The code that uses a class literal syntax is most likely making use of the Reflections API which provides methods to examine the runtime properties.


#Conclusion
- Thank you for taking the time out of your day to read this blog post of mine. If you have any questions or concerns please comment below or reach out to me on [Twitter](https://twitter.com/TristAndroidDev).
What will programming look like in 2028?
Tags: programming, 2028, fun, guess
Published: 2021-09-29 20:36:14

I have seen this post from 2012 "[What will programming look like in 2020?](http://lambda-the-ultimate.org/node/4655#comment)" Now I would like to see your guess for 2028? Or with [Sean McDirmid](https://twitter.com/seanmcdirmid18)'s words:

> Things are too quiet lately, so maybe its time to start a fun thread. I used this question as a lead in to a presentation on live programming I recently gave at a working group, but I thought it would be fun to gather a bunch of predictions if anyone is willing.

> What will programming look like in 2020? Keep in mind that programming in 2012 mostly resembles programming in 2004, so could we even expect any significant changes 8 years from now in the programmer experience? Consider the entire programming stack of language, environment, process, libraries, search technology, and so on.
CSS Colors!
Tags: css, html, codenewbie, beginners
Published: 2021-09-29 20:09:04

When using CSS, one of the fun things is being able to work with colors for your webpage! Make sure to select colors so that your content is clear to read. For example, it is easy to read black letters on a white background. There are several ways to select your colors which I will be going over.

You can select colors three (3) different ways...

1.  Color Names: There are 147 predefined color names that are recognized by most browsers. If you want to use 'red' you will simply use the predefined name of 'red'. 

2.  RGB Values:  This stands for your Red, Green, Blue and they are expressed by the numbers 0 through 255. For example:  rgb(102, 205, 165) These numbers represent how much Red, Green and Blue is in the color.

3.  Hex Codes: Hex values represent how much red, green and blue there is by using hexadecimal code and it uses a '#' in front of it.  For example: #77ceaa.  The 77 represents the color in hexadecimal code for red, the ce represents the green, and the aa represents the blue.

You can choose colors for the foreground like so (I will just use color names for simplicity):

h1 {
color: DarkBlue;
}
p {
color: White;}

Same for the background colors: 

body {
background-color: Red;
}
h1 {
background-color: white;
}

You can use a text editor to play around with colors for css! Happy Coding!
Hack This Fall 2.0 |Innovate For Good
Published: 2021-09-29 20:04:57

**The Hack This Fall Hackathon is a 48 hour virtual hackathon where we aim to promote hackers, nurture their new ideas, and support them in solving shared problems.We also aim to involve more beginner hackers and support everyone to solve the shared problems of our society.**

**We are focussing on creating more learning opportunities along with building and solving. We will talk about various technologies, create awareness, encourage others, hack to contribute, and participate in many more exciting events & sessions.**
- **Where** - ✨Virtual Event✨
- **When** - 📅 22-24 October 2021🎁

[Learn More](https://hackthisfall.tech)


**Till Now We Has Crossed 1700+ registrations🎊🎊🎉**
- [Register Now]( http://hackthisfall.devpost.com)

Additionally, we have HTF Connects, Live You Sessions, and many other awesome things.
- For More Update Join Our [Discord Server](https://discord.com/invite/V5KAfNQmTV)

![HTF](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4wgi7d27754910xjk4ez.jpeg)

[Get Your Digital Swag](https://hackthisfall.tech/swag)

**Here are some pictures of previous HTF Connects!!🎉🎉😎**
![HTF](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t9yt27yn240i7cqn3rdr.jpeg)
![HTF](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j7nl77or7k0edj32dla1.jpeg)
![HTF](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d6r6rxbe5ja84ds3ckbf.jpeg)
Senior Software Eng (web) looking to take on apprentice
Published: 2021-09-29 20:03:51

Hi everyone. This isn't the first time I've opened the doors to taking on an apprentice, and I find it to be the most rewarding part of my career. Watching one-by-one as my students got their first job was one of the most thrilling things to see happen in both their lives and mine, and after really figuring out what it takes to get someone job-ready from nothing, I know exactly how to get you there as well.

In my opinion, everything you need to get a job is out there on the internet. That doesn't make it easy to become a web developer, though. It's just the start.

Programming is famously difficult to learn. I partly blame how our education system forces us into this "oh no, I'm wrong!" mentality, and that there's some magic "right answer" out there that only "smart" people know and that's why only "smart" people "get it" and you don't.

That mentality helps no one. Truth is, though, it's difficult to learn even with the right mentality. It's death-by-a-thousand-choices out there when it comes to learning anything. It's also a lot of uncertainty. How do you know if you're doing anything right, or even useful?

Well I've seen a pizza boy with no college degree grow into a competent developer with a job by sheer force of will and a light touch of guidance, and I can show you how to do the exact same thing.

To do this, I'm going to host a small group video chat and Q&A session. Everyone from any background and a desire to get a job in programming is welcome to attend. 

You'll walk away from it knowing exactly what you need to do next to get closer to a job as a web developer. For some of you, that might mean joining my apprenticeship group (and I'll tell you what the group is like during the call). For others, it might mean joining my discord group where we work on small projects to nail the foundations of HTML, CSS, and JS in preparation for professional web app development.

If you want to join, just reach out to me on either Discord at jk#8880, [LinkedIn](https://www.linkedin.com/in/jaykoontz/), or [Reddit](https://www.reddit.com/user/compacct27) with your current history with learning programming and any questions you'd want answered during the group video call. I'll record it, so don't worry if you can't make it.

I hope to bring to you my full experience of getting people their first job in this field. If that's what you're looking for, I'm excited to take you there myself.
DeepClone an object using javascript
Tags: javascript, webdev, beginners, programming
Published: 2021-09-29 19:57:42

Hi there 🙌

Thanks for showing the love and support on the last post. In this article we'll see how we can create a deep clone of an object using javascript.

## Let's to this

![Image](https://media.giphy.com/media/3o7TKUM3IgJBX2as9O/giphy.gif)

Here we are taking this test object and we have to create a copy of this object where the following conditions should be working:

* output - deep clone object where assertion input === output false i.e `test obj === clone obj   //false`

* If we'll change any value in test object then it should not affect the cloned object.

```javascript
// write a function to deep clone an object

let test = {
  past: [{day: 31}, {month: 12}, {year: 2020}],
  present: [{day: 1}, {month: 1}, {year: 2021}]
}
```

We'll solve this problem using recursive function and reduce out bigger problem into smaller chunks.

```javascript

let test = {
  past: [{day: 31}, {month: 12}, {year: 2020}],
  present: [{day: 1}, {month: 1}, {year: 2021}]
}

const deepClone = (input) => {
    let result = {};

    // logic here

    return result;
}

console.log(deepClone(test))

```
So here we'll iterate over each key in the object that's why we'll use `for in` loop. [Learn more](https://www.30secondsofcode.org/articles/s/javascript-for-in-for-of-foreach)

```javascript
for (let key in input){
    result[key] = deepClone(input[key])
}
```
Using this we'll get the following output where we have only empty objects and value is not passed to the each key.

```javascript
// output
[
  past: [ [ day: [] ], [ month: [] ], [ year: [] ] ],
  present: [ [ day: [] ], [ month: [] ], [ year: [] ] ]
]
```

To get each and every value we have to check whether an input is object or not! If input is not a type of object we'll just return the input value.

```javascript
 if (typeof input !== 'object'){
    return input
  }
```
After applying the above condition we just reached our output and just need the data in exact format. As of now we have the following output.

```javascript
[
  past: [ [ day: 31 ], [ month: 12 ], [ year: 2020 ] ],
  present: [ [ day: 1 ], [ month: 1 ], [ year: 2021 ] ]
]
```

To fix this we have to check the type of the input and if it's an array then we'll assign results as an empty array else an object.

```javascript
let result = Array.isArray(input) ? [] : {}
```

So, here we're finally done with the code implementation of deep cloning an object using recursive approach in javascript. Hope this solution help you understand the basics.

Now have your hands on the [code playground.](https://replit.com/join/uboeihuxwh-nandkk05)

There are endless amounts of useful resources out there, so if you have any recommendations, let everyone know in the comments. I would love to add a few more bookmarks myself.

Thank you so much for reading and recommend me some topics you like to read about. 🙌
Rotate Circular Text  Animation | Using HTML, CSS & CircleType JS
Tags: html, javascript, css
Published: 2021-09-29 19:52:51

Hello Everyone I am back with another awesome tutorial, in this video ill show you how to create Circular text animation using Circular Type JS.
Please share the video and subscribe to my channel.

youtube link: 
https://youtu.be/zqxJLH1wjZM
Links:
Circular Type js : https://circletype.labwire.ca/

Source code:
https://github.com/Ui-geeks/Circular-Text
What do you want to know about Vue.js and its creation? Answer to be featured on our podcast 🎧
Tags: podcast, discuss, vue
Published: 2021-09-29 19:43:22

---
title: What do you want to know about Vue.js and its creation? Answer to be featured on our podcast 🎧  
published: true
description: 
tags: podcast, discuss, vue, vuejs
---

The [DevDiscuss Podcast](dev.to/devdiscuss) begins with an interview and ends with commentary from listeners — and we like to feature the _actual_ voices from our community!

To inform an upcoming episode of the show, we'd like to know...

> ### **What do you want to know about Vue.js and its creation?**

For your chance to hear your actual comments on an upcoming episode, answer the question above by:

- Calling our Google Voice at +1 (929)500-1513 and leave a message 📞

- Sending a voice memo to pod@dev.to 🎙

- OR, leaving a comment here (we'll read your response aloud for you) 🗣

Please send in your recordings by TOMORROW Thursday, September 30th at 9 AM, ET (1 PM UTC, 6 AM PT)

#### Voice recordings will be given priority placement 😉

Catch up on recent episodes of the show [here](https://dev.to/devdiscuss) 👀
My Journey to flexiple
Tags: react, angular, algorithms
Published: 2021-09-29 19:26:47

So I officially joint flexiple has a freelance developer 29/9/2021 🥳🎉.I would be explaining  how I got into flexiple in this blog post.


I can't really remember what I was googling when I saw an advert by flexiple .So I sign up and the company recruiter schedule a call with me the following week.
In this scheduled call I talked about my job experience and project I have worked on .It was pretty straight forward .I and the interview connected a little bit.

After this process, flexiple prepared my CV by trying to  organize it to suite potential client i would work with in the future. Which was pretty straight forward and fast.

The final stage was divided into two stages
1.Technical Interview 
2.Live coding challenge


So I had to start preparing for this interview with leetcode and Hacker Ranker. I  started practicing algorithm, learnt recursion, binary search, Hash tree etc. 

To prepare further someone shared a picture of some AlogExpert algorithms  questions and  how it helped him land is current  job .I took a screen shot and started solving this algorithms one after the other .Note  I didn't solve all

![WhatsApp Image 2021-09-29 at 8.17.49 PM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pd5monmws6rmurxmnm5e.jpeg)
 

To cut the long story short I did the code challenge and I am officially a freelance developer at flexiple looking forward to the journey ahead.
5 Basic linux commands with detailed explanation and their resemblance to windows.
Tags: linux, linuxcommands, beginners
Published: 2021-09-29 19:15:37

Linux sometimes seems to be very difficult from the outside but once you get a head start there are a ton of possibilities with linux which are not available with windows. Obviously you may not get as attractive and beginner friendly interface as windows does but everything comes with a price doesn't it.

Here I will list 10 commands and explain them which you could try out yourself on your linux OS right away and experience it yourselves. 

1. **df**  
this command will show the amount of available disk space and used disk space for file system to which you as a user currently has access to. For eg : if you have a dual boot system established in your pc and your linux OS doesn't have access to the D folder.If you run this command on your linux terminal then you wont be able to see the partiton of used and unused space of D folder. this command is same as when you open the disk management tool in windows.
![df command](https://i.imgur.com/9ds5e0B.png)

2. **top**  
This command when you type in your terminal it will show the active linux processes which are managed by your linux kernel. This command is used like how you would use task manager in windows, the difference being , it shows the details of all the processes in far more depth than windows does.
 * it will look something like this when you type the command.
![](https://imgur.com/ULJ9dee.png)
 * this is what is meant by each column head.
![](https://imgur.com/qTZSL7Z.png)
you can press 'q' to exit this window in your termial.

3. **ls**
This command list all the files and directory present in the location of where you are in your system. for example if you are in a directory games which has 3 sub-directory. then this command will list those 3 sub-directory.
observe in the below image how the directories are highlighted in the terminal.
![](https://imgur.com/3QKd57l.png)  

4. **cd**
This command is a fairly self explanatory command,'''cd''' is a change directory command when you type ```cd [directory name] ```then you will be in that particular directory. If you type ```cd ..``` you will go in the root directory of current directory.  

5. **touch**
This command is used to create a file. This works like when you right click and create a new document in windows. You have to type ```touch [filename.extension]```
Link Whisper Review: So funktioniert das Link-Tool für WordPress
Tags: wordpress, links, wordpressplugins
Published: 2021-09-30 11:49:01

---
title: Link Whisper Review: So funktioniert das Link-Tool für WordPress
published: true
date: 2021-09-29 19:04:50 UTC
tags: WordPress,links,WordPressPlugins
canonical_url: https://bloggerpilot.com/link-whisper/
---

![Link Whisper Review](https://bloggerpilot.com/wp-content/uploads/2021/09/linkwhisper.png)

Link Whisper ist ein einfaches und leicht zu bedienendes WordPress-Plugin, mit dem du interne Links zu deinen Posts setzen kannst. Es ist eine großartige Möglichkeit, den Traffic auf deiner Seite zu erhöhen und die Suchmaschinenoptimierung deiner Seite zu verbessern. Link Whisper wird deinen Blog nicht in ein soziales Netzwerk verwandeln, aber es hilft dir, Links aufzubauen und den Traffic auf deiner Seite zu erhöhen.

Der Original-Artikel erschien auf [Link Whisper Review: So funktioniert das Link-Tool für WordPress](https://bloggerpilot.com/link-whisper/).