teleren/devto huggingface dataset:
🌐Embrace the Power of Open Source: Know the Different Types of Licences! Open-source and licensing series - (2/7)
Tags: opensource, developer
Published: 2023-07-15 06:28:50


🌐Embrace the Power of Open Source: Know the Different Types of Licences!

Open source software (OSS) has completely changed how we cooperate and create, encouraging a spirit of sharing and group advancement. However, successful collaboration and compliance depend on having a solid understanding of the various licence categories.
Broadly there are two categories of open source licenses -

🔑Copyleft Licences: Copyleft licences are created to maintain the open and free nature of software. They make sure that the software is distributed under the same licence regardless of any changes or new versions. There are two varieties of copyleft: strong copyleft and weak copyleft.

🔒 Strong Copyleft: Licences demand that any modified or derivative works be distributed in accordance with the same copyleft licence. This guarantees that the project as a whole will stay open source. Strong copyleft licences place a high priority on maintaining the software's independence and fostering a robust open source ecosystem.
✅ Example: GNU General Public License (GPL)

🔒 Weak Copyleft: Licences with weak copyleft provisions, permit the blending of open source and proprietary code. Any changes made to the original code, nevertheless, must be released under the same licence. A compromise between openness and compatibility with proprietary software is achieved through weak copyleft licences.
✅ Example: Mozilla Public License (MPL)

🔒Permissive Licences: Permissive licences give users and developers more flexibility. They do not impose the need that derivative works be released under the same licence, allowing the modification, distribution, and use of open source code in proprietary projects. Permissive licences stimulate innovation and wide acceptance.
✅ Examples: MIT License, Apache License, BSD License

For developers, organisations, and users, it's crucial to understand these licence kinds. It guarantees adherence, defends property rights, and promotes ethical usage and contribution within the open source community.

Let's work towards clarity, cooperation, and respect for the many licences as we use open source to build a global innovation community.

Please share your thoughts and experiences with open source licenses in the comments below!
Rest api endpoints are acessible on the localhost but not on the server
Tags: node, mongodb, express, restapi
Published: 2023-07-15 05:35:17

Hi, As I'm fresher of 4 month into web-development into the industry,
I'm working on a big project that uses cms to update on the website and post the data to the database of mongo-db Atlas to update the database

as I was working on api to create new endpoints but the problem as i have created the api endpoints they are working fully fine on the localhost and fetching the data fully fine but as i edited the files of server through use of file-zilla then there is error of can't get /the-end-point that are newly created not a single one are working
kindly suggest me help here its on urgent to be done

kindly find the picture where im fetching the data on local and server

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/12j5med0w69i9kr4dpv3.jpg)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tjuv4m8gsqzdru060q7q.jpg)
The WebXGuild Chronicles - #02C03: The Collaborative Crescendo
Tags: webdev, devjournal, github, opensource
Published: 2023-07-15 05:30:00

Our story reaches a crescendo as the team pushes forward, collaborating in perfect harmony. Commit after commit, the symphony of code and ideas grows stronger. Each contributor adds their unique touch, fine-tuning the project and addressing specific needs.

