Capability to detect FIDO device registration during authentication flow

Is your suggestion related to an experience ? Please describe.
Currently there's no way to identify whether a user has registered FIDO devices prior to prompting FIDO authentication. The requirement is to prompt for another authentication method when a FIDO key is not registered.
If the IDF (Identifier First) is configured as step 1 and FIDO is configured as step 2, the FIDO connector itself detects for registered devices and redirects to a error page. However this is a backend redirection and hence not able to capture with the adaptive script failure block.
Describe the improvement
One option is to have direct support for this by providing with a preconfigured authenticator with a adaptive script. We should implement a adaptive authentication function to check user device availability by invoking the FIDO2 WebAuthn service. Then could provide an adaptive authentication template to configure this flow easily.
Another option is to improve the backend code to fail the authentication without being redirected to a error page. Redirection should be handled from the frontend. However need to evaluate the possibility of this approach.
Additional context

A sample customization approach with a custom adaptive function

https://medium.com/@thamindudilshan/writing-a-custom-adaptive-authentication-function-to-detect-fido2-device-registrations-87f9a9929731

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Ledger command requires ledger_index key to be an int

It took a while until I figured out why the following doesn't work right (it simply returns some default current ledger response):
{"command": "ledger", "transactions" : true,"ledger_index": "4044952", "expand": true}

It's because ledger_index is a string. I'm only reporting this because in responses, ledger_index is also given as a string, which is if nothing else inconsistent.

The ledger_index, if specified as a numerical sequence number, is now well specified to be a 32-bit unsigned integer:  https://ripple.com/build/rippled-apis/#ledger-index
The response now has a top-level ledger_index field containing the ledger index as an unsigned integral type.
However it remains true that the response also contains a ledger object which itself has a duplicate ledger_index containing the numeric value as a string type.  This can not be changed for the current rippled API for backwards compatibility reasons.  However a future ("versioned") API may change this aspect.


convert dockstore-common, webservice to junit 5

Description
More junit 5

proper migration for common
proper migration for webservice
partial migration for integration tests (minus stuff that uses hoverfly, mocks)

Needed to use https://github.com/webcompere/system-stubs
The crummy part about this is we lose the muteForSuccessfulTests feature, but I think junit 5 is old enough (3 years) and systems rules dead enough (4 years since last release) that we need to move on.
https://github.com/stefanbirkner/system-lambda by the original author of system rules is an option, but looks like system stubs is more active. Tutorial at https://www.baeldung.com/java-system-stubs
New Features
I'm doing the minimum to get us onto junit 5 and mostly migrated. There are a bunch of new patterns, the most obvious is the new structure for assertThrows which is a more concise way of dealing with tests that throw exceptions.
Review Instructions
Tests should run the same as before, check that same number of tests run and output looks sane
Issue
More https://github.com/dockstore/dockstore/issues/5284
Security
If there are any concerns that require extra attention from the security team, highlight them here.
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that you pass the basic style checks and unit tests by running mvn clean install
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
[x] If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
[x] Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
[x] Do not serve user-uploaded binary images through the Dockstore API
[x] Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
[x] Do not create cookies, although this may change in the future
[x] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

What's left?

hoverfly/powermock stuff
categories (replaced by inferior tags in junit 5) and hooking that up to maven


Expose expectedType of a expression

Purpose
Purpose of this PR is to $title.
Fixes #19432
Remarks
This fix is required for #18760
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #19435 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #19435   +/-   ##
=======================================
  Coverage   15.71%   15.71%
=======================================
  Files          47       47
  Lines        1266     1266
  Branches      197      197
=======================================
  Hits          199      199
  Misses       1054     1054
  Partials       13       13

Continue to review full report at Codecov.

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

Resending the PR to ballerina-platform:ballerina-1.0.x, https://github.com/ballerina-platform/ballerina-lang/pull/19442


Added south east university

@golammostafa13 This is a duplicate. I have to close this request. The domain is already in the repository. Thank you.


⚠ Fortnite has degraded performance

In a0b68a9, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1561 ms

Resolved: Fortnite performance has improved in a2c805d.


⚠ Jenkins Plugins Artifactory has degraded performance

In aef8367, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1221 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 7c2d320 after 12 minutes.


locale

export LC_ALL=C.UTF-8
more info here
https://github.com/commercialhaskell/stack/issues/793

fixed in
https://github.com/tkachuk-labs/stack-templates/commit/8894a9df7afcda6e583e56992632babfb568f17d


is type cast possible in alasql js?

Hi,
I am trying to export a json into csv file. All the numeric values are also exported as string. So it is creating problem for excel operations. I tried cast & convert expression , but it is not possible to get the required result. Is there a solution for this ?

Try this example:
http://jsfiddle.net/agershun/81noowmn/8/
It stores numbers as numbers. Could you modify this example to explain the problem?

To cast types to Number you can use one of three forms:
    SELECT CAST(a AS NUMBER), FORMAT(NUMBER,a), a::NUMBER

Can I do it for xlsx format ? CSV format is fine, but it is not possible
for xlsx format.
On Thu, Apr 16, 2015 at 5:55 PM, Andrey Gershun<EMAIL_ADDRESS>wrote:

To cast types to Number you can use one of three forms:
SELECT CAST(a AS NUMBER), FORMAT(NUMBER,a), a::NUMBER

—
Reply to this email directly or view it on GitHub
https://github.com/agershun/alasql/issues/124#issuecomment-93721403.

I catch the bug
http://jsfiddle.net/agershun/ahkLochh/2/
Current version of AlaSQL does not save numbers 1.2 as numbers rather as string type. I will try to fix it.
Thank you!

Fixed. Will be available as version 0.0.47 in develop branch or from http://alasql.org/console/alasql.min.js
You can try it at http://jsfiddle.net/agershun/ahkLochh/2/
Thank you for the issue! Please let me know, if something wrong.

Thanks Andrey. It's working fine.
On Fri, Apr 17, 2015 at 1:11 AM, Andrey Gershun<EMAIL_ADDRESS>wrote:

Closed #124 https://github.com/agershun/alasql/issues/124.
—
Reply to this email directly or view it on GitHub
https://github.com/agershun/alasql/issues/124#event-283374957.


HBASE-23815 [Flakey Test] AbstractTestAsyncTableRegionReplicasRead fa…

…mily of tests fails with no breadcrumbs on why

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m 10s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 1 new or modified test files.

_ branch-2 Compile Tests _

+1 :green_heart:
mvninstall
5m 22s
branch-2 passed

+1 :green_heart:
compile
0m 58s
branch-2 passed

+1 :green_heart:
checkstyle
1m  9s
branch-2 passed

+1 :green_heart:
shadedjars
4m 19s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
branch-2 passed

+0 :ok:
spotbugs
3m  9s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m  7s
branch-2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 52s
the patch passed

+1 :green_heart:
compile
0m 57s
the patch passed

+1 :green_heart:
javac
0m 57s
the patch passed

-1 :x:
checkstyle
1m  6s
hbase-server: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 20s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
16m 33s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 37s
the patch passed

+1 :green_heart:
findbugs
3m 39s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
66m 19s
hbase-server in the patch passed.

+1 :green_heart:
asflicense
0m 32s
The patch does not generate ASF License warnings.

123m 26s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1149/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1149

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 17739586b8cd 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1149/out/precommit/personality/provided.sh

git revision
branch-2 / f46d93e5c9

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1149/1/artifact/out/diff-checkstyle-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1149/1/testReport/

Max. process+thread count
9132 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1149/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Merged manually with fixes for the checkstyle complaints.


Guibranco patch 1

Closes #
📑 Description

✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed

☢ Does this introduce a breaking change?

[ ] Yes
[x] No

ℹ Additional Information

Summary by CodeRabbit

New Features

Enhanced dashboard functionality to allow filtering of results based on user-defined options.

Bug Fixes

Improved handling of the feedOptionsFilter parameter to ensure default values are applied correctly when not set.

@gstraccini codacy reanalyze

@gstraccini help

@gstraccini codacy reanalyze commit


chore: release v0.5.1

🤖 New release

daktilo: 0.5.0 -> 0.5.1

Changelog

[0.5.1] - 2023-10-26
🎨 Styling

(readme) Show the repology badge - (62cff25)

This PR was generated with release-plz.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:loudspeaker: Thoughts on this report? Let us know!.


Module 1.1 Assignment

Given what you have learned about Git, why would you want to use Git in your classroom?

So that students can begin to understand and use the very same tools they will be using in their professional careers!


[libllbuild] Add linker flags in the modulemap file

This will allow autolinking some required system libraries when building
with SwiftPM. We should be able to move this to the manifest file once
SwiftPM gains support for declaring such things.

@swift-ci smoke test

@swift-ci smoke test macOS

@shahmishal I think there is some problem with python installation in this node: https://ci.swift.org/job/swift-llbuild-PR-osx-smoke-test/347/console

@swift-ci smoke test macOS


[DS-4404] Explicitly initialize TransformerFactory with the Saxon transformer in OAI

Fixed a problem with oai import discussed in DS-4404 here

As I seem to be the only one (so far) that has hit this problem (primarily in Docker), and this fixes it, I'm going to merge this with one approval.  I think it's rather straightforward fix, and is also recommended by the JAXP documentation at http://saxonica.com/html/documentation/using-xsl/embedding/jaxp-transformation.html


Should warn about aria-haspopup for input role=combobox with list attribute

https://w3c.github.io/html-aria/#el-input-text-list

input type=text, search, tel, url, email, or with a missing or invalid type, with a list attribute
Authors SHOULD NOT use the aria-haspopup attribute on the indicated inputs with a list attribute.
Otherwise, any global aria-* attributes and any other aria-* attributes applicable to the combobox role.

