teleren/devto huggingface dataset:
What is IRS Form 1023?
Published: 2021-12-15 12:47:20

For quite a long time, there had been one method for applying for 501c3 duty exclusion, and that was by documenting **[IRS Form 1023](https://accountsconfidant.com/irs-form-1023/)**.

Documenting the first **[Form 1023 IRS](https://accountsconfidant.com/irs-form-1023/)** is the most tedious piece of the philanthropic arrangement process. Counting the directions, IRS Form 1023 is more than 60 pages in length. The IRS gauges this will take you around 100 hours to finish.

On the off chance that you're searching for data on IRS Form 1023-EZ, if it's not too much trouble, visit here.

**Where Can I Download Form 1023?**
You can download the intuitive **[Form 1023](https://accountsconfidant.com/irs-form-1023/)** here. Make certain to download and peruse the Instructions to Form 1023 also.

**What Is the Fee to File Form 1023?**
The charge is $600 paying little mind to income. Make really takes a look at payable to the United States Treasury.

**What Do I Need to Prepare?**
IRS Form 1023 contains an unmistakable agenda of things to remember for your accommodation to the IRS. Before you record, you should have fused, drafted standing rules, made monetary projections, and acquired a government EIN.

**The bundle you mail to the IRS will contain:**

**Structure 1023 Checklist**
Application (Form 1023 and Schedules A through H, as required)
Sorting out report (for example Articles of Incorporation)
Corrections to getting sorted out archive in sequential request
Ordinances or different principles of activity and changes
Any remaining connections, including clarifications, monetary information, and pieces of literature or distributions. Name each page with name and EIN.
Contingent upon your exercises and recording needs, you might have to incorporate extra reports as illustrated on the agenda.

**How Do I File Form 1023?**
At the point when you're prepared to present your documenting, mail the whole parcel to:

Interior Revenue Service
P.O. Box 192
Covington, KY 41012-0192

**How Long Will It Take?**
It can require a very long time for the IRS to deal with this application. Visit the IRS site for an exact gauge. Assuming the IRS requires extra data from you, or your application requires extra audit, that time will just increment. Ensure your accommodation is precise and complete.

When your application is endorsed, the IRS will send affirmation of your association's exception acknowledgment through a Determination Letter.

3 Things You Should Know About IRS Form 1023:
It's long. The IRS gauges the entire cycle will take you over a hundredhours. That is four hours an evening for a month.
Your expense depends on your normal yearly income. Ensure you give exact budget summaries, or on the other hand assuming you don't have any yet, precise projections.
There's a more current structure, Form 1023-EZ. Have sure you comprehend the effect, and record the right one!
Advent of code 2021 - day 3
Tags: functional, typescript, adventofcode
Published: 2021-12-15 12:37:10

https://adventofcode.com/2021/day/3

Day 3 wants us to calculate the most common bit for each index value in a list of strings. We will then turn that string into binary and do some mathematical operations with it. Ie
```
00100
11110
10110
10111
10101
01111
00111
11100
10000
11001
00010
01010
```
Will turn into 10110 which is 22 in decimal.

To tackle this, I am going to reduce the binary string array into a count of how many 1s for each position. So using the above example, that would reduce down to `[7,5,8,7,5]`. Since I also know the length of the array, if the count is larger than `length/2` then I know that binary value for that index should be 1. From there I can work out the binary string and finally the decimal value.

Part 2 is a bit trickier. Instead of a single pass through the array, it requires us to recursively reduce the array by:
1) Start from the first position
2) If the array only has one element, this is the value
3) From the existing array, look at the most common bit in the current position
4) Filter the array to only include the elements that have that bit value in that index
5) Go back to 2) with the remaining array and increment the position by one.

This problem is well suited for a recursive function.

https://codesandbox.io/s/gracious-leaf-qjotm
Micro din rail liu | Din rail patch panel | 12 port patch panel|Unisol
Tags: dinrailmount, dinrailbox, dinrailadapter, dinrailenclosurebox
Published: 2021-12-15 12:33:16

Unisol communications designed to provide 12 port patch panel with a din rail for industrial use. miniature din rail liu can reinforce to terminate up to 12 cores.
Nano din rail liu | Din rail patch panel | 6 port patch panel | Unisol
Tags: dinrailfiberpatchpanel, dinrailpatchpanel, fiberopticpatchpanel, dinrailenclosure
Published: 2021-12-15 12:31:05

