teleren/devto huggingface dataset:
AWS- Serverless Approach
Tags: aws, serverless
Published: 2022-01-03 18:01:34


Serverless is actually an approach to software development, software applications rather than a technology or a set of technologies. 

The serverless approach delivers serverless applications at the end of it. So you can look at a serverless application and say it's serverless rather than saying a serverless technology is serverless. It's quite an important point to make. It doesn't make sense to actually define a single service as serverless so you can't have a serveless service. However, what is important, is that those services within AWS, that are the building blocks of some of these serverless applications are enablers. They enable those serverless applications to happen. Without them you couldn't actually build serverless applications. So let's have a bit of a think about what AWS says about serverless. This is a move into AWS course so let's just have a look at how they define serverless. This is the AWS.amazon.com/serverless page so you can go and have a look yourself it may have changed. What they essentially say is that the purpose of serverless is to enable the shift of operational responsibilities to AWS and increase agility and innovation. That's quite a nice way of putting this, of course, but we'd all like to increase agility and innovation. All of those things are lovely marketing speak. But what does that actually mean in practice, to shift operation responsibilities and to increase agility and innovation in practice? What does that actually mean? Well, I have a good way of trying to break this out into something a little more practical. I think that serverless is about being pragmatic and producing simplicity in your applications. Now simplicity is very difficult to achieve. Let's break that out a little bit more. I think it requires a shift in thinking from code to configuration. So, switching around thinking about code more to configuring applications and resources from high lines of code to low lines of code to actually reducing the amount of code you produce. From building services to consuming services. So, not trying to build as many service based applications and using the services that are available. And from owning workloads to disowning workloads. Actually trying not to build as much stuff. Now that we have the basics of what a serverless application is and what serverless is let's go and have a look at each of these principles in turn.





Reference: 

1. Site Reliability Engineering Book on Simplicity
2. O Reilly Talks on AES Serverless by Paul Johnston
Install Visual Studio Code on Windows PC (VS Code) In 100 Sec | Installation | CodeWithShriekDj
Tags: youtube, shriekdj, vscode, codewithshriekdj
Published: 2022-01-03 19:36:52

In this video we will see How to install and Use Visual Studio Code on Windows 7, 8 Or 10 PC In Just 100 Seconds.
---
If This Video Is Unable to Play Then, Click Below
{% youtube 3av9OuB1TmY %}
---
🌎 Find Me Here:
YouTube : https://www.youtube.com/channel/UCa5V6EeQdbsW9XIsGr2D_lw
Facebook : https://www.facebook.com/CodeWithShriekDj/


