Skip to content

Commit

Permalink
Merge pull request #1756 from lilin90/fix-typo-grammar
Browse files Browse the repository at this point in the history
web, etl: fix multiple typos and grammar
  • Loading branch information
ngaut committed May 15, 2024
2 parents 3d9dcfd + 33cd1c2 commit ef93119
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion etl/meta/collections/10068.x-as-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ items:

# The relationship between X as Code and Configuration management tools is the following:
# 1. The X as Code is a subset of Configuration Management.
# 2. X as Code use declarative API to interact with X. X such as the Infrastucture, Application, Database, etc.
# 2. X as Code use declarative API to interact with X. X such as the Infrastructure, Application, Database, etc.
2 changes: 1 addition & 1 deletion web/blog/how-it-works/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ ORDER BY 2 DESC
+-------------------+-------+
```

We have analyzed all the GitHub projects regarding databases, JavaScripe frameworks, programming languages, web frameworks, and low-code development tools, and provided valuable insights in 2021, in real time, and custom insights. If the repository you care about is not included here, you're welcome to submit your PR [here](https://github.com/hooopo/gharchive/tree/main/meta/repos). If you want to gain more insights into other areas, you can try TiDB Cloud by yourselves with this [10-minute tutorial](/blog/try-it-yourself/).
We have analyzed all the GitHub projects regarding databases, JavaScript frameworks, programming languages, web frameworks, and low-code development tools, and provided valuable insights in 2021, in real time, and custom insights. If the repository you care about is not included here, you're welcome to submit your PR [here](https://github.com/hooopo/gharchive/tree/main/meta/repos). If you want to gain more insights into other areas, you can try TiDB Cloud by yourselves with this [10-minute tutorial](/blog/try-it-yourself/).

Below are the areas of GitHub projects we have analyzed.

Expand Down
4 changes: 2 additions & 2 deletions web/blog/reduce-query-latency/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ The rows are probably scattered in different data blocks and stored on the hard

### Why was `EXPLAIN ANALYZE` faster the second time?

In `EXPLAIN ANALZYE`'s execution result, we saw that the "execution info" column corresponding to the `TableRowIDScan` step contained this information:
In `EXPLAIN ANALYZE`'s execution result, we saw that the "execution info" column corresponding to the `TableRowIDScan` step contained this information:

```
block: {cache_hit_count: 2755559, read_count: 179510, read_byte: 4.07 GB}
Expand All @@ -129,7 +129,7 @@ When we created a composite index with multiple columns, we needed to pay attent
3. Columns that could be used as range query conditions for the `WHERE` statement, like `created_at`
4. Redundant columns that were not used as filter conditions but were used in the query, such as `number` and `push_size`

We used the `CREATE IDNEX` statement to create a composite index in the database:
We used the `CREATE INDEX` statement to create a composite index in the database:

