The Wayback Machine - https://web.archive.org/web/20210812100400/https://github.com/explore
Skip to content

Here's what's popular on GitHub today...

The ReadME Podcast

Podcast

Your favorite open source projects and the developers who make them happen. Listen in!

Crystal logo

Popular topic

Crystal is a self-hosted, general purpose programming language.
public-apis

Trending repository

js13kGames competition

Upcoming event recommended by GitHub

Aug
13

js13kGames competition

August 13, 2021 - September 13, 2021 • Online

Do you have what it takes to create a game in ≤ 13kB of JS, CSS and HTML?

App recommended by GitHub

GitLocalize

GitLocalize is a continuous localization tool built for communities and teams that want to simplify their workflow when translating their content.

GitLocalize automatically keeps translations up to date by syncing with your repository.

hora

Trending repository

vaaaaanquish
vaaaaanquish commented Aug 9, 2021

Hi.

With the latest hora, I get a panic when using hora::core::metrics::Metric::CosineSimilarity.

thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/hora-0.1.1/src/core/neighbor.rs:32:54

I think this is an error caused by partial_cmp.
partial_cmp expect it to be None when the given value ca

Trending repository

canonic-epicure
canonic-epicure commented May 10, 2021

Currently the error message of the exception, thrown from the Deno.stat/statSync, when the file is missing, does not include the file name:

nickolay@frontier:~/workspace/Bryntum/siesta-monorepo/siesta$ deno
Deno 1.9.2
exit using ctrl+d or close()
> Deno.statSync('/home/nickolay/not_existing_file')
Uncaught NotFound: No such file or directory (os error 2)
    at unwrapOpResult (deno:co
transformers

Trending repository

willfrey
willfrey commented Jul 19, 2021

https://github.com/huggingface/transformers/blob/546dc24e0883e5e9f5eb06ec8060e3e6ccc5f6d7/src/transformers/models/gpt2/modeling_gpt2.py#L698

Assertions can't be relied upon for control flow because they can be disabled, as per the following:

$ python --help
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
...
-O     : remove assert and __debug__-dependent statem

Trending repository

dec5e
dec5e commented Jan 28, 2021

Describe the bug

git diff-tree used by linter on push checks only files from the last commit and regardless of files status, so deleted or renamed files are also checked.

There are now 2 different git commands used for finding the list of broken files (find them here: https://github.com/github/super-linter/blob/v3.14.4/lib/functions/buildFileList.sh#L59-L105). git diff-tree is u