implementation report has test cases
https://w3c.github.io/html-aria/results/implementation-results.html#el-input-text-list
Currently the wai usage script returns the invalid roles, but doesn't mention the warning for aria-haspopup.  additionally, seems there might be a bug in the script as the typical summary/details info isn't displayed

Thanks, @scottaohara
Do you have a URL for where the summary isn't displaying? I'll track down that bug when I add the warning for aria-haspopup.

Hi @scottaohara ,
I've added the rules for using aria-haspopup with a native list attribute for the input types you mentioned. I still haven't been able to recreate the bug that stops the summary from displaying.

thanks gez.
That's odd about the different results.  I went to https://thepaciellogroup.github.io/aria-test-builder/dist/testcases/input-Text-test-list.html and ran the bookmarklet and again got results where the summary wasn't populating, instead going right to the details/invalid roles like the screenshot i have above

Thanks, Scott. I can see the problem from that URL. I'll track it down and work out what's causing it.

Fixed in latest version. It turned out to be an uncaught exception where non-existant roles are given to elements that can have any role.

Hey @gezlemon, taking a look at this today I'm not seeing the warnings for this rule.  could you double check for me that this isn't being suppressed somehow?   Is there a possibility I need to re-add the bookmarklet to my browser for testing?

Hi @scottaohara I'm not sure why we get different results. When I run the bookmarklet on the test page the warning is the last item in the details section:

I don't think you need to re-add the bookmarklet, but it could be that it's cached?

Thanks gez. I’ll futz with this later today to see if I can’t figure out what’s wrong on my end then.

yup, uninstalling and re-installing got rid of the issue so i'm seeing the update now.  thank you!

Thanks for confirming, @scottaohara


investigate purging expired sessions from session store

consider using a TTL index in mongo based on expires property.

already implemented in connect-mongo.  Defaults 14 days via native TTL.


Copy relative path function outputs a string starting with "/"

Hi, I'm a very happy user of Filemanager plugin.
I have a relatively frequent use of the "copy relative path" function, but I could not find in the code/doc the reason why the string starts with a "/", making the relative intention to an absolute path.
Is it intentional? Then why? And could it be setup through a parameter?
Thanks a lot anyway for you work.

Hi, I'm a very happy user of Filemanager plugin.

I'm very glad to here that, thanks for letting me know :hearts:

Is it intentional? Then why?

It was intentional, because it was meant as "relative from root". My use case is that when building a static website, / refers to the root folder in my program.

And could it be setup through a parameter?

That's definitely possible, although I've lately realized that this should be done with care (the bold part).
Right now, I'm thinking of adding another menu entry and renaming the current one (it's in a sub menu, so it won't cluster the user's context menu). Relative path -> Path from root, which would copy with the leading slash, and add Relative path, which would do what you expected in the first place (now that you point it out to me, it is indeed what makes the most sense).
What do you think? Would you be able to describe your use case? It would really help to make a better decision :slightly_smiling_face:

Sorry I didn't take time to throroughtly the other issues and merely try to find a similar issue before creating this one.
My use case is essentially when debugging, I want to quickly run tests for the current file, copy/pasting relative file path on make test <paste relative file> in my console. Or for doing some git mv <paste> new_path operations.
I read your position on intuitive behavior for a plugin, and I agree. In linters domain, there is also a growing tendency to have straightforward tools (like prettier) with little to no possible configuration, by letting users determine their core usages.
So in this direction, another menu available in the palette would settle the case.
PS: naming things is hard. Clear intent with a short label is hard too.

:tada: Thank you @bobmaerten for you feedback! I've just pushed the fix, don't hesitate to tell me what you think of it :slightly_smiling_face:

Great! nothing changed in my workflow a a few keystrokes saved every time.
Notice that I cannot get the new command you added "Path from root" in the command palette.
Thanks anyway.

Damn. Sorry about that.


Fix compiler warnings

Hello! In using this library clang produced several warnings which I've addressed. Of note, it looks like in several places the bool Token constructor was being called when likely the string one was desired. The rest of the changes I don't think fix any correctness issues, and mostly were to make clang happy.
If you're interested in reproducing my compiler warning output, I was building with
-Werror -Wall -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-weak-vtables -Wno-global-constructors -Wno-exit-time-destructors -Wno-gnu-zero-variadic-macro-arguments -Wno-unused-member-function -Wno-switch-enum -Wno-covered-switch-default

Really thanks for the PR. I'm OK with merging this as is, but Let me comment a few things to make the PR better. (If no response, I will merge this and rewrite later.)

No problem! Latest commit should address your comments here.

LGTM. Thanks for addressing the comments immediately. I really appreciate it.


Increase test coverage for the new classes and fix ConditionVariable::calculateTimeFromNanos method

Fixed the ConditionVariable::calculateTimeFromNanos method. Added tests for test coverage.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.

Windows test PASSed.

Linux test PASSed.


add Text Note not just attachments with location

One feature I think is really needed is just a free form text field

Absolutely, that feature is already supported.
What you will need to do is create a form or forms for your event.  Forms can contain any number custom fields, ie text, select, number, etc.
Go to your event and add a form by clicking the "New Form" button:

From there add your text area field by selecting a 'Text Area' and clicking the "Add Field" button.  Don't forget to save your form after adding the field.

Form with added field:


MemPostings: keep a map of label values slices

While investigating lock contention on MemPostings, we saw that lots of locking is happening in LabelValues and PostingsForLabelsMatching, both copying the label values slices while holding the mutex.
This adds an extra map that holds an append-only label values slice for each one of the label names. Since the slice is append-only, it can be copied without holding the mutex.
We have observed no or negligible changes deploying this to our dev or normal production-like environments. We haven't seen a memory increase or a CPU usage change.
However, when deployed to a TSDB that has ~60 series created per second, with spikes of 300, and has thousands of rule queries per second, we saw a 4x reduction in p99 query time, 10x reduction in avg append time, and 10-50x reduction in mutex wait time.
Unfortunately, I can't share all the details about this environment, I'll try to share as much as I can, redacting the sensitive parts.
The following graphs correspond to a Mimir env, with zone-a running with this PR, while zone-b and zone-c run from main.
Sum of mutex wait time per zone:

Average append latency:

Average read latency (includes all read operations):

I wish I could provide meaningful numbers from a Prometheus instance, but we don't run a Prometheus instance that big to see a difference.

/prombench main

Pushed one more commit, reducing the mutex time in MemPostings.Symbols() (I've seen a profile of goroutines waiting on this one during compaction).

/prombench cancel

/prombench main

We didn't find anything; let's call it close enough.

/prombench cancel


White screen on iOS when using google_maps_flutter

On a physical iOS device, I am getting a blank white screen on pages with GoogleMap widgets given specific scenarios.
Steps to Reproduce

Launch flutter app (First page)
Navigate to a page with a GoogleMap widget (Second page)
Navigate to another page that contains a GoogleMap widget (Third page)
Launch some other app (external app)
in the example I am opening a browser
Return to flutter app (Third page)
Navigate back (Second page) - This page renders a blank white screen.

Notes

This only appears to happen when both (Second and Third) pages contain a GoogleMap widget
When the app is white, if you leave the app and come back it renders correctly
I have only been able to reproduce the issue on physical iOS devices

Target Platform: iOS
Target OS version/browser: 13.2
Devices: Physical iPhone X
Demo

Code
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:url_launcher/url_launcher.dart';

main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) => MaterialApp(home: FirstPage());
}

class FirstPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) => Scaffold(
        appBar: AppBar(title: Text("First Page")),
        body: MaterialButton(
          child: Text("Navigate to second page"),
          onPressed: () => Navigator.push(context, MaterialPageRoute(builder: (_) => SecondPage())),
        ),
      );
}

class SecondPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) => Scaffold(
      appBar: AppBar(title: Text("Second page")),
      body: Column(
        children: [
          Map(),
          FlatButton(
            child: Text("Navigate to third page"),
            onPressed: () => Navigator.push(context, MaterialPageRoute(builder: (_) => ThirdPage())),
          ),
        ],
      ),
    );
}

class ThirdPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) => Scaffold(
        appBar: AppBar(title: Text("Third page")),
        body: Column(
          children: [
            Map(),
            FlatButton(child: Text("url link"), onPressed: () => launch("https://google.com")),
          ],
        ),
      );
}

class Map extends StatelessWidget {
  @override
  Widget build(BuildContext context) => SizedBox(
        height: 200,
        child: GoogleMap(
          initialCameraPosition: CameraPosition(target: LatLng(0, 0)),
        ),
      );
}

