Update .mailmap to consolidate contributors

Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

Merging despite the bogus build failures related to https://packages.atlassian.com/maven-external/com/atlassian/jira/jira-rest-java-client-api/5.2.2/jira-rest-java-client-api-5.2.2.pom not being available. This is a .mailmap file change only anyway.


how to configure the uvm path?

How to configure the uvm path to jump to uvm src?

Unfortunately the language server, presently, does not support verification constructs such as uvm logic.

@kkanhere is there any plan to support uvm?

Not in immediate future. But definitely open to a pull request


A question about whether to try other data sets.

Have you tried to verify the effect of the model on SNLI-VE dataset?

Hi @Decem-Y, we don’t have plans for it, esp because we focus on video-text tasks.

Hi @Decem-Y, we don’t have plans for it, esp because we focus on video-text tasks.

OK, thanks for your reply, but SNLI-VE is a fine-grained visual reasoning task to predict whether
the relationship between an image and a text is entailment, neutral, or contradictory. Maybe its test data has been reported to be noisy.


Mechanical keyboard components

Add SK6812Mini-E, reverse-mount Neopixel LED which is commonly used for per-key lighting. Add untested footprint.
Add Kailh switch socket, with an external footprint library dependency.
Refactor the WS2812 to extend a base Neopixel class, so the NeopixelArray can be used with the SK6812.
Add blank keyboard top-level board project.
Tested that the components do netlist correctly.

Interesting, it thinks something is weird with... the inductor? 😮
I think this might be the IDE's HDL compiler cache being in a bad state, I've seen that happen with changing branches though I'm not exactly sure what's going on here. If you empty the cache and rebuild do you still get the same error?

Okay yes it was the IDE cache messing up again.


info-window with lazy-init

So I am trying to get info-window working with lazy-init, the problem being that I cannot load the instance of getMap into the scope.
Not exactly sure how to use getMap and initMap in conjunction with each other, and suspect this would not be possible due to their nature.
http://plnkr.co/edit/zDuNZYaXbmFc7WgrPpSp?p=preview
As initMap doesn't return anything, or have a callback, unsure how to get the instance of map so I can use it with showInfoWindow
Have tried a few things, but usually end up with Uncaught TypeError: $scope.map.showInfoWindow is not a function
Any assistance would be much appreciated!

This is a bug.
I made a fix, but not coded yet.
http://plnkr.co/edit/8vHO4Jn6q6rKvfeJoWXZ?p=preview
I will let you know when this code is done to the repository.

thanks @allenhwkim, I will use the debug version from the plunkr for now! much appreciated

This has been resolved AFAIK.


[tool_crash] FileSystemException: Cannot open file, OS Error: The system cannot find the file specified., errno = 2

Command
flutter upgrade
flutter --no-color --no-version-check precache

## Steps to Reproduce
1. flutter upgrade

## Logs
FileSystemException: Cannot open file, OS Error: The system cannot find the file specified.
, errno = 2

#0      _File.throwIfError (dart:io/file_impl.dart:635:7)
#1      _File.openSync (dart:io/file_impl.dart:479:5)
#2      _File.readAsBytesSync (dart:io/file_impl.dart:539:18)
#3      ForwardingFile.readAsBytesSync (package:file/src/forwarding/forwarding_file.dart:95:62)
#4      ForwardingFile.readAsBytesSync (package:file/src/forwarding/forwarding_file.dart:95:62)
#5      _WindowsUtils.unzip (package:flutter_tools/src/base/os.dart:333:59)
#6      CachedArtifact._downloadArchive. (package:flutter_tools/src/cache.dart:651:16)
#7      CachedArtifact._withDownloadFile (package:flutter_tools/src/cache.dart:670:26)
#8      CachedArtifact._downloadArchive (package:flutter_tools/src/cache.dart:636:12)
#9      CachedArtifact._downloadZipArchive (package:flutter_tools/src/cache.dart:657:12)
#10     EngineCachedArtifact.updateInner (package:flutter_tools/src/cache.dart:795:13)

#11     CachedArtifact.update (package:flutter_tools/src/cache.dart:592:11)
#12     Cache.updateAll (package:flutter_tools/src/cache.dart:458:24)

#13     PrecacheCommand.runCommand (package:flutter_tools/src/commands/precache.dart:171:20)
#14     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:860:18)
#15     _rootRunUnary (dart:async/zone.dart:1198:47)
#16     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#17     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
#18     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
#19     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
#20     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#21     Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7)
#22     _rootRun (dart:async/zone.dart:1190:13)

[✓] Flutter (Channel stable, 1.20.2, on Microsoft Windows [Version 10.0.18363.1016], locale en-US)
• Flutter version 1.20.2 at C:\src\flutter
• Framework revision bbfbf1770c (2 weeks ago), 2020-08-13 08:33:09 -0700
• Engine revision 9d5b21729f
• Dart version 2.9.1
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
• Android SDK at C:\Users\Taneesha\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.1
• Java binary at: E:\Android St\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
✗ Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions.
[✓] Android Studio (version 4.0)
• Android Studio at E:\Android St
• Flutter plugin version 47.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[✓] VS Code (version 1.48.2)
• VS Code at C:\Users\Taneesha\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.13.2
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.

## Flutter Application Metadata
No pubspec in working directory.

How can this be fixed?

https://github.com/flutter/flutter/issues/54704
https://github.com/flutter/flutter/issues/52788
https://github.com/flutter/flutter/issues/40700


DataTables is rendered twice with Bootstrap

Hello,
I am trying to use DataTables with Flask+Bootstrap. When rendering "events" page the table is being rendered twice. The first time just as HTML table and the second time as a table with DataTable format (script executed). When I remove Bootstrap from the events template "{% extends "bootstrap/base.html" %}" then the DataTable is being rendered correctly.
Anyone can reproduce the effect with this simple project below:
# /testapp
#   +--- /app
#   |     +------ /templates
#   |     |           +------ events.html
#   |     +------ __init__.py
#   |     |
#   |     +------ events.csv
#   |
#   +---- run.py
#

The __ init __.py looks like:
from flask import Flask, render_template
from flask_bootstrap import Bootstrap

app = Flask(__name__, static_path = '/static', static_url_path = '/static')

bootstrap = Bootstrap(app)

