Apple's FairPlay DRM not support

Required Info

Host Operating System & Version
{Ubuntu 20.04.2}

Kernel Version (Linux Only)
(5.x)

Branch
{ latest k0.8.8 }

Android Studio Version
4.2.1

NDK Version
NDK-r14b

Xcode Version
12.5

Language
{C }

Section
{ HLS }

Issue Description
Apple's FairPlay DRM  encrypted content not support in original ijkplayer
How to reproduce the issue

open https://siloh-aka.plutotv.net/abe03d_MGM_Studios/clip/5966922a70e766a31078cf8d_Dark_Blue_2003/720pDRM/20210513_081743/hls/0-end/fp/hls_2400.m3u8

launch playback

06-15 18:06:50.603 13698 13850 W IJKMEDIA: Failed to open segment 1155 of playlist 0
06-15 18:06:50.604 13698 13850 E IJKMEDIA: DRM license is not supported yet
06-15 18:06:50.604 13698 13850 I IJKMEDIA: HLS request for url 'https://siloh-aka.plutotv.net/abe03d_MGM_Studios/clip/5966922a70e766a31078cf8d_Dark_Blue_2003/720pDRM/20210513_081743/hls/0-end/fp/hls_2400_001159.ts', offset 0, playlist 0
06-15 18:06:50.604 13698 13850 W IJKMEDIA: Failed to open segment 1160 of playlist 0
06-15 18:06:50.604 13698 13850 E IJKMEDIA: DRM license is not supported yet
06-15 18:06:50.604 13698 13850 E IJKMEDIA: DRM license is not supported yet
06-15 18:06:50.604 13698 13850 W IJKMEDIA: Failed to open segment 1172 of playlist 0
06-15 18:06:50.604 13698 13850 I IJKMEDIA: HLS request for url 'https://siloh-aka.plutotv.net/abe03d_MGM_Studios/clip/5966922a70e766a31078cf8d_Dark_Blue_2003/720pDRM/20210513_081743/hls/0-end/fp/hls_2400_001174.ts', offset 0, playlist 0
06-15 18:06:50.604 13698 13850 I IJKMEDIA: HLS request for url 'https://siloh-aka.plutotv.net/abe03d_MGM_Studios/clip/5966922a70e766a31078cf8d_Dark_Blue_2003/720pDRM/20210513_081743/hls/0-end/fp/hls_2400_001176.ts', offset 0, playlist 0
06-15 18:06:50.604 13698 13850 E IJKMEDIA: DRM license is not supported yet
06-15 18:06:50.604 13698 13850 W IJKMEDIA: Failed to open segment 1178 of playlist 0
06-15 18:06:50.604 13698 13850 I IJKMEDIA: HLS request for url 'https://siloh-aka.plutotv.net/abe03d_MGM_Studios/clip/5966922a70e766a31078cf8d_Dark_Blue_2003/720pDRM/20210513_081743/hls/0-end/fp/hls_2400_001180.ts', offset 0, playlist 0
06-15 18:06:50.604 13698 13850 E IJKMEDIA: DRM license is not supported yet
06-15 18:06:50.604 13698 13850 I IJKMEDIA: HLS request for url 'https://siloh-aka.plutotv.net/abe03d_MGM_Studios/clip/5966922a70e766a31078cf8d_Dark_Blue_2003/720pDRM/20210513_081743/hls/0-end/fp/hls_2400_001186.ts', offset 0, playlist 0
06-15 18:06:50.604 13698 13850 I IJKMEDIA: HLS request for url 'https://siloh-aka.plutotv.net/abe03d_MGM_Studios/clip/5966922a70e766a31078cf8d_Dark_Blue_2003/720pDRM/20210513_081743/hls/0-end/fp/hls_2400_001188.ts', offset 0, playlist 0
06-15 18:06:50.604 13698 13850 W IJKMEDIA: Failed to open segment 1188 of playlist 0
06-15 18:06:50.604 13698 13850 I IJKMEDIA: HLS request for url 'https://siloh-aka.plutotv.net/abe03d_MGM_Studios/clip/5966922a70e766a31078cf8d_Dark_Blue_2003/720pDRM/20210513_081743/hls/0-end/fp/hls_2400_001190.ts', offset 0, playlist 0
06-15 18:06:50.604 13698 13850 E IJKMEDIA: DRM license is not supported yet
06-15 18:06:50.606 13698 13850 E IJKMEDIA: DRM license is not supported yet
06-15 18:06:50.606 13698 13850 I IJKMEDIA: HLS request for url 'https://siloh-aka.plutotv.net/abe03d_MGM_Studios/clip/5966922a70e766a31078cf8d_Dark_Blue_2003/720pDRM/20210513_081743/hls/0-end/fp/hls_2400_001272.ts', offset 0, playlist 0
06-15 18:06:50.606 13698 13850 I IJKMEDIA: HLS request for url 'https://siloh-aka.plutotv.net/abe03d_MGM_Studios/clip/5966922a70e766a31078cf8d_Dark_Blue_2003/720pDRM/20210513_081743/hls/0-end/fp/hls_2400_001275.ts', offset 0, playlist 0
06-15 18:06:50.606 13698 13850 E IJKMEDIA: DRM license is not supported yet
06-15 18:06:50.607 13698 13850 W IJKMEDIA: Failed to open segment 1288 of playlist 0
06-15 18:06:50.607 13698 13850 W IJKMEDIA: Failed to open segment 1292 of playlist 0
06-15 18:06:50.609 13698 13850 W IJKMEDIA: Failed to open segment 1371 of playlist 0
06-15 18:06:50.609 13698 13850 E IJKMEDIA: DRM license is not supported yet
06-15 18:06:50.609 13698 13850 I IJKMEDIA: HLS request for url 'https://siloh-aka.plutotv.net/abe03d_MGM_Studios/clip/5966922a70e766a31078cf8d_Dark_Blue_2003/720pDRM/20210513_081743/hls/0-end/fp/hls_2400_001373.ts', offset 0, playlist 0
06-15 18:06:50.609 13698 13850 W IJKMEDIA: Failed to open segment 1376 of playlist 0
06-15 18:06:50.609 13698 13850 W IJKMEDIA: Failed to open segment 1380 of playlist 0
06-15 18:06:50.609 13698 13850 E IJKMEDIA: DRM license is not supported yet

Root cause
lack of  Apple's FairPlay DRM  supportive  in latest FFmpeg4.4

pls refer to:
https://github.com/zhouwg/FFmpeg/blob/release/4.4/libavformat/hls.c#L1309
or
https://github.com/zhouwg/FFmpeg/issues/1
lack of Apple's FailPlay DRM server for me at the moment

add ChinaDRM client subsystem in FFmpeg4.4,
pls refer to:
https://github.com/zhouwg/FFmpeg/commit/1516b1f9306975d08f8bb756b7d28869cf9f5fd6


CharlesYmlInput and unit tests

PR for #208
Added CharlesYmlInput which can read .charles.yml's InputStream + unit tests.

Coverage increased (+0.3%) to 76.73% when pulling a9deb7314aabb2b5c237dbaefec39fb61b989452 on 208 into 8af9e5e13d6e6d8b52415871541554185993a7ee on master.

Coverage increased (+0.3%) to 76.73% when pulling 3755ec43ff1a38ff80228b297189d0e140fddd30 on 208 into 8af9e5e13d6e6d8b52415871541554185993a7ee on master.


crouton installation script failed installing x64 gnome-desktop: Unable to locate package xbindkeys and xautomation

Toward close to the end of installation, the installation script yield the following error message:
E: Unable to locate package xbindkeys
E: Unable to locate package xautomation
Failed to complete chroot setup
I am on a Dell Chromebook 11 i3 version.
Please spoonfeed me on how to file bugs properly.  thanks in advance

Could you post the command you used to install crouton?

The same issue happened with me. This is the command i used
sudo sh crouton -r trusty -t cli-extra,extension,xorg,xiwi,lxde,audio -p /media/removable/SD\ Card/


API 800,1000 & 1200 - storage pools

Description
API 800,1000 & 1200 support for storage pools.
Issues Resolved
NA
Check List

[x] New functionality includes testing.

[x] All tests pass. ($ ./build.sh).

[ ] New functionality has been documented in the README if applicable.

[x] New functionality has been thoroughly documented in the examples (please include helpful comments).

Closing this PR due to issues in the branch.


Added the nested subqueries CIP

I'm not informed enough to offer meaningful feedback here, but as a user of Neo4j, this looks great! Thank you for putting this together. =)

The only thing that made me go "hmm, interesting" was that subqueries' variables (variable bindings) persist into the outer query. How does that work if you have multiple independent subqueries that happen to (coincidentally) share a variable name? (E.g. something generic like user or tweet).
It would feel a bit more intuitive to me if only the RETURN variables persisted. Then, you could naturally rename those with WITH before running another subquery, etc.
But again, I'm not informed enough to know if this feedback is reasonable or flawed.

@aseemk Based on the examples, I'm guessing that it is only the RETURN values that are made available to the outer query. It's just that the language isn't very clear when it says "...Any new variable bindings produced by evaluating the subquery will augment the variable bindings of the initial record...".

Even more so, the intent is to not allow any shadowing, i.e. you cannot rebind variable from the outer query in the RETURN of the nested subquery. This is in line with CALL ... YIELD... and UNWIND ... AS ... semantics which also do not allow to do that. I think it really helps reduce confusion and hopefully nudges the users towards picking more meaningful (distinguishing) names.

+1
(but I guess in SPARQL I can do the same (i.e. I doubt a bit the SPARQL comparison in your proposal ;) ))

I like the simplicity of this proposal, but I wonder how well it scales to other things we would/might want to do with/as subqueries in the future.
I was actually hoping we would be able to replace union with subqueries, rather than just allowing post-union processing by using union in a subquery, because I find union-queries hard to read with the constituent parts not being strongly delineated.
I've also held some hope that we would be able to use sub-queries as parameters to procedures, and there might be other use cases we would want to use sub-queries for that I can't think of right now.

I have added the 'NOT READY FOR REVIEW' label only because we still need to consider path bindings for subqueries. We'll add this in a fortnight or so, when @boggle and I are back from leave.
In the meantime, much content regarding the new DO syntax has been added, so comments welcome.