We designed 6 port patch panels for industrial use with a Din rail. This Din rail patch panel is used to terminate the fiber up to six cores.
Journey to create my own website
Tags: webdev, webcomponents, javascript
Published: 2021-12-15 11:50:54

Project repository: https://gitlab.com/tjmonsi/tjmonsi-server
Project last commit: https://gitlab.com/tjmonsi/tjmonsi-server/-/commit/712ea515263ca4ff41dc94f37d2c6791f00d818e

This is going to be my journey in creating a performant website that is deployed on Cloud Run, with both frontend and backend running on it.

I will just write here my thoughts on how I built in and the commits I did.

Some posts will be short, some posts will be long. I will appreciate the feedback that I will get and will take them into account while building the site.

My focus is on using [Fastify ](https://www.fastify.io/) with [OpenAPI 3.1 specs](https://www.openapis.org/) as a way to train myself to focus on design first on API. Then I'll be using [Lit Element ](https://lit.dev/) and [Webpack](https://webpack.js.org/) to compile the frontend.

As for the current main plan of the system, I plan on doing these:

- add an issue and merge request templating system
- configure the project settings to force me to do some good practices I have learned
- add a CI/CD with static code analysis using [SonarCloud](https://sonarcloud.io/)
- creating both the frontend and backend on in parallel

For now, my current thoughts and concerns are:
- I am looking at best practices though on saving credentials for CI/CD without too much payment costs needed. This is to access secrets from Google Secret Manager to get .env variables or deploy to Cloud Run.

I'll do my research first, and then put into writing what I know.
int to double type casting
Tags: computerscience
Published: 2021-12-15 12:23:58

Hi all,
Say you have a 4 byte integer and now you want to convert it to double. You might say that's easy, just add couple of zeros to the front. It's not that simple. Its only work for positive integers.

For simplicity lets assume you have 4 bit integer and you want to convert it to 8 bit.

`Let a = -3 = (1101) -> 2's complement`
```
1101 -> 0010 (1s complement) + 1 -> 0011 -> 3
```
Now if you just add zeros then it will become 
`a = (00001101) = 13`
So instead you take the most significant digit (i.e. 4th bit) and paste it to the new bits.
![copy msb bits](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cblnbtu1i5gyrempt6yd.png)

`a = (11111101) = (00000010 + 1) = (00000011) = 3 -> -3`

Note: when a = 13 we didn't do 2's complement because right most bit was zero.
Django Doctor is expanding...and rebranding!
Tags: django, python, github, webdev
Published: 2021-12-15 12:23:53


Django Doctor is a code analysis tool that suggests improvements to your Django code right inside your pull request.

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

We're expanding the scope of our services to also check Python code in general. As a result we're soon renaming to Code Review Doctor.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/49klefdc3hinlehwkidn.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/95mgsueo6jz0701zidlz.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/132eo11p8jesxxqyg1yk.png)

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


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

Sneak peak: [CodeReview.doctor](https://CodeReview.doctor)

Our prices remain unchanged, so our valued customers will get more value.
For In and For Of in Javascript
Tags: javascript, tutorial
Published: 2021-12-15 11:51:36

Hey **fellow developers**

Let's learn the differences between the loops *For... In* and *For... Of* in Javascript in less than a minute!
 
If you prefer to watch the video **version**, it's right here :

{%youtube YHCaP7DA4AE%}

##1. The *For... Of* loop.

The *For... Of* loop is used to iterate through iterable elements, for example arrays, strings, nodelists, etc. It has the following syntax:

```js
const array = [1, 2, 3];

for(const item of array){
	console.log(item);
}
// in the console :
// 1
// 2
// 3
```
It will basicaly create a new constant for each element.

If you use a string, it'll be exactly the same:

```js
const str = "123";

for(const item of str){
	console.log(item);
}
// in the console :
// "1"
// "2"
// "3"
```

##2. The *For... In* loop.

The *For... In* loop is used to iterate through an object.

```js
const tiger = {
	paws: 4,
	weight: 300,
	height 100
}

for(const prop in tiger){
	console.log(prop);
	console.log(tiger[prop]);
}
// in the console :
// "paws" 4
// "weight" 300
// "height" 100
```
Here you can access the property name with "prop" and/or the property value with tiger[prop].

You now know the differences between these two *loops*!

Come and take a look at my **Youtube channel**: https://www.youtube.com/c/TheWebSchool

*See you soon!*

Enzo.
Swiggy Clone App Development
Tags: swiggyclone, javascript, webdev
Published: 2021-12-15 12:15:12

[SV Soft](https://www.svss.co.in/) offers the best [Swiggy clone](https://www.svss.co.in/swggy-clone-app-develoment/) app development solution with a fully-functional Swiggy clone script and source code that can be fully customized.

Get Your Swiggy clone app with Local Payment Gateway Integrated Specially For Asian Countries in Android, iOS Apps, and User Website
[Binary Search]Largest Tree Sum Path
Tags: programming, java, algorithms, 100daysofcode
Published: 2021-12-15 12:11:11

# [Description](https://binarysearch.com/problems/Largest-Tree-Sum-Path/solutions/7052152)

Given a binary tree `root`, return the largest sum of any path between any two nodes.

**Constraints:** 

- `n ≤ 100,000` where `n` is the number of nodes in `root`

## Example 1

### Input

```
root = [-6, [5, null, null], [4, [7, [4, [2, null, null], null], [8, null, null]], [12, null, null]]]
```



### Output

```
31
```

### **Explanation**

```
The largest sum path is: [8, 7, 4, 12]
```

---

# Intuition

## **post-order traversal**

1. only one path
2. 4 different situations:
    - `Node` only
    - Max path through `Left` Child + Node
    - Max path through `Right` Child + Node
    - Max path through `Left` Child + `Node` + Max path through `Right` Child

# Implementation

```java
import java.util.*;

/**
 * public class Tree {
 *   int val;
 *   Tree left;
 *   Tree right;
 * }
 */
class Solution {
    private int ans = Integer.MIN_VALUE;
    public int solve(Tree root) {
        traversal(root);
        return ans;
    }

    private int traversal(Tree root) {
        if (root == null) {
            return 0;
        }
        int left = traversal(root.left);
        int right = traversal(root.right);

        int onePath = Math.max(Math.max(left, right) + root.val, root.val);
        int topSum = Math.max(onePath, left + right + root.val);
        ans = Math.max(ans, topSum);

        return onePath;
    }
}
```

## Time Complexity

- Time: O(n)
- Space: O(logn)
Development in Apple M1
Tags: apple, m1, silicon, arm
Published: 2021-12-15 12:03:36

I got a new laptop one week ago and I've been investigating different ways of setting up our dev environment. Here are my findings

## Virtual Machines
There are different options
- Virtual Box doesn't work as of today in Apple M1
- Parallels, nice but you have to buy a license
- [UTM](https://mac.getutm.app), very nice UI on top of QEMU. My preferred choice

If you run ARM virtual machines, it's fast as hell, feels like a native app, probably having a M1 Max with 10 cores and 64Gb of RAM helps bit :) but I wanted to use mainly x86 VMs and they are not so fast. I'll definitely use UTM in the future for running ARM based VMs.

## Docker
If you run everything inside Docker, it works out of the box. I didn't experience any issues.

## Apple's Rosetta
It turns out that the best virtualisation software comes already with you default MacOS installation and it's called Rosetta!

Here's how I set up my dev laptop 

Duplicate your Terminal or iTerm app and give it a different name
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v7jtbbgix3s19gh75ehv.png)

I ended up with

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/76gkem72xxsukti1lx03.png)

In the x86 terminal, get info details (CMD + i) and check "Open using Rosetta"
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/srebp6gu8wvrguznjfjt.png)

That's it. Yes, really, that's all you need. Open your x86 terminal and you have an emulated x86 environment that just works.

If you install Hombrew in both envs it will be installed in different folders, the traditional `/usr/local/Cellar` for Intel based and the new one `opt/hombrew/Cellar`

I have a check in my `.zshrc` to load paths based on the arch. With that approach you need to be mindful about the arch you are running and loading the proper paths or executing the right code after login.

```
if [ $(arch) = 'arm64' ]; then
  ...
else
  ...
fi
```

I also added `$(arch)` to my prompt to know in which environment I am

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/20taxcgaexwavzu4koay.png)
 