@app.route('/')
@app.route('/events')
def events():
    return render_template('events.html', page='events')`

and the events.html:
{% extends "bootstrap/base.html" %}
{% block content %}

{% block scripts %}
    {{ super() }}
    <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs/dt-1.10.15/datatables.min.css"/>

{% endblock scripts %}

      Event
      Next Shutdown
      Next Startup

      1
      2017-08-20 15:06:18
      2017-08-20 16:06:00
      2017-08-21 07:30:00

      2
      2017-08-20 12:26:26
      2017-08-20 13:26:00
      2017-08-21 07:30:00

{% endblock %}

And the run.py is as simple as:
#!/home/pi/Projects/webapp/venv/bin/python
from app import app
app.run(host='<IP_ADDRESS>', debug=False)

Could anyone help to get the correct Datatable being rendered just once with Bootstrap ?
Thanks in advance!
PS,
Im using:
Flask 0.12
Python 3.4.2
Bootstrap 3.3.7
JQuery 1.12.4

live example?
generated html?

Sorry, but we cannot help with how-to or general troubleshooting issues here; only bug reports and feature requests. You'll want to ask around in the official Slack team or Stack Overflow. See our readme for more details.

I understand, sorry. I have written this issue in Stack Overflow.
Thanks.


UX Backlog | Design and implement 'add' menu for toolbar

Design 'add' menu for the toolbar from where people can choose what type of thing to add w/o having to go to the Home page or rely on inline + buttons.
This includes determining the UX for what happens when an action gets added. Where does it get added?

This has been done (a few times since this ticket was created)


Remove #[deny(warnings)]

The library currently does not currently build anymore, because upstream libraries have added new deprecation warnings. A deprecation warning should not break compilation though. There was a post on Reddit about this about a year ago, but I can't find it anymore.
I think adding a CI check step would be fine, but #[deny(warnings)] is a bit too much.
These are the warnings:
warning: use of deprecated item 'hal::digital::OutputPin': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
   --> src/lib.rs:111:6
    |
111 | impl hal::digital::OutputPin for Pin {
    |      ^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: #[warn(deprecated)] on by default

warning: use of deprecated item 'hal::digital::InputPin': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
   --> src/lib.rs:121:6
    |
121 | impl hal::digital::InputPin for Pin {
    |      ^^^^^^^^^^^^^^^^^^^^^^

warning: use of deprecated item 'hal::digital::InputPin::is_high': Deprecated because the methods cannot return errors. Users should use the traits in digital::v2.
   --> src/lib.rs:131:15
    |
131 |         !self.is_high()
    |               ^^^^^^^

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nastevens (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

That's actually an anti-pattern: https://github.com/rust-unofficial/patterns/blob/master/anti_patterns/deny-warnings.md

bors r=therealprof

Permission denied

Ah, looks like the decision to remove the HAL team as a maintainer has already been implemented. Sorry for the noise.

bors r=therealprof

The bors failure seems unrelated. What can we do to get this merged?

I think it is me messing up the process because I'm not really a authorised reviewer on this repository. ;) If @posborne would just do bors r+, that might end up fine. ;)

bors r+

Hm, okay, another problem with nightly... libc messed up:
error[E0425]: cannot find value `PTRACE_GETFPXREGS` in module `libc`
  --> /home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.11.0/src/sys/ptrace.rs:77:9
   |
77 |         PTRACE_GETFPXREGS,
   |         ^^^^^^^^^^^^^^^^^
help: a constant with a similar name exists
   |
77 |         PTRACE_GETFPREGS,
   |         ^^^^^^^^^^^^^^^^
help: possible candidate is found in another module, you can import it into scope
   |
3  | use sys::ptrace::Request::PTRACE_GETFPXREGS;

Hm, okay, another problem with nightly... libc messed up:

Why test this with nightly anyways? It compiles fine on stable.

@therealprof i ran into this today, tested to be resolved in https://github.com/nix-rust/nix/pull/1055, i've asked them to publish a release https://github.com/nix-rust/nix/pull/1061 which i guess will have to be individually bumped in sysfs_gpio, i2cdev and spidev and then updated here.

@rnestler it appears broken to me on both stable and nightly when cross compiling for arm. maybe we should add stable to the build matrix too?

bors r+


Ready for 0.16.1

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (69ac289) 99.95% compared to head (db1339f) 90.14%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #381      +/-   ##
==========================================
- Coverage   99.95%   90.14%   -9.81%
==========================================
  Files          21       21
  Lines        2233     2233
==========================================
- Hits         2232     2013     -219
- Misses          1      220     +219

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Submit a Cloud Definition

Do NOT copy/paste a definition from somewhere else. Read about the word you want to define and come up with your own definition. Copy/Paste submissions will be closed and not added.
Fill out the JSON with your submission:
    {
    "word": "",
    "content": "",
    "learn_more_URL":"",
    "tag":"",
    "abbreviation": "",
    "author_name":"",
    "author_link": ""
    }

Fill out the JSON below with the following.
Cloud Security Word (REQUIRED)
The word you are defining. Check this URL for all words we currently have.
Cloud security refers to the measures taken to protect sensitive data and systems hosted in the cloud computing environment. It involves a combination of policies, technologies, and controls implemented by cloud service providers and cloud users to secure the confidentiality, integrity, and availability of the data and resources hosted in the cloud. Content (REQUIRED)
The definition. No more than 3 sentences.
learn more URL (REQUIRED)
Website where people can visit to learn more about the word.
tag (REQUIRED and select one)
Tech category the word fits in. Options:

compute
security
service
general
analytics
developer tool
web
networking
database
storage
devops
ai/ml
identity
iot
monitoring
cost management
diaster recovery

abbreviation (OPTIONAL)
If the word is commonly abbreviated, please provide it. For example, command line interface is often abbreviated as CLI.
author name (REQUIRED)
Your name.
author link (REQUIRED)
The URL you want your name to link to.

This submission is empty. Please provide the definition and values in the json format above.

Closing due to inactivity, please feel free to reopen when you can, thank you.


Sync ruff config across repos

Description

Follow up to #963, this PR ensures that the ruff config is synced across repos so we don't have to repeat it (we'll also want to remove the .flake8 files in downstream repos too).
Testing Instructions

Merge and let the sync action run.
Checklist

[x] My pull request has a descriptive title (not a vague title like
Update index.md).
[x] My pull request targets the default branch of the repository (main) or
a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible
errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

On second thought, going to skip this actually because the ruff config will look quite a bit different for each repo. So no need!


Azure RMS AADRM.Format.ps1xml has expired signature

I tried to install latest (2.13.1) version of Azure AD RMS PS, but it failed as signature is expired.
PS C:\Program Files\WindowsPowerShell\Modules\AADRM\<IP_ADDRESS>> Get-AuthenticodeSignature .\AADRM.Format.ps1xml | Select *

SignerCertificate      : [Subject]
                           CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US

                         [Issuer]
                           CN=Microsoft Code Signing PCA 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US

                         [Serial Number]
                           33000000C4E989F87A8150E9FF0000000000C4

                         [Not Before]
                           8/11/2017 10:20:24 PM

                         [Not After]
                           8/11/2018 10:20:24 PM

                         [Thumbprint]
                           9ACA9419E53D3C9E56396DD2335FF683A8B0B8F3

TimeStamperCertificate : [Subject]
                           CN=Microsoft Time-Stamp Service, OU=Thales TSS ESN:70DD-4B5B-4568, OU=AOC, O=Microsoft
                         Corporation, L=Redmond, S=Washington, C=US

                         [Issuer]
                           CN=Microsoft Time-Stamp PCA 2010, O=Microsoft Corporation, L=Redmond, S=Washington, C=US

                         [Serial Number]
                           33000000B7F822147D0322FEFA0000000000B7

                         [Not Before]
                           10/3/2017 1:00:52 AM

                         [Not After]
                           1/3/2019 12:00:52 AM

                         [Thumbprint]
                           D5E3D0FE5936E4C264594907E9D7228CC745EA0D

Status                 : NotTrusted
StatusMessage          : File C:\Program Files\WindowsPowerShell\Modules\AADRM\<IP_ADDRESS>\AADRM.Format.ps1xml is signed
                         but the signer is not trusted on this system.
Path                   : C:\Program Files\WindowsPowerShell\Modules\AADRM\<IP_ADDRESS>\AADRM.Format.ps1xml
SignatureType          : Authenticode
IsOSBinary             : False

Can you update repository or route this to proper department? Not sure where this should be reported so you fix it?
Br.
Alex Pawlak

@officedocsbot unassign @e0i
@officedocsbot assign @yogkumgit

@officedocsbot assign @yogkumgit

Hello @AlexJPawlak thanks for your feedback.
Installed and verified with the same method as you, and got a Valid status.
Thank you

@get-itips  Thank you very much for the contribution and sharing this explanation. @AlexJPawlak
Hope this comment is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close


Bug 692329

Added privacy policy link

You'll need to do this in a localizable way.  This won't work, someone in #mozillians can help.

I thought that would be the case. Thanks for the feedback :)


Does this bot support dynamic grids?

Does this bot re-center the grid when there is a price trend? For example there are 4 orders above and below, if the price now moves 2 orders up, does the bot automatically add 2 new orders above and delete two orders from below? The idea is to not having to re-adjust the grid range

No. It does not support dynamic grids.
Please close the issue if I answered your question.


No animations/transitions

There should be animations when the overlay is shown and hidden, as well as when table entries are add/moved/removed.

No longer relevant for rebuilt


Set FlatButton Text Color

i write this code
button.setTextColor(Colors.White);
but returns

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setTextColor(int)' on a null object reference

ButtonFlat.java at line 18  ,  delete this code  TextView textButton;
and then this problem has been solve;

子类变量名和父类变量名重复,父类的textButton没有初始化

Thank you so much.


Added NetService project

Pull Request Description
Added NetService project. It builds and tests against 3.1, but on Linux it doesn't against 3.1.1 SR-4754.
Acceptance Criteria
To be accepted into the Swift source compatibility test suite, a project must:

[x] be an Xcode or swift package manager project
[x] support building on either Linux or macOS
[x] target Linux, macOS, or iOS/tvOS/watchOS device
[x] be contained in a publicly accessible git repository
[x] maintain a project branch that builds against Swift 3.1 compatibility mode
and passes any unit tests
[x] have maintainers who will commit to resolve issues in a timely manner
[x] be compatible with the latest GM/Beta versions of Xcode and swiftpm
[x] add value not already included in the suite
[x] be licensed with one of the following permissive licenses:

BSD
MIT
Apache License, version 2.0
Eclipse Public License
Mozilla Public License (MPL) 1.1
MPL 2.0
CDDL

[x] pass ./check NetService

Ensure project meets all listed requirements before submitting a pull request.

@swift-ci test


create Pod kafka-source-dispatcher-0 in StatefulSet kafka-source-dispatcher failed error: Pod "kafka-source-dispatcher-0" is invalid: spec.containers[0].volumeMounts[1].name: Not found: "contract-resources"

Describe the bug
kafka-source-dispatcher stateful set pods are not patched with configmap created
create Pod kafka-source-dispatcher-0 in StatefulSet kafka-source-dispatcher failed error: Pod "kafka-source-dispatcher-0" is invalid: spec.containers[0].volumeMounts[1].name: Not found: "contract-resources"
Expected behavior
kafka-source-dispatcher-0 configmap is automatically created for pod number 0
kafka-source-dispatcher-1 configmap is automatically created for pod number 1
To Reproduce

Create KafkaSource
Check kafka-source-dispatcher stateful set.

Knative release version
1.15.2
1.15.4
Additional context
Issue was already reported a couple of months ago, but no fix was provided.
https://github.com/knative-extensions/eventing-kafka-broker/issues/3995
Istio sidecars are enabled for stateful set

@stanislav-pimenov are you making any changes to the released YAMLs or just applying them as they are?
Can you share what's the output of this script
kubectl get namespace knative-eventing -oyaml
kubectl get mutatingwebhookconfiguration pods.defaulting.webhook.kafka.eventing.knative.dev -oyaml
kubectl get pods -n knative-eventing -oyaml
kubectl get statefulsets -n knative-eventing -oyaml

hi @pierDipi
Yes, I made a couple of changes.

namespace name is changed
For kafka-source-dispatcher stateful set: Istio sidecartinjection is enabled  with labels ( module istio-net is installed within serving namespace)

        sidecar.istio.io/inject: 'true'
        sidecar.istio.io/proxyMemoryLimit: 200m
        sidecar.istio.io/proxyCPULimit: 500Mi

Here is the requested output
kubectl get MutatingWebhookConfiguration pods.defaulting.webhook.kafka.eventing.knative.dev -oyaml
webhooks:
  - name: pods.defaulting.webhook.kafka.eventing.knative.dev
    sideEffects: None
    clientConfig:
      service:
        namespace: clustername-kn-eventing
        name: kafka-webhook-eventing
        path: /pods-defaulting
        port: 443
      caBundle: >-
    reinvocationPolicy: IfNeeded
    rules:
      - operations:
          - CREATE
          - UPDATE
        apiGroups:
          - ''
        apiVersions:
          - v1
        resources:
          - pods
          - pods/status
        scope: '*'
    matchPolicy: Equivalent
    namespaceSelector:
      matchLabels:
        kubernetes.io/metadata.name: knative-eventing
      matchExpressions:
        - key: webhooks.knative.dev/exclude
          operator: DoesNotExist
    admissionReviewVersions:
      - v1
      - v1beta1
    failurePolicy: Fail
    objectSelector:
      matchLabels:
        app.kubernetes.io/kind: kafka-dispatcher
    timeoutSeconds: 2

for the rest of the output let me upload as files.

namespace name is changed

the namespace name change will cause
    namespaceSelector:
      matchLabels:
        kubernetes.io/metadata.name: knative-eventing
      matchExpressions:
        - key: webhooks.knative.dev/exclude
          operator: DoesNotExist

to not be evaluated, changing the namespace name can be done but it's not as simple as changing the namespace

output for pods (cluster details removed. a little but obfuscated)
https://github.com/stanislav-pimenov/knative-samples/blob/main/kn-eventing-pods.yaml
for statefulset
https://github.com/stanislav-pimenov/knative-samples/blob/main/kn-eventing-statefulset.yaml
As soon as I manually add such volume everything is up and running
volumes:
        - name: contract-resources
          configMap:
            name: removeme-config

For you case, you will get the volume automatically on pod creation (not update or dangling) if you change the webhook configuration namespace selector to your namespace
    namespaceSelector:
      matchLabels:
        kubernetes.io/metadata.name: clustername-kn-eventing
      matchExpressions:
        - key: webhooks.knative.dev/exclude
          operator: DoesNotExist

if you change the webhook configuration namespace selector to your namespace

thx @pierDipi that worked for me! My fault, missed that selector during installation
We can close the ticket now.

@stanislav-pimenov just curious if you can share why changing the namespace name, so that we keep in your use case for the future

@stanislav-pimenov just curious if you can share why changing the namespace name, so that we keep in mind your use case in the future

some large corporate k8s clusters has naming conventions for the namespaces, so having mandatory prefix can be a rule

HI @pierDipi  I am still getting the same issue . "MountVolume.SetUp failed for volume "contract-resources" : configmap "kafka-source-dispatcher-0" not found"
In my case I have not modified the namespace and it is the same knative-eventing namespace. Output of my MWH is as below
Can you please help in identifying the issue. I am still using 1.14.1 knative
`apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"admissionregistration.k8s.io/v1","kind":"MutatingWebhookConfiguration","metadata":{"annotations":{},"labels":{"app.kubernetes.io/version":"1495831b701cee3c756fc3a21edbae15c36a9b74"},"name":"pods.defaulting.webhook.kafka.eventing.knative.dev"},"webhooks":[{"admissionReviewVersions":["v1","v1beta1"],"clientConfig":{"service":{"name":"kafka-webhook-eventing","namespace":"knative-eventing"}},"failurePolicy":"Fail","matchPolicy":"Equivalent","name":"pods.defaulting.webhook.kafka.eventing.knative.dev","namespaceSelector":{"matchLabels":{"kubernetes.io/metadata.name":"knative-eventing"}},"objectSelector":{"matchLabels":{"app.kubernetes.io/kind":"kafka-dispatcher"}},"reinvocationPolicy":"IfNeeded","sideEffects":"None","timeoutSeconds":2}]}
creationTimestamp: "2024-11-12T19:01:18Z"
generation: 3
labels:
app.kubernetes.io/version: 1495831b701cee3c756fc3a21edbae15c36a9b74
name: pods.defaulting.webhook.kafka.eventing.knative.dev
ownerReferences:

