teleren/devto huggingface dataset:
Creating a Startup
Tags: webdev, javascript, beginners, podcast
Published: 2021-09-15 03:09:09


Original: https://codingcat.dev/podcast/1-10-creating-a-startup

{% youtube https://www.youtube.com/watch?v=QvvVjBAP_BE %}

## Questions

1. You have all founded companies surrounding web development, and I have watched you become successful over the years. Can you think back to the moment you made this decision and why?
2. What is it like leaving a good paying corporate job and going out on your own?
3. What Challenges did you face?
4. If you have a partner what was it like negotiating a business that you created?
5. How do you make everyone happy when you start that partnership?
6. Did you need to establish a percentage between your partners, how did you determine this so it was fair?
7. How did you structure your company? C Corp, S Corp, LLC
8. Did you use A lawyer or Online (Stripe, Legal Zoom, incfile)
9. What state did you incorporate in?
10. Business Tools your using
11. Pre-sales documents, like Statement of Work. (PandaDoc)
12. Accounting (Deskera, Quickbooks, FreshBooks)
13. CRM (Deskera)
14. Have you ever sold your startup?
15. If you have, was that challenging emotionally?
16. Would you ever consider selling your current company?
17. You each seem to have both a product and services, can you talk about how you calculate the pricing within each?
18. To get more business and revenue flowing do you find yourself adding 1099 employees at times to cover a sale?
19. Do you have people doing the selling, or do you find that people are often reaching out to you for your services?
20. Are you still programming?
21. Do you do your own podcast editing?
22. Do you produce your own videos?
SAFe is SCRUM on Steriods
Tags: webdev, javascript, beginners, podcast
Published: 2021-09-15 03:00:34


Original: https://codingcat.dev/podcast/1-9-safe-is-scrum-on-steriods

{% youtube https://www.youtube.com/watch?v=gw9CbtwZbSk %}

## What is SCRUM

_Scrum is a framework for project management that emphasizes teamwork, accountability and iterative progress toward a well-defined goal. … The three pillars of Scrum are transparency, inspection and adaptation. The framework, which is often part of Agile software development, is named for a rugby formation._

## Questions

* What is Agile development?
* Agils is a way to do things.
* What is a good definition of SCRUM and when should it be used?
* SCRUM is a way to get things done
* Do you always have 2 week cycles?
* Is Agile’s goal to move faster?
* Why is a daily stand up necessary?
* What did you do today?
* What needs to be done?
* Blockers?
* Sprint planning
* Testing
* Demo
* How do you pass acceptance criteria
* What is SAFe?
* What is PI Planning?
* Why would you use SAFe?
* Does SAFe slow a project down?
* What is the benefit of using SAFe?
* Is SAFe anti Agile?
* Once a company adopts SAFe what do they complain about?
* How long does it take a company to work through the growing pains?
* There are too many meetings! Why?!?
* Is SAFe a good methodology to adapt within a startup?
* What size company is a good fit for SAFe?
* How do you go about doing an assessment if someone is a good fit for SAFe?
* If they are not a great fit for SAFe as a whole, can they use any part of it?
* Small batches of work
* Consistency
* What are the different levels of SAFe
* Essential
* Large Solution
* Portfolio
* Full
* What occurs to make you decide you need to switch from SCRUM to SAFe?
* Multiple Teams working together, but on different products?
* Different Timelines?
* Will SAFe give me more visibility?
* Is SAFe only a single vision, or can you make it fit your requirements?
* Framework?
* What are the key roles within SAFe?
* Release Train Engineer
* System Architect
* Product Manager
* SCRUM Master
* Product Owner
* Agile Team
* Cross Functional Developers
* QA
* Does Design Fit within this team?
* Do you need to fill roles that are T shaped?
* Should you only fill with E shaped individuals?
* How do you get better participation in Sprint Planning?
* SCRUM Master
* Everyone should weigh in on pointing (Other than SCRUM Master/PO)

“SAFe is SCRUM on Steriods” ~ Elizabeth Wilson

## Links

* [https://www.scaledagileframework.com/](https://www.scaledagileframework.com/)
Design for Developers
Tags: webdev, javascript, beginners, podcast
Published: 2021-09-15 02:55:05


Original: https://codingcat.dev/podcast/1-8-design-for-developers

{% youtube https://www.youtube.com/watch?v=c-S7YemZW2s %}

## Questions

1. I noticed you studied Industrial design. How did you find your way to UX or Interaction design?
2. From the team to the community, are there patterns you see in each?
3. Opinions on education paths…bootcamps vs. institutions vs. workshops.master’s programs
4. Do you need formal education around UX/UI?
5. What advice would you give to others coming out of school and how to get started into the design side of a web development practice?
6. Resources, tools?
7. If someone not going to school wants to get started, how do you get in the door first?
8. Networking – reaching out to people you admire
9. Soft Skills (importance of consulting and speaking skills)
10. Where does your community hang out? Especially after 2020?
11. Meeting community where they platform
12. Why do people thrive in communities?
13. What communities exist or are accessible? `Clubhouse, Meet ups (local and online), AIGA, IxDA Community events (Code for Good / Givecamp, Global Service Design Jam, Courses / Co-Learning) / Ladies of UX /`
14. What should a designer learn today? `Attitude & aptitude – curiosity & willingness to learn Mentor / find leaders to learn from Online, self-driven learning (courses, youtube, google)`
15. Tools? [Sketch](https://www.sketch.com/), [Figma](https://www.figma.com), [Miro](https://miro.com/), [Adobe Products](https://www.adobe.com/creativecloud.html)
16. Designers often work together and collaborate, how did this change in 2020?
17. At work? `Miro, drawing messy, white board type work.`
18. A developer can do the work, but often they need to be led down the path. Do you see this as a designers role, or more of an architect’s role?
19. Are mobile designers different from web designers? `(platform agnostic?) Multi-modal Physical Design, Interactive Points, how do you manage expectations.`
20. What is hardest about being a designer?
21. What is hard about getting started. `(Constraint, confidence & expression), non-stop pitching`
22. How can you be creative, but still need to work within a framework? `Constraints are helpful, Design systems`
23. What Physical devices are you using? `iPad / Wacom Tablet, Old school – Sticky notes / Whiteboard / sketchbook`
24. Where can designers get started on the side, for freelance work? [Dribbble](https://dribbble.com/), [Pinterest](https://www.pinterest.com/), [Fiverr](https://www.fiverr.com/), [Instagram](https://www.instagram.com/), [99designs](https://99designs.com/), [Awwwards](https://www.awwwards.com/)
Go/Golang Basics
Tags: go, beginners, webdev
Published: 2021-09-15 02:51:01

**Go** is Open Source Programming language that is  `statically typed` . Although it is statically typed, It's so fast that it feels like it's an Interpreted language. 

So let's start with the basics. As Go is a Compiled language, Its Code has to be converted to an executable/binary file. Go has a compiler that translates the code into a binary file.

If your file's name was helloworld.go then to compile it on the terminal, The command would look like this :

```go
go build helloworld.go

``` 
 The command would create a "helloworld" file. To execute that, call ` ./helloworld`  in the terminal


```go
./helloworld

``` 

There's a run command that both compiles and executes the code. Although the run command will not create a binary file.

For example to run the command on helloworld.go file, It would look like this:


```go
go run helloworld.go

``` 

A Go program should have a package declaration. After the package declaration, We have import statement right below it. It looks like:


```go
package main

import "fmt"

``` 
Note that the package name has to be enclosed in `double quotes` .

The functions in Go are declared with ` func ` keyword and that is followed by name of the function.
Let's see a basic program.


```go
package main

import "fmt"

func main() {

        fmt.Println(" Hello World! ")

}

``` 

In the above program in function main we have used the ` fmt` package which helps us call Println to print.

To run the command we use 

```go
go run main.go

``` 
This would print the message "Hello World!".

In Go language, the main package is a special package which is used with the programs that are executable and this package contains main() function. Go automatically calls the main function and there is no need to explicitly call it.

You can use **go doc** on the command line for more information about the packages.


```go
go doc fmt
``` 
The above command gives us information about fmt package. 
For more specific information you could use:

```go
go doc fmt.Println
``` 

And Lastly, For more information about Go lang ,You can always check the documentation.   [***This***](https://golang.org) is the official site 💯.

If you are learning Go language and would want to know more, Below are some resources 🔥.

### Resources:

- Watch a video course on [ **freecodecamp**](https://www.youtube.com/watch?v=YS4e4q9oBaU) .


- There's a free course on Codecademy too. You can check it out  [**here**](https://www.codecademy.com/learn/learn-go).
Jamstack Handbook by Colby Fayock
Tags: webdev, javascript, beginners, podcast
Published: 2021-09-15 02:47:59


Original: https://codingcat.dev/podcast/1-6-jamstack-handbook-with-colby-fayock

{% youtube https://www.youtube.com/watch?v=X16Ry4joibI %}

## Questions

Ask Colby some leading questions 😉

1. What is the Jamstack?
2. What makes the Jamstack so great?
3. What are some of the challenges?
4. How can you build a Jamstack site or app?
5. What isn’t the Jamstack great at?
6. E-Commerce in the Jamstack
7. Is it WordPress vs the Jamstack? (poke the fire!)

## Links

* [https://auth0.com/](https://auth0.com/)
MDX with Chris Biscard
Tags: webdev, javascript, beginners, podcast
Published: 2021-09-15 02:43:59


Original: https://codingcat.dev/podcast/1-5-mdx-with-chris-biscardi

{% youtube https://www.youtube.com/watch?v=LYcVHxhLxdc %}

## What is MDX?

[https://mdxjs.com/](https://mdxjs.com/)

[Markdown for the component era](https://mdxjs.com/#markdown-for-the-component-era)

MDX is an authorable format that lets you seamlessly write JSX in your Markdown documents. You can import components, such as interactive charts or alerts, and embed them within your content. This makes writing long-form content with components a blast 🚀.

## Questions

1. Why would you use regular markdown?
2. What makes MDX so powerful?
3. If you have HTML tags in md do they need to be converted to JSX?
4. How do you get compilation at Build Time, if a component is used?
5. How does MDX perform at scale?
6. Digital Garden’s with MDX, what framework would you recommend to get started with one right now?
7. So, you’ve created a new ESM first framework built on Preact called Toast. Is MDX built into it out of the box? [https://www.toast.dev/](https://www.toast.dev/)
AWS Amplify Admin UI with René Brandel
Tags: webdev, javascript, beginners, podcast
Published: 2021-09-15 02:32:12


Original: https://codingcat.dev/podcast/1-3-aws-amplify-admin-ui-with-rene-brandel

{% youtube https://www.youtube.com/watch?v=QnNJdK2_4VM %}

## AWS Amplify Admin UI

The blog: [New AWS Amplify Admin UI Helps You Develop App Backends, No Cloud Experience Required | Amazon Web Services](https://aws.amazon.com/blogs/aws/aws-amplify-admin-ui-helps-you-develop-app-backends-no-cloud-experience-required/)

The actual UI: [Admin UI basics – Introduction – Amplify Docs](https://docs.amplify.aws/console/adminui/intro)

## Amplify and René

What got you started with Amplify?

* Helping frontend developers
* Personally, always inspired on how to write less code for more

What would you recommend for a person to get started with Amplify?

* If you’re a frontend web or mobile developer on AWS, then Amplify is the best way to get started
* Helps developers add cloud-based features to frontend apps
* Scale out their application as their users grow
* Focus on the experience instead of worrying about infrastructure setup

Amplify Admin UI

What’s the Amplify Admin UI? Is this something new?

Do you need an AWS account to get started?

What’s so special about the new visual data modeler?

GSI’s are always difficult, does this help? (In relation to the data modeler)

What are some other major features you can have with the Admin UI? (we can talk about auth)

Access outside the AWS Management Console

This is amazing but could we talk a little bit about how it works? Is it running on Java somehow, like Firebase emulator?

Non-technical users – how do they use it?

How does this new Amplify Admin UI work with existing customers?

* How do they turn it on?
* CLI users
Kinsta
Tags: webdev, javascript, beginners, podcast
Published: 2021-09-15 02:25:27


Original: https://codingcat.dev/podcast/1-2-kinsta-brian-li

{% youtube https://www.youtube.com/watch?v=jglzvQoDDck %}

## General Questions

What is the difference between shared hosting, VPS, or dedicated hosting?

Why did Kinsta decide to use the shared container approach? [https://kinsta.com/blog/google-cloud-hosting/#4-improved-performance?kaid=XIIHFPADWOKE](https://kinsta.com/blog/google-cloud-hosting/#4-improved-performance?kaid=XIIHFPADWOKE)

Is this mainly for security, or speed or reliability?

**Is pricing the biggest deciding factor for moving to GCP?

## Is this savings passed to the customer? Let’s say that GCP gets even cheaper will my bill go down?**

## Performance

With CodingCatDev we have LearnDash LMS as well as Buddy Boss, both of these use heavy transactional data, would it be possible to use something faster for the database?

What is MariaDB [https://mariadb.org/](https://mariadb.org/)?

## Why Kinsta?

What is the real [difference](https://kinsta.com/why-us/?kaid=XIIHFPADWOKE) between Kinsta and someone else?
Infrastructure as Code with Pulumi
Tags: webdev, javascript, beginners, podcast
Published: 2021-09-15 02:25:01


Original: https://codingcat.dev/podcast/1-1-infrastructure-as-code-with-pulumi

{% youtube https://www.youtube.com/watch?v=kLXV5IHiNQ4 %}

## Questions

What is Infrastructure as Code (IaC)?

Why would you want to adopt IaC?

* Who made changes to the code
* Ticket that was linked
* Collaboration
* Documentation

Does IaC document your infrastructure?

Does IaC allow for solid Dev Ops?

## Pulumi

What is Pulumi?

What makes Pulumi different than

* Serverless Framework - [https://www.pulumi.com/docs/intro/vs/serverless/](https://www.pulumi.com/docs/intro/vs/serverless/)
* Cloud Formation - [https://www.pulumi.com/docs/intro/vs/cloud _ templates/](https://www.pulumi.com/docs/intro/vs/cloud_templates/)
* Terraform - [https://www.pulumi.com/docs/intro/vs/terraform/](https://www.pulumi.com/docs/intro/vs/terraform/)
* Arm

Will IaC take longer?

* Should it be used for an MVP?
* How large of a team would you have before using IaC?
* Is it worth the time to set up if it is just something quick.

Is Pulumi good for single code shops that know only a single language?

* Speed to market is easier.
* No need to learn markup language

How big is the learning curve of IaC?

* Serverless is YAML

Pulumi support “ecosystems”

* NodeJS
* Go
* .Net
Obfuscated Canvas Commands
Tags: javascript, canvas, golfed
Published: 2021-09-15 01:43:35

{% codepen https://codepen.io/ZevanRosser/pen/LYLzgZJ  default-tab=js,result %}

I’ve had this idea for a long time, never bothered doing it until now. I wrote it in a semi-golfed style for no reason… Anyway, this lets you write canvas code in a strange obfuscated syntax that looks like this:

```js
c(`
  fS #ccc
  fR 0 0 400 ${innerHeight}
  fS blue
  fR 40 0 20 20
  gCl difference
  ro .25
  fR 50 0 30 30
  gCl source-over
  fS rgba(200,100,9)
  fR 100 100 40 40
  `)
```

This snippet logs out some JSON that shows all the method aliases for the canvas context.

_See more stuff like this over @ [Snippet Zone](https://snippet.zone/)_
Code review SPO600 - Lab 01
Tags: spo600
Published: 2021-09-15 00:55:31

Hello everyone and professor, this is the answer for lab 1: **finding two open source projects that have different licenses.** 

1. [React Native](https://github.com/facebook/react-native/blob/main/LICENSE)
This is a open source project under _MIT License_. React native is created by Facebook and maintained by lots of brilliant developers around the world. Regarding contribution, React Native states that everyone is welcomed to do so, but they have to adhere to the [Code of Conduct](https://github.com/facebook/react-native/blob/HEAD/CODE_OF_CONDUCT.md).

2. [Appwrite](https://github.com/appwrite/appwrite)
> Appwrite is a secure end-to-end backend server for Web, Mobile, and Flutter developers that is packaged as a set of Docker containers for easy deployment

This project is under _BSD 3-Clause "New" or "Revised" License_. Appwrite also welcome people from everywhere to contribute to source code but have they have to follow the [Code of Conduct](https://github.com/appwrite/appwrite/blob/master/CODE_OF_CONDUCT.md) as well as instructions on how to file an issue or open a PR [Details](https://github.com/appwrite/appwrite/blob/master/CONTRIBUTING.md)
Javascript useful array functions: map, filter, find and reduce
Tags: javascript, arrays, map, filter
Published: 2021-09-15 00:16:19

Hello everyone, I made a small recap of these super useful array functions in JavaScript: map, filter, find, reduce.

Let’s start defining our array.

## Defining our array of objects

For example, we gonna use some fruits and their price and quantity.

```javascript
const fruits = [
    {
        name: "Apple",
        units: 3,
        price: 0.25
    },
    {
        name: "Mango",
        units: 6,
        price: 0.35
    },
    {
        name: "Banana",
        units: 4,
        price: 0.15
    },
];
```

Now I have a developer blog, continue reading this post here: https://hhsm95.dev/blog/javascript-useful-array-functions-map-filter-find-and-reduce/

Thank you!
How to add number array type to function return value in TypeScript?
Tags: typescript
Published: 2021-09-15 00:00:00

---
  title: How to add number array type to function return value in TypeScript?
  published: true
  tags: TypeScript
  date: Wed Sep 15 2021 05:30:00 GMT+0530 (India Standard Time)
  canonical_url: https://melvingeorge.me/blog/add-number-array-type-to-function-return-value-typescript
  cover_image: https://melvingeorge.me/_next/static/images/main-e7eb6c7529a96c85820bbb1f3b4d1fb8.jpg
  ---
  [Originally posted here!](https://melvingeorge.me/blog/add-number-array-type-to-function-return-value-typescript)
  
To add `number` array type to function return value first, declare the function, then add a `:` symbol (colon) after the parameters opening and closing brackets `()` and then type the word `number` followed by `[]` symbol (opening and closing square brackets) to indicate that the function's return value is of `number` array type.

### TL;DR

```ts
// simple function with return
// value of number array type
function getNumbers(): number[] {
  return [1, 2, 3];
}
```

For example, let's say we have a function called `getNumbers()` and on calling the function should return an array containing only numerical values for example `1`, `2`, `3`, etc.

It can be done like this,

```ts
// simple function
function getNumbers() {
  return [1, 2, 3];
}
```

This is fine. But what if we need to enforce that the return value of the `getNumbers` function should only return an array of numbers and nothing else. To do that we can add the function return type like this,

```ts
// simple function with return
// value of number array type
function getNumbers(): number[] {
  return [1, 2, 3]; // ✅ allowed
}
```

After defining the return type as a `number` array, we must return an array of numeric values or it may show an error.

Now Let's also try to return a value other than the `number` array type like this,

```ts
// simple function with return
// value not of number array type
function getNumbers(): number[] {
  return ["Hi", "Hello"]; // ❌ not allowed. Type 'string' is not assignable to type 'number'.
}
```

As you can see from the above code the TypeScript compiler is not allowing us to return the array and shows us an error saying `Type 'string' is not assignable to type 'number'.` which is what we want to happen.

See the above codes live in [codesandbox](https://codesandbox.io/s/add-number-array-type-to-function-return-value-in-typescript-lu9qk?file=/src/index.ts).

That's all 😃!

### Feel free to share if you found this useful 😃.

---
Set vscode as the default for text files on mac
Tags: vscode
Published: 2021-10-11 10:18:44

---
title: Set vscode as the default for text files on mac
published: true
date: 15/09/2021
tags: #vscode
canonical_url: https://darraghoriordan.com/2021/09/15/vscode-default-text-files-mac/
---

How to set the default text editor to be visual studio code on the mac

<!-- end excerpt -->

To find the name of your editor use this.

```
osascript -e 'id of app "Visual Studio Code"'
```

To set all text files and similar files to vscode instead of xcode use this.

```
brew install duti

duti -s com.microsoft.VSCode public.json all
duti -s com.microsoft.VSCode public.plain-text all
duti -s com.microsoft.VSCode public.python-script all
duti -s com.microsoft.VSCode public.shell-script all
duti -s com.microsoft.VSCode public.source-code all
duti -s com.microsoft.VSCode public.text all
duti -s com.microsoft.VSCode public.unix-executable all

duti -s com.microsoft.VSCode .c all
duti -s com.microsoft.VSCode .cpp all
duti -s com.microsoft.VSCode .cs all
duti -s com.microsoft.VSCode .css all
duti -s com.microsoft.VSCode .go all
duti -s com.microsoft.VSCode .java all
duti -s com.microsoft.VSCode .js all
duti -s com.microsoft.VSCode .sass all
duti -s com.microsoft.VSCode .scss all
duti -s com.microsoft.VSCode .less all
duti -s com.microsoft.VSCode .vue all
duti -s com.microsoft.VSCode .cfg all
duti -s com.microsoft.VSCode .json all
duti -s com.microsoft.VSCode .jsx all
duti -s com.microsoft.VSCode .log all
duti -s com.microsoft.VSCode .lua all
duti -s com.microsoft.VSCode .md all
duti -s com.microsoft.VSCode .php all
duti -s com.microsoft.VSCode .pl all
duti -s com.microsoft.VSCode .py all
duti -s com.microsoft.VSCode .rb all
duti -s com.microsoft.VSCode .ts all
duti -s com.microsoft.VSCode .tsx all
duti -s com.microsoft.VSCode .txt all
duti -s com.microsoft.VSCode .conf all
duti -s com.microsoft.VSCode .yaml all
duti -s com.microsoft.VSCode .yml all
duti -s com.microsoft.VSCode .toml all
```

That’s it!