Hi @zazi
Thanks for your comment. I was wondering if you could provide an example (or link) in which correlated subqueries are supported in SPARQL? According to the W3C link in the CIP, it appears to be the case that 'vanilla' SPARQL cannot support correlated subqueries, but it may very well be the case that a vendor-specific implementation does. If this is the case, I would love to know, and, of course, this shall be added to the CIP.

@petraselmer I'm not 100% an expert in this field. Nevertheless, (from my understanding) I'm supporting the answer to this question http://answers.semanticweb.com/questions/24508/does-sparql-11-support-correlated-subqueries ;)

For readability issues, I would recommend to add all queries in plain, natural language sentences as well.

Furthermore, some example data that illustrate the queries might be helpful (i.e. a small data set and the result sets of the different queries).

Furthermore, some example data that illustrate the queries might be helpful (i.e. a small data set and the result sets of the different queries).
This would be solved by the addition of TCK scenarios for this feature (which is planned). Do you agree?

@thobe passing subqueries as arguments to procedures is out of scope for this CIP.
@thobe How do you envision replacing UNION with subqueries? I'm not seeing that. Besides having UNION is very common for people with a SQL background and opens up a natural trajectory for adding other set operations (INTERSECT SET DIFFERENCE)

+1, I'm waiting for this

In which Neo4j release is/will this change be included ?

@ric81 That is currently not known. Do note that this repository manages the specification and standardisation of Cypher as a language, which is separate from Neo4j the graph database (although this decoupling is fairly new and not yet fully mature).

This CIP doesn't contain any formal syntax description in EBNF format.


Fix crash when expanding video player

Details

The app crash when we expand the video player because the video player ref is null.
Fixed Issues

$ https://github.com/Expensify/App/issues/37710
PROPOSAL: https://github.com/Expensify/App/issues/37710#issuecomment-1978484932
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Web/Desktop

Send a video attachment to a chat
Press the play button
Press the expand button
Verify the video shows on the attachment preview
Close the attachment preview
Repeat step 3-4

Android/iOS/mWeb

Send a video attachment to a chat
Press the play button
Verify the video shows (and plays) correctly on the attachment preview
Press back
Repeat step 3-4

(the video player on small screen works really bad right now)

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

https://github.com/Expensify/App/assets/50919443/40f07f8e-c0f1-4b08-b172-8ce2a663a42f

iOS: Native

https://github.com/Expensify/App/assets/50919443/ae35a3be-9062-4da3-b428-44c1aaecf48c

iOS: mWeb Safari

https://github.com/Expensify/App/assets/50919443/e17e3e97-239e-4557-9588-fb9b299d0ecd

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/50919443/b875c535-251f-4106-9d5d-36c67bca14e1

MacOS: Desktop

https://github.com/Expensify/App/assets/50919443/b5b2eb15-7d18-46e5-9318-530f5303aede

@rushatgabhane oops, wrong linked issue. @aimane-chnaif will review this.

Android recording left, it's very laggy on the Android emulator. I also feel like the video player is a bit broken on mobile devices. Sometimes the video is paused randomly.

https://github.com/Expensify/App/issues/37142 : sometimes the console error shows, looks like sometimes the clearing ref useEffect is a bit late. Will check it further tomorrow.
https://github.com/Expensify/App/issues/36833 : the download options is now hidden when uploading, but even after I show it manually, it still safe
https://github.com/Expensify/App/issues/36873#issuecomment-1964058829 : safe

I saw this PR is trying to clean up 2-3 PRs while trying to see what is going on with https://github.com/Expensify/App/issues/37750. I tested the PR to see if it would fix that bug, but it doesn't, so just be aware I might need to revert https://github.com/Expensify/App/pull/37202 and might cause some issues or conflicts with this PR

Hmm, I didn't notice some checks were not passing 😢

Hmm, I don't see the check failing, weird, removing the label

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.47-10 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Add run on kubernetes guide

Purpose

This PR will add the docs for running MI on kubernetes.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: sameeragunarathne:x: nilminiwso2You have signed the CLA already but the status is still pending? Let us recheck it.


Compilation error due to proc-macro not supported

🐛 Bug description
cargo install wasm-pack
    Updating crates.io index
[...]
  Downloaded filetime v0.2.17
error: failed to compile `wasm-pack v0.10.3`, intermediate artifacts can be found at `/tmp/cargo-install8SJwiv`

Caused by:
  cannot produce proc-macro for `failure_derive v0.1.8` as the target `x86_64-unknown-linux-gnu` does not support these crate types

👟 Steps to reproduce
It can be reproduced in Github actions with the following script:
jobs:
  build:
    runs-on: ubuntu-latest
    container:
      image: rust:1.62
      env:
        CARGO_TERM_COLOR: always
        RUSTFLAGS: -Ctarget-feature=+crt-static
    steps:
      - name: install wasm-pack with cargo
        run: cargo install wasm-pack

🌍 Your environment
wasm-pack version: 0.10.3
rustc version: 1.62
container: ubuntu, x86_64

Ah, I found https://github.com/rust-lang/rust/issues/78210, so it seems it's related to the RUSTFLAGS. It works if I remove the env variable (which was only intended for my own code anyway).
Closing this.


Paypal update: correct doc link, add note about supported devices

Can be reactivated.

@arxo You haven't implemented the requested change.

Sorry, I missed that one. Done now.


Column sorting : providing jexcel with a comparison function

Hi,
I'm using jexcel to store astronomical data. Columns containing celestial coordinates ( Right Ascension and Declination ) express those coordinates as strings such as "21:46:31.894" for a RA and "-2:12:45.453" for DEC. Having the possibility to provide jexcel with a comparison function to compare two RAs or two DECs or to whatevers would be a real plus !

Thanks for the suggestion, I am going to label this as a feature request. I am going to add a general custom sorting method, the user can create their on sorting behavior.

Thank you very much. I’m looking forward to seeing this !
Le sam. 13 juin 2020 à 12:24, Paul Hodel<EMAIL_ADDRESS>a
écrit :

Thanks for the suggestion, I am going to label this as a feature request.
I am going to add a general custom sorting method, the user can create
their on sorting behavior.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/paulhodel/jexcel/issues/995#issuecomment-643603433,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AG5XILK7XE3XE6V3BT2R3UTRWNHUTANCNFSM4NRPWZ5A
.

--
--------------Michel Caillat
*Cellulaire *06 47 69 49 42
...But at my back I always hearTime's wingèd chariot hurrying near...
--------------

That has been implemented. The usage is this one...
jexcel(DOMElement, {
minDimensions:[5,5],
sorting: function(direction) {
return function(a, b) {
var valueA = a[1];
var valueB = b[1];
                        if (! direction) {
                            return (valueA === '' && valueB !== '') ? 1 : (valueA !== '' && valueB === '') ? -1 : (valueA > valueB) ? 1 : (valueA < valueB) ? -1 :  0;
                        } else {
                            return (valueA === '' && valueB !== '') ? 1 : (valueA !== '' && valueB === '') ? -1 : (valueA > valueB) ? -1 : (valueA < valueB) ? 1 :  0;
                        }
                    }
                }

});


Add section to explain Sveltos, Flux integration

With release v0.23.0 Sveltos can seamlessly integrate with Flux to automatically deploy YAML manifests stored in a Git repository.

Thank you. Makes sense. I will try to add such an example. If you have anything in mind, please let me know.

@egrosdou01 amended adding a template example. Thank you for suggesting it.


error ：dyld: Library not loaded: @rpath/libswiftSecurity.dylib

error ：dyld: Library not loaded: @rpath/libswiftSecurity.dylib
libswiftSecurity.dylib ？？

There is an "Embedded Content Contains Swift Code" flag in the Build Settings that needs to be set to YES. It was NO by default.

My "Embedded content contains swift code" is set to YES but I have the same problem.

Closing this for now. Please use the latest version and reopen if this persists.


update governance

convert all the governance handler code to use agentCaller (right now it’s still talking to agents via constructed http calls)

closing due to project shutdown


Integration with Lighthouse fails

Lighthouse provides a node.js module to get performance audits on given page. I'm working on getting this integrated into  taiko-diagnostics
LH opens a new tab and performs audit on the given URL and closes the tab. Now Taiko hangs on closeBrowser() API  at 👇
https://github.com/getgauge/taiko/blob/37d0345338815d2bbafae849f079c625184839f5/lib/taiko.js#L298
Code Snippet:
const puppeteer = require('puppeteer');
const commonMethods = require('./audits');

const { openBrowser, closeBrowser, client , goto} = require('taiko');

let lhr;
let port;

beforeAll(async () => {
   await openBrowser({headless: false });
  port = await client().webSocketUrl.split('/devtools/')[0].replace('ws://', '').split(':')[1];

});
afterAll(async () => {
  await closeBrowser();
});

