5.4.2 and 5.4.1 releases highlighting validation errors for host age and host gender (SARS-CoV-2)

Hello,
We've been encountering validation errors with the CanCOGeNCovid19 template in versions 5.4.2 and 5.4.1  where the host age is being highlighted if the value is "Missing" and the host gender is being highlighted in all the rows. The validation errors are not occurring with the 5.3.0 release.
Thanks!

In the MPOX template (pathogen-genomics-package - 5.4.2
When I upload the data, the date collected precision value is entered as day but still comes up as an error. If I pick it from the picklist, the error goes away after validating again:
Before validating:

After validating:

When I pick the dropdown item day for one sample:

The rest are validated without errors:

The collection dates do not allow for null values, is that correct?

^ after validation
Not replicating the same issue with gender as above for Tara except for the following fields are producing errors (however different template):

Experiencing similar issues in the Cancogen template for host age and diagnostic pcr Ct value 1 when using existing restricted access statement

A note here that https://github.com/cidgoh/pathogen-genomics-package/releases/tag/PGPv5.5.0 carries the same issues noted here for 5.4.2 in the test i ran

Hi @GLTOhorsman thanks for the message!
We have not resolved this in 5.5.0 as we still need to do some further testing and wanted to make sure there was no hold up with releasing the new organisation terms for 'sample collected by' and 'sequence submitted by'.
It looks like this is related to case sensitivity (capitalised D instead of lower case for day). We will keep working to resolve this our side, but in the mean time hopefully this provides a bit of a work around.
Thanks for the patience, we are hoping to get this resolved soon and then we can do a patch release.

unfortunately since it doesn't roll back to the 5.3 version it doesn't give a "clean" output. However, using 5.5 in combination with 5.3 as a pair of tools can give a user to highlight errors that are are only present in both

Great, glad there is a temporary work around. We will keep working to resolve the issue with 'sample collection date precision' (if users make sure in any data they open in DH is lowercase for now that should prevent an issue).
Can you confirm if you are still getting the issue with 'host gender'? I can replicate the issue seen for 'host age' but not for the former. Thanks for all your help!

Seeing it in host age "Restricted Access" and diagnostic pcr Ct value 1 "Not Collected"

Gender issue reported by @KirstenPalmier
KirstenPalmier testing 5.4.2 on a different dataset

OK great so not 'host gender' for now. Will work on a resolution. Thanks for the extra testing team! Have a great weekend.

Capitalization normalization is fixed now in a DataHarmonizer draft version so we hope to have that in a PGP release in the coming week.  Fix for menus that have both date or number + Null Value List still on the way.  The datepicker app may block ability to select a null value for that field, so that one may take more time to resolve.

Good morning! Do you have a sense of the PGP release status?

Morning! @GLTOhorsman - hoping to get something out this week, just waiting on a couple of minor things. Will tag the release in this thread as soon as it's ready.


chore: cleanup error handling in scripts

propagate failure
add more wildcard cases
cleanup messages

Tested, and fallback is looking good on too-old aarch64 Ubuntu:
root@dfb24f40ae88:/# curl --proto '=https' --tlsv1.2 -LsSf https://axodotdev.artifacts.axodotdev.host/cargo-dist/v0.21.1-prerelease.8/cargo-dist-installer.sh | sh
System glibc version (`2.31') is too old; checking alternatives
downloading cargo-dist 0.21.1-prerelease.8 aarch64-unknown-linux-musl-static
installing to /root/.cargo/bin
  cargo-dist
everything's installed!

To add $HOME/.cargo/bin to your PATH, either restart your shell or run:

    source $HOME/.cargo/env (sh, bash, zsh)
    source $HOME/.cargo/env.fish (fish)

Likewise, if I remove musl, I see the proper installation error:
root@dfb24f40ae88:/# sh cargo-dist-installer.sh
System glibc version (`2.31') is too old; checking alternatives
ERROR: no compatible downloads were found for your platform aarch64-unknown-linux-gnu


Fix/#193

Purpose
Fix #193
Changes
Adapt the currency formatter to show the values in the American style. This requires the local settings to be provided for the formatter. Furthermore, the formatter is applied to the item prices and the offer prices total, vat and taxes.

 Fix issue #193 (Wrong formatted currency values)

 Fix issue #193 (Wrong formatted currency values)


dial tcp <IP_ADDRESS>:10255: connect: connection refuse

Chart version:
7.5.2
Kubernetes version:
1.14.8
Kubernetes provider: E.g. GKE (Google Kubernetes Engine)
docker-desktop & digitalocean
On default helm install I get:
2020-01-22T08:01:33.150Z	INFO	module/wrapper.go:252	Error fetching data for metricset kubernetes.volume: error doing HTTP request to fetch 'volume' Metricset data: error making http request: Get http://docker-desktop:10255/stats/summary: dial tcp <IP_ADDRESS>:10255: connect: connection refused

Hi @amitm02, can you give us more details about your issue?
Mentioning the product you are using (Elasticsearch? Filebeat? ...), the exact command you are using for chart deployment and your config (helm get <release>) would be a good start.
Answering to all questions in the bug report issue template would help us to help you.

Looks like its an error with metricbeat pulling data from the kube-state-metrics as that is what metricbeat uses to grab advanced metricsets. Make sure you have defined the correct endpoint for your kube-state-metrics, or make sure you have it deployed.

kube-state-metrics is deployed together with metricbeat helm chart so you could actually maintain that this should work. https://github.com/elastic/helm-charts/blob/master/metricbeat/requirements.yaml

I deploy on EKS and have the same issue using 7.6.1 charts.
 2020-03-17T02:15:33.048Z    INFO    module/wrapper.go:252    Error fetching data for metricset kubernetes.container: error doing HTTP request to fetch 'container' Metricset data: error making http request: Get http://ip-192-168-133-222.eu-west-1.compute.internal:10255/stats/summary: dial tcp <IP_ADDRESS>
│ 2020-03-17T02:15:38.735Z    INFO    module/wrapper.go:252    Error fetching data for metricset kubernetes.system: error doing HTTP request to fetch 'system' Metricset data: error making http request: Get http://ip-192-168-133-222.eu-west-1.compute.internal:10255/stats/summary: dial tcp <IP_ADDRESS>:102
│ 2020-03-17T02:15:39.538Z    INFO    module/wrapper.go:252    Error fetching data for metricset kubernetes.pod: error doing HTTP request to fetch 'pod' Metricset data: error making http request: Get http://ip-192-168-133-222.eu-west-1.compute.internal:10255/stats/summary: dial tcp <IP_ADDRESS>:10255: co
│ 2020-03-17T02:15:41.972Z    INFO    module/wrapper.go:252    Error fetching data for metricset kubernetes.node: error doing HTTP request to fetch 'node' Metricset data: error making http request: Get http://ip-192-168-133-222.eu-west-1.compute.internal:10255/stats/summary: dial tcp <IP_ADDRESS>:10255:
│ 2020-03-17T02:15:43.047Z    INFO    module/wrapper.go:252    Error fetching data for metricset kubernetes.container: error doing HTTP request to fetch 'container' Metricset data: error making http request: Get http://ip-192-168-133-222.eu-west-1.compute.internal:10255/stats/summary: dial tcp <IP_ADDRESS>
│ 2020-03-17T02:15:43.054Z    INFO    module/wrapper.go:252    Error fetching data for metricset kubernetes.volume: error doing HTTP request to fetch 'volume' Metricset data: error making http request: Get http://ip-192-168-133-222.eu-west-1.compute.internal:10255/stats/summary: dial tcp <IP_ADDRESS>:102
│ 2020-03-17T02:15:48.735Z    INFO    module/wrapper.go:252    Error fetching data for metricset kubernetes.system: error doing HTTP request to fetch 'system' Metricset data: error making http request: Get http://ip-192-168-133-222.eu-west-1.compute.internal:10255/stats/summary: dial tcp <IP_ADDRESS>:102
│

Can you confirm kube-state-metrics is running? and what the KUBE_STATE_METRICS_HOSTS env var is set to in the running metricbeat container?

@amitm02, @jmymy, @babadofar, @masterkain
We just merged #471 which now use kubelet secure port (10250) instead of read-only port (10255) to fetch k8s metrics. We tested it on GKE and Docker-For-Mac without issues and think that should also solve issues on EKS.
Could you retry by installing Metricbeat chart from master branch and confirm if that fixes your issues?

This issue has no more activity.
I'm closing it, don't hesitate to reopen it if you have any question.


Allow to customize the SQL search query

NB: This pull request can be easily refactored, but I think this feature is really useful 😸
Use case:
$scoutEngine = App\Order::getModel()->searchableUsing();
list($query, $bindings) = $scoutEngine->buildSearch(
    App\Order::search('Star Trek')
);

// You can customize the SQL query here:
$query->addSelect('name');
// See: https://laravel.com/docs/5.6/queries

$orders = Illuminate\Support\Facades\DB::select($query->toSql(), $bindings->all());

Closing in favor of https://github.com/pmatseykanets/laravel-scout-postgres/pull/19


Next Build RSVP capitalization

Description
RSVP link on the event page should be all caps.
Acceptance Criteria

[ ] RSVP link is in caps

relating PR


Install setup.py

setup.py

from setuptools import setup

windows 10> cmd

d:\> ipy setup.py install

Result

...
c:\program files\Ironpython 3.4\lib\site.py, line 162, in addpackage
...
c:\program fIles\IronPython 3.4\lib\site.py, line 564, in <module>
Lookuperror: unknown encoding: cp949

So, I modified code in site.py

def addpackage(sitedir, name, known_paths):
    ...
    fullname = os.path.join(sitedir, name)
    try:
        f = open(fullname, "r")  #occured error
        #f = open(fullname, "r", encoding='utf8')

It was good working when I added encoding='utf8'
It is possible to set setlocale to utf8 without modifying the library?

Does this work?

ipy -X utf8 setup.py install

The command worked well
I even checked that it was installed in test_package-py3.4.egg\site-package folder
However, I have two questions

When I try to import a package from ironpython Console, There is an Importerror: No module named

>>> import test
       Trackback (most recent call last):
        ImportError: No module named 'test'

  2. How do I delete the package?
  ```batch
    c:\test>ipy -x utf8 pip uninstall test
    Uninstalling test_package:
      Would remove:
        c:\program files\ironpython 3.4\lib\site-packages\test_package-py3.4.egg
    Proceed (y/n)? Error: Exceptions
    Traceback (most recent call last):
      FIle "...\site-packages\pip\_internal\cli\base_command.py", line 178, in main status = self.run(options, args)
      ...
      File "...\pip\_internal\req\req_uninstall.py", line 425, in _allowed_to_proceed
        return ask('Proceed (y/n)? ', ('y', 'n')) == 'y'
      File "...\pip\_internal\utils\misc.py", line 183, in ask response = input(message)
    Lookyperror: unknown encoding: ks_c_5601_1987


(bugfix): fix SecurityContext in Go memcached sample

Description of the change:

Update the SecurityContext to contain the RunAsUser field with the UID set to 1000.
Update Go e2e tests to make sure all pods that contain the substring memcached are in the "Running" state
Update https://sdk.operatorframework.io/docs/best-practices/pod-security-standards/ to include information about this change.

Motivation for the change:
resolves #5902
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[x] Add or update relevant sections of the docs website in website/content/en/docs

I am not sure if this particular change requires a changelog. If it does I am happy to add one.


Support string tensor for tensor context

What do these changes do?

Related issue number

Fixes #1399

Codecov Report

Merging #1425 (7db06c1) into main (ab77481) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1425      +/-   ##
==========================================
- Coverage   72.08%   72.07%   -0.02%
==========================================
  Files          88       88
  Lines        9672     9672
==========================================
- Hits         6972     6971       -1
- Misses       2700     2701       +1

Impacted Files
Coverage Δ

python/graphscope/tests/conftest.py
81.78% <0.00%> (-0.36%)
:arrow_down:

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 ab77481...7db06c1. Read the comment docs.


PastingFromClipboard is not fired when pasting via CTRL+V or context menu

Describe the bug
TextBox.PastingFromClipboard event is not fired when pasting in text other than calling TextBox.Paste(). That means when I paste in text using CTRL+V (in windows) or via the context menu, this event is not fired.
To Reproduce
See bug description
Expected behavior
TextBox.PastingFromClipboard event is fired in all cases.
Screenshots
N/A
Desktop (please complete the following information):

OS: Windows 10
Avalonia Version 0.10.11

Additional context
N/A

This is fixed as of 11.0.0-preview4


ComboBox items don't update properly on ItemsSource binding source collection changes

Describe the bug
When the item source of the combobox is changing and the number of the elements of the observable collection is different from the previous , the drop down menu size is not  updating correctly.
To Reproduce
Start the test app.
Open the ComboBox drop down and close it (e.g. by selecting any item or just clicking somewhere outside the control). The source collection items are displayed properly.
Change the item source ObservableCollection with a different size.
Open the ComboBox drop down again: the item doesn't appear in the drop down and the size is not corrent.
Expected behavior
When changing the item source the items and the drop down menu needs to  remain consistent with the one of the observable collection.
Screenshots

OS version
7.0
.NET version
6.0.1
WPF-UI NuGet version
2.0.3
Additional context
No response

If you don't mind duplicating the combobox template, a fix I've found works is to replace the DynamicScrollViewer here with a VirtualizingItemsControl.
You'll have to remove the ScrollBarVisibility bindings and copy the MinWidth binding to the child StackPanel as well.
The stock WPF ScrollViewer doesn't work here too, I'm guessing there's some underlying platform issue when refreshing off an ObservableCollection.

It is also problematic to call the add function again after the binding attribute is emptied


Add a timeout on the network requests

See http://docs.python-requests.org/en/master/user/advanced/#timeouts
I'd suggest 3-10 seconds

I think that we can do this with the passed in session in the current outstanding pull request. We override the get method on the session object.


minWidth cause page content to jump on iOS

I use ScrollToFixed for my sites main nav.  On the desktop everything works fine.  I set "minWidth: 768" and when I view on iPhone, as soon as the page is scrolled all the page content jumps down 100 or so px.  If I remove the "minWidth" setting this does not happen, but I don't want the mobile menu sticking on small screens.  Any idea what might cause the page content to jump down like this?

My first guess is, there is a hidden div that is inserted to make up for a fixed header. Since the header is not supposed to be there under 768px, the hidden div should not be there either. A media query that hides this hidden div under 768px would be a workaround and it would prove that this is the issue. Use the spacerClass option to add a class to the hidden div and user that spacerClass name to hide it in the media query. Set display: none;
Hope that works.

The same issue, in desktop works fine. But when I set "minWidth", in mobile browser appear a div with some height in pixels under the header.


Engineering: Folder restructuring

Part of #1655
In preparation for further engineering improvements, we will restructure this repository to follow the format demonstrated in https://github.com/jviau/dotnet-worker-layout
|- doc                  // doc: contains all doc files
|- eng                  // eng: contains all our engineering related items: common targets, ci templates, signing key
   |- ci                // eng/ci: CI build files and templates.
   |- targets           // eng/targets: common msbuild .props and .targets and their supporting files.
|- misc                 // misc: this is a special csproj which collects files, leveraging globbing, to show in Visual Studio, without needing to add one by one to sln.
|- out                  // out: all project output goes here
   |- bin               // out/bin: final output
   |- obj               // out/obj: intermediate output
   |- pkg               // out/pkg: all packages (nuget or otherwise) go here
|- protos               // protos: proto subdirectory *NOTE*: we should consider consuming these as nuget packages.
|- samples              // samples: all sample projects.
|- src                  // src: all source files go here
   |- Extensions        // src/Extensions: All worker extensions (including ApplicationInsights)
   |- Host              // src/Host: Functions custom dotnet host projects
   |- Shared            // src/Shared: "SharedReference" projects, giving us a way to directly share code without using InternalsVisibleTo
   |- Worker            // src/Worker: All the projects that make up our 'framework'
      |- Sdk            // src/Worker/Sdk: All the SDK projects
      |  |- Sdk         // src/Worker/Sdk/Sdk: Microsoft.Azure.Functions.Worker.Sdk
      |  |- Analyzers   // src/Worker/Sdk/Analyzers: Microsoft.Azure.Functions.Worker.Sdk.Analyzers
      |  |- Generators  // src/Worker/Sdk/Generators: Microsoft.Azure.Functions.Worker.Sdk.Generators
      |- Worker         // src/Worker/Worker: Microsoft.Azure.Functions.Worker
      |- Core           // src/Worker/Core: Microsoft.Azure.Functions.Worker.Core
      |- Grpc           // src/Worker/Grpc: Microsoft.Azure.Functions.Worker.Grpc
|- test                 // test: all test code here. Mirrors src structure.

To simplify the rest of the engineering work, we will perform this in two phases:

Restructure everything as above, except the SDK projects will be in src/Sdk.
Move SDK projects to src/Worker/Sdk after we are ready to combine them into a single release unit.

For the output, we should consider what @brettsam pointed out is coming with .NET 8: https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-8#simplified-output-paths
For docs and samples, we would need to make sure we update all doc snippet and analyzer doc references.

Should also consider merging the SDK project functionality into Worker.Core

Should also consider merging the SDK project functionality into Worker.Core

Yes, I will have another issue for that. Depending how our restore customization pans out, we may even need to switch to a proper SDK (and referenced via Sdk="" in the csproj). The major difference is SDK packages are restored as part of evaluation, so they have an opportunity to influence restore target


Add required field style for forms.

I was reading documentation "forms" and not found how to mark required fields.
http://getbootstrap.com/css/#forms

I'm no UX designer, but marking optional fields seems like it'd make more sense.
CC: @patrickhlauke for accessibility considerations

@cvrebert personally I think it would depend on the form. I think it's best to mark the one which is the least used. Normally this should be optional but that may not always be the case.

I'd shy away from defining anything in Bootstrap core, especially because some designers will want it one way, while others will want it another way...(and it's easy enough to add manually, rather than forced by the framework)

regarding accessibility considerations, having required fields not styled in any specific way is not directly an accessibility concern, as it would impact all users, not just those with potential disabilities (and in fact, assistive tech users would gain an "unfair" advantage, assuming proper required or aria-required attributes were used on those form controls, as their AT would announce this while non-AT users wouldn't get an explicit hint unless the designer/developer added it separately, either as part of the label text or through visual styling)

Not going to happen in v3 and currently no plans in v4's initial release.

Looks that world not care about accessibility and will not care.

@ChameleonRed Unsure what exactly you're saying, but we're not adding features to v3 and v4's initial feature set is locked down at this point. Adding anything else to v4.0.0 would push back the first alpha release. Thus, there's no plans for the current or next major release.
Also, forms should be 100% required. Only ask for what you need in a form, tell folks with clear messaging that you need it, and help folks get through it. Unnecessary form fields detract from a user's experience on your site and add to the burden folks have to get what they want.

@mdo You are doing many wrong assumptions so it directly lead you do sophism - wrong conclusion basing on correct thinking and wrong assumptions.
Forms should be 100% required that totally wrong.
No all forms is contact forms for customer, not all application is social media for mostly unskilled people which can not focus (distract very fast). Not all application is privacy harvesters which must be simple to get more privacy data from users and has multiple simple form to get all privacy data from user :)
Some forms is for experts, some need to have some optional fields. I will give you simple example - I am doing some expert application which have project each project has name and optional description and I can not mark it with bootstrap since it is not supported.
name and optional description is nothing special.
Please throw away wrong assumption that optional fields is not need since it is wrong.

True, I shouldn't have spoken in absolutes. In spirit, forms should be as focused as possible, but I realize that's not always necessary :).

@mdo I often have very wide view - much wider that often people/experts have - You have absolute right in specific case but I can often show wider view where there is other truth.
Clean design is not to use all truths where is need to use one truth - in you case required only is ok, in my case required only is ok with optional - always is true to limit fields to minimum.


PHOENIX-6263 : Close Table resources for certain workflows

4.x backport of PR #1015

Precommit builds for PR are timing out for almost all 4.x PRs as of now. However, precommit builds for Jira are working fine.
Precommit Jira results are available on Jira: PHOENIX-6263:
https://ci-hadoop.apache.org/job/PreCommit-PHOENIX-Build/296/


Use an environment varaible to define wsk package name

Split out from https://github.com/adobe/aio-app-scripts/pull/83 to only contain the addition of env variable support for package name.

Should I close this PR, @meryllblanchet ?


[FSDE-15288] Bulk actions support for hierarchical data

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-349/1/. :white_check_mark:

You can check this PRs instance in https://a44b60d70649eaa6b6dbc96cada638dd47fd0b8b-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-349-ux-chi.kubeodc-test.corp.intranet/ (internal)

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-349/2/. :x:

You can check this PRs instance in https://ac24365a40a53b852366a1ab5f5835e8dfe7a745-chi-pr.enterprise.ctl.io (external) and in https://nginx-pr-349-ux-chi.kubeodc-test.corp.intranet/ (internal)

Great improvements on bulk actions component @janibolkvadze!


Switching windows should not close the commands list

On Windows, when VSCode loses the focus, (by switching windows for example), the commands list is closed once I switch back. I think it should stay on the same state.

I agree with @Nimzozo. It's a pain especially when that trying to download extensions list, I can't write code, open anything or even switch to another application. It would be nice if that behave like what find  window (cmd + f)  does. I mean it keeps current state until user press esc.

a nail button maybe?

https://github.com/Microsoft/vscode/issues/444


Fix shimmer card component in mine page

Date: 20 Nov, 2024

Developer Name: @pankajjs

Issue Ticket Number

Closes #1283

Description
This PR fixes the shimmer card component in mine page.

Documentation Updated?

[ ] Yes
[x] No

Under Feature Flag

[ ] Yes
[x] No

Database Changes

[ ] Yes
[x] No

Breaking Changes

[ ] Yes
[x] No

Development Tested?

[x] Yes
[ ] No

Screenshots

Screenshot 1
https://github.com/user-attachments/assets/4953fd97-e9a4-470d-aeab-e8f148738538

Test Coverage

Screenshot 1

Additional Information
Design Doc - https://docs.google.com/document/d/1Y-V7ClFjge1c01ErrFpGgmfZJ6wXZCJ7q2SuLDrcEcY/edit?tab=t.0#heading=h.iwhskjpqyzwf

Code looks good.

@pankajjs Can you also add mobile view recording / screenshot.

@VinuB-Dev Have you checked the screenshots? If yes, could you approve it?


[cairo] Build error on arm64-linux

Package<EMAIL_ADDRESS>Host Environment

Host: x64-linux
Compiler: GNU 9.4.0
vcpkg-tool version: 2024-04-23-d6945642ee5c3076addd1a42c331bbf4cfc97457
vcpkg-scripts version: 943c5ef1c 2024-04-26 (9 weeks ago)

To Reproduce
vcpkg install
Failure logs
-- Found Python version '3.8.10 at /usr/bin/python3'
-- Using meson: /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_downloads/tools/meson-1.3.2-d646d3/meson.py
-- Downloading https://gitlab.freedesktop.org/cairo/cairo/-/archive/1.18.0/cairo-1.18.0.tar.gz -> cairo-cairo-1.18.0.tar.gz...
-- Extracting source /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_downloads/cairo-cairo-1.18.0.tar.gz
-- Applying patch cairo_static_fix.patch
-- Applying patch disable-atomic-ops-check.patch
-- Applying patch fix-static-missing-lib-msimg32.patch
-- Applying patch fix-alloca-undefine.patch
-- Applying patch cairo_add_lzo_feature_option.patch
-- Using source at /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_buildtrees/cairo/src/1.18.0-aee8e3c3e1.clean
CMake Warning at /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_buildtrees/versioning_/versions/cairo/0fda02793cfc3911468cd200b0a889c65035db1d/portfile.cmake:33 (message):
  You will need to install Xorg dependencies to use feature x11:

  sudo apt install libx11-dev libxft-dev libxext-dev

Call Stack (most recent call first):
  scripts/ports.cmake:175 (include)

-- Getting CMake variables for arm64-linux-dbg
-- Getting CMake variables for arm64-linux-rel
-- Configuring arm64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/python3 -I /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_downloads/tools/meson-1.3.2-d646d3/meson.py -Dfontconfig=enabled -Dfreetype=enabled -Dxlib=enabled -Dxcb=disabled -Dxlib-xcb=disabled -Dglib=enabled -Dlzo=disabled -Dtests=disabled -Dzlib=enabled -Dpng=enabled -Dspectre=auto -Dgtk2-utils=disabled -Dsymbol-lookup=disabled --backend ninja --wrap-mode nodownload -Dbuildtype=plain -Doptimization=plain --native /agent/_work/1/s/vcpkg/scripts/buildsystems/meson/none.txt --libdir lib --cross /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_buildtrees/cairo/meson-arm64-linux-dbg.log -Ddebug=true --prefix /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_packages/cairo_arm64-linux/debug --includedir ../include -Dcmake_prefix_path=['/agent/_work/1/s/out/build/linux-arm64-release/vcpkg_installed/arm64-linux/debug','/agent/_work/1/s/out/build/linux-arm64-release/vcpkg_installed/arm64-linux'] /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_buildtrees/cairo/src/1.18.0-aee8e3c3e1.clean
    Working Directory: /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_buildtrees/cairo/arm64-linux-dbg
    Error code: 1
    See logs for more information:
      /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_buildtrees/cairo/config-arm64-linux-dbg-meson-log.txt.log
      /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_buildtrees/cairo/config-arm64-linux-dbg-out.log

Call Stack (most recent call first):
  /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_installed/x64-linux/share/vcpkg-tool-meson/vcpkg_configure_meson.cmake:436 (vcpkg_execute_required_process)
  /agent/_work/1/s/out/build/linux-arm64-release/vcpkg_buildtrees/versioning_/versions/cairo/0fda02793cfc3911468cd200b0a889c65035db1d/portfile.cmake:57 (vcpkg_configure_meson)
  scripts/ports.cmake:175 (include)

Additional context
vcpkg.json
{
  "name": "viana",
  "dependencies": [
    "args",
    "spdlog",
    "fmt",
    "cpp-httplib",
    "openssl",
    "nlohmann-json",
    "yaml-cpp",
    "azure-iot-sdk-c",
    "curl",
    "boost-uuid",
    {
      "name": "websocketpp",
      "features": [
        "recommended"
      ]
    },
    {
      "name": "paho-mqttpp3",
      "features": [
        "ssl"
      ]
    },
    {
      "name": "opencv4",
      "features": [
        "default-features",
        "ffmpeg"
      ]
    }
  ],
  "overrides": [
    {
      "name": "args",
      "version": "6.4.6"
    },
    {
      "name": "spdlog",
      "version": "1.12.0"
    },
    {
      "name": "fmt",
      "version": "10.0.0"
    },
    {
      "name": "cpp-httplib",
      "version": "0.13.3"
    },
    {
      "name": "openssl",
      "version": "3.1.2",
      "port-version": 1
    },
    {
      "name": "nlohmann-json",
      "version": "3.11.2"
    },
    {
      "name": "yaml-cpp",
      "version": "0.7.0",
      "port-version": 1
    },
    {
      "name": "azure-iot-sdk-c",
      "version": "2023-08-07"
    },
    {
      "name": "curl",
      "version": "8.2.1"
    },
    {
      "name": "boost-uuid",
      "version": "1.82.0",
      "port-version": 2
    },
    {
      "name": "websocketpp",
      "version": "0.8.2",
      "port-version": 2
    },
    {
      "name": "paho-mqttpp3",
      "version": "1.2.0",
      "port-version": 1
    },
    {
      "name": "opencv4",
      "version": "4.7.0",
      "port-version": 1
    }
  ],
  "builtin-baseline": "943c5ef1c8f6b5e6ced092b242c8299caae2ff01"
}

config-arm64-linux-dbg-meson-log.txt.log
config-arm64-linux-dbg-out.log

../src/1.18.0-aee8e3c3e1.clean/meson.build:388:13: ERROR: Can not run test applications in this cross environment.

This should be a community triplet issue, I can't reproduce this issue on x64-linux.

Maybe you could skip cross check by the following comments, these codes from upstream https://gitlab.freedesktop.org/cairo/cairo/-/blob/master/meson.build?ref_type=heads#L364.
  # Can skip the run check by providing the result in a cross file or
  # native file as bool property value.
  prop = meson.get_external_property('ipc_rmid_deferred_release', meson.is_cross_build() ? 'false' : 'auto')

  prop = meson.get_external_property('ipc_rmid_deferred_release', meson.is_cross_build() ? 'false' : 'auto')

This line is in cairo master now, but not yet in a released version. You could add this patch:
https://gitlab.freedesktop.org/cairo/cairo/-/commit/8d5037ed642b02cdb018e49866aa286f30a7b59a.diff
from
https://gitlab.freedesktop.org/cairo/cairo/-/commit/8d5037ed642b02cdb018e49866aa286f30a7b59a

I tried adding it temporarily to my pipeline but still encountered the error. According to the logs, my patch skip_cross_check.patch wasn't applied, and I'm not sure why. What might I be missing?


The ACDD attribute spatial_representation should follow controlled MMD vocabularies

We need to make custom functions to ensure that the right values are used.
The following attributes should be checked (plus maybe others - see the list in the Data Management Handbook):

[ ] spatial_representation

The controlled vocabulary is not in vocab.met.no

@ferrighi - can the MMD spatial_representation controlled vocabulary be added to vocab.met.no?

yes. It should be part of the vocabulary indeed.

@ferrighi - maybe this has been forgotten? Shall I make an issue in MMD?

Forgotten yes, sorry. Please make an issue in MMD.


EnvelopeVerifier.Verify panics if a nil envelope is provided

The current implementation of EnvelopeVerifier.Verify is:
func (ev *EnvelopeVerifier) Verify(e *Envelope) ([]AcceptedKey, error) {
	if len(e.Signatures) == 0 {
		return nil, ErrNoSignature
	}

If the provided envelope e is nil, the e.Signatures call results in a panic.
The panic is clearly incorrect behavior -- the function should either:

Return an error if e == nil
Return nil, nil if e == nil (consider a nil envelope to be valid/verified by definition)

I would probably lean more towards (1) since requesting that a nil envelope be verified is likely a bug in the logic of the caller, but either approach would work as long as it's documented (and would be preferable to the current behavior).

I think option 1 makes sense. Can you submit a patch adding that check to the function?

Thank you, @nmiyake!


[WIP] Float lstmcells

@rafaelvalle
works well. plz merge model.py and train.py
result from only pull request  #136
https://github.com/NVIDIA/tacotron2/commit/f2c94d94fd64041bd8fdbd908beceea35e82ace0
Epoch: 0
OVERFLOW! Skipping step. Attempted loss scale:<PHONE_NUMBER>
OVERFLOW! Skipping step. Attempted loss scale:<PHONE_NUMBER>.0
OVERFLOW! Skipping step. Attempted loss scale:<PHONE_NUMBER>.0
OVERFLOW! Skipping step. Attempted loss scale: 536870912.0
OVERFLOW! Skipping step. Attempted loss scale: 268435456.0
OVERFLOW! Skipping step. Attempted loss scale: 134217728.0
OVERFLOW! Skipping step. Attempted loss scale: 67108864.0
OVERFLOW! Skipping step. Attempted loss scale: 33554432.0
OVERFLOW! Skipping step. Attempted loss scale: 16777216.0
OVERFLOW! Skipping step. Attempted loss scale: 8388608.0
OVERFLOW! Skipping step. Attempted loss scale: 4194304.0
OVERFLOW! Skipping step. Attempted loss scale: 2097152.0
OVERFLOW! Skipping step. Attempted loss scale: 1048576.0
OVERFLOW! Skipping step. Attempted loss scale: 524288.0
OVERFLOW! Skipping step. Attempted loss scale: 262144.0
OVERFLOW! Skipping step. Attempted loss scale: 131072.0
OVERFLOW! Skipping step. Attempted loss scale: 65536.0
OVERFLOW! Skipping step. Attempted loss scale: 32768.0
/scratch/fp16_optimizer.py:173: UserWarning: torch.nn.utils.clip_grad_norm is now deprecated in favor of torch.nn.utils.clip_grad_norm_.
  return torch.nn.utils.clip_grad_norm(fp32_params, clip)
/scratch/fp16_optimizer.py:173: UserWarning: torch.nn.utils.clip_grad_norm is now deprecated in favor of torch.nn.utils.clip_grad_norm_.
  return torch.nn.utils.clip_grad_norm(fp32_params, clip)
/scratch/fp16_optimizer.py:173: UserWarning: torch.nn.utils.clip_grad_norm is now deprecated in favor of torch.nn.utils.clip_grad_norm_.
  return torch.nn.utils.clip_grad_norm(fp32_params, clip)
/scratch/fp16_optimizer.py:173: UserWarning: torch.nn.utils.clip_grad_norm is now deprecated in favor of torch.nn.utils.clip_grad_norm_.
  return torch.nn.utils.clip_grad_norm(fp32_params, clip)
/scratch/fp16_optimizer.py:173: UserWarning: torch.nn.utils.clip_grad_norm is now deprecated in favor of torch.nn.utils.clip_grad_norm_.
  return torch.nn.utils.clip_grad_norm(fp32_params, clip)
/scratch/fp16_optimizer.py:173: UserWarning: torch.nn.utils.clip_grad_norm is now deprecated in favor of torch.nn.utils.clip_grad_norm_.
  return torch.nn.utils.clip_grad_norm(fp32_params, clip)
/scratch/fp16_optimizer.py:173: UserWarning: torch.nn.utils.clip_grad_norm is now deprecated in favor of torch.nn.utils.clip_grad_norm_.
  return torch.nn.utils.clip_grad_norm(fp32_params, clip)
/scratch/fp16_optimizer.py:173: UserWarning: torch.nn.utils.clip_grad_norm is now deprecated in favor of torch.nn.utils.clip_grad_norm_.
  return torch.nn.utils.clip_grad_norm(fp32_params, clip)
Train loss 18 47.014099 Grad Norm 11.577597 4.06s/it
Train loss 19 34.750801 Grad Norm 19.772823 4.11s/it
Train loss 20 19.078642 Grad Norm 17.975953 4.07s/it
OVERFLOW! Skipping step. Attempted loss scale: 16384.0
OVERFLOW! Skipping step. Attempted loss scale: 8192.0
OVERFLOW! Skipping step. Attempted loss scale: 4096.0
Epoch: 1
OVERFLOW! Skipping step. Attempted loss scale: 2048.0
OVERFLOW! Skipping step. Attempted loss scale: 1024.0
OVERFLOW! Skipping step. Attempted loss scale: 512.0
OVERFLOW! Skipping step. Attempted loss scale: 256.0
OVERFLOW! Skipping step. Attempted loss scale: 128.0
OVERFLOW! Skipping step. Attempted loss scale: 64.0
OVERFLOW! Skipping step. Attempted loss scale: 32.0
OVERFLOW! Skipping step. Attempted loss scale: 16.0
OVERFLOW! Skipping step. Attempted loss scale: 8.0
OVERFLOW! Skipping step. Attempted loss scale: 4.0
OVERFLOW! Skipping step. Attempted loss scale: 2.0
OVERFLOW! Skipping step. Attempted loss scale: 1.0
OVERFLOW! Skipping step. Attempted loss scale: 1
OVERFLOW! Skipping step. Attempted loss scale: 1
OVERFLOW! Skipping step. Attempted loss scale: 1
OVERFLOW! Skipping step. Attempted loss scale: 1
OVERFLOW! Skipping step. Attempted loss scale: 1
OVERFLOW! Skipping step. Attempted loss scale: 1
OVERFLOW! Skipping step. Attempted loss scale: 1
OVERFLOW! Skipping step. Attempted loss scale: 1
OVERFLOW! Skipping step. Attempted loss scale: 1


Fix --no-gen-object-api

--no-gen-object-api still imports object API ...T types and Unpack functions taking a ...T.
Ideally this flag is just removed and always turned on since it allows for nicer Unpack methods.

Ideally this flag is just removed and always turned on since it allows for nicer Unpack methods.

Did you mean 'always turned off'?  If so, I agree. Right now, support for this flag is only partially implemented and leads to code that doesn't compile.
I started trying to add more support for it.  But it only leads to more name collisions in generated code.  So I'm going to remove the flag for now.  My apologies to anyone who may have been depending on this, but you will just have to edit the generated source files for now.


Add shell completion for get/completion

Signed-off-by: Tuan Anh Tran<EMAIL_ADDRESS>Add shell completion for bash and zsh
I've only add completion for get command. for other commands (info, install and update`, we will have to maintain a list of apps. If you want, i can add it.
Description
Add shell completion for bash and zsh
Motivation and Context
Attempt to close #158

[ ] I have raised an issue to propose this change (required)

How Has This Been Tested?
Test with bash on ubuntu

running arkade completion bash to generate completion for bash

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

[ ] I have tested this on arm, or have added code to prevent deployment

This gave me the idea for this PR: https://github.com/alexellis/arkade/pull/161/files
It should (if merged?) give us the ability to get a list of the apps for install by looping over the keys in that map?


Fix build

Proposed changes
Just fixing some random fallout in proofs. Adding regenerated hints for everything too.
Types of changes
What types of changes does your code introduce to HACL*?
Put an x in the boxes that apply

[x] Proof maintenance (non-breaking change which fixes a proof regression)
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New algorithm or feature (non-breaking change which adds functionality)
[ ] Improved performance (fix or feature that would improve performance of some algorithm on some platform)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CODE_OF_CONDUCT.md doc
[x] I have read and agree to submit my changes under the LICENSE
[ ] I have added necessary documentation (if appropriate)
[ ] I have edited CHANGES.md (if appropriate)

Thanks Guido!


#3202 Change password for the initial access or expired user

Description

Change password for the initial access or expired user
Related Issue : #3202

How Has This Been Tested?

Sign up with a new account.
If the account is approved, try to log in.
If the temporary password is correct, the password change layer will be displayed.
Change the password, log in and enter the workspace.
After initializing the password on the login page, check if the password change layer is displayed when logging in with a temporary password.

Need additional checks?
External login page
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context

deploy to 1

deploy to 1

@minhyun2 I think there is something to update.

If the current password is incorrect, the error should be placed at the arrow.

It seems to explain why you need to change your password.

deploy to 1

@kyungtaak I fixed the error that the current password does not match.


v0.91-i Error on startup

Debug version INI - just unpack into the same folder, close any running versions of F4MM and start F4MiniMenui2.ahk - after startup it should show a GUI with the contents of the Matchlist object

Found error - needed to add check for compiled script


Link collector does not download mangadex's covers.

It does import flawlessly when I paste mangadex link to search bar and click import book but when I use link collector it does good job too but does not download covers.

Now, this import method does not work too, it redirects server 500 error.

Now, this import method does not work too, it redirects server 500 error.

Should be fixed in the new release.

Should be fixed in the new release.

It works, thanks!

It works, thanks!


When I try to run the app and open snapchat it shows this Error: Something went wrong. Please try again

I am simply running an example on my device (Android ) but it is showing above error. In debug console there is nothing so what is the possible error I don't know. Running on Android 9
Here is video demonstration for snapchat app as well as browser

https://user-images.githubusercontent.com/49631685/137750385-b85f43f0-34aa-426e-8898-307ed72f1444.mp4

i have followed every step from the documentation. Before I didn't know that i have to register on snapkit portal but now I have production client ID and uri but its still showing same error... 'Error: Something went wrong. Please try again' on android
only possibility of error can be following things being mixed up so if they are right then it has some error
here is my uri myapp://snapkit/oauth
and I have declared
android:scheme = "myapp" android:host = "snapkit" android:path="/oauth"
if this is right then there is some other issue because I have placed my client id and uri in example project


Jwt for flask service.

Hi I am newbie in this library... I am trying to create the proxy for can usage the library in flask over nginx but I dont can work this....
the app is the follwing ....
from flask import Flask, render_template, request, jsonify
from flask_jwt_extended import JWTManager, create_access_token
import requests
import os
from dotenv import load_dotenv  # Para cargar variables de entorno desde .env

app = Flask(__name__)
app.config['SECRET_KEY'] = 'secreto123456'
app.config['JWT_SECRET_KEY'] = 'secreto123456'
jwt = JWTManager(app)

@app.route('/token', methods=['POST'])
def token():
    access_token = create_access_token(identity="guest")
    return jsonify(access_token=access_token)

@app.route('/')
def main():
    return render_template('main.html')

@app.route('/gtts', methods=['POST'])
def gtts_proxy():
    token = request.headers.get("Authorization")
    headers = {'Authorization': token} if token else {}
    json_data = request.get_json()

    response = requests.post(
        'https://eu-texttospeech.googleapis.com/v1beta1/text:synthesize?key=the-api-key',
        headers=headers,
        json=json_data
    )

    if response.status_code != 200:
        return jsonify({"error": "Error en la solicitud a Google TTS", "details": response.json()}), response.status_code

    return jsonify(response.json()), response.status_code

if __name__ == '__main__':
    load_dotenv()
    app.run(debug=True, host='<IP_ADDRESS>', port=5150)

the html/javascript is following
main.html
<!DOCTYPE html>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Main Page</title>
    <link rel="stylesheet" href="/static/css/styles.css">

TalkingHead Avatar

    <input id="text" type="text" value="Hi there. How are you? I'm fine.">
    <input id="speak" type="button" value="Speak">

the nginx content is:
server {
    listen 80;
    server_name mydomain.net;

    location / {
        proxy_pass http://<IP_ADDRESS>:5150;  # Puerto donde Gunicorn está escuchando
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_redirect off;
    }

    # Proxy para la API de Google TTS
    location /gtts/ {
        proxy_pass http://<IP_ADDRESS>:5150/gtts/;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }

     # Ubicación para servir archivos estáticos
    location /static/ {
        alias /var/www/mydomain/static/;  #static files
    }

    location ~* \.mjs$ {
        add_header Content-Type application/javascript;
    }

    listen 443 ssl;
    ssl_certificate /etc/letsencrypt/live/mydomain.net/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/mydomain.net/privkey.pem;

}

I dont expert in flask but I think that the config file for nginx is ok?
the output page is working and load the avatar

but when i try to do speak this happen.. in the console of the google chrome

please help me to fix the errors to can allow me to work with this library

Hi.
Does the 404 (Not Found) error for the /gtts/ request originate from the nginx server, the Flask server, or the Google TTS server? - You can probably determine this by checking the Network tab in your browser's developer tools, where you can examine the actual request and response headers, among other details.
If the 404 error is coming from either nginx or Flask, it might be due to some configuration issue. Unfortunately, I'm not familiar with nginx or Flask, so I can't really say what that issue might be. In principle, your configuration seems alright to me.
If the 404 error is from the Google TTS server, here are a couple of observations. First, you should not send the Authorization header with a JWT to the Google TTS server. It is sufficient to include your Google TTS API key in the URL. The JWT should only be used to verify that the end-user is authorized to use your Google TTS API key for the request, based on the information specified in the token (such as username, expiration time, etc.).
In your token method, it seems you return a JSON string. However, according to the standard, a JSON Web Token consists of three Base64-URL encoded strings separated by dots. I'm not sure what you plan to do with your code eventually, but typically, once the user is identified via SSO, you would return a JWT that grants the user restricted and time-limited rights to make actual API calls. For more information about JWT, refer to jwt.io

thanks for answering, I like your component and I will
keep trying to make it work in my work environment, since it is in pure javascript without using react or other libs, it would be useful for me to put it in any web client environment... I generally program in c# for mobile, but
I do not regularly use programming languages on the server, I know a little about Flask because I have used it to learn a little about Gemini
The 404 error appears to be not working properly when trying to connect to the endpoint.  but since I want to understand how your component works, I have been looking for how to implement the server part that you mention.
Would it be too much to ask if you can show the code associated with the rest service that you use as a proxy to implement the JWT? What language did you do it in? php with apache? or what is required to make the component work with gtts elevenlabs or other component? I understand that these libraries are required only to obtain the audio from a text or what else do you use it for?

You can read the outline of my own Apache2/JWT/SSO setup in the README, Appendix B.
For JWT specifically, I currently use the jwt-cli CLI tool along with shell scripts. However, there are many different JWT tools and libraries available for various programming languages (C#, PHP, Python, etc.). See https://jwt.io/libraries
I won't include my CGI scripts here due to security reasons. However, the general idea is that my get JWT CGI script generates and encodes a new token using a CLI tool, then returns the token. For example (not a real token):
{ "jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" }

When the token—that three-part Base64-URL encoded string—is used in an API proxy request, the jwtverify CGI script extracts it from the Authorization header and uses the CLI tool to decode it. If the token is valid, not expired, etc., the script allows the proxy pass. The information you include in the token and what you check are up to you.
Yes, Google TTS and ElevenLabs are text-to-speech services. In addition to audio, they provide word-to-audio timestamps, which are essential for accurate lip-sync. If you want to use JWT + ElevenLabs, there is an Apache2 configuration example for the ElevenLabs WebSocket API in Appendix B. You can also find a client-side code example of how to use the class with ElevenLabs TTS in the test app  index.html. See the methods jwtGet and elevenSpeak.

I'm curious, did you manage to make it work?

Hello, notice that I haven't taken it up again, it's just that I was looking for a component like this to make it work for an experiment I did on AI and I wanted to integrate it with a talking avatar, in the end what I did was use some examples with react, but the lipsync still I haven't been able to make it work, anyway I want to give me time to fully understand the use of your component that seems more robust to me, just give me a little time to examine it better, if you want you can see my experiment here...
https: //avatar.virtualisimo.net/,
I hope to be able to continue exploring your component in a few more days if you can help to me for that I aprecciate very much your help, I maybe I can help you to best this

Thanks for the update — I enjoyed your upbeat demo!
Regarding the demo, if you haven't noticed, I have a short code example called mp3.html in the examples directory that can make an avatar lip-sync to any audio file. It uses OpenAI's Whisper to transcribe the audio and obtain word timestamps. The code then uses the TalkingHead's speakAudio method instead of speakText, which eliminates the need for any TTS engine. You can watch a related demo video here (the screen capture is from the test app index.html, but the relevant code is more or less the same as in mp3.html).
If your own audio analysis already provides word-level timestamps, integrating lip-sync would be quite straightforward without any TTS or API keys.
In your demo, the key highlight was, of course, the sentiment analysis, which I also found interesting. I've conducted some sentiment analysis experiments using GPT-4 with function calling, dynamically altering the avatar's mood or triggering animations—though only with text input/output. This was the first time I've seen it applied to a song.

I will close this issue, but feel free to reply if you have further questions.


What....

Describe your bug here.
I started my psych engine and the screen was black and the FPS was in 2 - 6 (i dont have a bad pc the game was like that)
and when i touch another program or touch the desktop the FPS started increasing but when i go back to the game the fps goes to 2 - 6
Screenshot:

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I just added a song and a chart

Fixed i just needed to restart my pc


Pacing colour styles

Consolidated work on pacing feature. Includes full compatibility with colourblind mode and remove positive highlights (among all changes suggested in pull #76)
Screenshot: http://i.imgur.com/ud5uc4g.png
This is the result of all the following features active:

Check credit card balance
Highlight all negative balances red
Remove positive highlights
Pacing
Colourblind mode

Thanks again!


Data not correct

I think India data is showing not correctly!
https://caniuse.com/#feat=css-featurequeries

I think it would be 97 not 87
PS: Indians don't use IE and my calculation says it's surely not 87 in any case

Agreed, there's something weird going on. Currently 11.4% of India's data is "untracked", a month ago it was only 5.1%. I suspect it relates to a recent change in the StatCounter data, though curiously data from other countries appears to be correct. Will let you know if I figure anything out.

Thanks man @Fyrd ... let me know
Feature queries are the one which I am really interested #India #PWA

Wait this might be because of this phone, https://www.jio.com/en-in/book-jio-phone
This phone has got popular from last 1-2 due to it's very cheap price
It's using KaiOS => http://www.kaiostech.com/

More researching made me found it's actually forked from one and only FirefoxOS
Yes that discontinued FirefoxOS ... but it's still alive
The Boot 2 Gecko community is maintaining this open source operating system now!
https://wiki.mozilla.org/B2G
WOW!

Thanks @Fyrd for the tracked update... Really thankfull!

Seeing some incorrect browser statistics:

Flexbox definitely has broader applicability that 60% of browsers, and I'm certain that we have more than 0% use of iOS 12.2/12.3 in the US and Australia.

@inopinatus Thanks for pointing that out, have fixed it now! May need to reload your browser.


Replace country-service with atlas

Description
Fixes (issue #)

Type of change

[ ]  Patch: Bug (non-breaking change which fixes an issue)
[ ]  Minor: New feature (non-breaking change which adds functionality)
[ ]  Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] I have added a changelog entry, prefixed by the type of change noted above (Documentation fix and Test update does not need a changelog as we do not publish new version)

@rebeccaqu A CHANGELOG entry for this update is needed. (This will probably be a patch when we cut a version.)
Please add a "Changed" entry in https://github.com/Shopify/quilt/blob/main/packages/address-consts/CHANGELOG.md

Hey @atesgoral 👋  - thanks for the heads up!
I've checked off "patch" and added to the changelog - do you know when the next version cut will be?

@rebeccaqu Soon! Perhaps tomorrow, the latest.

@atesgoral amazing 🤞

@rebeccaqu<EMAIL_ADDRESS>released!

IMO, this should have been a major version change. cc @Shopify/checkout-one-frontend - if C1 is still using @shopify/addresses, an upgrade will require CSP changes in core.


NO-JIRA: pkg: add missing safe sysctls to the list of SafeSysctlAllowlist

As part of Kubernetes v1.29, several sysctls [1] have been added to the SafeSysctlAllowlist. However, that list has not yet been updated in OCP. This change addresses that issue.
[1] https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/#safe-and-unsafe-sysctls

/approve
/lgtm

@deads2k ptal

/approve
recall that this will need to be vendored in to o/k.


Merge docs-staging branch to master

docs-staging contain changes for 0.9.2

FYI, the merge conflict here is a simple fix. I can perform the merge when 9.2 is released


Use hash join with null_equals_null = true for joins containing IS NOT DISTINCT FROM

Is your feature request related to a problem or challenge?
It would be nice if the optimiser could use hash joins when queries contain IS NOT DISTINCT FROM - with null_equals_null behaviour
e.g. as it is at the moment
SELECT t1.label, t1.v1*t2.v2 FROM t1 JOIN t2 ON t1.label=t2.label;

will use a hash join while
SELECT t1.label, t1.v1*t2.v2 FROM t1 JOIN t2 ON t1.label IS NOT DISTINCT FROM t2.label;

will use a nested loop
below
> CREATE table t1(label text, v1 int);
0 row(s) fetched.
Elapsed 0.004 seconds.

> CREATE table t2(label text, v2 int);
0 row(s) fetched.
Elapsed 0.002 seconds.

> EXPLAIN SELECT t1.label, t1.v1*t2.v2 FROM t1 JOIN t2 ON t1.label=t2.label;
+---------------+----------------------------------------------------------------------------------------------------------------+
| plan_type     | plan                                                                                |
+---------------+----------------------------------------------------------------------------------------------------------------+
| logical_plan  | Projection: t1.label, t1.v1 * t2.v2                                                                            |
|               |   Inner Join: t1.label = t2.label                                                                              |
|               |     TableScan: t1 projection=[label, v1]                                                                       |
|               |     TableScan: t2 projection=[label, v2]                                                                       |
| physical_plan | ProjectionExec: expr=[label@0 as label, v1@1 * v2@2 as t1.v1 * t2.v2]                                          |
|               |   CoalesceBatchesExec: target_batch_size=8192                                                                  |
|               |     HashJoinExec: mode=Partitioned, join_type=Inner, on=[(label@0, label@0)], projection=[label@0, v1@1, v2@3] |
|               |       CoalesceBatchesExec: target_batch_size=8192                                                              |
|               |         RepartitionExec: partitioning=Hash([label@0], 16), input_partitions=1                                  |
|               |           MemoryExec: partitions=1, partition_sizes=[0]                                                        |
|               |       CoalesceBatchesExec: target_batch_size=8192                                                              |
|               |         RepartitionExec: partitioning=Hash([label@0], 16), input_partitions=1                                  |
|               |           MemoryExec: partitions=1, partition_sizes=[0]                                                        |
|               |                                                                                |
+---------------+----------------------------------------------------------------------------------------------------------------+
2 row(s) fetched.

Elapsed 0.003 seconds.

Describe the solution you'd like
When optimising the logical plan if ExtractEquijoinPredicate encounters a join with no existing conditions in the "on" vector and no results for split_eq_and_noneq_join_predicate then do a similar check for "IS NOT DISTINCT FROM". If this returns some conditions then push these into the "on" vector and set null_equals_null to true.
We've got a change like this on our fork of DF. We also had to add a few checks to some optimiser rules to stop them rewriting joins without checking null_equals_null.
Describe alternatives you've considered
I don't know if this could potentially be left to a later optimisation pass.
Additional context
No response

take
I had a draft branch implementing this. I will go over it and put it up for review.


Expose ResourceImporter to the scripting API

Fixes #30127
Another option would be to just revert to the previous GDCLASS(EditorImportPlugin, Reference).

Another option would be to just revert to the previous GDCLASS(EditorImportPlugin, Reference).

I'm not sure ResourceImporter is meant to be exposed at all. I guess we could revert the EditorImportPlugin with an explanatory comment, but what's the impact of this discrepancy between actual base class and what we register in GDCLASS?

Actually wait, I might be wrong about this. I think I can actually make the bindings generator go up the inheritance tree until it finds a base type that is exposed (in this case Reference). I will try it tomorrow.

Discussed it with @reduz:
19:55 <Akien> reduz: About #30296, what's the proper way to handle it?
19:55 <IssueBot> #30296: Expose ResourceImporter to the scripting API | https://git.io/fj6qx
19:55 <Akien> reduz: the issue arised in Mono due to a change here: https://github.com/godotengine/godot/blob/master/editor/import/editor_import_plugin.h#L37
19:56 <Akien> It used to be `GDCLASS(EditorImportPlugin, Reference);` (so mismatch with the `public ResourceImporter` on previous line)
19:56 <Akien> It was changed to fix the mismatch but that broke C# apparently, and #30296 is one way to fix it, the other one being to revert to Reference.
19:57 <Akien> I guess the rationale is that even though it's a ResourceImporter API, it makes more sense to expose it for scripting in EditorImportPlugin?
20:11 <reduz> Akien: yes, it makes more sense to expose for scripting in editor
20:11 <reduz> since its only really used in editor
20:12 <reduz> these classes are not present on release, but they need a base ResourceImporter class so editor is not referenced from the game
20:16 <Akien> reduz: so we should revert back to `GDCLASS(EditorImportPlugin, Reference);`?
20:22 <reduz> Akien: I dont remember how it works, but if it worked before, i guess so
20:23 <reduz> Akien: resourceimport should not be bindable from script
20:24 <Akien> neikeq says he'll look into a way to keep the correct GDCLASS but to skip classes which are not bound for scripting
20:24 <Akien> So we wouldn't have to bother and could use the correct `GDCLASS(EditorImportPlugin, ResourceImporter)`, but the scripting language would resolve that up to Reference. Let's see what he comes up with :)
20:25 <Akien> That might uncover quite a few wrongly bound classes too
20:25 <reduz> Akien: it doesnt matter if its bound to scripting or not I think, it can just remain there while being unusable
20:25 <reduz> Akien: those are generally bound as virtual, so scripting cant instantiate those classes anyway
20:25 <Akien> Yeah but that breaks C# apparently
20:26 <reduz> cant you mark classes as virtual in C# ?
20:26 <Akien> I don't know, I think it's due to how neikeq uses the classref to generate the bindings
20:26 <Akien> So if stuff appears in the classref which is not supposed to be there, things get messy
20:27 <Akien> Well not classref XML per se, but the Core and Editor APIs
20:27 <reduz> maybe its just a problem in the mono bindings
20:28 <reduz> i mean C# afaik is able to do abstract classes, so not quite sure why its a problem
20:29 <Akien> Not sure, but currently they get this kind of issue: https://user-images.githubusercontent.com/10358443/60282926-f8d06480-98ff-11e9-8d3a-10c4c0140c1f.png
20:29 <Akien> C# bindings also break whenever a new constant is added but not properly bound with BIND_ENUM_CONSTANT
20:29 <reduz> oh i understand now
20:29 <reduz> the code i have here is
20:29 <reduz> https://www.irccloud.com/pastebin/YfqCmV4E/
20:29 <Akien> But IIRC GDNative has a similar issue, they're both quite brittle when it comes to the API
20:29 <reduz> this is a bug
20:30 <reduz> it should actually extend ResourceImporter
20:30 <reduz> only fixing that should be enough
20:30 <Akien> No, it's fixing that which introduced the bug :P
20:30 <Akien> The code you have worked fine, but it was "fixed" and now we have this C# issue
20:31 <reduz> probably because we are missing a ClassDB::register_virtual_class<ResourceImporter>
20:31 <reduz> so it never gets registered in core profile
20:31 <Akien> Right. But should it be if it's not meant to be accessed from script?
20:31 <reduz> yes it should still be ther
20:31 <reduz> e
20:32 <reduz> it may not be useful on release, but it is with tools since its part of the inheritance

Wouldn't ClassDB::register_virtual_class<ResourceImporter>(); be sufficient, as you suggested in https://github.com/godotengine/godot/issues/30127#issuecomment-506431177 ?

Actually the whole point of this PR was to add that ClassDB::register_virtual_class<ResourceImporter>();, but I just noticed I forgot to commit that file.
The other changes alone do nothing more than moving the method declarations to ResourceImporter.

Fixed. I'm not sure about moving the method binds to ResourceImporter though. It leaves the EditorImportPlugin empty as it doesn't declare anything of its own, which makes me wonder why this class even exists.

I'm not sure about moving the method binds to ResourceImporter though. It leaves the EditorImportPlugin empty as it doesn't declare anything of its own, which makes me wonder why this class even exists.

It shouldn't be moved, the idea is that this is exposed through EditorImportPlugin, which is the user-facing API. Users shouldn't have to bother with ResourceImporter at all, it's an implementation detail that its API is also used by existing builtin import plugins (but if you want to make your own, you should extend EditorImportPlugin).

I still don't understand why we need a separate class if the API is the same, but I'm reverting these changes any way.

Thanks!


[Bug]: missing language support for the dates in e-mails

What happened?
In a german environment: If the customers get an email when reserve a table, they see the day they booked the table not in german format but in english format.

And also the waiters / the location.

What did you expect to happen?
In a german environment I expect to see the day- and monthnames in german.
Steps to reproduce:

have an other language than english
setup in language - interface the field system::lang.php.date_format_long with an format that displays day- and monthnames (l, d. F Y)
let a customer create a new reservation and have a look at the e-mail the customer and the e-mail the location received.

My TI-Version: 3.1.2
Version
Other (please detail)
What browser are you seeing the problem on?
Firefox
Relevant log output
No LogOutput

This would be closed if we apply the same approach I suggest in https://github.com/tastyigniter/ti-ext-reservation/issues/25

Should be fixed by https://github.com/tastyigniter/TastyIgniter/commit/7dad2c1a1e25eb5a5417c1a1f149f7d4e4161c19

But this solves only the date/time locale format in the admin-listing not in the e-mails. Right?
I assume, there were two an other lines to modify.
In /app/admin/models/Reservations_model.php line 429 and 430 should changed to:
$data['reservation_time'] = Carbon::createFromTimeString($model->reserve_time)
->isoFormat(lang('system::lang.moment.time_format'));

$data['reservation_date'] = $model->reserve_date->isoFormat(lang('system::lang.moment.date_format'));
I hope, it is not only a hack ;)
What do you think?

Seems right to me, open a PR !

On 18 Nov 2021, at 14:34, Gnulf @.***> wrote:
But this solves only the date/time locale format in the admin-listing not in the e-mails. Right?
I assume, there were two an other lines to modify.
In /app/admin/models/Reservations_model.php line 429 and 430 should changed to:
$data['reservation_time'] = Carbon::createFromTimeString($model->reserve_time)
->isoFormat(lang('system::lang.moment.time_format'));
$data['reservation_date'] = $model->reserve_date->isoFormat(lang('system::lang.moment.date_format'));
I hope, it is not only a hack ;)
What do you think?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/tastyigniter/ti-ext-reservation/issues/26#issuecomment-972921087, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAMVO6UOCIQB25JH3FBLCLUMUFFTANCNFSM5HYZMLYQ.


WebDev Projects.

I have added a my project to webdev section. Who will be reviewing it my pull request has passes all the test but it didn't got merge into main repo.

Yeah I will be verifying and merge into the main branch

Yeah I will be verifying and merge into the main branch
On my hacktoberfest profile it says "Project not participating".


Draw Dynamic Lines Between Two Item

Hi there,
Is there any feature for draw dynamic lines between two items in different lists?
Best Regards.

@muhammedesadkaya  hi!
I have just  done Dependency Injection mechanism. Could you please test it and give me a feedback?
https://github.com/rcdexta/react-trello/pull/274
yarn add BrandyMint/react-trello#components_dependency_injections

You can use your custom Card components to draw the line.
If it is Ok, I will merge it to master.

Hi. How can i test it mate? :) I tried to learn what is the attribute for add my custom Card component but don't understand :D sorry about this

Could you show your code? Where you call <Board and define custom Card component?

https://codesandbox.io/s/zealous-darkness-nqf8p?fontsize=14
i trashed some my codes for basic usage.

hey are you alive? =)