apiVersion: v1
blockOwnerDeletion: true
controller: true
kind: Namespace
name: knative-eventing
uid: b964f966-5877-48c1-ada2-ba456a582108
resourceVersion: "1355329407"
uid: d8eab53e-a047-4f95-a90d-fadfacd09bba
webhooks:
admissionReviewVersions:

v1
v1beta1
clientConfig:
caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNzakNDQWxpZ0F3SUJBZ0lRZGNxN1NEY013WE1USytZRWlWWDljVEFLQmdncWhrak9QUVFEQWpCTU1SUXcKRWdZRFZRUUtFd3RyYm1GMGFYWmxMbVJsZGpFME1ESUdBMVVFQXhNcmEyRm1hMkV0ZDJWaWFHOXZheTFsZG1WdQpkR2x1Wnk1cmJtRjBhWFpsTFdWMlpXNTBhVzVuTG5OMll6QWVGdzB5TkRFeE1USXhPVEF4TkRGYUZ3MHlOREV4Ck1Ua3hPVEF4TkRGYU1Fd3hGREFTQmdOVkJBb1RDMnR1WVhScGRtVXVaR1YyTVRRd01nWURWUVFERXl0cllXWnIKWVMxM1pXSm9iMjlyTFdWMlpXNTBhVzVuTG10dVlYUnBkbVV0WlhabGJuUnBibWN1YzNaak1Ga3dFd1lIS29aSQp6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUVtTDNYa2I4SnFNQzNwTDIyRTIrRklqM3c2cFBBU0ptdTBUMnBXcFA3CnZPUHBxaXI5OUtzaTM3TE1uUXBJSXN0bkdMNGlxQXBNSGpsSmZGN3BESm14L0tPQ0FSb3dnZ0VXTUE0R0ExVWQKRHdFQi93UUVBd0lDaERBZEJnTlZIU1VFRmpBVUJnZ3JCZ0VGQlFjREFRWUlLd1lCQlFVSEF3SXdEd1lEVlIwVApBUUgvQkFVd0F3RUIvekFkQmdOVkhRNEVGZ1FVY2NmQzI3UmhVOE4wK2xsdTFBU3c0ZXJ2M1NJd2diUUdBMVVkCkVRU0JyRENCcVlJV2EyRm1hMkV0ZDJWaWFHOXZheTFsZG1WdWRHbHVaNEluYTJGbWEyRXRkMlZpYUc5dmF5MWwKZG1WdWRHbHVaeTVyYm1GMGFYWmxMV1YyWlc1MGFXNW5naXRyWVdacllTMTNaV0pvYjI5ckxXVjJaVzUwYVc1bgpMbXR1WVhScGRtVXRaWFpsYm5ScGJtY3VjM1pqZ2pscllXWnJZUzEzWldKb2IyOXJMV1YyWlc1MGFXNW5MbXR1CllYUnBkbVV0WlhabGJuUnBibWN1YzNaakxtTnNkWE4wWlhJdWJHOWpZV3d3Q2dZSUtvWkl6ajBFQXdJRFNBQXcKUlFJaEFMTHAwekFvNEFPVzZ6MUxjdG5pZSsxeXQ0TWNLVGlrNUd0K2ZLLzQrajFRQWlCcjlYbkJkK0d5SjBLYwo0ajRkeld5V0pjRStJSkVzSE5RSlE1TEVDaHNKNEE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
service:
name: kafka-webhook-eventing
namespace: knative-eventing
path: /pods-defaulting
port: 443
failurePolicy: Fail
matchPolicy: Equivalent
name: pods.defaulting.webhook.kafka.eventing.knative.dev
namespaceSelector:
matchExpressions:

key: webhooks.knative.dev/exclude
operator: DoesNotExist
key: control-plane
operator: NotIn
values:

"true"

key: kubernetes.azure.com/managedby
operator: NotIn
values:

aks
matchLabels:
kubernetes.io/metadata.name: knative-eventing
objectSelector:
matchLabels:
app.kubernetes.io/kind: kafka-dispatcher
reinvocationPolicy: IfNeeded
rules:

apiGroups:

