teleren/devto huggingface dataset:
GeeksforGeeks Local
Published: 2021-03-20 12:24:31

As you have seen the title some may know about programming languages and some may don't. So don't worry here we will understand about programming languages.

Many of u must have heard about C++,java,c#,pyhton etc... What are these words?
They are all programming languages.but a question arises why do we study these language and where do we use it?What is a programming language?

Programming language is a formal language comprising a set of instructions that produce various kinds of output. 
Programming languages are used in computer programming to implement algorithms.

now i will tell u why we study these languages so because it is a creative and enjoyable problem solving activity. 
To improve our ability to develop effective algorithms.These are some reason why we study programming languages.
Programming languages are used in computer programming to implement algorithms. Most programming languages consist of instructions for computers. 
There are programmable machines that use a set of specific instructions, rather than general programming languages.
Now i will tell you about different types of programming languages

1.PHP – this is a general-purpose scripting language known for its steep learning curve. It is very beginner-friendly, and on top of that it backs a large chunk of all the website out there.

2.Python – certainly this one is considered a more “grown-up” programming language than the above-mentioned PHP. It is fairly popular hence its usage in web-development. Furthermore, it is one of the popular choices across universities. 
This is because of the language friendliness when it comes to mathematical algorithms and machine learning.

3.JavaScript + CSS + HTML – This is the “holy trinity” of the front-end development. You can't go wrong with topics such as these since all programmers need to know about these technologies to some extent. 
Due to their massive popularity, there is an entire community dedicated to improving the front end space, while also a large number of potential newbies are joining in each day. 
Therefore, you'll have both new topics and new potential readers on a regular basis. 

So if you are not really into a programming language, don't despair! The programming world offers a variety of other subjects for you to consider.
#geekweeklocal
Geek Week Local: An Experience
Tags: geekweeklocal, beginners, webdev, writing
Published: 2021-03-20 11:50:24

Challenges can be very unique. People always run away from them, yet when we face them, we don't find any more contentment. I was going through a similar situation while learning to code, aware of all the resources but too scared to take them up. I was as much as a novice, with little experience thanks to Harvard's CS50 course on edX, which really improved my fundamentals. But I had never thought of participating in a coding event. I felt that I should take it up a notch higher, and the online classes of my college fueled that zeal. Enter Geek Week Local: an event for beginners and experienced alike, conducted by the GeeksForGeeks Student Chapter at VIT (Vellore Institute of Technology), Bhopal campus. Guild was formed and competed against each other through daily and weekly tasks, technical and non-technical. Today, it's the 6th day, and looking back, I'd say that I've had an experience like no other.

 I learned a lot of things, such as exploring GitHub, web development basics, etc. I also got familiar with Android Studio (a snippet of which is shared), deploying a website, voice assistant, artificial intelligence in a game of chess, etc. Along with these, I also performed some non-technical tasks such as writing a blog on medium, having a friendly chat with my other guildmates, and sometimes taking a break with a cup of coffee. One thing I learned, and maybe it is the most important of all, is to never stop thinking.
📝Steps to take before starting a new Open-source project.📝
Tags: opensource, todayilearned, tutorial, discuss
Published: 2021-03-20 12:06:49

In this blog, we will see some good practices which you can include in your next open source project.

<h3 align="center">🔖 License Agreement: </h3>
It is said that if your project does not consist of a License agreement then it is not an open-source project but it is a free source project. So it is always good practice to add one to your project. You can add either of the pre-made licenses or add a custom license.

