teleren/devto huggingface dataset:
BazaIT | Made with Angular JS
Published: 2022-06-23 11:03:50

![BazaIT | Made with Javascript | Angular JS](https://res.cloudinary.com/madewithjavascript/image/upload/v1655611174/large_baza_it_made_with_angular_js_2cc6c5d3fc.jpg "BazaIT | Made with Javascript | Angular JS")


### End-to-end career and talent development platform!

> On BazaIT platform product mindset companies can manage whole hiring process by detailed filters, matching, dashboard. And specialists can find a product mindset teams that meets their requirements and values.
> 
> ### Who we are
> A deep personal expertise in recruiting and HR in IT helped us crystalize all the needs of the market, and by adding a bit of courage we’ve managed to create a true product. An empathy and support of the community helped us find “the one true” team for this. A team that has common values and goals that achieves together. When everyone is different, but they complement each other in their diversity and create something important.
> 
> Here we are - completely different, ambitious and in love with the product we make. Let`s become lifelong career partners.

## Check out more such amazing projects on our website

[Made with Javascript](https://madewithjavascript.club)

## Want us to feature your project

[Submit your Project to Made with Javascript](https://madewithjavascript.club/submit-project)


You can also write to us for any of your queries at:

[Email Made with Javascript](mailto:madewithjavascript@gmail.com)

## Project already shared on our social media handles.

| SocialMedia | SharedLink |
| ----------- | ---------- |
| Twitter | [BazaIT on Twitter](https://twitter.com/withjavascript/status/1539925892578910210?s=20&t=aac1OiDQIAM1ay_liu6foA)
 |
| Medium | [BazaIT on Medium](https://medium.com/@madewithjavascript/bazait-made-with-angular-js-cfdadc1b7469)
 |
| Facebook | [BazaIT on Facebook](https://www.facebook.com/madewithjavascript/posts/pfbid0SBesVg7xwYdJBrM9Fpsqxtt6ses7wLSmexR9naF3p5Zo4k2RChKM38c2f2hcTwmTl)
 |
| Tumblr | [BazaIT on Tumblr](https://www.tumblr.com/blog/view/madewithjavascript/687847187723567104?source=share)
 |
| LinkedIn | [BazaIT on LinkedIn](https://www.linkedin.com/feed/update/urn:li:activity:6945691953539821568)
 |
| Pinterest | [BazaIT on Pinterest](https://pin.it/4ldzpih)
 |


Filled Under:

 - [Made with Javascript](https://madewithjavascript.club)
 - [Made with Angular JS](https://madewithjavascript.club/categories/angular-js)

Make sure to give this post ❤ 50 ❤ hearts, click the 🦄 unicorns 🦄 and follow 👉 @madewithjavascript 👈 for more such awesome showcases. Show you love for the people who have worked so hard!
Viajar a Errenteria en verano
Tags: travel, spain
Published: 2022-06-23 10:57:48

El municipio y la ciudad de **Errenteria** se sitúa en la provincia de Guipuzcoa. Cabe decir que es una de las ciudades de esta provincia más poblada. Solo está por detrás de Irún y San Sebastián. Así que no hace falta decir que tiene muchísimo que ofrecer, como el Parque Natural Aiko Arria.

La ciudad de Errenteria está repleto de patrimonio que puedes visitar, así como actividades que puedes hacer y disfrutar tanto solo como entre amigos o familia. Ya hemos hablado del Parque Natural, pero no de la Reserva Forestal de Añarbe con sus espacios protegidos. En esta reserva encontrarás muchos recorridos y actividades entre los bosques perfectos para los amantes de la naturaleza.

El centro histórico de [Errenteria](https://www.guipuzcoaexiste.es/guipuzcoa/errenteria/) tampoco te dejaría indiferente si vas. El Fuerte de San Marcos es precioso y, en un pasado, fue útil para los militares tanto de guerras carlistas como de la civil. Está perfectamente conservado y se ha transformado en un precioso mirador.

Creo que no hay nada mejor que hacer en verano que huir del calor y sumergirse en territorios como este.
Fleet | Made with Next JS
Published: 2022-06-23 10:55:32

![Fleet | Made with Javascript | Next JS](https://res.cloudinary.com/madewithjavascript/image/upload/v1655595825/large_fleet_made_with_next_js_84edbfff50.png "Fleet | Made with Javascript | Next JS")


### Simply, equip your business with the best computers

> Fleet simplifies the equipment, management and renewal of computers and telephones for companies via an all-inclusive subscription.
> 
> ### Centralize the management of your computers with the Cockpit
> How to simplify the management of computers and cellphones using the Cockpit? Managing a fleet of computers and cellphones is technical, time consuming and can even be frustrating.
> 
> #### Centralized management of your IT infrastructure
> See at a glance all the key information about your IT fleet, whether your devices are rented from Fleet or not.
> 
> #### Acquisition of devices
> A leasing solution to equip employees with the best computers and cellphones in a few clicks and streamline IT costs.
> 
> #### IT park management
> A platform to centralize its equipment, manage the allocation of devices and monitor the resolution of incidents. A dedicated contact in case of concern.
> 
> #### Responsible renewal
> A renewal of the equipment every 36 months to benefit from the latest computers on the market. Fleet takes care of giving your old devices a second life.

## Check out more such amazing projects on our website

[Made with Javascript](https://madewithjavascript.club)

## Want us to feature your project

[Submit your Project to Made with Javascript](https://madewithjavascript.club/submit-project)


You can also write to us for any of your queries at:

[Email Made with Javascript](mailto:madewithjavascript@gmail.com)

## Project already shared on our social media handles.

| SocialMedia | SharedLink |
| ----------- | ---------- |
| Twitter | [Fleet on Twitter](https://twitter.com/withjavascript/status/1539924043629043714?s=20&t=15dweePo9M-5d0KU6Un88A)
 |
| Medium | [Fleet on Medium](https://medium.com/@madewithjavascript/fleet-made-with-next-js-279d09bf3ece)
 |
| Facebook | [Fleet on Facebook](https://www.facebook.com/madewithjavascript/posts/pfbid0MorCRSUda2SHEWjaWHCfAQgSFCVM9nL7AYJAxBrSiNjMu2ybawSr6HheWpu27B2ul)
 |
| Tumblr | [Fleet on Tumblr](https://www.tumblr.com/blog/view/madewithjavascript/687846646938288128?source=share)
 |
| LinkedIn | [Fleet on LinkedIn](https://www.linkedin.com/feed/update/urn:li:activity:6945689814163746816)
 |
| Pinterest | [Fleet on Pinterest](https://pin.it/10jCHCE)
 |

Filled Under:

 - [Made with Javascript](https://madewithjavascript.club)
 - [Made with Next JS](https://madewithjavascript.club/categories/next-js)

Make sure to give this post ❤ 50 ❤ hearts, click the 🦄 unicorns 🦄 and follow 👉 @madewithjavascript 👈 for more such awesome showcases. Show you love for the people who have worked so hard!
I wrote a post about Cypress auto-tests integration into open-source Woodpecker CI
Tags: cypress, autotests, woodpeckerci, droneci
Published: 2022-06-23 10:53:07

As always we try to achieve result in most simple way with minimal steps count. Hope you will enjoy it!

https://devforth.io/blog/run-cypress-auto-tests-in-woodpecker-ci/
Python Exercise 14: sum of fractions
Tags: beginners, python, challenge, devjournal
Published: 2022-06-23 10:33:00

## Question
- Create a function that takes a list containing **nested lists** as an argument. 
- Each sublist has 2 elements. 
- The first element is the numerator and the second element is the denominator. 
- Return the sum of the fractions rounded to the nearest whole number.

### Examples
```
sum_fractions([[18, 13], [4, 5]]) ➞ 2

sum_fractions([[36, 4], [22, 60]]) ➞ 9

sum_fractions([[11, 2], [3, 4], [5, 4], [21, 11], [12, 6]]) ➞ 11
```

## My solution
- algorithm

```
>>separate the sublist in the nested list
  iterate over the nested list
>>separate elementes in the sublist
  iterate over the sublist
>>for each sublist, calculate the fraction
  set the first element to the numerator 
  set the second element is the denominator
  store the result to a variable called:total
>>return the variable total

```
- code
```python
def sum_fractions(nested_list:list):  
    total = 0  
    list_of_sum = list()  
    for sublist in nested_list:  
        division = int(sublist[0]) / int(sublist [1])  
        total += division  
    return round(total)  
```
## Other solution
- unpacking the sublist by multiple assignment
	- i.e. use numerator for the first element of the sublist
		- use denominator for the second element of the sublist

```python
def sum_fractions(lst):
	return round(sum(numerator/ denominator for numerator, denominator in lst))
```

## My reflection
- I have learned using multiple assignment instead of using index to access the value of a list.

## Credit
- challenge find on  [edabit](https://edabit.com/challenge/qaNmoG4dAXRL5JqvA)
What's the difference between a relative, fixed, absolute and statically positioned element?
Tags: webdev, css, html, beginners
Published: 2022-06-23 10:11:07

In CSS, elements can be categorized according to how they can be positioned in the document flow. There are two primary types: **non-positioned** and **positioned** elements. Positioned elements can further be divided into **relatively positioned**, **absolutely positioned** and **stickily positioned** elements.

Their differences lie in how they behave in relation to the normal flow of the document, how they react to position parameter values, and whether they are assigned a space in the page layout or not.

**Non-positioned / Static Elements**
A non-positioned element is an element whose position cannot be changed by setting a `top`, `bottom`, `right` and `left` property. It is, in effect, a Statically Positioned element which has its `position` property set to `static`. All elements are set to have a `static` position by default. The element is positioned according to the normal flow of the document.

**Relatively Positioned Elements**
Relatively positioned elements have their `position` set to `relative`. They also remain in the document flow, but can change their positions with offset values set by `top`, `bottom`, `right` and `left`. It is important to note that relatively positioned elements change their position relative to themselves, i.e. relative to their otherwise static position.

**Absolutely Positioned Elements**
Absolutely positioned elements can have their `position` set to either `absolute` or `fixed` -- each coming with slightly distinct behaviors. They are removed from the flow of the document and not assigned any space. By default, they occupy the top-left corner of their **containing block**. Their position can be changed with `top`, `bottom`, `right` and `left` values.

There is a difference between elements with `position: absolute;` and those with `position: fixed;` depending on where their containing blocks are located in the DOM tree. For `position: absolute`, the element's containing block is its **nearest positioned** (or non-static) ancestor - and so its position parameter values are applied relative to that container's edges. In contrast, for `position: fixed`, its containing block is the **initial containing block** (`<html>` element) or any ancestor which has a value other than `none` for any of `transform`, `perspective`, or `filter` properties. And so they are positioned relative to the viewport or any qualified containing block.

---
References

1. [Position](https://developer.mozilla.org/en-US/docs/Web/CSS/position)
2. [Layout and the containing block
](https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block)
Python vs .Net Which is the Best Coding
Tags: dotnet, python, c, webdev
Published: 2022-06-23 10:06:48

Python and .Net are two of the most widely used programming languages by developers in 2022. Both are built on OOP (object-oriented programming) principles, are simple to understand and program, provide rapid development, and high performance. Let's talk about which one is better for your business and why. Let's take a look at each one individually to better comprehend the differences. 

## Why Use Python? Why is it Becoming So Popular?

Python appears to be ideal for data analytics, machine learning, and data analytics. Python is superior in terms of community support and a number of fascinating open-source projects. Python is a bright spot in the computer programming for two motives: it can handle a wide range of tasks and it's actually a very beginner-friendly language. Python incorporates English keywords in its coding syntax, making it simple to grasp and learn.

It is used in machine learning and data science. For data research, the R programming language is most widely used. Python has grown in popularity for data science, especially among workers without advanced expertise in statistics or mathematical sciences, because Python code is regarded easier to maintain and more scalable than R code.

## Advantage of Using Python

* The Python programming language is so versatile that it allows developers to attempt new things. An expert in the Python programming language can create something new.
* Python does not impose any limitations on developers when it comes to creating applications. Other programming languages do not have such freedom and flexibility as learning this wonderful language provides.
* Python programmers are among the highest-paid programmers in the market, especially in the fields of data science, machine learning, and web development.

## What is .Net Framework?

.NET is a Microsoft-developed software development framework and ecosystem that enables rapid creation of desktop and web applications. It's a popular free platform that's now being utilized for a variety of applications because it provides the programming environment for the majority of software development phases. Businesses that want a wide range of services like desktop software, web-based services, and cloud infrastructure support, prefer using .NET.

You can create apps that run on Windows, Mac OS X, and Linux due to .NET Core, a suite of tools that includes the runtime, library, and compiler components. The .NET Core are entirely open source which have amazing runtime, best libraries, and compiler that are open for contribution on GitHub.

## Advantages of .Net Technology

* Code signing and code access capabilities in .NET ensure that the code written by a software developer is the code that the .NET Framework will execute.
* Furthermore, because .NET is created and maintained by Microsoft, the framework receives patches and updates to avoid assaults.
* In terms of collaboration, the .Net framework can help you earn more money. Because of its ease of use and versatility, dot net has been adopted by a variety of businesses.
Are you sure you are solving the right problem?!
Tags: community, startup, discuss, devops
Published: 2022-06-23 09:55:46

Most people who work in an organization have experienced the following scenario at some point: a team is given a goal, and they speed toward it, fearing that if they spend too much time defining the problem, their superiors will punish them for taking so long to get to the starting line. **This is ironically a wrong approach.**

The problem with this approach is that **you can't solve the right problem if you don't understand what it is**. And sometimes the problem is not even something you can solve! To find out what it is, you need to take your time to explore, ask questions, and listen to your colleagues' concerns.

Defining the problem correctly is not about finding an answer; it's about ensuring that you're working on the right question in the first place. The amount of time spent exploring and defining problems will be repaid with greater efficiency later on in your project because it will save time and money by avoiding mistakes later on!
Go Version manager | GVM
Tags: go, gvm
Published: 2022-06-23 09:28:46

There are several go version manager available out of which i found out GVM to be more reliable.

## Go Version Manager (gvm)

### Mac OS X Requirements
`xcode-select --install
brew update
brew install mercurial`

### To install:
`bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)`

![GVM installation demo by 0xankit](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/03j6jgiwo2ikfepm2h9a.png)

**Note:** _If you are using zsh just change bash with zsh_
**Note:** _Then you need to add gvm to env PATH_

And To install new go version:
`gvm install go1.18.3
gvm use go1.18.3 [--default]
gvm list
`
![GVM in action demo by 0xankit](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g307c3ygxj6ugt2rmc0f.png)

- 
`gvm install go1.18.3 -B` directly installs the binary!

- 
`gvm list` lists all installed go versions

- 
`gvm listall` lists all released go versions

## To uninstall:
To completely remove gvm and all installed Go versions and packages:

`gvm implode`
 

Checkout out official GVM repo for more [here](https://github.com/moovweb/gvm).
nextjs middleware
Published: 2022-06-23 08:51:28

Does anyone has a example of the waitUntil() methods, in nextjs middleware? Mine is not working..

```
export async function middleware(req: NextRequest, ev: any) {
  const { pathname } = req.nextUrl
 
  if (pathname) {
    return NextResponse.next()
  }

  ev.waitUntil(async () => {
   

  })
}
```
Accident Avoider Robot using Ultrasonic sensor
Tags: arduino, beginners
Published: 2022-06-23 07:59:00

In this blog, I will show you how to build an Accident Avoider Robot with an Ultrasonic sensor and an Arduino microcontroller.

![accident avoider](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e3jjv8kqstgk3kvk9krl.png)

### Components required 

- Arudino UNO 
- HC-SR04 Ultrasonic sensor
- Gear Motors 
- IC L293D

### Arduino UNO
Arduino is an opensource electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor , a finger on a button , or a twitter message - and turn it into an output - activating a motor , turning on a LED , publishing something online. To do so use the Arduino programming language (based on wiring) and the Arduino Software (IDE) based on processing.

### HC-SR04 Ultrasonic sensor
The Ultrasonic Sensor HC-SR04 is a distance measuring sensor. It emits an ultrasound at 40 000 Hz (40kHz) that travels through the air and bounces back to the module if it encounters an object or obstacle. You can calculate the distance by taking the travel time and the speed of the sound into account.

### Gear Motors
It is a DC motor with a gear box for decreasing the speed and increasing the torque and power . This type of motors is commonly used for robotic applications.

### IC L293D
IC L293D is a dual H-bridge motor driver integrated circuit that can drive current of up to 600mA with voltage range of 4.5 to 36 volts.

![l293d](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mmi2pl4v0srjo4jbc0hz.png)
 
### Code

```c 
#define trigPin 3
#define echoPin 2
int leftmotor = 4;
int leftmotor1 = 5;
int rightmotor = 6;
int rightmotor1 = 7;