From the inclusion of [Supabase](https://supabase.com) database types to the middleware for authentication, the project blossoms into a robust ecosystem. With the introduction of a user profile route, session handling, and UI components, the [WebXGuild](https://github.com/WebXDAO/WebXGuild) project takes on a life of its own.

---
> DISCLAIMER: This content was made via Google Translate (an AI tool used to translate languages, you may have forgotten so I reminded it). If the language I use seems odd, assume I'm digressing and trying to say something. Why should there be this disclaimer? Because I always considered ChatGPT!!!
TIL about inline CSS in html... and went down a rabbit hole
Published: 2023-07-15 05:22:13

Not much happening today, but I got curious about how web browsers read html and CSS under the hood...

This spring I went through FreeCodeCamp's "Responsive Web Design" module, learning about html and CSS for the first time. They guided me straight to "the right way" of setting up an external stylesheet.

For TechPrep 2.0, one of the module is to go through Codecademy introduction to CSS. Although they say right away that this is not necessarily useful, I learned that I could inject CSS code straight into an html page.

Which got me thinking: "is html and CSS just the same language?"

I asked GP-TA, whose response was:
> Yes, HTML and CSS are indeed two distinct languages, each with their own syntax, rules, and purposes.
> HTML (HyperText Markup Language) is a markup language used for creating the structure and content of a webpage. It consists of various elements or tags that represent different types of content - headings, paragraphs, links, images, etc.
> CSS (Cascading Style Sheets), on the other hand, is a style sheet language used for describing the look and formatting of a document written in HTML. It deals with the presentation aspects like layout, colors, fonts, etc.
> The fact that you can write CSS inline within an HTML document doesn’t make them the same language. It’s just a way to apply CSS styles directly to HTML elements. However, it’s generally recommended to separate your CSS into its own file or at least in a style tag in the head of the document to keep styles separate from content, which makes your code more maintainable and easier to understand.
> In other words, HTML and CSS work together to create a complete web page, but they have different roles and are distinct languages.

Fair enough, but not entirely convinced. 

This led me down a rabbit hole of googling how computers interpret html and CSS on a lower level... 

Which led me to the concept of DOM trees. DOM stands for "Document Object Model". I think it has to do with how a web browser first reads through html code to understand the relationship and hierarchy within it. But it is getting late here and I am not reinventing the internet tonight...

![DOM tree](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5rj6pfzwpmoos54biyji.gif)
*A DOM tree*

Edit: I kept on reading. Turns out, there is a sister tree, the CSSOM (CSS Objet Model)(and then I think also more trees for Javascript???). And then the browser processes a render tree (so at this point it's basically a forest) which is basically how the trees are related to each other [insert mindblown emoji].
AntDB Installation and Deployment Documentation - P4
Tags: database
Published: 2023-07-15 05:11:17

##### Initialization of sub-center nodes

Method 1: You can use append to initialize the nodes of the sub-center one by one. For example:

```
append coordinator slave sc0zone2; 
append coordinator slave sc1zone2; 
append gtmcoord slave gszone2; 
append datanode slave ds1zone2; 
append datanode slave ds0zone2; 
```

Method 2: You can use the zone init command to add all nodes in zone2 at once , for example

```
ZONE INIT zone2; 
```

Check the status of the subcenter nodes after initialization.

```
list node zone zone_name; 
```

For example:

```
postgres=# LIST NODE ZONE zone2; 
   name   |    host    |       type        | mastername | port  | sync_state |               path                | initialize 
d | incluster | readonly | zone   
----------+------------+-------------------+------------+-------+------------+-----------------------------------+----------- 
--+-----------+----------+------- 
 gszone2  | localhost2 | gtmcoord slave         | gtmcoord        |  6775 | async      | /home/shan2/pgdata_xc/sgc        | t          
  | t         | f        | zone2 
 sc0zone2 | localhost2 | coordinator slave | coord0     |  4338 | async      | /home/shan2/pgdata_xc/coord/s0    | t          
  | t         | f        | zone2 
 sc1zone2 | localhost1 | coordinator slave | coord1     |  4338 | async      | /home/shan2/pgdata_xc/coord/s1    | t          
  | t         | f        | zone2 
 ds0zone2 | localhost3 | datanode slave    | dm0        | 14335 | async      | /home/shan2/pgdata_xc/datanode/s0 | t          
  | t         | f        | zone2 
 ds1zone2 | localhost4 | datanode slave    | dm1        | 24335 | async      | /home/shan2/pgdata_xc/datanode/s1 | t          
  | t         | f        | zone2 
(5 rows) 
```

At this point, the sub-center is established.
The WebXGuild Chronicles - #02C02: Rhythm and Refinement
Tags: webdev, devjournal, github, opensource
Published: 2023-07-15 05:00:00

As we ascend the commit logs, a cadence emerges—a rhythm of continuous improvement. The project evolves with each passing day. From adjusting toast delays to enhancing responsiveness and code formatting, Imam leaves no stone unturned.

New components take shape—the login page, the authentication callback route, and the mighty `AuthNav`. These additions provide the project with a robust framework, enabling seamless authentication and session handling. The stage is set for a captivating user experience.

---
> DISCLAIMER: This content was made via Google Translate (an AI tool used to translate languages, you may have forgotten so I reminded it). If the language I use seems odd, assume I'm digressing and trying to say something. Why should there be this disclaimer? Because I always considered ChatGPT!!!
Meiliseach - A fast search engine for big data, Open source (no license needed)
Tags: meilisearch, laravelscout, bigdatasearch, licensefreesearch
Published: 2023-07-15 04:42:41

A quick layman summary: Meiliseach is a tool that you can use in your big data for fast searching, Combining this with Laravel Scout makes it an outstanding tool that can be used in fast searching in your database. 

The good part is, it is open source which means you can install this on your machine and use it without any license issue.

I recently used this library in my Laravel project and it makes the client happy as a clam.

If you want to implement this with a help of a developer then you can contact here:
[Developer](https://mudassirali.com/)
[Twitter](https://twitter.com/mudassirali007)
The WebXGuild Chronicles - #02C01: The Symphony of Commitment
Tags: webdev, devjournal, github, opensource
Published: 2023-07-15 04:00:00

Dear reader, as we dive into the realm of commit logs, we witness the intricate dance of collaboration and progress within the [WebXGuild](https://github.com/WebXDAO/WebXGuild) project. Each commit represents a step forward, a note added to the symphony of development. So, let us embark on this melodious journey, reading the commit logs from bottom to top.

The story begins with a grand initiation—Maxime Kubik's commit, marked with the message "feat: init the [WebXGuild](https://github.com/WebXDAO/WebXGuild) project 🚀 [Next.js](https://nextjs.org/) 13 structure Bootstraping based on [shadcn/taxonomy](https://tx.shadcn.com/)." Ah, the birth of a project, a moment of excitement and anticipation.

As the tale unfolds, Maxime's commits, like musical notes on a staff, continue to shape the project's foundation. Documentation updates, the addition of basic types, and project configuration all contribute to the growing symphony of [WebXGuild](https://github.com/WebXDAO/WebXGuild).

But it doesn't end there, dear reader! A host of contributors joins the harmony. Imam Ali Mustofa, with his skillful touch, brings forth commits that transform the project's architecture. He introduces new features, refactors code, and ensures seamless integration. The commitment and dedication of Imam and the team shine through every line of code.

---
> DISCLAIMER: This content was made via Google Translate (an AI tool used to translate languages, you may have forgotten so I reminded it). If the language I use seems odd, assume I'm digressing and trying to say something. Why should there be this disclaimer? Because I always considered ChatGPT!!!
base
Tags: webdev, beginners, tutorial
Published: 2023-07-15 03:45:41

Welcome to the BaseballJerseyShop, your one-stop-shop for all your baseball jersey needs!

Our passion for baseball led us to create this specialized online store to cater to the unique tastes and preferences of baseball enthusiasts. We understand that the perfect baseball jersey is not just about the design or the team it represents, but also the comfort, fit, and the memories it holds. That's why we offer a wide variety of jerseys, from vintage designs to the latest team wear, catering to fans of all ages and style preferences. We believe that wearing your team's jersey is more than just a fashion statement; it's a symbol of loyalty and commitment to the sport and its community.

At BaseballJerseyShop, we are committed to providing our customers with the best products and service. Thank you for choosing us as your baseball jersey destination. Happy shopping!
https://baseballjerseyshop.com
https://www.facebook.com/baseballjerseyshop
https://www.youtube.com/@baseballjerseyshop/about
https://twitter.com/BaseballJerseyy
https://www.pinterest.com/baseballjerseyshop/
https://www.instagram.com/baseballjerseyshop/
https://www.linkedin.com/in/baseballjerseyshop/
https://vimeo.com/baseballjerseyshop
https://www.tumblr.com/baseballjerseyshop
https://www.reddit.com/user/BaseballJerseyShop
BaseballJerseyShop
Published: 2023-07-15 03:38:06

Welcome to the BaseballJerseyShop, your one-stop-shop for all your baseball jersey needs!

Our passion for baseball led us to create this specialized online store to cater to the unique tastes and preferences of baseball enthusiasts. We understand that the perfect baseball jersey is not just about the design or the team it represents, but also the comfort, fit, and the memories it holds. That's why we offer a wide variety of jerseys, from vintage designs to the latest team wear, catering to fans of all ages and style preferences. We believe that wearing your team's jersey is more than just a fashion statement; it's a symbol of loyalty and commitment to the sport and its community.

At BaseballJerseyShop, we are committed to providing our customers with the best products and service. Thank you for choosing us as your baseball jersey destination. Happy shopping!
https://baseballjerseyshop.com
https://www.facebook.com/baseballjerseyshop
https://www.youtube.com/@baseballjerseyshop/about
https://twitter.com/BaseballJerseyy
https://www.pinterest.com/baseballjerseyshop/
https://www.instagram.com/baseballjerseyshop/
https://www.linkedin.com/in/baseballjerseyshop/
https://vimeo.com/baseballjerseyshop
https://www.tumblr.com/baseballjerseyshop
https://www.reddit.com/user/BaseballJerseyShop
Efficient Research Paper Analysis and Data Extraction
Tags: beginners, productivity, career, discuss
Published: 2023-07-15 03:30:00

Efficiently extracting relevant information from research papers is essential for students, researchers, and business professionals.

ResearchAIde is a powerful tool designed to streamline the process of analyzing research papers, enabling users to quickly extract and synthesize valuable insights. By leveraging ResearchAIde, users can save time, organize their research, and extract data efficiently, enhancing their productivity and decision-making processes.

**[JUMP ON THE TOOL TODAY!](https://www.aiforme.wiki/ai/tools/ResearchAIde)**

**Time-Saving Analysis:**

Reading through entire research papers can be time-consuming, especially when searching for specific information. ResearchAIde eliminates the need for extensive reading by providing a time-saving solution. With ResearchAIde, users can quickly find the information they need, saving valuable time and allowing them to focus on analyzing and synthesizing the key findings.

**Seamless File Chat for Organized Research:**

ResearchAIde offers a seamless file chat feature, enabling users to organize their research papers in one place. Users can easily navigate through multiple papers, enhancing their efficiency and reducing the time spent searching for specific documents. With ResearchAIde's organized file chat, users can access and reference their research materials effortlessly.

**Powerful Data Extraction:**

Extracting valuable insights from research papers is a critical aspect of effective analysis. ResearchAIde provides powerful data extraction capabilities, allowing users to extract relevant information from research papers in a matter of seconds. By leveraging ResearchAIde's advanced algorithms, users can efficiently extract key data points, statistics, findings, and other valuable information from research papers, facilitating deeper analysis and informed decision-making.

**Enhance Your Research Process with ResearchAIde:**

ResearchAIde is the go-to tool for students, researchers, and business professionals seeking to optimize their research processes. By utilizing ResearchAIde's features, users can save time, organize their research materials, and extract valuable insights efficiently. Whether you're conducting academic research, performing market analysis, or staying up-to-date with the latest trends in your field, ResearchAIde empowers you to streamline your research and maximize productivity.

[Unlock the power of ResearchAIde and take your research endeavors to new heights.](https://www.aiforme.wiki/ai/tools/ResearchAIde)
The WebXGuild Chronicles - #02C00: Project Orchestration
Tags: webdev, devjournal, github, opensource
Published: 2023-07-15 03:30:00

Oh boy, let's give a big round of applause to Maxime, the master builder, and Nikhil, the idea maestro, for bringing some serious excitement to the table! 🎉 Vincent, our hero, is practically doing cartwheels of joy and even dishes out "10 billion points" to express his awe. Now, that's some high praise right there!

In the previous chapter, we got a taste of the story unfolding in the GitHub [WebXDAO](https://github.com/WebXDAO/WebXGuild) discussion thread. But hey, we haven't seen our contributors in action yet. It's time to dive deep into the history of GitHub commitments and uncover the hidden beauty behind every single contribution. Let's surf through the surface and explore the wonders that await us!

Picture this: we're about to embark on a journey that will make your heart race with excitement. We'll peel back the layers of GitHub commitments like unwrapping a delicious digital present. And let me tell you, my friend, it's gonna be one heck of a ride!

Get ready to witness the magic unfold as we dig into the rich tapestry of commits. It's like exploring a treasure trove of coding brilliance, where each commit shines like a sparkling gem in the vast sea of code.

We'll encounter commits of all shapes and sizes, from short and snappy to long and descriptive. Some will make you go, "Wow, that's some impressive coding skills!" while others might make you scratch your head and wonder, "How did they come up with that?!"

But fear not, my curious companion, because we're in for a wild and whimsical adventure. We'll embrace the enthusiasm and excitement that fills the air as we journey through the GitHub commits. It's a roller-coaster of emotions, from moments of pure genius to instances where we might chuckle and say, "Well, that's one way to solve a problem!"

So buckle up, my friend, because we're about to embark on an expedition like no other. Let's dive into the mesmerizing world of GitHub commitments, where contributors leave their mark and push the boundaries of innovation. It's gonna be a wild ride, filled with laughter, surprises, and maybe even a few facepalms along the way. Get ready to witness the beauty of coding in action! 🚀✨

---
> DISCLAIMER: This content was made via Google Translate (an AI tool used to translate languages, you may have forgotten so I reminded it). If the language I use seems odd, assume I'm digressing and trying to say something. Why should there be this disclaimer? Because I always considered ChatGPT!!!
Giới hạn thời gian submit kết quả Google Form
Published: 2023-07-15 03:11:09

1. mở Google Form, chọn form cần set thời gian, mở dấu 3 chấm, chọn Get Addons 
2. thêm cái `formLimiter` vào 
3. ở góc phải màn hình edit form, cái panel formLimiter hiện ra, chọn date time, chọn thời gian, nhập thông báo. 



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


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

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


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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f2q67wsdmknwml0g8sxi.png)
A little bit each day
Published: 2023-07-15 02:34:04

Today I am working my way through the Ruby modules and going back to basics. I am thoroughly enjoying this platform and the way the lessons are set up. Having previously completed a bootcamp using Ruby on Rails as the backend language and framework, I think going back through these lessons at my own pace is helpful for being able to go more in depth on things I haven't used in a while.

I've found that I really enjoy backend, so I'm also making sure I take time to continue adding to the Link in Bio assignment to strengthen my front end skills.
Hello
Published: 2023-07-15 02:29:45

My name is Camille He. This is my first post in Dev Community. I met Dev Community a few years ago, and read many useful tech documents from here. It's a good place to share knowledge and experience of what I learned, and hear amazing ideas from others. So I decided to start my journey here. Here is something about me.

Innovative full stack software engineer with 6+ years of experience in micro service design and 4+ years of AWS architecture solution design. Demonstrated talent for frontend and backend web development implementation. Motivated to learn, grow and exercise in Cloud. 

Outside work, I enjoy working out, reading and watching movies. Besides, I love manga, and One-Piece is my favorite.

I'm not an English native speaker, however, I really want to improve the English communication and writing skills. I always appreciate your comments on content and grammar. Thank you.
How to Mock Bugsnag in jest.setup.js
Tags: jest, tutorial, reactnative, testing
Published: 2023-07-15 02:17:26

If you're testing with Jest, perhaps you already know to add manual mocks in your `__mocks__` directory

```
├── src
│   └── index.js
├── __mocks__
│   └── @bugsnag
│       └── react-native.js
├── node_modules
├── jest.config.js
├── jest.setup.js
└── package.json
```

With `__mocks__/@bugsnag/react-native.js` looking like:
```
module.exports = {
  leaveBreadcrumb: jest.fn(),
  notify: jest.fn(),
  start: jest.fn(),
  // other functions you call in your code
};
```

However, if you already have `jest.setup.js`, you can mock Bugsnag like this:
```
// inside jest.setup.js
jest.mock("@bugsnag/react-native", () => ({
  leaveBreadcrumb: jest.fn(),
  notify: jest.fn(),
  start: jest.fn(),
  // other functions you call in your code
}));

// other mocked modules
```

The two approaches will work, so choose one or the other depending on you or your team's preference or need.

Sources:
[Mocking Node modules](https://jestjs.io/docs/manual-mocks#mocking-node-modules)
[jest.mock](https://jestjs.io/docs/jest-object#jestmockmodulename-factory-options)