@muhammedesadkaya sorry, I missed this issue notification.
I can't get, where you want to draw dynamic lines? Between cards of between lanes?

lets talk about scenario. each lane one module and each module has status. i want to connect status among themselves. exp;


Add table would be better if it took a list rather than multiple strings as input

Have you checked the issues for a similar suggestions?
Yes
How would you improve Rich?
The grid system with Tables would be much better if it took a list as input rather than multiple strings.
grid.add_row("Raising shields", "[bold magenta]COMPLETED [green]:heavy_check_mark:")

should be
grid.add_row(["Raising shields", "[bold magenta]COMPLETED [green]:heavy_check_mark:"])

This would be a much more "Pythonic" way to iterate over data and aligns more closely with other libraries such as openpyxl and the csv built in module of Python.
What problem does it solved for you?
This will make the library MUCH more easy to use with iterables. which is 99% of the time how people will want to use it. (unless you have a better suggestion or example with using this with a for loop?)

Not sure why you would prefer one over the other. Some example code might help.

yes, an example with a for loop would be great.  It seemed rather challenging to get it working while iterating over a list of dictionaries (which is super common use case I would think).

There is another similar library called Pretty Tables - This is a pretty popular one I think.  Does not have all your awesome formatting though.  :-D

What I meant was, could you give me an example of the code you think would be improved if add_row accepted a list?