void setup()

{
  Serial.begin(9600);
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
  //MOTORS
  pinMode(leftmotor, OUTPUT);// M1
  pinMode(leftmotor1, OUTPUT);// M2
  pinMode(rightmotor, OUTPUT);// M3
  pinMode(rightmotor1, OUTPUT);// M4

}
void loop() {
  int duration, distance;
  digitalWrite(trigPin, LOW);
  delayMicroseconds(2);
  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);
  duration = pulseIn(echoPin, HIGH);
  distance = (duration / 58);
  if (distance < 10)
  {
    digitalWrite(leftmotor, HIGH);//FORWARD
    digitalWrite(leftmotor1, LOW);
    digitalWrite(rightmotor, HIGH);
    digitalWrite(rightmotor1, LOW);
  }
  if (distance >= 10)
  {
    digitalWrite(leftmotor, LOW);//BACKWARD
    digitalWrite(leftmotor1, HIGH);
    digitalWrite(rightmotor, LOW);
    digitalWrite(rightmotor1, HIGH);
    delay(2000);
    digitalWrite(leftmotor, LOW);//RIGHT
    digitalWrite(leftmotor1, HIGH);
    digitalWrite(rightmotor, HIGH);
    digitalWrite(rightmotor1, LOW);
    delay(2000);
  }
}