describe('Google Lighthouse audit tests', async () => {
  beforeAll(async () => {
    const url = 'https://example.com';
    // kick off a Lighthouse audit on the above url
    lhr = await commonMethods.lighthouseAudit(url, port);
  });

  // General accessibility overview score
  it('passes an accessibility audit through Lighthouse', async () => {
    const accessibilityScore = await commonMethods.getLighthouseResult(
      lhr,
      'accessibility'
    );
    expect(accessibilityScore).toBeGreaterThanOrEqual(90);
  });

Can someone please help with this?

Since Taiko only used to open and close the browser a possible or simpler workaround is to use the chrome-launcher to run the lighthouse tests.

@zabil Thanks for the response. In my case, I need to use LH as part of taiko tests as the URL which I want to run the Audit gets authenticated from keycloak and currentURL() api from Taiko would help me for this and I will pass that to LH.  For this reason, chrome-launcher won't help me.
Findings:
As mentioned above

LH opens a new tab and performs audit on the given URL and closes the tab.

After calling openBrowser webSocketURL: ws://<IP_ADDRESS>:52703/devtools/page/8BB44A8BD801155315436F397737347F
At this stage a new CRI connection is created by LH and the target is switched. After running LH Audit when I look at the available targets using cri.List
{ matching:
       [ { description: '',
           devtoolsFrontendUrl:
            '/devtools/inspector.html?ws=<IP_ADDRESS>:52703/devtools/page/8BB44A8BD801155315436F397737347F',
           faviconUrl: 'https://taiko.gauge.org/assets/images/taiko_favicon.ico',
           id: '8BB44A8BD801155315436F397737347F',
           title: 'Taiko, free and open source browser automation',
           type: 'page',
           url: 'https://taiko.gauge.org/',
           webSocketDebuggerUrl:
            'ws://<IP_ADDRESS>:52703/devtools/page/8BB44A8BD801155315436F397737347F' } ],
      others: [] }

In the afterAll hooks
afterAll(async () => {
  console.log(await client().webSocketUrl); ==> ws://<IP_ADDRESS>:52703/devtools/page/957A2888836B82D3DB7362003FC86DE2
  console.log(await client().target);  ==> { description: '',
      devtoolsFrontendUrl:
       '/devtools/inspector.html?ws=<IP_ADDRESS>:52703/devtools/page/957A2888836B82D3DB7362003FC86DE2',
      id: '957A2888836B82D3DB7362003FC86DE2',
      title: '',
      type: 'page',
      url: 'about:blank',
      webSocketDebuggerUrl:
       'ws://<IP_ADDRESS>:52703/devtools/page/957A2888836B82D3DB7362003FC86DE2' }

  await closeBrowser(); ==> Hangs because the client() target has changed which was created by LH.

});

Fix: connect to the existing target and then close the browser. Call reconnect() api 👇
https://github.com/getgauge/taiko/blob/d9a4b6a65628db44301305757a3a5c5ad412c2ce/lib/taiko.js#L297

Assuming this fixed. It's there in the release.


docs: updates rollup plugin url and usage in rollup package documentation

Updates URL for commonjs plugin. Link for the rollup plugin commonjs is outdated as recently it has been moved into scoped packages.
Updates code example.
Also adds additional information on why do we want to use commonjs module.

 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.gangadhara.jannu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Provide documentation for 'EntityScript' (scripting language) and EntityDescriptors (JSON format, triggers, runtime, etc.)

This is on hold for now, but part of the work has been done. -- See: https://github.com/ImmutableOctet/glare/wiki


Logs

Fixes #610.
cc @EPashkin @sdroege

I made a first push which clean a few things. However, I still need to add the log macros and we need to clarify the LogLevelFlags status.

I made a first push which clean a few things.

Can you close the discussions above that are handled? That makes it easier to track the status :)

However, I still need to add the log macros and we need to clarify the LogLevelFlags status.

What LogLevelFlags status?

Can you close the discussions above that are handled? That makes it easier to track the status :)

I did already, refresh your page. ;)

What LogLevelFlags status?

This one: https://github.com/gtk-rs/glib/pull/611#discussion_r393040477

Ok so I replaced all LogLevelFlags related things. If it's ok with you, I'll then add the missing macros.

Ok, I think I fixed all comments.

And you also want to run cargo fmt once

Updated.

Will merge once the CI is through. I assume you tested both usage of the logging and the callbacks? :)


Contact Journal: Tap on place entry jumps to People view

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[ ] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository. Not known.
[X] Bug is not already reported in another issue

Technical details

Device name: Pixel 3a emulator
Android version: 11
App version: 1.14.3
iPhone 6s / iOS 14.4 / CWA 1.14.4 (0)

Describe the bug
If a place entry is tapped in the Contact Journal overview then the day view detail is opened showing PEOPLE. The user then has to manually select or scroll to the PLACES tab to see the Place entry details.

Steps to reproduce the issue

Tap on "Journal"
Tap on tile showing today's date
Tap "PLACES"
Tap "+ PLACE"
Enter text into Description field and tap "SAVE"
Tap up arrow on the top left
Tap on the place entry just created in the journal
Note that PEOPLE is displayed

Expected behavior
After tapping on a PLACES entry in the Contact Journal then the day view should open on the PLACES tab.
Possible Fix
Differentiate between a tap on a People entry and a Place entry and open the corresponding tab in the day detail view.

Confirm same behavior on iOS.

@MikeMcC399 @Ein-Tim Thanks.

Internal Tracking ID: EXPOSUREAPP-5818


Profile managed services and pin services to specific node types

In order to run managed services as cheaply as possible,  as an SRE/dev I want each service to run on the type of node that can most efficiently support it.
Acceptance Criteria

[ ] Service plans are aligned with available instance types
[ ] When a new service is created it is scheduled onto the appropriate instance type

Implementation Sketch
Profile each of our offered managed services and determine their characteristics and what instance types are most suited to running the workload.
Update plans as needed to allow for efficient scheduling
After https://github.com/18F/kubernetes-release/issues/28 is completed, add nodeSelectors to each service manifest targeting the appropriate instance types.

This is probably related to https://github.com/18F/cg-atlas/issues/155


Conflict between options -f and -k in openMVG_main_SfMInit_ImageListing

When we set a value to the option -k (aka --intrinsics), the program throw an error:

Cannot combine -f and -k options

This, even if we did not use the -f option (aka --focal).
Fix will be done in branch popart_fix134.

It makes sense, you can provide either the focal length -f or the whole intrinsics -k which contain the focal length and the principal point. So it's not a bug, it's a feature.

It was fixed by @fcastan in 0c498f1c5141c47c005267d29c884a0b35f4b858. I did not saw it because I was working on my branch popart_sfmstats.
This line check if userFocalLengthPixel != -1.0, i.e the value by default if option --focal is not used. This way, no error anymore when you use -k and not -f.


Removing per 2.0 migration scripts

This should fix a number of issues people were seeing where the correct encryption tables were not created.
It also adds some documentation to make Lemur initialization more straightforward.

Closes #221


Footer not stay bottom

Hi,
Footer not stay bottom always. If you have website content less and footer will come up. How to keep the footer bottom?

https://getbootstrap.com/docs/4.0/examples/sticky-footer/


Introduce a raw.qemu.config option to override qemu.conf

Required information

Distribution: Ubuntu
Distribution version: 18.04.6 LTS
The output of "lxc info" or if that fails:

Kernel version: 5.4.0-91-generic
LXC version: 4.21
LXD version: 4.21
Storage backend in use: ZFS

Feature Request
LXD is very close to being able to host macOS virtual machines.  A few changes are required, in the generated qemu.conf, in order to support a macOS guest:

Add an ich9-ahci SATA controller and connect the block devices to it instead of SCSI. Remove the qemu_pcie8 device since it conflicts with the SATA controller slot & function.
Allow an alternative vGPU driver (e.g. VGA or qxl-vga) instead of the  PCIe virtio-vga.
Enable USB and add usb-kbd and usb-tablet devices so keyboard and mouse work over SPICE.

Maybe a few more LXD configuration options can be added to enable these alternative behaviors, for example:
config:
  qemu.gpu.driver = "qxl-vga"
  qemu.block.driver = "sata"
  qemu.usb = true
  qemu.usb.keyboard = true
  qemu.usb.tablet = true

I am not sure the above configuration keys are the best and/or cleanest way to do this?  I am open to other ideas that may allow more control over the generated qemu.conf and/or some way to remove/override the generated INI sections.
Here is the discussion thread with a lot more information about my discovery process on how to get macOS working in LXD:
https://discuss.linuxcontainers.org/t/macos-can-i-test-custom-qemu-system-x86-64-command-inside-lxd-snap/13063/3

In general, we're really not keen on adding knobs to control all the different virtualized devices as each of those multiply the number of combinations to validate and support. It also increases the attack surface by introducing fully virtualized devices (rather than relying on the much simpler virtio).
One approach I mentioned in similar issues in the past is that we could add a raw.qemu.config or something along those lines which would let you override the entire qemu.conf with whatever you want.

In general, we're really not keen on adding knobs to control all the different virtualized devices as each of those multiply the number of combinations to validate and support. It also increases the attack surface by introducing fully virtualized devices (rather than relying on the much simpler virtio).
One approach I mentioned in similar issues in the past is that we could add a raw.qemu.config or something along those lines which would let you override the entire qemu.conf with whatever you want.

I understand your concerns about too many knobs and the added support complexity, the same thing occurred to me when I was mulling over possible ways I would implement the changes myself.
I did think about a configuration option that allows overriding the entire qemu.conf and thought it might be too heavy handed of an approach to suggest.  It is certainly the most flexible because then a user could even set raw.qemu.config to an empty string and setup all devices using CLI flags via raw.qemu if they are more familiar with configuring VMs that way.
I am alright with the ability to override the entire qemu.conf with a configuration option provided that it can support some form of variables or placeholders that LXD replaces with the correct path for block devices.

@stgraber So, I decided to take a look at the qemu.conf generation logic in lxd/instance/drivers/driver_qemu.go and it made me realize that a configuration option that overrides the entire qemu.conf is heavy handed and loses quite a lot of useful capabilities.  One simple example is being able to change the limits.cpu or limits.memory via lxc config ... commands.
However, there are more significant issues that will arise if an instance is renamed, copied or moved around between storage pools  and/or LXD servers because hard-coded paths (e.g. NVRAM file, monitor socket, etc.) in the raw.qemu.config setting won't adjust.  Of course, these shortcoming make sense if the ultimate behavior is to make the option a static override.
I am now mixed on the idea of a full raw.qemu.config override and instead really hope there might be an acceptable compromise somewhere in-between?  Maybe instead of overriding the entire qemu.conf a more generic mechanism that allows overriding particular device templates (e.g. qemuGPU or qemuDrive) could work?  Any other ideas?
I am willing to attempt this modification myself, but would like to do so in a way that doesn't lose all of the benefits of the generated qemu.conf.  In particular, the concerns I mentioned above about copying and renaming are specific behaviors that I want to maintain so I can still use LXD to deploy and create multiple instances.  Any guidance?

The other thing to keep in mind is that we're slowly moving away from qemu.conf in favor of assembling the VM config through internal QMP calls. That's because qemu upstream is slowly deprecating the use and support for qemu.conf.

Yea, I read about that on other discussion threads.  I did also notice a number of QMP calls throughout the code.
I am not really sure what to do about this because the only two things preventing me from using LXD exclusively is the ability to change the primary GPU driver and storage driver.  It may be my own use-case bias, but I honestly feel like those are the two most significant "problem" devices when getting more specialized VM configurations to run, so it seems worthwhile to have them more configurable to allow LXD to host more guest OSes.
Is there a way to make raw.qemu.config a partial override, only for certain sections?  Can it be easily templated to address the hard-coded paths issue?


times of the day binary sensor not working for following configuration

Home Assistant release with the issue:

Home Assistant 0.89.0
Last working Home Assistant release (if known):
N/A
Operating environment (Hass.io/Docker/Windows/etc.):