""
apiVersions:
v1
operations:
CREATE
UPDATE
resources:
pods
pods/status
scope: '*'
sideEffects: None
timeoutSeconds: 2
`

Hi @pierDipi
As @raswinraaj I have the same issue. Which version you are using? I'm using 1.15.0 knative

I also encountered the same issue. When applying the KafkaSource resource, the contract-resources could not be created properly:
create Pod kafka-source-dispatcher-0 in StatefulSet kafka-source-dispatcher failed error: Pod "kafka-source-dispatcher-0" is invalid: spec.containers[0].volumeMounts[1].name: Not found: "contract-resources"

Both the controller and webhook are running normally. Even after deleting the kafka-source-dispatcher StatefulSet and reapplying the KafkaSource, the same issue occurs.
Knative Version: v1.11.4


Errors reported in JSON response are ignored

It seems that in some cases Datadog API can return an error in a response with HTTP code 200. In this case the JSON response seems to have the status field set to error with the specific error returned in the error field. Here's an example: https://knyar.net/paste/raw/9d6b2d1a.txt
This behavior contradicts API documentation that says "API uses HTTP status codes to indicate the success or failure of a request". I have reported this issue to Datadog (issue 155764 that is probably only visible to me), and got the following response:

There is a larger discussion ongoing right now towards reworking the API I have added your notes and recommendations to this discussion, but as there is no development planned in the short term, I am going to mark this ticket as closed for now, but your details are still attached to this project and I will reach out once it is closer to development.

So it seems like they don't have any immediate plans to fix this. I've asked them to at least update API documentation to reflect this behavior, however this has not yet been done.
Currently this library does not handle errors communicated in such way, and returns an empty successful response. I believe we need to return an error instead.

@knyar thanks for this!
Could you please raise an issue at Datadog? It would be great, and probably trivial to fix  in their API.


fix(BPopover): remove hidden element from dom

works with overflow: scroll + container="body"
fixes #1044 problem that @aki77 has.
also use the RenderOrSkip component for popover.

@VividLemon is there some problem with this pr? My other stuff is waiting for this to be committed so there isn't so many conflicts.

I thought you had noticed that it doesn't build

I thought you had noticed that it doesn't build

I just thought that nuxt build was broken in main since it hasn't build on my machine in few other branches.
I get errors like:
@bootstrap-vue-next/nuxt:build: [nitro]  ERROR  Error: ENOENT: no such file or directory, realpath '--path--/bootstrap-vue-3/node_modules/.pnpm/vue@3.2.47/node_modules/@vue/server-renderer'
@bootstrap-vue-next/nuxt:build:
@bootstrap-vue-next/nuxt:build:
@bootstrap-vue-next/nuxt:build: undefined
@bootstrap-vue-next/nuxt:build:
@bootstrap-vue-next/nuxt:build:
@bootstrap-vue-next/nuxt:build:  ERROR  ENOENT: no such file or directory, realpath '--path--/bootstrap-vue-3/node_modules/.pnpm/vue@3.2.47/node_modules/@vue/server-renderer'
@bootstrap-vue-next/nuxt:build:
@bootstrap-vue-next/nuxt:build:
@bootstrap-vue-next/nuxt:build:
@bootstrap-vue-next/nuxt:build:  ELIFECYCLE  Command failed with exit code 1.
@bootstrap-vue-next/nuxt:build:  ELIFECYCLE  Command failed with exit code 1.
@bootstrap-vue-next/nuxt:build: ERROR: command finished with error: command (--path--/bootstrap-vue-3/packages/nuxt) pnpm run build exited (1)

I've tried to reinstall node_modules etc...

I upgraded pnpm, nuked the pnpm cache, nuked node_modules again, and now build works... oh boy! 😅

I upgraded pnpm, nuked the pnpm cache, nuked node_modules again, and now build works... oh boy! 😅

https://github.com/bootstrap-vue/bootstrap-vue-next/pull/1054/commits/5ac58b8296e23c53566592954009c44b905e86fa did already pass though. What was the issue?

for some reason my local node_modules/pnpm cache was broken in some weird way that it could not build nuxt module.

Sometimes you just need to start anew


SQL Server Datetime read_sql leads to PanicException

What language are you using?
Python
What version are you using?
Python 3.10.14
What database are you using?
Microsoft SQL Server (ver. 15.00.4360)
What dataframe are you using?
Arrow
Can you describe your bug?
I get an "panicexception: out of range Datetime. This happens since connectorx version 0.3.3. Reverting back to version 0.3.2 resolves the issue.
What are the steps to reproduce the behavior?
Getting a table from SQL Server with the following settings:
cx.read_sql(
conn='mssql://etcetera',
query='select * FROM [dbo].[transactions]',
return_type="arrow2",
)
Database setup if the error only happens on specific data or data type
Happens on datetime and datetime2 in SQL Server
Table schema and example data
Example query / code
See above
What is the error?
pyo3_runtime.PanicException: out of range DateTime

I had the same issue. Downgrading to version 0.3.2 fixed it
My error:
thread '<unnamed>' panicked at \connector-x\connector-x\connectorx\src\destinations\arrow2\arrow_assoc.rs:312:36: out of range DateTime

We're seeing the same error on Oracle for both pandas and arrow2 return types. The error doesn't occur for every table with a datetime field (for example "SELECT SYSDATE FROM dual" works fine). Can confirm that the errors don't occur after downgrading to 0.3.2
In [4]: cx.read_sql(dwhcosu_conn, "select * from sysadm.psxlatitem")
thread '<unnamed>' panicked at src\pandas\pandas_columns\datetime.rs:84:44:
out of range DateTime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---------------------------------------------------------------------------
PanicException                            Traceback (most recent call last)
Cell In[4], line 1
----> 1 cx.read_sql(dwhcosu_conn, "select * from sysadm.psxlatitem")

File ~\scoop\apps\miniconda3\current\envs\dbt_af39_env\lib\site-packages\connectorx\__init__.py:364, in read_sql(conn, query, return_type, protocol, partition_on, partition_range, partition_num, index_col)
    361 if return_type in {"modin", "dask", "pandas"}:
    362     try_import_module("pandas")
--> 364     result = _read_sql(
    365         conn,
    366         "pandas",
    367         queries=queries,
    368         protocol=protocol,
    369         partition_query=partition_query,
    370     )
    371     df = reconstruct_pandas(result)
    373     if index_col is not None:

PanicException: out of range DateTime

In [5]: cx.read_sql(dwhcosu_conn, "select sysdate from dual")
Out[5]:
              SYSDATE
0 2024-05-24 13:22:33

Seems like it is related to the update for the new datetime api. Can you provide a minimum reproducible example for this? (Mainly the data insertion for the table creation)

Can you try out the new alpha version 0.3.4a1 to see whether it fixes the issue?

I will close it for now but feel free to open it if you find any issue with 0.3.4a1.

@wangxiaoying Hello,
this is easily reproducuble on MS SQL, e.g.
CREATE TABLE [tempdb].[testing].[test_date_x] (d DATE);

INSERT INTO [tempdb].[testing].[test_date_x] (d) VALUES ('1601-01-01')

And then:
import connectorx as cx

urlschema = "mssql"
username = "SA"
password = "secret"
host = "<IP_ADDRESS>"
port = 1433
database = "tempdb"
dsn = f"{urlschema}://{username}:{password}@{host}:{port}/{database}"
query = "SELECT * FROM [tempdb].[testing].[test_date_x]"
table = cx.read_sql(dsn, query)
print(table)

With dates like 1980-01-01, 2024-01-01 works just fine.

@wangxiaoying Using alpha releases 0.3.4a1 .. 0.3.4a2 also does not help.


Require Background Exception Handler

The fact that BosunReporter has a background exception handler isn't even documented at the moment. Yet, it can crash your entire process if it's not set.
The next major version of BosunReporter should require it, rather than making it optional.

Released in 4.0.0


Add more details about setting up OAuth application

Signed-off-by: guxiaoyang_s20_307<EMAIL_ADDRESS>Fixes : [#137 ]
Description :
Update the README about OAuth setup instructions for Casbin Dashboard.
reference.
Refer to this comment.

Screenshot of changes :

Please ensure Checkmark the following :

[x] - Tested Localy
[x] - Checked in IE11 and Firefox
[ ] - Checked in mobile
[ ] - Backend work
[ ] - Frontend work
[ ] - Bug Fixes
[x] - Enhancements

@hsluoyz Please review.


remove unnecessary var from numerator and denominator in geometic equation and tidy up /algorithm code

There is an unnecessary var being used in the geometric equation, I've removed it and tidied up the code. Note there are tests to cover the geometric equation, them passing helps prove it's the same equation with this var removed.
Here is some handwritten maths explaining why the max need not live at the top and bottom of the fraction, it just cancels out. I start with what we used to have and finish with what this PR changes to.

Can we merge this now?

What about now?


Add async/await pattern to API calls

As a developer, I want the APIs to return a specific value, instead of passing callbacks as parameters.
Use a async/await pattern to return async values.
Acceptance criteria
1 - All API calls working with async/await


remove multicluster label

Signed-off-by: su225<EMAIL_ADDRESS>Please provide a description of this PR:
Fixes https://github.com/istio/istio/issues/34517
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[X] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@su225: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

lint_istio
d1133e1ee0a3ca92a1d9543b69799e81c5ddb2a9
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@su225: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

lint_istio
d1133e1ee0a3ca92a1d9543b69799e81c5ddb2a9
link
/test lint_istio

unit-tests_istio
d1133e1ee0a3ca92a1d9543b69799e81c5ddb2a9
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@su225: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
17fdfb6364e5ce55d3e3882558522f8df7374be1
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_istio


Wrong architecture detected for library install with Nix on M1

I discover a niche problem with uv in my use case with Nix on MacOS M1 machine.
I first install uv using nix command:
nix profile install nixpkgs#uv

The version of uv on nix package is 0.1.8. Then I create a venv using uv:
uv venv --seed

And I activate the venv. I tried to open up a .ipynb in VSCode and install the ipykernel with:
uv pip install ipykernel

And try to run the code inside the Jupyter Notebook, but then I got this error.
The file '.venv/lib/python3.10/site-packages/psutil/_psutil_osx.abi3.so, 0x0002' seems to be overriding built in modules and interfering with the startup of the kernel. Consider renaming the file and starting the kernel again.

I then tried to install:
uv pip install jupyter

I have a problem where the package installed is in x86 format not arm64 so it is not compatible and cannot be run. The same happened with the Gradio package.
I delete the old .venv and created a brand new .venv this time I use pip inside the venv to install all the package, it run fine with the correct package architecture.
I then uninstall uv from my nix environtment, install uv using the method recommended on the page instead, and now everything work as intended.
I think there is something happened when uv is installed onto nix in MacOS M1 that caused it to mistake the arch as x86 meanwhile it is actually arm64. It is quite a niche problem, hope you can get a look into it as other might come pass it in the future.

Do you see the correct behavior if you install uv outside of nix? (We fixed this bug in https://github.com/astral-sh/uv/pull/1843, but that went out in v0.1.7, so perhaps there's something nix-specific there.)

Do you see the correct behavior if you install uv outside of nix? (We fixed this bug in #1843, but that went out in v0.1.7, so perhaps there's something nix-specific there.)

Yes the correct behaviour is observed outside of nix using the method recommended to install for MacOS using the install.sh script. It only happened when I am trying to use uv inside nix or a nix shell.

Great, thanks! Sounds like it's time for me to install Nix...

I actually think this might be fixed. Can you give it a try with the latest release?

Hi @charliermarsh, it works!!!
Thanks a lot for the help. I have been recommending everyone that I know of and all the people in my workshop to use uv recently (albeit windows is a real headache with the path resolution for beginner in my workshop), absolutely love what you all are building.
Keep up the good work, I am waiting for the Cargo for Python dream soon!


Clear sessions command

What would you like to be added:
Add a clear sessions subcommand.
Why is this needed:

/close in favor of https://github.com/gardener/gardenctl-v2/issues/134


BUG: VS Code extension swallows config errors

Found this error in Log (Extension Host) while the Glint Language Server log shows no output:
[2022-05-04 10:46:27.047] [exthost] [error] Error: Unable to resolve environment 'ember-loose' from /Users/me/Code/my-app
    at locateEnvironment (/Users/me/Code/my-app/node_modules/@glint/config/src/environment.ts:299:9)
    ...etc

Thanks for reporting this, @gitKrystan, and sorry for the confusion it caused!


SW-2358 Adjust image thumbnail display style (#810)

scale image
fit image in parent box
center image
as per design changes

this is meant to amend the commit message only.. but looks like this could mess up the commit history if someone had already rebased. closing for now, not worth the correction


Update scala-library, scala-reflect to 2.12.14

Updates

org.scala-lang:scala-library
org.scala-lang:scala-reflect

from 2.12.13 to 2.12.14.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.12.13).
You might want to review and update them manually.
.github/workflows/ci.yml
README.md

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang" } ]

labels: library-update, semver-patch, old-version-remains

Codecov Report

Merging #981 (7af3cb1) into develop (8e8c93c) will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #981      +/-   ##
===========================================
+ Coverage    89.63%   89.66%   +0.03%
===========================================
  Files          119      119
  Lines         9871     9871
  Branches       511      511
===========================================
+ Hits          8848     8851       +3
+ Misses        1023     1020       -3

Impacted Files
Coverage Δ

...scala/com/twitter/algebird/PredecessibleLaws.scala
71.42% <0.00%> (-14.29%)
:arrow_down:

.../main/scala/com/twitter/algebird/Successible.scala
87.50% <0.00%> (-4.17%)
:arrow_down:

.../main/scala/com/twitter/algebird/Applicative.scala
51.72% <0.00%> (-3.45%)
:arrow_down:

...re/src/main/scala/com/twitter/algebird/QTree.scala
78.57% <0.00%> (-1.20%)
:arrow_down:

.../scala/com/twitter/algebird/immutable/BitSet.scala
96.78% <0.00%> (ø)

.../main/scala/com/twitter/algebird/BloomFilter.scala
95.13% <0.00%> (+0.88%)
:arrow_up:

...src/main/scala/com/twitter/algebird/Interval.scala
83.47% <0.00%> (+6.08%)
: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 8e8c93c...7af3cb1. Read the comment docs.


Feature/async support

This the first part of #77. Added an async session.

this looks good!

what do you want to do next?

Next, I'm thinking of making the async version of some methods on (BaseParser, HTML). Also, don't you this is getting quite big for a single file package?


Create a simpler translate method

Currently, the Translate method takes an array of Strings and returns an array of Strings. It might be easier for our users (in the assumed use case) to simply provide a String and return a String.
Take the current:
public func translate(text: [String], source: String, target: String,
        completionHandler: ([String]?, NSError?) -> ()) {

and add:
public func translate(text: String, source: String, target: String,
        completionHandler: (String?, NSError?) -> ()) {

Ready for acceptance with 197125d4d800d0543e4abfb499622820fa2812f7


feat: migrate spec dir

Current dependencies on/for this PR:

main

PR #154   👈

This comment was auto-generated by Graphite.


Improve coverage of tigl api

The api itself is quite badly tested. We have a line coverage of only 35%.
It is best to create a separate unit test suite just for api testing. This we can keep the fast unit tests and have the possibly slower api tests separately.

I would argue that this has been resolved. We don't have seperate API tests and unit tests, but we have seperate unit and integration tests. Also, the line coverage has improved since the issue was opened and we are tracking coverage with codecov.


fix(driver): CC variable for debian

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?

/area driver-kmod

Does this PR require a change in the driver versions?
What this PR does / why we need it:
In Debian 12 we happen to have CC= gcc-12, so we have to wrap it in quotes when setting it to the configure system env
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: deepskyblue86
Once this PR has been reviewed and has the lgtm label, please assign hbrueckner for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

driver/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: deepskyblue86, FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

driver/OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 07fefea88b460c4f46bae9ba687d077ce8363909

/milestone 0.15.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: deepskyblue86, FedeDP, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

driver/OWNERS [FedeDP,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Cannot upgrade minor version package in air gap environment

Describe the issue
In air gap environment, using an http repo with the same structure as the official confluent repo containing all minor version, is not possible upgrade from 6.2.x to 6.2.x+1
To Reproduce
Steps to reproduce the behaviour:

Create httpd repository with following structure:

6.2/
  | --- ...
  | --- confluent-rest-utils-6.2.0-1.noarch.rpm
  | --- confluent-schema-registry-6.2.0-1.noarch.rpm
  | --- confluent-security-6.2.0-1.noarch.rpm
  | --- confluent-server-6.2.0-1.noarch.rpm
  | --- ...

Create custom .repo file with following content:

[Confluent]
name=Confluent repository
baseurl=https://httpd.repo.io/rpm/6.2
gpgcheck=0
enabled=1

Install confluent platform with cp-ansible (6.2.0-post). Success !
After installation, update the httpd repo with minor version package (6.2.1); and update metadata

6.2/
  | --- ...
  | --- confluent-rest-utils-6.2.0-1.noarch.rpm
  | --- confluent-rest-utils-6.2.1-1.noarch.rpm
  | --- confluent-schema-registry-6.2.0-1.noarch.rpm
  | --- confluent-schema-registry-6.2.1-1.noarch.rpm
  | --- confluent-security-6.2.0-1.noarch.rpm
  | --- confluent-security-6.2.1-1.noarch.rpm
  | --- confluent-server-6.2.0-1.noarch.rpm
  | --- confluent-server-6.2.1-1.noarch.rpm
  | --- ...

try to update to cp-ansible 6.2.1 with same custom .repo file used in step 3

Expected behaviour
cp-ansible update package version and install confluent platform 6.2.1.
Current behaviour
dnf cannot find package with version 6.2.1.
Inventory File
Inventory file and repo file are not changed from 6.2.0 to 6.2.1. we use the following vars in inventory to retrive rpm from custom repo:
repository_configuration: custom
custom_yum_repofile_filepath: /root/httpd-confluent.repo

Environment (please complete the following information):

OS: [RHEL 8.1]
CP-Ansible Branch: [6.2.0-post and 6.2.1]
Ansible Version [ansible 2.9.6]

Additional context
To resolve the issue we manually type on all confluent platform hosts:
$ dnf clean all
$ dnf makecache

And restart upgrade.

@22RC It seems this fix is causing issues, filling up the disk on hosts unnecessarily. See https://github.com/confluentinc/cp-ansible/pull/830
Can we think of another solution for your issue?

It seems that this has been resolved with https://github.com/confluentinc/cp-ansible/pull/830
Please reopen if that's not the case

Hi, i want to re-open this issue because we stumbled on following error during an fresh installations via cp-ansible:
<inf-kr-t01.syssede.systest.sanpaoloimi.com> (0, b'/root\n', b'')
<inf-kr-t01.syssede.systest.sanpaoloimi.com> ESTABLISH SSH CONNECTION FOR USER: None
<inf-kr-t01.syssede.systest.sanpaoloimi.com> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/59bd345a32"' inf-kr-t01.syssede.systest.sanpaoloimi.com '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1712231769.4379592-1846660-131430882442717 `" && echo ansible-tmp-1712231769.4379592-1846660-131430882442717="` echo /root/.ansible/tmp/ansible-tmp-1712231769.4379592-1846660-131430882442717 `" ) && sleep 0'"'"''
<inf-kr-t01.syssede.systest.sanpaoloimi.com> (0, b'ansible-tmp-1712231769.4379592-1846660-131430882442717=/root/.ansible/tmp/ansible-tmp-1712231769.4379592-1846660-131430882442717\n', b'')
Using module file /data/ansible/lib64/python3.6/site-packages/ansible/modules/dnf.py
<inf-kr-t01.syssede.systest.sanpaoloimi.com> PUT /root/.ansible/tmp/ansible-local-184203333bjn02i/tmpl_repb4h TO /root/.ansible/tmp/ansible-tmp-1712231769.4379592-1846660-131430882442717/AnsiballZ_dnf.py
<inf-kr-t01.syssede.systest.sanpaoloimi.com> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/59bd345a32"' '[inf-kr-t01.syssede.systest.sanpaoloimi.com]'
<inf-kr-t01.syssede.systest.sanpaoloimi.com> (0, b'sftp> put /root/.ansible/tmp/ansible-local-184203333bjn02i/tmpl_repb4h /root/.ansible/tmp/ansible-tmp-1712231769.4379592-1846660-131430882442717/AnsiballZ_dnf.py\n', b'')
<inf-kr-t01.syssede.systest.sanpaoloimi.com> ESTABLISH SSH CONNECTION FOR USER: None
<inf-kr-t01.syssede.systest.sanpaoloimi.com> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/59bd345a32"' inf-kr-t01.syssede.systest.sanpaoloimi.com '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1712231769.4379592-1846660-131430882442717/ /root/.ansible/tmp/ansible-tmp-1712231769.4379592-1846660-131430882442717/AnsiballZ_dnf.py && sleep 0'"'"''
<inf-kr-t01.syssede.systest.sanpaoloimi.com> (0, b'', b'')
<inf-kr-t01.syssede.systest.sanpaoloimi.com> ESTABLISH SSH CONNECTION FOR USER: None
<inf-kr-t01.syssede.systest.sanpaoloimi.com> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/59bd345a32"' -tt inf-kr-t01.syssede.systest.sanpaoloimi.com '/bin/sh -c '"'"'/usr/bin/python /root/.ansible/tmp/ansible-tmp-1712231769.4379592-1846660-131430882442717/AnsiballZ_dnf.py && sleep 0'"'"''
<inf-kr-t01.syssede.systest.sanpaoloimi.com> (1, b'\x1b[?25l| Fetching certificate serial numbers\r\x1b[?25h\x1b[0K\r\x1b[?25l| Checking server status\r\x1b[?25h\x1b[0K\r\x1b[?25l| Fetching content for a certificate\r\x1b[?25h\x1b[0K\r\x1b[?25l| Fetching content overrides\r\x1b[?25h\x1b[0K\r\r\n{"results": [], "failed": true, "msg": "Failed to download packages: confluent-common-7.6.0-1.noarch: Cannot download, all mirrors were already tried without success", "exception": "  File \\"/tmp/ansible_ansible.legacy.dnf_payload_6xvcmr18/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py\\", line 1213, in ensure\\n  File \\"/usr/lib/python3.9/site-packages/dnf/base.py\\", line 1309, in download_packages\\n    self._download_remote_payloads(payloads, drpm, progress, callback_total)\\n  File \\"/usr/lib/python3.9/site-packages/dnf/base.py\\", line 1238, in _download_remote_payloads\\n    raise dnf.exceptions.DownloadError(errors._irrecoverable())\\n", "invocation": {"module_args": {"name": ["confluent-common-7.6.0-1", "confluent-ce-kafka-http-server-7.6.0-1", "confluent-server-rest-7.6.0-1", "confluent-telemetry-7.6.0-1", "confluent-server-7.6.0-1", "confluent-rebalancer-7.6.0-1", "confluent-security-7.6.0-1"], "state": "latest", "allow_downgrade": false, "autoremove": false, "bugfix": false, "disable_gpg_check": false, "disable_plugin": [], "disablerepo": [], "download_only": false, "enable_plugin": [], "enablerepo": [], "exclude": [], "installroot": "/", "install_repoquery": true, "install_weak_deps": true, "security": false, "skip_broken": false, "update_cache": false, "update_only": false, "validate_certs": true, "lock_timeout": 30, "allowerasing": false, "nobest": false, "conf_file": null, "disable_excludes": null, "download_dir": null, "list": null, "releasever": null}}}\r\n', b'Shared connection to inf-kr-t01.syssede.systest.sanpaoloimi.com closed.\r\n')
<inf-kr-t01.syssede.systest.sanpaoloimi.com> Failed to connect to the host via ssh: Shared connection to inf-kr-t01.syssede.systest.sanpaoloimi.com closed.
<inf-kr-t01.syssede.systest.sanpaoloimi.com> ESTABLISH SSH CONNECTION FOR USER: None
<inf-kr-t01.syssede.systest.sanpaoloimi.com> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o 'ControlPath="/root/.ansible/cp/59bd345a32"' inf-kr-t01.syssede.systest.sanpaoloimi.com '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1712231769.4379592-1846660-131430882442717/ > /dev/null 2>&1 && sleep 0'"'"''
<inf-kr-t01.syssede.systest.sanpaoloimi.com> (0, b'', b'')
The full traceback is:
  File "/tmp/ansible_ansible.legacy.dnf_payload_6xvcmr18/ansible_ansible.legacy.dnf_payload.zip/ansible/modules/dnf.py", line 1213, in ensure
  File "/usr/lib/python3.9/site-packages/dnf/base.py", line 1309, in download_packages
    self._download_remote_payloads(payloads, drpm, progress, callback_total)
  File "/usr/lib/python3.9/site-packages/dnf/base.py", line 1238, in _download_remote_payloads
    raise dnf.exceptions.DownloadError(errors._irrecoverable())