Well that actually seems to be the trick.  We tried using Rich with a servicenow integration we are doing and hit a roadblock and needed to switch to PrettyTable library because of this issue.
Thanks much,
Brad
from snow import Snow
from prettytable import PrettyTable
from tables import *
import yaml
from pprint import pprint

dev_tab = PrettyTable()
loc_tab = PrettyTable()
user_tab = PrettyTable()

with open('config.yaml', 'r') as cf:
    conf = yaml.safe_load(cf)

dev_tab.field_names = device_columns
loc_tab.field_names = location_columns
user_tab.field_names = users_columns

c = Snow(instance=conf['INSTANCE'], company_id='LIONS001', username=conf['USERNAME'], password=conf['PASSWORD'])

devices = c.get_devices()
locations = c.get_locations()
users = c.get_users()

for x in devices:
    row = [x.get(col) for col in device_columns]
    dev_tab.add_row(row)

for x in locations:
    row = [x.get(col) for col in location_columns]
    loc_tab.add_row(row)

for x in users:
    row = [x.get(col) for col in users_columns]
    user_tab.add_row(row)

print(dev_tab)
print(loc_tab)
print(user_tab)

Have you ever encountered argument unpacking in Python?
row = ["foo", "bar"]
table.add_row(*row)

in the above example, devices, locations, and users are all lists of dictionaries.  We want to append a new row for each device.  hopefully this gives you the scenario.    So effectively we would have to solve it be doing the following code with the Rich library:
for x in devices:
    dev_tab.add_row(x['column1_name'], x['column1_name'],x['column2_name'],x['column3_name'],x['column4_name'],x['column5_name']x['column6_name'],x['column7_name'],x['column8_name'])

