Fix multiple contents race condition

Fixes https://github.com/CesiumGS/cesium/issues/10551
In multiple contents, request throttling was creating a corner case where the contents were not yet created, but the readyPromise looped over an empty list of contents and resolved too soon.
The fix was to make the readyPromise return undefined and have Cesium3DTile content short-circuit the promise chain. The tile automatically re-requests the content as long as the tile is still in the LOADING state.
I also fixed a couple details about rendering statistics for Multiple contents/implicit tiling along the way:

tileset.statistics.numberOfTilesLoaded wasn't being updated for implicit tiling like Cesium3DTileset.loadTileset() does
when a request was canceled, multiple contents wasn't incrementing the number of attempted requests.

(note that for multiple contents, statistics are a bit ill-defined. if the property has "requests" in the name, it's counting the number of requests (one per inner content) but if the property has "tile" in the name, it's counting the number of tiles (1 regardless of how many inner contents there are)
@j9liu could you review when you get a chance?

Thanks for the pull request @ptrgags!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

@j9liu updated!

@ptrgags merging now, thanks!


Upgrade Electron from 13 to 16

This PR upgrades Nativefier to Electron 14. It will stay in draft until we feel its well tested.
Major Version Checklist

[X] Wait a few weeks to let it stabilize. Never upgrade Nativefier to a .0.0.
[X] Thoroughly digest the new version's breaking changes, grepping our codebase for every changed API. If called for by the breaking changes, perform the necessary API changes
[X] Bump src/constants.ts / DEFAULT_ELECTRON_VERSION & DEFAULT_CHROME_VERSION and app / package.json / devDeps / electron
[ ] On Windows, macOS, Linux, test for regression and crashes:

[x] With npm test and npm run test:manual

[x] MacOS
[ ] Windows
[x] Linux (@ronjouch can you handle this?)

[x] With extra manual testing

[x] MacOS
[ ] Windows
[x] Linux (@ronjouch can you handle this?)

@TheCleric two questions:

In addition to checking https://github.com/electron/electron/releases/tag/v14.0.0 you mention in the PR description, did you also check we're not impacted by https://www.electronjs.org/docs/breaking-changes#planned-breaking-api-changes-140 ?
Should we do a direct jump to 15? 15.1.0 is out, and 15.0.0 seems light on breaking changes.

@TheCleric two questions:

In addition to checking https://github.com/electron/electron/releases/tag/v14.0.0 you mention in the PR description, did you also check we're not impacted by https://www.electronjs.org/docs/breaking-changes#planned-breaking-api-changes-140 ?

I did now, and we're good.

Should we do a direct jump to 15? 15.1.0 is out, and 15.0.0 seems light on breaking changes.

Actually this is something I wanted to bring up with you. Electron is now on an 8 week release cycle, so do we want to follow them completely and get on latest as soon as possible or do we want to move to the prior release upon initial latest release (i.e., go to v14 upon release of v15, etc.)?
What are your thoughts?

I did [check both places] now, and we're good.

@TheCleric 👍

this is something I wanted to bring up with you. Electron is now on an 8 week release cycle, so do we want to follow them completely and get on latest as soon as possible or do we want to move to the prior release upon initial latest release (i.e., go to v14 upon release of v15, etc.)? What are your thoughts?

@TheCleric I don't have very formed feelings about this. Whatever makes sense for us and our users; the usual bleeding-edge-ness vs. stability tradeoff. Do you have any preference?

@TheCleric I don't have very formed feelings about this. Whatever makes sense for us and our users; the usual bleeding-edge-ness vs. stability tradeoff. Do you have any preference?

@ronjouch I'm about in the same boat. My thought is either:

Bleeding edge plus a stability period (2 weeks?)
or
My suggestion above about just staying on bleeding edge - 1.

I think 1 will keep us more up to date, but 2 could keep us more likely to avoid breaking changes, though it's less "avoid" and more "kick the can down the road".
Honestly my bigger concern is I don't think either of us have the time right now to fully fix most of the bugs coming through, and there has not been a lot of community contribution, so I feel like we're caught between a rock and a hard place. Upgrading will likely lead to new edge case bugs where thinks work SLIGHTLY differently (I think we're seeing quite a bit of this with new window/tab creation at the moment), so I'd assume this more frequent upgrade schedule will fix security risks, but will also possibly cause more bugs. Though I may be in a bit of a pessimistic/cynical mood. 😈
What are your thoughts?

@TheCleric and here's feedback from testing on Linux. Manual smoke tests all passed, I just saw a couple of errors.
Errors & deprecation warnings on opening the nativefier test app
***** SMOKE TEST 1: Test checklist *****
[omitted for brevity]
*** Running app
[115959:1004/093842.418260:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in processgpu-process.
(node:115924) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15.  See https://github.com/electron/electron/issues/28511 for more information.
(Use `nativefier-smoke-test-1 --trace-warnings ...` to show where the warning was created)

Errors when opening the console
[116957:1004/094540.289326:ERROR:CONSOLE(168)] "Electron sandbox_bundle.js script failed to run", source: electron/js2c/sandbox_bundle.js (168)
[116957:1004/094540.289417:ERROR:CONSOLE(168)] "TypeError: object null is not iterable (cannot read property Symbol(Symbol.iterator))", source: electron/js2c/sandbox_bundle.js (168)

This is VERY strange. I'm not seeing any of this on Mac. Possible related to https://github.com/electron/electron/issues/31185 ?

my bigger concern is I don't think either of us have the time right now to fully fix most of the bugs coming through, and there has not been a lot of community contribution, so I feel like we're caught between a rock and a hard place. Upgrading will likely lead to new edge case bugs where thinks work SLIGHTLY differently (I think we're seeing quite a bit of this with new window/tab creation at the moment), so I'd assume this more frequent upgrade schedule will fix security risks, but will also possibly cause more bugs.

@TheCleric yup. Regarding community contributions, we could be more vocal that we need more hands. In the past I experimented with a message at the top of README.md / the repo page, but recently I was thinking we could be a bit more visible and emit a short non-verbose log message. Something at the beginning of running Nativefier along the lines of Hi! Nativefier is minimally maintained these days, and needs more hands. If you have the time & motivation, halp on bugfixes & maintenance very welcome.

Couldn't hurt. Want me to add it to my 13.5.1 PR, or submit a separate PR?

Sure, go ahead! Thanks 🙂

@ronjouch @TheCleric  I have an M1 mac with macOS, Linux, and Windows parallels vms so I can test if you have any specific thing that needs to be tested.
What else needs to be done before this can be merged?
Also, should we just jump to electron 16 which only has two breaking changes?

- The crashReporter API is now powered by Crashpad on Linux. #30278
- Usage of the desktopCapturer.getSources API from the renderer process has been deprecated and will be removed. 30721

@ronjouch @TheCleric I have an M1 mac with macOS, Linux, and Windows parallels vms so I can test if you have any specific thing that needs to be tested. What else needs to be done before this can be merged? Also, should we just jump to electron 16 which only has two breaking changes?

@mattruzzi yup, was asking the same questions at https://github.com/nativefier/nativefier/pull/1288#issuecomment-932850757 . I agree we can jump to 15 or even 16, I have the feeling the warnings mentioned above are not so big of a problem, and if they are, as per our current "minimal maintenance" mode, well we'll let users push PRs for them.
Today or tomorrow I will update this PR to Electron 16, do a Linux smoke test, ping you for an extra macOS+Windows smoke test, and if not utterly broken let's cut a release and call it a day.

@TheCleric @mattruzzi meeeeeeeeeeeeeeerry December 25! The PR is updated to Electron 16 and npm run test:manual smoke tests pass for me under Linux. Can you give this a macOS (@TheCleric) and Windows (@mattruzzi) try? Thaaaaaaaaanks, and thanks @mattruzzi for the reminder. Breaking changes notes:

Electron 15: no breaking changes for us
Electron 16:

One very minor breaking change in crashReporter, fixed by no longer calling crashReporter.start, as instructed by the breaking changes notes.
Not a breaking change, but a change in Electron typings: I had to adjust the tests, as an export we used is no longer available. But it's better that way anyway, as using and spying on the local window is what we want (see the code for what I mean)

As mentioned earlier, given our "minimal maintenance" mode, I'd like to not rathole on this. If basic smoke tests run fine on Windows and Mac, let's ship this and be done with it. Do report warnings if you see new ones, but if they are tolerable warnings and we end up anywhere above "not horribly broken for basic usage", let's ship this and let users submit PRs for broken non-basic scenarios they care about.

Are the devtools supposed to be blue?

Also, I got an error on windows when running the second and third smoke tests.
***** SMOKE TEST 3: Setting up test and building app... *****

    Hi! Nativefier is minimally maintained these days, and needs more hands.
    If you have the time & motivation, help with bugfixes and maintenance is VERY welcome.
    Please go to https://github.com/nativefier/nativefier and help how you can. Thanks.

Processing options...
Cannot automatically retrieve the app icon: Error: Request failed with status code 401
    at createError (C:\Users\matthew\Documents\nativefier\nativefier\node_modules\page-icon\node_modules\axios\lib\core\createError.js:16:15)
    at settle (C:\Users\matthew\Documents\nativefier\nativefier\node_modules\page-icon\node_modules\axios\lib\core\settle.js:17:12)
    at IncomingMessage.handleStreamEnd (C:\Users\matthew\Documents\nativefier\nativefier\node_modules\page-icon\node_modules\axios\lib\adapters\http.js:269:11)
    at IncomingMessage.emit (node:events:402:35)
    at endReadableNT (node:internal/streams/readable:1343:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  config: {
    url: 'https://authenticationtest.com/HTTPAuth/',
    method: 'get',
    headers: {
      Accept: 'application/json, text/plain, */*',
      'User-Agent': 'axios/0.21.4'
    },
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    adapter: [Function: httpAdapter],
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    validateStatus: [Function: validateStatus],
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    data: undefined
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      socket: [Function (anonymous)],
      timeout: [Function (anonymous)],
      prefinish: [Function: requestOnPrefinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: false,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    maxRequestsOnConnectionReached: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: false,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: 0,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    _closed: false,
    socket: TLSSocket {
      _tlsOptions: [Object],
      _secureEstablished: true,
      _securePending: false,
      _newSessionPending: false,
      _controlReleased: true,
      secureConnecting: false,
      _SNICallback: null,
      servername: 'authenticationtest.com',
      alpnProtocol: false,
      authorized: true,
      authorizationError: null,
      encrypted: true,
      _events: [Object: null prototype],
      _eventsCount: 10,
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'authenticationtest.com',
      _readableState: [ReadableState],
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: undefined,
      _server: null,
      ssl: [TLSWrap],
      _requestCert: true,
      _rejectUnauthorized: true,
      parser: null,
      _httpMessage: [Circular *1],
      [Symbol(res)]: [TLSWrap],
      [Symbol(verified)]: true,
      [Symbol(pendingSession)]: null,
      [Symbol(async_id_symbol)]: 60,
      [Symbol(kHandle)]: [TLSWrap],
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 0,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(connect-options)]: [Object],
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'GET /HTTPAuth/ HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'User-Agent: axios/0.21.4\r\n' +
      'Host: authenticationtest.com\r\n' +
      'Connection: close\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: nop],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 443,
      protocol: 'https:',
      options: [Object: null prototype],
      requests: [Object: null prototype] {},
      sockets: [Object: null prototype],
      freeSockets: [Object: null prototype] {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'lifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 1,
      maxCachedSessions: 100,
      _sessionCache: [Object],
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'GET',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: '/HTTPAuth/',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      socket: [TLSSocket],
      httpVersionMajor: 1,
      httpVersionMinor: 0,
      httpVersion: '1.0',
      complete: true,
      rawHeaders: [Array],
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 401,
      statusMessage: 'Unauthorized',
      client: [TLSSocket],
      _consuming: true,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'https://authenticationtest.com/HTTPAuth/',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(kHeaders)]: [Object],
      [Symbol(kHeadersCount)]: 36,
      [Symbol(kTrailers)]: null,
      [Symbol(kTrailersCount)]: 0,
      [Symbol(RequestTimeout)]: undefined
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'authenticationtest.com',
    protocol: 'https:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 0,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'https://authenticationtest.com/HTTPAuth/',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'user-agent': [Array],
      host: [Array]
    }
  },
  response: {
    status: 401,
    statusText: 'Unauthorized',
    headers: {
      date: 'Sat, 25 Dec 2021 19:09:05 GMT',
      server: 'Apache/2.4.41 (Ubuntu)',
      'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
      'cache-control': 'no-cache,no-store, no-store, no-cache, must-revalidate',
      'x-frame-options': 'SAMEORIGIN',
      'x-xss-protection': '1; mode=block',
      'referrer-policy': 'same-origin',
      'x-content-type-options': 'nosniff',
      'feature-policy': "autoplay 'none'; camera 'none'; document-domain 'none'; encrypted-media 'none'; fullscreen 'none'; geolocation 'none'; microphone 'none'; midi 'none'; payment 'none'; vr 'none'",
      pragma: 'no-cache, no-cache',
      'set-cookie': [Array],
      expires: 'Thu, 19 Nov 1981 08:52:00 GMT',
      'www-authenticate': 'Basic realm="u=User,p=Pass"',
      'content-length': '2893',
      connection: 'close',
      'content-type': 'text/html; charset=UTF-8'
    },
    config: {
      url: 'https://authenticationtest.com/HTTPAuth/',
      method: 'get',
      headers: [Object],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      adapter: [Function: httpAdapter],
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      validateStatus: [Function: validateStatus],
      transitional: [Object],
      data: undefined
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: false,
      socket: [TLSSocket],
      _header: 'GET /HTTPAuth/ HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'User-Agent: axios/0.21.4\r\n' +
        'Host: authenticationtest.com\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/HTTPAuth/',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'authenticationtest.com',
      protocol: 'https:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype]
    },
    data: '<!DOCTYPE html>\n' +
      '\n' +
      '\t\n' +
      '\t\t<meta charset="utf-8">\n' +
      '\t\t<meta name="viewport" content="width=device-width, initial-scale=1">\n' +
      '\t\t<meta name="description" content="This site contains some examples of the ways web applications accept authentication. You can use these to test your scripts ability to authentication to them.">\n' +
      '\t\t<title>Authentication Test</title>\n' +
      '\t\t<link href="https://authenticationtest.com/assets/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">\n' +
      '\t\t<link rel="icon" href="https://authenticationtest.com/assets/favicon.png">\n' +
      '\t\n' +
      '\t\n' +
      '\t\t\n' +
      '\t\t\t\n' +
      '\t\t\t\tAuthentication Test\n' +
      '\t\t\t<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">\n' +
      '\t\t\t\t\n' +
      '\t\t\t</button>\n' +
      '\t\t\t
\n' +
      '\t\t\t\t
\n' +
      '\t\t\t\t\t
\n' +
      '\t\t\t\t\t\tAuth Menu\n' +
      '\t\t\t\t\t
\n' +
      '\t\t\t\t\t
\n' +
      '\t\t\t\t\t\tStatus Codes\n' +
      '\t\t\t\t\t
\n' +
      '\t\t\t\t\t
\n' +
      '\t\t\t\t\t\tPage 1\n' +
      '\t\t\t\t\t
\n' +
      '\t\t\t\t\t
\n' +
      '\t\t\t\t\t\tAbout\n' +
      '\t\t\t\t\t
\n' +
      '\t\t\t\t\t
\n' +
      '\t\t\t\t\t\tTOTPGen\n' +
      '\t\t\t\t\t
\n' +
      '\t\t\t\t\t
\n' +
      '\t\t\t\t\t\tXSS Demo\n' +
      '\t\t\t\t\t
\n' +
      '\n' +
      '\t\t\t\t\t\n' +
      '\t\t\t\t
\n' +
      '\t\t\t
\n' +
      '\t\t\t\n' +
      '\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tPlease Sign In\n' +
      '\t\t\t\t\t\t\t\t\t\t\t\t\n' +
      '\t\t\n' +
      '\t\t
\n' +
      '\t\t\t\n' +
      '
Login Failure
\n' +
      '
Sorry -- You have not successfully logged in. If you were trying HTTP Auth, clear your browser cache.
\n' +
      '\n' +
      '\t\t
\n' +
      '\t\t\n' +
      '\t\t\t
\n' +
      '\t\t\tCopyright ©2019-2021 Robert Lerner, All Rights Reserved. | Privacy Policy\n' +
      '\t\t\n' +
      '\t\t\n' +
      '\t\t\n' +
      '\t\n' +
      ''
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

Preparing Electron app...

Converting icons...

Packaging... This will take a few seconds, maybe minutes if the requested Electron isn't cached yet...
Packaging app for platform win32 x64 using electron v16.0.5

Finalizing build...
App built to C:\Users\matthew\AppData\Local\Temp\nativefier-manual-test-auth-prompt-vHxGJ\nativefier-smoke-test-3-win32-x64, move to wherever it makes sense for you and run the contained .exe file.

@mattruzzi thanks for the fast tests.

Are the devtools supposed to be blue?

They didn't use to, but indeed, now with Electron >13 it looks like our inject code applies to DevTools too. Clearly unproblematic to release, if someone is annoyed by it they can dig into it and fix it.

Also, I got an error on windows when running the second and third smoke tests.

Indeed, reproduced. When failing to infer a website icon, we log and proceed, but we used to do a bad job at logging, logging the whole ginormous error rather than just the message. This logging nit aside, the log-and-proceed behavior is alright, that's what we want. I pushed a little logging fix.

@ronjouch We should also solve #848 so when we release the new version it will be available on docker.

All automated and manual tests pass on MacOS 11.6.2!

Great. Thanks for the tests, frendz. Will cut a release tomorrow or soon-ish.

@TheCleric This broke widevine builds the version prefix changed from -wvvmp to +wvcus  . See code
As see here:

The v16 series of Electron for Content Security, labeled wvcus, moves to using the Component Updater Service to handle installation of the Widevine CDM, and has incompatible API updates compared to the previous wvvmp releases.

This broke widevine builds

Thanks for the notice, @loxK. Fixed in 5e3c23267a57f0f61e97e9367c780e0db2c728d9, will cut a release soon.


Quarantäneheld*innen platform integration

Problem and motivation
Hey there,
I'm Janik, one of the maintainers of www.quarantaenehelden.org.
Our platform allows both people in quarantine and in risk groups to search for help with everyday tasks, such as groceries, dog walking, picking up mail, etc.
Our platform has more than 40 000 registered helpers throughout Germany, and we are part of the official initiative of the German ministry of health, Zusammen gegen Corona.
You can find our open-source project here.
The goal of our platform is to offer help to as many help-seeking citizens as possible, and recently, we have been thinking of ways to increase our reach further.
We have already reached out to federal institutions, such as health departments, to spread awareness for the platform.
Our primary motivation for this feature request is to extend further the way we can directly reach the target audience of our platform.
The CWA is a great opportunity for this, as positively tested individuals and those who might have been exposed are using the application.
We think that it will be very beneficial for this user group to be directly informed about our platform and the possibility to reach out for help.
Feature description
Mention the Quarantäneheld*innen platform in the CWA. This could affect the following areas:

Test registration flow: when adding a positive test result, the CWA could show an additional section on the Thank you screen. This entry could inform the user about the Quarantäneheld*innen platform, with the possibility to click-out to the website, where they can then create a posting about their needs.
Risk cards: when being informed about increased risk, the CWA could mention Quarantäneheld*innen in the Guidelines section, again, enabling the individual to click out to the platform and post a help request there.

Example of the specific section

Example of how to integrate the section on a Risk Card

Is this something you're interested in working on
Yes - we are very eager to do it! We have plenty of developer resources available to create the relevant contributions and to make this happen :)

Internal Tracking-ID: EXPOSUREAPP-7297

Wow this sounds like an extremely good idea.

Hey @jagaSto ,
Thank you for the proposal. We have created a ticket in our internal Jira system where the feature integration will be discussed by the devs. We'll notify you here if we get any news about progress on this issue.
I assume the integration requires a lot of organizational syncing between your team and the CWA team, so I recommend that you additionally write an email to<EMAIL_ADDRESS>for that purpose and mention this issue.

Corona-Warn-App Open Source Team

Hey @heinezen,
Thank you for the information! We have reached out to the CWA team via the provided email. I also mentioned this in the email, but overall, the integration should be pretty straightforward - in the current scenario, we would only need to provide  our logo and an URL to which the call-to-action should point. Can't wait to get more feedback here! 🙂

Hey there @heinezen,
Are there any updates on this request? Have you decided to implement it? Again, we are very happy to offer any additional support you might need.
We have also reached out to your colleagues under the provided email last week, but we haven't heard back from them unfortunately just yet (except an automated response which gave us instruction on how to integrate our (non-existing) rapid test center into the CWA, which is obviously a false positive).
Let me know if we can support you in any way!

@jagaSto
I don't want to lower your expectations here (and hope that it'll maybe go another (faster) way here), but such feature request as yours will directly go to the stakeholders, in our case the RKI/BMG.
And this takes a little time...


Changing WANDB_CACHE_DIR breaks artifact retrieval

Describe the bug
The following code
def get_artifact_if_it_exists(project: str, artifact: str, tag: str = 'latest') -> wandb.Artifact | None:
    try:
        return wandb.Api().artifact(project + '/' + artifact + ':' + tag)
    except CommError:
        return None

correctly returns an artifact object for existing artifacts when WANDB_CACHE_DIR is unmodified.
After changing the cache to a shared space for lightning.ai studios via
os.environ['WANDB_CACHE_DIR'] = '/teamspace/wandb_cache/'

the same call to my get_artifact_if_it_exists returns None (i.e. artifact not found).
Additional Files
No response
Environment
WandB version: 0.16.4
OS:  Ubuntu (on lightning.ai)
Python version: 3.11.8
Versions of relevant libraries: N/A
Additional Context
No response

hey @astirn - thank you for flagging this. I was able to successfully access the artifact after modifying WANDB_CACHE_DIR via the code snippet above by running this locally on my machine. Do you encounter the erroneous behavior when running this locally as well? (outside of Lightning AI)

@astirn I'm also unable to replicate this behavior. Could you provide a minimal example where the artifact can't be retrieved? Here's a colab example where I attempted to replicate, but this example works: https://colab.research.google.com/drive/1xyBGWmJ3UFVS1IsCtZlnp3h8P9nO0kqw?usp=sharing

@astirn - We wanted to follow up with you regarding your request as we have not heard back from you. if you're able to provide a minimal example, this would be super helpful!

Thanks for following up. I confirmed it works for me locally as well. It turns out that the directory I selected on lightning.ai doesn't have permissions for directory creation. FWIW, it might be better to notify the user if and when W&B cannot create the alternative cache directory.

hey @astirn - our artifacts team merged a change that would check that the cache is writable so this issue doesn't arise again; thank you for flagging this


feature: Update MDC Web dependencies to  v0.35.1

Updated all versions of MDC Web to v0.35.1. Also fixed ripple by wrapping it in a requestAnimationFrame(). We verified fix by checking on IE11 and Edge.
Added polyfill, since Object.assign does not work on IE11.

Codecov Report

Merging #52 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #52      +/-   ##
==========================================
+ Coverage   99.17%   99.17%   +<.01%
==========================================
  Files          18       18
  Lines         606      607       +1
  Branches       49       49
==========================================
+ Hits          601      602       +1
  Misses          5        5

Impacted Files
Coverage Δ

packages/ripple/index.js
98.57% <100%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bb0d81f...9910217. Read the comment docs.

I wasn't aware of the card/button/text-field changes. I do have an issue for the top-app-bar change. This is the start of a series of PRs to sync with 0.36.x. I wanted to upgrade all of these to the latest, then fix the ripple.
RE tests: How does Wiz catch these changes with their tests? At the very least, I think the screenshot tests should catch a rename from stroked --> outline.

Update:
RE: Button
https://github.com/material-components/material-components-web-react/commit/ab1dd138f90d5cf565947835a3ced731372f4a92 merged in an incorrect screenshot of stroked button. I overlooked the stroked button, and thought all these changes were due to typography changes.
RE: Card
Card is the flakiest test since there is a lot of text. I didn't catch the difference between the --outlined styles when fixing this one.
RE: Text Field
I don't see a removeAttr adapter method. Is that the correct name?

Whoops... the CHANGELOG comment about removeAttr might've been a little overly vague, I think it was on the icon subcomponent specifically.

Ah gotcha - created https://github.com/material-components/material-components-web-react/issues/59


[Request] Could you include japanese locale file

Please check the attached zip file.
[file]
ja/
ja/locale.cfg
ja.zip

Hi Thanks for the translations, i have included them in the latest commit, can you download it and test that the translations come through correctly for the release?
Sorry it took me so long to put them in

Thank you very much.
I'm rooting for you.


Launcher won't start

[18:21:56 INF] Elite Dangerous: Minimal Launcher - v0.8.1+6145fdf5
[18:21:56 ERR] Unhandled exception: System.Globalization.CultureNotFoundException: Argument_CultureNotSupported Arg_ParamName_Name, name
Argument_CultureInvalidIdentifier, en_us.utf-8
   at System.Globalization.CultureInfo.GetCultureInfo(String)
   at MinEdLauncher.Steam.fixLcAll()
   at MinEdLauncher.App.run@258.MoveNext()
   at MinEdLauncher.Program.run@65-21.MoveNext()
   at MinEdLauncher.Program.run@63-20.MoveNext()
   at MinEdLauncher.Program.run@62-19.MoveNext()
   at MinEdLauncher.Program.run@72-22.MoveNext()
   at MinEdLauncher.Program.run@75-23.MoveNext()
   at MinEdLauncher.Program.main(String[])

Is this because my locate is set to: en_us.utf-8?
Output of locate:
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

I think it's because LC_ALL has a dot in it. You should be able to set LC_ALL and/or HOST_LC_ALL to en_US in your steam launch options as a temporary workaround until I can fix the parsing issue. (i.e. HOST_LC_ALL=en_US alacritty -e ./MinEdLauncher %command% /autorun /autoquit /edh4)


GPU gets stuck at 99% doing nothing

Hey,
We have a Radeon RX 5700 XT, in Ubuntu 20-.04. For some reason at some point the GPU gets stuck with this call:
strace: Process 137623 attached
ioctl(7, AMDKFD_IOC_WAIT_EVENT

Clinfo seems to be working fine:
Number of platforms:                             1
  Platform Profile:                              FULL_PROFILE
  Platform Version:                              OpenCL 2.0 AMD-APP (3212.0)
  Platform Name:                                 AMD Accelerated Parallel Processing
  Platform Vendor:                               Advanced Micro Devices, Inc.
  Platform Extensions:                           cl_khr_icd cl_amd_event_callback

  Platform Name:                                 AMD Accelerated Parallel Processing
Number of devices:                               1
  Device Type:                                   CL_DEVICE_TYPE_GPU
  Vendor ID:                                     1002h
  Board name:                                    Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
  Device Topology:                               PCI[ B#75, D#0, F#0 ]
  Max compute units:                             20
  Max work items dimensions:                     3
    Max work items[0]:                           1024
    Max work items[1]:                           1024
    Max work items[2]:                           1024
  Max work group size:                           256
  Preferred vector width char:                   4
  Preferred vector width short:                  2
  Preferred vector width int:                    1
  Preferred vector width long:                   1
  Preferred vector width float:                  1
  Preferred vector width double:                 1
  Native vector width char:                      4
  Native vector width short:                     2
  Native vector width int:                       1
  Native vector width long:                      1
  Native vector width float:                     1
  Native vector width double:                    1
  Max clock frequency:                           2100Mhz
  Address bits:                                  64
  Max memory allocation:<PHONE_NUMBER>
  Image support:                                 Yes
  Max number of images read arguments:           128
  Max number of images write arguments:          8
  Max image 2D width:                            16384
  Max image 2D height:                           16384
  Max image 3D width:                            16384
  Max image 3D height:                           16384
  Max image 3D depth:                            8192
  Max samplers within kernel:                    29471
  Max size of kernel argument:                   1024
  Alignment (bits) of base address:              1024
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                                     Yes
    Quiet NaNs:                                  Yes
    Round to nearest even:                       Yes
    Round to zero:                               Yes
    Round to +ve and infinity:                   Yes
    IEEE754-2008 fused multiply-add:             Yes
  Cache type:                                    Read/Write
  Cache line size:                               64
  Cache size:                                    16384
  Global memory size:<PHONE_NUMBER>
  Constant buffer size:<PHONE_NUMBER>
  Max number of constant args:                   8
  Local memory type:                             Scratchpad
  Local memory size:                             65536
  Max pipe arguments:                            16
  Max pipe active reservations:                  16
  Max pipe packet size:<PHONE_NUMBER>
  Max global variable size:<PHONE_NUMBER>
  Max global variable preferred total size:<PHONE_NUMBER>
  Max read/write image args:                     64
  Max on device events:                          1024
  Queue on device max size:                      8388608
  Max on device queues:                          1
  Queue on device preferred size:                262144
  SVM capabilities:
    Coarse grain buffer:                         Yes
    Fine grain buffer:                           Yes
    Fine grain system:                           No
    Atomics:                                     No
  Preferred platform atomic alignment:           0
  Preferred global atomic alignment:             0
  Preferred local atomic alignment:              0
  Kernel Preferred work group size multiple:     32
  Error correction support:                      0
  Unified memory for Host and Device:            0
  Profiling timer resolution:                    1
  Device endianess:                              Little
  Available:                                     Yes
  Compiler available:                            Yes
  Execution capabilities:
    Execute OpenCL kernels:                      Yes
    Execute native function:                     No
  Queue on Host properties:
    Out-of-Order:                                No
    Profiling :                                  Yes
  Queue on Device properties:
    Out-of-Order:                                Yes
    Profiling :                                  Yes
  Platform ID:                                   0x7f66e643fcf0
  Name:                                          gfx1010
  Vendor:                                        Advanced Micro Devices, Inc.
  Device OpenCL C version:                       OpenCL C 2.0
  Driver version:                                3212.0 (HSA1.1,LC)
  Profile:                                       FULL_PROFILE
  Version:                                       OpenCL 2.0
  Extensions:                                    cl_khr_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_media_ops cl_amd_media_ops2 cl_khr_image2d_from_buffer cl_khr_subgroups cl_khr_depth_images cl_amd_copy_buffer_p2p cl_amd_assembly_program

The version of Rocm is the last one stable, 4.0.1
/opt/rocm/bin/rocminfo
ROCk module is loaded
Able to open /dev/kfd read-write
=====================
HSA System Attributes
=====================
Runtime Version:         1.1
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:<PHONE_NUMBER>3709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE
System Endianness:       LITTLE

==========
HSA Agents
==========
*******
Agent 1
*******
  Name:                    AMD Ryzen Threadripper 3990X 64-Core Processor
  Uuid:                    CPU-XX
  Marketing Name:          AMD Ryzen Threadripper 3990X 64-Core Processor
  Vendor Name:             CPU
  Feature:                 None specified
  Profile:                 FULL_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        0(0x0)
  Queue Min Size:          0(0x0)
  Queue Max Size:          0(0x0)
  Queue Type:              MULTI
  Node:                    0
  Device Type:             CPU
  Cache Info:
    L1:                      32768(0x8000) KB
  Chip ID:                 0(0x0)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   2900
  BDFID:                   0
  Internal Node ID:        0
  Compute Unit:            128
  SIMDs per CU:            0
  Shader Engines:          0
  Shader Arrs. per Eng.:   0
  WatchPts on Addr. Ranges:1
  Features:                None
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    98827196(0x5e3fbbc) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 2
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    98827196(0x5e3fbbc) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
  ISA Info:
    N/A
*******
Agent 2
*******
  Name:                    gfx1010
  Uuid:                    GPU-XX
  Marketing Name:          Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
  Vendor Name:             AMD
  Feature:                 KERNEL_DISPATCH
  Profile:                 BASE_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        128(0x80)
  Queue Min Size:          4096(0x1000)
  Queue Max Size:          131072(0x20000)
  Queue Type:              MULTI
  Node:                    1
  Device Type:             GPU
  Cache Info:
    L1:                      16(0x10) KB
  Chip ID:                 29471(0x731f)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   2100
  BDFID:                   19200
  Internal Node ID:        1
  Compute Unit:            40
  SIMDs per CU:            4
  Shader Engines:          4
  Shader Arrs. per Eng.:   2
  WatchPts on Addr. Ranges:4
  Features:                KERNEL_DISPATCH
  Fast F16 Operation:      FALSE
  Wavefront Size:          32(0x20)
  Workgroup Max Size:      1024(0x400)
  Workgroup Max Size per Dimension:
    x                        1024(0x400)
    y                        1024(0x400)
    z                        1024(0x400)
  Max Waves Per CU:        80(0x50)
  Max Work-item Per CU:    2560(0xa00)
  Grid Max Size:<PHONE_NUMBER>(0xffffffff)
  Grid Max Size per Dimension:
    x<PHONE_NUMBER>(0xffffffff)
    y<PHONE_NUMBER>(0xffffffff)
    z<PHONE_NUMBER>(0xffffffff)
  Max fbarriers/Workgrp:   32
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    8372224(0x7fc000) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Alignment:         4KB
      Accessible by all:       FALSE
    Pool 2
      Segment:                 GROUP
      Size:                    64(0x40) KB
      Allocatable:             FALSE
      Alloc Granule:           0KB
      Alloc Alignment:         0KB
      Accessible by all:       FALSE
  ISA Info:
    ISA 1
      Name:                    amdgcn-amd-amdhsa--gfx1010
      Machine Models:          HSA_MACHINE_MODEL_LARGE
      Profiles:                HSA_PROFILE_BASE
      Default Rounding Mode:   NEAR
      Default Rounding Mode:   NEAR
      Fast f16:                TRUE
      Workgroup Max Size:      1024(0x400)
      Workgroup Max Size per Dimension:
        x                        1024(0x400)
        y                        1024(0x400)
        z                        1024(0x400)
      Grid Max Size:<PHONE_NUMBER>(0xffffffff)
      Grid Max Size per Dimension:
        x<PHONE_NUMBER>(0xffffffff)
        y<PHONE_NUMBER>(0xffffffff)
        z<PHONE_NUMBER>(0xffffffff)
      FBarrier Max Size:       32
*** Done ***

The code is doing a simulation with python but the same happens with OpenMM.
But if I run in the terminal:
Strace -f clinfo
The change to sleep into running state.
Do you have any idea, why this is happening?
If you need more information just let me know.
Thanks,
Berta

Hi @BertaViader-zv
thanks for reaching us.
We are not officially supporting Navi10 as of today and so we can not comment on this.
To add additional information, I tried on vega10 and this issue is not observed.
Thank you.


[Blockchain] Understanding the downsides of smart contracts in blockchain

Proposed title of the article
Understanding the downsides of smart contracts in blockchain
Proposed article introduction
In the blockchain, cryptocurrency is the most popular concept discussed worldwide. However, the smart contracts concept is gradually catching up with the pace in this digital economy.
The benefits offered by smart contracts are seen to cut across different industries such as insurance, supply chains, and healthcare.  But, the main question remains whether smart contracts are really what are presumed to be?
There is no doubt that smart contracts will be useful in the near future. However, it is better to separate the truth from the hype.
In an attempt to understand the applications and limitations of smart contracts, it is evident that the technology has a lot of potentials. However, there are still technological and legal factors limiting its successful implementation.
In this proposed article, we will broadly cover the downsides associated with smart contracts.
Key takeaways
At the end of the proposed article, the reader will understand:

the concept of smart contracts in blockchains.
how smart contracts work in real-world applications.
why smart contracts are popularly used.
the downsides associated with smart contracts.

Article quality
Unlike most published articles found on the blog sites, the explanation of each concept of smart contracts in blockchains will be broadly supported by real-life examples. The first-time readers will find the proposed article to be easy to understand and grasp the concepts explained.
References
N/A

Sounds like a helpful topic - let's please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it).
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting it for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double-check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved @ogoti-lilian


Git version check fails

Hi,
In git.js in line 50, were script is checking git version and trying to match it using regular expression is failing on command output like git version 1.10.1.windows.1.
It is caused because versionArr = stdout.match(/\d.\d.\d/); is expecting single digit.

Changing versionArr = stdout.match(/\d.\d.\d/); to versionArr = stdout.match(/\d+\.\d+\.\d+/); fixed the problem for me.

Sorry totally forgot about this issue :( Once I find some time in the next week's I'll fix it.

Could you please implement this fix as it starting causing havock for a few people? I am happy to do the fix myself as a contributor should you prefer.

@SeanLS actually the issue has been already fixed long time via 80869f055fb6ad45c86a1ea120713c223731b826  ago but I missed to close this issue. Which version of jspm-git are you using?

@subesokun Thank you very much. I am not sure at the moment regarding version. I will get back to you.


sub-menu URL not displayed

Hi, I am using Chromatic it works on the nav when it isn't collapsed but once the menu collapses for smaller devices, the sub-menu item is not displayed.

Looking further, this is possibly something to do with jQuery or Javascript.

Thanks!  I will test it out.


SPACE SPACE in the "Find" text input may insert PERIOD on macOS

On Mojave, the OS keyboard/text setting "Add period with double-space" is enabled by default.  This is useful when typing messages, emails, etc.  But when doing a find/replace in VSCode, this keyboard behavior should be suppressed, similar to how smart quotes, spell correction, auto capitalization are suppressed.

VSCode Version:
Version: 1.42.1
Commit: c47d83b293181d9be64f27ff093689e8e7aed054
Date: 2020-02-11T14:44:27.652Z
Electron: 6.1.6
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 18.6.0

Steps to Reproduce:

Open a text editor and use COMMAND+F to open find
press the keys: A SPACE SPACE
Notice that the text input now contains a period ( content will be "a . ")

AFAIK, there is no way for us to disable this feature.


Consider reverting #146 at some point

The compiler dropped support for RHEL 5, so #146 can in principle be reverted when the MSRV gets bumped to 1.47.

Thanks for the note!
Do you think there's any pressure to revert that change? To me it seems like it doesn't make any difference in practical terms. But I'm happy to change it back, if it's causing problems for anyone.

Nope, it's just cleaning up a workaround that's no longer needed. The two extra syscalls probably don't matter, but there's no point in having them. I filed this to keep track of it.

Makes sense, thanks again!


Proxy Support for Language Server

Is your feature request related to a problem? Please describe.
Morgan Stanley users receive an error when using the Actions extension for VSCode, blocking them from using the Intellisense features of the extension.
request to https://api.github.com/user failed, reason: connect EHOSTUNREACH <IP_ADDRESS>:443

They have an enterprise proxy in place, and have configured the VSCode proxy settings. It appears that the extension does not pull from these proxy settings and is failing to connect.

% cat .vscode-settings.json | grep proxy
"http.proxy": http://proxy-app.ms.com:8080/,
"https.proxy": http://proxy-app.ms.com:8080/,

Describe the solution you'd like
Check for proxy configuration and use those settings if applicable for any connection to external resources.
Additional context
Slack thread

Possibly duplicate of #143?
Anyways, is this a good "first issue" for a new contributor?

I guess this could be implemented with https://github.com/octokit/octokit.js#proxy-servers-nodejs-only and taking over proxy settings from the workspace.
However, to fully support all scenarios, #39 should be resolved too.

Need this

Please

This is addon is pointless behind a corporate proxy firewall. I tried every type of proxy configuration on my windows machine and VS Code and it still will not reach the Github API while the other Github Addons work fine like Github Pull Request.
Any work arounds until this gets adressed?

Any work arounds until this gets addressed?

I fear you would have to reconfigure your machine so it passes around the corporate proxy when connections are initiated from VSCode to GitHub. Otherwise, only PR would help here...

I just wanted to include the proxy support for Copilot announcement here so that we can try to re-use some of the implementation that they used when work begins: https://github.com/orgs/community/discussions/29127
I also wanted to note that we added a note that OS certs and proxies aren't currently supported but are planned - https://github.com/github/vscode-github-actions?tab=readme-ov-file#supported-features (once these are completed we need to remove this note as well)

It has been a year now, is there any movement on getting this done please?
Developing GitHub Actions can be hard work, especially in a corporate setting, where workflows are now being used as deployment pipelines. I for one, would like to use this extension in my workplace (behind a proxy) to make my life a little easier.

A slightly different issue but I believe it has the same cause - this extension cannot function when connected to a remote machine in VSCode.

Has there been any movement on this?

v0.27.0 also working for me behind a corporate firewall. Hopefully it has been implemented rather than a happy accident 😃


Fix - Update Broken Edit Show Links

The Edit Show Notes links are leading to GitHub 404 pages. This is related to using process.cwd().  I'm not sure of the intended purpose of the commit this PR reverts, but this should get things back into working order. 👍
Current Prod URL: https://github.com/wesbos/Syntax/edit/master//var/task/shows/271 - upgrading.md
Local URL Example: https://github.com/wesbos/Syntax/edit/master//Users/ryan/Desktop/Syntax/shows/271 - upgrading.md
Working URL: https://github.com/wesbos/Syntax/edit/master/shows/271 - upgrading.md

Awesome work @rayjay00

thanks!


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

AWS CodeBuild CI Report

CodeBuild project: DDKIntegrationTestsD8472609-5SCHWjldmWcf
Commit ID: 9e96406588575761aa99d505f3144184d729352c
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


New item badge on Mastery card is blurred out

The 1.6 badge on the Mastery skill card is included in the new content blur.  Additionally choosing to show new content, causes a horizontal scrollbar on the page.

i think the mastery skill card is supposed to be blurred since it's new content but @jacc definitely broke something with the horizontal scroll bar 🤔🤔

Yeah, the card is supposed to be blurred, but not the badge in the top right.  As for the horizontal scrollbar, apparently the CSS blur filter creates a positioned element, because the card is not relative positioned, so the badge jumps to the top right of the page, hiding behind the sticky header once the blur is removed.  This extends the page just enough to create the scrollbar.
My PR addresses all of that.  I also added a position property to the badge because otherwise the badge on the Mastery card has no space from the above element, so it doesn't offset the badge that far.

This is such an incredible PR and handles a few things I was looking to get done this week - I also appreciate the future proofing on the NewItemBadge versioning. Thank you so much!


What's the difference between dartdevc and dartdevk?

I presume one takes kernel files and one takes sources?
It's not clear from their help messages:
%./dartdevc                                                                                [~/Downloads/dart-sdk/bin]
The Dart Development Compiler compiles Dart sources into a JavaScript module.

Usage: dartdevc [options...] <sources...>

-h, --help                   Display this message. Add -v to show hidden options.
-o, --out                    Output file (required).
    --modules                module pattern to emit

          [amd] (default)    AMD/RequireJS modules
          [common]           CommonJS/Node.js modules
          [es6]              ECMAScript 6 modules

-s, --summary                summary file(s) of imported libraries, optionally
                             with module import path: -s path.sum=js/import/path

    --module-name            The output module name, used in some JS module formats.
                             Defaults to the output file name (without .js).

    --library-root           (deprecated) used to name libraries inside the module.

./dartdevk                                                                                [~/Downloads/dart-sdk/bin]
The Dart Development Compiler compiles Dart sources into a JavaScript module.

Usage: dartdevc -k [options...] <sources...>

-h, --help                   Display this message.
-o, --out                    Output file (required).
    --packages               The package spec file to use.
    --[no-]summarize-text    emit API summary in a .js.txt file
                             (defaults to on)

    --multi-root-scheme      The custom scheme to indicate a multi-root uri.
                             (defaults to "org-dartlang-app")

    --multi-root             The directories to search when encountering uris with the specified multi-root scheme.
                             (defaults to "/Users/eseidel/Downloads/dart-sdk/bin/")

    --modules                module pattern to emit

          [amd] (default)    AMD/RequireJS modules
          [common]           CommonJS/Node.js modules
          [es6]              ECMAScript 6 modules

-s, --summary                summary file(s) of imported libraries, optionally
                             with module import path: -s path.sum=js/import/path

    --module-name            The output module name, used in some JS module formats.
                             Defaults to the output file name (without .js).

The internet only talks about dartdevc.
Dart VM version: 2.1.1-dev.0.1 (Thu Dec 20 08:43:10 2018 +0100) on "macos_x64"

I haven't documented dartdevk because I was told it was going to be provided as dartdevc. But I suppose the tools page should mention it, since it is (for whatever reason) provided as a separate file in the SDK.

You're correct that dartdevk is the one that consumes kernel files. We expect that both of these should be opaque to most users, you should be using them through build_runner and build_web_compilers. We have not yet published the version that uses dartdevk.
Are you trying to use these compilers outside of the build system? If so, can you explain the reasoning?

They're roughly equivalent.  Under the hood, dartdevc is the original analyzer-based version we're deprecating.  dartdevk is the kernel/CFE-based version we're planning to replace it with.  We're moving to the latter to unify with other Dart compilation tools, but we need to fix some perf issues first.
Most users are unlikely to invoke either directly.  These tools are somewhat analogous to gcc without the link step (i.e., the .c to .o part).   Our builders invoke them for you at the right granularity and do the link step to produce a complete app.
@jmesserly - are you planning on unifying to one binary?  If not, perhaps change the help to clarify?  :-)

dartdevk is deprecated. It can be removed now, since it was never officially released. It was only used by build_runner (and even that was experimental support).

are you planning on unifying to one binary?

it's already done! :) dartdevk is simply an alias for dartdevc -k/dartdevc --kernel

Update: I've got a CL (88281) that removes dartdevk, and Nate has a pull request for build_runner that switches over to dartdevc --kernel


ISPN-13656 Prevent NPE in RemoteStore:stop

https://issues.redhat.com/browse/ISPN-13656

merged! thanks @diegolovison !


Add submission form and moderation page

Problem
The current submission process relies on a Google Form which sends data to a Google Spreadsheet and photos to Google Drive.  This has several drawbacks:

Servers are required to be logged into Google to submit results, and get an unhelpful error if they are not (1)
The photos have to be processed manually by downloading them from Google Drive, creating the thumbnail, uploading both to WordPress, and adding links to both back into the spreadsheet
Moderating the submissions to prevent, e.g. spam, requires an unnecessary amount of manual work and is error-prone

Proposal
We can add a submission form handler to the Serverless code that can automatically create the image thumbnails and store the data in a proper database, with a flag for moderated or not. We can also add a moderation page which displays all unmoderated entries as they would appear on the live view but with a button to approve the entry if it looks ok (2).
Notes

This happens to give us some protection against spam submissions, but I think the drawbacks outweigh that benefit, and as long as we keep the moderation step, albeit streamlined significantly.
Of course the moderation page will need to require authentication, but I think HTTP basic auth or even a bearer token should be ok for now.

This is pretty close to everything we need on the AWS side: https://serverless.com/blog/flask-python-rest-api-serverless-lambda-dynamodb/


10.0.19041.1949 need Support

10.0.19041.1949.zip

https://github.com/anhkgg/SuperRDP/releases/tag/v<IP_ADDRESS>


Impossible to claim NFT with empty wallet

Bug description
I cannot claim an NFT of which the storage deposit has been gifted from an empty wallet (no outputs yet)
Steps To reproduce the bug
Explain how the maintainer can reproduce the bug.

Send an NFT with gifted storage deposit to a wallet that hasn't had any transaction yet
Try to claim the NFT with the wallet.
Error is thrown

Expected behaviour
I expect to be able to claim the NFT if the storage deposit was gifted.
Actual behaviour
It's not possible to claim the NFT
Errors
{available: 77200, required: 116000}

Can probably be fixed if https://github.com/iotaledger/wallet.rs/blob/890214b88c4a7683414087f62ca1e89249e062e7/src/account/operations/output_claiming.rs#L262-L270 is changed, so if possible_additional_inputs.is_empty() the amount is set to the full NFT amount from the input and NTs are also added if there are any


Use beyla 1.3.3 with k8s discovery

Similar to #86, but for the servicegraph recipe.

Upgrade beyla
Move to YAML based config, selecting only pods
Add rbac config for Beyla to watch pods
~Move k8s attributes detection into beyla, including updating RBAC~

Tested the graphgen script is still working and the CPU/Memory usage of beyla/otel-collector are the same or better:

@dashpole I left in the k8sattributes processor since I will use it to lookup both server and client pod names in the next PR, which Beyla doesn't do right now.

do we still need the rbac changes and the k8s detection config?
    attributes:
      kubernetes:
        enable: true

@dashpole see https://github.com/grafana/beyla/issues/673
I could go back to BEYLA_SYSTEM_WIDE since we didn't see cardinality issues with the spanmetrics receiver as an alternative.


wallpaper  grid style is not changing

 configuration.setWallpapersGridStyle(GridStyle.CARD);

i changed the grid style using this config , but it doesn't do anything.

also can you guide me for interchanging the position of download and set wallpaper buttons?

Everything works fine. There's only a small difference. Try to use the flat one first, then change it to card, after that compare them.

Check fragment_wallpaper_options.xml


'Create variables' action should ignore renamed Figma Variables that retain a connection to an existing Token

First of all, thank you for being proactive with the Figma variables update, it's been fairly easy for us to create variables from our existing token sets.
Steps to reproduce

Use the action Create Variables on an existing set of tokens with kebab syntax e.g. icon-small
Rename a the generated Figma variable to Icon/small
Add a new token in the Token Studio plugin called icon-medium
Use the action Create Variables

Expected behavior
Token Studio creates one new variable called icon-mediumand recognizes that icon-small has been renamed and is already created.
Current behavior
Token Studio generates an icon-small and icon-medium variable and sees icon-small as a new token despite it being linked to the existing renamed variable Icon/small.

I was not able to reproduce, we might have this fixed already.
However, I did encounter a bug where using Sync variables creates the variable twice, even though it should detect the rename correctly. I'll use this issue to track this work.
If you're still able to reproduce the original bug, let me know 🙏

@six7 @atlas-ui I am unable to recreate either of the issues

Added to Featurebase Roadmap as a known issue to avoid duplicate tickets -	❖ 🪄 Sync variables and styles is now Export to Figma

Completed in 2.0


#247: ML: Stochastic Proximity Embedding does not work

How to reproduce

Open https://dev.datagrok.ai/f/Demo.TestJobs.Files.DemoFiles/demog.csv
Select ML | Stochastic Proximity Embedding

Expected behavior
An embedding is created.
Observed behavior
Nothing happens. Error "error: NullError: method not found: 'prepare$0' on null" is logged into console.
dev.datagrok.ai-1641444942676.log

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16039


[Java] RegisterNatives failed for createNativeClient with signature ()I

After exporting my Java project using Maven and the Shade plugin, I get the following error message on startup:
# java -Djava.library.path="libs" -jar telegram-client-core-1.0-SNAPSHOT.jar
[ 1][t 0][1605390602.289887428][tl_jni_object.cpp:37]   RegisterNatives failed for createNativeClient with signature ()I
FATAL ERROR in native method: RegisterNatives failed for createNativeClient with signature ()I
        at<EMAIL_ADDRESS>Method)
        at java.lang.ClassLoader$NativeLibrary.load(java.base@11.0.9/ClassLoader.java:2442)
        at java.lang.ClassLoader$NativeLibrary.loadLibrary(java.base@11.0.9/ClassLoader.java:2498)
        - locked <0x000000008b101e20> (a java.util.HashSet)
        at java.lang.ClassLoader.loadLibrary0(java.base@11.0.9/ClassLoader.java:2694)
        at java.lang.ClassLoader.loadLibrary(java.base@11.0.9/ClassLoader.java:2659)
        at java.lang.Runtime.loadLibrary0(java.base@11.0.9/Runtime.java:830)
        at java.lang.System.loadLibrary(java.base@11.0.9/System.java:1873)
        at io.d2a.tdclient.core.ClientMain.<clinit>(ClientMain.java:47)
Aborted

This problem first appeared on my Linux server.
Locally on macOS everything works with the *.dylib, but with the *.so on the Linux server the error occurs.
I built the *.so file according to these instructions: https://tdlib.github.io/td/build.html?language=Java
Does anyone have an idea why this problem occurs?

Seems that TdLib has updated since my local file (libtdjni.dylib).
I will update my project accordingly and if it still doesn't work, I will reopen the issue.

Yes, internal interface was changed. You need to update libtdjni and Java classes simultaneously.

Thank you @levlam for your answer.
I've built the library and source files using GitHub Actions (https://github.com/darmiel/tdlib-macos-build/blob/main/.github/workflows/macos-build.yml) [I hope it is okay if the repository is public. If not, of course I will make it private.]
Now I get the following error:
java.lang.UnsatisfiedLinkError: /Users/user/src/project/libs/libtdjni.dylib: dlopen(/Users/user/src/project/libs/libtdjni.dylib, 1): Library not loaded<EMAIL_ADDRESS>  Referenced from: /Users/user/src/project/libs/libtdjni.dylib
  Reason: image not found
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
	at java.lang.System.loadLibrary(System.java:1122)
java.lang.UnsatisfiedLinkError: org.drinkless.tdlib.Client.nativeClientExecute(Lorg/drinkless/tdlib/TdApi$Function;)Lorg/drinkless/tdlib/TdApi$Object;
	at org.drinkless.tdlib.Client.nativeClientExecute(Native Method)
	at org.drinkless.tdlib.Client.execute(Client.java:83)

The runner has openssl 1.1.1h installed, just like on my computer, but libtdjni seems to access an outdated version 1.0.2t.
Can I define the openssl version on build or do I have to install openssl 1.0.2t?

You have built TDLib with OpenSSL 1.0.2, so you must install OpenSSL 1.0.2 to use the library.

Hey @levlam,
I've updated my project to the new API, but now I'm getting weird libc-errors.
I'm getting to the point where I'm prompted for my phone number, but immediately after that, the program crashes with the following message:
libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument

@darmiel Could you try to build the latest TDLib for Java using exact instructions from https://tdlib.github.io/td/build.html?language=Java locally and check that the Java example works? I have just checked that it works for me on macOS. I expect that you have some incompatible libraries between the Docker container and your system.

@levlam Yeah, you're right.
The example from the td/ repository works.
The error-message only appears in the example when I close the program with CTRL+C.
Then I will see what it could be. Docker won't be a problem as I start the application directly from the IDE.
And it shouldn't be the libraries either. With the "old" TDLib it still worked.
But thanks for your help!

Got it!
Had to add an empty loop:
    while (true) {
      try {
        Thread.sleep(100);
      } catch (InterruptedException e) {
        e.printStackTrace();
      }
    }

@darmiel Crash on CTRL + C was a bug. I pushed a fix for it. Thanks!

@darmiel But it is impossible to completely prevent crashes on Ctrl + С on macOS, so the only way to reliably fix it is to catch Ctrl + С by the app and generously close all TDLib instances before exiting.


Update ancestry from 2.1.0 to 2.2.2

Coverage remained the same at 99.367% when pulling 98eb6fe32542a022b3ab30bde62e7c906605eb12 on update-gems into c2ee6220fc1f20c8541cecbd77ca686e6bed554b on master.


Custom Element override not working

I have a markdown text:
Based on the provided data and analysis, here is the cash flow forecast for the next 12 months, assuming a 1% growth in revenue and flat costs:

<Table
  columns={[{"title":"Month","dataIndex":"Month","key":"Month"},{"title":"Forecasted Revenue","dataIndex":"Forecasted Revenue","key":"Forecasted Revenue"},{"title":"Forecasted Expenses","dataIndex":"Forecasted Expenses","key":"Forecasted Expenses"}]}
  dataSource={[{"Month":"2024-09-01","Forecasted Revenue":"$3,137,678.85","Forecasted Expenses":"$2,036,660.28","key":0},{"Month":"2024-10-01","Forecasted Revenue":"$3,169,055.64","Forecasted Expenses":"$2,036,660.28","key":1},{"Month":"2024-11-01","Forecasted Revenue":"$3,200,746.19","Forecasted Expenses":"$2,036,660.28","key":2},{"Month":"2024-12-01","Forecasted Revenue":"$3,232,753.66","Forecasted Expenses":"$2,036,660.28","key":3},{"Month":"2025-01-01","Forecasted Revenue":"$3,265,081.19","Forecasted Expenses":"$2,036,660.28","key":4},{"Month":"2025-02-01","Forecasted Revenue":"$3,297,732.01","Forecasted Expenses":"$2,036,660.28","key":5},{"Month":"2025-03-01","Forecasted Revenue":"$3,330,709.33","Forecasted Expenses":"$2,036,660.28","key":6},{"Month":"2025-04-01","Forecasted Revenue":"$3,364,016.42","Forecasted Expenses":"$2,036,660.28","key":7},{"Month":"2025-05-01","Forecasted Revenue":"$3,397,656.58","Forecasted Expenses":"$2,036,660.28","key":8},{"Month":"2025-06-01","Forecasted Revenue":"$3,431,633.15","Forecasted Expenses":"$2,036,660.28","key":9},{"Month":"2025-07-01","Forecasted Revenue":"$3,465,949.48","Forecasted Expenses":"$2,036,660.28","key":10},{"Month":"2025-08-01","Forecasted Revenue":"$3,500,608.97","Forecasted Expenses":"$2,036,660.28","key":11}]}
/>

This forecast assumes a steady 1% growth in revenue each month while keeping the expenses constant.

And I have my component configured like so:
<Markdown
        children={markdownText}
        options={{
          overrides: {
            a: {
              component: Links,
            },
            Table: {
              component: ({ children, ...props }) =>
,
            },
          },
        }}
      />

The anchor components are working well. But the Table component just gets rendered as a string

It's working fine for me, the attributes you supply are passed as strings to the component and you need to use JSON.parse on them:
const Table: React.FC<
  JSX.IntrinsicElements['table'] & {
    columns: string
    dataSource: string
  }
> = ({ columns, dataSource, ...props }) => {
  const parsedColumns = JSON.parse(columns)
  const parsedData = JSON.parse(dataSource)

  return (

Columns

      {parsedColumns.map(column => (
        {column.title}
      ))}

Data

      {parsedData.map(datum => (
        {datum.Month}
      ))}

  )
}


Betterdiscord not loading properly

The betterdiscord logo continues to sit and flash in the corner and never fully loads. Some of my plugins load but I can't access the betterdiscord settings or the emote menu

Problem solved! I just needed to uninstall Betterdiscord and remove the plugins I had


setContent adsManager null

Hi, im trying to use setContent to start playback of a new clip. But because setContent calls the private function resetIMA_ which does this
adsManager.destroy();
adsManager = null;

Now I get this error in console
Uncaught TypeError: Cannot read property 'getRemainingTime' of null
From this call
 player.ima.onAdPlayheadTrackerInterval_ = function() {
      var remainingTime = adsManager.getRemainingTime();
}

Am I using this function wrong or this there a bug here?

Are you changing the content while an ad is playing? I think that's the only way this should happen. We should probably be clearing that interval in resetIMA_ just to be safe anyway. I can add that.

Thanks for look into this. Just testet the code you put up. Did not work as I was had expected.
This is what I think it was suppose to do

Start playback
Ad is requested and shown
While ad is showing, user request new video clip
Ad stops
Ad is requested and shown
After ad new video clip is shown

What is happening right now is this

Start playback
Ad is requested and shown
While ad is showing, user request new video clip
new video clip is shown, but the controls have not reset to videojs controls and if you use them you get this error

Uncaught TypeError: Cannot read property 'pause' of null

in this function
player.ima.onAdPlayPauseClick_ = function() {
      if (adPlaying) {
        playPauseDiv.className = 'ima-paused';
        adsManager.pause();
        adPlaying = false;
      } else {
        playPauseDiv.className = 'ima-playing';
        adsManager.resume();
        adPlaying = true;
      }
    };

Again maybe the function is not suppose to work like this

Ah yes that is a bug - tested with #155, that should take care of it.

Hi again,
Sorry for the delay just tested the new code. Its almost working. Last thing we need is to request an ad again
I fixed with this
https://github.com/tv2/videojs-ima/commit/11e3983508791bbb194994661dcd6f5bc4be2cc8


Broadly eliminate underplating tiles in various maps

About the PR
Absolutely guarantees the removal of underplating from Salvage and Test maps via tile index aliasing.
Also targets a few regular maps, but these have been chosen to try and avoid conflicts.

Also comment if a map isn't mentioned and you want it to be handled here.
Changelog
:cl:

fix: Some maps should no longer contain any of those pesky mouse-tiles.

Emisse's already updating maps, so I'll just skip the updates for those maps and mark this ready for review

Emisse's already updating maps, so I'll just skip the updates for those maps and mark this ready for review


Please invite me to the GitHub Community Organization

Please invite me to the GitHub Community Organisation.

Name:  Samriddhi

Discord Username(if exists):  sherlock98

Additional Context: Youtube

 I came to know about Eddie through youtube and started watching his amazing video and also joined the discord group.
 To contribute to open source.
:nerd_face:

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps


vhx:embed not working

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2019.11.28
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://embed.vhx.tv/videos/435821']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.11.28
[debug] Python version 2.7.17 (CPython) - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: avconv 12.3, avprobe 12.3, ffmpeg 4.2.1, ffprobe 4.2.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[vhx:embed] 435821: Downloading webpage
ERROR: Unable to extract ott data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/vimeo.py", line 1124, in _real_extract
    'ott data'), video_id, js_to_json)['config_url']
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract ott data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description
vhx:embed is not working:
# youtube-dl 'https://embed.vhx.tv/videos/435821'
[vhx:embed] 435821: Downloading webpage
ERROR: Unable to extract ott data; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Refs: https://github.com/ytdl-org/youtube-dl/issues/22817 and https://github.com/ytdl-org/youtube-dl/issues/22976

Same error here


18200100245陆静怡完成第一次作业

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Question on integration in libraries

I am the author of nlohmann/json and recently found out about Hedley, and I really love it since we more or less have similar feature macros in our code base, but supporting fewer compilers and without that much documentation. Therefore, we would like to replace our macros with those of Hedley.
As our library is header-only, we would include Hedley in it, meaning we would copy/paste the code into the library header. With this, our library remains self-contained, and we could live happily ever after. However, we would add all of Hedley's macros to the code that includes our library header. So far, we undefined all macros defined by our library.
Do you have any advice how to cope with such situations? The best scenario for us would be if we could define a prefix to the Hedley macros (say, NLOHMANN_JSON_HEDLEY) and then undefine each macro at the end of our main header.

Hedley is designed to be safe to include in your public headers without having to undefine the macros at the end of your code.  It basically works like this
#if !defined(HEDLEY_VERSION) || (HEDLEY_VERSION < x)
#  if defined(HEDLEY_VERSION)
#    undef HEDLEY_VERSION
#  endif
#  define HEDLEY_VERSION x

#  if defined(HEDLEY_FOO)
#    undef HEDLEY_FOO
#  endif
#  define HEDLEY_FOO …

#endif /* !defined(HEDLEY_VERSION) || (HEDLEY_VERSION < x) */

This makes it safe to include Hedley multiple times.  If you include a newer version of Hedley after including an older version all macros will be redefined to the newer version's.  On the other hand, if you include an older version after including a newer version the older version will be ignored and the newer version's macros will be used.  There is really no need for you to undefine the macros at the end of your header.
While the easiest thing to do would be to just drop a copy of hedley.h next to your json.hpp, it also wouldn't be hard to just copy the entire header into json.hpp.  Both of those would be relatively easy to maintain (i.e., to update Hedley).
Of course, you're also free to simply copy whatever macros you want; after all, it is public domain.  If you do that please modify the namespace… if you define HEDLEY_VERSION but don't include all the macros from that release it will break the logic I described earlier which allows you to include a later version to update the definitions.
The problem with that is that it's much more difficult to maintain since you'll have to re-apply your changes when you want to update Hedley.  Hopefully your changes would just be s/HEDLEY_/NLOHMANN_JSON_HEDLEY_/g and maybe removing macros you don't use, which wouldn't be too bad… if that's the case then that might be a feasible path for you.  I think the main reason people don't like to do that is most of the macros depend on a bunch of the macros for checking compiler versions, so even a small macro in Hedley requires more code than you might think.
FWIW, I'm happy to help if you have any more questions.  Also, if you run into anything you think could/should be in Hedley but isn't I'd love to hear about it.

Thanks for the quick response! Cool idea with this "auto-updating" code snippet!
We have two ways of using the library:

As multi-header version: There, all I need to do is to drop the Hedley header into a subdirectory and include it in the code.
As single-header version: We have a Python script that amalgamates the sources from the multi-header version and create a single header where all includes are replaced by copy/pasting.

As such, everything works fine and with your mentioned trick I am sure I would not break existing code. I am just unsure whether it would be good style to "leak" macros into client code. Therefore, replacing the HEDLEY_ prefix by something else and undefining these macros later is something I would like to try. An update of Hedley would then boil down to:

Download the new header and put it into a subdirectory in our library.
Run sed to make the replacements.
Run the amalgamation for the single-header version.

I'll keep you in the loop on this!

Sure, that's a perfectly reasonable way to do it.
If you don't change the prefix it could conceivable cause problems, like if someone included hedley then your project then tried to use hedley.  If you do change the prefix then it should be safe to undefine the macros.  Something like
grep -oP '^\s*#\s*define\s+HEDLEY_[0-9A-Z_]+' hedley.h | grep -oP '[^ ]+$' | sort | uniq | while read
MACRO; do echo -e "#if defined($MACRO)\n#  undef $MACRO\n#endif\n"; done

should do the trick (except you'll probably want to change the prefix).
I'm going to close this issue, but feel free to reopen (or open a new one) if you have any further questions.

FYI: The development version of JSON for Modern C++ now uses Hedley annotations. We use the following code to integrate: https://github.com/nlohmann/json/blob/develop/Makefile#L624
This all will go "live" with the next release 3.7.0, scheduled for release by the end of July.


add option to rename Xcode to Xcode.app on select.

Fixes #180
This will add the option on Activate/Select to rename it to Xcode.app.
Users will now get 2 options for the  Activate/Select

Default (save as Xcode-x.x.x.app)
Rename Active to Xcode.app.

When the latter is chosen, the user cannot select the Create Symbolic Link. Xcodes will try to do its best to rename the old named Xcodes.app to the version number (default) format.

Amazing work! Thank you @MattKiazyk ❤


MMB: add insurance menu item

We need to update GraphQL now because there are conditions to display
this item.

Please rebase

@tbergq 🚀


DragScrollModule fails to load with angular cli 1.5.0

After upgrading to Angular 5.0 and Angular CLI 1.5, I get an error with ng serve.
ERROR in ./node_modules/angular2-drag-scroll/src/angular2-drag-scroll.ts
Module build failed: Error: C:\Dev\OrderingSystem\client\node_modules\angular2-drag-scroll\src\angular2-drag-scroll.ts is not part of the compilation output. Please check the other error messages for details.
    at AngularCompilerPlugin.getCompiledFile (C:\Dev\OrderingSystem\client\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:629:23)
    at plugin.done.then (C:\Dev\OrderingSystem\client\node_modules\@ngtools\webpack\src\loader.js:467:39)
    at process._tickCallback (internal/process/next_tick.js:109:7)
 @ ./node_modules/angular2-drag-scroll/index.js 3:29-66
 @ ./src/app/venue/venue.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://<IP_ADDRESS>:0 ./src/main.ts

webpack: Failed to compile.

Version of angular2-drag-scroll: 1.4.4
Might be related to this one : angular/angular-cli#8263
I reproduce when not setting aot though.

Seems to be related to https://github.com/angular/angular-cli/issues/8284 due to ts files being in the dist. Many people are having this issue with lots of packages after the upgrade to angular5.
I've been able to work around this for now by modifying my src/tsconfig.app.json to have the files the compiler is complaining about the in the "includes" array. If you check the link they recommend against this, but it should work until these libraries are updated.

1.4.5 is out with the fix. Thanks guys!

@marayfirth  - I have put in a fix here at #75 .
It would involve pointing angular2-drag-scroll to the following:
"angular2-drag-scroll": "git@github.com:akkumar/angular2-drag-scroll.git#d9e880e3d74988253846e5caec6625e0d78351c7"

Can you help check if that fix works and report issues if any ?  Thanks in advance

@akkumar it seems ok on my side with this version.

@marayfirth - Thanks for confirming. Also to help - can you add your npm version and node version, in which this works ?
@bfwg - May be - we can just cut a release 1.5.0 with the PR #75 and debug it later if needed :)

1.5.0 is out with #75 , thanks guys!


Use internal keyword for trimming in map_overlap to reduce graph size

[ ] Closes #xxxx
[ ] Tests added / passed
[ ] Passes pre-commit run --all-files

I've accidentally bumped into this. With 100k chunks, this reduces the trimming graph size from 30MiB to 2MiB. The default block info just adds a lot of stuff that we don't need

dedicated test seems overkill, but I added an assertion in another test


add bias to transpose_conv.py TESTs.

minor update that add bias to transpose_conv.py in op_tests.

@psunn Can you please address Ubuntu Sanity errors? Thanks!

@gbaned thanks for checking
done, please have a review.

@jdduke @suharshs
I update this PR to fix minor sanity error, can you please re-approve please? Thanks


Safe where in jax.nn.celu and nn.leaky_relu

Closes #9873

Thanks - once you take care of the CLA, I'll take a look!

This problem is caused by that exp' gradient is inf(not nan!!!) for large input. Interestingly, only reverse-mode autodiff of lax.select(backend of np.where) will return nanwhen unselected branch gradient isinfSee https://github.com/google/jax/pull/1538 (but gradient actually isinfinstead ofnanin the unselected branch) I thinkleaky_relu` does not need such fix.

Sorry @jakevdp. I'm waiting for my company to create a google group!

Hi! I think we should not modify leaky_relu.
And are you ok for CLA now?

@YouJiacheng So on Apr 4th we submitted the CLA, and we are waiting to receive the CLA signed from google, apparently. I just asked if the CLA step is ready.

@jakevdp @YouJiacheng The CLA was finally sorted out! ☠ sorry that it took so long!

I see that the issue has been solved in another PR, do I close this one?

Yes, it looks like the issue was addressed in a different way in https://github.com/google/jax/commit/b0805a8a318696cc39eb53a05dc10f2e9cee6a29.
Sorry about all the CLA troubles - the good news is now you're all set for your next contribution! 😀


Fix Replit instruction

All Submissions

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions

[x] Does your submission pass tests?
[x] Have you lint your code locally prior to submission?

Changes to Core Features

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your core changes, as applicable?
[x] Have you successfully ran tests with your changes locally?

@polekstulod can you please elaborate what exactly is fixed in this PR.

@Ashutosh00710 there is a minor mistake on Replit deployment instructions, I don't see number 4 step exist when deploying in Replit. I think that's from deploying on Heroku instead of Replit.

Thanks for the contribution @polekstulod 🚀. You can add you name as a contributor in the project readme.


1⃣ Add multi-project support in .eslintrc file, use graphql-config even there is no graphql-config cosmiconfig file

The problem that this PR solves

Currently it’s not possible to configure graphql-eslint for multi-project without graphql-config cosmiconfig file. Now it's possible to configure directly in .eslintrc file like inside graphql-config cosmiconfig file:

{
  files: ['*.graphql'],
  parser: '@graphql-eslint/eslint-plugin',
  plugins: ['@graphql-eslint'],
  parserOptions: {
    projects: {
      someProject: {
        schema: './schema1.graphql',
        documents: './query1.js',
      },
      someAnotherProject: {
        schema: ['./schema2.graphql'],
        documents: ['./query2.js', './query3.js'],
      },
    },
  },
}

Remove code complexity between load schema and siblings. Refactor to use graphql-config even there is no graphql-config cosmiconfig file, because schema, documents, and projects we can passe directly to GraphQLConfig constructor function and after use gqlConfig.getProjectForFile to get right config. Under the hood graphql-config use @graphql-tools/json-file-loader, @graphql-tools/graphql-file-loader, @graphql-tools/url-loader, @graphql-tools/load dependencies, so I removed them in graphql-eslint because after refactor they don’t used directly.

@B2o5T we have a new version of graphql-config and graphql-tools with the recent changes :)


Provide espup as winget package

Motivations
Usage of winget is more common on Windows. This way users and adminstrators has higher control over the deployment.
Consider registering espup Windows release at Windows Winget registry. This can save time of users and reduce amount of possible errors during deployment.
Solution
winget install espup
Alternative solution
Package Xtensa toolchain as winget package. This can use similar approach which is already present in Rust winget package.

Do you know how this should be done? Is there any way to automate uploading the artifact from CI when doing the release?


Add a test method for the TimePicker of the BitDateRangePicker component

Add a test method for the TimePicker parameters of the BitDateRangePicker component.

not valid anymore


[bug] q.a = class {} resolves to undefined

Here is an example.

input

const q = {};

q.a = class {
  c () {}
}

output

var q = {};

q.a = (function () {
  function undefined () {}

  undefined.prototype.c = function c () {};

  return undefined;
}())

This way it is working fine.

const q = {};

Object.assign(q, {a: class {
	c () {}
}})

fixed in 0.18


Help Wanted: Unit Tests

There is a lot of code that would benefit from having unit tests, non-UI stuff in particular

You wanna prioritize a little / give hints (which classes/functionality) in particular ? I guess I can help write some here and there...

codecov should give you a good idea about what is covered and what isn't. I'd suggest we push those classes / functionality that are near 100% coverage to full 100% because we are somewhat confident these things are used. For those closer to 0% coverage I wouldn't bother for the time being.

The link you posted is outdated. Here is the entry point into the dashboard overview https://codecov.io/gh/AlmasB/FXGL

@Simulant87 Many thanks

Most of the core modules is now tested. Unit tests for specific packages / files will be opened as separate issues as needed.


Chain over the "rejected" side of an Async

I would like to request the ability to chain over the left or "rejected" side of an Async. This would be helpful to move values from the left side of the Async to the right.
getAsync()
  .chainRej(ifElse(isErrorOk, constant(Async.of('Error Ignored')), Async.Rejected))

I'm currently doing this with a helper function.
// chainRej :: (a -> Async e a) -> Async a b -> Async e a|b
export const chainRej = curry((fn, a) =>
  Async((rej, res) => a.fork(x => fn(x).fork(rej, res), res))
)

Hey @mgreystone have you checked out Coalesce or Swap I think that they may be more what you're looking for? Coalesce takes two functions one for the left and one for the right to map the values to the same codomain and swap moves left into right and right into left

Product types will always only map, chain etc over the 'right' value except where the function itself is designed to consider both parts i.e. coalesce and swap. There is also another common method called bimapsimiliar toswap` but each function could have a different co-domain and they each remain in there respective sides

Hi @dalefrancis88 . I don't think coalesce, swap, map, chain or bimap will do what i'm looking for.

coalesce will always move the value from left-to-right, whereas i'm looking to do this conditionally.
swap moves the left to the right & the right to to the left. I'm afraid i'm not sure how i could conditionally move from left-to-right with swap.
map only affects the right side
chain is the reverse of what i want. I can move a value from right-to-left.
bimap does not exchange values between sides at all.

I like it. Think we should figure this one out.
we could add it as a special method on the type instance and then provide an Async specific pointfree function. Would like to see this in on the next patch release. we will be having 0.12.0 coming soon, and we will follow it up in 0.12.1.
Unless @dalefrancis88 or @karthikiyengar or @bennypowers sees any issue with that. But nothing comes to mind that could be a show stopper for this VERY helpful function.
Then as people request it for other Sum types, we can address, but I would say starting with Async will get the best value.

What about the idea of doing this as an implementation of bichain? If we did that it could open for more use cases and have a nice symmetry with map/bimap?

ohhh @dalefrancis88 that sounds great.
@mgreystone  What do you think about that...This would mean you would do the same pattern as we do with using bimap. Except if you ONLY want to work the Rejected side, you will have to provide Async.of for the Resolve side (instead of identity like we would do with bimap).
But if we go that route, we could implement it for every Sum type, except for Maybe. Then again Maybe might be cool for a in-type option, but the fact we would have to have the Nothing portion ALWAYS be Unit. So that means, if for some reason you passed a -> b, it will always be called as () -> b, which could be problematic. So maybe we start with just everything but Maybe.

bichain sounds like a win to me.

Sweet, if you are good with that @dalefrancis88 then will get this in soon yeah?

Yeah, i'll get started on it today

@mgreystone Sorry it is taking so long, has to get that 0.12.0 release done, This is now the next thing on the list, and we'll cut a release once it is all in there.

I should find some time this week to work on this. It's close to done

@mgreystone we are still pounding this out. Should be 🔴 👁 soon. Will cut a release when this is in master.
We are going to add this to many of the other Sum Types, but we will get Async out first.

@mgreystone There is a PR ready for bichain sitting here, https://github.com/evilsoft/crocks/pull/394 if you have time, check it out and let me know if you see any opportunities for improvement

This has shipped with 0.12.3. Closing!