Skip to content

Commit ee11698

Browse files
authored
chore: add dictionary entries (#72)
### Description <!-- Please add PR description (don't leave blank) - example: This PR [adds/removes/fixes/replaces] the [feature/bug/etc] --> This Pull requests adds some new dictionary entries and fixes a nit, particularly the case where the `SearchDialog` component background blur is regressed when rendered in places other than the homepage. #### Changes Made - Modified the full height size unit on the `SearchDialog` component in the `Search` island from `100%` to `100vh` to enforce a full screen background blur ### Related Issue <!-- Please prefix the issue number with Fixes/Resolves - example: Fixes #123 or Resolves #123 --> NA ### Screenshots/Screencasts <!-- Please provide screenshots or video recording that demos your changes (especially if it's a visual change) --> **_BEFORE_** ![image](https://github.com/devjargons/jargons.dev/assets/25631971/d56d5c36-d5f1-4d16-ad73-25c2b4006889) _**AFTER**_ ![image](https://github.com/devjargons/jargons.dev/assets/25631971/93dd1f11-7192-413b-b18d-129767a3dd50) ### Notes to Reviewer <!-- Please state here if you added a new npm packages, or any extra information that can help reviewer better review you changes --> NA
1 parent 8ac4ff2 commit ee11698

17 files changed

Lines changed: 358 additions & 1 deletion

File tree

src/components/islands/search.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function SearchDialog() {
158158
};
159159

160160
return (
161-
<div className="fixed left-0 top-0 z-auto p-5 w-full h-full flex justify-center bg-gray-100/30">
161+
<div className="fixed left-0 top-0 z-auto p-5 w-full h-screen flex justify-center bg-gray-100/30">
162162
{/* Blur */}
163163
<div onClick={() => $isSearchOpen.set(!isSearchOpen)}
164164
className="absolute w-full h-full left-0 top-0 z-50 backdrop-blur-sm"
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
layout: ../../layouts/word.astro
3+
title: 'Algorithm'
4+
---
5+
6+
An algorithm is a step-by-step procedure or formula for solving a problem. In the context of computer science, algorithms are essential for writing efficient and effective computer programs. They help in organizing and processing data to produce the desired output. Here's a fuller explanation of an algorithm with a code example written in JavaScript:
7+
8+
### Explanation:
9+
An algorithm to find the factorial of a number calculates the product of all positive integers up to the given number. For example, the factorial of 5 (written as 5!) is 5 * 4 * 3 * 2 * 1 = 120.
10+
11+
### Code Example:
12+
```javascript
13+
function factorial(n) {
14+
// Base case: If the number is 0 or 1, return 1
15+
if (n === 0 || n === 1) {
16+
return 1;
17+
} else {
18+
// Recursive case: Multiply the number by the factorial of (n-1)
19+
return n * factorial(n - 1);
20+
}
21+
}
22+
23+
// Example usage
24+
console.log(factorial(5)); // Output: 120
25+
```
26+
27+
In this code:
28+
- The `factorial` function takes a single argument `n`, which is the number whose factorial is to be calculated.
29+
- It uses recursion to calculate the factorial. If the number is 0 or 1, it returns 1 (base case). Otherwise, it multiplies the number by the factorial of `(n-1)` (recursive case) until it reaches the base case.
30+
31+
This algorithm demonstrates the use of recursion to solve a mathematical problem. It showcases a fundamental concept in algorithm design and highlights the importance of breaking down a complex problem into simpler, manageable subproblems.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
layout: ../../layouts/word.astro
3+
title: 'Big Data'
4+
---
5+
**Big Data** refers to the massive volume of structured and unstructured data that inundates a business on a day-to-day basis. It's characterized by its velocity, volume, and variety, often referred to as the three Vs. Big Data can come from various sources such as social media, business transactions, sensors, and more. The challenge with Big Data is not only the sheer volume but also the complexity of processing and extracting valuable insights from it.
6+
7+
### Characteristics of Big Data:
8+
1. **Volume**: Big Data involves large amounts of data. Traditional data processing tools may struggle to handle such massive volumes.
9+
2. **Velocity**: Data streams in at an unprecedented speed. For example, social media platforms generate data in real-time, requiring quick processing to extract meaningful insights.
10+
3. **Variety**: Data comes in different formats, including structured (e.g., databases), semi-structured (e.g., XML, JSON), and unstructured (e.g., text, images, videos). Managing these diverse data types poses a challenge.
11+
12+
### Importance of Big Data:
13+
1. **Decision Making**: Big Data provides valuable insights that organizations can use to make informed decisions. For example, analyzing customer data can help in personalized marketing strategies.
14+
2. **Improved Efficiency**: By analyzing data, organizations can identify inefficiencies and streamline operations.
15+
3. **Innovation**: Big Data fuels innovation by identifying trends and patterns that can lead to the development of new products or services.
16+
17+
### Challenges of Big Data:
18+
1. **Storage**: Storing large volumes of data requires scalable and cost-effective solutions.
19+
2. **Processing**: Processing Big Data requires powerful computational resources and efficient algorithms.
20+
3. **Privacy and Security**: Handling sensitive data raises concerns about privacy and security.
21+
22+
### Technologies for Big Data:
23+
1. **Hadoop**: An open-source framework for distributed storage and processing of large datasets.
24+
2. **Spark**: A fast and general-purpose cluster computing system for Big Data processing.
25+
3. **NoSQL Databases**: Non-relational databases that can handle large volumes of unstructured data efficiently.
26+
4. **Machine Learning**: Algorithms and models used to analyze Big Data and extract valuable insights.

src/content/dictionary/css.mdx

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
---
2+
layout: ../../layouts/word.astro
3+
title: 'CSS (Cascading Style Sheets)'
4+
---
5+
A style sheet language used for describing the presentation of a document written in HTML or XML. **Cascading Style Sheets (CSS)** is a stylesheet language used to describe the presentation of a document written in HTML or XML (including XML dialects such as SVG, MathML, etc.). It controls the layout, colors, fonts, and other visual aspects of a web page.
6+
7+
### Basic Syntax:
8+
```css
9+
selector {
10+
property: value;
11+
}
12+
```
13+
14+
### Selectors:
15+
- **Element Selector**: Selects HTML elements by name.
16+
```css
17+
p {
18+
color: red;
19+
}
20+
```
21+
22+
- **Class Selector**: Selects elements with a specific class attribute.
23+
```css
24+
.highlight {
25+
background-color: yellow;
26+
}
27+
```
28+
29+
- **ID Selector**: Selects a single element with a specific id attribute.
30+
```css
31+
#main-header {
32+
font-size: 24px;
33+
}
34+
```
35+
36+
- **Descendant Selector**: Selects an element that is a descendant of another specified element.
37+
```css
38+
article p {
39+
line-height: 1.5;
40+
}
41+
```
42+
43+
### Box Model:
44+
- **Margin**: Space outside the border.
45+
- **Border**: Border around the padding and content.
46+
- **Padding**: Space between the content and the border.
47+
- **Content**: The actual content of the box.
48+
49+
### Example:
50+
```css
51+
/* Styles for a simple box */
52+
.box {
53+
width: 200px;
54+
height: 200px;
55+
background-color: #f0f0f0;
56+
border: 1px solid #ccc;
57+
padding: 20px;
58+
margin: 20px;
59+
text-align: center;
60+
}
61+
62+
/* Styles for a class */
63+
.button {
64+
display: inline-block;
65+
padding: 10px 20px;
66+
background-color: #007bff;
67+
color: white;
68+
text-decoration: none;
69+
border-radius: 5px;
70+
}
71+
72+
/* Styles for an ID */
73+
#header {
74+
font-size: 24px;
75+
font-weight: bold;
76+
text-align: center;
77+
color: #333;
78+
}
79+
```
80+
81+
### Importance of CSS:
82+
- **Consistency**: Ensures a consistent look and feel across a website.
83+
- **Accessibility**: Helps make content more accessible to users with disabilities.
84+
- **Responsiveness**: Allows for the creation of responsive designs that adapt to different screen sizes.
85+
- **Maintainability**: Makes it easier to maintain and update styles across a website.

src/content/dictionary/devops.mdx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: ../../layouts/word.astro
3+
title: 'DevOps'
4+
---
5+
**DevOps** is a software development methodology that combines software development (Dev) with IT operations (Ops). It aims to shorten the software development life cycle and provide continuous delivery of high-quality software. DevOps focuses on collaboration, automation, and integration between developers and IT operations teams to improve the speed and quality of software delivery.
6+
7+
### Key Principles of DevOps:
8+
9+
1. **Collaboration**: DevOps encourages collaboration between development, operations, and other stakeholders to ensure that everyone is working towards the same goals.
10+
11+
2. **Automation**: Automation is key in DevOps to streamline processes, reduce manual errors, and increase efficiency. This includes automating build, test, and deployment processes.
12+
13+
3. **Continuous Integration and Continuous Deployment (CI/CD)**: CI/CD is a set of practices that automate the integration of code changes and the deployment of applications, ensuring that software is always in a deployable state.
14+
15+
4. **Infrastructure as Code (IaC)**: IaC allows infrastructure to be managed and provisioned through code, making it easier to scale and manage infrastructure resources.
16+
17+
5. **Monitoring and Logging**: DevOps emphasizes the importance of monitoring and logging to ensure the health and performance of applications and infrastructure, allowing for quick identification and resolution of issues.
18+
19+
### Benefits of DevOps:
20+
21+
1. **Faster Delivery**: DevOps practices enable faster delivery of features, updates, and fixes, reducing time-to-market.
22+
23+
2. **Improved Collaboration**: By breaking down silos between teams, DevOps improves collaboration and communication, leading to better outcomes.
24+
25+
3. **Increased Efficiency**: Automation and streamlined processes lead to increased efficiency, allowing teams to focus on delivering value.
26+
27+
4. **Higher Quality**: Continuous testing and integration result in higher-quality software with fewer defects.
28+
29+
5. **Improved Security**: DevOps practices include security at every stage, leading to more secure software.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: ../../layouts/word.astro
3+
title: 'Framework'
4+
---
5+
A software framework is a reusable, pre-written code or set of libraries that provides a foundation on which to build applications. Example: React is a JavaScript framework for building user interfaces.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: ../../layouts/word.astro
3+
title: 'Full Stack'
4+
---
5+
A term used to describe developers who are proficient in both frontend and backend development. Example: A full stack developer can work on all aspects of a web application, from the user interface to the database.

src/content/dictionary/git.mdx

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
layout: ../../layouts/word.astro
3+
title: 'Git'
4+
---
5+
**Git** is a distributed version control system used for tracking changes in source code during software development. It was created by Linus Torvalds in 2005 for managing the Linux kernel development. Git is widely used in both open-source and commercial software development projects due to its efficiency and powerful features.
6+
7+
### Key Concepts of Git:
8+
9+
1. **Repository**: A repository, or repo, is a collection of files and directories that make up a project, along with the version history of each file.
10+
11+
2. **Commit**: A commit is a snapshot of changes to the repository at a specific point in time. It represents a single, atomic change to the repository.
12+
13+
3. **Branch**: A branch is a parallel version of the repository that allows for independent development of features or fixes. Branches are used to work on new features without affecting the main codebase.
14+
15+
4. **Merge**: Merging is the process of combining changes from one branch into another. It is used to incorporate the changes made in a branch back into the main codebase.
16+
17+
5. **Pull Request**: A pull request, or PR, is a request to merge changes from one branch into another. It is typically used in a collaborative development environment to review and discuss code changes before merging.
18+
19+
6. **Remote**: A remote is a copy of the repository that is stored on a server. It allows multiple developers to collaborate on the same project and keep their local repositories in sync with the remote repository.
20+
21+
### Basic Git Workflow:
22+
23+
1. **Clone**: Clone a repository from a remote server to create a local copy on your machine.
24+
```
25+
git clone <repository-url>
26+
```
27+
28+
2. **Add**: Add changes to the staging area to prepare them for commit.
29+
```
30+
git add <file>
31+
```
32+
33+
3. **Commit**: Commit changes to the repository with a descriptive message.
34+
```
35+
git commit -m "Commit message"
36+
```
37+
38+
4. **Push**: Push committed changes from your local repository to a remote repository.
39+
```
40+
git push
41+
```
42+
43+
5. **Pull**: Pull changes from a remote repository to update your local repository.
44+
```
45+
git pull
46+
```
47+
48+
6. **Branch**: Create, switch, and merge branches to work on different features or fixes.
49+
```
50+
git branch <branch-name>
51+
git checkout <branch-name>
52+
git merge <branch-name>
53+
```
54+
55+
Git provides a powerful set of tools for version control and collaboration in software development, enabling developers to work efficiently and effectively on projects of any size.

src/content/dictionary/ide.mdx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: ../../layouts/word.astro
3+
title: 'IDE (Integrated Development Environment)'
4+
---
5+
An Integrated Development Environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE typically consists of a source code editor, build automation tools, and a debugger, all integrated into a single graphical user interface.
6+
7+
### Key Components of an IDE:
8+
9+
1. **Source Code Editor**: IDEs include a text editor with features like syntax highlighting, code completion, and code formatting to make writing code easier and more efficient.
10+
11+
2. **Build Automation Tools**: IDEs often come with tools to automate the build process, such as compilers, build scripts, and integration with version control systems.
12+
13+
3. **Debugger**: IDEs provide debugging tools that allow developers to step through their code, set breakpoints, and inspect variables to find and fix errors in their programs.
14+
15+
4. **Project Management**: IDEs offer features for managing projects, organizing files, and handling dependencies, making it easier to navigate and work with large codebases.
16+
17+
5. **Version Control Integration**: IDEs integrate with version control systems like Git, allowing developers to manage code changes, branches, and merges directly from the IDE.
18+
19+
6. **Extensions and Plugins**: IDEs often support extensions and plugins that can be used to add additional functionality, such as support for new programming languages or frameworks.
20+
21+
### Advantages of Using an IDE:
22+
23+
1. **Increased Productivity**: IDEs provide tools and features that streamline the development process, allowing developers to write code faster and more efficiently.
24+
25+
2. **Code Quality**: IDEs often include tools for code analysis, refactoring, and testing, helping developers write cleaner, more maintainable code.
26+
27+
3. **Consistency**: IDEs enforce coding standards and best practices, ensuring that code written by different developers follows the same conventions.
28+
29+
4. **Debugging**: IDEs offer powerful debugging tools that make it easier to find and fix bugs in code.
30+
31+
5. **Integration**: IDEs integrate with other development tools and services, such as build systems, version control, and issue trackers, providing a seamless development experience.
32+
33+
6. **Community and Support**: IDEs often have large communities of developers and extensive documentation, making it easier to find help and resources when needed.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: ../../layouts/word.astro
3+
title: 'JavaScript'
4+
---
5+
A programming language used to create interactive effects within web browsers.
6+
7+
Example: console.log("Hello, World!") prints "Hello, World!" to the browser console.

0 commit comments

Comments
 (0)