Have you ever encountered argument unpacking in Python?
row = ["foo", "bar"]
table.add_row(*row)

ah, that would work...  yes, we did not think of that.  That said, i think you still may have some better adoption from users coming from alternative libraries like csv, Prettytable, openpyxl, etc...  That way the api would be more similar.  Make sense?

The positional arguments are cleaner in other scenarios. The table rows can accept any object types (even other tables) where the data may not naturally be in a list. If you do have a list, then unpacking is minimal additional effort.

Have you ever encountered argument unpacking in Python?
row = ["foo", "bar"]
table.add_row(*row)

thank for your trick, it helpd me!!


[Suggestion] compatiblity with Simple Hats' cosmetic slot and different command

hi, would it be possible to add compatibility for Simple Hats' cosmetic slot? (that toggles when you click the ribbon icon in the curios inventory)
and also maybe change the command to be /invview instead of /view? i find /view to be a bit too simple and that could conflict with another mod
thanks a bunch

In the next update a new command will be added to manage the cosmetics inventory and I am still testing it.


Enable database caching

[ ] Remove calls to default repository methods (find, findOneBy, findBy, etc.) and replace with concrete methods, calling DQL
[ ] Enable caching in each desired DQL call
[ ] Test to make sure caching is actually enabled

Usefulness of this is questionable, closing for now


