Skip to content

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

Trending repository
zfields
zfields commented Feb 12, 2021

Description

I have a hardware abstraction layer interface, as well as a driver interface. I have multiple drivers utilizing the HAL interface, while implementing the driver interface. This plugin approach causes me to have identically named tests across multiple test files.

For example:

TEST_CASE("init() returns `E_HAL_INIT`, when HardwareAbstractionLayer::init() returns an er
Lua logo
Popular topic
Lua is a lightweight, embeddable scripting language.
Trending repository

30 Days of React challenge is a step by step guide to learn React in 30 days. It requires HTML, CSS, and JavaScript knowledge. You should be comfortable with JavaScript before you start to React. If you are not comfortable with JavaScript check out 30DaysOfJavaScript. This is a continuation of 30 Days Of JS. This challenge may take up to 100 days, follow your own pace.

  • Updated Apr 2, 2021
  • JavaScript
App recommended by GitHub

Review Notebook App

Have trouble collaborating on Jupyter Notebooks? Join 500+ organizations like Amazon, Microsoft, Tensorflow, fast.ai in using ReviewNB for notebook code reviews & collaboration.

Complete review workflow for Notebooks,

Trending repository
James103
James103 commented Mar 12, 2021

Version of OpenTTD

9c5a7d3a572d02813e6bab83004334b9a154a62b

Expected result

The function IConsoleError behaves exactly the same as using IConsolePrintF(CC_ERROR, "ERROR: %s", string);, but is shorter and more concise.
https://github.com/OpenTTD/OpenTTD/blob/9c5a7d3a572d02813e6bab83004334b9a154a62b/src/console.cpp#L168-L171

Therefore, IConsoleError(string) should in general be

Trending repository
Sentry screenshot
App recommended by GitHub

Sentry

Sentry provides real-time crash reporting, giving your team insight into errors affecting your customers in production. Sentry supports dozens of languages and frameworks and is trusted by thousands of companies like Pinterest, Uber, Stripe, Dropbox, and Airbnb.

Sentry doesn't just alert you to errors, but integrates into your GitHub development flow by linking errors to the commit and author likely responsible, creating new GitHub Issues, and resolving errors with commit message.