Python virtual environment ubuntu
Component/platform:

Times of the Day binary sensor
Description of problem:
sensor does not switch to on at defined time
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
binary_sensor:
  - platform: tod
    name: Night
    after: '23:00'
    before: '07:00'

Traceback (if applicable):

Additional information:

can you paste the attributes here?

I don't see any attributes
https://pasteboard.co/I4uOtQy.png
https://pasteboard.co/I4uOJ3l.png

Weird, I get attributes. Do you get any errors in the logs? The only error i see is if timezone isn't set

interestingly enough I had them yesterday, and I have not even noticed that
something happened till you mention
I have restarted HA and here it is... however as I said nothing happened
yesterday at 11
[image: Screen Shot 2019-03-08 at 4.13.28 PM.png]
On Fri, Mar 8, 2019 at 12:29 PM Leonardo Merza<EMAIL_ADDRESS>wrote:

Weird, I get attributes. Do you get any errors in the logs? The only error
i see is if timezone isn't set
[image: image]
https://user-images.githubusercontent.com/4085765/54044775-cb6b7980-419d-11e9-80fd-dc34c6a244ee.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/21819#issuecomment-471009813,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aj7ULnyecRg9dCyhKKbxL-oXiVdNs-i5ks5vUp4KgaJpZM4blm-5
.

same issue today... not changing

Duplicate of #21821

no it's not, this one doesn't work, not working with offset

What is wrong with this config besides the incorrect minutes during timezone conversion?

it's not firing up...
On Sun, Mar 10, 2019 at 5:49 PM Klaudiusz Staniek<EMAIL_ADDRESS>wrote:

What is wrong with this config besides the incorrect minutes during
timezone conversion?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/21819#issuecomment-471357390,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aj7ULvGwAmE1uozuThILACf5ulgYCUA_ks5vVX34gaJpZM4blm-5
.

I do not know if this is same bug or another bug.
I have this setting.
`

platform: tod
name: Darkness
after: sunset
before: sunrise
`
And if I restart HA while it is dark at 1 AM, it wakes up off. It only looks at the future time and not the past sunset from the day before.

@KennethLavrsen Yes, I can confirm. This is another bug. Could you please open new Issue for tracking?

Thanks @kstaniek  I created #21974

Why are these tod defects all left unresolved?


I have a question about toLocaleString([$Field]) function whether can we show just hh:mm and not hh:mm:ss

Product Catalog
This is regarding the product catalog sample
Is it possible to remove seconds from toLocaleString() function
I wanted to use the product catalog format to show events and announcements in an organization that shows date in the format MM/DD/YYYY hh:mm. I've tried using toLocaleString([$Field]) and I'm getting the output as MM/DD/YYYY hh:mm:ss. Is there a way to remove seconds using the same function or replace and substring.

Hi @yvsuhas .
How about using the lastIndexOf and substring operators to crop characters?
In the sample code below, the lastIndexOf operator is used to specify the position of the last : character, and the substring operator is used to crop the string from the first to the last : character based on that position.
{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "div",
  "txtContent": "=substring(toLocaleString([$DateColumnName]),0,lastIndexOf(toLocaleString([$DateColumnName]),':'))"
}

Descriptions of the lastIndexOf and substring operators can be found on the following page.
Formatting syntax reference - Operators

@tecchan1107 - Thank you for the answer and it works but is there any way I can still show AM/PM with this approach?

@yvsuhas
Could you please tell me what the locale settings are for your site so I can see what values are returned from the toLocaleString operator?

@tecchan1107 - Please see my settings below

@yvsuhas
Thanks for the screenshot! How about the following code?
{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "div",
  "txtContent": "=substring(toLocaleString([$Date]),0,lastIndexOf(toLocaleString([$Date]),':'))+substring(toLocaleString([$Date]),lastIndexOf(toLocaleString([$Date]),' '),indexOf(toLocaleString([$Date])+'^','^'))"
}

Using the above code in my environment, I get the following:

=substring(toLocaleString([$Date]),0,lastIndexOf(toLocaleString([$Date]),':'))+substring(toLocaleString([$Date]),lastIndexOf(toLocaleString([$Date]),' '),indexOf(toLocaleString([$Date])+'^','^'))

Thank you very much @tecchan1107 and this is the answer. I really appreciate you taking some time regarding my request.


How to use the SDK to initiate ton transfers and USDT transfers? Where are the relevant sample codes?

https://github.com/olifanton/ton/blob/main/examples/wallets/send-transaction.php
https://github.com/olifanton/ton/blob/main/examples/jettons/usdt-transfer.php

I am using a Tonkeeper wallet, and it appears that I can only access the wallet address but am unable to export the associated private key. Do you have any instructions on how to do this?

You can back up your Tonkeeper wallet using a recovery phrase (mnemonic) and retrieve the keypair with Olifanton\Mnemonic\TonMnemonic::mnemonicToKeyPair.

I am using a Tonkeeper wallet, and it appears that I can only access the wallet address but am unable to export the associated private key. Do you have any instructions on how to do this?

You can back up your Tonkeeper wallet using a recovery phrase (mnemonic) and retrieve the keypair with Olifanton\Mnemonic\TonMnemonic::mnemonicToKeyPair(array $mnemonicArray, ?string $password = null): KeyPair


It would be good to include a link to creating NuGet packages for the project so you are setup to take advantage of Artifacts.

Not sure where best to put it but it would be good to have a link to https://docs.microsoft.com/en-us/nuget/create-packages/creating-a-package in the doc.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9a10a409-5468-9532-f0dc-5a28cdd566d8
Version Independent ID: 2ef20266-bc45-448b-27f5-e5c3bffed2ef
Content: Get Started with NuGet Azure Artifacts in Azure DevOps Services and TFS
Content Source: docs/artifacts/get-started-nuget.md
Product: devops
GitHub Login: @elbatk
Microsoft Alias: elbatk

Hi @rguthriemsft, Thank you for the feedback!. It's taken a bit but the documentation will now (on the next release) let the user choose to use the demo package or create a package of their own by linking the suggested article. If you have any more feedback feel free to reach out!


docs: update docs issue form with correct links

Fixes Issue
Closes #958
Changes proposed

Made the issue description field mandatory.
Fixed the links.
Removed the checklist for category and subcategory as it is irrelevant.

Screenshots

Note to reviewers

Followed proper conventions

Hi, @ujjawaltyagii.
Am I allowed to create new issues and pull requests?

@Anmol-Baranwal yeah ! sure 👍

lgtm !

This should be a level 2 contribution, since it is related to documentation.

@Anmol-Baranwal yeah ! sure but what's going on with #890 ???

Nothing, you have to review it to make it ready to merge.


Where should example data be uploaded?

This issue is meant for discussions.

Current Status:

current example are hosted on https://zenodo.org/record/3195910#.YgvtR3VKj0o
and come through upload of data to the github project https://github.com/climate-processes/tobac_example_data
final release of github project brings them to zenodo.

Some Discussion Points:

a github project is not ideal for uploading (large) data
access for data upload is rather limited currently
the user need to have access to his or her own data

a practical solution

when a user provide a tutorial he or she care for data upload
this could be done with a separate data upload per tutorial
we could recommend to

use zenodo as data base (if data size < 50 GB)
indicate in the title that data are using for tobac tutorials / tobac example or so
zenodo allows to group data into "communities" --> makes a bit more work for the one in charge to except data entries to community

Data upload description was included in the contributing section (README.md) via #13


[UI] EVEREST-819 Limit number of PG backup schedules to three

EVEREST-819

if this is not a temporary function, then I would suggest covering it with a test


Default value for const parameter is removed when using const_generics_defaults.

const_generics_defaults feature allows defining a default value for a const generic parameter, but this value is removed when running rustfmt.
Tested this on rustfmt version 1.4.37-nightly (2021-09-16 e4828d5) (playground version), and on 1.4.37-nightly (b69fe572 2021-09-10).
Playground example

Thank you for sharing, but this has already been fixed in source and is simply pending release.


mnist_irnn.py strange behavior

Not sure if it is due to my personal setting or it is a general issue.
I can run the example mnist_irnn.py using CPU.
When I run it using gnu, I got this error message:
ubuntu@ip-172-31-2-0:~/keras/examples$ python mnist_irnn.py
Using gpu device 0: GRID K520 (CNMeM is disabled)
X_train shape: (60000, 784, 1)
60000 train samples
10000 test samples
Evaluate IRNN...
Train on 60000 samples, validate on 10000 samples
Epoch 1/200
Traceback (most recent call last):
  File "mnist_irnn.py", line 69, in <module>
    show_accuracy=True, verbose=1, validation_data=(X_test, Y_test))
  File "build/bdist.linux-x86_64/egg/keras/models.py", line 495, in fit
  File "build/bdist.linux-x86_64/egg/keras/models.py", line 216, in _fit
  File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 871, in __call__
    storage_map=getattr(self.fn, 'storage_map', None))
  File "/usr/local/lib/python2.7/dist-packages/theano/gof/link.py", line 314, in raise_with_op
    reraise(exc_type, exc_value, exc_trace)
  File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 859, in __call__
    outputs = self.fn()
  File "/usr/local/lib/python2.7/dist-packages/theano/scan_module/scan_op.py", line 963, in rval
    r = p(n, [x[0] for x in i], o)
  File "/usr/local/lib/python2.7/dist-packages/theano/scan_module/scan_op.py", line 952, in <lambda>
    self, node)
  File "theano/scan_module/scan_perform.pyx", line 389, in theano.scan_module.scan_perform.perform (/home/ubuntu/.theano/compiledir_Linux-3.13--generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/scan_perform/mod.cpp:3936)