No scroll bar in prompt text boxes

When using very long prompts, it becomes annoying to navigate the text boxes for them as there is no scroll bar. The only way to scroll is to use the arrow keys to move the text cursor.

Adobe has very terrible web-components, and they do not support scrollbars for input fields, so I made auto-resizing for the prompt text boxes.
https://user-images.githubusercontent.com/118139897/213538889-e4dd34c0-fb35-4050-aa2b-0ff1bc8dfbbb.mov


Add support for top/bottom/left/right gutter.

@boygirl I think this does the trick!
This is an alternative to #319 that replaces rowGutter with gutter accepting top, bottom, left, and right properties.
Alternatively, we could keep rowGutter and have gutter={ left, right } + rowGutter={ top, bottom } – thoughts?
Appears to work like a charm, here's gutter={{ left: 20, right: 50, top: 5, bottom: 8 }}:

Fixes FormidableLabs/victory#862.

@exogen sorry for the delay. I prefer gutter={ left, right } + rowGutter={ top, bottom } with support for single numbers or objects to avoid the breaking change.

@boygirl Should be ready!

Thanks!


:seedling: Change webhook secretName to avoid conflicts

We change the secretName of the certificate assigned to the
webhhok from a generic webhook-server-cert to include a prefix
"irso" to help avoiding confusion with other certs.

