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!

Elixir logo

Popular topic

Elixir is a dynamic, functional language designed for building scalable and maintainable applications.
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

WhiteSource Bolt

We'll help you harness the power of open source without compromising on security or agility!

WhiteSource Bolt for GitHub is a FREE app, which continuously scans all your repos, detects vulnerabilities in open source components and provides fixes. It supports both private and public repositories.

We've got you covered with over 200 programming languages support and continuous tracking of multiple open source vulnerabilities databases like the NVD and additional security advisories.

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

Trending repository

dsgrieve
dsgrieve commented Aug 12, 2021

The use-case is that of a being able to order by date/time a collection of data items extracted from a GC event. DateTimeStamp does have API that allow it to be compared in various ways, but it does not implement Comparable. This makes it difficult to create a sortable, abstract data set (for example DataSet<X extends Comparable, Y extends Comparable) that can use DateTimeStamp.

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

mohneesh7
mohneesh7 commented Aug 12, 2021

So, I tried installing using the pip install horapy, but getting this error:

ERROR: Command errored out with exit status 1:
     command: 'C:\Users\acer\anaconda3\python.exe' 'C:\Users\acer\anaconda3\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\acer\AppData\Local\Temp\tmp6bg4brka'
         cwd: C:\Users\acer\AppData\Local\Temp\pip-ins
POEditor screenshot

App recommended by GitHub

POEditor

POEditor is a highly scalable localization management service designed for translating software products, such as apps, sites and games.

Integrated with GitHub, it syncs with your repos automatically. You don't ever need to touch a language file.

Slack and HipChat integrations make it easy to get realtime updates about the localization process and the translation progress.