Logs
Throws no errors
flutter doctor -v
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.14.6 18G1012, locale en-US)
    • Flutter version 1.9.1+hotfix.6 at /Users/kennethjones/development/flutter
    • Framework revision 68587a0916 (7 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    • Android SDK at /Users/kennethjones/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.0
    • Java binary at: /Users/kennethjones/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5791312/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2, Build version 11B52
    • CocoaPods version 1.7.3

[✓] Android Studio (version 3.5)
    • Android Studio at /Users/kennethjones/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/191.5791312/Android Studio.app/Contents
    • Flutter plugin version 37.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.39.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.6.0

[✓] Connected device (1 available)
    • Kenneth’s work iPhone • 08f9472d07522760b228b786dd9856b8f853b427 • ios • iOS 13.2

• No issues found!

Issues that appear to be reporting the same problem:

#36999
#37619
#40050
#40251
#40655

I have the same issue on Android, sometimes if you close the app and then return to it after some time, it's blank, like this: (but the google logo stays!)

hI @kennethj
Are you still experiencing this issue with latest stable?
If so, can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful
if you could post a minimal code sample to reproduce the problem
Thank you

Could everyone who still has this problem please file a new issue with the exact descriptions
what happens, logs and the output of 'flutter doctor -v' please.
All system setups can be slightly different so it's always better to open new issues and reference
related issues.
Thank you


libstdc++ error while installing vscode-extensions.ms-python.python

Describe the bug
While trying to install this extension an error occurs.
Steps To Reproduce
nix-shell -p vscode-extensions.ms-python.python
Expected behavior
Successful install
Screenshots
N/A
Additional context
Logs:
$ nix-shell -p vscode-extensions.ms-python.python
these derivations will be built:
  /nix/store/r6lq1zsf3y006113k3nh20yywazbq4zl-vscode-extension-ms-python-python-2021.5.829140558.drv
building '/nix/store/r6lq1zsf3y006113k3nh20yywazbq4zl-vscode-extension-ms-python-python-2021.5.829140558.drv'...
unpacking sources
unpacking source archive /nix/store/lxcn27jsgx7c5pcqw4m5lyz39caqj6hx-ms-python-python.zip
source root is extension
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file extension/README.md
patching sources
configuring
building
installing
post-installation fixup
patching script interpreter paths in /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558
checking for references to /build/ in /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558...
automatically fixing dependencies for ELF files
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.cpython-38-x86_64-linux-gnu.so
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_cython.cpython-38-i386-linux-gnu.so
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-38-i386-linux-gnu.so
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.cpython-38-x86_64-linux-gnu.so
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so
  libstdc++.so.6 -> found: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib/libstdc++.so.6
setting RPATH to: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so
  libstdc++.so.6 -> not found!
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/libdbgshim.so
  libstdc++.so.6 -> found: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib/libstdc++.so.6
setting RPATH to: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/Microsoft.Python.LanguageServer
  libstdc++.so.6 -> found: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib/libstdc++.so.6
setting RPATH to: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/createdump
  libmscordaccore.so -> found: /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/libmscordaccore.so
  libstdc++.so.6 -> found: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib/libstdc++.so.6
setting RPATH to: /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30:/nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/System.Security.Cryptography.Native.OpenSsl.so
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/libhostfxr.so
  libstdc++.so.6 -> found: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib/libstdc++.so.6
setting RPATH to: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/System.Native.so
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/System.Net.Http.Native.so
  libcurl.so.4 -> found: /nix/store/fzhgkh90jm1lgvm63rhbmvnbs3dl2657-curl-7.76.1/lib/libcurl.so.4
setting RPATH to: /nix/store/fzhgkh90jm1lgvm63rhbmvnbs3dl2657-curl-7.76.1/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/libcoreclrtraceptprovider.so
  liblttng-ust.so.0 -> not found!
  libstdc++.so.6 -> found: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib/libstdc++.so.6
setting RPATH to: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/System.Net.Security.Native.so
  libgssapi_krb5.so.2 -> found: /nix/store/ga6avwlcsw00lfwwgpfrjw6s8rsshl7h-libkrb5-1.18/lib/libgssapi_krb5.so.2
setting RPATH to: /nix/store/ga6avwlcsw00lfwwgpfrjw6s8rsshl7h-libkrb5-1.18/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/System.IO.Compression.Native.so
  libz.so.1 -> found: /nix/store/43zy3j9a11icz158b336ahzf3bg7ykm1-zlib-1.2.11/lib/libz.so.1
setting RPATH to: /nix/store/43zy3j9a11icz158b336ahzf3bg7ykm1-zlib-1.2.11/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/libmscordbi.so
  libmscordaccore.so -> found: /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/libmscordaccore.so
  libstdc++.so.6 -> found: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib/libstdc++.so.6
setting RPATH to: /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30:/nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/libclrjit.so
  libstdc++.so.6 -> found: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib/libstdc++.so.6
setting RPATH to: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/libcoreclr.so
  libstdc++.so.6 -> found: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib/libstdc++.so.6
setting RPATH to: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/libmscordaccore.so
  libstdc++.so.6 -> found: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib/libstdc++.so.6
setting RPATH to: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/System.Globalization.Native.so
searching for dependencies of /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/libhostpolicy.so
  libstdc++.so.6 -> found: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib/libstdc++.so.6
setting RPATH to: /nix/store/vyqnqbp3yczrzjx2byk6p680q3mzanyw-gcc-10.3.0-lib/lib
autoPatchelfHook could not satisfy dependency liblttng-ust.so.0 wanted by /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/languageServer.0.5.30/libcoreclrtraceptprovider.so
autoPatchelfHook could not satisfy dependency libstdc++.so.6 wanted by /nix/store/9f4z1942ssqcdbwmj8m0d5p8dkz8fpfn-vscode-extension-ms-python-python-2021.5.829140558/share/vscode/extensions/ms-python.python/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so
Add the missing dependencies to the build inputs or set autoPatchelfIgnoreMissingDeps=true
builder for '/nix/store/r6lq1zsf3y006113k3nh20yywazbq4zl-vscode-extension-ms-python-python-2021.5.829140558.drv' failed with exit code 1
error: build of '/nix/store/r6lq1zsf3y006113k3nh20yywazbq4zl-vscode-extension-ms-python-python-2021.5.829140558.drv' failed

Notify maintainers
@jraygauthier
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
❯ nix-shell -p nix-info --run "nix-info -m"
these paths will be fetched (0.00 MiB download, 0.00 MiB unpacked):
  /nix/store/qbflrvs01i9ygdf4dsmcxcacc22x1kg9-nix-info
copying path '/nix/store/qbflrvs01i9ygdf4dsmcxcacc22x1kg9-nix-info' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.13.0-7614-generic, Pop!_OS, 20.04 LTS`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.14`
 - channels(scoder12): `"home-manager, nixpkgs-21.11pre318361.a3a23d9599b"`
 - nixpkgs: `/home/scoder12/.nix-defexpr/channels/nixpkgs`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
- vscode-extensions.ms-python.python
# a list of nixos modules affected by the problem
module:

I guess this is a duplicate of https://github.com/NixOS/nixpkgs/issues/137314

OK

I'm sorry I just updated my flake with nix flake update and now the error on #137314 is gone yet this error still persists. I'm afraid I was wrong and this is not a duplicate.

Ok, I will reopen this one but it is good you pointed it out because they could be related

@Scoder12: fix available at https://github.com/NixOS/nixpkgs/pull/140564.


Potions and abillities

Implement potions and abilities for each color.

Started in branch power-abilities-feature
Implemented time slow for blue for now, planning to do floor stomp for red.
For potions, I guess they can be a way to reduce ability cooldown, or to temporally buff some stats.

Abilities implemented, moving potions issue to separate issue.


add yahoo_answers_topics

This PR adds yahoo answers topic classification dataset.
More info:
https://github.com/LC-John/Yahoo-Answers-Topic-Classification-Dataset
cc @joeddav, @yjernite

feel free to merge/ping me to merge if there're no more changes to do


[Bug] Unable to load a Local Model

Describe the bug
Unable to load any local models
To Reproduce
Steps to reproduce the behavior:
Click "Click to Setup" in the WebUI with a Custom Model Path set
Expected behavior
For the app to be setup for use with a Local Model
Desktop (please complete the following information):

OS: Windows 11 22H2
Browser Microsoft Edge

Additional context
Tried multiple different models, SD 1.4, SD 1.5, WD 1.3 and all produce the same error.
Using local_model: D:\Code\Stable-Diffusion\stablediffusion-infinity\checkpoints\wd-v1-3.ckpt Using [runwayml/stable-diffusion-inpainting] D:\Code\Stable-Diffusion\stablediffusion-infinity\checkpoints\wd-v1-3.ckpt Converting & Loading D:\Code\Stable-Diffusion\stablediffusion-infinity\checkpoints\wd-v1-3.ckpt Error(s) in loading state_dict for UNet2DConditionModel:         size mismatch for conv_in.weight: copying a param with shape torch.Size([320, 4, 3, 3]) from checkpoint, the shape in current model is torch.Size([320, 9, 3, 3]).
Using local_model: D:\Code\Stable-Diffusion\stablediffusion-infinity\checkpoints\SD-v1-4.ckpt Using [runwayml/stable-diffusion-inpainting] D:\Code\Stable-Diffusion\stablediffusion-infinity\checkpoints\SD-v1-4.ckpt Converting & Loading D:\Code\Stable-Diffusion\stablediffusion-infinity\checkpoints\SD-v1-4.ckpt Error(s) in loading state_dict for UNet2DConditionModel:         size mismatch for conv_in.weight: copying a param with shape torch.Size([320, 4, 3, 3]) from checkpoint, the shape in current model is torch.Size([320, 9, 3, 3]).
Using local_model: D:\Code\Stable-Diffusion\stablediffusion-infinity\checkpoints\v1-5-pruned-emaonly.ckpt Using [runwayml/stable-diffusion-inpainting] D:\Code\Stable-Diffusion\stablediffusion-infinity\checkpoints\v1-5-pruned-emaonly.ckpt Converting & Loading D:\Code\Stable-Diffusion\stablediffusion-infinity\checkpoints\v1-5-pruned-emaonly.ckpt Error(s) in loading state_dict for UNet2DConditionModel:         size mismatch for conv_in.weight: copying a param with shape torch.Size([320, 4, 3, 3]) from checkpoint, the shape in current model is torch.Size([320, 9, 3, 3]).

I cannot for the life of me figure out how to even upload local models or if it's possible to create a link to them from system to docker/wsl/ubuntu :/

Loading local model
Note that when loading a local checkpoint, you have to specify the correct model choice before setup.

The mentioned checkpoints are not stablediffusion-inpainting model

I cannot for the life of me figure out how to even upload local models or if it's possible to create a link to them from system to docker/wsl/ubuntu :/

For example, if the path to your checkpoint is C:\Users\username\checkpoint
In wsl, the corresponding path is /mnt/c/Users/username/checkpoint

I cannot for the life of me figure out how to even upload local models or if it's possible to create a link to them from system to docker/wsl/ubuntu :/

For example, if the path to your checkpoint is C:\Users\username\checkpoint
In wsl, the corresponding path is /mnt/c/Users/username/checkpoint

I've set the WSL corresponding path of my model, but it seems to always load the hardcoded runwayml/stable-diffusion model, what am I doing wrong?
I'm not providing a huggingface token since it says that its not required for local models.
Settings:

Result:

The log says:
Note that stablediffusion-inpainting+img2img-v1.5 only support remote model and requires larger vRAM
Loading runwayml/stable-diffusion-v1-5
runwayml/stable-diffusion-v1-5 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo with `use_auth_token` or log in with `huggingface-cli login`.


Use env to config eval logging

Use an env variable FLAGR_EVAL_LOGGING_ENABLED to control if we should log the eval result to the console or not.

fix #115


frontend: create dockerfile for vdk operations ui

Why?
Part of the wider effort to add the ui to quickstart-vdk. The ui should be shippable as a docker image.
What?
Create dockerfile + nginx configuration for the ui The dockerfile spins up an nginx server on port 8091 and copies over the contents of dist/ui to the server's html dir
How has this been tested?
Tested locally by running
docker build -t vdk-ui .
docker run --name vdk-ui-container -d -p 8080:8091 vdk-ui

and making sure that the ui is served on https://localhost:8080
What type of change are you making?
Feature, non-breaking

I think the Dockerfile to be in a separate directory with its own README (which would explain its purpose, configuration, and usage) (like those in the control service here )

How is it build as part of the CICD? Can you quickly write what are next steps planned

I think the Dockerfile should be in a separate directory with its own README (which would explain its purpose, configuration, and usage) (like those in the control service here )

I don't think this needs a separate directory, readme, etc. It's not part of a complex setup like we have in control service. What's in the VEP should be enough. @tozka Let me know if you still feel strongly about this, I'm just saying there isn't really much to document here outside the VEP.

How is it build as part of the CICD? Can you quickly write what are next steps planned (I am missing the big picture)

It's meant to be a deliverable, same as the data-pipelines package we push to npm, for example. See https://github.com/vmware/versatile-data-kit/pull/1872


react native image

Goal:
import { ScrollView } from 'react-native';
import { SimpleNativeImg } from 'react-simple-img';

const Test = () => <ScrollView>
  <SimpleNativeImg src="lazy" />
</ScrollView>

let's work on this together @pangpang1987


fail to run llama3-8b-instruct with tpsize 2 and use_py_session

System Info
tensorrt                 10.0.1
tensorrt-llm             0.11.0.dev2024052800
Who can help?
@byshiue
Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[X] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
mpirun -n 2 --allow-run-as-root python3 ../run.py --max_output_len 128 --max_input_length 32768 --engine_dir /tmp/3c858157-6955-4224-85e1-74b01a42e5c6/llama3-8b-instruct/engine/llm_engines --tokenizer_dir /tmp/3c858157-6955-4224-85e1-74b01a42e5c6/llama3-8b-instruct/engine/tokenizer --use_py_session

Expected behavior
execute successfully
actual behavior
[06/06/2024-05:42:48] [TRT-LLM] [W] Found pynvml==11.5.0 and cuda driver version 525.105.17. Please use pynvml>=11.5.0 and cuda driver>=526 to get accurate memory usage.
[06/06/2024-05:42:48] [TRT-LLM] [W] Found pynvml==11.5.0 and cuda driver version 525.105.17. Please use pynvml>=11.5.0 and cuda driver>=526 to get accurate memory usage.
[TensorRT-LLM] TensorRT-LLM version: 0.11.0.dev2024052800
[TensorRT-LLM] TensorRT-LLM version: 0.11.0.dev2024052800
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
[06/06/2024-05:42:53] [TRT-LLM] [W] The paged KV cache in Python runtime is experimental. For performance and correctness, please, use C++ runtime.
[06/06/2024-05:42:53] [TRT-LLM] [W] The paged KV cache in Python runtime is experimental. For performance and correctness, please, use C++ runtime.
/usr/local/lib/python3.10/dist-packages/torch/nested/__init__.py:166: UserWarning: The PyTorch API of nested tensors is in prototype stage and will change in the near future. (Triggered internally at ../aten/src/ATen/NestedTensorImpl.cpp:178.)
  return _nested.nested_tensor(
/usr/local/lib/python3.10/dist-packages/torch/nested/__init__.py:166: UserWarning: The PyTorch API of nested tensors is in prototype stage and will change in the near future. (Triggered internally at ../aten/src/ATen/NestedTensorImpl.cpp:178.)
  return _nested.nested_tensor(
[06/06/2024-05:42:54] [TRT] [E] 3: [executionContext.cpp::setInputShape::2037] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::setInputShape::2037, condition: engineDims.d[i] == dims.d[i] Static dimension mismatch while setting input shape.)
[06/06/2024-05:42:54] [TRT] [E] 3: [executionContext.cpp::setInputShape::2037] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::setInputShape::2037, condition: engineDims.d[i] == dims.d[i] Static dimension mismatch while setting input shape.)
[06/06/2024-05:42:54] [TRT] [E] 3: [executionContext.cpp::resolveSlots::2842] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::resolveSlots::2842, condition: allInputDimensionsSpecified(routine) )
Traceback (most recent call last):
  File "/app/tensorrt-llm/examples/llama/../run.py", line 650, in <module>
    main(args)
  File "/app/tensorrt-llm/examples/llama/../run.py", line 465, in main
    outputs = runner.generate(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/model_runner.py", line 789, in generate
    outputs = self.session.decode(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 930, in wrapper
    ret = func(self, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 3439, in decode
    return self.decode_regular(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 3048, in decode_regular
    should_stop, next_step_tensors, tasks, context_lengths, host_context_lengths, attention_mask, context_logits, generation_logits, encoder_input_lengths = self.handle_per_step(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 2707, in handle_per_step
    raise RuntimeError(f"Executing TRT engine failed step={step}!")
RuntimeError: Executing TRT engine failed step=0!
[06/06/2024-05:42:54] [TRT] [E] 3: [executionContext.cpp::resolveSlots::2842] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::resolveSlots::2842, condition: allInputDimensionsSpecified(routine) )
Traceback (most recent call last):
  File "/app/tensorrt-llm/examples/llama/../run.py", line 650, in <module>
    main(args)
  File "/app/tensorrt-llm/examples/llama/../run.py", line 465, in main
    outputs = runner.generate(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/model_runner.py", line 789, in generate
    outputs = self.session.decode(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 930, in wrapper
    ret = func(self, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 3439, in decode
    return self.decode_regular(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 3048, in decode_regular
    should_stop, next_step_tensors, tasks, context_lengths, host_context_lengths, attention_mask, context_logits, generation_logits, encoder_input_lengths = self.handle_per_step(
  File "/usr/local/lib/python3.10/dist-packages/tensorrt_llm/runtime/generation.py", line 2707, in handle_per_step
    raise RuntimeError(f"Executing TRT engine failed step={step}!")
RuntimeError: Executing TRT engine failed step=0!
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[14950,1],1]
  Exit code:    1
--------------------------------------------------------------------------

additional notes
It could execute successfully if I remote the argument --use_py_session
mpirun -n 2 --allow-run-as-root python3 ../run.py --max_output_len 128 --max_input_length 32768 --engine_dir /tmp/3c858157-6955-4224-85e1-74b01a42e5c6/llama3-8b-instruct/engine/llm_engines --tokenizer_dir /tmp/3c858157-6955-4224-85e1-74b01a42e5c6/llama3-8b-instruct/engine/tokenizer
[06/06/2024-05:43:16] [TRT-LLM] [W] Found pynvml==11.5.0 and cuda driver version 525.105.17. Please use pynvml>=11.5.0 and cuda driver>=526 to get accurate memory usage.
[06/06/2024-05:43:16] [TRT-LLM] [W] Found pynvml==11.5.0 and cuda driver version 525.105.17. Please use pynvml>=11.5.0 and cuda driver>=526 to get accurate memory usage.
[TensorRT-LLM] TensorRT-LLM version: 0.11.0.dev2024052800
[TensorRT-LLM] TensorRT-LLM version: 0.11.0.dev2024052800
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Input [Text 0]: "Born in north-east France, Soyer trained as a"
Output [Text 0 Beam 0]: " painter in Paris before moving to London in the late 1840s. He became a prominent figure in the Pre-Raphaelite circle, befriending artists such as Dante Gabriel Rossetti and William Holman Hunt. Soyer's work was characterized by its detailed and meticulous style, often depicting scenes of everyday life in Victorian England.

Soyer's most famous work is probably his painting "The Stationer's Apprentice" (1860), which showcases his attention to detail and his ability to capture the subtleties of human expression. He also created a series of watercolors depicting scenes of Victorian street life, including "Street Scene in"

Could you please share the build command?

I have figured out the cause of the problem. I have used --max_multimodal_len option in trt-build command. If I removed this option, the problem fixed.


[stable/datadog] Remove old and misleading KSM option from value file

What this PR does / why we need it:
Remove unused kubeStateMetrics section from values.yaml as not used anymore and could be misleading for users.
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign clamoriniere

/lgtm


Update for v0.4.8

Description of the change

Existing or Associated Issue(s)

Additional Information

Checklist

[ ] Chart version bumped in Chart.yaml according to semver. Where applicable, update and bump the versions in any associated umbrella chart
[ ] Variables are documented in the values.yaml and added to the README.md. The helm-docs utility can be used to generate the necessary content. Use helm-docs --dry-run to preview the content.
[ ] JSON Schema generated.
[ ] List tests pass for Chart using the Chart Testing tool and the ct lint command.

@hectorj2f yeah, just noticed and doing now 😅


SQL Server resource update failed with error code AadOnlyAuthenticationIsEnabled

Bicep version
0.6.18
Describe the bug
When an Azure SQL Server has been created with Bicep template with azureADOnlyAuthentication set to true,  all subsequent run with the same bicep template for the existing SQL Server will failed with the following error:
code: AadOnlyAuthenticationIsEnabled
message: Azure Active Directory Only Authentication is enabled. Please contact your system administrator.
To Reproduce
1- Use Bicep to create an Azure SQL Server with azureADOnlyAuthentication set to true
2 - Run the same Bicep template the second time and it will failed with error code AadOnlyAuthenticationIsEnabled
Additional context
The Bicep for SQL Server works if the existing SQL Server resource does not have azureADOnlyAuthentication set to true

Thanks for reporting. This is not directly a Bicep issue. Are you able to open a support ticket where this can be directed to the Azure SQL Server team?

@dw123-qic Were you able to resolve this issue? My team has also encountered the problem. We have raised a support ticket but the process is painfully slow and we haven't yet received any solution.

@sebastiean unfortunately no proper solution. I work around the issue by turning off AD only auth with Azure CLI before applying the Bicep script and turning back on AD only auth.  Unfortunately the Bicep team does not think it is a Bicep issue
See Azure CLI reference https://docs.microsoft.com/en-us/cli/azure/sql/server/ad-only-auth?view=azure-cli-latest

I just ran into this as well... Any more information? Turning it off manually before the Bicep is applied doesn't seem like a real solution...

The recommended solution from Microsoft support was also to disable it before the Bicep deployment and enable it after...
So that's what we ended up implementing. I agree it's not a great solution, but there isn't another way ☹
We automated it using the cli

Ok, that is such a hack solution (not blaming you at all of course). And when it comes to security, it doesn't seem like the right way to do it. But thanks for explaining!

I'm astonished that this hasn't been fixed yet. What's the purpose of having the ability to set this option in a deployment, when all subsequent runs fail? I'm disappointed by the official recommended solution. It's literally a workaround around a bug that has existed since the public preview of the AD login only feature a couple of years ago.

Also ended up here since i expected this to have been fixed but no... Also if that is the suggested workaround, its simpler to just disable it in a script in the first place?!

Not to mention the fact that you still need a login username and password, which is something I would like to avoid with AD login only.

Interestingly enough, if I disable AD auth only, using the Azure CLI, before deploying my Bicep, I am now getting a InvalidParameterValue response saying Invalid value given for parameter AzureADOnlyAuthentication. Specify a valid parameter value.. Any suggestions?

@alex-frankel can this issue be assigned to the provider team to see some progress on it ?


Crisp: need more precision in low amount value range

I've started using Crisp to bring back some high frequency content especially to down-pitched sources.
However I've found I am using Amount values between 1% and 4% and I wish I could go lower yet.

As far as I'm concerned, this control could go from 0.1% to 10% rather than from 1% to 100%.
I wonder if anyone else has the same issue?

The display value is rounded, but parameter's actual value isn't. So it can be set as close to zero as you want. If you hold down Shift while dragging you can drag finer, and if you Alt+Click on the field you can type in a value (don't know if that works properly in Ardour, does work in Bitwig, doesn't work in REAPER). You can also do that in your host's generic UI.

Also, what I often end up doing if I want a bit more control is to use the 'wet only' mode and to do the mixing in my DAW. So in Bitwig I'd set it to wet only, hit ctrl+G to group, add the dry signal back in, and then adjust the wet signal's levels and maybe add an EQ or stereo width adjustment to the wet signal. That's not as easy to do in other DAWs though.

Yeah, adding a separate bus just for this effect is a bit much - it'll try the Shift+Drag and Alt+Click techniques you've mentioned, thanks :)


Fail PRs Using Wrong Commit Template

Checklist (Please check before submitting)

[x] I reviewed the Contributing Guide.
[x] I reviewed the cFS README.md file to see if the feature is in the major future work.
[x] I performed a cursory search to see if the feature request is relevant, not redundant, nor in conflict with other tickets.

Is your feature request related to a problem? Please describe.
Force users to use the right commit message template to reduce contributors' time.
Describe the solution you'd like
Create new workflow that enforces commit messages to use the format:
Fix #XYZ, SHORT_DESCRIPTION

LONG_DESCRIPTION (optional)

Describe alternatives you've considered
N/A
Additional context
Helpful Links:
https://github.com/joelparkerhenderson/git-commit-template
https://github.com/amzn/git-commit-template
Requester Info
Ariel Adams, ASRC Federal

Duplicate of https://github.com/nasa/cFS/issues/192


quiet down plugins.cloud.ec2.EC2CloudPlugin.delete_volume

boto.ec2.Volume.delete() simply returns True/False upon success/failure, but spews to ERROR if boto.ec2.Volume.update() is called against a non-existent volume (which ends up dropping an XML error that may confuse end users). Simply rely on Volume.delete() returning True/False and log (to DEBUG for now) if a volume deletion returns False
cc @coryb -- this should get rid of
2016-08-11 04:28:24 - 400 Bad Request
2016-08-11 04:28:24 - <?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error>InvalidVolume.NotFound<Message>The volume 'vol-xxxxxxxxx' does not exist.</Message></Error></Errors><RequestID>xxxxxxxxxx</RequestID></Response>

from output in the internal UI

looks good to me


added Timeout to Download and possibility to have multiple downloads …

…at the same time

Implements #1098 and more other features


Search - Input shows report ID instead of report name when selecting "Search in"

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.50-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to staging.new.expensify.com
Open any report.
Click on the search icon on the top right.
Click Search in.

Expected Result:
The input will show the report name instead of report ID.
Actual Result:
The input shows report ID instead of report name.
Workaround:
Unknown
Platforms:

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

Screenshots/Videos
https://github.com/user-attachments/assets/c9aee22b-7d17-4d7c-aed2-5f8285b6a67e

View all open jobs on GitHub

Looks like this can be a follow up improvement as part of the Search project. This doesn't need to block the deploy.
cc: @luacmartins

Proposal
Please re-state the problem that we are trying to solve in this issue.
The input shows report ID instead of report name.
What is the root cause of that problem?
The input displays the current query which has the report ID.
https://github.com/Expensify/App/blob/780e09e10fbd33f9806e5e1b30a22bd3703de742/src/components/Search/SearchRouter/SearchRouterList.tsx#L123
What changes do you think we should make in order to solve the problem?
If we choose the contextual search item, I think we also should call onSearchSubmit instead of changing the text input. To do that we can remove this code
https://github.com/Expensify/App/blob/780e09e10fbd33f9806e5e1b30a22bd3703de742/src/components/Search/SearchRouter/SearchRouterList.tsx#L152-L156
What alternative solutions did you explore? (Optional)
If we want to display the text input after selecting this option, we should separate the text input value and the query.

Here we should add another field that is the input query name that will have the format type:chat in:reportName
https://github.com/Expensify/App/blob/780e09e10fbd33f9806e5e1b30a22bd3703de742/src/components/Search/SearchRouter/SearchRouterList.tsx#L123

Then here if we select this option we will pass both query and query name here

https://github.com/Expensify/App/blob/780e09e10fbd33f9806e5e1b30a22bd3703de742/src/components/Search/SearchRouter/SearchRouterList.tsx#L152-L156

In SearchRouter, we will create another state is the query and update text input is the query name and query state is the query. If the user type in the input the query and text input will be the same.

https://github.com/Expensify/App/blob/780e09e10fbd33f9806e5e1b30a22bd3703de742/src/components/Search/SearchRouter/SearchRouter.tsx#L130

Then when we submit the search here we will use the query state instead of text input value state
https://github.com/Expensify/App/blob/780e09e10fbd33f9806e5e1b30a22bd3703de742/src/components/Search/SearchRouter/SearchRouter.tsx#L180

It's not that easy to implement this, this feature would require us to have some sort of autocomplete which is the main thing we will be working on in Search 2.5. I suggest taking off the bug label and adding it to Search 2.5 issue list. WDYT @luacmartins @lakchote

@luacmartins please assign me instead of Jakub to this Issue, we shuffled around.
We will start the "autocomplete" part of v2.5 with this task, because the in (and/or reportID) autocomplete is the only one that is much more complex than the rest.
The main reason is that for for: and to: we are able to easily find:

user's email by accountID
accountID by user's email

So we can easily switch from the version of StringQuery with id, and the "human readable" version of qury.
This is impossible with reports and chats, because they can have the same names in different policies, and also change names when they are edited etc.
We will have to keep the version of query with id (to be able to send it to api) while displaying to the user modified query with the nice, human readable values.

Done!

This is on hold for autocomplete

PR is ready for review @rayane-djouah @luacmartins

@rayane-djouah please let me know once you've accepted the offer, thanks!


Is wmt14en-fr.sh missing in pre-process dir?

wmt14en-fr.sh seems to be missing. It would be very helpful for reproducing the EN-FR results in the paper.

Thanks for reaching out and I just added the file into this repo. Happy holidays :-)

Thanks for reaching out and I just added the file into this repo. Happy holidays :-)


Add optional env vars so we can provision users tenant apps on the sa…

…me cluster as the init tenant service
This means we can now run the fabric8 init service on minishift

[test]

[test]

Can one of the admins verify this patch?

[test]


Support for karma 0.13.x

Can we add support for Karma 0.13.x?
Or at least update package.json?

i tested against 0.13 and it worked. so i updated package.json
https://github.com/dmitriiabramov/karma-json-fixtures-preprocessor/commit/bd92e8547a22856d4fdd6df4243e6133913f3fc7
thanks for bringing it up!


Delayed/failed run

Whenever I try to run a single or multiple lines using hydrogen I'll find that on the first attempt the run will fail and I'll get an 'x' next to the line. If I then attempt to run a different line the first line will start running again, and will take an super long time even for simple functions. Its got the feeling that something is hanging and if I try to run another line it will often prompt the currently running lines to finish. It will also start running the failed lines if I interact with atom in anyway (click on a menu item).

Follow the issue report steps described here: https://github.com/nteract/hydrogen/blob/master/.github/ISSUE_TEMPLATE/bug_report.md ,
otherwise we can't help you in any meaningful way.
Feel free to reopen this if you prepare the required infos.


Use log category cws + not lower log levels in catch blocks

This one is better than the only which uses log category config. In that PR, I saw some log transformations in if blocks which are against conditions in if statement.


Add local publishing of the java11/model JAR

Expected Behaviour

Add local publishing of the java11/model JAR
Current Behaviour

Not available
Possible Solution

Add a new command / parameter into the Gradle build for local testing.

I'll take this one.


Feature/oauth middleware

What does this PR do?
This PR adds the possibility to protect routes behind a oauth service.
What's the authentication flow

A authentication request is sent to a authentication route, by default /oauth/token with the correct client_id and client_secret (assuming you are using client_credentials)
If the request is authorized by the authentication service, the api-gateway will store the access_token session in redis
When the client tries to access a protected resource, the api-geteway will try to check in the key-store if the provided token is stored
If it is, it will check if the key has expired.
In case everything is ok, it will go through

Impacted Areas in Application
List general components of the application that this PR will affect:

All protected resources

:shipit:


Kubeflow on Google Cloud - 1.8.0 release tracker

TODO
Bugs/Issues to investigate:

[x] Test Kubeflow 1.8.0-rc.1 on GCP

[x] deployment
[x] test pipeline run
[x] test notebook

[x] Test Kubeflow 1.8.0-rc.0 on GCP

[x] deployment
[x] test pipeline run
[ ] test notebook

[x] https://github.com/GoogleCloudPlatform/kubeflow-distribution/issues/431
[x] https://github.com/GoogleCloudPlatform/kubeflow-distribution/issues/440

Features to consider (carry over from last release):

[ ] Fix when GKE reaches version 1.27 #422
[ ] Upgrade to Kustomize 5.0: fixes #402
[ ] #437
[ ] Explore using Porch from kpt: https://kpt.dev/guides/porch-installation
[ ] Consider using profile controller to add labels for user created namespaces, then we can use label to distinguish user workload.
[ ] Migrate from Config Controller to Config Delivery
[ ] Explore upgrading controller tool version

/CC @chensun @zijianjoy @gkcalat

Not sure how we marked notebook as tested. It seems there's a authentication issue from the SDK implementation that would block any SDK interaction with the pipeline from a Notebook environment.
https://github.com/kubeflow/pipelines/issues/10075


aarch64 port changes

This PR is for porting Velox to run an aarch64 based machine.

@Yuhta has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Thank you @Yuhta for importing the pull request. I see "some checks were not successful". Do I have any action here? Thanks

@RamaMalladiAWS No worry just unrelated warnings

@RamaMalladiAWS No worry just unrelated warnings

Thank you.


Wrong environment variable parsing with ANSI-C Quoting

We set secrets in an environment hook (following this guide).
One of the secrets is an ANSI-C quoted string, e.g., the following:
MYUSERNAME="user"
export MYUSERNAME
MYSECRETKEY=$'this\nis\na\nkey'
export MYSECRETKEY

The buildkite agent parses the environment variable MYSECRETKEY incorrectly. The output of the build (Running global environment hook to be more precise) shows:
# MYSECRETKEY=$'this\nis\na\nkey' added

As you can see, the string is treated as part of the environment variable name, rather than as its value. This causes secrets to be leaked to anyone who can access the build log.
Here is a full example. The environment hook is the following script:
#!/usr/bin/env bash

set -eu

HOST=
ORG=
REPO=

MYUSERNAME="user"
export MYUSERNAME
MYSECRETKEY=$'this\nis\na\nkey'
export MYSECRETKEY

export

If you open Running global environment hook, you can see the output and which variables are exported. I added an export to the end of the script to debug the environment variables. I also added another export to the script that uses the environment variable, which was set by the buildkite agent (IIUC). Here, the secret is incorrectly escaped:
declare -x MYSECRETKEY="\$'this\\nis\\na\\nkey'="

This is actually how we found the issue, because the secret was no  longer working.
Looking at the agent code, the following assumption seems to be invalid:
https://github.com/buildkite/agent/blob/765795ecb61d68cd1b470f6593fc9f79c67027c9/env/export.go#L128-L132
The buildkite agent version is v3.39.0.

Thanks for the details report, @morxa.
We had trouble replicating this until we upgraded to bash 5.2, which was released about 16 days ago. Are you using bash 5.2?

hey @morxa! thanks for reporting this, this seems like a pretty ugly bug to come across, and this description of the error is really well written.
for some context, the way we pull environment variables out of hooks/commands is pretty fragile, and has had to have some surgery a couple of times. we've been thinking about rewriting it for a while, and i think we've found a good reason here.
So: some background, both as a brain dump from me as i investigate this, and as info for future travellers.
Part of the cool thing about hooks is that they can modify the environment of the entire build chain. To get really deep into it, this is actually a holdover from older versions of the agent, where the bootstrap process was one (giant and janky) bash script. When we ran a hook from that, it would be sourced, so it would change the environment of the bootstrap process itself.
When we migrated the bootstrap to its current form as a Go binary that runs a bunch of processes and stuff, we couldn't include the sourcing behaviour that we previously got for free, so we came up with the concept of a scriptwrapper. The scriptwrapper remains the way that we run all hooks in the bootstrap process. What it does is basically:

Before executing a hook, write the environment of the process to a file in a well-known location
Run the hook
Write the environment of the process again, to a different file this time

The scriptwrapper knows (or more correctly, env/export.go that you've linked above knows) how to compare the two environment files. so it collects the differences - additions, removals and changes - and tells the bootstrap about them, so that the bootstrap can change the environment for further processes it runs.
This scriptwrapper thingo is where we're running into the bug you've described here - it uses the output of the bash- (or zsh-, or fish-, or...) builtin export -p to output the contents of the current process' environment.
It seems like as of Bash 5.2, the behaviour of this builtin has changed, and it now exports ANSI-C-formatted strings when appropriate, which has broken our parsing of that kind of file. For reference, recent zsh versions also seem to exhibit this behaviour.
All of this is to say, we were relying on bash to not change something, otherwise our fragile parsing would break, and they rightfully changed it, and now our fragile parsing is broken. This sucks, but is kind of on us for relying on behaviour that wasn't stable.
We're investigating changing this process to be less fragile, which should be done soon - this is a high priority, as we don't want secrets leaking into the build logs!
Thank you again for your error report!

Also, as a mitigation until we release a fix: Using Bash 5.1 as a shell should fix this issue, but please let us know if you continue to encounter this issue.

Thanks for the explanation! Indeed, we upgraded to bash 5.2 on Monday, which also explains why the error suddenly started showing up (this was something that puzzled me until now).
Indeed, downgrading to bash 5.1 fixed the issue! Thanks for the workaround!

This is fixed as of v3.39.1. Thanks again for your report, @morxa!


Load external svg file

Can we use SVG.js to load an external svg file?

No, however you can use the use-element to reference parts of an external svg-file.
Note that this is not implemented from the whole IE world


feat(card): Implement Admiral Motti and Snowspeeder

@AMMayberry1 thanks for the feedback! Should all be addressed in https://github.com/SWU-Karabast/forceteki/pull/93/commits/b0e9f745e0685c383ae09717af325fec8600ffb6


Updating capistrano to 3.5

Includes a bug fix for compatibility with Rake 11: https://github.com/capistrano/capistrano/pull/1631

👍

👍


scopes for functions, engine entities, etc.

bind scope to engine entity?
scope from table (from within entity)?

Toy_pushScopeWithTable(Toy_Table*, Toy_Scope*);


Duplicate Notifications Delivered through FC

Environment:

Operating System version: Java 8
Firebase SDK version: 10.11.0
Library version: 8.1.0
Firebase Product: messaging (auth, database, storage, etc)

Problem:
We're seeing multiple instances of a single message being sent via Cloud Messaging using the Firebase Admin SDK, and users seeing duplicates on iOS. We have logs both on the server side, directly before and after on the server side, and on the client side upon receipt in a Notification Service Extension.
We've verified through these logs (tied to data from user screenshots), that the message is sent only once on our server, we receive a success response from the Firebase SDK, and the user receives that exact notification twice.
Server Logs:
16:08:16.542 | al-pool-2228 |  INFO | w.SendNotificationWorker$ | 303 | 31ec5101-b43e-4519-99a1-9bb3650471c7: Successfully sent notification 2273480
16:08:16.537 | al-pool-7377 |  INFO | .n.NotificationDispatcher | 342 | Notification id 2273480 sent status true
16:08:16.537 | al-pool-7377 |  INFO | c.s.f.s.FirebaseService$  | 158 | Submitted notification to Firebase with messageId: projects/{redacted}/messages/{redacted} for notification id: 2273480
16:08:16.336 | al-pool-4602 |  INFO | w.SendNotificationWorker$ |  92 | 31ec5101-b43e-4519-99a1-9bb3650471c7: Sending notification 2273480

Client Logs:
16:08:21.092 AM -0700 |	INFO | {redacted} | NotificationService | did receive notification | notificationId = 2273480
16:08:21.091 AM -0700	| INFO | {redacted} | NotificationService | did receive notification | notificationId = 2273480

Relevant Code:
val messageId = FirebaseMessaging.getInstance.send(messageBuilder.build)
logger.info(s"Submitted notification to Firebase with messageId: $messageId for notification id: ${notificationId
          .getOrElse(0L)}")

Hi @johnfrancmartin I would encourage you to submit a support request through https://firebase.google.com/support/troubleshooter/contact where you can include the project id. So the FCM team can investigate the issue. Thanks!

Did you find any solution?

Idk the solution but do you know collapse id feature of notification systems( fcm apns hms) to prevent showing two notifications same time?


ci/cd: failure in unit test

Describe the bug
https://github.com/project-zot/zot/runs/4731644623?check_suite_focus=true
{"Level":"debug","Output":"","Audit":""},"Extensions":null},"goroutine":199,"caller":"zotregistry.io/zot/pkg/api/controller.go:80","time":"2022-01-06T20:37:49.833280772Z","message":"configuration settings"}
panic: listen tcp <IP_ADDRESS>:39873: bind: address already in use

goroutine 199 [running]:
zotregistry.io/zot/pkg/exporter/api_test.TestNewExporter.func<IP_ADDRESS>(0xc001ba7600)
	zotregistry.io/zot/pkg/exporter/api_test/controller_test.go:140 +0xeb
created by zotregistry.io/zot/pkg/exporter/api_test.TestNewExporter.func1.1.3
	zotregistry.io/zot/pkg/exporter/api_test/controller_test.go:137 +0x3c5
FAIL	zotregistry.io/zot/pkg/exporter/api	3.571s
?   	zotregistry.io/zot/pkg/exporter/cli	[no test files]
?   	zotregistry.io/zot/pkg/extensions	[no test files]
?   	zotregistry.io/zot/pkg/extensions/config	[no test files]
?   	zotregistry.io/zot/pkg/extensions/monitoring	[no test files]
?   	zotregistry.io/zot/pkg/extensions/search	[no test files]
?   	zotregistry.io/zot/pkg/extensions/search/common	[no test files]
?   	zotregistry.io/zot/pkg/extensions/search/cve	[no test files]
?   	zotregistry.io/zot/pkg/extensions/search/digest	[no test files]

Issue does not reproduce with latest builds.


Implement LaxOrStrictValidator

Fix #329

Codecov Report

Merging #330 (d60136d) into main (463ed7a) will decrease coverage by 0.02%.
The diff coverage is 98.14%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #330      +/-   ##
==========================================
- Coverage   97.35%   97.33%   -0.03%
==========================================
  Files          57       58       +1
  Lines        6890     6944      +54
  Branches       46       47       +1
==========================================
+ Hits         6708     6759      +51
- Misses        182      184       +2
- Partials        0        1       +1

Impacted Files
Coverage Δ

src/validators/lax_or_strict.rs
97.67% <97.67%> (ø)

pydantic_core/core_schema.py
99.55% <100.00%> (-0.45%)
:arrow_down:

src/validators/mod.rs
98.96% <100.00%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

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

@art049 I think benchmarks should be available on main, but the comment here is still saying they're not, any idea?

Yes, another bug related to the first one. Just fixed it!

@art049 17% seems like a bug change, I'm pretty sure the code called for that benchmark can't have changed here.
Is this to be expected?

I guess it's possible there's something random (or non-deterministic) about that test, e.g. it leans heavily on hashmap which uses a random seed, and there the time taken does vary a lot. But still, 17% seems to much.

I'm pretty sure it was related to the GC issue we discussed in #336 so this kind of unexpected changes should not happen again.
I looked for a way to fix the RNG seed for the hashmap and found that the RandomState is generated at compile time with const_random . Simply setting the CONST_RANDOM_SEED env variable during the build should bring a more consistent behavior for the benchmarks using it. I'll create a PR implementing the change 🙂.


can't start docker image using rancher

I can't start docker image inside rancher inside simple-worker for boot2docker 1.7/Windows.
Since the network issue, I use docker save/load command to make golang:1.4 available inside, but when it is launched inside simple-work or command line, it reports
INFO[0187] POST /v1.19/containers/create
ERRO[0187] Couldn't run auplink before unmount: exec: "auplink": executable file not found in $PATH
ERRO[0187] Couldn't run auplink before unmount: exec: "auplink": executable file not found in $PATH
INFO[0187] POST /v1.19/containers/179b83e92516887ac37d3ce053a8876bebf22d4e9ac1d4e852ff7bdd4cc9c3ae/attach?stderr=1&stdout=1&stream=1
INFO[0187] POST /v1.19/containers/179b83e92516887ac37d3ce053a8876bebf22d4e9ac1d4e852ff7bdd4cc9c3ae/start
INFO[0188] POST /v1.19/containers/179b83e92516887ac37d3ce053a8876bebf22d4e9ac1d4e852ff7bdd4cc9c3ae/wait

Any suggestion ?

It's really wired. Can your docker exec into the simple-worker container and try to run docker pull golang:1.4. I'm not sure if it's the problem of the docker binary or the filesystem.

It is always failure even hello-world
root@boot2docker:/go/src/github.com/ArchCI/simple-worker# docker pull
hello-world
latest: Pulling from hello-world
a8219747be10: Pulling fs layer
a8219747be10: Error pulling dependent layers
91c95931e552: Error pulling image (latest) from hello-world, endpoint:
https://registry-1.docker.io/v1/91c95931e552: Error pulling image (latest)
from hello-world, Server error: Status 0 while fetching imagError pulling
image (latest) from hello-world, Server error: Status 0 while fetching
image layer
(a8219747be10611d65b7c693f48e7222c0bf54b5df8467d3f99003611afa1fd8)
On Sun, Aug 2, 2015 at 2:03 PM, tobe<EMAIL_ADDRESS>wrote:

It's really wired. Can your docker exec into the simple-worker container
and try to run docker pull golang:1.4. I'm not sure if it's the problem
of the docker binary or the filesystem.
—
Reply to this email directly or view it on GitHub
https://github.com/ArchCI/simple-worker/issues/24#issuecomment-126993049
.

--
True software development embraces consistent inconsistency.
blog: http://larrycaiyu.com/blog (en), http://larrycaiyu.com (chinese)

again (maybe we discussed in wechat), why not docker in docker for this
case,
see
https://github.com/larrycai/docker-images/blob/master/jenkins-slave/Dockerfile#L27
it can invoke docker cli as well, the main disadvantage is it will pollute
the host docker images (add extra)
rgs/larry
On Mon, Aug 3, 2015 at 10:29 AM, Larry Cai<EMAIL_ADDRESS>wrote:

It is always failure even hello-world
root@boot2docker:/go/src/github.com/ArchCI/simple-worker# docker pull
hello-world
latest: Pulling from hello-world
a8219747be10: Pulling fs layer
a8219747be10: Error pulling dependent layers
91c95931e552: Error pulling image (latest) from hello-world, endpoint:
https://registry-1.docker.io/v1/91c95931e552: Error pulling image
(latest) from hello-world, Server error: Status 0 while fetching imagError
pulling image (latest) from hello-world, Server error: Status 0 while
fetching image layer
(a8219747be10611d65b7c693f48e7222c0bf54b5df8467d3f99003611afa1fd8)
On Sun, Aug 2, 2015 at 2:03 PM, tobe<EMAIL_ADDRESS>wrote:

It's really wired. Can your docker exec into the simple-worker container
and try to run docker pull golang:1.4. I'm not sure if it's the problem
of the docker binary or the filesystem.
—
Reply to this email directly or view it on GitHub
https://github.com/ArchCI/simple-worker/issues/24#issuecomment-126993049
.

--
True software development embraces consistent inconsistency.
blog: http://larrycaiyu.com/blog (en), http://larrycaiyu.com (chinese)

--
True software development embraces consistent inconsistency.
blog: http://larrycaiyu.com/blog (en), http://larrycaiyu.com (chinese)


Inconsistent rounding with scaling

Steps to reproduce: Set display scaling to a value greater than 1 and any rounding value to windows (higher values make the issue more visible)
Expected outcome: All windows and borders should have the same rounding size corresponding to the value defined in hyprland.conf scaled by the scaling factor.
Noted outcome: These 3 different items have a different rounding size:

Window borders
Windows opened on a scaled monitor and rendered on any monitor regardless of the scaling
Windows opened on a non-scaled monitor (or XWayland windows) but rendered on a scaled monitor

Here is a screenshot of the issue with rounding=100 taken on a monitor with 1.5 scaling. Borders are red, top window is scaled to 1.5, bottom window is scaled to 1.

It seems to be fixed. Thank you!


Internal feature to disable mitigation

Task/Issue URL: https://app.asana.com/0/1199371158290272/1201677777496472/f
Description

we currently can disable the entire bad health detection
but can't keep detection running and disable mitigation
while this is important both for triaging breakage and debugging purposes

This PR simply adds an internal feature toggle for the bad health mitigation
Steps to test this PR
Test feature toggle

[x] install from this branch
[x] open all and enable appTP
[x] filter logcat with AppBadHealthStateHandler
[x] verify that every ~30s the log No alerts appear
[x] go to settings -> AppTP settings and Disable bad health mitigation action
[x] verify that every ~30s the log Feature is disabled, skipping mitigation
[x] click on View diagnostics data
[x] Scroll down and click on bad health
[x] verify a bad health notification appears (can take up to 30s)
[x] very the logs continues to be Feature is disabled, skipping mitigation
[x] go back to settings -> AppTP settings and enable bad health mitigationaction
[x] verify the log Internal flavor detected, restarting the VPN... eventually appears (can take up to 30s)

Current dependencies on/for this PR:

develop

PR #1692  (this PR)

This comment was auto-generated by Graphite.

@malmstein as discussed, merging this to move forward with the investigation. As it is an internal feature we can review it retroactively.
I have gone through the QA tests myself couple times.


Add Streaming Option to DuckChat Responses

Description:
This pull request introduces a new stream option to the DuckChat class, allowing responses to be streamed as they are received. The key changes include:

Streaming Option in ask_question:

A stream parameter has been added to the ask_question method, enabling real-time streaming of responses.
If stream=True, the response is printed in chunks as they arrive. If stream=False, the response is handled as before, being fully assembled before returning.

CLI Support for Streaming:

The CLI has been updated to accept a --stream flag with user input. When this flag is used, the response is streamed in real-time.

Why This Change is Necessary:
The new streaming functionality improves the responsiveness and interactivity of the bot, especially for long or complex queries that take time to process. Users can now see parts of the response immediately, making the bot feel more dynamic and engaging.
Testing:
The new streaming functionality has been tested with various queries to ensure that it behaves as expected, both in normal and streaming modes.
Documentation:

Inline documentation has been updated to reflect the changes.
Usage examples have been provided in the code to demonstrate the new streaming functionality.

It's work when i use as cli or this
import asyncio
from duck_chat import DuckChat, ModelType

async def main():
    async with DuckChat(model=ModelType.GPT4o) as chat:
        print(await chat.ask_question("What is the capital of France?"))

        await chat.ask_question("Tell me a long story...", stream=True)

asyncio.run(main())

But when i tried using as lib on my bot, the bot always send me a full message and not with stream method.

Hello, @lunaticsm
I refactored your code:

there is now 3 stream func:

stream_answer (low, that do stream from api)
ask_question_stream (Stream answer from chat AI)
reask_question_stream (retry ask with stream)

In ClI there is now two cmds:

stream_on (enable stream response)
stream_off  (disable stream response)

But when i tried using as lib on my bot, the bot always send me a full message and not with stream method.
You used just return and not the generator in ask_question (see example below)
You can test with this
import asyncio

from duck_chat import DuckChat

async def main():
    async with DuckChat() as chat:
        async for message in chat.ask_question_stream(
            "Tell me long story (60 sentences)"
        ):
            print(message, end="", flush=True)
        await asyncio.sleep(1)
        async for message in chat.ask_question_stream(
            "Summaries the story in one sentence"
        ):
            print(message, end="", flush=True)
        await asyncio.sleep(1)
        async for message in chat.reask_question_stream(2):
            print(message, end="", flush=True)

asyncio.run(main())

If you have any questions or suggestions, feel free to tell me ^^
Have a good day =)

Yup, that's fine. since i'm not on computer right now I'll try later, you can merge it. ^^


operator mongodb-enterprise (1.17.1)

This PR has been created by MongoDB Release Automation Tool.
If additional details are needed, please contact any authorized
reviewer from MongoDB.

/hold

/retest

/close

/reopen


Adding multiplication arithmetic for RPN function framework

TODO: add multiply_mapper
Apply proc_macro to generate plus/minus/...mapper

RealMultiply
IntMultiply
IntUintMultiply

Signed-off-by: Iosmanthus Teng<EMAIL_ADDRESS>What have you changed? (mandatory)
Adding multiplication arithmetic
What are the type of changes? (mandatory)

New feature (a change which adds functionality)

How has this PR been tested? (mandatory)
passed unit test

/run-integration-tests

/run-auto-merge


Partial windows filesystem implementation

Implement the necessary os_ filesystem functions to enable successful WASI initialisation on Windows. Some small changes were also required to the sockets implementation to use the new windows_handle type. The remaining functions will be implemented in a future PR.

Closing this since we can open a PR to the main WAMR repo now.


from hibernate

Is this also possible or maybe there are plans to implement this...
for columns:
1)
@Pattern(regexp = "(STANDARD|GOOGLE|FACEBOOK)", message = "Value not supported/allowed. Available values are STANDARD, GOOGLE or FACEBOOK")

@Length(max=45, message="Allowed value length 1-45")

you can specify a @Column(length = {length}) as for validation for specific columns. For pattern checking you might mean a SQLite check() function and that is not currently supported. The @Pattern here may operate differently and sounds like an intriguing idea. No current plans to implement that aspect and not sure it's particular use.


Pausing media and then destroying app holds notification, and at the same time the media buttons do not respond

Version
Media3 1.2.1
More version details
No response
Devices that reproduce the issue
xiaomi 12, Android 13, MIUI Global 14.0.8
https://www.mi.com/ru/product/xiaomi-12/
Devices that do not reproduce the issue
many devices, for example: pixels
Reproducible in the demo app?
Yes
Reproduction steps
play media (shown notification)
pause
destroy app
notification stucked
Expected result
notification should cleared together with app
Actual result
notification stucked
Media
https://github.com/androidx/media/assets/44832968/0a528023-7ea7-447e-a2af-75c3b613d417
Bug Report

[ ] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

Thanks for your report!

destroy app

Can you elaborate how this happens?

Ah sorry, the screencast eludes it's by swiping away the app from recent tasks. I can n ot repro this on an emulator with API 33.
Can you please do a bug report just after this happens on this device and upload here?

@marcbaechinger send to<EMAIL_ADDRESS>also some interesting information: commercial player have not this behavior (for example: https://play.google.com/store/apps/details?id=musicplayer.musicapps.music.mp3player), but chrom browser have

Thanks for the bugreport. Difficult to say from the bug report I'm afraid.
Here is the log that shows when the app is killed by ActivityManager:
02-28 18:08:28.417  1000  2635  2879 I ProcessSceneCleaner: SwipeUpClean: kill procName=androidx.media3.demo.session info=AS:010
02-28 18:08:28.417  1000  2635  2879 I ActivityManager: Killing 7746:androidx.media3.demo.session/u0a663 (adj 0): SwipeUpClean
02-28 18:08:28.419  1000  2635  2879 I SmartPower.androidx.media3.demo.session/10663(7746): background->died(957ms) R(process died ) adj=0.
02-28 18:08:28.419  1000  2635  3811 I SmartPower: androidx.media3.demo.session/10663 state=inactive adj=0 proc size=1 move to died process died

on an emulator with Pixel this seems to be this line:
2024-02-28 16:45:55.374   616-1791  ActivityManager         system_server                        I  Killing 7668:androidx.media3.demo.session/u0a159 (adj 1001): remove task

If everything works as intended, then killing the app calls onTaskRemoved() and onDestroy() of the  service. This releases the session and the player and results in such a line in the logs:
2024-02-28 16:45:55.326  7668-7668  ExoPlayerImpl           androidx.media3.demo.session         I  Release 54df3b3 [AndroidXMedia3/1.3.0] [emu64x, sdk_gphone64_x86_64, Google, 33] [media3.common, media3.exoplayer, media3.decoder, media3.session, media3.datasource, media3.ui, media3.extractor]

I can't find this line in your bug report. I can't find the Init line either though :).
Instead I find many of these after the app got killed:
02-28 18:08:29.846  1000  2635  4318 E MediaSessionRecord: Remote failure in play.
02-28 18:08:29.846  1000  2635  4318 E MediaSessionRecord: android.os.DeadObjectException
02-28 18:08:29.846  1000  2635  4318 E MediaSessionRecord: 	at android.os.BinderProxy.transactNative(Native Method)
02-28 18:08:29.846  1000  2635  4318 E MediaSessionRecord: 	at android.os.BinderProxy.transact(BinderProxy.java:643)
02-28 18:08:29.846  1000  2635  4318 E MediaSessionRecord: 	at android.media.session.ISessionCallback$Stub$Proxy.onPlay(ISessionCallback.java:729)
02-28 18:08:29.846  1000  2635  4318 E MediaSessionRecord: 	at com.android.server.media.MediaSessionRecord$SessionCb.play(MediaSessionRecord.java:1330)
02-28 18:08:29.846  1000  2635  4318 E MediaSessionRecord: 	at com.android.server.media.MediaSessionRecord$ControllerStub.play(MediaSessionRecord.java:1687)
02-28 18:08:29.846  1000  2635  4318 E MediaSessionRecord: 	at android.media.session.ISessionController$Stub.onTransact(ISessionController.java:523)
02-28 18:08:29.846  1000  2635  4318 E MediaSessionRecord: 	at android.os.Binder.execTransactInternal(Binder.java:1290)
02-28 18:08:29.846  1000  2635  4318 E MediaSessionRecord: 	at android.os.Binder.execTransact(Binder.java:1249)

Which is when you try hitting the buttons on the leaked notification. It looks like a session is leaked after the service has been terminated.
From all this, my guess would be onTaskRemoved and onDestroy() is not called on this device. The different log files regarding ActivityManager indicates that the code running on that device is different from what AOSP code does.
I can't really help with this with the bug report only I think. We would need to test this with such a device to see what is going on. Can you check with a logline in DemoPlaybackService.onDestroy() and DemoPlaybackService.onTaskRemoved() if my guessing is correct, as in these log lines are never written to the logs when the ActivityManager kills the app?
If this is the case I wouldn't know how to fix that though. :( Not calling these life-cycle methods by the OS on that device would not give an app a chance to properly cleanup.

I can't really help with this with the bug report only I think. We would need to test this with such a device to see what is going on. Can you check with a logline in DemoPlaybackService.onDestroy() and DemoPlaybackService.onTaskRemoved() if my guessing is correct, as in these log lines are never written to the logs when the ActivityManager kills the app?

@marcbaechinger yes, that's it. methods onDestroy() and onTaskRemoved() are not called.

Internal bugref: b/328022018

I noticed the same in my app. Is this a bug in the library or something we're missing in our implementation?

@lucasiturbide On what device and with what Android version are you seeing this?

The media lib version is 1.2.1 and my device is a Pixel 6 Pro with Android 14

Then you are suffering from a bug in Android 14 that is reported internally already. Please see #805 which is tracking this here on GitHub.


Add configuration for disabling shared execution across users

WIP. To be discussed.

close this because we implemented shared execution.


Textarea Component

http://element.eleme.io/#/en-US/component/input - includes textarea support

Done


Add an Example for TaskService Constructor (String, String, String, String, Boolean)

Please add an example for TaskService Constructor (String, String, String, String, Boolean).
TODO (optional): Describe a specific scenario you would like to see addressed.
Help Topic: https://dahall.github.io/TaskScheduler/html/M_Microsoft_Win32_TaskScheduler_TaskService__ctor_1.htm

See https://github.com/dahall/TaskScheduler/wiki/TaskSecurity