/retest

Please rebase to pick up the CI fix

Can you also provide PR description?

/approve


GRPC query refactor

Background
Right now, the grpc query interface we have seems untenable to me:

Mixes generic query logic and grpc-specific query logic
Grpc query test logic is super ad hoc / mostly unnecessary looking
Too much direct store handling
Mostly boilerplate that could just get generated

This manifests in our codebase as problems with:

Bad golang client interfaces (see every simulation PR, and all CLI code)
Mixing of responsibilities at the grpc_query file logic, and therefore bad tests
Increased complexity of Keeper packages

Suggested Design

[ ] Move all grpc_query logic into client/grpc in every module, and these should only use generic keeper methods
[ ] Have stable, simple methods for queries in the keeper package

A measurable outcome of this is that every packages simulation package should have 0 store package references.

[ ] Make a YML descriptor file for query logic that we codegen the entire client/grpc folder from

All the logic should really be boilerplate, of "run Keeper function, run through a pagination function, package into proto response"\
This is maybe excessive, should be explored more.

Acceptance Criteria

[ ] No grpc_query files in keeper package
[ ] Simulation message creation no longer needs to directly access the store
[ ] Some understanding of how to reduce overhead of our grpc client creation.

Hi @ValarDragon is this being worked on? Can I try doing this task ?

