sourcegraph / learn Goto Github PK
View Code? Open in Web Editor NEWSourcegraph Learn: an educational hub to support all developers
Home Page: https://learn.sourcegraph.com
License: Apache License 2.0
Sourcegraph Learn: an educational hub to support all developers
Home Page: https://learn.sourcegraph.com
License: Apache License 2.0
Write a short tutorial on JavaScript's SyntaxError: expected expression
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot JavaScript SyntaxError expected expression
author: your name
tags: [tutorial, JavaScript, troubleshooting]
publicationDate: today's date
description: Learn how to error handle JavaScript SyntaxError expected expression
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: SyntaxError expected expression in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `SyntaxError` to understand the message more.
<SourcegraphSearch query="SyntaxError: expected expression" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on JavaScript's SyntaxError: JSON.parse
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot JavaScript SyntaxError JSON.parse
author: your name
tags: [tutorial, JavaScript, troubleshooting]
publicationDate: today's date
description: Learn how to error handle JavaScript SyntaxError JSON.parse
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: SyntaxError JSON.parse in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `SyntaxError` to understand the message more.
<SourcegraphSearch query="SyntaxError: JSON.parse" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on npm's npm ERR! Error: ENOSPC, write
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot npm ERR Error ENOSPC, write
author: your name
tags: [tutorial, JavaScript, npm, troubleshooting]
publicationDate: today's date
description: Learn how to error handle npm ERR Error ENOSPC, write
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: npm ERR Error ENOSPC, write in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `npm ERR! Error: ENOSPC, write` to understand the message more.
<SourcegraphSearch query="npm ERR! Error: ENOSPC, write" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Java's StackOverflowError
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Java StackOverflowError
author: your name
tags: [tutorial, Java, troubleshooting]
publicationDate: today's date
description: Learn how to error handle the Java StackOverflowError
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: StackOverflowError in Java error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Java repositories that have the `StackOverflowError` to understand the message more.
<SourcegraphSearch query="StackOverflowError lang:java" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Java](https://learn.sourcegraph.com/tags/java).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on JavaScript's TypeError: invalid assignment to const "x"
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot JavaScript TypeError invalid assignment to const "x"
author: your name
tags: [tutorial, JavaScript, troubleshooting]
publicationDate: today's date
description: Learn how to error handle JavaScript TypeError invalid assignment to const "x"
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: TypeError invalid assignment to const "x" in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `TypeError` to understand the message more.
<SourcegraphSearch query="TypeError: invalid assignment to const "x"" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Do you all think the learn site is a good place for the Code search guide to live? That linked gdoc has an overview of what it will contain. IMO the learn site would work well for it (and thank you for making it! ๐).
@jennybergen Were you thinking it'd live here, or did you have somewhere else in mind?
Our model is an article like https://stripe.com/atlas/guides/saas-pricing, which is also on a "learn site" (i.e., not a technical doc site).
Other options:
Since everything is open source and in the public, do we need this functionality or can we remove it?
Write a short tutorial on JavaScript's Warning: unreachable code after return statement
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot JavaScript Warning unreachable code after return statement
author: your name
tags: [tutorial, JavaScript, troubleshooting]
publicationDate: today's date
description: Learn how to error handle JavaScript Warning unreachable code after return statement
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: Warning unreachable code after return statement in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `Warning` to understand the message more.
<SourcegraphSearch query="Warning: unreachable code after return statement" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
The top header currently contains some "commercial" links:
Customers
Case Studies
Pricing
I think these links detract from the purpose/audience (as I understand it) of the learn site. The learn site is speaking to users about how to use Sourcegraph. It feels like those commercial links inject self-promotion/sales into the atmosphere of the learn site. They also add needless clutter, and it seems it would be better if the Learn
dropdown in the nav was removed and those links were made top-level (and perhaps if the top-left logo itself were for the learn site, similar to how clicking the logo on https://docs.sourcegraph.com takes you to the docs homepage instead of the marketing homepage).
For comparison, https://guides.github.com/ and https://stripe.com/atlas/guides/saas-pricing both omit these kinds of commercial links that are otherwise present on most pages.
Write a short tutorial on Python's RuntimeError: Failed to open database
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python RuntimeError Failed to open database
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Python RuntimeError Failed to open database
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: RuntimeError Failed to open database in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `RuntimeError` to understand the message more.
<SourcegraphSearch query="RuntimeError: Failed to open database" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Python's ModuleNotFoundError
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python ModuleNotFoundError
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Python ModuleNotFoundError
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: ModuleNotFoundError in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Python repositories that have the `ModuleNotFoundError` to understand the message more.
<SourcegraphSearch query="ModuleNotFoundError lang:python" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Python's AssertionError
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python AssertionError
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Python AssertionError
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: AssertionError in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Python repositories that have the `AssertionError` to understand the message more.
<SourcegraphSearch query="AssertionError lang:python" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
All of our URLs contain posts/
, such as:
Since everything will be a "post", can we just remove posts/
from the URLs to make them shorter?
(A good blog post explaining why in more detail: https://www.swyx.io/namespacing-sites/.)
Write a short tutorial on Java's ClassNotFoundException
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Java ClassNotFoundException
author: your name
tags: [tutorial, Java, troubleshooting]
publicationDate: today's date
description: Learn how to error handle the Java ClassNotFoundException
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: ClassNotFoundException in Java error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Java repositories that have the `ClassNotFoundException` to understand the message more.
<SourcegraphSearch query="ClassNotFoundException lang:java" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Java](https://learn.sourcegraph.com/tags/java).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on JavaScript's Error: Permission denied to access property "x"
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot JavaScript Error Permission denied to access property "x"
author: your name
tags: [tutorial, JavaScript, troubleshooting]
publicationDate: today's date
description: Learn how to error handle the JavaScript Error, Permission denied to access property "x"
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: Error Permission denied to access property "x" in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `NameError` to understand the message more.
<SourcegraphSearch query="Error: Permission denied to access property "x"" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Python's RecursionError: maximum recursion depth exceeded in comparison
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python RecursionError
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Python RecursionError: maximum recursion depth exceeded in comparison
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: RecursionError in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Python repositories that have the `RecursionError` to understand the message more.
<SourcegraphSearch query="RecursionError: maximum recursion depth exceeded in comparison lang:python" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on JavaScript's TypeError: null has no properties
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot JavaScript TypeError null has no properties
author: your name
tags: [tutorial, JavaScript, troubleshooting]
publicationDate: today's date
description: Learn how to error handle JavaScript TypeError null has no properties
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: TypeError null has no properties in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `TypeError` to understand the message more.
<SourcegraphSearch query="TypeError: null has no properties" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on npm's npm ERR! not found: git
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot npm ERR not found git
author: your name
tags: [tutorial, JavaScript, npm, troubleshooting]
publicationDate: today's date
description: Learn how to error handle npm ERR not found git
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: npm ERR not found git, write in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `npm ERR! not found: git` to understand the message more.
<SourcegraphSearch query="npm ERR! not found: git" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Python's EOFError
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python EOFError
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Python EOFError
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: EOFError in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Python repositories that have the `EOFError` to understand the message more.
<SourcegraphSearch query="EOFError lang:python" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Python's OSError
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python OSError
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Python OSError
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: OSError in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `OSError` to understand the message more.
<SourcegraphSearch query="OSError" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on PHP's syntax error, unexpected end of file, expecting ';' or ','
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot PHP syntax error unexpected end of file, expecting ';' or ','
author: your name
tags: [tutorial, php, troubleshooting]
publicationDate: today's date
description: Learn how to error handle PHP syntax error, unexpected end of file, expecting ';' or ','
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: Syntax error, unexpected end of file, expecting ';' or ',' in PHP error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source PHP repositories that have this `SyntaxError` to understand the message more.
<SourcegraphSearch query="unexpected end of file, expecting ';' or ','" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [PHP](https://learn.sourcegraph.com/tags/php).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on JavaScript's ReferenceError: "x" is not defined
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot JavaScript ReferenceError "x" is not defined
author: your name
tags: [tutorial, JavaScript, troubleshooting]
publicationDate: today's date
description: Learn how to error handle JavaScript ReferenceError, "x" is not defined
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: ReferenceError, "x" is not defined in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `ReferenceError` to understand the message more.
<SourcegraphSearch query="ReferenceError: "x" is not defined" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Java's NegativeArraySizeException
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Java error: NegativeArraySizeException
author: your name
tags: [tutorial, Java, troubleshooting]
publicationDate: today's date
description: Learn how to error handle the Java error: NegativeArraySizeException
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: NegativeArraySizeException in Java error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Java repositories that have the `NegativeArraySizeException` to understand the message more.
<SourcegraphSearch query=NegativeArraySizeException lang:java" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Java](https://learn.sourcegraph.com/tags/java).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Linux's cannot execute binary file: Exec format error
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Linux cannot execute binary file: Exec format error
author: your name
tags: [tutorial, Linux, troubleshooting]
publicationDate: today's date
description: Learn how to handle cannot execute binary file: Exec format error in Linux
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: cannot execute binary file: Exec format error in Linux error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source repositories that have the `cannot execute binary file: Exec format error` to understand the message more.
<SourcegraphSearch query="cannot execute binary file: Exec format error" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Linux](https://learn.sourcegraph.com/tags/linux).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Clicking on search for this example for -lang:java
:
Takes you to this search on Sourcegraph
Which doesn't show you files that aren't Java, but instead matches that exact string. Weird, how come?
It turns out something is inserting zero-width spaces, possibly because of the -
, and prepending it. You can see that this was added in the URL in the screenshot above: the query parameter starts with %E2%80%8B%E2%80%8B
and then -lang:java
. If we inspect the HTML on the learn website, we see that's the case:
Not sure what the fix is, but something is injecting that into the HTML which causes the URL to link to a query that Sourcegraph interprets containing that zero-width space character and so -lang
doesn't work.
@ltagliaferri for visibility
Write a short tutorial on Python's KeyError
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python KeyError
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Python KeyError
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: KeyError in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Python repositories that have the `KeyError` to understand the message more.
<SourcegraphSearch query="KeyError lang:python" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are awaiting their schedule. Click on a checkbox to get an update now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
styled-components
, @types/styled-components
)node
, @types/node
)prismjs
, @types/prismjs
)@next/bundle-analyzer
, @next/eslint-plugin-next
, next
)node
, @types/node
)@next/bundle-analyzer
, @next/eslint-plugin-next
, next
)react
, react-dom
)These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
package.json
gray-matter ^4.0.3
js-yaml ^4.1.0
mdi-react ^8.2.0
next ^12.0.7
next-mdx-remote ^3.0.8
prismjs ^1.25.0
prism-react-renderer ^1.2.1
react 17.0.2
react-dom 17.0.2
rehype-add-classes ^1.0.0
rehype-autolink-headings ^5.1.0
rehype-react ^7.0.3
rehype-slug ^4.0.1
remark-rehype ^10.1.0
styled-components ^5.3.3
@next/bundle-analyzer ^12.0.7
@next/eslint-plugin-next ^12.0.7
@sourcegraph/eslint-config ^0.33.0
@sourcegraph/prettierrc ^3.0.3
@types/js-yaml 4.0.5
@types/node 16.11.22
@types/prismjs 1.16.6
@types/react 17.0.45
@types/styled-components 5.1.24
eslint 7.32.0
eslint-plugin-jsdoc ^39.3.2
eslint-plugin-react ^7.31.11
eslint-plugin-import ^2.26.0
eslint-plugin-unicorn 21.0.0
eslint-plugin-jest-dom ^4.0.3
eslint-plugin-jsx-a11y ^6.6.1
eslint-plugin-react-hooks ^4.6.0
prettier ^2.8.2
sass ^1.44.0
typescript ^4.5.4
.nvmrc
node 16.13
Write a short tutorial on Java's StringIndexOutOfBoundsException
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Java StringIndexOutOfBoundsException
author: your name
tags: [tutorial, Java, troubleshooting]
publicationDate: today's date
description: Learn how to error handle the Java StringIndexOutOfBoundsException
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: StringIndexOutOfBoundsException in Java error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Java repositories that have the `StringIndexOutOfBoundsException` to understand the message more.
<SourcegraphSearch query="StringIndexOutOfBoundsException lang:java" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Java](https://learn.sourcegraph.com/tags/java).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on JavaScript's URIError: URI malformed
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot JavaScript URIError URI malformed
author: your name
tags: [tutorial, JavaScript, troubleshooting]
publicationDate: today's date
description: Learn how to error handle JavaScript URIError URI malformed
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: URIError URI malformed in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `URIError` to understand the message more.
<SourcegraphSearch query="URIError: URI malformed" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on JavaScript's SyntaxError: missing variable name
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot JavaScript SyntaxError missing variable name
author: your name
tags: [tutorial, JavaScript, troubleshooting]
publicationDate: today's date
description: Learn how to error handle JavaScript SyntaxError missing variable name
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: SyntaxError missing variable name in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `SyntaxError` to understand the message more.
<SourcegraphSearch query="SyntaxError: missing variable name" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Python's AttributeError
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python AttributeError
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Python AttributeError
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: AttributeError in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Python repositories that have the `AttributeError` to understand the message more.
<SourcegraphSearch query="AttributeError lang:python" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Linux's Permission denied
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot the Linux error Permission denied
author: your name
tags: [tutorial, Linux, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Permission denied in Linux
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: Permission denied in Linux error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source repositories that have the `Permission denied` to understand the message more.
<SourcegraphSearch query="Permission denied" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Linux](https://learn.sourcegraph.com/tags/linux).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Python's IndentationError: unexpected indent
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python IndentationError unexpected indent
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Python IndentationError unexpected indent
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: IndentationError unexpected indent in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Python repositories that have the `IndentationError: unexpected indent` to understand the message more.
<SourcegraphSearch query=IndentationError: unexpected indent lang:python" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Java's error: reached end of file while parsing
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Java error: reached end of file while parsing
author: your name
tags: [tutorial, Java, troubleshooting]
publicationDate: today's date
description: Learn how to error handle the Java error: reached end of file while parsing
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: error: reached end of file while parsing in Java error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Java repositories that have the `error: reached end of file while parsing` to understand the message more.
<SourcegraphSearch query="error: reached end of file while parsing lang:java" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Java](https://learn.sourcegraph.com/tags/java).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Java's ClassNotFoundException
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Java error: class X is public, should be declared in a file named X.java
author: your name
tags: [tutorial, Java, troubleshooting]
publicationDate: today's date
description: Learn how to error handle the Java error: class X is public, should be declared in a file named X.java
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: error: class X is public, should be declared in a file named X.java in Java error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Java repositories that have the `error: class X is public, should be declared in a file named X.java` to understand the message more.
<SourcegraphSearch query="error: class is public, should be declared in a file named .java lang:java" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Java](https://learn.sourcegraph.com/tags/java).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Linux's Not a directory
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Linux error Not a directory
author: your name
tags: [tutorial, Linux, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Not a directory in Linux
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: Not a directory in Linux error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `Not a directory` to understand the message more.
<SourcegraphSearch query="Not a directory" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Linux](https://learn.sourcegraph.com/tags/linux).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on JavaScript's InternalError: too much recursion
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot JavaScript InternalError too much recursion
author: your name
tags: [tutorial, JavaScript, troubleshooting]
publicationDate: today's date
description: Learn how to error handle JavaScript InternalError too much recursion
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: InternalError: too much recursion in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `InternalError` to understand the message more.
<SourcegraphSearch query="InternalError: too much recursion" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Python's ImportError
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python ImportError
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Python ImportError
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: ImportError in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Python repositories that have the `ImportError` to understand the message more.
<SourcegraphSearch query="ImportError" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Java's ArrayIndexOutOfBoundsException
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Java NullPointerException
author: your name
tags: [tutorial, Java, troubleshooting]
publicationDate: today's date
description: Learn how to error handle the Java NullPointerException
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: NullPointerException in Java error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Java repositories that have the `NullPointerException` to understand the message more.
<SourcegraphSearch query="NullPointerException lang:java" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Java](https://learn.sourcegraph.com/tags/java).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Python's IndexError
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python IndexError
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Python IndexError
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: IndexError in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Python repositories that have the `IndexError` to understand the message more.
<SourcegraphSearch query="IndexError lang:python" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
What topic are you requesting a piece of content on?
Proposed title:
How dedicated code search can improve your flow
Description:
Detail the features that make Sourcegraph code search something developers should be interested in. Cover:
How will this topic be interesting / engaging to the developer community?
Many developers have not used dedicated code search and feel their current tools do the job just fine:
How will your team support this piece of content?
We would like to use this content on the homepage and in other areas of the onboarding flow. Users who view the current, untargeted video are 150% more likely to view the sign-up page than those who do not watch the video.
Is there a deadline? If so, what date?
We generally use Sentence case
not Title Case
for titles of posts, including on our blog. This is mentioned in the capitalization section of our style guide. I see the posts here use Title Case
. Is that intentional? IMO they would look better and friendlier if they used Sentence case
for the titles, and that would be consistent with how we do it elsewhere at Sourcegraph.
(Curiously, I see that https://guides.github.com/ is not consistent here, although GitHub's style is generally also to use sentence case (as are most dev sites in my experience). Documenting your projects on GitHub
and Understanding the GitHub flow
are sentence case, while the others are title case.)
Write a short tutorial on JavaScript's RangeError: Invalid code point
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot JavaScript RangeError Invalid code point
author: your name
tags: [tutorial, JavaScript, troubleshooting]
publicationDate: today's date
description: Learn how to error handle JavaScript RangeError, Invalid code point
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: RangeError, Invalid code point in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `RangeError` to understand the message more.
<SourcegraphSearch query="RangeError: Invalid code point" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on JavaScript's SyntaxError: missing } after function body
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot JavaScript SyntaxError missing } after function body
author: your name
tags: [tutorial, JavaScript, troubleshooting]
publicationDate: today's date
description: Learn how to error handle JavaScript SyntaxError missing } after function body
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: SyntaxError missing } after function body in JavaScript error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `SyntaxError` to understand the message more.
<SourcegraphSearch query="SyntaxError: missing } after function body" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [JavaScript](https://learn.sourcegraph.com/tags/javascript).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Java's OutOfMemoryError
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Java OutOfMemoryError
author: your name
tags: [tutorial, Java, troubleshooting]
publicationDate: today's date
description: Learn how to error handle the Java OutOfMemoryError
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: OutOfMemoryError in Java error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Java repositories that have the `OutOfMemoryError` to understand the message more.
<SourcegraphSearch query="OutOfMemoryError lang:java" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Java](https://learn.sourcegraph.com/tags/java).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Java's ArrayIndexOutOfBoundsException
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Java ArrayIndexOutOfBoundsException
author: your name
tags: [tutorial, Java, troubleshooting]
publicationDate: today's date
description: Learn how to error handle the Java ArrayIndexOutOfBoundsException
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: ArrayIndexOutOfBoundsException in Java error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Python repositories that have the `ArrayIndexOutOfBoundsException` to understand the message more.
<SourcegraphSearch query="ArrayIndexOutOfBoundsException lang:java" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Java](https://learn.sourcegraph.com/tags/java).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on PHP's Parse error: syntax error, unexpected end of file
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
Additional info: This error usually happens when you forget to include a closing curly brace on a block such as if / for.
The tutorial should be organized as follows:
---
title: How to troubleshoot PHP Parse error: syntax error, unexpected end of file
author: your name
tags: [tutorial, php, troubleshooting]
publicationDate: today's date
description: Learn how to error handle PHP Parse error: syntax error, unexpected end of file
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: Parse error: syntax error, unexpected end of file in PHP error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source PHP repositories that have this `SyntaxError` to understand the message more.
<SourcegraphSearch query="Parse error: syntax error, unexpected end of file" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [PHP](https://learn.sourcegraph.com/tags/php).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Python's NameError: name 'spam' is not defined
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python NameError
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle the Python NameError, name 'spam' is not defined
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: NameError name 'spam' is not defined in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Python repositories that have the `NameError` to understand the message more.
<SourcegraphSearch query="NameError: name 'spam' is not defined lang:python" patternType="literal"/>
Read the official Python docs on [Errors and Exceptions](https://docs.python.org/3/tutorial/errors.html).
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Python's ValueError: invalid literal for int() with base 10
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Python ValueError: invalid literal for int() with base 10
author: your name
tags: [tutorial, Python, troubleshooting]
publicationDate: today's date
description: Learn how to error handle Python ValueError: invalid literal for int() with base 10
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: ValueError: invalid literal for int() with base 10 in Python error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source Python repositories that have the `ValueError: invalid literal for int() with base 10` to understand the message more.
<SourcegraphSearch query="ValueError: invalid literal for int() with base 10 lang:python" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Python](https://learn.sourcegraph.com/tags/python).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
Write a short tutorial on Linux's No such file or directory
error message, following the "How to troubleshoot Python ZeroDivisionError" example tutorial.
The tutorial should be organized as follows:
---
title: How to troubleshoot Linux error No such file or directory
author: your name
tags: [tutorial, Linux, troubleshooting]
publicationDate: today's date
description: Learn how to error handle No such file or directory in Linux
image: https://storage.googleapis.com/sourcegraph-assets/learn/headers/sourcegraph-learn-header.png
imageAlt: Sourcegraph Learn
browserTitle: No such file or directory in Linux error handling
type: posts
---
Introduction with the error message
## Reproducing the error
Show how the error can be created.
## Solution 1
Provide a possible solution.
## Solution 2
Provide another solution.
## (optional) Solution 3
Optionally provide a third solution.
## Learn more
Search across open source JavaScript repositories that have the `No such file or directory` to understand the message more.
<SourcegraphSearch query="No such file or directory" patternType="literal"/>
Check out more Sourcegraph Learn tutorials on [Linux](https://learn.sourcegraph.com/tags/linux).
If this seems like a tutorial that you can write effectively for the developer community, please follow our Hacktoberfest 2021 contributor guidelines to proceed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.