teleren/devto huggingface dataset:
The most underrated feature of the Julia Programming Language , the package manager
Tags: julia, machinelearning, datascience, coding
Published: 2022-01-02 22:09:13

---
title: The most underrated feature of the Julia Programming Language , the package manager
published: true
date: 2022-01-02 19:33:46 UTC
tags: julia,machinelearning,datascience,coding
canonical_url: https://medium.com/@logankilpatrick/the-most-underrated-feature-of-the-julia-programming-language-the-package-manager-652065f45a3a
---

[![](https://cdn-images-1.medium.com/max/2600/0*7lKK60TaVIXKxFnW)](https://medium.com/@logankilpatrick/the-most-underrated-feature-of-the-julia-programming-language-the-package-manager-652065f45a3a?source=rss-2c8aac9051d3------2)

Where other languages fall short, Julia’s package manager provides robust features and intuitive syntax.

[Continue reading on Medium »](https://medium.com/@logankilpatrick/the-most-underrated-feature-of-the-julia-programming-language-the-package-manager-652065f45a3a?source=rss-2c8aac9051d3------2)
Contents for 2022
Tags: javascript, webdev, tutorial, programming
Published: 2022-01-02 19:19:02

Hey everyone,

How are you doing, it has been awhile since i wrote an article and i have truly missed it. This year i want to try and ensure each week we have something to read.

We will go through various topics through the year. We will talk about both front-end and backend intergrations. 
 
Here is the list of the contents i will be preparing offcourse there will be more that i have not included here:-

**Infrastructure as Code**

> Infrastructure as Code (IaC) is the management of infrastructure (networks, virtual machines, load balancers, and connection topology) in a descriptive model, using the same versioning as the DevOps team uses for source code.

I will go in depth on how to get started with the following. Having knowledge with the following will make it easy for you to provision AWS resources and cleanup once you are done.

- AWS CloudFormation
- Terraform
- AWS SAM CLI and AWS CDK

**Hasura**

Hasura is quite powerfull and i really loved working with it on various projects. I will share how to get started with it and how to provision your own on AWS ECS, connecting with postgreDB or SQL Server. We will build a chat application together through the tutorials. 

**Electron**

Electron is a great framework used to build Desktop applications. We will have articles from beginner to advanced. You can build very powerfull applications with it. 

**Machine Learning**

I have loved working on Machine Learning projects and through the year we are going to have articles on building with Machine Learning. I will share on how one can intergrate background change and blurring on videos, training models etc. 

**AWS Products**

I will keep sharing how to work with various AWS products and how to intergrate them in your applications. 

Our first article about CloudFormation will be published tommorow. 

Wishing everyone a great year ahead and may you achieve all your hurdles. More content will be added as we go along. 

Thank you
[MongoDB Submission Post Placeholder Title]
Tags: atlashackathon
Published: 2022-01-02 18:36:44

[Instructions]: # (To submit to the MongoDB Atlas Hackathon on DEV, please fill out all sections.)


### Overview of My Submission
[Note]: # (Please make sure the project links to the appropriate GitHub repository, and includes the [Apache-2 permissive license](https://www.apache.org/licenses/LICENSE-2.0)  and README.)


### Submission Category: 

[Note]: # (E-Commerce Creation, Prime Time, Action Star, Automation Innovation, or Choose Your Own Adventure)


### Link to Code

[Note]: # (Our markdown editor supports pretty embeds. Try this syntax: `{% github link_to_your_repo %}` to share a GitHub repository)


### Additional Resources / Info

[Note:] # (Be sure to link to any open source projects that are using your workflow!)

[Note:] # Screenshots/demo videos are encouraged!

[Note]: # (Be sure to include the DEV usernames of your collaborators, if any. Prizes for winning projects with multiple collaborators will be sent to the person who posts this submission and they will distribute the prize evenly.)

[Reminder]: # (Submissions are due on January 13th, 2022 @ 11:59 PM PT/2 AM ET on January 14th, 2022/6 AM UTC on January 14th, 2022).
How To Enable WordPress Debug Mode
Tags: wordpress, debug, howto, config
Published: 2022-01-02 18:15:48

Even though when there is an error in a WordPress site, it does not display any helpful information. Instead, it shows the WordPress WSOD (White Screen Of Death) page or a similar message which does not have any useful information about the error to fix the root cause. This happens because the WordPress debugging features have been turned off by default. But we can easily enable the WordPress debug mode.

First, open the `wp-config.php` file in the root directory of the WordPress installation by using FTP or SSH. Near the bottom of that file, you will be able to see `define('WP_DEBUG', false);`. Change it to `true` as below. It will enable the WordPress debug mode.

```
define( 'WP_DEBUG', true );
```

Still, we do not need to display debug information in the live site, so disable error displaying in pages with the following code.

```
define( 'WP_DEBUG_DISPLAY', false );
```

Since now errors are not visible anymore, put them into a log file. The following line will put all the debug information in the `debug.log` file which is in the `wp-content` directory.

```
define( 'WP_DEBUG_LOG', true );
```

**Optional:** Instead of creating the debug log file in the `wp-content` directory, you can use a custom directory path like this.

```
define( 'WP_DEBUG_LOG', '/tmp/wp-errors.log' );
```

The following line will allow you to debug SQL queries, executed queries will be in `$wpdb->queries`. But it will degrade the performance of your site so make sure to disable it when not required.

```
define( 'SAVEQUERIES', true );
```

Add all these lines before the `/* That's all, stop editing! Happy publishing. */` line in the `wp-config.php` file. Finally, altogether, it should be something like this.

```
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', false );
define( 'WP_DEBUG_LOG', true );
define( 'SAVEQUERIES', true );

/* That's all, stop editing! Happy publishing. */
```

If you are not familiar with this kind of file editing, simply install the [WP Debugging](https://wordpress.org/plugins/wp-debugging/) plugin. It will do all these things for you without any manual file editing.

Feel free to visit [devtonight.com](https://devtonight.com?utm_source=dev&utm_medium=questions&utm_campaign=how-to-enable-wordpress-debug-mode) for more related content.
Métodos - Ruby
Tags: braziliandevs, ruby, rails
Published: 2022-01-02 18:10:31

## Métodos

São ações programáveis que podem ser definidas para facilitar o desenvolvimento do seu projeto e evitar duplicação do Código caso precise executar a mesma ação mais de 1 vez.

Criando nossos primeiros métodos:

```ruby
def full_name
	name = 'Diego'
	last_name = 'Novais'

	"#{name} #{last_name}"
end
```

```ruby
def message
	"Ola #{full_name}, seu presente chegou!"
end
```

```ruby
message
```

Note que criamos 2 métodos, no método `full_name` retornamos o nome completo e no método `message` retornamos uma mensagem **interpolando** o método `full_name`.

Criando métodos com parâmetros:

```ruby
first_name = 'Diego'
last_name = 'Novais'
birth_year = 1987
```

```ruby
def my_full_name(name, last)
	"O meu nome é: #{name} #{last}"
end
```

No método `my_full_name` passamos como parâmetros o first_name, last_name e seu objetivo é retornar a frase: `"O meu nome é: #{name} #{last}"`

Vamos criar mais métodos:

```ruby
def my_age(birth)
	Time.now.year - birth
end
```

```ruby
def my_self(info, age)
	"#{info} e minha idade é: #{age}"
end
```

```ruby
info = my_full_name(first_name, last_name)
```

```ruby
age = my_age(birth_year)
```

```ruby
my_self(info, age)
```

O retorno de um método ruby é sempre o resultado de sua última instrução.

Contato:
Email: contato@diegonovais.com.br
LinkedIn: https://www.linkedin.com/in/diegonovais/
Github: https://github.com/dnovais
Solved: Module not found: Error: Can't resolve 'sass-loader'
Tags: javascript, vue, sass, scss
Published: 2022-01-02 17:44:23

I have been struggling with this problem a few minutes ago when I was trying to install node-sass and sass-loader in my Vuejs project.
I used this command :

> npm i --save-dev node-sass sass-loader
Output: 
`Could not resolve dependency: npm ERR! dev sass-loader@"*" from the root project npm ERR!`
With some sort of:
```
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: twotter@0.1.0
npm ERR! Found: webpack@4.46.0
npm ERR! node_modules/webpack
npm ERR!   peer webpack@"^4.0.0" from @intervolga/optimize-cssnano-plugin@1.0.6
npm ERR!   node_modules/@intervolga/optimize-cssnano-plugin
npm ERR!     @intervolga/optimize-cssnano-plugin@"^1.0.5" from @vue/cli-service@4.5.15
npm ERR!     node_modules/@vue/cli-service
npm ERR!       peer @vue/cli-service@"^3.0.0 || ^4.0.0-0" from @vue/cli-plugin-babel@4.5.15
npm ERR!       node_modules/@vue/cli-plugin-babel
npm ERR!         dev @vue/cli-plugin-babel@"~4.5.0" from the root project
npm ERR!       4 more (@vue/cli-plugin-eslint, @vue/cli-plugin-router, ...)
npm ERR!   peer webpack@"^4.0.0 || ^5.0.0" from @soda/friendly-errors-webpack-plugin@1.8.1
npm ERR!   node_modules/@soda/friendly-errors-webpack-plugin
npm ERR!     @soda/friendly-errors-webpack-plugin@"^1.7.1" from @vue/cli-service@4.5.15
npm ERR!     node_modules/@vue/cli-service
npm ERR!       peer @vue/cli-service@"^3.0.0 || ^4.0.0-0" from @vue/cli-plugin-babel@4.5.15
npm ERR!       node_modules/@vue/cli-plugin-babel
npm ERR!         dev @vue/cli-plugin-babel@"~4.5.0" from the root project
npm ERR!       4 more (@vue/cli-plugin-eslint, @vue/cli-plugin-router, ...)
npm ERR!   19 more (@vue/cli-plugin-babel, @vue/cli-plugin-eslint, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! dev sass-loader@"*" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: webpack@5.65.0
npm ERR!   peer webpack@"^5.0.0" from sass-loader@12.4.0
npm ERR!   node_modules/sass-loader
npm ERR!     dev sass-loader@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\user\AppData\Local\npm-cache\eresolve-report.txt for a full report.
```
 
So, I thought this was some dependency conflicts and there is actually a note about this [here](https://cli.vuejs.org/guide/css.html#pre-processors)

This is how I solved the issue:
`npm install -D sass-loader@^10 sass`
My journey to becoming a frontend software developer - The Plan
Tags: 100daysofcode, javascript, beginners, codenewbie
Published: 2022-01-02 17:37:50

I'm publicly committing to #100DaysOfCode Challenge to start my journey to becoming a frontend software developer. Here is my plan:
Learn:
1. Vanilla JavaScript
2. Vuejs
3. Debugging
4. Webpack
5. Complete frontend mentor challenges

Improve on:
1. Sass/Scss
2. Grid and Flexbox

I will be posting my progress here every week. I'm also looking for an accountability partner, someone who has the same vision as mine of becoming a frontend developer. We can learn together and encourage each other in this journey. If you are interested comment on this post and we will link up.
🍾 Nouvel article pour la nouvelle année 2022  (en français) sur Reactor RabbitMQ 
Tags: reactor, rabbitmq, jvm
Published: 2022-01-02 17:34:18

Bonjour à toutes et à tous, 

Je vous propose un nouvel article, cette fois en français, sur le blog tech de [Lectra](https://www.lectra.com/fr).

C'est un article présentant la librairie Reactor et son application au travers de Reactor RabbitMQ :

[L'article](https://tech-blog.lectra.com/article/791-presentation-de-reactor-rabbitmq)

Bonne lecture et bonne année 2022 🍾 🎆!

Julien :)
Modern Software Engineering - Book Notes
Tags: java, design, jvm, architecture
Published: 2022-01-02 17:29:00

## Notes
### What's Software Engineering

**TL;DR**: A scientific approach to creating Software. Full of information on how to master learning and handle complexity in our field. 


[Modern Software Engineering Book](https://www.amazon.com/Modern-Software-Engineering-Discipline-Development/dp/0137314914)
 
- Software Engineering applies a scientific approach to finding solutions to problems.

- Engineering is stuff that works! 

- Software development is the process of discovering and learning, **so we need to become experts at learning and handling complexity**. 

- Software Engineering practices must allow us to build software faster and better. If not, it is just a waste of time. 

- **Software is not a Production problem (physical things with a high cost of replication). Then we need to use different tools for the job such as testability, experiments, and continuous delivery** remember that our real focus is learning and discovery.

- Our Aim as software engineers is to create systems with high Stability and High Throughput (Measuring Performance)

**Stability** = Change Failure Rate + Recover Failure Time
**High Throughput** = Lead time + Frequency of Deployment 

### Optimize for Learning
Learning is a fundamental factor in our job as professionals, and also key in the discovery process of our systems.

- Iterative
- Incremental 
- Empiricism
- Feedback 
- Experimental

The main idea is to focus on small steps gathering feedback and adjusting. 
- Work in a way that allows us to make mistakes 
- Explore the problem and make experiments controlling the variables 
- We need to learn from previous experiences 

## Optimize for handling complexity

Edsger Dijkstra said 
*The art of programming is the art of handling complexity* 

- Cohesion
- Coupling 
- Separation of concerns 
- Modularity 
- Information hiding and abstraction 

The main idea is to focus and keep things simple. 
Remember that `Simple != Easy`

### Tools to support engineering in Software

- Testability
- Deployability
- Controlling the variables 
- Continuous delivery

One of the main takeaways for me in this chapter was tackling problems from:
_Business Vision, Goals > Technical Architecture > Process > Organizational Structure_

instead of  
_Organization Structure>  Business Vision, Goals > Technical Architecture > Processes_

**Conclusion**: this book provides valuable insights about Software Engineering and the practices that allow us to work on a Scientific approach. 

[Dave Farley Youtube](https://youtube.com/c/ContinuousDelivery
)
[Dave Farley Twitter](https://twitter.com/davefarley77?t=GwVNXdtcO3Ut1e1WV_jkhg&s=09
)
How to create dictionary with two lists in Python
Tags: python, beginners, datascience
Published: 2022-01-02 17:19:44

In this post, we will discuss how to create a new dictionary out of two lists. 
First let's see the input and expected output and then the actual source code of the problem.

input: 
```python
keys = ['name', 'age', 'contact']
values = ['Afiz', 30, '9090909090']
```
expected output: 
```
{'name': 'Afiz', 'age': 30, 'contact': '9090909090'}
```
There are multiple ways to solve this problem. 

Method 1: First let's see the simple way using `for` loop in Python.

```
my_dictionary = {}

for i in range(len(keys)):
    my_dictionary[keys[i]] = values[i]

print(my_dictionary)

```
This solution is okay but not great. Let's check out another method which more pythonic way of doing it. 
```
print(dict(zip(keys, values)))
```
Surprised !! 😮 😯 😲  yes it is one line. Tell me which method you like in the comment section. And finally if you want the explanation of these solutions please checkout my YouTube Channel: https://youtu.be/PFsP2U4_GH0
100 Days of Code - Day 2
Tags: 100daysofcode, html, webdev
Published: 2022-01-02 17:11:42

Day 2 is in the books! Completed the second section of [Modern HTML & CSS From the Beginning](https://www.udemy.com/share/1013eA3@vWdDAwIbTNKVDgdoKRg7QR2jUvRHDQ3ZaF3Dd-HzUhJUlzvcDZZUUPGMPdldaX2q/) on Udemy which was a nice refresher on HTML which reviewed the meta tag, the new semantic tags, inline vs block elements, the form tag and different input fields etc... While it was all mostly review getting a high level overview of the meta tag and the information that can put in it and seeing how it effects SEO was new and nice to learn.
How to reverse a list in python? 
Tags: python, programming
Published: 2022-01-02 17:11:12

How do you reverse a list in Python? 

There are 2 good ways to reverse a list. 

1. Slicing 
2. reverse method

## 1. Slicing: Generates new list and original list won't be updated.

```
In [1]: chars = list('abdbbef')

In [2]: chars[::-1]
Out[2]: ['f', 'e', 'b', 'b', 'd', 'b', 'a']
```

## 2. Reverse method: `reverse` method modifies the original list. 

```
In [3]: chars.reverse()

In [4]: chars
Out[4]: ['f', 'e', 'b', 'b', 'd', 'b', 'a']
```

Which method do you prefer? Share your views in the comments.
api.peviitor.ro; scraper[2]
Tags: api, peviitor, job, locuridemunca
Published: 2022-01-02 17:07:08

Odata inregistrati in `dev.peviitor.ro`, avem acces la API.


![API](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/65y8zdfia4jwqb6xl93m.png)
 
#### Ce este un API?
Prin intermediul API-ului pus la dispozitie, ai acces la informatia din index. 
API-ul este definit prin cateva end-pointuri. 

![API image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gjszlatcge6xvpqrvhu6.png)
 
Pentru scraper doua endpointuri devin extrem de importante:

- Endpointul care sterge locurile de munca ale unei companii: 
[CLEAN](https://api.peviitor.ro/#/search%20engine/post_v1_clean_)

- Endpointul care adauga un loc de munca sau mai multe locuri de munca pentru o companie:
[UPDATE](https://api.peviitor.ro/#/search%20engine/post_v1_update_)

Prin endpointul de UPDATE se pot trimite mai multe locuri de munca folosind un ARRAY de JSON.


In versiunea 1 al API-ului avem acces la date fara cheia API, dar din versiunea 3, cheia devine obligatorie.

Puteti consulta API-ul versiunea 1 la adresa: [https://api.peviitor.ro/](https://api.peviitor.ro/)

API-ul este prezentat prin intermediul SwaggerUI
![swagger_logo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/skde2dztglptewgoosv2.png)
Revo Uninstaller Pro 4 Crack + Serial Key Full Download 2022

Published: 2022-01-02 17:00:01

[Revo Uninstaller Pro Crack](https://crackonly.net/revo-uninstaller-pro-4-crack/) is a valuable tool that allows you to uninstall any undesirable apps and effectively decommission them. Revo Uninstaller Pro Key is also the best tool for keeping your device up to date
Minitutorial Django: Enviar correo con gmail
Tags: mail, django, minitutorial, espanol
Published: 2022-01-02 16:59:22

##Bienvenidos a un nuevo tutorial##
En esta ocasión les enseñare a enviar un correo electrónico en *Django* 

###Vamos al código###

Creamos una nueva app y la nombraremos correo y creamos su respectivo *urls.py*

______

##URLS.PY##
```
from django.urls import path
from . import views

urlpatterns = [
    path('enviarCorreo', views.enviarCorreo, name='enviarCorreo'),
]
```

##VIEWS.PY

En nuestra vista que es donde enviaremos el correo, utilizaremos la librería **smtplib** la cual importaremos.
```
from django.shortcuts import render
from django.http import HttpResponse, JsonResponse
import smtplib
```

Crearemos una función que se llame enviarCorreo() que solicitara 3 parámetros que son: asunto, mensaje, correo. Estos valores serán pasados como parámetros a través de la url.

Para recuperar los valores utilizaremos  **request.GET.get** 

Para poder enviar el correo necesitamos el correo y la contraseña del correo de origen y lo pasaremos como parámetro a la función server.login


```
def enviarCorreo(request):
    try:
        
        mensaje = request.GET.get('mensaje')
        correo_electronico = request.GET.get('correo')
        asunto = request.GET.get('asunto')
        
        body = 'Subject: {}\n\n{}'.format(asunto, mensaje)
        server = smtplib.SMTP('smtp.gmail.com','587')
        server.starttls()
        server.login('CORREO_ORIGEN@gmail.com','CONTRASENA')
        server.sendmail('CORREO_ORIGEN@gmail.com', correo_electronico, body)
        server.quit()
        return JsonResponse({'status':True, 'mensaje':'Correo enviado exitosamente'})
    
    except Exception as e:
        return JsonResponse({'status':False, 'mensaje':'Ocurrio un error al momento de enviar el correo', 'error':e.__str__()})
```

Quedándonos nuestro código completo de la siguiente manera.


![1](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1leab9uzmv1g4kt30ezr.png)


#NOTA# 
No olviden activar la opción de enviar correos desde una app menos segura en gmail



![2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wxebwh6pjoehjqfjqq1h.png)
Your Code Is Never Shared
Tags: machinelearning, ai, codereview, programming
Published: 2022-01-02 16:44:33

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xynwg1e68yjznq4dijx8.gif) 
Tabnine uses advanced Machine Learning models to provide the best code completions as you code.
You can run the model locally on your machine, in the cloud, or on both, depending on your machine's hardware, project's policy and your personal preferences 🙃
Anyhow, your code is never shared or used!