failed: [inf-kr-t01.syssede.systest.sanpaoloimi.com] (item=confluent-security) => {
    "ansible_loop_var": "item",
    "attempts": 5,
    "changed": false,
    "invocation": {
        "module_args": {
            "allow_downgrade": false,
            "allowerasing": false,
            "autoremove": false,
            "bugfix": false,
            "conf_file": null,
            "disable_excludes": null,
            "disable_gpg_check": false,
            "disable_plugin": [],
            "disablerepo": [],
            "download_dir": null,
            "download_only": false,
            "enable_plugin": [],
            "enablerepo": [],
            "exclude": [],
            "install_repoquery": true,
            "install_weak_deps": true,
            "installroot": "/",
            "list": null,
            "lock_timeout": 30,
            "name": [
                "confluent-common-7.6.0-1",
                "confluent-ce-kafka-http-server-7.6.0-1",
                "confluent-server-rest-7.6.0-1",
                "confluent-telemetry-7.6.0-1",
                "confluent-server-7.6.0-1",
                "confluent-rebalancer-7.6.0-1",
                "confluent-security-7.6.0-1"
            ],
            "nobest": false,
            "releasever": null,
            "security": false,
            "skip_broken": false,
            "state": "latest",
            "update_cache": false,
            "update_only": false,
            "validate_certs": true
        }
    },
    "item": "confluent-security",
    "msg": "Failed to download packages: confluent-common-7.6.0-1.noarch: Cannot download, all mirrors were already tried without success",
    "results": []
}

I also see that in ansible's yum module the update_cache parameter was set to false by default, this mean that if i have an old metadata cache on yum folder the new metadata will not be present during the download.
To solve this issue we had to re-build the yum cache dnf makecache.
I ask you to review the reasons why the yum cache rebuild task was removed from the playbook with #830.
If the problem notice in #380 is only due to "capacity" of fs or "time to install", I think it needs to be looked at.


Execution stopped if package file is modified.

