teleren/devto huggingface dataset:
You need a manager, not a boss 🤝
Tags: productivity, discuss, career
Published: 2022-01-30 10:15:56

---
title: You need a manager, not a boss 🤝
published: true
date: 2022-01-29 20:27:30 UTC
tags: productivity, discuss, career
canonical_url: https://3dayweek.dev/you-need-a-manager-not-a-boss/
---

In a conversation about how a lot of part-time workers vs a few full-time workers can affect a team, my tech friend recently asked me: “Are managers a relic of the past or are they absolutely essential?” Both, I answered.

A manager as we know them is usually our boss. Someone that holds the superior power and the superior responsibility and organizes, controls, administers an organization or a group. That, I argued, is indeed unnecessary and will become less and less practiced.

> In that model, a manager is not telling people what to do anymore but merely facilitates the work and is an equal unit of them.

But it doesn’t mean that we don’t need managers at all. On the contrary! As the structures flatten, and responsibility spreads to more nodes, more meta work (organizing, communication, planning, synchronizing, etc. – as opposed to development work) will emerge and we need people who specialize in those areas to keep our collaboration smooth and goals on target.

A great example of that is the transition from traditional project management to self-organization. Scrum moves away from someone telling the team what to do and towards a doocratic model of the responsibility in an area belonging with those who actually perform the tasks in that area. In that model, a manager is not telling people what to do anymore but merely facilitates the work and is an equal unit of them.

Seems obvious? It should be. But still, often I see hierarchical legacies of the structures built up within an organization – or even psychological legacies of operating within hierarchical structures – interfering with the very foundation of scrum processes limiting the flexibility of the participants and having a plethora of negative consequences for the individuals, the team, and the products.

> I strongly believe in driving the change even if it doesn’t seem to be your direct responsibility.

So what can you do as a member of a confused team? I strongly believe in driving the change even if it doesn’t seem to be your direct responsibility (the more it doesn’t, the more you should!). Don’t just focus on writing the code. Go learn a little about project management, product management, and different ways of organizing teams. Start having those conversations with your colleagues and your managers. Maybe they too can become more of facilitators than bosses. You have the power to shape your environment, use it.
Install Docker on Mac M1 without Docker Desktop
Tags: docker, apple, devops
Published: 2022-01-29 20:20:54

---
title: Install Docker on Mac M1 without Docker Desktop
published: true
description: Simplest and free way to install docker without installing docker desktop
tags: #docker #apple #devops 
cover_image: https://blog.brazdeikis.io/_next/image?url=%2Fuploads%2Fian_taylor_j_Oq_Jbvo1_P9g_unsplash_5bca5012d0.jpg&w=2048&q=75
canonical_url: https://blog.brazdeikis.io/today-i-learned/install-docker-on-mac-without-docker-desktop
---
Docker Desktop is the default way to get `docker` on your machine, and when you search, it suggests installing it. To find the documentation to do it differently - is a hassle. 

> It remains free for small businesses (fewer than 250 employees AND less than $10 million in annual revenue), personal use, education, and non-commercial open-source projects.

Here I'm sharing the simplest way to go around it.

## Docker on Mac with no Docker Desktop

```
brew install docker docker-compose
```

## Docker Compose on Mac without Docker Desktop

After installing the Docker, you will see the message.

```
Compose is now a Docker plugin. For Docker to find this plugin, symlink it:
  mkdir -p ~/.docker/cli-plugins
  ln -sfn /opt/homebrew/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
 ```
 
Just execute the above, and we did not finish yet!

Enjoy!

## Free Replacement Docker Desktop

Docker Desktop installs Docker Engine, which can run only on Linux. So far, we have installed only CLI tools. For images to run, we need an environment.

