Skip to content

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

public-apis

Trending repository

The ReadME Podcast

Podcast

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

ASP.NET logo

Popular topic

ASP.NET is a web framework for building modern web apps and services.
GitHub Apps to the Rescue & Startup Spotlight

Upcoming event recommended by GitHub

Aug
17

GitHub Apps to the Rescue & Startup Spotlight

August 17, 2021 • Online

Setting up GitHub Apps. User-to-Server token and Server-to-Server token. Making API request using GitHub App tokens. GitHub Apps permissions and Webhooks.

App recommended by GitHub

Lucidchart Connector

Lucidchart empowers you and your team to create and collaborate on architecture diagrams, mockups, user flows, flowcharts, and other visuals in real time.

With Lucidchart, you can include these visuals in GitHub so team members can quickly understand an issue or pull request. Simply insert a public link to the Lucidchart document—the link will unfurl to show a preview, and unlike static diagrams, the link ensures that users always have access to the current version of the visual.

strapi

Trending repository

hkovacs
hkovacs commented Jun 22, 2020

Describe the bug
Using xframe ALLOW-FROM throws error in console: Invalid 'X-Frame-Options' header encountered when loading 'https://api.dev.mysite.com/uploads/my-file.pdf': 'ALLOW-FROM dev.mysite.com' is not a recognized directive. The header will be ignored.

https://strapi.io/documentation/v3.x/concepts/middlewares.html#response-middlewares
instructions for xframe indicate `ALLOW-FR

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
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

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.