AttributeError: 'CudaNdarray' object has no attribute 'data'
Apply node that caused the error: forall_inplace,gpu,grad_of_scan_fn}(Elemwise{minimum,no_inplace}.0, GpuSubtensor{int64:int64:int64}.0, Subtensor{int64:int64:int64}.0, GpuSubtensor{int64:int64:int64}.0, GpuSubtensor{::int64}.0, Elemwise{minimum,no_inplace}.0, Elemwise{minimum,no_inplace}.0, <CudaNdarrayType(float32, matrix)>, GpuDimShuffle{1,0}.0)
Toposort index: 247
Inputs types: [TensorType(int64, scalar), CudaNdarrayType(float32, 3D), TensorType(int8, (False, False, True)), CudaNdarrayType(float32, 3D), CudaNdarrayType(float32, 3D), TensorType(int64, scalar), TensorType(int64, scalar), CudaNdarrayType(float32, matrix), CudaNdarrayType(float32, matrix)]
Inputs shapes: [(), (784, 32, 100), (784, 32, 1), (784, 32, 100), (785, 32, 100), (), (), (100, 100), (100, 100)]
Inputs strides: [(), (-3200, 100, 1), (-32, 1, 1), (-3200, 100, 1), (-3200, 100, 1), (), (), (100, 1), (1, 100)]
Inputs values: [array(784), 'not shown', 'not shown', 'not shown', 'not shown', array(784), array(784), 'not shown', 'not shown']
Outputs clients: [[], [GpuSubtensor{::int64}(forall_inplace,gpu,grad_of_scan_fn}.1, Constant{-1})], [GpuReshape{2}(forall_inplace,gpu,grad_of_scan_fn}.2, MakeVector{dtype='int64'}.0)]]

HINT: Re-running with most Theano optimization disabled could give you a back-trace of when this node was created. This can be done with by setting the Theano flag 'optimizer=fast_compile'. If that does not work, Theano optimizations can be disabled with 'optimizer=None'.
HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node.

According to the output, I re-run the code using:
THEANO_FLAGS='optimizer=None' python mnist_irnn.py

Then there is no error message but very slow.
Anyone has similar issues?

I saw TensorType(int64, which is not going to work with GPU.
On Wed, Nov 25, 2015 at 3:04 AM, Xuanchong<EMAIL_ADDRESS>wrote:

Not sure if it is due to my personal setting or it is a general issue.
I can run the example mnist_irnn.py using CPU.
When I run it using gnu, I got this error message:
ubuntu@ip-172-31-2-0:~/keras/examples$ python mnist_irnn.py
Using gpu device 0: GRID K520 (CNMeM is disabled)
X_train shape: (60000, 784, 1)
60000 train samples
10000 test samples
Evaluate IRNN...
Train on 60000 samples, validate on 10000 samples
Epoch 1/200
Traceback (most recent call last):
File "mnist_irnn.py", line 69, in
show_accuracy=True, verbose=1, validation_data=(X_test, Y_test))
File "build/bdist.linux-x86_64/egg/keras/models.py", line 495, in fit
File "build/bdist.linux-x86_64/egg/keras/models.py", line 216, in _fit
File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 871, in call
storage_map=getattr(self.fn, 'storage_map', None))
File "/usr/local/lib/python2.7/dist-packages/theano/gof/link.py", line 314, in raise_with_op
reraise(exc_type, exc_value, exc_trace)
File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 859, in call
outputs = self.fn()
File "/usr/local/lib/python2.7/dist-packages/theano/scan_module/scan_op.py", line 963, in rval
r = p(n, [x[0] for x in i], o)
File "/usr/local/lib/python2.7/dist-packages/theano/scan_module/scan_op.py", line 952, in
self, node)
File "theano/scan_module/scan_perform.pyx", line 389, in theano.scan_module.scan_perform.perform (/home/ubuntu/.theano/compiledir_Linux-3.13--generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/scan_perform/mod.cpp:3936)
AttributeError: 'CudaNdarray' object has no attribute 'data'
Apply node that caused the error: forall_inplace,gpu,grad_of_scan_fn}(Elemwise{minimum,no_inplace}.0, GpuSubtensor{int64:int64:int64}.0, Subtensor{int64:int64:int64}.0, GpuSubtensor{int64:int64:int64}.0, GpuSubtensor{::int64}.0, Elemwise{minimum,no_inplace}.0, Elemwise{minimum,no_inplace}.0, <CudaNdarrayType(float32, matrix)>, GpuDimShuffle{1,0}.0)
Toposort index: 247
Inputs types: [TensorType(int64, scalar), CudaNdarrayType(float32, 3D), TensorType(int8, (False, False, True)), CudaNdarrayType(float32, 3D), CudaNdarrayType(float32, 3D), TensorType(int64, scalar), TensorType(int64, scalar), CudaNdarrayType(float32, matrix), CudaNdarrayType(float32, matrix)]
Inputs shapes: [(), (784, 32, 100), (784, 32, 1), (784, 32, 100), (785, 32, 100), (), (), (100, 100), (100, 100)]
Inputs strides: [(), (-3200, 100, 1), (-32, 1, 1), (-3200, 100, 1), (-3200, 100, 1), (), (), (100, 1), (1, 100)]
Inputs values: [array(784), 'not shown', 'not shown', 'not shown', 'not shown', array(784), array(784), 'not shown', 'not shown']
Outputs clients: [[], [GpuSubtensor{::int64}(forall_inplace,gpu,grad_of_scan_fn}.1, Constant{-1})], [GpuReshape{2}(forall_inplace,gpu,grad_of_scan_fn}.2, MakeVector{dtype='int64'}.0)]]
HINT: Re-running with most Theano optimization disabled could give you a back-trace of when this node was created. This can be done with by setting the Theano flag 'optimizer=fast_compile'. If that does not work, Theano optimizations can be disabled with 'optimizer=None'.
HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node.
According to the output, I re-run the code using:
THEANO_FLAGS='optimizer=None' python mnist_irnn.py
Then there is no error message but very slow.
Anyone has similar issues?
—
Reply to this email directly or view it on GitHub
https://github.com/fchollet/keras/issues/1076.

--
Jeff Ye.

Yeah. But I am not sure where the TensorType(int64, scalar) is from. I remove the weight initialization part. But the error still exists.


Add proper naming of windows_task to prevent CHEF-3694

See also https://docs.chef.io/deprecations_resource_cloning.html
Fixes https://github.com/NetDocuments/ad-join-cookbook/issues/20

Resolved in #29


scatter capacity vs curtailment

Pull Request doc
Purpose
Integrate another plot function from spot check notebook: scatter plot capacity vs curtailment
What the code is doing

Implement plot function plot_scatter_capacity_vs_curtailment.
Add demo notebook for the new plot function.

Testing
No tests is added. The plot function calls existing functions in analyze module for calculations.
Where to look
/postreise/plot/plot_scatter_capacity_vs_curtailment.py
/postreise/plot/demo/scatter_capacity_vs_curtailment.ipynb

Usage Example/Visuals
Demos can be found in the demo notebook.
Time estimate
10 min. It is similar with plot_scatter_capacity_vs_capacity_factor.

All the other notebooks file name in the demo finish with _demo. Do we want to rename  postreise/plot/demo/scatter_capacity_vs_curtailment.ipynb for consistency?

All the other notebooks file name in the demo finish with _demo. Do we want to rename  postreise/plot/demo/scatter_capacity_vs_curtailment.ipynb for consistency?

Done.


Revert to jruby-kafka 1.5.0 dependency

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

What happened?

@joekiller we are seeing a couple of issues when building Logstash artifacts with jruby-kafka 1.6.0.