Rancher Desktop replaces Docker Desktop! Happily to [Rancher Desktop v1.0.0](https://rancherdesktop.io/) was just released with M1 chip compatibility and solved this problem for us!

> If you are on the Mac with an M1 chip, download the file with `...mac.aarch64.zip` from
> [releases page on GitHub](https://github.com/rancher-sandbox/rancher-desktop/releases)

![Rancher Desktop Dashboard](https://blog.brazdeikis.io/_next/image?url=%2Fuploads%2Francherdesktop.png&w=1920&q=75)

## Rancher Desktop No access error

In case you are a missing directory or existing directory permissions will not compatible, run these:

```
sudo mkdir /usr/local/bin
sudo chown $USER /usr/local/bin
```

## Other Docker Desktop alternatives

- Docker + Hyperkit + Minikube: does not work on M1 Macs
- Podman - lacks of ability to mount volumes from the host OS
- Lima + nerdctl - It is not really a docker

Thanks for reading!

Enjoy!
Welcome!
Tags: javascript, beginners, documentation
Published: 2022-01-29 19:59:00


Hi everyone! After learning and practicing on Exercism (JavaScript track) for almost 50 days now, I have completed close to 50 questions out of a total 138 questions so far. 

I have decided to create a series blog posts to document down different methods in JavaScript, some good practices that I have learned from the mentors at Exercism, as well as any things related to JavaScript that I find interesting.

I will keep practicing on Exercism and document down what I have learned along the way. 

Hope this documentation can somewhat help you out in your JavaScript learning journey! p^^q
How WEB works !
Tags: webdev, beginners, 100daysofcode
Published: 2022-01-29 19:49:08

When we visit any URL in browser, so their is client and server and it sends request, client receive response, parsed and it is visible!

little bit in detail

1.  hit URL in browser .

2.  DNS server lookup for its IP.

3.  TCP/IP connection establishment with server.

4.  HTTP requests (maybe GET, POST...)

5.  If Data (page) available it responds with Data Packets with status code 200.

6.  Browser parses HTML first then looks for ```<link><script> ```resources, now depending on you added [async, defer] to script it will be executed in that order.

7. After parsing it generates in Memory DOM tree for HTML, CSS and compile and executes JS.

8. Browser builds DOM tree , apply styles and executing JS, now user can see the webpage and interact with it.



Thanks..

Follow me 
[GitHub](https://github.com/pavandeore)
[Linkedin](https://www.linkedin.com/in/pawan-deore-0bb60b1a4/)
PythonBuddy
Published: 2022-01-29 19:46:07

This, is the new PythonBuddy bot for discord
There would be new commands (But i need to code them in)
It would be able to play music buttttttttt..... i need to code it in
And yeah enjoy!!!!
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5o69r7ww0ps101sfzp02.png)
What a beginning developer should know before starting React💻
Published: 2022-01-29 19:40:10

**_1. HTML and CSS_**
HTML and CSS are the core technologies in web development. HTML is the skeleton that creates the elements and layouts for a web page, and CSS adds styling to these various elements and layouts. Mastering HTML and CSS is a vital step.

**_2. JavaScript_**
Once you are comfortable with HTML and CSS, you can begin learning JavaScript. JavaScript is a scripting language that allows you to add interactions and logic to your web pages.

**_3. Version Control(GIT AND GITHUB)_**
Git is an open source version control tool that lets you manage and keep track of your code and GitHub on the other hand, is a code hosting platform for version control and enables collaboration among developers.

**_4. JSX_**
Using React, you can build reusable UI components and pass data between them. Components are written using a special JavaScript syntax extension called JSX (JavaScript XML).

JSX looks similar to HTML syntax and is very powerful, as it can handle JavaScript expressions. In JSX, instead of HTML attributes, props are used to pass data from the parent component to the child component.

**_5. React components_**
There are two types of components – class components and function components. React class-components have different lifecycle methods which get called during the render process. React function-components can leverage hooks to handle different states. Both the component types have their pros and cons, and you need to know which one suits your use case.

_Happy coding!😎💻_
MY TECH JOURNEY Contd.
Tags: foxcodebootcamp
Published: 2022-01-29 19:29:38

Futher more, i learnt about CSS, its contribution to HTML structure and how it helps beautify the web page. CSS enables a web developer format HTML page.
An assignment was given by the third week which was to replicate a recipe webpage using HTML and CSS. I decided to write about the puff-puff Recipe, stating the ingredients and also instructions on how to make it.
I was able to complete the challenge by sketching my webpage using HTML semantics and CSS properties like height, width, background color, color, text-align, line-height. etc. I emerged as the winner and was awarded with a month's data subscription by one of our mentors.
Cloud Resume Challenge
Published: 2022-01-29 19:27:16

I recently came across the “Cloud Resume Challenge” created by Forrest Brazeal. This seemed like a rewarding project to learn and expand my skills in the field of DevOps. It is a personal project designed for novices to get hands-on experience implementing systems and workflows that they would use in a DevOps role. The Challenge is as follows:

<u>The Cloud Resume Challenge - AWS</u>
######Certification
_Your resume needs to have the AWS Cloud Practitioner certification on it._

I had already earned the AWS Cloud Practitioner certification when I came across this challenge, so this first step was already accomplished. I hope to use this project as a learning experience as I pursue earning more AWS certifications in my career.

---


######HTML

_Your resume needs to be written in HTML._ 
######CSS

_Your resume needs to be styled with CSS._

I am already versed in HTML and CSS. I found a free Bootstrap template to modify and personalize a simple Resume webpage design.

---


######Static Website

_Your HTML resume should be deployed online as an Amazon S3 static website._
######HTTPS

_The S3 website URL should use HTTPS for security._ 
######DNS

_Point a custom DNS domain name to the CloudFront distribution, so your resume can be accessed at something like my-c00l-resume-website.com._

I logged into my AWS account and created an S3 bucket configured to host a static website and store my newly created HTML and CSS files. I used the AWS CloudFront service to distribute web traffic to my S3 bucket and to secure using HTTPS. I used AWS Route 53 to register a custom domain name and then configured the DNS routes to direct traffic to my newly configured CloudFront distribution.

---


######Javascript

_Your resume webpage should include a visitor counter that displays how many people have accessed the site._ 
######Database

_The visitor counter will need to retrieve and update its count in a database somewhere._ 
######API

_Create an API that accepts requests from your web app and communicates with the database._ 
######Python

_Write Python code in a Lambda function; a common language used in back-end programs and scripts – and its boto3 library for AWS._ 

I used AWS DynamoDB as the database to store my Visit count value. I created an AWS Lambda function written in Python to update this value in my DynamoDB. I learned I had to make sure I gave my Lambda function Permissions to access the DynamoDB. I used AWS API Gateway to call my Lambda function. Again I struggled a bit troubleshooting the API integration with my page because of another Permissions issues, but eventually found out I needed to change my CORS configuration to get the call working. I added Javascript to my website files to make the API call and update my HTML webpage.

---


I will update as I continue moving through the rest of the challenge.
MY TECH JOURNEY
Tags: foxcodebootcamp
Published: 2022-01-29 19:18:06

My tech journey at Front-End Foxes started on the 10th of January, 2022 with Ifeoma as my cohort instructor. So far, classes have been highly interesting and impactful. Classes started with Ifeoma teaching us about HTML and its functionality. We learnt about opening tags, closing tags and self-closing tags. I also learnt that as a website developer, I have to always create a website that can be easily accessed, operated and understood by everyone. Also, HTML is not a programming language, it is used to give structure to any website.
How Docker inspired other Container Orchestration tools (An Inspiring Journey of Kubernetes)
Tags: docker, kubernetes, containers, opensource
Published: 2022-01-29 18:59:01

If you are passionate about open-source, Containers, Docker and Kubernetes like me, you will enjoy watching an inspiring documentary series of Kubernetes and how Docker inspired other container orchestration tools. 

Inspired by the open source success of Docker in 2013 and seeing the need for innovation in the area of large-scale cloud computing, a handful of forward-thinking Google engineers set to work on the container orchestrator that would come to be known as Kubernetes– this new tool would forever change the way the internet is built.

These engineers overcome technical challenges, resistance to open source from within, naysayers, and intense competition from other big players in the industry.

Most engineers know about “The Container Orchestrator Wars’’ but most people would not be able to explain exactly what happened, and why it was Kubernetes that ultimately came out on top.

There is no topic more relevant to the current open source landscape. This film captures the story directly from the people who lived it, featuring interviews with prominent engineers from Google, Red Hat, Twitter and others.

Kubernetes exists as a testament to the power of open source software.


[The official Kubernetes Documentary Part 1](https://youtu.be/BE77h7dmoQU)

[The official Kubernetes Documentary Part 2](https://youtu.be/318elIq37PE)

Credits: Honeypot.io
How to open VSCode with Terminal
Tags: javascript, vscode, beginners, webdev
Published: 2022-01-29 18:50:41

## Table Of Contents
1. Download or Install VSCode
2. VSCode Command Plugin
3. Open VSCode with terminal

Here is a quick setup guide to get your VSCode opening up with your terminal.

### Download or Install VSCode

VSCode on our machine. If you have not downloaded VSCode to your machine yet please do so [here](https://code.visualstudio.com/download)

![VSCode Download Page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/91i9s605zsm9pfwx9nni.png)

### VSCode Command Plugin

Open up VSCode. Once open, we can access our VSCode `command palette` by hitting `command + shift + p`. Inside our search bar we will type in `shell`. We will `install` our `shell command`.   

![VSCode Demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2uyikbf1dci9cvxszzcw.gif)

Awesome! We have now added our `terminal command` that will allow us to open our `VSCode` from our terminal. For example let's say you `cloned` a big project from `github` but only want to access a certain folder from the project and not the whole app? 

Here's an example of a big project. 
 
![Demo](https://media3.giphy.com/media/IoyeQDuUqllU3U4RpG/giphy.gif?cid=790b7611488a7957d0cff10a5be31cf0d52fd7f6be2264b9&rid=giphy.gif&ct=g)

If we wanted to we can open only one of these folders if there was only one thing we wanted to work on and not have such a heavy load of files on our `VSCode`

### Open VSCode with Terminal

Let's open up our `terminal` and access the root of our `project` we are working on. 

Let's go ahead and `cd` into the folder we want to work on only within our project. After we access the folder that stores the files we want to work on we can open our `vscode` with our `new` command. 

`code .` <-- we include the period at the end of our command.

![Terminal Demo](https://media2.giphy.com/media/Q66Xw8KMnmSqoa1T8s/giphy.gif?cid=790b76112ccee6af2d557c9d211a1368414fdcf4cc8b8817&rid=giphy.gif&ct=g)

BOOM! Now you know how to access individual `folders` or even `files` straight from the terminal.
Null vs Undefined in JavaScript
Tags: javascript, webdev, html, beginners
Published: 2022-01-29 18:46:32

Do you really know the difference between "null" and "undefined" in JavaScript? If not, let me explain.

## **Undefined**
In JavaScript, undefined means a variable has been declared but has not yet been assigned a value. For example:

``` X is like a new team member in your company who hasn't been assigned any role yet. ```

```
let X;

console.log(X) 
undefined

console.log(typeof X)
undefined
```

## **Null**
 Null is an assignment value. It can be intentionally assigned to a variable as a representation of no value: For example:

```X is like a team member in your company who has been intentionally told to do nothing as of now.```

```
let X = null;

console.log(X) 
null

console.log(typeof X) 
object
```

```typeof(null) will interestingly return 'object'. Unfortunately, this can be considered a bug in JS where the datatype of null is an object.]```

> _Also, note that undefined == null will return true, meanwhile undefined === null will return false. It means null is equal to undefined but not identical(because they have different datatypes)._

Happy coding :)

###10daysofJSfundamentals (Day 2)
Create cool typing animation in your website | Spotlight of the day series
Tags: devresources, uischool, coding, css
Published: 2022-01-30 17:14:42

---
title: Create cool typing animation in your website | Spotlight of the day series
published: true
date: 2022-01-29 18:45:46 UTC
tags: Devresources,UISchool,coding,css
canonical_url: https://codingislove.com/create-cool-typing-animation-in-your-website-spotlight-of-the-day-series/
---

Learn how to create a cool text animation that appears to be typed by a real user

#### Reference links

- Typed.js GitHub – [https://github.com/mattboldt/typed.js](https://github.com/mattboldt/typed.js)
- Typed.js website – [https://mattboldt.com/demos/typed-js](https://mattboldt.com/demos/typed-js)

{% youtube vBCKGXicQMs %}

The post [Create cool typing animation in your website | Spotlight of the day series](https://codingislove.com/create-cool-typing-animation-in-your-website-spotlight-of-the-day-series/) appeared first on [Coding is Love](https://codingislove.com).
#28 - Sum of two lowest positive integers - CodeWars Kata (7 kyu)
Tags: javascript, webdev, tutorial, 100daysofcode
Published: 2022-01-29 18:30:21

##Instructions
Create a function that returns the sum of the two lowest positive numbers given an array of minimum 4 positive integers. No floats or non-positive integers will be passed.

Example

> Input --> [19, 5, 42, 2, 77]
> Output --> 7

> Input --> [10, 343445353, 3453445, 3453545353453] 
> Output --> 3453455.

---

##My solution:

```javascript
function sumTwoSmallestNumbers(numbers) {  
  let first = Math.min(...numbers)
  numbers.splice(numbers.indexOf(first), 1)
  let second = Math.min(...numbers)
  return first + second
}
```
---

##Explanation
First I used Math.min() with the array values so I could get the first smallest number.

> let first = Math.min(...numbers)

After that I spliced the first number, so when I used Math.min() again I will get the second element

> numbers.splice(numbers.indexOf(first), 1)
> let second = Math.min(...numbers)

At the end I just returned the sum of the first and second number
> return first + second

---

**What do you think about this solution? 👇🤔**

[My Github](https://github.com/Cesardlr)
[My twitter](https://twitter.com/cesar__dlr)
[Solve this Kata](https://www.codewars.com/kata/558fc85d8fd1938afb000014)
Piano Rocker Alpha Testers needed
Tags: steam, piano, gamedev, beta
Published: 2022-01-29 18:12:47

Here's another update in my never-ending story about releasing my e-piano game to steam early access.

I have 10 steam keys to give away, for people who'd like to fiddle a bit with my early release of [Piano Rocker: the ultimate piano game](https://store.steampowered.com/app/1771240/Piano_Rocker/)

[leave a comment in the event discussion](https://store.steampowered.com/news/app/1771240/view/5050225927195766406) first 5 comments get keys

If you're interested, have a steam account and an e-piano (or a midi keyboard) - join the club! Leave a comment either here or better in [steam event page](https://store.steampowered.com/news/app/1771240/view/5050225927195766406), i'll send you a product code + will invite you into secret piano rocker discord server. 

**HOW COOL IS THAT?** 
_Pretty damn cool_
WA(G)MI
Tags: discuss, crypto, improvement, growth
Published: 2022-01-29 18:11:08

---
title: WA(G)MI
published: true
description: We already made it
tags: discuss, crypto, improvement, growth
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9m9fwk9ovpq7cneaukjw.jpg
---

_Originally published on [my blog](https://www.nikola-breznjak.com/blog/daily-thoughts/wagmi/)._

WAGMI - We're all gonna make it.

But, haven't we already?

I mean, think about it: if you were able to buy (any) crypto _thing_ (coin, token, NFT, _someOtherThingYourRichNeighbourToldOnlyYouAbout_, ...) I'd argue you're probably already doing better than x% (where x is at least < 5, IMHO) of the people in this world. You, for sure, have a (good) internet connection and other things that (on average) inevitably come with that (food, transportation, clothes, place to stay, ...).

So, really, it should be WAMI - we already made it! 

I won't go on because you're probably already thinking OK, BOOMER, so what!?

The thing is: nothing. There are literally 0 problems with that. Just one caveat: go and check all those lottery winners and see what's their long-term success rate.

This brings me to the thought of the day: I wish all of us would win a real (not proverbial) lottery (pick your poison: crypto, stocks, real estate, gambling, actual lottery, ...) so that we see what we truly are and what our character is made of.

Happy Saturday, friends <3 👋

---

This is [why I write](https://www.nikola-breznjak.com/blog/daily-thoughts/why-do-i-write-these-daily-thoughts-posts/) these 'daily thoughts' posts.
Remove Git Config from New Rails / React / etc Project
Tags: fullstack, rails, react, github
Published: 2022-01-29 18:03:22

Have you ever begin working on a full stack project, created a new React (enter front end framework name here) and Ruby on Rails (enter back end framework name here) project inside of a single Github repository?
ex file structure

--- coffee-shop-app (github repo)
     |
     |---react-front-end
     |
     |---rails-back-end

 You may have encountered an issue when trying to push code and met with this message: 

*"You've added another git repository inside your current repository.
Clones of the outer repository will not contain the contents of the embedded repository and will not know how to obtain it."*

Some frameworks include a file for their own github configurations with the rest of the boilerplate code.

Luckily, to delete this file all you need to do is cd into each submodule repo and use the command 
```
rm -rf .git
```
Now you will be able to freely add files from your encompassing github repo.

Hope this helps, this totally threw me for a loop at first!