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!

Web Components logo

Popular topic

Web Components are a set of web platform APIs developers can use to create custom HTML tags.
public-apis

Trending repository

App recommended by GitHub

Imgbot

Imgbot is a friendly robot that optimizes your images and saves you time. Optimized images mean smaller file sizes without sacrificing quality.

Shortly after installing Imgbot, you will receive a pull request with all of your images optimized. Just merge the pull request and you’re done! As you work on your project, Imgbot works alongside you to keep your images optimized.

Imgbot uses lossless compression by default.

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

App recommended by GitHub

Percy

Percy gives your team confidence in every visual UI change before it's shipped.

Percy adds visual reviews to your GitHub pull requests, helping your team spot UI bugs quickly and review visual changes easily.