Good idea, though I think we may want to do this via AUtoCLI. Going to close for now


Update websocket-extensions dependency

Bump websocket-extensions to the latest version. This is pulled in transitively by the grunt-contrib-watch development dependency. I verified this change by ensuring grunt still ran fine.
Addresses https://github.com/NuGet/NuGetGallery/network/alert/src/Bootstrap/package-lock.json/websocket-extensions/open
Addresses https://github.com/nuget/engineering/issues/3231

I think in the past we've lifted the dependency to the package.json so that it's more explicit and reproducible (e.g. if someone deletes the lock file 😓).

The approach taken is effectively what running npm audit fix would've done.

I think in the past we've lifted the dependency to the package.json...

We don't have good processes around tracking what's a real direct dependency vs a transitive dependency that was lifted due to a vulnerability. If we lift the dependency, ideally, we'd later "unlift" it when our direct dependency grunt-contrib-watch is updated. We don't have good processes around doing this.

... e.g. if someone deletes the lock file 😓

I asked @zkat, they said:

... if you blow away your pkglock, it'll pull in the latest version anyway so that usually fixes vulns by default

I verified this behavior on my machine.

Sounds good, thanks for the context!


[X ] Does your code compile properly using make?
[X ] Did you related issue number in the description?

Description

Technical Debt

Please fix the check marks in the description they are supposed to be without any spaces in the checkbox.


Add pointer to qiskit/documentation issues for docs issues outside of API references

Summary
With the unification of the Qiskit docs and IBM Quantum Platform docs, we want to make it clear where to open an issue, depending on what page you're on when you identify a problem/suggestion to report.
Details and comments
Issues about documentation in the Start, Build, Transpile, Verify, Run, or Migration guides sections should be opened here: https://github.com/Qiskit/documentation/issues/new/choose

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
29 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.04%) to 87.421%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/expr.rs
1
93.76%

crates/qasm2/src/lex.rs
10
90.15%

crates/qasm2/src/parse.rs
18
96.2%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
59907

Relevant Lines:
68527

💛  - Coveralls

Ah I didn't see the toc -- got it! Thanks @ElePT


Fix Typo In Readme

Fix typo in Bootstrap instructions.

Hey @mloberg, I seriously thought I had already merged this.  Sorry, can you rebase so I can merge it? Thanks so much and sorry for not getting back to you sooner.  Like I said, I seriously thought I already merged this...

@envygeeks No worries. I've rebased my feature from master.

:heart:


[HxMessageBox] Customization of buttons (Color, Outline, ...)

Idea

⚠ Rename ButtonDefaults (currently used for HxButton.Defaults) to ButtonSettings (more generic name).
Add HxMessageBox.Defaults.PrimaryButtonSettings and HxMessageBox.Defaults.OtherButtonsSettings.
Eventually add IHxMessageBox.ShowAsync(), the MessageBoxRequest.PrimaryButtonSettings and MessageBoxRequest.OtherButtonsSettings to allow customization of the single MessageBox instance.

⚠ Implies renaming all XyDefaults to XySettings to keep consistency.
PROS

This approach is applicable to other scenarios, such as HxListLayout.FilterButtonSettings

CONS

The XyDefaults currently do not cover all the parameters which needs to be configurable for specific scenarios, e.g. HxListLayout.FilterButtonSettings.Text | Icon | .... These does not make much sense for HxButton.Defaults.
This approach does not allow full customizability of the buttons. We cannot use HxButton-derived component here (e.g. BtButton).

NOT SURE

This approach kind of reintroduces idea of Skins as the new XySettings are usable this way.

Alternative approaches?

???
how is this handled by other component bundles?

cc @jirikanda, @crdo for LDM

Done.


Can Multiple tooltip be displayed for same datapoint

Documentation Is:

[x] Missing or needed
[x] Confusing
[x] Not Sure?

Please Explain in Detail...
I want to display separate tooltips when two data points intersect.Currently Chart display one tooltip with both the values.
Current output

Desired Output

Your Proposal for Changes
Example
Below is the link where the issue can be seen.
https://codepen.io/SushmaPurushotham/pen/dyYmvrE
Here when i mouseover on "Blue" , want to have a separate tooltip to be displayed. Is there any functionality available in chart for this? or any workaround can be done.

That doesn't exist. But the tooltip is a plugin that can be disabled, so you can write your own tooltip plugin to provide the desired behavior


support add(Long) and contains(Long)

I have a mysql auto increment id toUse bitmap。It will be usefull if  there has method
add(Long) and contains(Long)。
or any suggestion?

Did you see https://github.com/RoaringBitmap/RoaringBitmap/issues/109?

Closing as duplicate.


User class validation methods

track issue here:
https://github.com/ammaratef45/Attendance/issues/31

@ammaratef45/z please, pay attention to this pull request

Job #35 is now in scope, role is REV

@ammaratef45/z everybody who has role REV is banned at #35; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

@Bahaaib Danke :+1:

@rultor merge

@rultor merge

@ammaratef45 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@ammaratef45 Done! FYI, the full log is here (took me 14min)

Job gh:ammaratef45/attendance#35 is not assigned, can't get performer

The job #35 is now out of scope


No more compatible with docx since v8.5.0

This now fails (used to work fine with versions 8.4.0 and prior):
import { defaultDocxSerializer } from 'prosemirror-docx';
import { Packer } from 'docx';
import { saveAs } from 'file-saver';

const input = proseMirrorElement.current.value();
const wordDocument = defaultDocxSerializer.serialize(input, {});
const blob = await Packer.toBlob(wordDocument);
saveAs(blob, 'whatever.docx');

Issue seems to be related to missing FontTable after https://github.com/dolanmiu/docx/pull/2174

Checkout our fork https://github.com/templi-ai/prosemirror-docx

Fixed with https://github.com/curvenote/prosemirror-docx/releases/tag/v0.2.0. Thx.


[Proposal] Introduce path property in devcontainer-feature.json

The $PATH variable is often modified by Features during installation to make a certain tool/script/etc easily accessible from the command line.  A common pattern today is to use containerEnv to modify the path variable, like so:
...
"containerEnv": {
   "PATH": "/home/vscode/dotnet":${PATH}"
}
...

Adding a property path to the devcontainer-feature.json would provide a declarative way for indicate what a Feature author intends to be available at the end.  Doing so this way would also limit pollution of the PATH variable by allowing the CLI an easy way to dedupe.
Proposal

Property
Type
Description

path
array
An array of strings, each an absolute path that should be injected as a member of the $PATH variable.

ref: https://github.com/devcontainers/spec/pull/234#discussion_r1218563819

Somewhat related: https://github.com/devcontainers/spec/issues/19


Add two-point voltage correction option