Its super weird, but on 2.3 branch (which we are trying to release tomorrow) we are seeing maven issues which ultimately result in manticore issues (https://github.com/elastic/logstash/issues/5188)

Successfully installed bundler-1.9.10
Invoking bundler install...
Error Bundler::InstallError, retrying 1/10
An error occurred while installing manticore (0.5.5), and Bundler cannot continue.
Make sure that `gem install manticore -v '0.5.5'` succeeds before bundling.
WARNING: SSLSocket#session= is not supported

Another error:
Installing logstash-input-http 2.2.2
  jar dependencies for manticore-0.5.5-java.gemspec . . .
Installing gem 'ruby-maven' . . .

RuntimeError: there was an error installing 'ruby-maven (~> 3.3.3)' . please install it manually: #<Gem::DocumentError: RDoc is not installed: no such file to load -- rdoc/rdoc>

See http://build-eu-00.elastic.co/job/logstash_create_deb_artifact_23/jdk=JDK7,label=metal-pool/30/console
Now, by process of elimination we zeroed in on this update -- when we go back to jruby-kafka 1.5.0, everything is fine! We reviewed the changes from 1.5 and 1.6 and doesn't seem to be much

LGTM

@joekiller can you tell us why you are doing this? https://github.com/joekiller/jruby-kafka/blob/v1.6/jruby-kafka.gemspec#L21


InverseCancellation can invalidly cancel parametric gates

Environment

Qiskit version: 1.0.0rc1
Python version: 3.10
Operating system: macOS

What is happening?
The InverseCancellation pass can, in some circumstances, cancel two parametric gates that should not cancel, despite some of our handling and testing against this added in #11211
How can we reproduce the issue?
from math import pi

from qiskit.circuit.library import RZGate
from qiskit.circuit import QuantumCircuit
from qiskit.transpiler.passes import InverseCancellation

inverse_pass = InverseCancellation([RZGate(0)])

qc = QuantumCircuit(1)
qc.rz(0, 0)
qc.rz(pi, 0)

inverse_pass(qc)

returns a circuit with the gates cancelled.
What should happen?
Those two gates shouldn't match any of the given rules, so shouldn't have been cancelled.
Any suggestions?
No response

Hi,
It seems to be due to the fact that the following condition is not checked for the last gate (last gate in a run).
https://github.com/Qiskit/qiskit/blob/5ae4790cf6f7ca918b2d1cb9a740bd4287171c30/qiskit/transpiler/passes/optimization/inverse_cancellation.py#L115
Therefore, it can be reproduced by replacing qc.rz(pi, 0) with any other gate with the same name.
I have sent a PR to fix it.

Fixed by #11834


webhook IDs can't be paths?

I'm confused why I can't get webhook id's with paths in them to work?
[webhook] 2020/05/19 01:46:46 found 3 hook(s) in file
[webhook] 2020/05/19 01:46:46   loaded: test
[webhook] 2020/05/19 01:46:46   loaded: test_2
[webhook] 2020/05/19 01:46:46   loaded: test_2/canwepath

You can see all three hooks are found; however, the only ones that I can actually POST to are test and test_2. If I try to send a request to test_2/canwepath I get  404 Not Found
Would appreciate any help here; not sure what I'm missing. Kind of a bummer because the API I'm trying to receive requests from uses paths in their IDs

I don't think this functionality has changed recently, but what version of webhook are you using?
We assume the hook ID will be a single path segment (see the code here).  So, you can build hooks with path separators, but the HTTP server mux currently only supports a single path segment.   We should at least warn about path separators in the hook IDs unless we change how the mux behaves.

To accommodate this request, it looks like we'd need to use mux.PathPrefix and change how we parse the ID out of the path.

@moorereason Not sure; I didn't pull from source but I grabbed the latest community packaged version w/ apt.
So I'm not sure I understand, adding a path separator (like - ) in my IDs will provide me with a path?
So in hooks.json/webhooks.conf I could change
         "id": "test_2/canwepath",

to
         "id": "test_2-canwepath",

TL;DR: If you include the / path separator in your hook ID, it will not work today.  There are no work-arounds.
More
Sorry, I wasn't clear.  I was using some technical jargon about URI paths that probably needed explanation.
When I say "path separator," I mean / in this case (If we were talking about a Windows filesystem, I would mean \).  By "path segment" I generally mean the segments between path separators.
So, in a request for /hooks/test_2/canwepath, the segments would be hooks, test_2, and canwepath.  The hooks prefix is an optional path segment in webhook, and webhook only allows a single path segment for the hook ID after the prefix.
If you include the / path separator in your hook ID, it will not work today.  There are no work-arounds.
We would need to rework how webhook handles the request URI in order to support your test_2/canwepath case.

Ahh that makes sense, thank you for breaking that down for me.


fix(rum): re-align with helix-project-boilerplate

this will also fix the bug with RUM data collection due to a missing web-vitals.js file
preview: https://rum-refresh--helix-website--adobe.hlx.live/?rum=on

Will this change make it back to the boilerplate?

Never mind, just read the PR title 😉


Make the current doc more visible in the sidebar.

I look at DMC docs really often and it would be nice to have a little indicator or maybe a background color change on the currently selected doc (I think that a background color change or a border would be quite nice).
This is how the docs currently look:

If I want to search on the sidebar where am I and maybe check out more components in the same category, I'll have to read all of them.
A simple change like this would be enough.

Those changes I made are just in the devtools:
background-color: var(--mantine-color-dark-5);
border-radius: var(--mantine-radius-sm);

They won't work for light mode.
The changes I made are just a proposal.

Hi @NOTMEE12
This is a good suggestion - thanks.
The styling would work properly in both light and dark modes by setting  active=True in the dmc.NavLInk.  However, currently there is no easy way to know which link should be set to active since you can navigate there by clicking on the link or by the search input, or by setting the URL.
The ideal solution would be to have the active set based on the URL - similar to how it's done with dash-bootstrap-components,  but this would need to be a PR in the dmc library.  Can you think of any workarounds?
Here's the dbc.Navlink  https://dash-bootstrap-components.opensource.faculty.ai/docs/components/nav/

active (boolean | a value equal to: 'partial', 'exact'; default False): Apply 'active' style to this component. Set to "exact" to automatically toggle active status when the current pathname matches href, or to "partial" to automatically toggle on a partial match. Assumes that href is a relative url such as /link rather than an absolute such as https://example.com/link For example - dbc.NavLink(..., href="/my-page", active="exact") will be active on "/my-page" but not "/my-page/other" or "/random" - dbc.NavLink(..., href="/my-page", active="partial") will be active on "/my-page" and "/my-page/other" but not "/random".

Hi!
I've searched a little and plotly dash has a dcc.Location. It's possible to use Partial Matching on this and the dmc.NavLink (or when using pages do something with the buttons? I don't know).
I'm not 100% sure this approach would work.

Here's a working concept:
from dash import Dash, _dash_renderer, dcc, Output, Input, ALL, callback
_dash_renderer._set_react_version("18.2.0")
import dash_mantine_components as dmc

dash = Dash(__name__)

# this works best with IDs without spaces in them (because they will be converted)
navlinks = [f"CustomElement{i}" for i in range(20)]

dash.layout = dmc.MantineProvider(
    forceColorScheme="light",
    children=[
        dmc.AppShell([
            dmc.AppShellNavbar([
                dmc.NavLink(
                    label=navlink,
                    id={"type": "nav", "index": idx},
                    href=f"/{navlink}",
                    variant="light",
                    color="gray"
                )
                for idx, navlink in enumerate(navlinks)
            ])
        ]),
        dcc.Location(id="url")
    ]
)

@callback(
    Output({"type": "nav", "index": ALL}, "active"),
    Input("url", "pathname")
)
def update_nav(pathname: str):
    out = [False] * len(navlinks)
    idx = int(navlinks.index(pathname.lstrip("/")))
    out[idx] = True

    return out

dash.run()

Oh, yes, that's a great workaround until DMC 365 is completed.  Would you like to do a PR?

I have been using this work-around strategy in my app:
https://abhinavk910.medium.com/building-dashboard-using-dash-responsive-navlink-ed00afe76b83

Instead of a seperate index counter, you can just use the URL as the index. Makes it a bit shorte.
# Create Navlinks
[
    dmc.NavLink(
        label=f"{page['name']}",
        href=page["relative_path"],
        id={"type": "navlink", "index": page["relative_path"]},
    )
    for page in page_registry.values()
]

# ...

# Callback
@app.callback(Output({"type": "navlink", "index": ALL}, "active"), Input("_pages_location", "pathname"))
def update_navlinks(pathname):
    return [control["id"]["index"] == pathname for control in callback_context.outputs_list]

@demk0r - are you on the dmc discord?  Just wanted to mention you there :slightly_smiling_face:


Fixes for sympy update

Description
SymPy updated and seems to no longer recognize PyBaMM symbols as strings.
It gets to this block (N.B. warning text was edited for readability):
    if not isinstance(a, str):
        try:
            a = str(a)
        except Exception as exc:
            raise SympifyError(a, exc)
        sympy_deprecation_warning("The string fallback in sympify() is deprecated.")

Then fails due to an exception. Even if it did convert to a string, it would have caused a deprecation warning.
Failing tests looked like this:
a = pybamm.Symbol("a", domain="test")
self.assertEqual(pybamm.Arcsinh(a).to_equation(), sympy.asinh(a))

There seemed to be two options:

Add a pybamm.Symbol._sympy_() method. This would be basically identical to pybamm.Symbol.to_equation(), and would not be a good test.
Explicitly put the expected string into the sympy function. This works as a test of pybamm.Symbol.to_equation() by confirming that pybamm.Symbol.print_name() returns the original name, but could be a bit redundant.

I went with option (2) since it keeps the tests working, but it could be good to determine if pybamm.Symbol.print_name() and pybamm.Symbol.to_equation() could be just replaced by a pybamm.Symbol._sympy_()method.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[x] No style issues: $ pre-commit run (or $ nox -s pre-commit) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[x] All tests pass: $ python run-tests.py --all (or $ nox -s tests)
[x] The documentation builds: $ python run-tests.py --doctest (or $ nox -s doctests)

You can run integration tests, unit tests, and doctests together at once, using $ python run-tests.py --quick (or $ nox -s quick).
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

When this passes CI then it should fix the CI in #4250 and replace #4252

Looks good, happy to approve once coverage passes.

@brosaplanella I am pretty sure that failure is a false positive. It is the same failure in #4252, which does not change any code


Make release script runnable locally

Fixes issue in use_bazel_go.sh for release.
Fixes #1310
Changed the script to be a little more robust such that we can test it locally. Cloud Builder checks out code in /workspace, use_bazel_go assumes the codes is checked out in a pilot directory which is not true. Even so we run the build from the GOPATH, bazel will use the link target to create a bazel-workspace directory.
none

Tested at https://console.cloud.google.com/gcr/builds/ca992c62-02e7-4e23-92da-5a72c87f9ed8?project=istio-io&authuser=0

would you please add more description in the PR request on what causes the problem and why the fix will resolve it?

@xiaolanz  PTAL


Element of complex type is duplicated

For this
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
			xmlns:ak="http://example.com/schemas" targetNamespace="http://example.com/schemas"
			elementFormDefault="qualified" attributeFormDefault="qualified"
			version="1.0">
	<xsd:element name="AAA" type="ak:BBB"/>

	<xsd:complexType name="BBB">
		<xsd:sequence>
			<xsd:element name="CCC">
				<xsd:simpleType>
					<xsd:restriction base="xsd:string"/>
				</xsd:simpleType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>

I get:
// Code generated by https://github.com/gocomply/xsd2go; DO NOT EDIT.
// Models for http://example.com/schemas
package ak

import (
	"encoding/xml"
)

// Element
type Aaa struct {
	XMLName xml.Name `xml:"AAA"`

	Ccc string `xml:",any"`
}

// XSD ComplexType declarations

type Bbb struct {
	XMLName xml.Name

	Ccc string `xml:",any"`
}

// XSD SimpleType declarations

While I expect:
// Code generated by https://github.com/gocomply/xsd2go; DO NOT EDIT.
// Models for http://example.com/schemas
package ak

import (
	"encoding/xml"
)

// Element
type Aaa Bbb

// XSD ComplexType declarations

type Bbb struct {
	XMLName xml.Name

	Ccc string `xml:",any"`
}

// XSD SimpleType declarations

Also this lead to an issue, when i have a documentation string for a complexType, it is overwritten by the (potentially empty) documentation string for the element bearing the same name.

I think this would lead to other compilation errors, only some deduplication done somewhere internally prevents the type from coming up two times (as element and complex type).
On a side node: This however also leads to an issue, when i have a documentation string for a complexType, it is overwritten by the (potentially empty) documentation string for the element bearing the same name.


Add freeswitch docker

Left a few comments. Otherwise looks good.

@hodgestar I think I've addressed all of your comments

:+1:


Enable proper typing for withTransaction

Previously the type of the provided value when using withTransaction would be any. Now its using the same pattern as rxjs library to ensure proper typing.
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/datorama/akita/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
Typing support for withTransaction
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
The type of the value provided when using withTransaction was any.
What is the new behavior?
The type of the value provided when using withTransaction is now the same as the type of the input Observable.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

I apologize in advance for not following your commit message guidelines, I didn't see the criteria till after I already committed the change and I'm editing this in the browser with no option of changing the message now. I will follow criteria moving forward, for this one I ask you to just update is as you please. Its just a one line totally fine with me when you just copy&paste it in your branch instead of via pull request


Update domains.json

Add missing comma

My bad, thank you! I need to write some tests for this, I'll put it on my list to do


Add more pics and create pineapple category

Added new images and created pineapple category.

Looks good. Approved.


content modified

Changes

Improved content of contributing.md
Added content to PULL_REQUEST_TEMPLATE.md

Thank you for taking out time and contributing to this repo!


Fix for "409 Client Error" in s3 setup step

Fix for test errors docker.errors.APIError: 409 Client Error for http+docker://localhost/v1.42/containers/XXX/exec: Conflict ("Container XXX is not running")
  Scenario: Create backup containing tables with log table engine family  # tests/integration/features/table_engines.feature:134
    Given default configuration                                           # tests/integration/steps/common.py:12
    And a working s3                                                      # tests/integration/steps/s3.py:11
      Traceback (most recent call last):
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/docker/api/client.py", line 268, in _raise_for_status
          response.raise_for_status()
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/requests/models.py", line 960, in raise_for_status
          raise HTTPError(http_error_msg, response=self)
      requests.exceptions.HTTPError: 409 Client Error: Conflict for url: http+docker://localhost/v1.42/containers/5d63df0ed95fe80a108d20f839deaa9a83d679becb12b9c3919f1cd52e9a42cb/exec

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/behave/model.py", line 1329, in run
          match.run(runner.context)
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/behave/matchers.py", line 98, in run
          self.func(context, *args, **kwargs)
        File "tests/integration/steps/s3.py", line 17, in step_wait_for_s3_alive
          configure_s3_credentials(context)
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/tenacity/__init__.py", line 289, in wrapped_f
          return self(f, *args, **kw)
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/tenacity/__init__.py", line 379, in __call__
          do = self.iter(retry_state=retry_state)
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/tenacity/__init__.py", line 314, in iter
          return fut.result()
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/concurrent/futures/_base.py", line 425, in result
          return self.__get_result()
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result
          raise self._exception
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/tenacity/__init__.py", line 382, in __call__
          result = fn(*args, **kwargs)
        File "/home/runner/work/ch-backup/ch-backup/tests/integration/modules/minio.py", line 60, in configure_s3_credentials
          f"config host add local http://localhost:9000 {access_key} {secret_key}",
        File "/home/runner/work/ch-backup/ch-backup/tests/integration/modules/minio.py", line 97, in _mc_execute
          output = _container(context).exec_run(f"mc --json {command}").output.decode()
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/docker/models/containers.py", line 196, in exec_run
          workdir=workdir,
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/docker/utils/decorators.py", line 19, in wrapped
          return f(self, resource_id, *args, **kwargs)
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/docker/api/exec_api.py", line 78, in exec_create
          return self._result(res, True)
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/docker/api/client.py", line 274, in _result
          self._raise_for_status(response)
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/docker/api/client.py", line 270, in _raise_for_status
          raise create_api_error_from_http_exception(e)
        File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
          raise cls(e, response=response, explanation=explanation)
      docker.errors.APIError: 409 Client Error for http+docker://localhost/v1.42/containers/5d63df0ed95fe80a108d20f839deaa9a83d679becb12b9c3919f1cd52e9a42cb/exec: Conflict ("Container 5d63df0ed95fe80a108d20f839deaa9a83d679becb12b9c3919f1cd52e9a42cb is not running")

https://github.com/yandex/ch-backup/actions/runs/5777632908/job/15658041302?pr=23
Another examples:
https://github.com/yandex/ch-backup/actions/runs/5831232467/job/15814282325?pr=31
https://github.com/yandex/ch-backup/actions/runs/5831766889/job/15815918787?pr=35
https://github.com/yandex/ch-backup/actions/runs/5846729822/job/15852257988?pr=45

Retries for configure_s3_credentials test step didn't help.


Testing some different CI configurations

@jedateach you can ignore this PR. I'm just trying to figure out the travis/scrutinizer issues we're having.

I just emailed their support and cc'ed you. Hopefully they'll have some insight. It's got to be discouraging for contributors or people checking out the project to see all those red x's in the PR's.

Great, thanks for following that up with the Scruitinizer team.

@jedateach I've never heard anything back from Scrutinizer support on this. Would you be at all open to switching to a competitor such as Code Climate (https://codeclimate.com/github/markguinn/silverstripe-shop) which also can do code coverage and seems to work similarly. From what I've read Scrutinizer is better, but I also think it may be best to just get something working and move on to more important matters like Behat tests. Thoughts?

This would also be an option - https://insight.sensiolabs.com/projects/22c5135b-a33c-452a-b6e5-f5b8cccf5c74/analyses/1
I've heard it's more powerful and therefore more helpful but it also seems to be a bit more opinionated about things that are part of Silverstripe's style (multiple classes to a file, camel-casing method names, etc).

Interestingly, it looks like we're back to only failing on the code coverage so I might spend a few more minutes on that and hopefully can stick with Scrutinizer.

Closing this because Travis seems to have started ignoring it.


Integration with Confluent Schema Registry, Confluent Deserializers, and Kafka Deserializers

Adding integration with Confluent's Schema Registry - https://github.com/confluentinc/schema-registry

ConfluentKafkaSchemaRegistry.java

Created KafkaDeserializerExtractor which wraps Kafka's Deserializer API

Kafka's Deserializer interface provides a generic way for converting byte[] to Java Objects
The KafkaDeserializerExtractor takes in a path to a fully qualified implementation of Deserializer and uses it to convert they byte[] into a Java Object
It has built in support for a few known Deserializers including Confluents KafkaAvroDeserializer and KafkaJsonDeserializer

Created a KafkaGsonDeserializer that converts byte[] to JsonElements
Updated the gobblin-docs/case-studies/Kafka-HDFS-Ingestion.md to document all of these new features
Unit tests added

@zliu41 can you review?

Coverage increased (+0.6%) to 46.728% when pulling b5fb4765c2156938bf4cd61a42f419cdca194d02 on sahilTakiar:kafkaDeserializer into 9e8f96ce3732eaae22f94ee83c4e33c4fc2760d2 on linkedin:master.

@zliu41 updated and comments addressed
@abti and @shirshanka care to review?

Coverage increased (+0.5%) to 46.658% when pulling b1843ea67df7695aea34878a585c12bd48433f0b on sahilTakiar:kafkaDeserializer into 54fd005b1bb69e0042a01db544f2a55e532983a2 on linkedin:master.

LGTM

sorry to have missed this earlier, but since this and #1076 has some overlap I ended up reviewing the classes here too and it looks good


Ch 01 velocity magnitude

In chapter 01, In [57]:
assert abs(v.magnitude - 86.41527642726142) < 1e7

Shouldn't this be:
assert abs(v.magnitude - 86.41527642726142) < 1e-7

Yes. Thanks for letting me know!


@material-tailwind/react-v2.0.2

Hi!
My app crashed after updating to v2.0.2. The floating UI components are mostly impacted. Please inform about breaking changes in this minor version.
Bests,
Dan

Hey there,
Please update to v2.0.3 for fixing this issue.
Regards,
Sajad


Encryption update notification should have different wording when there aren't any MSSQL connections

Currently all users see the same message

But this doesn't make much sense for new users or users who don't have any MSSQL connections.
It'd be nice to have slightly different text when there aren't any saved MSSQL connections - or possibly even not showing the dialog at all in that case (since we'll still show the warning if they try to connect and get an SSL error then with basically the same content)

cc @erinstellato-ms


Update LAB_AK_02_Lab1_Ex1_Deploy_Defender_Endpoint.md

Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

Submitted by Garjen55 on behalf of MOC Labs Review


How to save the snapshot of the avd

Running env_launcher.load_and_setup_env() with emulator_setup=True requires a few minutes. Is it possible to run the setup and then save the snapshot of the avd?

Yes, it’s definitely possible. Do you know where your AVD snapshot is located on your MacBook? On macOS, it's typically in ~/.android/avd/. You should be able to save this and reload it
Working on a more permanent solution.

Thanks for reply! I have an additional question:
When attempting a specific task multiple times (e.g., 10 times) with the following config:
suite = suite_utils.create_suite(
      task_registry.get_registry(family=_SUITE_FAMILY.value),
      n_task_combinations=10, # n_task_combinations,
      seed=2025, # _TASK_RANDOM_SEED.value,
      tasks=['AudioRecorderRecordAudioWithFileName'],
      use_identical_params=True, # _FIXED_TASK_SEED.value,
)

I noticed that the environment changes unexpectedly, for example, Record-1 becomes 1Record-1, with an extra 1 added.

How can I resolve this issue?

You can set this flag equal to true
https://github.com/google-research/android_world/blob/653a02986f62d8676061510261eb1629fde95dd6/run.py#L133
The reason the task changes is because the random seed changes
Chris
On Mon, Nov 18, 2024 at 1:36 AM JingfanChen @.***>
wrote:

Thanks for reply! I have an additional question:
When attempting a specific task multiple times (e.g., 10 times) with the
following config:
suite = suite_utils.create_suite(
task_registry.get_registry(family=_SUITE_FAMILY.value),
n_task_combinations=10, # n_task_combinations,
seed=2025, # _TASK_RANDOM_SEED.value,
tasks=['AudioRecorderRecordAudioWithFileName'],
use_identical_params=True, # _FIXED_TASK_SEED.value,
)
I noticed that the environment changes unexpectedly, for example, Record-1
becomes 1Record-1, with an extra 1 added.
bug_in_aw.png (view on web)
https://github.com/user-attachments/assets/3b14828d-2345-484b-8c28-58bfd2e73a14
How can I resolve this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/google-research/android_world/issues/165#issuecomment-2482074843,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABG26SIJZZ23ROD4QQV7KV32BGDG5AVCNFSM6AAAAABRNUP37OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBSGA3TIOBUGM
.
You are receiving this because you commented.Message ID:
@.***>

Ah, sorry I didn't look closely enough at your code :)
I've figured out the bug and it will be fixed by https://github.com/google-research/android_world/pull/185. Thanks for reporting!


Is dejavu good for similar music track finding?

If I compare the fingerprints of two similar songs(eg, from the same singer, or they listened quite similar), are the fingerprints similar？

Dejavu won't find similar songs as you describe. The features it looks for to generate the fingerprints do not identify singer, genre or anything like this.
It checks whether or not the frequency domain spectrum analyses have similar features (as I understand).

Not really. Dejavu is for finding audio, plus or minus noise. Stretching or otherwise "similar" recordings aren't what it was built for.


⚠ Bofrost.be has degraded performance

In cf97da8, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 5960 ms

Resolved: Bofrost.be performance has improved in 821e8e6.


Add reference to the homepage in the about section

Please add a reference to the homepage in the about section of the repository.
It then would look like this:

The homepage has been added. Thanks for the suggestion.


iOS: Fix multiple issues with PVRTC import, disable ETC1

and some other VRAM compression formats.
For iOS we enable pvrtc feature by default for both GLES2/GLES3
Etc1 for iOS doesn't have any sense, so it disabled.
Fixed checks in export editor.
Fixed pvrtc ability detection in GLES2 driver.
Fixed pvrtc encoding procedure.
Compressed stream texture now saves right image dimensions for every compression format.
Also it allows to compressor resize image on it's side to make it more optimized.
So ETC1 format becames smaller then before. Pvrtc format always saves square texture.
Bugsquad edit: closes #28683, closes #28621, closes #28596 and maybe others
For #38040 and #35851, the fix has been moved to #42118.

I'm not sure that it will work for master, so make PR for 3.2 branch.

Loading textures on iOS using GLES2 is still an issue. Is there a plan to merge this fix?

+1 this is a big one for my project.

I need contributors familiar with iOS to help review it, CC @bruvzg @naithar.
The fixes should also be ported to the master branch.

@akien-mga I have cherry picked it to our 3.2.2 fork and it does seem to fix the GLES2 loading resource issue in iOS

Rebased to remove the unrelated CHANGELOG conflict, and made the commit log a bit more explicit.
Could you check if the issues referenced as fixed by this PR are still all fixed, or if some of them are fixed by #42118 instead (or only fixed once both are merged)?

@akien-mga
issues https://github.com/godotengine/godot/issues/38040 and https://github.com/godotengine/godot/issues/35851 related to PR #42118
Other related to this PR

I forward-ported the relevant changes for the master branch with #42262 (untested, and some of it might not make sense for Vulkan, hence the TODOs).

As most users dont go iOS out of the box, I think disabling PVRTC by default is likely the best idea, and only enable it if you are planning to export to iOS.

@reduz this PR don't change default enabled compressed textures formats. So PVRTC will be disabled until user enabled it.

Yes @reduz seems to have misinterpreted the code, this doesn't change the fact that PVRTC is off by default (but it should be toggled on if you want to target iOS with GLES2, just like ETC1 needs to be toggled on manually if you want to target Android with GLES2).

Thanks!


Player input speed boost

When rotating the controller movement joystick in smooth circles while in the air one can gain a bunch of speed without air strafing, can also be achieved to a lesser extent with WASD. Perhaps normalize WishDir?

Also present in TF2 not a SkyOfSteel bug, closing


ChannelOption: Allow types to be accessed with leading dot syntax

ChannelOption: Allow types to be accessed with leading dot syntax
Motivation:
Since Swift 5.5 and SE-0299 it is possible to add static members to protocols which are discoverable through the shorthand dot syntax.
This change reduces type repetition and improves call-site legibility.
Modifications:
Added extensions for ChannelOption with static members where Self is bound to a concrete type.
Result:
ChannelOption types can be used with the leading dot syntax. For eg:
//before
.channelOption(ChannelOptions.explicitCongestionNotification, value: true)
.channelOption(ChannelOptions.socketOption(.so_reuseaddr), value: 1)

//after
.channelOption(.explicitCongestionNotification, value: true)
.channelOption(.socketOption(.so_reuseaddr), value: 1)

@swift-server-bot add to allowlist


Can't start app

I am getting the same error. Can I get some help on how I would go about resolving this @tharidu

Same error too. This seems to be an error from typescript, the syntax inside bluebird/index.d.ts seems to be missing some expected syntax, most of the dependencies use old typescript syntax and looking at the project, it's 3years old. I was able to fix some this issue but I ran into more issues, i think the only fix to this, is to update the project dependencies to the latest and this might break a lot of things, I will work on this and give you guys feedback


Notarization for MacOS export under Windows in Godot 4.2. Failed with "invalid number at line 1 column 2"

Godot version
4.2.stable
System information
Godot v4.2.stable - Windows 10.0.19045 - GLES3 (Compatibility) - AMD Radeon RX 6700 XT (Advanced Micro Devices, Inc.; 31.0.22023.1014) - 13th Gen Intel(R) Core(TM) i7-13700KF (24 Threads)
Issue description
I am exporting a project for MacOS. I am in the "If you have an Apple Developer ID Certificate and exporting from Linux or Windows" case, as documented here and I followed all the steps.
Everything seems to be filled up on my end and the code signing step is working.
The notarization fails with a message saying "invalid number at line 1 column 2". It would help a lot to know exact what that line and column reference to, but I wasn't able to find more logs about this. If I try to find my editor logs in "C:\Users{user}\AppData\Roaming\Godot\app_userdata{project}\logs I see that the godot.log wasn't updated with any new information related to my exporting attempts.
The documentation also says "You can use the rcodesign notary-log command to check notarization status." but if I do this I get an error "the following required arguments were not provided:  <SUBMISSION_ID>" and since Godot handles the notarization internally, i don't know what the SUBMISSION_ID is or what exact command Godot used for rcodesign so I can replicate it outside Godot.

Steps to reproduce
Follow the instructions here and then export for MacOS using the settings provided in my screenshots.
An error shows saying that the notarization failed.
Minimal reproduction project
I tried with a totally empty project, with just a label on it and I input the same export information. The result was the same. I cannot drop my project here since the export settings contain sensitive data and passwords.

Any updates on this? I am running into the same bug.

It seems rcodesign expects a json file, not the p8 file. Generating the json file is described here:
https://github.com/indygreg/apple-platform-rs/blob/634c7418151da01d3a3cc7081e63d6ea49a67f5e/apple-codesign/docs/apple_codesign_getting_started.rst#L110

Thanks!


Wildfly URL, closes issue 313

Signed-off-by: Michal Karm Babacek<EMAIL_ADDRESS>

Minor change in url. Merging.


[BUG] Long-Press-7 (VOX) gives ScanRng & F-NOAA gives NO action

In release 21.1 VOX is not enabled bij default (disabled via Makefile flag).
F-5 / Long press 5 gives no action  as decribed here
Long-Press-7 (VOX) now gives ScanRng

Confirmed. Fixed in main.
Will be available in the upcoming releases.

@ErikS-web can you check if this is now resolved with v.21.4 ?

You repaired the VOX-function in Channel - AND Frequency mode 👍
And this works
F-5 / Long press 5 only work as decribed here 👍

Great, thanks Erik!


Re-apply somef (logos and other newer fileds are still not appearing)

The portal states that the latest generation was today (4/3/2022), but there are no logos on any of the repos. Many repos have logos, and somef (the latest version) should detect them.

This is addressed in the latest merge


FEATURE: SD-937 rebuild typings for embedded KD

Release type: patch
KD: https://github.com/gooddata/gdc-dashboards/pull/2782

Currently destined for release R204.
This release is zero downtime release.
Code drop: 2020-05-07 00:00.

Story SD-937 Rebuild typings for embedded KD
Status: Hacking
Priority: Major
Assignee: Khanh Le

Build failed (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/80/ : SUCCESS in 6s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/163/ : FAILURE in 38s

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/81/ : SUCCESS in 4s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/164/ : SUCCESS in 53s

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/83/ : SUCCESS in 5s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/166/ : SUCCESS in 49s

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/84/ : SUCCESS in 8s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/167/ : SUCCESS in 23s

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/85/ : SUCCESS in 5s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/168/ : SUCCESS in 24s

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/86/ : SUCCESS in 5s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/169/ : SUCCESS in 47s

Currently destined for release R205.
This release is zero downtime release.
Code drop: 2020-05-21 00:00.

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/87/ : SUCCESS in 6s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/170/ : SUCCESS in 24s

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/88/ : SUCCESS in 4s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/171/ : SUCCESS in 49s

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/89/ : SUCCESS in 5s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/172/ : SUCCESS in 52s

client-libs/gooddata-typings-pull-request-compliance-check check failed
require-active-sprint

SD-937

Build failed (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/90/ : UNSTABLE in 7s
gooddata-typings-unit-tests-zuul-docker-el7 : SKIPPED

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/91/ : SUCCESS in 5s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/173/ : SUCCESS in 24s

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/92/ : SUCCESS in 5s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/174/ : SUCCESS in 29s

LGTM

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/93/ : SUCCESS in 8s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/175/ : SUCCESS in 27s

LGTM

Build succeeded (check pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-check/95/ : SUCCESS in 5s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/178/ : SUCCESS in 24s

Build succeeded (gate pipeline).

https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-pull-request-compliance-gate/32/ : SUCCESS in 8s
https://checklist.intgdc.com/job/client-libs/job/gooddata-typings-unit-tests-zuul-docker-el7/179/ : SUCCESS in 1m 15s


Minimize package size

I agree. This plugin takes up 70.93% of my production bundle. 😅

I am looking forward to it! This plugin takes up 70.93% of my production bundle. 😅

Same here! Hopping onto this issue

Thanks for the suggestion! Will try it.

Op 28 okt. 2022, om 15:00 heeft Shein Lin Phyo @.***> het volgende geschreven:
I have been using https://github.com/mdit-vue/vite-plugin-vue-markdown for a few months now.
—
Reply to this email directly, view it on GitHub https://github.com/JanGuillermo/vue3-markdown-it/issues/327#issuecomment-1294971575, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE5BH2ERI4SOPMRMCVPIUI3WFPE5VANCNFSM5L6LHVOQ.
You are receiving this because you commented.

I have been using https://github.com/mdit-vue/vite-plugin-vue-markdown for a few months now.

Thanks for the suggestion! Will try it.


Fixed memory leaks

Two fixes for problems that caused memory leaks:

Converted implicitly created global variables and functions to local variables
The touch events on the document needed to be unbound on directive destruction

A shame to see this fix was not merged and the problem still exists in v3.00. There is a significant memory leak caused by the touch events being added to the root document and not cleared on destroy that this issue fixes.

Right.. I totally forgot the unbind.
Will be included in v4.0.0. Thanks for notifying me.


Option to disable Toggle Edit Button

Create SpecsHandler function to disable/enable the Toggle Edit Button. For when the player should only have read access.

Fixed in 3cc7cd8c31e4bf7b241bb58aa1373e2fb7a0dc03