While a notebook is being run, if a file is opened from the same directory or the tab is switched to an already open tab of a file in the same directory the execution appears to be halted. In reality, the last run cell is still running as normal and if it is run again, it will be run again and with extra outputs accordingly. The same behavior appears when switching tabs on the terminal panel.
If a cell is run and this happens, and before it finishes, another cell is run, the output will be displayed in that cell when the previous one finishes.
Environment data

VS Code version: 1.57.0-insider (user setup)
Jupyter Extension version: v2021.6.838387092
Python Extension version: v2021.6.829598502-dev
OS: Windows_NT x64 10.0.19041
Python version: python 3.8.8
Type of virtual environment used : conda 4.10.1
Jupyter server running: Local

It may be related to #5641 as the behavior is very similar, in that it is a display issue of the cells being run and the output placement.

Hmm, I'm unable to repro this at my end.
Though I can see that the interrupt button  is missing.

I'm assuming the issues are related, lets leave this open, & I'll file an issue upstream against VS Code.

Upstream issue https://github.com/microsoft/vscode/issues/123830

Hmm, I'm unable to repro this at my end.
Though I can see that the interrupt button is missing.

I am experiencing almost the same issue. If you take a closer look the execution time is missing as well as the top sliding blue bar. Though in my case I also have the rotating arrows missing.

I'm assuming the issues are related, lets leave this open, & I'll file an issue upstream against VS Code.
@grudloff I'm sorry about this issue, it seems to be an upstream (VS Code) bug.

No problem. Thanks a lot for the help!


How to evaluate the result with color labels?  Or how to convert the color results into label map?

This is a mapping relationships between the colors and labels in helpers/labels.py.  You can use that to  covert the color results into label map.

Also note that the "*Ids.png" provide IDs directly.


chore: prep for 8.58.0

This PR resolves []
Description
Prep for 8.58.0
Seems like the auto generated bump didn't work this time around, not sure if it is related with AppStore not approving the app yet.

#nochangelog

Warnings

:warning:

✅ No changelog changes

  Generated by :no_entry_sign: dangerJS against efc7628bbea7654b6e41424de314b256a05c586b


transaction performance tracking -- streamer stage

Problem
Enable the system to track transaction processing performance through various stage based on probability. This is the resubmit of the PR https://github.com/solana-labs/solana/pull/34789 against Agave for the first part: streamer only to reduce PR size
Summary of Changes
Based on the https://docs.google.com/document/d/1ig1rC0dk-ddi33JIqG9EZ4ZSq9xAJpT9fQTPaZFi_vw/edit.
We use a randomly generated 12 bits integer as a mask to match the transaction's signature. If it is matched, we mark the packet for tracking for performance in the Meta's mask. This is used efficiently down stream without doing mask matching. For these matched packets we report processing time for: fetch, sigverify and banking stage.

Codecov Report
Attention: Patch coverage is 81.19658% with 22 lines in your changes are missing coverage. Please review.

Project coverage is 81.9%. Comparing base (b3fd87f) to head (7651985).

Additional details and impacted files
@@            Coverage Diff            @@
##           master     #257     +/-   ##
=========================================
- Coverage    81.9%    81.9%   -0.1%
=========================================
  Files         837      838      +1
  Lines      226792   226910    +118
=========================================
+ Hits       185795   185878     +83
- Misses      40997    41032     +35

One one of your PR's doing similar things, I had a comment offering an alternative approach but you must not have seen it:
https://github.com/anza-xyz/agave/pull/202#issuecomment-2015771900
I did end up building this branch, and I instrumented out the TVU path. I think this approach is better because we get every packet and this approach easily scales to doing the same counting down the processing path. Ie, you can see that I measure the age at 2 spots in my branch. What do you think about this approach @lijunwangs ?

One one of your PR's doing similar things, I had a comment offering an alternative approach but you must not have seen it: #202 (comment)
I did end up building this branch, and I instrumented out the TVU path. I think this approach is better because we get every packet and this approach easily scales to doing the same counting down the processing path. Ie, you can see that I measure the age at 2 spots in my branch. What do you think about this approach @lijunwangs ?
Here is that branch that does this for TVU path; I was reporting metrics internally for a node: https://github.com/anza-xyz/agave/compare/master...steviez:timestamp_packets?expand=1

I thought about the approach  as well -- it is simpler.  But I had two concerns -- 1. it changed the public Meta struct declared in the SDK and case compatibility issues.  2. The extra storage overhead of storing this information in every packet we handle through the stages while we are only interested in certain samples of the packets.
Beside, this change does not preclude adopting your proposal if we have a consensus doing so in the future. The changes I have here is very limited to streamer itself. If we were to change to using Meta to store the information, we could simply change the storage from PacketAccumulator to it. That what I meant by we can iterate it. For now we really need to capture some information in the streamer layer on the latency this fills the critical gap.


Automated Package Upgrade

:tada: This PR is included in version 25.3.19 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add beforeunload

Hrm, I just saw the deprecated keys conversation in chat, and it seems like this feature should've given a warning or failure? Maybe I didn't see it, if just a warning.
Here we've got a non-deprecated interface where the implementation key is deprecated.
MDN doesn't mention deprecation, just recommends using other approaches.
Caniuse highlights the deprecation in the window implementation, but not for the interface.
Ok, just a sub-key is deprecated. Neither the interface or implementation are.
Will include it, commented out, with an explanation.
Edit again again:

added 4 subkeys from BCD
3 are deprecated
1 is not, but makes the feature baseline false b/c Safari iOS

And I think that's seems right. Using this feature in the modern way is not baseline at this time.
Having a better explicit way to park deprecations would be good to figure out.

Using this feature in the modern way is not baseline at this time.

I agree with this assessment. This might be a good candidate for Interop... 🤔

Thanks for review @jamesnw. Merging, but also poking @ddbeck for his thoughts on how this handled the deprecated keys. Having them in-place adjacent to their fellow keys is good for visibility for future WF contributors. I'd prefer something explicit that allows programmatic checks, eg a new YAML top level deprecated section or something like that. But seems like a comment is good enough for now.


Minor typo fixes

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/resources/diagrams.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thanks!


docs: update demo link

What this PR does

Update demo link to conversant.streamlit.app

Closes https://github.com/cohere-ai/sandbox-conversant-lib/issues/48
How it was tested

Link works

PR checklist

[x] No API keys or other secrets committed to source?
[x] New functionality is added alongside appropriate tests?
[x] All source files have the following header?

# Copyright (c) {YEAR} Cohere Inc. and its affiliates.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
#
# You may obtain a copy of the License in the LICENSE file at the top
# level of this repository.

Oof thanks for catching that the two links were different. Updated!
ebbaa5e


⚠ File access (beta) has degraded performance

In f4743d0, File access (beta) (https://beta.fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 2203 ms

Resolved: File access (beta) performance has improved in c525dc7.


CLANG_WARN_STRICT_PROTOTYPES: Yes please!

This is just a small improvement to support the CLANG_WARN_STRICT_PROTOTYPES flag.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #87   +/-   ##
=======================================
  Coverage   48.91%   48.91%
=======================================
  Files           7        7
  Lines        1157     1157
  Branches       69       69
=======================================
  Hits          566      566
  Misses        567      567
  Partials       24       24

Impacted Files
Coverage Δ

MBProgressHUD.h
67.74% <ø> (ø)
:arrow_up:

MBProgressHUD.m
45.27% <ø> (ø)
: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 a7c3601...93b904c. Read the comment docs.

Thank you!


Dockerfile

Dear all,
I hope you are doing well. Can you provide a docker file to run scenic? It looks like there are quite a lot of deps (even with tensorflow 🤢) for jax-only models. It would help the community a lot, improving usability and sharability.
Thanks,
Francesco

Hi Francesco,
Unfortunately, I have little experience with Docker. Would you be willing to draft a docker file based on the installation instructions in the README? Once we have a starting point, I'm happy to test and debug it to make it work.
Thanks,
Matthias

Ah I saw that you provided this in #533, I'll test this.

@mjlm happy to help! Let me try to find sometime this we :)

@mjlm happy to help! Let me try to find sometime this we :)

i can provide my Dockerfile.
`
FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu20.04
ENV TZ Asia/Seoul
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A4B469963BF863CC
RUN rm /etc/apt/sources.list.d/*
RUN apt-get update && apt-get -y install
python3 python3-pip python3-dev
jupyter-notebook
git ssh vim
RUN apt install -y software-properties-common
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get install -y python3.9
RUN ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN echo "root:root" | chpasswd
RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes #prohibit-password/' /etc/ssh/sshd_config
RUN pip3 install --upgrade pip
RUN pip3 install setuptools
RUN apt-get update && apt-get install -y locales
RUN locale-gen ko_KR.UTF-8
ENV LC_ALL ko_KR.UTF-8
WORKDIR /workspace
ADD . .
RUN jupyter notebook --generate-config
RUN echo "c.NotebookApp.password = 'key'" >> /root/.jupyter/jupyter_notebook_config.py
RUN echo "c.NotebookApp.ip = '<IP_ADDRESS>'" >> /root/.jupyter/jupyter_notebook_config.py
RUN echo "c.NotebookApp.allow_root = True" >> /root/.jupyter/jupyter_notebook_config.py
RUN echo "c.NotebookApp.open_browser = False" >> /root/.jupyter/jupyter_notebook_config.py
RUN echo "c.NotebookApp.port = 8888" >> /root/.jupyter/jupyter_notebook_config.py
ENV PYTHONPATH $PYTHONPATH:/workspace
RUN chmod -R a+w /workspace
RUN alias python=python3.9
`
For Python 3.9 will require you to tweak it a little bit more from this script. Good luck~

@BigJoon neat, thanks a lot :pray:

