teleren/devto huggingface dataset:
Top 5 DEV Comments from the Past Week
Tags: bestofdev
Published: 2020-12-17 21:02:08

---
title: Top 5 DEV Comments from the Past Week
published: true
description: Highlighting some of the best DEV comments from the past week.
tags: bestofdev
cover_image: https://res.cloudinary.com/practicaldev/image/fetch/s--7VrAA2ln--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://thepracticaldev.s3.amazonaws.com/i/qmb5wkoeywj06pd7p8ku.png
---

This is a weekly roundup of awesome DEV comments that you may have missed.  You are welcome and encouraged to boost posts and comments yourself using the **[#bestofdev](/t/bestofdev)** tag.

---

@jennrmillerdev has some sound advice for those of you that frequently need to describe what your job as a developer entails. The tip to avoid sharing ANYTHING that might position you as a printer expert is so apt 

{% devcomment 19731 %}

@khangnd keeps it real in the "[What are your hobbies other than programming?](https://dev.to/surajsrv11/what-s-your-hobbies-other-than-programming-3j1d)" thread

{% devcomment 198g4 %}

I could have really used a person like your physics teacher in my life during high school, @jonrandy 

{% devcomment 195fj %}

This is such a prevalent issue @matthijsewoud! Thanks for sharing this addition to the "[How YOU Can Make Your Workplace Friendlier for Women](https://dev.to/annajmcdougall/ten-tips-for-how-you-can-make-your-workplace-friendlier-for-women-4pko)" post thread
{% devcomment 196k6 %}

I love this advice, @egilhuber. Definitely one of the few contexts where "stealing" is advisable 😆 
   
{% devcomment 199fi %}


See you next week for more great comments ✌
Servidor Básico en Node.js
Tags: node, javascript, principiante, express
Published: 2020-12-17 20:51:51

### Levantar un servidor en Node

Instalaciones necesarias: 

- Node -

[Node.js](https://nodejs.org/en/)

En node se trabaja todo el proyecto como si fuera un paquete en sí mismo, con `npm init`. 

Posicionado dentro de la carpeta del proyecto, ejecuta el comando en la consola:

```
npm init
```

En este punto se requerirá cierta información para el proyecto. Después de llenarla se creará automáticamente un archivo con extensión `.json` en la raíz del directorio del proyecto.

```
|- package.json
```

Añade el archivo `server.js` a la carpeta raíz. Quedando así el directorio

```
| - package.json
| - server.js
```

Para tener un buen servidor en **NodeJS** hay que utilizar la librería **express** una de las mejores para tener un servidor.

Instalación de express en el proyecto:

```
npm i express
```

Traer el paquete de **express** al archivo principal.

***server.js***

```jsx
const express = require('express');
```

Iniciar express:

```jsx
var app = express();
```

 Verificar que ya está funcionando:

```jsx
app.use('/', function (req, res){
    res.send('Hola');
});
```

Poner a escuchar servidor:

```jsx
app.listen(3000);
console.log('La app está escuchando en http://localhost:3000');
```

Nuestro archivo ***server.js*** está de la siguiente manera:

```jsx
// Se importa módulo express
const express = require('express');

// Inicializa express
var app = express();

// Rutas
app.use('/', function (req, res){
    res.send('Hola');
});

// Escuchar server
app.listen(3000);
console.log('La app está escuchando en http://localhost:3000');
```

Ahora, sólo resta levantar el serv.

```
// Ejecuta en la consola

node server
```
Adventures in PowerPC Linux Pt 2: Bootloader Nonsense
Tags: linux, powerpc
Published: 2020-12-17 20:50:19

Hello!

This is the second post in my series about installing Gentoo Linux on a Mac Mini G4.

I started by following the PowerPC Handbook on Gentoo's wiki, which is pretty good.

It has a few problems, however. It tells you to use yaboot as your bootloader, instead of GRUB. This is strange because the livecd image they provide uses GRUB. 

The (main) problem with yaboot is that it simply does not vibe with ext4. It will not boot. Instead, it gives a cryptic error and exits. 

Of course, I did not know this while installing, and fell right into this trap. I was very worried that I would have to start all the way over (I had spent a few hours at this point), because I did not have a separate /boot partition. If I stayed with yaboot, I would have had to re-format my disk as something other than ext4 and start over. 

This error will probably not be fixed, as yaboot is no longer maintained. 

Thankfully, someone on a forum about this bug suggested using GRUB, and I'm glad they did. It works very well, and is also what I'm used to. 

So, moral of the story, use GRUB, and the wiki should probably be changed, or at least edited. 

Next post I'll describe kernel config and driver issues, and give a copy of my kernel config for anyone who tries this.
Why do you need the Node js SDK on Firebase auth?

Published: 2020-12-17 20:43:26

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/4grqrgx3e04xfajfpx00.png)

Hey developer world, today we're going to talk about an important topic.
 **Why do you need the Node js sdk on firebase auth?**
Authenticating with firebase auth is truly a fabulous thing. It allows us to identify our users on our application in a simple way. But beware firebase does not provide all the features with mobile applications, so to have other powerful features you have to use the NODE JS SDK.

**What is Firebase Node js sdk?**

First of all, you have to know what Node js is, it is just a javascript framework that allows us to manage our backend, it is to write javascript on the server side.
The Admin SDK for Node.js provides APIs for authentication, user management, real-time database, and more.


**How does it work with Firebase.?**

Ahh Firebase cloud function, this revolutionary tool that has changed the lives of javascript developers like me😍 No need to have two servers to run our application. you just need to drop the node js code on firebase cloud function and Boom !! it is done.
Firebase takes care of the rest, simple no.
Firebase is really awesome😍😍
Thank you for reading my article, subscribe and follow me on social networks.
Introduction to C# 9 Workshop
Tags: csharp, dotnet, tutorial
Published: 2020-12-17 20:36:35

C# 9 is full of wonderful new features for developers including [record types](https://docs.microsoft.com/dotnet/csharp/whats-new/csharp-9?WT.mc_id=friends-0000-jamont#record-types),  [init only setters](https://docs.microsoft.com/dotnet/csharp/whats-new/csharp-9?WT.mc_id=friends-0000-jamont#init-only-setters), [top-level statements](https://docs.microsoft.com/dotnet/csharp/whats-new/csharp-9?WT.mc_id=friends-0000-jamont#top-level-statements), [pattern matching enhancements](https://docs.microsoft.com/dotnet/csharp/whats-new/csharp-9?WT.mc_id=friends-0000-jamont#pattern-matching-enhancements), and more. What better way to learn than a hands-on workshop that will guide you step by step through taking an existing C# project and upgrading it with the latest features in C# 9! Or, maybe you are looking to deliver a workshop at your user group or at an upcoming conference. We have you covered with the [brand new C# 9 workshop](https://github.com/dotnet-presentations/csharp-workshop) that is filled with demo projects, slides, and a full walkthrough.

The workshop was built by the .NET docs team and inspired by the most recent talk from .NET Conf 2020 by Dustin Campbell and Mads Torgersen. If you haven't watched their [session](https://www.youtube.com/watch?v=x3kWzPKoRXc) yet, then you are in for a treat!

{% youtube x3kWzPKoRXc %}

Looking for more .NET and C# workshops? Look no further than the [.NET Presentations & Resources](https://dotnetfoundation.org/community/resources) site from the .NET Foundation.
WP Git Updater now supports theme updates
Tags: wordpress, github, git
Published: 2020-12-17 20:07:39

That's right! You can now update WordPress plugins and themes using WP Git Updater.

The primary goal of WP Git Updater is to optimize and automate updates on your Git controlled WordPress websites. We started with plugins but early on it became clear theme updates were a must have. We felt this was such a critical feature we needed to make sure it was available before we officially released WP Git Updater.

Additionally we have been able to retain the same configuration format with some new additions. This is down to some forward thinking knowing theme features were coming in the future.

In short just adding:

```yaml
themes:
  enabled: true
  path: themes
```

To your config file is sufficient to enable theme updates.

There are of course further customizations available if required. Full details can be found in the [Documentation](https://wpgitupdater.dev/docs/latest/configuration).

Just like plugins you can now automate theme branch and pull request creation on infrastructure and terms you define.
AzureFunBytes Episode 24  - Azure Functions and .NET with @maximrouiller
Tags: azure, serverless, tutorial, beginners
Published: 2020-12-17 20:07:17

Welcome back to AzureFunBytes, where we take a tour of the fundamental resources that make up Azure.  This week we dive deeper into [Azure Functions](https://azure.microsoft.com/services/functions/?WT.mc_id=devops-11841-jagord) with [Cloud Advocate Maxime Rouiller](https://twitter.com/maximrouiller).  Maxime will share how to best utilize Visual Studio Code to create the Azure Functions that simplify your applications and IT processes.

Azure Functions is a serverless solution that allows users to focus more on code and less on the underlying systems that serve your applications.  Work on what's important to your users to ship features faster, reduce total overhead for your operations team, and implement [Continuous Integration and Continuous Delivery](https://docs.microsoft.com/azure/azure-functions/functions-continuous-deployment?WT.mc_id=devops-11841-jagord) for that "DevOps" workflow.  

{% youtube x1HRN96CG8g %}

Learn about Azure fundamentals with me! [Microsoft LearnTV!](https://docs.microsoft.com/learn/tv/?WT.mc_id=devops-11779-jagord) The most interactive way to join the show!

Live stream is available on Twitch at 2 pm EST Thursday. You can also find the recordings here as well:

https://twitch.tv/azurefunbytes
https://twitter.com/azurefunbytes
https://aka.ms/jaygordononyoutube

Join me, ask questions, and learn about Azure!

[Microsoft Azure Functions](https://azure.microsoft.com/services/functions/?WT.mc_id=devops-11841-jagord)
[Azure Functions C# developer reference](https://docs.microsoft.com/azure/azure-functions/functions-dotnet-class-library?tabs=v2%2Ccmd&WT.mc_id=devops-11841-jagord)
[Durable Functions](https://docs.microsoft.com/azure/azure-functions/durable/durable-functions-overview?tabs=csharp&WT.mc_id=devops-11841-jagord)
Quickstart: [Create your first function in Azure using Visual Studio](https://docs.microsoft.com/azure/azure-functions/functions-create-your-first-function-visual-studio?WT.mc_id=devops-11841-jagord)
Quickstart: [Create a C# function in Azure using Visual Studio Code](https://docs.microsoft.com/azure/azure-functions/create-first-function-vs-code-csharp?WT.mc_id=devops-11841-jagord)
[Microsoft Learn: Create serverless logic with Azure Functions](https://docs.microsoft.com/learn/modules/create-serverless-logic-with-azure-functions/?WT.mc_id=devops-11841-jagord)
[Microsoft Learn: Azure Fundamentals](https://docs.microsoft.com/en-us/learn/paths/azure-fundamentals/?WT.mc_id=devops-11814-jagord)
[Microsoft Azure: $200 Free Credit](https://azure.microsoft.com/en-us/free/?WT.mc_id=devops-11814-jagord)
Top 5 Premium WordPress Support Services
Tags: wordpress, wordpresssupport
Published: 2020-12-17 19:57:45


### 1. **[FixRunner](https://www.fixrunner.com/)**
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/1bzq3c4dx275tsvkzj07.png)

FixRunner is an experienced team of WordPress experts who provide full support for any WordPress-based website.
Depending on the package that includes plugin and theme support, malware removal services, security, speed optimization, SEO improvements, backups. They also offer dedicated WooCommerce help and support.
Features That Makes FixRunner WordPress Support a Great Choice:
*One-Time Fix
*White-Label WordPress Support
*Speed & Reliability

### 2. **[Meshnetics](https://meshnetics.com/)**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j5yow9u8isx26sqj8p0a.jpg)

Meshnetics is a WordPress website maintenance service that offers you the convenience of having someone take care of your site, so that you can focus on growing your business. They are experts at everything WordPress and offer affordable monthly packages to fit your needs. From simple maintenance tasks like adding new content or updating plugins, to complex customizations where we make changes on the backend for you, Meshnetics will be there every step of the way. 

### 3. **[WP Site Care](https://sitecare.com/)**
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/dqmioul0ubaqn40be6ad.jpg)

WP Site Care is a WordPress support and maintenance service. Their team makes sure that your website runs fast and secure. It monitors your website 24/7 to give you peace of mind, so you can focus on growing your business instead of spending your time on server administration tasks.
With automated backups, your website’s database, files, and images are stored offsite in the cloud. WP Site Care also optimizes the performance of your website.

### 4. **[WP Tech Support](https://wp-techsupport.com/)**
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/qxhymh0fx02pg5fmke8a.jpg)

WP Tech Support is a WordPress help and support service. If your site is facing any issue, then you can submit a request and their support team will help you solve it.
You can use their online customer support portal to access your reports and connect with the support team. It covers all necessary services like website monitoring, backups, updates, and performance optimization.

### 5. **[WP SitePlan](https://wpsiteplan.com/)**
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/n7lic89nb8sh1q7toman.jpg)

WP SitePlan offers WordPress maintenance service and support plans. It provides security solutions to protect your website from hackers and malware. Other services include bug fixing and monitoring of your website. It optimizes the database ensuring your site runs without errors.
You can rely on WP SitePlan for uptime monitoring, tracking analytics, and installing updates smoothly. They also give support for WooCommerce stores.
How to Use Mailing List Software
Tags: marketing
Published: 2020-12-17 19:47:14

Sending bulk newsletters requires your managing a number of email address lists. It’s a well-known fact that high-quality mailing lists are the foundation for a successful email campaign.

Small amount of data are easily managed by a simple spreadsheet, whereas others need much more powerful and functional solutions of mailing list software. This is where online email list manager takes the lead. It’s capable of working with one–or several–email lists. Plus, it supports mailing lists of any size and, in addition, performs numerous functions.

In-house studies show that Atomic Mailing List Generator https://www.atompark.com/email-list-manager/ increases ROI up to 25%!
In Next.js, I want to hot-reload extensions other than `.ts, .tsx` (e.g. `.md`).
Tags: nextjs, react
Published: 2020-12-17 19:41:12

# env

```sh
"next": "10.0.3",
"react": "17.0.1",
```

# directory structure

```
.
├── src
│   ├── components
│   ├── lib
│   ├── pages
│   └── posts
│       └── xxxx.md
```

# What I want to do
I want it to hot-reload when I changed the `xxxx.md` file.

I thought it could be configured in `next.config.js`, but I couldn't find such an item. https://github.com/vercel/next.js/blob/canary/packages/next/next-server/server/config.ts#L12-L63
CloudResumeChallenge
Tags: aws, cloud
Published: 2020-12-17 19:35:42

As my placement year is coming up, I aspire to enter the cloud computing industry. I got into the cloud back in January and after achieving my solutions architect associate and CPC certifications from AWS I decided to complete a project to demonstrate and improve my skills in AWS. I decided to take on the project in October as I was working on my C.V for next year’s placement. After many challenges and obstacles overcome, I can finally say I have finished the cloudresumechallenge, it is by far one of the most difficult projects I have completed.
Tasks:

1.
The first step of the challenge was to include the AWS Cloud Practitioner certification on your resume. I passed the AWS CPC exam back in June I then decided that I was going to study for the AWS SAA exam and passed this exam in September. 
2-3.  
This was my first-time using HTML and CSS. After watching some tutorials online and on YouTube I decided to build and test my project using codepen.io allowing me to code in both HTML and CSS providing live previews of my cv.
 
4. I then deployed my code in a s3 bucket that is configured to host a static website. Very straightforward.  

5-6. I used HTTPS for my website URL by using CloudFront and purchased a domain name from godaddy.com. I then configured the DNS records.

7-12. This step required a visitor counter written in Python to count the number of visitors that visited my webpage. Thanks to some online tutorials and researching on stack overflow. After finally getting the visitor counter to work I used it in a lambda function to update a DynamoDB database with the number of visits to my webpage. I setup an API gateway to trigger my lambda function that would then update my DynamoDB database by +1. I wrote some code in my html file to call the gateway every time someone visited my webpage. I then tested my python code using unittest. Now my lambda function, API gateway and DynamoDB database were all configured and working in unison I deployed them in a SAM template. The SAM template then deploys all the services in a CloudFormation stack. Awesome! 

13-15. Almost there!
I then setup 2 GitHub repositories for my frontend and Backend code to update automatically whenever changes were made to my code. (CI/CD: Continuous integration and deployment). I setup github actions and found the marketplace very useful for using already made workflows. This was the most difficult step as I struggled to get my pytest to run after receiving an exit code 1 error. After numerous commits and attempts I decided get some advice on stack overflow and solved the problem in a matter of hours. With both actions passed that was me done! I finally finished the cloudresumechallenge!
Major Governmental Hack, Ruby 3.0, Facebook Antitrust Suit & more on DevNews!
Tags: news, podcast
Published: 2020-12-17 19:35:13

---
title: Major Governmental Hack, Ruby 3.0, Facebook Antitrust Suit & more on DevNews!
published: true
description: Listen to S2E8 of the DevNews pod!
tags: news, podcast
series: DevNews Season 2
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/zoxvbu0494gq3sxtjp4v.png
---

### **We've got a lot to talk about this week on DevNews!** 

{% podcast https://dev.to/devnews/s2-e8-major-governmental-hack-ruby-3-0-oblivious-dns-and-facebook-antitrust-lawsuits %}

### Here are some of the stories we got into

- Cloudflare's announcement that they have created a new DNS standard in conjunction with Apple and Fastly (called Oblivious DNS) in an effort to make your internet browsing more private.
- Facebook's monopoly and antitrust lawsuits by The Federal Trade Commission and more than 40 U.S. states

### We were also joined by two amazing guests who spoke with us about a few developer-related stories 

- [Hector Monsegur](https://twitter.com/hxmonsegur), security researcher and former blackhat hacker, who joined us to shed some light on a major hack that breached several government agencies, including the U.S. Treasury and Commerce departments.

- [Penelope Phippen](https://dev.to/penelope_zone), Tech Lead at Stripe, and a Director at Ruby Central who chatted with us about Ruby 3.0 (including spicy takes on types and some of the most exciting things we can anticipate.)

_You can [follow DevNews](dev.to/devnews) to get episode notifications and listen right in your feed_ — or subscribe on your platform of choice! Plus, if you leave us a review, we'll send you a free pack of thank-you stickers. Details [here](https://airtable.com/shr8oKAIMZgdYnBxx). 

## Quick Listening Links
- [Apple Podcasts](https://podcasts.apple.com/us/podcast/s2-e8-major-governmental-hack-ruby-3-0-oblivious-dns/id1525581923?i=1000502697363)
- [Spotify](https://open.spotify.com/episode/3ngouuLFG154YD0et381Sy)
- [Google](https://podcasts.google.com/feed/aHR0cDovL2ZlZWRzLmNvZGVuZXdiaWUub3JnL2Rldm5ld3NfcG9kY2FzdC54bWw/episode/aHR0cHM6Ly9kZXZwb2RzLmRldi9wb2RjYXN0cy9kZXZuZXdzLzE2?sa=X&ved=0CAQQkfYCahcKEwj4rsbJ4NXtAhUAAAAAHQAAAAAQAw&hl=en)
- [Stitcher](https://www.stitcher.com/show/devnews)
- [Listen Notes](https://www.listennotes.com/podcasts/devnews/s2e8-major-governmental-hack-l-bfCJc9hRF/)
- [TuneIn](https://tunein.com/podcasts/Technology-Podcasts/DevNews-p1352512/?topicId=159502237)
- [RSS Feed](http://feeds.codenewbie.org/devnews_podcast.xml)
- [PocketCasts](https://pca.st/x4mggxcu)
- [Transcript](https://devpods.herokuapp.com/podcasts/devnews/episodes/74)

---
_Acknowledgements_ 
- _@levisharpe for producing & mixing the show_
- Our season two sponsors, [Triplebyte](https://triplebyte.com/a/YU8fSn0/d) and [Vonage](https://nexmo.dev/devnews2)!

# 🗞️🗞️🗞️
CPC Challenge Dec 2020 Week 2
Tags: codepen
Published: 2020-12-17 19:34:25

<p>This pen makes extensive use of the Scrawl-canvas particles system - both for the star at the top of the tree and the lights within it. The candle flames are also a particle-based animation.</p>

{% codepen https://codepen.io/kaliedarik/pen/eYdWqjL %}
Damn... WHY is it so hard to write a POST?!?!?!
Tags: watercooler
Published: 2020-12-17 19:29:53

Hi guys,

I guess this post gonna get lost amongst the many post DEV.to but just wanna let out some steam so here goes nothing.

When I first join this platform, I think its such a wonderful place where people share ideas and technical post with better quality and such low entry point compare to say medium or stackoverflow. I'm not saying I don't use those two platform now but seriously though, with medium, the paywall is annoying and with stackoverflow to navigate the various questions and answer can be overwhelming sometimes...

So back then when I join, OMG I got all this ideas of grandeur like I wanted to document my 100 days of coding challenge, I also got this idea of sharing a how to... well not really much, I am a noobie in dev but you know after doing project after project, you kinda found some pattern where you think why not share. My latest project was to share some coding snippet or django packages that I found useful in starting a project... But you know what... I always started out strong but die out almost immediately. Like a strong burn of a heap of gunpowder... maybe I should spread out the gunpowder in a line then in a heap right?

I don't know...

This is not the first time it happens though... I remember the blog I made when I was a teenager... Same stuff... then what... I personally dont have any social media too... I get stressful when I try to think of an idea to post... So yeah...

Honestly...
This is just a rant about myself to myself... 


Sincerely
Ash