---
🎵 Music Credits of Background Music
Title: Dulce Reggaeton · An Jone
Source : https://youtu.be/R_2VklbZems
Other Source : YouTube Audio Library
Artist : An Jone · (https://www.youtube.com/channel/UCcaTVNH2tJmq4nFVNNpf-uA)
Background Music Genre : Dance & Electronic
Music Mood : Dark
Music Duration : 3 Minute 56 Second


---
📝 
System requirements and software description -
  • Operating System: Windows 7 or later, OS X 10.10 or later, Linux,
  • Software Type : Source Code Editor
  • Software Brief: Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. Features include debugging, syntax highlighting, intelligent code completion, snippets, code refactoring and support for embedded Git.
  • Software Brief Alternative: VS Code runs on Mac, Linux, and Windows. See Requirements for the supported versions.  VS Code is a free, open source editor.
  • Brief Description Reference: https://en.wikipedia.org/wiki/Visual_Studio_Code
  • Visual Studio Code (VS Code) Source: https://code.visualstudio.com/Download


---
References - 
Thumbnail Takes As Screenshot from VS Code's Website : https://code.visualstudio.com/
Thumbnail Image Edited in Figma : https://www.figma.com/


---
🎬 
Video Editor Used : ActivePresenter By Atomi Systems
Video Editor Source : https://atomisystems.com/download/


---
You Can Use This Video As Per Part of Your Videos and No Attribution Is Required.
Also I Have No Copyright to the software they are of respective copyright holders

I Am From India And English is not my language so there can be mistakes while talking.

> &#35;VSCode &#35;VisualStudioCode &#35;CodeWithShriekDj &#35;Programming &#35;Coding &#35;CodingLife
Setting up Jetbrains' Remote Development For WSL
Tags: productivity, linux, tutorial, engineeringmonday
Published: 2022-01-03 19:34:40

## Intro

JetBrains family of IDEs recently got an update that introduced remote development features to almost all of their editors, albeit in a beta state. As claimed by JetBrains , remote development allows you, among other things, to:

1. Connect to remote environments from anywhere in seconds
2. Secure sensitive code on a remote server
3. Introduce your team to cloud dev environments
4. Streamline onboarding and tech interviews

But, what this finally enables is frictionless development with WSL on Windows machines. Anyone that has used Jetbrains' IDEs with WSL knows about indexing problems, git issues etc. With remote development all of these go away since all that is done on the actual WSL system and presented to you on the Windows side with the new JetBrains Client. 

Setting up remote development is easy and I'm gonna show you how...

## Requirements

1. Windows Pro or greater
2. [WSL distro](https://docs.microsoft.com/en-us/windows/wsl/install) with SSH server enabled
3. A JetBrains IDE version 2021.3 or greater (PHPStorm in this case)

## Setting up

As I said previously, if you have all of the requirements satisfied setting up the project is really easy.
When you open up your editor you're going to be presented with a project selection screen as usual but with a new remote development option
![Project selection](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e2gyjyi0szbysafz9phj.png)
 
 So, select this new option and let's continue. You are going to be asked your SSH username and server address. The address is "localhost" in case of WSL and the username is the one you chose during installation. 
After that it's time to select your IDE, select whichever one you're using and select the folder of your project.

_Note: If you're having problems with IDE backend installation you can use "other options" and upload the installer file manually._


When everything is finished the JetBrains Client will launch and you are ready to start developing.

## Things to look out for

As this feature is still in beta some issues are to be expected. For example the IDE backend installation will fail in some cases but there is a manual workaround. Also, database tools have some weird issues, as well as the occasional UI glitch. Other than that, once it's out of beta it's definitely going to be the tool of choice when working with remote machines.
how to add Tailwind CSS to your Vue 2 project easily [in one command]
Tags: vue, tailwindcss
Published: 2022-01-03 19:21:48


In this video, I have explained how to add Tailwind CSS to your Vue 2 project easily, this video can be very helpful for those are trying the old fashion way and getting lot's of errors like tailwindcss postcss plugin tailwindcss requires postcss 8 etc

{% youtube 1494XtIYEts %}
Aspect Ratio Padding Calculator
Tags: codepen
Published: 2022-01-03 19:07:34

<p>Click and drag a shape of rectangle, copy the CSS to create a div the right size and shape. Works for empty divs – if you need content in them, add another div inside position:absolute; </p>

{% codepen https://codepen.io/harunpehlivan/pen/KKXRNzy %}
JavaScript Error: Parcel Won't Stop Rebuilding in Dev Mode
Tags: javascript, beginners
Published: 2022-01-03 18:51:16

Photo by <a href="https://unsplash.com/@dav420?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">David Pupaza</a> on <a href="https://unsplash.com/s/photos/error?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
  

While working on a little project for a course I'm doing, I was introduced to Parcel, instead of using Webpack as a bundler for front end applications. The bonus of using Parcel, is that it requires zero configuration setup. Once installed properly following the straightforward [instructions](https://parceljs.org/getting-started/webapp/) on their website, you're instantly up and running without a lot of the headaches that Webpack can cause. 

But when working on this project in development mode, I kept running into a strange error. Parcel should only rebuild and reload a page whenever a file is saved. 

Instead, Parcel continued to rebuild over and over again. Looking in the terminal, I watched as it kept rebuilding multiple times a second, to the point that it lagged the process and eventually crashed. 

Looking around the internet for a solution, I don't really understand why precisely this happens. Some of the discussion as to why the rebuild gets caught in an infinite loop mentioned this happening when running it inside Dropbox, something that I wasn't doing. 

What did work to fix this error, was to delete the `.parcel_cache` folder and to restart parcel again. Which seems to work fine, until another build error occurs and throws the rebuild back into an infinite loop. I'm not sure what's causing the error in the cache, but for the time being, this seems to be a moderate workaround so at least getting back to coding is possible. 

[github issue 3481](https://github.com/parcel-bundler/parcel/issues/3481)
peviitor.ro - scraper[3]
Tags: peviitor, job, scraper, locuridemunca
Published: 2022-01-03 18:01:25

Pasii care vor trebui implementati pentru a realiza un scraper pentru o companie, sunt:

1. `sterge datele din index`
2. `extrage locurile de munca din website-ul companiei`
3. `pregateste datele pentru a putea fi trimise prin API`
4. `trimite datele `= locurile de munca spre index

Acesta este algoritmul care va trebui scris pentru fiecare companie in parte. In ce limbaj scri scraperul nu este important, insa ce e important?

1. scraperul trebuie sa fie cat mai rapid
2. scraperul nu are voie sa preia de foarte multe ori pe zi date de pe website (acceptabil o data pe zi sau de doua ori pe zi)
3. datele care se trimit spre index trebuie sa aibe sens, si aici ne referim la faptul ca oamenii de HR s-ar putea sa introduca date gresite sau care nu au corespondent la noi in index.

#### Validarea datelor
Ne propunem ca inainte de a pune scraperul la lucru zilnic sa ne validam aceste locuri de munca pe un environment de test. 

Nu are sens ca datele din productie sa fie partial valide sau in proces de a fi corectate, astfel pana cand nu suntem siguri ca scraperul extrage corect datele, toate datele vor fi trimise catre un server de test.
Odata ce scraperul este validat, putem sa il programam printr-un proces sa se ruleze zilnic sau de doua ori pe zi.

#### Propunere de implementare scraper
Propunem spre implementare scraper cu tehnologiile: `JMeter`, `RegEx`, `JSON extractor` si pentru automatizarea de a se instantia o data pe zi: `GitHUB Actions`

In articolul urmator venim cu o solutie in care am implementat un scraper pentru o anumita firma.
> _ Random Password Generator
Tags: codepen
Published: 2022-01-03 18:34:13

<p>A random password generator that will make alpha-numeric, hexadecimal, or ASCII passwords of lengths 4, 6, 8, 10, 12, 14, and 16 chars long. You can then use a button to copy your password securely to the clipboard. </p>

{% codepen https://codepen.io/harunpehlivan/pen/RwLyKaZ %}
2022
Tags: newyear, aboutme, life
Published: 2022-01-03 18:15:55

Here is another vent-out from me. I felt like writing today so here I am. It is roughly 72 hours past 2022 and I am still how to utilize my time effectively in this new year. I had high hopes in the last few weeks of Dec'21 that I would make the next year a perfect one. But to be honest it hasn't been a great start.

So where is the problem? I suspect it is the lack of plan. I never planned anything solid to do in 2022. All I wanted was to be a better version of myself by doing more things that are productive. What activities do I classify as "productive"? That is a good starting question. If I can answer this question then I will get to know if my activities are aligned with my goals. Let me make it clear once again that my goal is to "make myself a better version by doing things that are productive".

I am doing an undergraduate course in Electrical and Electronics Engineering. Though I used to work/learn in Computer Science projects before I even took up the undergrad course it only makes sense to put more of my energy into projects related to my current course of study - Electrical and Electronics. The reason why I chose the Electrical and Electronics course instead of a CS major is a separate topic by itself. I did try to involve myself simultaneously in both CS and EE projects in the previous year only to end up in a hectic schedule and frequent burn-outs. So I am now clear to delve into only one area of interest at a time. 

Okay, so it is fixed that my primary focus is in doing projects and learning skills aligned towards Electrical and Electronics. What do I exactly do in this field? I can think of a few pathways. One, I could do a little extra of what I get to learn in my professional course. Like, if I get to learn about some circuits in today's class I could come back in the evening and try building a prototype of them. Or I could learn stuff that is not taught in the course but still is related to the field of Electrical or Electronics. The third pathway can be crossed-out as it involves me in CS projects after my day in college.

I am still not clear what I should choose: pathway 1 or 2. But yes, I did bring more clarity by writing out my thought process. Maybe I will come up with some concrete decision in some time. Meanwhile, the comments section are open to putting up your thoughts and how your New Year started. Did you start the year in a well planned out manner? How many of you are still holding on to your resolutions?
Random Password Generator
Tags: codepen
Published: 2022-01-03 17:58:28

<p>Just a small project I wanted to make while learning at <a href="https://harunpehlivantebimtebitagem.site123.me/" target="_blank">HP IT GROUP (TEBIM TEBITAGEM) TTGRT</a></p>

{% codepen https://codepen.io/harunpehlivan/pen/zYEjoXg %}
Camas articuladas eléctricas, la solución para un buen descanso de Tu Ortopedia

Published: 2022-01-03 17:56:37

¿Cuáles son las características adaptadas de las camas articuladas eléctricas?
Una de las grandes ventajas de las camas articuladas eléctricas es el uso del mando para controlar cada movimiento, de manera que el usuario pueda ganar autonomía y confort. Esto es posible gracias a su motor Germany con pilas de seguridad, las lamas de madera montadas sobre tacos basculantes de caucho y las patas regulables para colocarlo a la altura que se desee.

Asimismo, incluye muchas funciones ideales con el fin de asegurar un sueño reparador que están a disposición de quienes ingresen a la página web de Tu Ortopedia. Entre estas están los modelos individuales, de matrimonio con un lecho, o dos, con cabecero y barandillas de madera o batería de 9W, en caso de fallo de corriente.

Las piezas pueden llegar a cualquier localidad del territorio español, incluyendo las islas, en unos tres o cuatro días laborables. Además, estos incluyen instrucciones para una sencilla instalación o bien pueden optar por contratar su servicio de montaje.

Herramientas favorables en los tratamientos médicos
Las camas de Tu Ortopedia son elaboradas con tecnología de última generación para brindar calidad de vida a sus usuarios y a los cuidadores de pacientes geriátricos o de todas las edades, con necesidades específicas. Estas proporcionan control de la apnea del sueño, mejoría de padecimientos de columna, libertad de movimiento en casos en los que se necesita mejor circulación sanguínea y apoyo en tratamientos ortopédicos.

[ver mas...](https://diariodecapital.com)
Awesome Password Generator
Tags: codepen
Published: 2022-01-03 17:50:50

<p>Inspired by <a href="https://harunpehlivantebimtebitagem.site123.me//936/" target="_blank">HP IT GROUP (TEBIM TEBITAGEM) TTGRT</a></p>

{% codepen https://codepen.io/harunpehlivan/pen/MWEGbzz %}
La ortodoncia invisible en Castellón de la mano de la Clínica Blay + Monzó

Published: 2022-01-03 17:48:19

Ventajas estéticas y clínicas
La clínica especializada Blay + Monzó explica que este diseño de ortodoncia es prácticamente imperceptible. Sus usuarios podrán sonreír durante y después del tratamiento sin delatar que están llevando un aparato de ortodoncia. Gracias a un sistema de aligners, diseñado específicamente para los dientes de cada paciente, esta técnica es capaz de alinear poco a poco los dientes. Se trata de una mejora perceptible en pocas semanas.

Los especialistas aseguran que este tipo de ortodoncia contribuye en el aumento de la confianza de sus usuarios, sobre todo, cuando observan los resultados finales sin padecer de inconvenientes en el proceso.

Como ya se ha comentado, las férulas son removibles, por lo que no incomoda a la hora de comer o beber. Así, a la vez facilita y mejora la higiene dental, un problema que según diversos estudios suele afectar a los usuarios de brackets con bordes metálicos o afilados.

¿Cuáles son los beneficios de la ortodoncia invisible?
El tratamiento de la clínica especializada Blay + Monzó es predecible. Esto significa que se hace un estudio previo personalizado de cada caso, para que, así, el dentista pueda determinar con precisión cuando finalizará el tratamiento.

La clínica cuenta con un software de tratamiento que planifica de forma sencilla el proceso construcción de la nueva sonrisa. De esta manera, se pueden apreciar los resultados que se esperan obtener tras el tratamiento. 

En definitiva, las personas que acceden al tratamiento revolucionario de ortodoncia invisible que desarrolla la clínica dental castellón Blay + Monzó verán como su sonrisa se vuelve cada vez más perfecta. Todo ello gracias a que estarán a cargo de un equipo ampliamente cualificado y profesional en una de las clínicas dentales más avanzadas de Castellón. También disponen de otros tratamientos relacionados con la implantología, periodoncia o estética dental, los cuales se pueden consultar en su página web.

[ver mas...](https://diariodecapital.com)
¿Por qué se han hecho tan populares los NFT?
Published: 2022-01-03 17:45:41

¿Por qué se han hecho tan populares los NFT?
 A diferencia de los bienes fungibles (como, por ejemplo, un billete que se puede intercambiar por otros, ya que ninguno pierde su valor porque es el mismo), los bienes no fungibles son aquellas piezas que no se consumen ni se logran reemplazar por otra. La forma más sencilla de explicar este tipo de posesiones es a través de las obras de arte, ya que estas simplemente no se pueden permutar por otra igual debido a que, su valor jamás será el mismo.

Los bienes no fungibles son pertenencias únicas que no se permiten canjear. Por este motivo, los NFT han adquirido tanto éxito en los últimos meses. Estos activos digitales consiguen ser comprados y vendidos de igual manera que cualquier otra posesión, la única diferencia es que no cuentan con estructura tangible. En el caso de los NFT, estas son piezas multimedia tales como vídeos, fotos, memes, ilustraciones y animaciones irrepetibles que tienen un valor en el mundo real.

Lo que más ha llamado la atención de los internautas, son los precios exorbitantes que se están pagando por adquirir un NFT, sin embargo, es entendible que cada creador digital es libre de ponerle el valor que quiera a su obra.

Estos tokens digitales consiguen representar valores únicos. Por ello, miles de coleccionistas, inversores, productores de contenido e informáticos están apostando a la compra de NFT para asegurar su futuro debido a que estos a medida que pasa el tiempo, se van valorizando.

Mediante la tecnología de blockchain, se puede proteger y guardar la autenticidad de cada NFT y así, conocer quien fue su verdadero realizador. Por lo tanto, estos bienes siempre estarán asegurados.

Una apuesta en la creación de contenido de bienes no fungibles con Lobo Studio

[ver mas...](https://diariodecapital.com)
ZTO.MINI.CONFIG
Published: 2022-01-03 17:43:46

sudo apt update
sudo apt upgrade -y

###web
sudo apt install  curl wget 

###dev
sudo apt install mycli ipython3 scite

###net
sudo apt install nmap 

sudo apt install torsocks tor

sudo apt install sshfs apt-transport-https vlc 

###flatpak
sudo add-apt-repository ppa:flatpak/stable
sudo apt update
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
sudo apt install flatpak

###guake
sudo apt install guake guake-indicator



###brave

sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt install brave-browser
How _refresh work in ES in practice
Tags: elasticsearch
Published: 2022-01-03 17:43:42

## Learning By doing 



Many Processes in elasticsearch are automated and help a new developer to start the journey faster and easily. But later instead of digging deeper, we rely on default setting, this restricts us from exploring and getting a deeper understanding and also limits our visualisation on the flow of working , it also make us poor in troubleshooting.  



Create a index with 2 shard and set `refresh_interval` to 1 minute. We are setting the environment with this setting

```
PUT my-index
{
  "settings": {
    "index": {
      "number_of_shards": "2",
      "refresh_interval": "1m"
    }
  }
}
```



Execute to see no documents exists

```
GET my-index/_search
```

run _stats 

```
GET my-index/_stats/refresh,flush
```

Before moving ahead its important to understand the structure of stats output, Look at `primaries.refresh.total`value and `primaries.flush.total`, these values are of use to us.

Now lets insert a document

```
POST my-index/_doc/1
{
  "description": "inspecting index stats"
}
```

and lets query for a document `GET my-index/_search` you will not find any document, the documents are only visible after **refresh** operation takes place. (default refresh interval is 30s, we have to set it to 1 min for experiment purpose).

lets refresh the index manually, using below command

```
POST my-index/_refresh
```

now check the refresh count using `GET my-index/_stats/refresh,flush` and document using `GET my-index/_search` .

Lets Repeat same for deletion of document.

1. `DELETE my-index/_doc/1`
2. Check the refresh count using `GET my-index/_stats/refresh,flush` 
3. Perform manual refresh for operation to reflect `POST my-index/_refresh`
4. After refresh , go to step 2.

What we saw in this article was, 

- changes are reflected after _refresh takes place.
- How to check total number of refresh operation using _stats API.



These same steps can be performed for `_flush` and `_forcemerge`