I have crated a Dockerfile for the project with a focus on ViVit pipeline. The key challenge seemed to match the right versions of cudann (11), tensorrt (7). The proper version and respective tensorrt container version can be determined from the table available at:
https://docs.nvidia.com/deeplearning/tensorrt/container-release-notes/rel-22-12.html#rel-22-12. Hopefully it helps the users of the project
FROM [nvcr.io/nvidia/tensorrt:20.11-py3](http://nvcr.io/nvidia/tensorrt:20.11-py3)
# From the version table https://docs.nvidia.com/deeplearning/tensorrt/container-release-notes/rel-22-12.html#rel-22-12
# Select appropriate container version with proper cuda version and tensorrt framework version
# For me it was 20.11

RUN apt update -y
# The following libraries are need to compile and install python3.9 manually
RUN apt install build-essential zlib1g-dev libncurses5-dev \
    libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev \
    libsqlite3-dev wget libbz2-dev liblzma-dev -y

# Steps to install python:3.9
WORKDIR /app
RUN wget https://www.python.org/ftp/python/3.9.7/Python-3.9.7.tgz
RUN tar -xvf Python-3.9.7.tgz
WORKDIR /app/Python-3.9.7/
RUN ./configure --enable-optimizations
RUN make
RUN make altinstall
#RUN configure && make && make install

# Since python 3.9 is required for the project, replacing any older python3
RUN cp /usr/local/bin/python3.9 /usr/bin/python3 && \
    cp /usr/local/bin/python3.9 /usr/bin/python

# Installing pip for python3.9
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
RUN python3.9 get-pip.py

# Here we are setting up the project, with a focus on ViViT
WORKDIR /workspace
RUN cd /workspace && git clone https://github.com/google-research/scenic.git &&\
    cd scenic &&\
    sed -i '/    "tf-models-official",/d' ./setup.py &&\
    python3 -m pip install -q . &&\
    python3 -m pip install -r scenic/projects/baselines/clip/requirements.txt &&\
    python3 -m pip install scikit-image &&\
    python3 -m pip install --upgrade "jax[cuda]" -f https://storage.googleapis.c/

WORKDIR /workspace/scenic
RUN pip install -r scenic/projects/vivit/requirements.txt
RUN pip install flax==0.5.3 sklearn scikit-learn

@dipodaimary
Hi
Thank you very much for your Dockerfile. I tried it. but I have warnings with the NVIDIA Driver. I have attached the warning message for your perusal.  Can you help me solve this problem?
=====================
== NVIDIA TensorRT ==
NVIDIA Release 20.11 (build 17147175)
NVIDIA TensorRT 7.2.1 (c) 2016-2020, NVIDIA CORPORATION.  All rights reserved.
Container image (c) 2020, NVIDIA CORPORATION.  All rights reserved.
https://developer.nvidia.com/tensorrt
To install Python sample dependencies, run /opt/tensorrt/python/python_setup.sh
To install the open-source samples corresponding to this TensorRT release version run /opt/tensorrt/install_opensource.sh.
To build the open source parsers, plugins, and samples for current top-of-tree on master or a different branch, run /opt/tensorrt/install_opensource.sh -b
See https://github.com/NVIDIA/TensorRT for more information.
WARNING: The NVIDIA Driver was not detected.  GPU functionality will not be available.
Use 'nvidia-docker run' to start this container; see
https://github.com/NVIDIA/nvidia-docker/wiki/nvidia-docker .


v2.2.1 compaction on same blocks over and over again

What did you do?

Upgrade prometheus from v2.1.0 to v2.2.1
remove custom config --storage.tsdb.min-block-duration=30m

What did you expect to see?
I expect the storage usage to be stable as in v2.1.0.
What did you see instead? Under which circumstances?
The storage usage keeps growing, due to the observed behavior that it keeps compacting the same blocks over and over again.

Environment

System information:

the official prometheus image running in k8s.
Linux 4.4.102-k8s x86_64

Prometheus version:

prometheus, version 2.2.1 (branch: HEAD, revision: 9579abd6d5b7b6a3989d21955399628a00408189)
  build user:       root@runner-7010ab76-project-1551-concurrent-0
  build date:       20180413-17:10:44
  go version:       go1.10.1

Alertmanager version:
N/A

Prometheus configuration file:
N/A

Alertmanager configuration file:
N/A

Logs:

level=info ts=2018-04-15T17:44:51.163624645Z caller=compact.go:393 component=tsdb msg="compact blocks" count=1 mint=1523656800000 maxt=1523664000000
level=info ts=2018-04-15T17:45:22.660882942Z caller=compact.go:393 component=tsdb msg="compact blocks" count=1 mint=1523656800000 maxt=1523664000000
level=info ts=2018-04-15T17:45:54.733097351Z caller=compact.go:393 component=tsdb msg="compact blocks" count=1 mint=1523656800000 maxt=1523664000000
level=info ts=2018-04-15T17:46:24.961197242Z caller=compact.go:393 component=tsdb msg="compact blocks" count=1 mint=1523656800000 maxt=1523664000000

The meta file information of latest blocks:
--
01CB0PSV2JADHS4K4ADJXKA4Y9/meta.json:	"minTime":<PHONE_NUMBER>000,
01CB0PSV2JADHS4K4ADJXKA4Y9/meta.json-	"maxTime":<PHONE_NUMBER>000,
--
01CB0PRVAT464AHBRQD40ACQGH/meta.json:	"minTime":<PHONE_NUMBER>000,
01CB0PRVAT464AHBRQD40ACQGH/meta.json-	"maxTime":<PHONE_NUMBER>000,
--
01CB0PS7CAZP34TQA8EDHQBC25/meta.json:	"minTime":<PHONE_NUMBER>000,
01CB0PS7CAZP34TQA8EDHQBC25/meta.json-	"maxTime":<PHONE_NUMBER>000,

the target compacted block (mint=1523656800000 maxt=1523664000000) spans across the latest 3 blocks, and the 3 blocks are not cleaned up after the compaction is done.
The issue disappears when we bring back the custom config --storage.tsdb.min-block-duration=30m

I seem to recall that changing the block duration for a Prometheus instance with existing tsdb data isn't supported. Ping @gouthamve @fabxc.

Yeah, that's not a setting you should be changing. Does this happen with the default settings?

Many TSDB bugs have been fixed between v2.2.1 and now. I didn't find any other report of a similar issue. I'm closing it for now. Feel free to reopen if you're still having the problem with Prometheus v2.3.2.


[usecase-windows] Add wrt case pkg for windows

Failure Analyse: XWALK-4967, XWALK-4998, XWALK-4988

Impacted tests(desgined): new 4, update 0, delete 0
Unit test platform: Crosswalk Project for Windows 14.43.343.0
Unit test result summary: pass 1, fail 3, block 0
https://crosswalk-project.org/jira/browse/XWALK-4691

LGTM

Pls add ogv format video in video test：）
Pls add video play test from http protocal


No entity for white light on IP8M-2779EW-AI

This integration seems to support several features for my Amcrest camera (IP8M-2779EW-AI). I can't seem to utilize the white light though. There's no entity for it.

Although it would be nice to be able to operate it directly, I see that I can set the camera to use the light for "night" mode and not for "day" mode on the camera. I can then use this integration to set the mode, which will turn on or off the light and this will work for my purposes.


Add + fab component from ionic instead of the button

Bug Report
https://ionicframework.com/docs/api/fab-button

I'll give this a spin soon.


issue with connect_to_unity --scene <SCENE_JSON_FILE_PATH>

File "/opt/miniconda3/envs/holodeck/lib/python3.10/site-packages/ai2thor/controller.py", line 1104, in step
raise ValueError(self.last_event.metadata["errorMessage"])
ValueError: Invalid action: CreateRuntimeAsset
Has someone else experienced the same issue on Ubuntu 20.04

Its working now
Instead of checkout for specific commit, checkout to the mentioned branch
git clone https://github.com/allenai/ai2thor.git
git checkout new_cam_adjust branch


initial RSI values are calculated wrong

Comparing RSI indicator values with Binance exchange, I've realized they were wrong. Debugging RSI indicator code, I've found the initial calculation (when the sum of gains and losses is made) is handled incorrectly as it uses the values from s.loopback array that are in reversed time order, so it is considering every gain as a lose and viceversa.
Reversing the array fixes the problem, I'll commit the fix soon.

How did you get the values from Zenbot? I can't see the RSI in the simulation results.

Using the RSI indicator, is that what you are asking?
RSI indicator is implemented in lib/rsi.js
and you can check how to use it in some of the example strategies

No I meant the actual RSI values. You say they are wrong, but where do you get to see that wrong number? The simulation does not put out RSI values - at least for me.

https://github.com/DeviaVir/zenbot/tree/unstable/docs#reading-the-console-output
A segunda, 28/12/2020, 09:01, XL-Reaper<EMAIL_ADDRESS>escreveu:

No I meant the actual RSI values. You say they are wrong, but where do you
get to see that wrong number? The simulation does not put out RSI values -
at least for me.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DeviaVir/zenbot/issues/2583#issuecomment-751639645,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF6776BYBNZWUOZ5ZYCXAX3SXBCOTANCNFSM4VK7TF7Q
.

https://en.wikipedia.org/wiki/Thank_You
So you actually just have to enable verbose output to see these.
I've compared the results from before & after the requested change: The RSI values stay the same.
Also they don't look wrong to me when I compare them to TradingView for instance.

Sorry, yes, that's right, you need to enable verbose output and they are shown in one of the columns.
Regarding the values, only the first values are wrong, but the RSI tend to converge to the right value after some periods, as only the initial average is done wrong, but following period values are used correctly.
I'll try to post some captures later.
Do you have your compare results to show?

I'm comparing Kraken XBT - USD https://www.tradingview.com/chart/?symbol=KRAKEN%3AXBTUSD
5M Period between 2020-12-28 08:15:00 - 2020-12-28 08:35:00
All the RSI values of the simulation match.
2020-12-28 08:15:00  26797.00 XXBT-ZUSD   -0.28%      118   --- 34.35     -0.00192     0.0000      34.35      0.005
2020-12-28 08:20:00  26691.40 XXBT-ZUSD   -0.40%      306   --- 29.32     -0.00585     0.0000      29.32      0.005
2020-12-28 08:25:00  26758.40 XXBT-ZUSD   +0.25%       35    -- 35.75     -0.00335     0.0000      35.75      0.005
2020-12-28 08:30:00  26857.80 XXBT-ZUSD   +0.37%        9    -- 43.91      0.00035     0.0000      43.91      0.005
2020-12-28 08:35:00  26997.50 XXBT-ZUSD   +0.52%      279   52.94 +        0.00555     0.0000      52.94      0.005

I'm using Binance but with TradingView graphs also.
I'll check the values later. However, I do see a difference before and after the change I'm proposing
Can you show me the command you used to run the simulation for your results?

I run from docker:
docker-compose exec server zenbot sim kraken.XXBT-ZUSD --strategy trend_ema --verbose --rsi_periods=14 --days=1 --period=5m
If I change the file, the results (at least in that timeframe that I mentioned) don't change for me

Thank you. I think I know where the "problem" is. Trend_ema uses a min_periods value of 52, which give RSI enough old data to converge to right values after many periods as I said.
But if you try another strategy (i.e.: noop) and set min_periods to the minimum periods you need for RSI indicator, you should see the differences I'm talking about.
Try:
docker-compose exec server zenbot sim kraken.XXBT-ZUSD --strategy=noop --verbose --rsi_periods=14 --days=1 --period=5m
and compare results against TradingView with and without my modification

Even with the command you suggested the RSI values don't change for me.
Which command are you running and which values do you get? Let me try to reproduce your results :)

Check out this: have a look at RSI value at 9.55. On Binance and RSI fixed is around 70, but with old RSI is 34. Try to replicate this simulations.
Binance RSI:

RSI old:

RSI fixed:

Merged your PR (thanks for contributing that!), good to close this?

Took me a while to notice we were on different time zones hahaha.
Anyways: Yeah, with the short min_periods the discrepancy between the calculated RSI and the Binance RSI is visible. When you apply the standard longer periods the difference is just in the decimals.

