teleren/devto huggingface dataset:
Moving cluster Ceph to Bullseye - The upgrade story
Published: 2021-09-17 19:01:03

---
title: Moving cluster Ceph to Bullseye - The upgrade story
published: true
description: I wanted to try out the newly released Debian version bullseye for my Ceph cluster, so I updated one of my hosts, which in hindsight might have been a bit too early.
tags:
cover_image: https://i.ytimg.com/vi/ofxWIaCPO6c/maxresdefault.jpg
---

{% youtube ofxWIaCPO6c %}

I wanted to try out the newly released Debian version bullseye for my Ceph cluster, so I updated one of my hosts, which in hindsight might have been a bit too early.
What's the most expensive domain you ever bought?
Tags: watercooler, domain, business, finances
Published: 2021-09-17 18:54:40

---
title: What's the most expensive domain you ever bought?
published: true
description: 
tags: watercooler, domain, business, finances
cover_image: https://d2skenm2jauoc1.cloudfront.net/assets/restaurant-website-builder/img/pages/restaurant-domain-name-image1-27b389a2bc.png.webp
 
---
Domain market is a competitive one. The prices for a single domain can vary from couple of bucks to seven or eight figures.

Just curious what was the most expensive domain you ever bought, what was it for and did it payed-off?
What are your recurring expenses as a developer?
Tags: watercooler, career, business, finances
Published: 2021-09-17 18:16:35

---
title: What are your recurring expenses as a developer?
published: true
description: 
tags: watercooler, career, business, finances
cover_image: https://www.travelperk.com/wp-content/uploads/Guide_Managing-business-travel-expenses.png
---
Expenses like hosting, domain, databases, cloud storage, subscription plans, app licences, etc can add up quickly.

What are your recurring expenses as a developer (monthly/yearly)?
Layman’s Example of BigData 
Published: 2021-09-17 18:11:34

Suppose I own a grocery store which is monitored by cameras .
So what would I have at the end of the day ?A really huge collection of video footage ,which is nothing but data and a months footage ? That is enormous amount of data.
Now instead of just dumping the data onto storage ,what about making some money out of it ?
So what I will do is that I will try to find out patterns in the video footage e.g which are the products in which the consumers is more interested . Then I can predict with a better degree of accuracy what quality of product should I sell and which is the time when the demand for a product is maximum . So at the end of the day,this enormous amount of data has give me the capacity to organise the business better,increase customer satisfaction and thus make more money.This is #BigData .
I redesigned YelpCamp by Colt Steele, and am giving away his Bootcamp for free!
Tags: beginners, webdev, node, css
Published: 2021-09-17 18:04:27

Hi everyone 👋 

Back when I was taking Colt Steele's bootcamp, I noticed that almost all YelpCamp projects were the same, and that's to be expected since people were still learning how to build a full stack application, but i'm a big fan of making it your own so I redesigned it!

{% youtube 3UYa0_icP0U %}

I tried my best not to add new features so as to not overwhelm beginners still learning, so this includes all the functionality you will find in the bootcamp. 