## Caveats
If you install the same app or library in both environments they may clash. Let's say you install MySQL in both ARM and x86 using Homebrew and you want to link the binary, you should choose on what env you do it. Just be careful about that.
For me hasn't been a problem because I mainly use x86 so I didn't install anything in the ARM env. Just avoid installing the same stuff in both envs.
If you really need to use both arches, an alternative could be using Rosetta to emulate x86 and UTM to run ARM based VMs so you don't risk messing with duplicated libraries or apps.
Handling node_modules Being push to repository in Node powered projects.
Tags: productivity, node, git
Published: 2021-12-15 11:41:27

In my experience, working with [mono-repo](https://www.perforce.com/blog/vcs/what-monorepo) projects, I almost often end up adding node_modules to my remote repo 😩.

I finally found a way of working around it, hope to share. It's gonna be brief. But should you need to grab a cup of coffee, now is a good time to do that.

## Let's Get Started

A typical mono-repo project I've worked with has a following folder structure similar to this
![folder structure](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yytbeukanvks13j3exd3.png) 


With each folder having it own **package.json** file and **node_modules** folder 
![detailed structure of mono-repo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fht3axdw1pfryxlb5cd3.png)


## The pitfall
A common mistake is running
 ````bash 
git add .
```` in any of the folder other than the root directory, this add all content of the folder (and node_modules too 😕) to the git history.

## Way out
I found out adding **.gitignore** to each folder (api, client in this case) with the following content
````bash
./node_modules
````  
and
 ````bash
./api/node_modules
./client/node_modules
```` in the root folder will make sure node_modules is not added to the remote repository even if you run
 ````bash 
git add .
```` 
in any of the folders having node_modules


![fixing the error](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pfr9a23945ubjn28pvc2.png)
React JS Project With Dark Theme for Beginners
Tags: react, javascript, webdev
Published: 2021-12-15 11:36:46


## Artistic 📸

Made with ❤️ by [Shaif Arfan](http://instagram.com/shaifarfan08/)

**Live preview: [https://wc-artistic.netlify.app/](https://wc-artistic.netlify.app/)**

**Watch on YouTube: [https://youtu.be/DTR2IbNBfPA](https://youtu.be/DTR2IbNBfPA)**

**Source Code: [https://github.com/ShaifArfan/artistic](https://github.com/ShaifArfan/artistic)**

---

## Project Description

Artistic is a landing page for a photography studio. This is a well-designed and `responsive` landing page with `dark mode` feature. The main purpose of this project is to show how to create a landing page with `dark mode` feature using `ReactJs`.
We will be using React Context API to toggle `dark mode` feature. Hope you enjoy it!.

## What we are going to learn/use

- [ReactJs](https://reactjs.org/)
- [Styled Components](https://styled-components.com/)
- [React Context API](https://reactjs.org/docs/context.html)
- [React Hooks](https://reactjs.org/docs/hooks-intro.html)
- [React Icons](https://www.npmjs.com/package/react-icons)
- [React Scroll](https://www.npmjs.com/package/react-scroll)
- More . . .

## Requirements

- Basic ReactJs knowledge
- Basic HTML, CSS knowledge

## Starter files

You can find all the starter files in `starter-files` branch. You can to go to the `starter-files` branch and `download zip` the the starter files or You can clone the project and git checkout to `starter-files` branch.

## Getting Started

The recommended way to get started with the project is Follow the [YouTube tutorial](https://youtu.be/DTR2IbNBfPA). You will find all the step-by-step guides. Or you Can start the project on your own by following the guide below.

After getting the starter files, you need to go the file directory and run

```shell
npm install
```

and after that start the dev server.

```shell
npm start
```

## Tools Used

1. Images: [Unsplash](https://unsplash.com/)
1. UI Design: [Figma](https://www.figma.com/)
1. Code Editor: [VS Code](https://code.visualstudio.com/)

## Similar Projects

Here are some Similar projects that you might be interested.

- [Ayan's Portfolio - React JS Project](https://github.com/ShaifArfan/AYANs-portfolio)
- [Shaif's Cuisine - HTML, CSS project](https://github.com/ShaifArfan/shaif-s-cuisine)
- [Amy's Portfolio - HTML, CSS Project](https://github.com/ShaifArfan/AMYs-Portfolio)

---

## FAQ

### Q: How can i get started?

You can get started by following the [YouTube tutorial](https://youtu.be/DTR2IbNBfPA) of this project. Here is the full tutorial video link: [coming soon].

### Q: What i need to start the project?

Just open your favorite code editor and follow along with the [YouTube Tutorial](https://youtu.be/DTR2IbNBfPA).

### Q: Who the project is for?

The project is for the people who wanna get more skilled in `ReactJs`.

---

## Feedback

If you have any feedback, please reach out to us at [@web_cifar](http://instagram.com/web_cifar)

## Support

For support, join our [Community Group](http://facebook.com/groups/webcifar).

## License

[MIT](https://choosealicense.com/licenses/mit/)

Happy Coding! 🚀
Day 64 of 100 Days of Code & Scrum: Dynamic OpenGraph Meta Tags Using next-seo
Tags: 100daysofcode, beginners, javascript, productivity
Published: 2021-12-15 11:33:26

Good day, everyone!

I spent most of my day working on the [company website](https://www.rammina.com)'s `<meta>` tags using **OpenGraph** attributes, as well as the Twitter counterparts. I utilized the `next-seo` package to make it simpler to manage each page's `<meta>` tags. Most of the challenge was making dynamic blog data display the appropriate card summary. At one point, I made a mistake deploying erroneous code the production, which took a while to display the correct values (embarrassing because other people could see it).

Anyway, let's move on to my daily report!

## Yesterday

I worked on static `<meta>` tags for my [web development page](https://www.rammina.com). Not much work done, because it was also my physical therapy visit that day.

## Today

Here are the things I learned and worked on today:

### Company Website

- continued learning **OpenGraph** and the Twitter equivalent.
- used `next-seo` package to manage `<meta>` dynamically for blog posts retrieved from Ghost.
- preview images are now dynamic for each page.
- put temporary placeholder sections for **Services** and **Portfolio** pages to remove broken links.

### Scrum

- I did some practice flashcards for Scrum.
- reviewed some of the things I've learned before.

Thank you for reading! I wish you the best.

![Rammina Thank You Banner](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x9ayfxxxaz2g2hfcqbsk.png)

### Resources/Recommended Readings

- [The Open Graph Protocol](https://ogp.me/)
- [next-seo | GitHub](https://github.com/garmeeh/next-seo)
- [The 2020 Scrum Guide](https://scrumguides.org/scrum-guide.html)
- [Mikhail Lapshin's Scrum Quizzes](https://mlapshin.com/index.php/scrum-quizzes/)

### DISCLAIMER

**This is not a guide**, it is just me sharing my experiences and learnings. This post only expresses my thoughts and opinions (based on my limited knowledge) and is in no way a substitute for actual references. If I ever make a mistake or if you disagree, I would appreciate corrections in the comments!

<hr />

### Other Media

Feel free to reach out to me in other media!

<span><a target="_blank" href="https://www.rammina.com/"><img src="https://res.cloudinary.com/rammina/image/upload/v1638444046/rammina-button-128_x9ginu.png" alt="Rammina Logo" width="128" height="50"/></a></span>

<span><a target="_blank" href="https://twitter.com/RamminaR"><img src="https://res.cloudinary.com/rammina/image/upload/v1636792959/twitter-logo_laoyfu_pdbagm.png" alt="Twitter logo" width="128" height="50"/></a></span>

<span><a target="_blank" href="https://github.com/Rammina"><img src="https://res.cloudinary.com/rammina/image/upload/v1636795051/GitHub-Emblem2_epcp8r.png" alt="Github logo" width="128" height="50"/></a></span>
So what is :root and var() in css???
Published: 2021-12-15 11:29:36

Hi there, Today I will tell you what is :root and var() in css. For beginners this might be confusing most of the time when they follow long on youtube to design something. Let's talk about variables first in css. What happened?  Never heard about it, well now you know there are variables in css also.

I suppose you have little knowledge on variables and their scope. There are two type of scope for variables. Global and local. Please read my js 1st day post that might clear your query on scope. 
Ok, Now we know there are variables in css and there are scope for these variables. But when we gonna talk about the main topic?? I am reaching there almost '__'  .

So basically -  :root is used to define variables in global scope.
Why global scope? SO that we can use those variables anywhere in the css. Why not I give you an example. Suppose you want to use sexy af color in your design.  But you are struggling to remember their hexa codes like #53EF44 or rgba(445,75,544) something like that and writing this again and again throughout the code is pain in the arse. In this kind of situations variables will come to rescue.I'll show you a  code snippet.

```
:root  //global scope
{
--blue: #6495ed  //variable
--white: #faf0e6
}

body {background-color: var(--blue);} //how to use variable via var() function.
```
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z5dng3n9wyo3m6siefhy.gif)

I know what you gonna ask now. What the heck is** --blue or --white**. 
So my friends these are non other then **_variable itself_** and we use var() function to use these variables. 


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