Cool! Thank you for taking your time to check it.
I'll close it


UTorrent Progress bars incorrect

All the Progress bars are shown as 100% even when new download. Would be nice to have different colours for finished and errored status as per original web GUI.

Can you make a ss of a new download? Regarding the colors it isnt something i will use time on, i dont use that module.

This is how the Q looks in web gui:

This is how it looks in HTPCM:

Thanks for the screenshot. I notice we need to reduce the margin bottom on the progress bars. What theme is this? (Don't think it's related to the theme)

If you notice the in progress bar is green in the not complete % and a more turquoise for the completed %. Hence I think the colours need adjusting.
Its obsidian theme.

Yeah I see it. Dunno I care enough to change it. I really, really don't like utorrent.

fixed

I'm not a massive fan of it either but I'm using a winowz machine atm and transmission was a pain on that.

Looked fixed until something downloaded and it went green again?

That intended. I wanted a finished download to have a different color.

Try qbittorrent.

I'm no fan of the green color. I should have choosen a blue one.

No, I mean it's white until it starts to download then it goes all green. It's not supposed to do this surely?

No it's suppose to be like this:
0 % download bar is all white
50 % downloaded bar is 50 % green/white
100 % downloaded different shade of green the entire bar.
What utorrent version are you using?

Oh lol.. I forgot to push it to github.


Build logging support

Do you think we should replace all print statements of tracebacks and user feedback to use Python's logging API?

This way the output can be channeled to a file/different streams/sockets and all the other goodies Python logging provides. What are your thoughts on this?

I have not really thought it through. I don't really intend to leave those in there over the long run, they're useful while the API evolves but it's not something I think of as a feature -- most of the ones in there are only there because I forgot to take out debug code.
Another way to handle it would be to create a system using Events, which could fire messages as needed without knowing about the receiving end; then you could add handlers for that events that tied in to logging or other structures of your own

Ooops, did not mean to close

Oh yes that is a great idea! Having a logging system in place that can be
connected to events if needed to route info to log files, streams and what
not.
Warm Regards,
Kartik Hariharan
mobile: +1<PHONE_NUMBER>
linkedIn: http://ca.linkedin.com/in/kartikh/
Sent from my mobile device. Please excuse any brevity or typos.
On Jan 15, 2015 12:07 PM, "theodox"<EMAIL_ADDRESS>wrote:

Ooops, did not mean to close
—
Reply to this email directly or view it on GitHub
https://github.com/theodox/mGui/issues/19#issuecomment-70120689.

This has been dormant for a long time.... I'm closing it since I haven't felt the need for it and the current code base contains basically no prints (there's one exception traceback print which should get changed to a cmds.error and a warning message in the event __del__ which should become a real warning


##[Error] Failed with Error Output

Hallo, how could i ignore this error? bash script run's, but vsoagent tells me orange not green!

Running ShellScript

running: bash /xxxxx/copynas.bash anynodemon-1.15.1 > out.log 2> /dev/null
##[Error] Domain=[YYY] OS=[Unix] Server=[Samba 3.6.24]
##[Error]
##[Error] putting file zzzzzzzzzzz-1.15.1-debian8-x64-release.deb as \cds\anynode\debian\zzzzzzzzzzz-1.15.1-debian8-x64-release.deb (12778.9 kb/s) (average 12778.9 kb/s)
##[Error]
##[Error] Failed with Error Output

With the latest shell script task, there should be an advanced option whether to fail on stderr out.
You can also pipe stderr to stdout for any calls in a shellscript:
do_something 2>&1


makefiles broken with allow_undefined option

Summary:
make quits with an error when allow_undefined is set
Description:
see above
Reproducible Steps:
try to compile with allow_undefined set
Current Output:
The current output. Knowing what is the current behavior is useful.
Expected Output:
Describe what you expect the output to be. Knowing the correct behavior is also very useful.
Additional Information:
Provide any additional information here.
Current Version:
v2.17.1

Mind showing exactly how you're calling make? (I don't know how to set allow_undefined off the top of my head.)

On Dec 22, 2017, at 5:53 AM, wds15<EMAIL_ADDRESS>wrote:
Summary:
make quits with an error when allow_undefined is set
Description:
see above
Reproducible Steps:
try to compile with allow_undefined set
Current Output:
The current output. Knowing what is the current behavior is useful.
Expected Output:
Describe what you expect the output to be. Knowing the correct behavior is also very useful.
Additional Information:
Provide any additional information here.
Current Version:
v2.17.1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

just put in you make/local
STANCFLAGS=--allow_undefined
and you will trigger the bug when you build any model

Thanks! I'll take a look.

the make/models file has unbalanced parentheses in the if-branch for the case of allow undefined. I only removed the very last ")" and now it works.

Great. That means the PR fixes the issue?

Yes. Very easy fix. Saw you merged already. Great.


using get method in simplerest mode

I am using bot Api for testing
capabilities set are:
SIMPLEREST_URL: api
SIMPLEREST_METHOD: GET
CONTAINERMODE: simplerest
but what do I need to set in "SIMPLEREST_RESPONSE_JSONPATH"???

Simple rest is a synchron connector. You send to it the question, it sends back the answer. You have to convert the body (JSON) to text(s) using JSONPath feature.
There is an online tool to play with it: https://jsonpath.com/

actually my bor response is a card (including all the details) for eg. I want to know the time of a flight so my bot will respond with a card which has flight arrrival time departure time destination name etc on it.....so how can I deal with this?

other ticket please


[android] large translation issue with 3d particles

Issue details
I noticed this issue on one of my games which uses a large 3d map (300,000 x 300,000).
When setting a large translation on 3d particles, the particles are no longer rendering on Android (but works fine on Desktop).
eg.
Vector3 position = new Vector3(240952, 9, 221895);
particles.translate(position); // Will not render on Android

However when using small translations the particles render just fine on Android.
eg.
Vector3 position = new Vector3(5000, 9, 5000);
particles.translate(position); // Works fine

I have tested this on multiple devices, running Android API 24, 25, 27 & 28, all with the same result.
Reproduction project
I have made a sample project which replicates this issue.
It has commenting in the core game class (Main.java) with a starting Vector3 called spawnPosition which is used to create the scene at that position in 3d space.
Reproduction project
LibGDX version
tested on 1.9.8, 1.9.9 and 1.9.10-SNAPSHOT
Affected platforms

[x] Android

This is most likely caused by a lower precision used by the device's GPU. Default particle shader uses mediump precision by default, which is probably 16bit float which is not enough for maps that big.
Try supplying a custom shader with highp position.

Thanks Darkyenus, Yes that seems to be the problem.
using highp for vertex positions fixes this.
Unfortunately the 3d particle batches do not allow for a custom ShaderProvider, but i can work around this for now by including a modified particles src in my project.

The ParticleShader allows you to configure the shader yourself.

True, but configuring the default ParticleShader is definitely not a practical approach for mobile platforms with numerous devices, esspecially under the circumstances that this issue outlines.


Softprompt broken with use_cache=True

System Info
I am using transformers 4.37 and peft 0.7.1
Quite simply, generate is broken with use_cache = True.
Probably it has something to do with this error:
https://github.com/kipgparker/soft-prompt-tuning/issues/7
This was working in previous versions, but broke recently. I am not sure what version it was working on.
To replicate, train a softprompt, then test it with use_cache = False and use_cache = True. Only the first token generated is correct, after that the outputs are garbled and messed up.
Who can help?
No response
Information

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

Tasks

[X] An officially supported task in the examples folder
[ ] My own task or dataset (give details below)

Reproduction
from transformers import MistralForCausalLM, LlamaTokenizer
from peft import PeftModel, PeftConfig
import torch

# Hugging Face model id
peft_model_id = "mis_7b_sp_f"
model_id = "mistralai/Mistral-7B-v0.1"

# Load models and tokenizer
config = PeftConfig.from_pretrained(peft_model_id)
model = MistralForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map={"":0}, use_cache=False)
model = PeftModel.from_pretrained(model, peft_model_id)
tokenizer = LlamaTokenizer.from_pretrained(model_id)

def generate_from_model(text):
    encoded_input = tokenizer(text, return_tensors='pt')
    output_sequences = model.generate(
                                    input_ids=encoded_input['input_ids'].cuda(0),
                                    do_sample=False,
                                    max_new_tokens=35,
                                    num_return_sequences=1,
                                    output_scores=True,
                                    return_dict_in_generate=True,
                                    pad_token_id=0,
                                    eos_token_id=2,
                                    use_cache= True #change this to False to get correct output
                                  )
    gen_sequences = output_sequences.sequences[:, :]
    for sequence in gen_sequences:
        print(tokenizer.decode(sequence, skip_special_tokens=False))

Expected behavior
By switching the use_cache off the problem is fixed. The generation should be the same whether use_cache is turned on or off, but it is different and when cache is turned on the output is garbled and broken.

yep, I faced the same exact issue while soft prompt tuning as well. Switching use_cache to False did the trick. This needs to be looked into & fixed.

This was working in previous versions, but broke recently. I am not sure what version it was working on.

Just to be sure, you mean previous versions of PEFT? To be sure, could you please also try the most recent version of PEFT?

To replicate, train a softprompt, then test it with use_cache = False and use_cache = True.

Could you please give more details here? What PEFT method did you use? What was the specific config?

This was working in previous versions, but broke recently. I am not sure what version it was working on.

Just to be sure, you mean previous versions of PEFT? To be sure, could you please also try the most recent version of PEFT?

To replicate, train a softprompt, then test it with use_cache = False and use_cache = True.

Could you please give more details here? What PEFT method did you use? What was the specific config?

I posted this bug 2 weeks ago when the most recent version of peft was 0.7.1. As mentioned in the original post, it is with a softprompt using the PROMPT_TUNING config.
I didn't know the current version has been updated 3 times since my post.
I just checked the same code that failed with
transformers==4.37.0 and peft==0.7.1
and can verify with these versions it still fails with use_cache=True and works with use_cache=False
I updated to
transformers==4.37.2 and peft==0.8.2
and the error is gone, so somehow it has been fixed with the newer versions.


Add recursion breaking cache

This adds a new type of Cache which breaks recursive get calls in the compute function by returning an Option.
Also adds a len method to gage the size of the cache.

Made caches ... consistent :P as requested

Oh can you also add a unit test that checks for the recursion-breaking behavior?


[release-4.12] remove status-reporter binary copy step

Signed-off-by: Nitin Goyal<EMAIL_ADDRESS>This change was left with the #2009

/override ci/prow/ocs-operator-bundle-e2e-aws
/override ci/prow/ocs-operator-bundle-e2e-aws

/override ci/prow/ci-index-ocs-operator-bundle

/override ci/prow/ocs-operator-bundle-e2e-aws
/override ci/prow/images
/override ci/prow/ci-index-ocs-operator-bundle