```
Convert String to Date in Pandas and Python
Tags: pandas, datascience, date, datascientyst
Published: 2022-06-23 07:56:25

If you need to convert string to dates in Python and Pandas you can check:

[How to Convert String to DateTime in Pandas ](https://datascientyst.com/convert-string-to-datetime-pandas/)

It contains basic date conversion like:

```python
pd.to_datetime(df['date'])
```

plus extra examples like:

- custom date and time patterns
- infer date pattern
- dates different language locales
- different date formats

```python
pd.to_datetime(df['date'] , format='%Y%m%d HH:MM:SS', errors='ignore')
```

Also it will show if a given string contains dates with fuzzy matching.

Or mixed dates in a Pandas column:

```python
    if '/' in date:
        return pd.to_datetime(date, format = '%Y/%m/%d')
    elif '-' in date:
        return pd.to_datetime(date, format = '%d-%m-%Y')
    else:
        return pd.to_datetime(date, format = '%d.%m.%Y')
```
Trying to decide between TeamCity and CircleCi. Which one should i pick? for a beginner DevOps tasks?
Tags: devops
Published: 2022-06-23 07:54:49

---
title: Trying to decide between TeamCity and CircleCi. Which one should i pick? for a beginner DevOps tasks?
published: true
description: 
tags: DevOps
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xxv1tvlejk2yef6olmda.png
# Use a ratio of 100:42 for best results.
---
Describe z-index and how stacking context is formed.
Tags: webdev, css, html, beginners
Published: 2022-06-23 07:46:57

The `z-index` of an HTML element is a property that indicates the layer the element is placed in, in the **z-axis**. z-axis is the axis that goes into and out of the screen.

It is used to set the **z-order** of the element, in a possible scenario where elements can be stacked in layers across the z-axis.

**Default Stacking Order**
When `z-index` for an element is not specified, the stacking order of elements is formed from back to front like this:

1. The background and borders of the root element.
2. Descendant, non-positioned (or static) elements, following the order of appearance in the document.
3. Descendant positioned elements (or non-static), following the order of appearance in the document.

We can customize the stacking order of an element with an integer value for `z-index`. A higher value brings the element closer to the front and a lower value  sends it to back layers.

**Stacking Context**
A stacking context is a region where an element is placed in a layer computed from the value of its `z-index`. Its children become enclosed within that layer. Any stacking order to be formed inside itself are contained within this stacking context. In other words, descendants of a stacking context are isolated and do not interact with those from neighboring ones.

There are many instances when a stacking context is formed. 
Common examples include:
- Elements with position value of absolute or relative and have an integer z-index value.
- Elements with position value of fixed or sticky.
- Children inside flex containers, having an integer z-index.
- Children inside grid containers, having an integer z-index.

---
References
1. [Using z-index](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/Adding_z-index)
2. [The stacking context](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context)