<h3>🔖 Readme.md: </h3>
It is obvious that you know your project very well and knows how to run it on the local system. But, this is not the case with other people who want to contribute/use your project. It is best practice to add a readme file in your project which includes the following:
- About project
- Project tags (https://shield.io/)
- Screenshot / GIF of working project
- Pre-requisites
- Instructions for new contributors
- How to set up a local environment
- Any additional instruction
- Recognition to contributors/ sponsors

<h3>🔖 Contributing.md: </h3>
This is an important file and acts as a manual for new contributors to your project. It may contain the following things
- Pre-requisites
- Instructions for new contributors
- How to set up a local environment

<h3>🔖 CODE_OF_CONDUCT.md: </h3>
This is a most undervalued file. The name of the file is self-explanatory. This file contains the rules and regulations one needs to follow while contributing to the project and interacting with other contributors to the project.

<h3>🔖 Issue & PR Template: </h3>
There is yet another important file you should include in your project. This files basically ensures that the raise issue/PR gives the information to the point and creates equilibrium between other issues/PR

<h3>🔖 GitHub Actions: </h3>
This is optional. But, if you add an action to your project. You can take your project to another level. These actions are basically triggers that initiate after a particular task. For example, you can add an action that congratulates the contributor after raising an issue/PR.
GeeksforGeeks-VIT-Bhopal/GeekWeek-Local
Published: 2021-03-20 11:23:40

Geek Week: Local is a week-long hackathon of creating hacks, solving problems, and building profiles both big and small. Choose between daily and week-long challenges that vary in difficulty, so whether this is your first time coding or you’re a seasoned expert, Geek Week has something for you. The more challenges you conquer, the more points you’ll earn and make your position on the leader-board.
During this time, you can expect challenges for all skill levels. These challenges can be completed on your own time, and new ones will be released each day on our website! Once the daily challenges are announced, you’ll have 24 hours to complete and submit them in order to earn those points on the leader-board.

If the daily challenges aren’t quite your speed, there will also be plenty of week-long challenges you can complete at any time. These will range from quick technical challenges to tasks you can complete with your guild-mates (guild=team), both beginner-friendly and technically advanced so there is something for everyone.
Pattern Matching in Python
Published: 2021-03-20 11:03:24

---
title: Pattern Matching in Python
published: true
description:
tags: 
//cover_image: ![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/24ic5ybfl6hb6ozxypo6.jpg)
---
Python 3.10 has introduced [Pattern Matching](https://en.wikipedia.org/wiki/Pattern_matching). I've been eager to try this out for some time now. I first found out about pattern matching when I tried out Elixir lang a while back. Python 3.10 is still pre-release, you can download it [here](https://www.python.org/downloads/release/python-3100a6/) or use [asdf](https://asdf-vm.com/#/) to install it.

Let's go through some use-cases which will help in gaining a good grasp of what's possible with pattern matching. In my day job, I use the Django web framework for developing web applications and create RESTful APIs. A common pattern when creating objects and saving in DB is:

{% gist https://gist.github.com/lenniezelk/60d3b9e545ce122da522a0c803450c64 %}

`get_or_create` returns a tuple of the user and a bool indicating whether the user was created or was just fetched from DB.

A different approach using pattern matching would be:

{% gist https://gist.github.com/lenniezelk/941ccd8709a220729ee6715ba5ae8997 %}

The first case matches when a new user is created, and the second matches when the user was not created.
Now, this takes away the readability a bit but `get_or_create` is common enough in Django to allow for this. In most cases weigh out the loss of readability vs the gains particularly in the beginning before pattern matching becomes common in the Python community.

Pattern matching allows for guards. Let's say you need to carry out some action if the newly created user is a superuser:

{% gist https://gist.github.com/lenniezelk/12a0c84cfc94bb03670b80b8e92fe03b %}

The first case would match for newly created superusers and the second for the other newly created users.

Another use-case would be pattern matching the response code when fetching data from the internet using for example the requests library:

{% gist https://gist.github.com/lenniezelk/e7e4c4427347aa5fdff1bdfd9b66e25b %}

The `401 | 403` is combining several literals in a single pattern. In other words `401 or 403`.

It is possible to pattern match on dictionary key and values. For example, if you fetch some data and want to extract specific fields from the response dict:

{% gist https://gist.github.com/lenniezelk/9032ff0aacf00a59c7dd254d3019f118 %}

The first case captures the values for `id` and `email` and ignores the rest.

I hope this whets your appetite for pattern matching in Python. To learn more on this have a look at Guido's [tutorial](https://github.com/gvanrossum/patma#tutorial).
Gift Card Generator
Tags: gift, card, generator, netflix
Published: 2021-03-20 11:02:17

# All In One Generator

With this program, you can generate **gift cards, activation keys** or **codes** in any format you want for all platforms you want.

Currently available modules
 - Netflix Gift Card Generator
 - MalwareByte ID & Key Generator
 - MalwareByte Only Key Generator
 - Amazon Generator ( Pattern Type: XXXX-XXXXXX-XXXX) [Module - 1]
 - Amazon Generator ( Pattern Type: XXXX-XXXXXX-XXXXX) [Module - 2]
 - Special **Gift Card, Activation Keys** and **Codes Generator**

# Program Usage

 1. After you open the program, there are modules to choose from.
 2. Enter how many pieces you want to produce.
 3. **Congratulations**, any number of code randomly generated

# Sample images from the program

## Netflix Gift Card Generator

![enter image description here](https://i.ibb.co/RgnFp2k/program-1.png)
![enter image description here](https://i.ibb.co/28rh0dN/program-2.png)

## Special Code Generator
![enter image description here](https://i.ibb.co/Cb5SVQC/program-3.png)

## Special Codes - Results
![enter image description here](https://i.ibb.co/30WHcyv/resim-2020-11-09-202948.png)


## Al Modules

 1. Netflix Gift Card Generator
 2. MalwareByte ID & Key Generator
 3. MalwareByte Only Key Generator
 4. Amazon Generator ( Pattern Type: XXXX-XXXXXX-XXXX) [Module - 1]
 5. Amazon Generator ( Pattern Type: XXXX-XXXXXX-XXXXX) [Module - 2]
 6. Special  **Gift Card, Activation Keys**  and  **Codes Generator**
restful api and framework front-end in web development
Tags: vue, react
Published: 2021-03-20 10:47:13

hello i've a look about console network of dev.to website so i've seen the api for retrieve data it is public even the api url is displayed so the question how we can hide the api url and hide these data from network ? thank you 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v3j6cdq7lnrdurhf9g2g.PNG)
Starting out as a freelancer?  What do you charge?
Tags: freelance, selfemployed, pricing, webdev
Published: 2021-03-20 10:34:20

When you start out working for yourself, one of the first questions that crops up is "what should I charge?"

It seems like a natural place to start.  

But it's the wrong question.  

Sorry to make it hard for you, but there are a whole series of things you should be asking yourself first.  

Who is my client?
What do they want?
Why do they want it?
What's it worth to them?
Why should they choose me?

You need to put yourself into your client's shoes.  

They need an expert.  Because they want to improve their business.  

Ultimately that means they want to save money.  Or make money.  

Now think about what you do.  

How much impact will you have on their business?  Is it greater than money they are looking to make?

How much will it cost you to deliver that impact?  And remember - time is a cost, change requests are a cost, grief and heartache and getting yelled at by an arsehole are a cost.  

Now choose a price that's above your costs and below your impact. And show them why they should trust you.  

Because price is just a number.  Impact is what counts.
Solutions and components, usually managed with javascript, built in pure css
Tags: css, javascript, tutorial, webdev
Published: 2021-03-20 10:31:56

---
title: Solutions and components, usually managed with javascript, built in pure css
published: true
description: Today performance is key as most of the traffic is by far mobile, it would be really silly to use js for some simple animations while in others, sadly, a state class still needs to be added.
tags: css, javascript, tutorial, webdev
cover_image: https://images.unsplash.com/photo-1503164046765-c2dd32d51708?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=757&q=80
---

Coding interfaces in which I defined structures, components, css I'm also used to think about animations, micro interactions and functional ones. This phase calls some aspects into question.

In the early years of my career, I didn't pay much attention to performance, on the contrary the designers always pushed me to a massive use of javascript for every type of animation.
Today performance is key as most of the traffic is by far mobile, it would be really silly to use js for some simple animations while in others, sadly, a state class still needs to be added.

> I want to share with you some workarounds that I learned from the web, designed and used in some projects.

## Back to top
One of the most useless animations via js, used only to exploit the fluid effect of the scroll. It is a simple trivial link! 

So if you usually write:

```
$("#toTop").click(function () {
   $("html, body").animate({scrollTop: 0}, 1000);
})
```
You can then write:
```
<style>
html {
  scroll-behavior: smooth;
}
</style>

<a href="#top">To top</a>
```

## Dropdown
Usually this component works by clicking its label for open and close its panel in which to select the contents.
To get this construction without js we need to structure the component in such a way that the panel appears on the mobile focus or desktop hover of the component. So the panel must be nested inside the component with the `visibility: hidden` property.

{% codepen https://codepen.io/tamer_aka_remat/pen/XWNYrpe %}

## Scrollsnap
Recently css3 introduced this new specification supported in cross browser mode. https://caniuse.com?search=Scroll%20snap
A nice computational savings for our mobile device!
Defining a few properties the `.child` flow inside the `.parent` container in a fluid way, hooking themselves to the beginning of this.

```
.parent {
  scroll-snap-type: mandatory;
  scroll-snap-points-y: repeat(300px);
  scroll-snap-type: y mandatory;
}

.child {
  scroll-snap-align: start;
}

```

## Modal

Yes... it is possible, just without js.
I took a clear example from https://codepen.io/felipefialho which highlights how simple it can be to develop this component.
If with js we would have had to click on the `button` to add a class of the `modal`, with only the css we use the button as a `link` that refer to the modal as target:

```
.modal:target:before {
  display: block;
}
.modal:target .modal-dialog {
  ...
}
```

{% codepen https://codepen.io/felipefialho/pen/oEula %}
Top Core Advantages of DevOps For Businesses
Tags: coreadvantagesofdevops, advantagesofdevops, devopsdevelopment, devopsforbusinesses
Published: 2021-03-20 10:29:16

DevOps is a mixture of two words - development and operations. DevOps is a high-performance creative and innovation engine capable of delivering the best solutions at the speed of business. DevOps practices will come up with competitiveness of organization and enterprises and it helps to increase productivity, quality, and revenues in the organization. DevOps manages IT complexities while maintaining the pace that the agility sets.

**We discussed the top biggest advantages of DevOps in development as below.**
 
1. Dedicated teams
2. Improved communication and collaboration
3. Supports end-to-end responsibility
4. Mitigation
5. Improved Build Quality
6. Improved Application Reliability
7. Costs savings

Benefits of DevOps can consistent improvements in maintaining application software quality, scale and predictability, cost-effective, testing, and deploying software and satisfy clients requirements faster. You can read our more web and mobile development blog at [Best Digital Trendz](https://bestdigitaltrendz.com/). If you are looking for a content post, read our guidelines and [write to us](https://bestdigitaltrendz.com/write-to-us/).
Geek Week : Local
Tags: github, geekweeklocal, geekforgeeks
Published: 2021-03-20 10:25:00

Geek Week: Local is a week-long hackathon of creating hacks, solving problems, and building profiles both big and small. Choose between daily and week-long challenges that vary in difficulty, so whether this is your first time coding or you’re a seasoned expert, Geek Week has something for you. The more challenges you conquer, the more points you’ll earn and make your position on the leader-board.
Geek Week: Local taking place from 14/03/21 to 21/03/21.
During this time, you can expect challenges for all skill levels. These challenges can be completed on your own time, and new ones will be released each day on our website! Once the daily challenges are announced, you’ll have 24 hours to complete and submit them in order to earn those points on the leader-board.
If the daily challenges aren’t quite your speed, there will also be plenty of week-long challenges you can complete at any time. These will range from quick technical challenges to tasks you can complete with your guild-mates (guild=team), both beginner-friendly and technically advanced so there is something for everyone.
WHAT WE LEARNED ?
Power of Patience
During coding, we got many obstacles. One of the major obstacles is the error in the code. But after we practiced writing enough codes and learned to find out the errors, we developed a quality of patience to calm our minds and think sensibly because this is a critical factor in finding the fault.
Power of Perspective
Coding or solving questions helps us understand the world from a different perspective. While solving coding questions, many problems require a different perspective. With practice, you gain experience, and with experience, you gain perspective; it’s as simple as that.
Power of Logical Thinking
Coding helps strengthen your thinking capability as many difficult questions need healthy thinking to crack it. We also need logical thinking. Before solving a problem, we have to identify the logic used to solve the question and find out the different logical ways, and coding helps us put our brain in that situation.
GEEK-WEEK-LOCAL
Tags: coding, geekweek, vitbhopal, enthusiasm
Published: 2021-03-20 10:24:55

Geek Week: Local is a week-long hackathon of creating hacks, solving problems, and building profiles both big and small. Choose between daily and week-long challenges that vary in difficulty, so whether this is your first time coding or you’re a seasoned expert, Geek Week has something for you. The more challenges you conquer, the more points you’ll earn and make your position on the leader-board.
Geek Week: Local taking place from 14/03/21 to 21/03/21.
During this time, you can expect challenges for all skill levels. These challenges can be completed on your own time, and new ones will be released each day on our website! Once the daily challenges are announced, you’ll have 24 hours to complete and submit them in order to earn those points on the leader-board.
If the daily challenges aren’t quite your speed, there will also be plenty of week-long challenges you can complete at any time. These will range from quick technical challenges to tasks you can complete with your guild-mates (guild=team), both beginner-friendly and technically advanced so there is something for everyone.
WHAT WE LEARNED ?
Power of Patience
During coding, we got many obstacles. One of the major obstacles is the error in the code. But after we practiced writing enough codes and learned to find out the errors, we developed a quality of patience to calm our minds and think sensibly because this is a critical factor in finding the fault.
Power of Perspective
Coding or solving questions helps us understand the world from a different perspective. While solving coding questions, many problems require a different perspective. With practice, you gain experience, and with experience, you gain perspective; it’s as simple as that.
Power of Logical Thinking
Coding helps strengthen your thinking capability as many difficult questions need healthy thinking to crack it. We also need logical thinking. Before solving a problem, we have to identify the logic used to solve the question and find out the different logical ways, and coding helps us put our brain in that situation.
GeeksforGeeks Local
Published: 2021-03-20 10:22:44

This challenge was started on 14th of march that help us learn lots of new stuff like making profile on github and how to use it,
 making personal fortfolio, making linkedin profile, different different programming challenges like encrypting password, 
making project with GUI,web automation,daily dsa challenges on different platforms,doing non-technical task like sharing meal with guildmates, 
playing games with them.
I think main moto of this was to make students inateract with other and do some fun task.
#geeksforgeekslocal