Same as previous, just wanted to get my repo updated with your latest and had to switch the branch my change was on...so new pull request (there was likely a better way to do this git stuff, though!).
For reference, here is the previous pull request's comment history:
With features like this (Vbat PID compensation), it seems like it could be important to get the battery voltage calibrated correctly. I tried using the automatic voltage calibration settings in config.h, but noticed that I could only get the voltage calibrated for one side of the battery or the other - at high voltage or low voltage. There was not just an offset, but a slope difference, too (and probably a curve, too, really...).
Until now, I used the settings on my Taranis Q X7 to calibrate out that slope and offset, as @chime13 and @ian444 mentioned earlier in the MMW NFE thread (something like the Taranis settings mentioned before of "Scale: 10.4 and Offset: -2.62 but with the default scalefactor of 0.001364."). Also, I noticed that I had to tune it different for my E011 board than my Beta65S Lite board.
This weekend, I added a feature to use a two-point battery voltage correction to config.h and drv_adc.c. It accomplishes the same result as the Taranis correction, but will work with any transmitter and allows the corrected values to be used for LVC, VBAT PID compensation, etc. I take measurements with a multimeter and then read the telemetry value for two points - with a full battery and a weak battery (say, 4.2V and 3.6V). Plug all four of those values into config.h and it will correct the slope and offset of the battery voltage "curve" (it is actually a linear correction).
For Taranis people: now my Taranis voltage scale factor is set to 6.6 (which is what it should be for the 3.3V reference) and the offset is 0.0.
My two boards, an E011 and Beta65S Lite actually need different correction factors. I already build different binaries for them, so it's not a big deal to keep their correction factors different. I don't know if all E011 boards are similar and can share correction factors, etc.
silver13 commented
How much is the battery voltage off by? I'd like to find the cause of this issue, some small offset ( 2% ) could be from tolerances, but more could be from an error somewhere.
The regulators can change voltage depending on input, but even that should be covered by the existing code
brianquad commented
For my E011, it is around 0.10 off on a full battery and 0.23 off for a spent battery.
Here is the data I took for my E011 board:
MultiMeter | Telemetry | Difference
4.12 | 4.22 | 0.10
4.13 | 4.22 | 0.09
3.70 | 3.88 | 0.18
3.79 | 4.01 | 0.22
3.72 | 3.96 | 0.24
4.00 | 4.12 | 0.12
And here is the data I took from my Beta 65S Lite board (using HV batteries):
MultiMeter | Telemetry | Difference
4.39 | 4.40 | 0.01
4.34 | 4.37 | 0.03
4.38 | 4.40 | 0.02
4.35 | 4.37 | 0.02
3.71 | 3.96 | 0.25
3.70 | 3.96 | 0.26
3.69 | 3.91 | 0.22
I admit that I have not examined the code much to see how the battery voltage is handled or how it should work, so I could just be treating the symptom :-) Let me know if I can track down a problem in any way!
silver13 commented
Thanks, it looks like under 10%, but it's strange how it gets worse at low values
the code uses the adc value, then attempts to compensate it by measuring vcc and using the internal calibration of the adc, which is saved in flash at factory production.
The internal compensation was added because the vreg can have a large tolerance, especially when the battery voltage changes
you could look at the compensation value in debug mode, should be equal to 1.178 if the vcc supplied to mcu is 2.8. You could also force it to disable the feature by setting it to return 1.0 .
https://github.com/NotFastEnuf/E011-BWHOOP-H8-Silverware/blob/master/Silverware/src/drv_adc.c#L108
brianquad commented
chime13 on MMW pointed out that I missed a warning in compiling drv_adc.h. I've updated the code to explicitly cast all of the constants to floats to avoid the implicit conversion to doubles.
NotFastEnuf commented
Just wanted to check and make sure you were comparing your multi meter readings against the actual moment to moment telemetry voltage and not the averaged one. Thanks brianquad
NotFastEnuf commented
Thanks. I'll test it out and merge it in. Looking forward to what you come up with next Brian!

merged


blocklyTreeRoot keeps focused after the toolbox is closed

This is causing some weird results trying to deal with keyboard inputs in Scratch. It's nice that you can page through categories with the keyboard, but as soon as the flyout is closed, I'd expect it to release focus from keyboard events, or something. @rachel-fenichel Have you and @carljbowman  thought at all about how keyboard should work with the Scratch-style toolbox?

Unless I explicitly add this back in, we lose this behaviour when we switch away from the closure tree anyway.
Carl and I have discussed this briefly.  So far the conclusion is that the toolbox should not handle keyboard events, since scratch needs to get keyboard inputs for games, etc.

^ sounds good, thanks :)


Blank screen in AngularJS tab in Developer Tools

Hi there,
I am working with AngularJS 1.4.7 and wanted to use this extension. With the current version 0.10.* the whole AngularJS tab in the Developer Tools windows is blank. I also tried v0.8.. When using 0.4. some content is shown, but the most functions do not work (like scopes).
Is there a version which works with AngularJS 1.4.7? Or do I need to "tweak" my project, to make it work? Is it mandatory to have a ng-app defined?
I am using Google Chrome v59.
I also tried Google Chrome v45 with Batarang 0.8.7 and 0.4.3 and still it does not work. Even the page https://angularjs.org/ does not show anything in the AngularJS tab.
Thanks in advance.

The latest version (0.10.9) works fine for me on https://code.angularjs.org/1.4.7/docs/api (which runs AngularJS 1.4.7) 😕
(Using Chrome 59.)

I don't know why, but today it is showing up in the AngularJS tab :) On the Angular docs page, it is showing the scopes etc. But in my application the scope is empty and in the perofmance tab "Waiting for first digest cycle..." is written :| Any ideas why?

Nope 😞 Is the application publicly accessible?

No it's not :( Any ways to send you something like a error-log of the extension?!

Not really. You can check for any errors in the DevTools (on the tab that runs the application) or on the DevTools for the AngularJS panel (undock the application's DevTools and click Ctrl+Shift+I) or on the DevTools for the extension's background page (go to chrome://extensions/, scroll to the extension and click on background page (or something along those lines)).
But I am afraid there is only that much we can do without a live reproduction of the issue 😕

I already checked the background page, but there is no error logged :| Thanks anyways. Will develop without the tooling support.

Sorry I could help more 😞
Closing for now. Happy to reopen and investigate if there is a (public) reproduction :smiley:


add Wi2Connect for Mac

Add a new Cask. :)

Wi2 Connect for Mac

Thanks for the review.
I set name stanza.

Seeing as url doesn’t point to a specific version, this cask should use version :latest and sha256 :no_check. See an example.

Thank you for the contribution. It needed some fixes, so they were made in 29dbd0652df7c734180b1b8ddda38a31d1f57b87. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


Maintain order for owners when adding/removing/swapping

Guarantee we keep owners in the database in the same order they are kept in blockchain
Closes #814

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 10 (90.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.02%) to 88.03%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

safe_transaction_service/history/indexers/tx_processor.py
9
10
90.0%

Files with Coverage Reduction
New Missed Lines
%

safe_transaction_service/history/indexers/tx_processor.py
1
87.19%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
5648

Relevant Lines:
6416

💛  - Coveralls

Should we have tests for this?

Should we have tests for this?

You are right, we have for all the process but not for this

Tests added


errors: rename Catch to ReportPanic

Error reporting client is exporting a "catcher" even though the right terminology for the behavior is "recovering". I am suggesting to rename the API to ReportPanic:
func (c *Client) ReportPanic(ctx context.Context, opt ...Option)

I also suggest changing the recovery behavior to favor crashing by default. The following deferred recovery can report the error and avoid the panic. ReportPanic by default reports the errors and repanics.
defer errorsClient.ReportPanic(ctx, errors.RecoverPanic())

Given it is best practice to report panics not at the application but by consuming logs, I am not 100% confident that we should keep supporting this API. But if we are doing it, let's make it handle less by default.
/cc @jba @zombiezen

We should probably look at panic-handling in this package wholecloth. (Including deciding whether it's best done out-of-band.)

I am in favor of removing panic handling from this package all together and documenting the use of logs to report panics. Please let me know how we should proceed debating this. Given the package is alpha, we can tolerate such a significant breakage.


update to dns 6.4.0

There's an API change in dns-client (the function connect returns a tuple of protocols and flow), which we follow with this commit.

It compiles and run fine here. I also have the same hash256. Ok to merge for me :)


Support SecretBinding for DNS Providers

How to categorize this issue?

/area usability
/kind enhancement
/priority 3
What would you like to be added:
The Shoot API should be extended by an optional secretBindingName field which can be used as an alternative for shoot.spec.dns.providers[].secretName to set up DNS providers:
spec:
  dns:
    domain: foo.bar
    providers:
      - secretBindingName: gcp-secret-binding
        type: google-clouddns
      - secretName: aws-secret
        type: aws-route53

Why is this needed:
Today, DNS providers for shoot clusters refer to Secrets that reside in the very same namespace as the Shoot.
In addition, users might want to refer to Secrets in other project namespaces where they have access to.
/cc @grolu

@timuthy Does this request still make sense in the light of #5270?

It's still a valid use case but we need to think about it again as with #5270 we would need a new approach to tackle this. Let's close this for now and discuss again once we implemented #5270.
/close

I just want to make clear that it is not only about adding the possibility to reference secrets from another namespace. It is also behaving differently than the shoot secrets, therefore the Dashboard secret handling is kind of hacky atm. We need to create a secret binding resource even if we cannot use them in the spec, so users could be very confused why a secret binding resource is required for DNS secrets to show up in the Dashboard. The main reason is that the secret binding resource is the place where we store the provider type information. I don't want to start a discussion about this now, however please consider adding support for secret binding resources when you refactor this feature because this would really help us keeping the Dashboard code cleaner.


Allow OAuth-SSO also when form is available

Description
This PR allows the single-sign-on via OAuth even when formAuth is also available.
To have the API working with username/password we need to enable formAuth. When a user also configures OAuth the user could never login using this SSO because the form was prioritized.

Additional context and related issues

Release notes
(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:
* Allow OAuth-SSO also when form is available

Maybe we should use AuthenticationConfiguration.defaultType to decide which loginType to be used.

@cla-bot check

Maybe we should use AuthenticationConfiguration.defaultType to decide which loginType to be used.

@mheers Any thoughts?

I think it might be best to look how this is handled in Trino and then just do the same thing.

@mheers are you still interested in working on this?


Enable child attributes in display property tag

I am wondering if there is a way to do the following.
Given a model:
`{id: 1, person: {fullName: 'Fred Jackson'}}
Can I set the display property to fullName. Something like this
display-property="person.fullName"

Sorry for not replying sooner.
You can't do that by using displayProperty, but you can use a custom template. Take a look at this issue.

Can this issue be closed?


[Library Manager] Add Telemetrix4Esp32

Please add https://github.com/MrYsLab/Telemetrix4Esp32 to the library. Thanks.

@ArduinoBot Please add this library