```
CREATE INDEX index_github_events_on_repo_id_type_number ON github_events(repo_id, type, number);
Expand Down
2 changes: 1 addition & 1 deletion web/blog/say-thanks-to-github-robots/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ I looked into what happened during the year and found that GitHub invested a lot

- In June 17th, 2019, [GitHub announced acquired Pull Panda](https://github.blog/2019-06-17-github-acquires-pull-panda/).

- In September 18th, 2019, [GitHub announced acquired Semmle](https://github.blog/2019-09-18-github-welcomes-semmle/) (Aka, the team builded `lgtm-com[bot]`).
- In September 18th, 2019, [GitHub announced acquired Semmle](https://github.blog/2019-09-18-github-welcomes-semmle/) (Aka, the team built `lgtm-com[bot]`).

At this year, we, human beings, were amazed to discover that bots could find problems, submit PRs, wait CI test code, complete merges and comment on PRs on their own without any human involvement.

Expand Down
2 changes: 1 addition & 1 deletion web/blog/try-it-yourself/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ TiDB Cloud provides a web shell to connect the database online.
![](./web-shell.png)


### Set column storage replica: TiFlash (Optional but coult make SQL faster!)
### Set column storage replica: TiFlash (Optional but could make SQL faster!)

[TiFlash](https://docs.pingcap.com/tidb/stable/tiflash-overview?utm_source=ossinsight&utm_medium=referral) is the key component that makes TiDB / TiDB Cloud an HTAP database and capable of dealing with OLTP and OLAP workloads at the same time.

Expand Down
2 changes: 1 addition & 1 deletion web/src/dynamic-pages/analyze-user/sections/2-Star.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Star = () => {
<Box>
<SectionHeading
title="Star"
description="The total number of starred repositories and ignore developers' unstarring or restarring behavior since 2011."
description="The total number of starred repositories since 2011, which ignores developers' unstarring or restarring behavior."
/>
<StarChart userId={userId} show={inView} />
</Box>
Expand Down
4 changes: 2 additions & 2 deletions web/src/dynamic-pages/analyze/sections/1-People.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const PeopleSection = forwardRef(function (_, ref: ForwardedRef<HTMLEleme
<H2>People</H2>
<Analyze query={mapType} params={params}>
<H3 sx={{ mt: 6 }}>Geographical Distribution</H3>
<P2>Stargazers,Issue creators and Pull Request creators’ geographical distribution around the world (analyzed with the public github infomation).</P2>
<P2>Stargazers, Issue creators, and Pull Request creators’ geographical distribution around the world (analyzed with the public GitHub information).</P2>
<Box sx={{ borderBottom: 1, borderColor: 'divider' }}>
<Tabs value={mapType} onChange={handleChangeMapType} variant='scrollable' scrollButtons='auto' allowScrollButtonsMobile>
<IconTab defaultTab id='geo-distribution-stargazers' value='analyze-stars-map' icon={<StarIcon size={24} />}><span style={{ display: 'none' }}>Geographical Distribution of </span>Stargazers</IconTab>
Expand All @@ -67,7 +67,7 @@ export const PeopleSection = forwardRef(function (_, ref: ForwardedRef<HTMLEleme
</Analyze>
<Analyze query={companyType} params={{ limit: comparingRepoName ? 25 : 50 }}>
<H3 sx={{ mt: 6 }}>Companies</H3>
<P2>Company information about Stargazers, Issue creators, and Pull Request creators(analyzed with the public github infomation).</P2>
<P2>Company information about Stargazers, Issue creators, and Pull Request creators (analyzed with the public GitHub information).</P2>
<Box sx={{ borderBottom: 1, borderColor: 'divider' }}>
<Tabs value={companyType} onChange={handleChangeCompanyType} variant='scrollable' scrollButtons='auto' allowScrollButtonsMobile>
<IconTab defaultTab id='companies-stargazers' value='analyze-stars-company' icon={<StarIcon />}>Stargazers<span style={{ display: 'none' }}>&apos; Companies</span></IconTab>
Expand Down
2 changes: 1 addition & 1 deletion web/src/pages/try-your-own-dataset/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function Page () {
/>
<StandardCard
title='Step 3: Import data'
description='Import the sample data to your TiDB Cloud cluster, this dataset records what happend in the first hour of 2022'
description='Import the sample data to your TiDB Cloud cluster, this dataset records what happened in the first hour of 2022'
codeStyleDescription={false}
elevation={0}
cardSx={{ backgroundColor: 'action.hover' }}
Expand Down
6 changes: 3 additions & 3 deletions workshop.cn.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
}
],
"source": [
"# ← Execute the follwoing script to load environment variable.\n",
"# ← Execute the following script to load environment variable.\n",
"import getpass\n",
"import os\n",
"\n",
Expand Down Expand Up @@ -2631,7 +2631,7 @@
"\n",
"你可以通过你的 GitHub 账号快速[注册](https://grafana.com/auth/sign-up/create-user)一个 Grafana Cloud 账号。\n",
"\n",
"在其 Overview 页面,可以在 Grafana 实例的卡片当中点击 “Lauch”按钮来启动一个 Grafana 实例。"
"在其 Overview 页面,可以在 Grafana 实例的卡片当中点击 “Launch” 按钮来启动一个 Grafana 实例。"
]
},
{
Expand Down Expand Up @@ -2679,7 +2679,7 @@
"\n",
"<center>\n",
" <img width=\"254\" alt=\"image\" src=\"https://user-images.githubusercontent.com/88522432/205975900-472c39c4-7eb2-45a4-b928-cd89567fe6bc.png\">\n",
" <p><i>New Dashbaord</i></p>\n",
" <p><i>New Dashboard</i></p>\n",
"</center>\n",
"\n",
"在 Dashboard 上新建创建新的 Panel,然后将数据源选择了上面创建的 “TiDB” 数据库,编写 SQL 语句,执行,然后选择合适的图表用于数据可视化。\n",
Expand Down

0 comments on commit ef93119

Please sign in to comment.