**[You can download the custom design for the YelpCamp challenge here for free](https://www.codewell.cc/challenges/yelpcamp-by-colt-steele--6144c7c8a383e41090a3d84b)**

🎁 I'm also giving away the bootcamp to one lucky winner, to enter the giveaway, check out this [tweet](https://twitter.com/codewell_/status/1438909946603708416?s=20)

**Note: The link to the challenge will take you to my side project,[Codewell](https://www.codewell.cc), so please treat this post as such, thank you!**
Golden Hammer
Tags: beginners, antipattern, programming
Published: 2021-09-17 18:01:58

###### 🚧 *Disclaimer: Uso JavaScript como ejemplo por el alza que ha habido últimamente.*

## JavaScript es la solución para todo y no es necesario aprender otro lenguaje.

- **Server?** Express, Koa, Fastify, Nest, etc...
- **Web?** React, Angular, Vue, Svelte, etc... 
- **Desktop?** Neutralino, Electron, NW.js, Ultralight, etc...
- **Mobile?** React Native, Meteor, Capacitor, PWA, etc...
- **Database?** NeDB, Pouchdb, LowDB, etc...

Si bien JavaScript goza de una gigantesca comunidad y gracias a ello tenemos herramientas para, casi, todo lo que necesitamos. Es normal que pensemos "Lo tengo todo en un mismo lenguaje 💘".

### **Para un martillo de oro, todos son clavos 🙅**

Y claro, podemos usar cualquier lenguaje para darle solución a cualquier problema, pero ¿hasta dónde esto es recomendable?

Para un MVP (Minimum Viable Product) puede ser nuestra primera opción utilizar el lenguaje con el que mejor nos desenvolvemos.

Pero conforme vamos avanzando no debemos cerrarnos a la idea de aprender algo nuevo, refactorizar o incluso volver a empezar.

> 🎉🎉 ¡Sorpresa! Estas en la industria con más evolución y más cambiante de todos los tiempos.

Un día COBOL domina el mercado y al otro día es Java. La resiliencia será nuestra más grande aliada, no uses el lenguaje más cómodo, usa el lenguaje más apto para tus necesidades.

Es normal que un día pases de Ruby a Scala preguntemos a Twitter; de PHP a JavaScript preguntemos a Facebook; de Python a Go preguntemos a Uber. Porque aquí no se elige por lenguaje, se elige por necesidad.

Es importante comprender que cada uno tiene capacidades y limitaciones en aplicaciones particulares. 

**Si te vas a casar que no sea con un lenguaje de programación 🧑‍💻**
Process and Outcomes from Release 0.1
Tags: opensource
Published: 2021-09-17 17:37:37

I have chance to work with partner, Suhhee Kim. It is very impressive that all the students create their SSG application with various programming languages. Before Suhhee and me test and review code each other, we have faced the environment setting issues. This is because we are using different Integrated Development Tool (IDE), different library, and programming language. It is very surprise me that even we create same purpose application, the code is completely different. 

The good things about someone else review my code are whether my application operates well on different device or not and finding a bug and an error that I could not find. The SSG application that I made operates well as expected. However, even though, her testing environment is identical as my testing environment. The result is different. She found the errors that did not show on my testing environment. This is very important because my app should run other environment or testing environment without error. Before I have testing with my partner Suhhee, I pretended my application indefective. However, she found various error that I could not found it that she helps me to make better application. 

The issues that came up while I was testing with my partner are h1 tag wrap around whole paragraph in the text file, duplicate style tag in head tag, suggest adding more intuitive explanation when user wants to see the options, and dist folder including html files supposed to be deleted not overriding the files and folder. I found the error that her application could not the text file argument that has space between the file name. The most errors can be resolved. It is very simple mistakes. Glad my partner found the issues.

Our professor, David Humphrey said the developing software is never ends. Now I realized what the meaning of what he said. I pretended my application is indefective. But there must be hidden errors that I could not found. Be sure code meticulous and review and test by others.
Project 2 Complete: Weather App!
Tags: react, javascript, gamedev, design
Published: 2021-09-17 17:12:44

It's been a while! I've needed to take a break from coding to deal with real life, but coming back has felt very refreshing.

My latest project shifted away from what I've wanted to do as a game designer/programmer, but a weather app that I could have at the touch of a button is still very convenient! Especially when I have it custom-built for myself.

I decided to give myself a challenge and build a weather app with a database to log in from. When you log in/sign up, you have the option to save the searched locations to your username. Then, when you log in, the list of locations will be displayed as buttons to click, and quickly see what the weather is!

React has been a challenge to learn, but now that I know it in and out, I feel almighty! POWERFUL! It's such a unique style of coding that prides itself on organization, and organized code is something I appreciate the most!

Next up, Ruby!
PowerShellでホームディレクトリを変更する
Tags: powershell
Published: 2021-09-17 17:05:11


PowerShellの初期読み込みファイル（`ii $PROFILE`で開けます）に以下を追記するとホームディレクトリを変更できます。

```powershell
# $HOMEの変更
Remove-Variable -Force HOME
Set-Variable HOME $env:HOME

# '~'の解決先を変更
$fs = $ExecutionContext.SessionState.Provider.Get("FileSystem")
$fs[0].Home = $env:HOME
```

これで`$HOME`の値や`cd ~`の移動先が設定したディレクトリに変更されます。
The Gustavo Experiment - partners in Open Source.
Tags: opensource
Published: 2021-09-17 16:56:54

Lab 1 in OSD600 open source class focused on reviewing and testing the Static Site Generator Github repository of another student. My partner for this in refining my code was Gustavo Tavares whom I have known for coming up on 2 years now at Seneca. I was confident in his ability to help me simplify my code and test for bugs.

First, I tested his code which was a fun experience. One of my favorite things about code reviewing is seeing how others approach the same problem that I do but in a different way. A surprise I did not expect was that originally he did not use "fs" module to read the files, and instead used the built in "Yargs" library functions. However, this presented some issues with the naming of the files after generating HTML https://github.com/GMOTGIT/GMOT-SSG/issues/1. The filename was: "filename.txt.html". Furthermore, there were some unused variables and code that I requested be deleted. https://github.com/GMOTGIT/GMOT-SSG/issues/3

When it came to reviewing my own code, Gustavo found a few more "crucial" issues which included my "output" option being coded incorrectly. It was attempting to generate a folder, rather than output to an existing folder on the system which is what the requirement specifies. Another issue was that I needed a check in place to see if the file or folder actually existed on the system and print an error if it doesn't. I had the "throw error" statement but changed it to a console log which is easier to read. 
https://github.com/AndreWillomitzer/textToHTML_V2/issues/1

One issue that was raised that I think is not an issue is the tool taking only 1 file or folder at the same time. The requirements and examples show 1 of each, not multiples. So this is more of a feature improvement request than a bug and did not get fixed.

In the end I was able to fix all of my issues which was nice. There are now checks in place for files that don't exist, and my output option can use another folder besides default "./dist". I'm sure there are more issues I haven't found but for this lab I fixed all the ones Gustavo and I found.

What I learned through this process is that there are multiple ways to achieve the same result. It's nice having a second set of eyes to review your code and refactor it to make it better. Sometimes a reviewer will spot something you didn't see because you wrote the code so it seems like it should work properly and makes sense to you. It was also useful testing someone else' code because it gave me an idea of some things I should test in my own code that didn't occur to me.
Process of reviewing my friend's code in Nodejs
Tags: beginners, reviewcode
Published: 2021-09-17 16:55:58

## Introduction
Hi everyone, I'm a Computer Science student at Seneca College, this is the _2nd week_ of open source programming course, we have an assignment about reviewing my colleague's code which is about **static site generator**.To be honest, this lab is quite realistic mainly because all programmers have to not only **write** their own codes but **review** and **read** other people's code as well. So I found it quite interesting when being matched with **Ritik Bheda** (a very brilliant Indian guy), who's been working for _CGI Toronto_ 8 months as he said, which means he has a lot of experience. Lucky us, we all used **Node** to do this assignment. 

## Me reviewing his code
At the beginning, I had no trouble reading his code because he's done it pretty clean and understandable. But everyone makes mistakes right, he also did :) He had a few typos in his code that could have been tracked by an extension in Visual Studio if he had used it **(Code Spell Tracker)** but that's no big deal at all [Issue on github can be found here](https://github.com/ritikbheda/commandline-ssg/issues/1). After a few hours reading, I found another thing that could have been improved which is the program version. I read it online saying that the program version can be pulled off of the _package.json_ so we don't need to hard code the program version everywhere [Issue on github can be found here](https://github.com/ritikbheda/commandline-ssg/issues/2). The third problem that I found is quite important and it can lead to severe errors as he forgot to handle cases when users type in invalid files or folders [Issue on github can be found here](https://github.com/ritikbheda/commandline-ssg/issues/3). Other than those small bugs, I couldn't find any other bugs as he did it very well.

## Me fixing my issues that he filed
I had no doubt that he would definitely find bugs and errors in my program, and here he goes. The first time he tried to display my program version, it failed LOL. That was my big mistake because I moved all the files into **BIN** folder but I completely forgot to change relative links in those folders. The other 2 bugs (Not really bugs) that he found out were the options thing. Thanks to his recommendation, I used [commander library](https://www.npmjs.com/package/commander) to fix those 2 issues and it now works perfectly fine.

## Wrap up
As we discussed, this is just the very first version of our programs, so it still has problems and edge cases that we have not thought of. But as time goes on, we will get better as well as our program. I'm very happy to work with you in this assignment. Although this is just a very small project that we had together 
but I learnt a lot from him like how he handle and simplify different kinds of things.

[MY REPO](https://github.com/tuanthanh2067/cv-ssg)
[RITIK's REPO](https://github.com/ritikbheda/commandline-ssg)
6 Tips To Achieve Your Goal
Tags: productivity, motivation, 100daysofcode, watercooler
Published: 2021-09-17 16:55:48

## 1 - Define Your Goals

The first thing you need to do is defining what you want to do to keep you motivated. It can be working full time in a developer job or learning a new language.

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

## 2 - Create a Schedule

Then give which time of the day/week you can work on that.

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

## 3 - Start Simple

Instead of focusing on your **big goal**, divide your goal into sub-goals. This will help you to achieve them much more easily and with that way you can track your progress.

![undraw_Timeline_re_aw6g](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/86cza4424ujibnzfhvsc.png)
 

## 4 - Remove any Distractions

During researching or creating projects, try to disable all notifications while working. 
Just put yourself into work mode in that time. Believe me, this can increase your productivity **tremendously**.

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

## 5 - Progress Your Work

At the end of the day, note what you have done. This will make you be proud of yourself and help you to realize how easily you can improve yourself. Maybe in the first week, you do not care much, but after that, you will see what you have done.

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

## 6 - Share What You Have Learned

Try to share what you have learned with others, this will make you more confident about what you have done and it will help you grow your audience in the tech community. 

![undraw_pizza_sharing_wxop](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pc4s1z4y8q2ejxj7q7e6.png)
 
 
This can also be useful in interviews.

You can also share pizza of course :)
OSD600 - Week 2 - Lab 1
Published: 2021-09-17 16:48:42

I find a partner to work with on Slack of OSD600 class. I text few people. Some people reply late or just start working on Release 0.1. Some people have their partners already. Finally, I find Thanh Van to work with. He creates a Static Site Generator with Node Js.

At first, I have some difficulties to run his code. I need to install some required packages to run (which not specify in the README). After all, everything goes fine to test his code. He has few issues on his code. He put all the text file into a single paragraph tag. He has not specify detailed packages needed to install to run the program on README. His code is organized but he needs few comments to explain how it works. The optional features about external stylesheet and specifying output folder work great. I would list some errors or recommendations to improve his code in the Issue Page on his repository: https://github.com/tcvan0707/txt2html/issues/1

Also, he gets my code and reviews it. We have hard time to find a way to install required software because I work with C++ and he works with Node Js. We installed MingW and C++17 and everything goes well. After that, I realize I should list more detailed the instructions about system requirements. I edit the README and --help option to give better clarification. You can see his feedback on my page in the Issue Page on my repository: https://github.com/kiennguyenchi/potato-generator/issues/1

Reviewing other's code is interesting. This reminds me the knowledge I studied with Node Js. Also, I can see a different way to implement a static site generator. In contrast, it's good to let someone else review my code so I can learn more about the errors that people face with my program so I can fix it.
Days of Code [4] - Diagonal Traverse
Tags: beginners, architecture, csharp, challenge
Published: 2021-09-17 16:48:22

Hi everyone,

Today I got this problem:

"Given an m x n matrix mat, return an array of all the elements of the array in a diagonal order.
"
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eubw51musesebuqs3rjw.png)

Constraints:

* m == mat.length
* n == mat[i].length
* 1 <= m, n <= 104
* 1 <= m * n <= 104
* -105 <= mat[i][j] <= 105


The object is to get the numbers in the array going up and down in diagonal.

Example:
 * Input: mat = [[1,2,3],[4,5,6],[7,8,9]]
 * Output: [1,2,4,7,5,3,6,8,9]

Another:

 * Input: mat = [[5,6]]
 * Output: [5,6]

One more:
 * Input: mat = [[1,2,3,4],[5,6,7,8]]
 * Output: [1,2,5,6,3,4,7,8]


Here is one solution:

[Diagonal Traverse](https://github.com/ronaldoperes/Challenges/blob/master/LC/DiagonalTravese.cs)
50+ Best JavaScript Text Effect 
Tags: html, css, javascript, beginners
Published: 2021-09-17 16:32:40

Hello Friends, in this article I have listed 50+ Awesome JavaScript text animation Examples. Check out these excellent JavaScript Text Effect which are available on CodePen.

### Best HTML Text Animation
***In this collection, I have listed over 50+ best JavaScript text animation Check out these Awesome Text Effects like: #1 Shattering Text Animation, #2 THREE JS Text Animation, #3 SVG Text Animation and many more.***

#### #1 Shattering Text Animation
Awesome Shattering Text Animation, which was developed by Arsen Zbidniakov. Moreover, you can customize it according to your wish and need.
{% codepen https://codepen.io/ARS/pen/pjypwd %}


#### #2 THREE JS Text Animation
THREE JS Text Animation, which was developed by Szenia Zadvornykh. Moreover, you can customize it according to your wish and need.
{% codepen https://codepen.io/zadvorsky/pen/GZmKYX %}

#### #3 SVG Text Animation
SVG Text Animation, which was developed by Claire Larsen. Moreover, you can customize it according to your wish and need.
{% codepen https://codepen.io/ClaireLarsen/pen/XmVyVX %}

#### #4 Hand written SVG text animation
Hand written SVG text animation, which was developed by Matthew Ellis. Moreover, you can customize it according to your wish and need.
{% codepen https://codepen.io/mellis84/pen/JpVZNw %}


#### #5 Mouse Following Text Animation
Mouse Following Text Animation, which was developed by Aykut Kapısız. Moreover, you can customize it according to your wish and need.
{% codepen https://codepen.io/aykutkapisiz/pen/byWdpv %}

#### #6 Awesome Text Animation
Awesome Text Animation, which was developed by Mohamed. Moreover, you can customize it according to your wish and need.
{% codepen https://codepen.io/qpi65/pen/LYNOXJO %}


#### #7 Scene.js Kinetic Typing Text Animation
Scene.js Kinetic Typing Text Animation, which was developed by Daybrush. Moreover, you can customize it according to your wish and need.
{% codepen https://codepen.io/daybrush/pen/MMyORm %}


#### #8 Shimmering Neon Text Animation
Shimmering Neon Text Animation, which was developed by Giana. Moreover, you can customize it according to your wish and need.
{% codepen https://codepen.io/giana/pen/qmKNeE %}

#### #9 Jalousie text animation
Jalousie text animation, which was developed by Jonas Sandstedt. Moreover, you can customize it according to your wish and need.

{% codepen https://codepen.io/sandstedt/pen/GRZeywP %}


#### #10 JavaScript Circle text typing animation
JavaScript Circle text typing animation, which was developed by Margus Lillemägi. Moreover, you can customize it according to your wish and need.

{% codepen https://codepen.io/VisualAngle/pen/mzKKZW %}

### <a href="https://blog.stackfindover.com/javascript-text-animation-examples/">Check All Best JavaScript Animation</a>
Exploring git sparse checkout
Tags: backpocket
Published: 2021-09-17 16:10:42

get the remote url:
`git config --get remote.origin.url`

remove the remote url:
`git remote remove origin`

enable sparse checkout:
`git config core.sparsecheckout true`

add the remote:
`git remote add -f origin https://github.com/git/git.git`

select the directories you want to checkout:
`echo /wiki/tools/ >> .git/info/sparse-checkout`

pull from the remote:
`git pull origin master`

resources
using git sparse checkout: https://briancoyner.github.io/articles/2013-06-05-git-sparse-checkout/#:~:text=Using%20Git%20Sparse%20Checkout%201%20Create%20a%20directory.,You%20should%20now%20have%20the%20contrib%2Fcompletion%20directory.%20

git docs on sparse checkout:
https://www.git-scm.com/docs/git-sparse-checkout#_full_pattern_set

getting your remotes: https://www.digitalocean.com/community/questions/how-to-check-the-remote-origin-url-of-a-local-git-repository