Update elrond.rs

Elrond -> MultiversX Rename

Thanks. I have put all 6 PRs together into one PR: https://github.com/Aimeedeer/realtps/pull/91.
I'll close this one.


SSL Redirection cannot be configured properly

Describe the bug
My helm-managed ingress objects with url path-based routing, ssl offload and multiple hostnames features work fine, however, when I try to update them with ssl-redirect annotation the Ingress controller cannot properly apply a new configuration to application gateway.
In that case, the controller only creates a HTTP listener and  a new rule (sslr-fl-09720eb9082cb7d02efdc60a169f3d35), see logs below) with a wrong type (Backend pool instead of the Redirection). As a result, such "configuration" opens a website on both 80 and 443 ports with no ssl-redirect configured. Have I missed any required configuration steps? Is it a bug?
Steps to reproduce the behavior:
Apply the ingress yaml files (below)
Ingress Controller details
Ingress version:
1.2.0-rc1 , Kubernetes 1.16.9
Controller logs:
E0611 15:32:00.066922       1 requestroutingrules.go:258] Will not attach default redirect to rule; SSL Redirect does not exist: /subscriptions/xxxx/resourceGroups/cluster-k8s/providers/Microsoft.Network/applicationGateways/appgwf4f7/redirectConfigurations/sslr-fl-09720eb9082cb7d02efdc60a169f3d35
Ingress yaml (backend):
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: gateway-api-ingress
  annotations:
    kubernetes.io/ingress.class: azure/application-gateway
    appgw.ingress.kubernetes.io/ssl-redirect: "true"
spec:
  tls:
    - secretName: appgw-ingress-tls
  rules:
    - host: www.contoso.com
      http:
        paths:
          - path: /path1/*
            backend:
              serviceName: gateway-api
              servicePort: 80
          - path: /path2*
            backend:
              serviceName: gateway-api
              servicePort: 80

Ingress yaml (frontend, providing only different parts):
http:
        paths:
          - backend:
              serviceName: myservice
              servicePort: 80

Experiencing the same problem, however I have no successful routing even on http. I get a SSL assigned when only using backend and no path. But when using the below nothing is created in APGW, this same does work on NGinX though.
spec:   tls:     - hosts:         - example.com       secretName: example-secret   rules:     - host: example.com       http:         paths:           - path: /*             backend:               serviceName: example-frontend-service               servicePort: 80           - path: /api/*             backend:               serviceName: example-backend-service               servicePort: 80

@rlevchenko / @StephanNel Do you see errors in your AGIC pod logs ? Also, can you make sure that the secret exists ?

@rlevchenko / @StephanNel Do you see errors in your AGIC pod logs ? Also, can you make sure that the secret exists ?

The secret exists. The AGIC works fine with disabled ssl redirection and enabled ssl offload = AGIC successfully uses the secret. There were only AGIC logs and they provided above. Tomorrow I'll try to enable ssl redirection to see whether AGIC produces any errors different than the one already mentioned.

same error messages:
I0624 07:16:22.910002       1 mutate_app_gateway.go:167] BEGIN AppGateway deployment
I0624 07:17:35.250342       1 mutate_app_gateway.go:195] Applied App Gateway config in 1m12.340311919s
I0624 07:17:35.250371       1 mutate_app_gateway.go:214] cache: Updated with latest applied config.
I0624 07:17:35.254151       1 mutate_app_gateway.go:220] END AppGateway deployment
E0624 07:17:36.373465       1 requestroutingrules.go:258] Will not attach default redirect to rule; SSL Redirect does not exist: /subscriptions/xxxxx/resourceGroups/xxxcluster-k8s/providers/Microsoft.Network/applicationGateways/dlcappgwf4f7/redirectConfigurations/sslr-fl-09720eb9082cb7d02efdc60a169f3d35
E0624 07:17:36.373648       1 requestroutingrules.go:336] Will not attach redirect to rule; SSL Redirect does not exist: /subscriptions/xxxxxxxx/resourceGroups/xxxcluster-k8s/providers/Microsoft.Network/applicationGateways/dlcappgwf4f7/redirectConfigurations/sslr-fl-09720eb9082cb7d02efdc60a169f3d35

FYI, this happened to us when we had the aspnetapp example app deployed. Its Ingress specifies no host name and we think this will cause conflict with any ssl redirection of host-based Ingresses.
We were surprised to see that the ingress controller opened up non-encrypted traffic for the host-based Ingresses.
Also, if this is caused by a configuration conflict as we think it was, it would be helpful if the error log indicated that there is such a conflict instead of "SSL Redirect does not exist".

@mcarlsen can you please share your redacted ingress.yamls?

@mcarlsen thanks for sharing your exp, however, I don't use any HTTP applications at all. My apps are HTTPS and host-based with url path routing (some of them just use root path without additional paths though).  I will have a chance to test SSL redirection on a brand-new environment soon (will keep this thread updated)

fixed long time ago by upgrading the appgw ingress

Hi @akshaysngupta
we hitting this issue and just updating the ingress object (for example, add a randon not agic releated label) resolve this issue for us.
From my point of view, this issue is not resolved. It seems like an race-condition that AGIC is not going to create an SSL configuration and tries to use and existing one. After updating the ingress object, AGIC is going to create redirection configuration.
I0920 12:52:32.532535       1 context.go:712] IP 20.X.X.X already set on Ingress default/grafana
I0920 12:52:32.533711       1 backendhttpsettings.go:89] Created backend http settings bp-default-grafana-80-3000-grafana for ingress default/grafana and service default/grafana
E0920 12:52:32.533814       1 requestroutingrules.go:272] Will not attach default redirect to rule; SSL Redirect does not exist: /subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/applicationGateways/xxx/redirectConfigurations/sslr-fl-3bfe32c3ed9c74095378fe96ec422c60
I0920 12:52:32.612673       1 mutate_app_gateway.go:177] BEGIN AppGateway deployment
I0920 12:52:33.239249       1 client.go:201] OperationID='f098bdf0-711a-48bd-8237-94c8d5d08242'
I0920 12:52:33.239277       1 mutate_app_gateway.go:185] Applied generated Application Gateway configuration
I0920 12:52:33.239284       1 mutate_app_gateway.go:200] cache: Updated with latest applied config.
I0920 12:52:33.239947       1 mutate_app_gateway.go:204] END AppGateway deployment
I0920 12:52:33.239955       1 controller.go:151] Completed last event loop run in: 1.193118524s
I0920 12:59:56.731792       1 context.go:712] IP 20.X.X.X already set on Ingress default/grafana
I0920 12:59:56.737397       1 backendhttpsettings.go:89] Created backend http settings bp-default-grafana-80-3000-opsstack-grafana for ingress default/grafana and service default/grafana
I0920 12:59:56.737591       1 redirects.go:44] Created redirection configuration sslr-fl-3bfe32c3ed9c74095378fe96ec422c60 for ([grafana.company.cloud    ],443); not yet linked to a routing rule
I0920 12:59:56.767689       1 mutate_app_gateway.go:177] BEGIN AppGateway deployment
I0920 12:59:57.637591       1 client.go:201] OperationID='62e31f3a-1fe0-40e1-8099-084b27c62b4a'
I0920 13:00:48.213901       1 mutate_app_gateway.go:185] Applied generated Application Gateway configuration
I0920 13:00:48.213966       1 mutate_app_gateway.go:200] cache: Updated with latest applied config.
I0920 13:00:48.215320       1 mutate_app_gateway.go:204] END AppGateway deployment
I0920 13:00:48.215339       1 controller.go:151] Completed last event loop run in: 51.721836944s

Please mention that restarting the AGIC pod wont help here.


Phaser.Display.Color.ComponentToHex return "[object Object]"

var c = new Phaser.Display.Color(95, 245, 65);
Phaser.Display.Color.ComponentToHex(c)
"[object Object]"

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

ComponentToHex takes a number as its argument, not an object (which is what a Color object is) - I guess the function could check if the input is a number before doing anything with it, but it does say in the docs (which are complete for that function) what to provide, so the onus is on the dev really.


TensorFlow v2.12.0 Not Supporting GPU on Ubuntu 22.04 with CUDA 12.4 and cuDNN 9.0

Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
tf 2.12.0
Custom code
No
OS platform and distribution
Linux Ubuntu 22.04
Mobile device
No response
Python version
3.10.12
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
CUDA Version: 12.4, cuDNN Version: 9.0.0
GPU model and memory
NVIDIA GeForce RTX 4050, 6GB
Current behavior?
System Information

OS Platform and Distribution: Ubuntu 22.04
TensorFlow Version: v2.12.0
Python Version: 3.10.12
CUDA Version: 12.4
cuDNN Version: 9.0.0
NVIDIA Driver Version: 550.54.15
GPU Model and Memory: NVIDIA GeForce RTX 4050, 6GB

Describe the Problem
I am experiencing issues with TensorFlow v2.12.0 not recognizing the GPU on my Ubuntu 22.04 system. I have installed CUDA Toolkit 12.4 and cuDNN 9.0.0, but TensorFlow does not seem to support these versions out of the box. The nvidia-smi command correctly shows the GPU and its details, but TensorFlow is unable to detect the GPU.
Steps to Reproduce

Install Ubuntu 22.04.
Install TensorFlow v2.12.0.
Install CUDA Toolkit 12.4 and cuDNN 9.0.0.
Verify CUDA and cuDNN installation.
Run a TensorFlow script that requires GPU support using python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"

Error Logs / Screenshots
Output of nvidia-smi:
Wed Jun 26 19:54:51 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.54.15              Driver Version: 550.54.15      CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4050 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   45C    P8              3W /   60W |     513MiB /   6141MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      1804      G   /usr/lib/xorg/Xorg                              4MiB |
|    0   N/A  N/A     12083      C   /usr/bin/python                               500MiB |
+-----------------------------------------------------------------------------------------+

Additional Information
I have confirmed that TensorFlow v2.12.0 is working fine with CUDA version 12.4 using docker.

Standalone code to reproduce the issue
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"

Relevant log output
2024-06-26 19:48:40.302647: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.
2024-06-26 19:48:40.388659: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2024-06-26 19:48:40.561335: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2024-06-26 19:48:40.561586: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-06-26 19:48:40.967074: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
2024-06-26 19:48:41.967172: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2024-06-26 19:48:41.987948: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1956] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
[]

@hamzaziizzz,
Tensorflow 2.12 is not compatible with the CUDA 12.4 and cuDNN 9.0 which you are trying. TF v2.12 is built and tested against CUDA 11.8. Could you please check if you are facing the same error with CUDA 11.8 and cuDNN 8.6.
https://www.tensorflow.org/install/source#gpu

Thanks!

OK, I understand and thank you for your assistance. So according to this compatibility matrix, there are no current versions of TensorFlow which is compatible with CUDA 12.4 and cuDNN 9.0, the only way I can utilize GPU with TensorFlow on my machine is through Docker?

Have Tensorflow work with CUDA 12.4 and cuDNN 9.0 following this post: https://blog.stackademic.com/use-gpu-in-tensorflow-on-ubuntu-22-04-f033e59cf5cb

@hamzaziizzz,
Apologies for the delay. Yeah as per the official tested build configurations, the latest tensorflower v2.17 is also compatible with CUDA 12.3 and cuDNN 8.9 for the smoother installation and the execution as well.
https://www.tensorflow.org/install/source#gpu
Thank you!


Search cannot be canceled

I think I've seen this mentioned before, but didn't find an issue tracking it.
Search, as in Edit>Find / Ctrl+F, has a cancel button which only briefly closes the progress window and does not cancel the search.

There's #1639 but obviously different. I thought there was one too, thanks for filing.

Fixed in build 2255


Bigtable: RowMutationEntry#create for unsafe mutation creation

Introducing RowMutationEntry#create(key, mutation) so that mutation can be passed directly to RowMutationEntry.
This shall be used for HBase batching with the server-side timestamp(here).

@igorbernstein2 Thanks for the suggestion, I have updated method the same name.
Please have a fresh look.


Fixes to deal with c_str / c_vec stabilization changes related to Rust R...

...FC 494 now in the nightly.
This fixes a bunch of c_str related issues that popped up building against the latest nightly, which seem to be related to changes that got made as a result of RFC 494.
One thing I was not sure about was replacing the seemingly deprecated into_inner calls with as_ptr.  The behavior isn't the same IIRC - Rust wouldn't clean up the memory for the former.  That doesn't seem like correct behavior though, as the callee SDL methods are FFI calls into C methods that won't free the argument either.

Thank you!


Database dropdown arrow not uniform

The database dropdown arrow looks bigger than the other dropdown arrows.

@kburtram Is there a problem with the fix?


Use empty string as fallback when rootURL is not defined

This allows to use URLs which are relative to the index.html
This PR is inspired by https://github.com/san650/ember-web-app/pull/68

Thanks @tschoartschi and @akatov for working on this bugfix!
Fixes #75


test_series_to_csv flakes in CI: The worker died unexpectedly while executing this task.

Describe the problem
We sometimes get a ray.exceptions.WorkerCrashedError: The worker died unexpectedly while executing this task during modin/pandas/test/test_io.py::TestCsv::test_series_to_csv. I think this only happens on the Windows Github CI tests.
Source code / logs

Sample 1 on windows
Sample 2 on windows

Today, I got the same error the same test case here, this time on test-windows (3.8, ray, modin/pandas/test/test_io.py).

@c do you have any input on this? we've been seeing issues with ray workers on windows here and https://github.com/pandera-dev/pandera/issues/692.

Is it possible to obtain logs from every worker of that test? Maybe the whole tmp/ray/session_latest/logs


docs: fix the example for in-source testing unbuild config

link to vitest docs
link to unbuild docs

I only modified the docs, but it fails the test.
I can't seem to re-run the checks.


What would be the best way to implement web scraping into this solution?

Hi again,
I am looking into langchain and there are so many tools available (doc loaders). I am looking at making this solution go online and scrape websites as an alternative to documents. How would you suggest to do that as easily as possible?

Hi, you can look at tools like scrapy but you should also check the copyright/license, robots.txt etc of websites to see if you are allowed to scrape them.


Projects Page Needs Styling

Create styling for the Projects page

Addressed in pull request https://github.com/sfbrigade/brigadehub/pull/84

Needs testing, either in Heroku version - or in someone's local dev environment. (No local dev here)


Add New Projects/Change 'Project 1,etc' to 'Courses'

This is not so much an issue as it is a question on how its done. I'm newer to yml and html and using rstudio to render the site. I'm wanting to add more projects but seem to be capped at 8 and then changing the names on the html gets redone when the yml file is read again and I cant get the two to coordinate.

Was able to figure out through the past issues.


Coordinate Conversion: no longer output USNG value

Widget
Coordinate Conversion
Version of widget
31 Jan 2017 13:46 Pacific
Bug or Enhancement
The tool no longer output a USNG value.

Repo Steps or Enhancement details

@elinz
Sorry Eric not sure what happened there, all fixed, please verify

@adgiles Verified fixed. Closing issue.


Update quickstart-dotnet-core-app.md for .NET 6+

I'm using .NET 7, and dotnet new console generates a Program.cs as file as below, without namespace/class/Main method.
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");

For a new user to .NET, without knowing namespace/class, simply copying the given Main method into Program.cs would not work.

@mcleanbyron
Can you review the proposed changes? Note that line 78 must be converted to Markdown [!NOTE] syntax before merging.
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Or we can use tabs for different .NET versions just like https://learn.microsoft.com/en-us/azure/azure-app-configuration/quickstart-aspnet-core-app?tabs=core6x#create-an-aspnet-core-web-app , for consistency.

Let me know if you want me to change it.

@avanigupta

cc @zhenlan I was conflicted between adding these two tabs vs removing .net core 3.x completely. But other docs still have 3.x tab and technically we still support it, so I think we should keep it for now.

Thank you for creating this PR. Unfortunately, the changes needed for this article go deeper than just the code example changes you suggested. .NET Core (3.x) is now out of support, so the article should be scrubbed entirely to target .NET 6+. I will do this work in the next few weeks, and I have opened an internal work item to track this work. Given this, I am closing this PR in the public repo.

#please-close


Host admin>>Breadcrumb should not be there after opening off canvas

Refer other pages breadcrumb as Tenant, Edition


Change password reset messaging to remove user not found

Removes messaging about user not being found during password reset requests. Resolves #32

@dhawton Fix seems to be good, but I wonder if we need to adjust the backend::lang.account.restore_success lang string to say something along the lines of: "If your account exists, an email has been sent to your inbox with reset instructions."?

English done, need to source native speakers for the other languages to convert those.

@dhawton if you could change it to @bennothommo's suggestion, that's way better than mine :)

@LukeTowers Done.


Add polynomial function to dummy_segmentation

This PR aims to address https://github.com/neuropoly/spinalcordtoolbox/issues/2678 (creation of synthetic interleaved DWI data).
So far, I added polynomial function to dummy_segmentation to simulate slicewise motion:

TODO:

allow creation of 4D dataset - possible solution: create function which will call dummy_segmentation n-times with various factor of polynomial function and then merge individual 3D data into 4D dataset

dummy_4d function allows to create 4D data with different slicewise shift across individual volumes and can be tested for example by following code:
from spinalcordtoolbox.testing.create_test_data import dummy_4d
DEBUG = True  # Set to True to save images
seg_4D = dummy_4d(vol_num=10, size_arr=(64, 64, 20), pixdim=(1,1,1),radius_RL=13.0,
 radius_AP=5.0, shape='ellipse', interleaved=True, debug=DEBUG)

I generated some dummy 4D data with proposed dummy_segmentation_4d using following commands:
from spinalcordtoolbox.testing.create_test_data import dummy_segmentation_4d
DEBUG = True  # Set to True to save 4D nii image
seg_4D = dummy_segmentation_4d(vol_num=10, size_arr=(64, 64, 49), pixdim=(1,1,1),radius_RL=13.0,
 radius_AP=5.0, shape='ellipse', interleaved=True, debug=DEBUG)

Whole 4D data looks:

Slice-wise shift is noticeable mainly at beginning and end of SI axis. This corresponds with polynomial function fit visualization for one volume:

So, my question is - is this fit suitable? Or should it be modified to better fit middle points/slices?
I also tried to run sct_dmri_moco with interleaved option (https://github.com/neuropoly/spinalcordtoolbox/pull/2664) on this dummy data. Output image is same as input, so I have to do some investigation why.

awesome work @valosekj 🚀  yes, i think these simulated motions are fairly realistic (in terms of amplitude and location). In any case, this gives us a solid basis for improving the realism in the future (could be dedicated to another PR).


Documentation filenames to be consistent

Some file names are hyphenated and some are capitals.

Can I get assigned to this?

@eddiejaoude / @lorenaqendro ,
Can I be assigned to this?

@ShreejeetaMandal definitely!

@Algogator just realised you had asked for it too. Would you like to get this one?
@ShreejeetaMandal can we assign to @Algogator this one?

Sure!

@lorenaqendro @eddiejaoude Should they all be Capitalized and with hyphens if there are multiple words?
Using-the-Digital-Connector.md ->  	Using-The-Digital-Connector.md
or
Using-the-Digital-Connector.md -> UsingTheDigitalConnector.md

My preference would be to use all lowercase to keep it simpler, which would also imply hyphenated (- between the words), which would result in...
using-the-digital-connector.md

But best for one of the core members like @lorenaqendro to decided 🤓

@Algogator I support Eddie's suggestion, it's simpler. You can go for that.

Closed by #488.


Delay causing motion sickness (even on simple scene)??

Just tried to build and run a game in FireFox using this plugin and a Vive pro.
I made the scene super simple with a player, a cube and a skybox.
When i ran the game it was very smooth, but tracking was delayed by a small time. Just enough to cause some major vertigo though.
I am on Windows10, running a I9-9900k cpu, two 2080-Ti gpus and all OC'ed.
Why would there still be so much delay on an empty scene?
The desert scene also has the exact same delay issue.
I believe it has to do with rotation only, and when traversing my head linearly it appears to be realtime, but when turning my head it takes time to catch up (it's sorta like being heavily inebriated, just far less enjoyable).
Is there anything I can do? I don't see any tracking delays when using Sketchfab (even complicated models are fine).
Please help!!

I have exactly the same issue. I followed exactly the steps of the "Getting Started" guide,
absolute plain "Sunny Desert" scene, with Oculus Quest i see hands, but seem dropping frames (run like  10fps).
Unity 2018.3.6f1 if matter.
Please help!!

Same issue with "Check out the demo now" (link in readme.md), with Oculus Quest and
the new "Firefox Reality" browser (also made by Mozilla, the same author of this repo).
Other WebVR projects works perfectly.

Im having the same issues with Oculus Quest. https://tinyurl.com/qReduced3 Can see my link here.
Anyone solve this issue yet?

Has there been any progress with this issue? I've been looking at developing with WebVR but noticing the tracking is really bad.

I really want to dip my toes into making something with this repo but the comments are putting me off, does it run slowly on the Quest?


Add support for Shadow DOM

Dear Sir,
I'm wondering if you could add support for Shadow DOM to this polyfill. I've been testing it with Lit and have found that any elements in a Shadow DOM on a mobile screen do not have any of the drags events fired, and are just not draggable in general. Here's a demonstration. (It doesn't use Lit, but it uses Shadow DOM.)
Sincerely,
Andrew

I'm closing this mostly because of how much time has passed and how much the code has changed since this issue was filed. If this is still a concern, please file a new issue. I recently signed on to this project and would like to make sure we're covering all the bases, while also making sure there are no lingering issues based on old code.


3.4.1 Tooltip sanitization breaks popover with tables

Is there any reason why
 is not whitelisted by the sanitizeHtml function?
https://github.com/twbs/bootstrap-sass/blob/b34765d8a6aa775816c59012b2d6b30c4c66a8e9/assets/javascripts/bootstrap.js#L1313
This is was breaking change for us realeased as a patch.
Looking at the source code I found that I could set saniteze: false, but I don't see why it would be required to turn sanitization off completely just to be able to use tables. Are there any known vulnerabilities regarding tables that I'm not aware of?
$('#button').popover({
  html: true,
  content: function () {
    return `

 Table below

Foo:	bar

    `;
  }
})

Minimal reproduction: https://jsfiddle.net/Victornpb/u1q7cjft/

Hi @victornpb,
We cannot whitelist every html elements, but you can whitelist just what you need, you'll find some information about how to do so here: https://getbootstrap.com/docs/3.4/javascript/#js-sanitizer

My question is, is there any intrinsic security issue with tables that I'm not aware of? Because I also don't want to blindly whitelist something that I don't fully understand.

You'll find everything in the OWASP website see: https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet#TABLE


Closing SQL connector does not close connections

Description:
Ideally [1] (testJsonXMLConversionwithDuplicateColumnNames())  should fail because at [2] connector is closed before returning the converted json/xml. But it doesn't. However, if we test this with an HTTP service like below,
import ballerina/http;
import ballerina/sql;

endpoint http:ServiceEndpoint passthruEP {
    port:9090
};

endpoint http:ServiceEndpoint backendEP {
    port:8080
};

endpoint http:ClientEndpoint backendClientEP {
    targets: [{url: "http://localhost:8080"}]
};

endpoint sql:Client testDB {
    database: sql:DB_MYSQL,
    host: "localhost",
    port: 3306,
    name: "employeedb",
    username: "root",
    password: "123",
    options: {maximumPoolSize:1}
};

public type Employee {
    int id,
    string name,
    string address,
};

@http:ServiceConfig {
    basePath:"/passthru"
}
service passthrough bind passthruEP {

    @http:ResourceConfig {
        path:"/"
    }
    passthru (endpoint outboundEP, http:Request request) {
        var response = backendClientEP -> forward("/hello", request);

        match response {
            http:Response res => {
                _ = outboundEP -> forward(res);
            }
            http:HttpConnectorError err => {
                http:Response res = new;
                res.statusCode = 500;
                res.setStringPayload(err.message);
                _ = outboundEP -> respond(res);
            }
        }
    }
}

@http:ServiceConfig {
    basePath:"/hello"
}
service hello bind backendEP {

    @http:ResourceConfig {
        path:"/"
    }
    sayHello (endpoint outboundEP, http:Request request) {
        http:Response response = new;

        var temp = testDB -> select("select * from employee", (), typeof Employee);
        table<Employee> dt = check temp;

       json j = check <json>dt;
        //json j = {id:1, name:"Manuri"};

        response.setJsonPayload(j);
        _ = testDB -> close();
        _ = outboundEP -> respond(response);
    }
}

curl -v http://localhost:9090/passthru

we can see that an error is received instead of the expected response.
Seems, when closing the connector(internal hikari datasource) it takes some time to close the connections.
[1] https://github.com/ballerina-platform/ballerina-lang/blob/v0.970.0-alpha3/tests/ballerina-test/src/test/java/org/ballerinalang/test/types/table/TableTest.java#L535
[2] https://github.com/ballerina-platform/ballerina-lang/blob/v0.970.0-alpha3/tests/ballerina-test/src/test/resources/test-src/types/table/table-type.bal#L1311

I have tested the following scenario with mysql, oracle, h2 and hsqldb.
    endpoint mysql:Client testDB {
        host: "localhost",
        port: 3306,
        name: "employeedb",
        username: "xxx",
        password: "yyy",
        poolOptions: {maximumPoolSize:1},
        dbOptions: ()
    };

    var temp0 = testDB -> select("select * from employee", Employee);

    table<Employee> dt0 = check temp0;

    json j = check <json>dt0;

    _ = testDB -> close();

    io:println(j.toString());

In case of mysql, oracle and h2, json to string conversion did not work with an error indicating the connection is closed. But in case of hsqldb, string conversion worked. Seems for some reason, hsqlDB connections are not closed. Suspecting this could be a bug with hikariCP(2.5.1) I upgraded it to the current latest version (3.1.0) but experienced the same behavior. Need to check further on this.


Fix (broken in FF) and/or disable up/down arrows from number inputs

The up/down arrows in number fields aren't working in my Firefox (fine in Chrome).
It's possible that we won't want these in the EDA, but might want them in other contexts.
Seems like there's not Material UI prop for this (because it's a browser thing?)
CSS solution seems reasonable:
https://stackoverflow.com/questions/65200093/removing-the-up-and-down-arrows-in-textfield-of-material-ui
Our NumberInput component should have a prop to control this

I tested in FF with https://veupathdb.github.io/web-components/?path=/story/widgets-number-input--no-bounds, and the up/down arrows work for me. I'm using v90.0 on Linux.

Been working for me too now, for many weeks.  Closing, won't fix.


Incorrect pg_dump version after upgrade to 3.0.2

After upgrading to the new version 3.0.2 the backup functions are failing because of an older version of pg_dump.
Lof-file of DSMR Reader add-on:
2023-07-22 08:30:41,003 CRITICAL backup       on_backup_failed                238 |  - Unexpected exit code (1) for backup: b'pg_dump: error: server version: 15.3; pg_dump version: 14.5\npg_dump: error: aborting because of server version mismatch\n'
It seems that PostgreSQL server version is been upgraded to 15.3 but the client portion is not update correctly to same version. Alltough thats my assumption.
Running Home-Assistant on Intel NUC, HA-OS, DSMR-Addon with PostgreSQL - TimeScaleDB Addon enabled.
No specific information on this matter is found on the net, problem just raises a couple a days ago after uprading. So maybe more people are having same issue but aren't aware of that.

Sorry - closing it here and post it as an comment of similair problem mentiond in the TimeScaleDB branch.
https://github.com/Expaso/hassos-addon-timescaledb/issues/33


Implement ViolationUtils lib

Design Doc
Implement a new ViolationUtils lib (src/libs/ViolationUtils.js or src/libs/ViolationUtils.ts)

Add a method getViolationForField(object transactionViolation, string field) : string

getViolationForField will check transactionViolation and return an an array of strings with the translated copies of the violations for that field, eg
When field is ‘category’, the method will pull the violations that apply to the category field, and then call translate on the violation names, like missingCategory and return that
See code example below

Add a method getViolationsOnyxData(Transaction transaction, object transactionViolations, bool policyRequiresTags, object[] policyTags, bool policyRequiresCategories, object[] policyCategories) that calculates the new transaction violations (by adding/removing those that have been addressed with the current user changes), and returns an object that we can save into onyx. The updatedTransactionViolations variable shown in the code snippet below will be set like so:

If policyRequiresCategories === true, the transactionViolations array doesn't have one with name: categoryOutOfPolicy and the passed transaction contains a category, and the policyCategories collection doesn’t have that category with its enabled value set to true, then it’ll add the object {‘name’:’categoryOutOfPolicy’, ‘type’: ‘violation’} to updatedTransactionViolations
If policyRequiresCategories === true, the passed transaction contains a category that is enabled in the policy, and the onyx data had a missingCategory violation, we’ll clear it from updatedTransactionViolations using _.reject(transactionViolations, e => e.name === 'missingCategory')
If policyRequiresTag === true,  the transactionViolations array doesn't have one with name: tagOutOfPolicy and the passed transaction contains a tag, and the policyTags collection doesn’t have that tag with its enabled value set to true, then it’ll add the object {‘name’:’categoryOutOfPolicy’, ‘type’: ‘violation’} to updatedTransactionViolations
If policyRequiresTag === true, the passed transaction contains a tag that is enabled in the policy, and the onyx data had a missingTag violation, we’ll clear it from updatedTransactionViolations using `_.reject(transactionViolations, e => e.name === 'missingTag')

Add const formFields = {merchant: 'merchant', amount: 'amount', category: 'category', ...}
Add a const violationField = {missingCategory: 'category', categoryOutOfPolicy: 'category', ...} with a mapping of violation names to the name of the field where the violation is shown (more in code snippet below
Feel free to add dummy translations to the EN and ES files for now for the violations

function getViolationForField(transactionViolations, field) {
    const {translate} = useLocalize();
    const fieldViolations = _.filter(transactionViolations, (violation) => violations[violation.name] === field);
    return fieldViolations.map(violation => translate(violation.name));
}

// Example object returned by getViolationsOnyxData
{
    onyxMethod: Onyx.METHOD.SET,
    key: `${ONYXKEYS.COLLECTION.TRANSACTION_VIOLATIONS}${transaction.transactionID}`
    value: updatedTransactionViolations
}

const formFields = {
    merchant: 'merchant',
    amount: 'amount',
    category: 'category',
    date: 'date',
    tag: 'tag',
    comment: 'comment',
    billable: 'billable',
    receipt: 'receipt',
    tax: 'tax',
};

const violationFields = {
    perDayLimit: formFields.amount,
    maxAge: formFields.date,
    overLimit: formFields.amount,
    overLimitAttendee: formFields.amount,
    overCategoryLimit: formFields.amount,
    receiptRequired: formFields.receipt,
    missingCategory: formFields.category,
    categoryOutOfPolicy: formFields.category,
    missingTag: formFields.tag,
    tagOutOfPolicy: formFields.tag,
    missingComment: formFields.comment,
    taxRequired: formFields.tax,
    taxOutOfPolicy: formFields.tax,
    billableExpense: formFields.billable,
};

Example
getViolationForField([{name: 'overLimit', type: 'violation'}], 'amount')
// should return => translate('overLimit')

getViolationForField([{name: 'maxAge', type: 'violation'}], 'amount')
// should return => ''

getViolationForField([{name: 'maxAge', type: 'violation'}], 'date')
// should return => translate('maxAge')

getViolationsOnyxData(
    transaction = {category: '', ...},
    transactionViolations = [],
    policyRequiresTags = false,
    policyTags = [],
    policyRequiresCategories = true,
    policyCategories = [{Entertainment: {name: 'Entertainment', enabled: true}}]
)
// should return
{
    onyxMethod: Onyx.METHOD.SET,
    key: `${ONYXKEYS.COLLECTION.TRANSACTION_VIOLATIONS}${transaction.transactionID}`,
    value: [{name: 'missingCategory', type: 'violation'}],
}

getViolationsOnyxData(
    transaction = {tag: '', ...},
    transactionViolations = [],
    policyRequiresTags = true,
    policyTags = [{Entertainment: {name: 'Engineering', enabled: true}}],
    policyRequiresCategories = true,
    policyCategories = []
)
// should return
{
    onyxMethod: Onyx.METHOD.SET,
    key: `${ONYXKEYS.COLLECTION.TRANSACTION_VIOLATIONS}${transaction.transactionID}`,
    value: [{name: 'missingTag', type: 'violation'}],
}

@lindboe @cdanwards can you comment here so I can assign you please?

Commenting for assignment

Beginning work on this

@cead22 I've taken this over from @cdanwards  and I had a quick question about approach.
tl;dr Are you ok with me using a more idiomatic typescript approach (string literal unions) to defining the possible values for violation names and fields?
The spec says to:

Add const formFields = {merchant: 'merchant', amount: 'amount', category: 'category', ...}

and

Add const violationField = {missingCategory: 'category', categoryOutOfPolicy: 'category', ...} with a mapping of violation names to the name of the field where the violation is shown (more in code snippet below

As I read it, the goal of these objects is to:

have the list of possible values discoverable and easy to maintain
enable intellisense/autocomplete for allowed values
throw an error when an invalid value is used

In that case are you ok with me using string-literal unions and Record types to accomplish this?
It's a more idiomatic typescript approach that will have the same result, and provide stronger type safety.
For instance:
First we declare the string-literal unions like this:
/**
 * Names of Fields where violations can occur
 */
type ViolationField =
    | 'merchant'
    | 'amount'
    | 'category'
    | 'date'
    | 'tag'
    | 'comment'
    | 'billable'
    | 'receipt'
    | 'tax';

 /**
 * Names of the various Transaction Violation types
 */
type ViolationName =
    | "perDayLimit"
    | "maxAge"
    | "overLimit"
    | "overLimitAttendee"
    | "overCategoryLimit"
    | "receiptRequired"
    | "missingCategory"
    | "categoryOutOfPolicy"
    | "missingTag"
    | "tagOutOfPolicy"
    | "missingComment"
    | "taxRequired"
    | "taxOutOfPolicy"
    | "billableExpense";

Then we use them to define the type of the map:
/**
 * Map from Violation Names to the field where that violation can occur
 */
const violationFields: Record<ViolationName, ViolationField> = {
    perDayLimit: 'amount',
    maxAge: 'date',
   // ...
};

When defined this way, trying to add an unknown violation name will cause a red squiggle:

and the same if you try to assign an invalid field to a valid ViolationName

Even in Javascript files, the typechecker will still throw a warning and provide autocomplete:

@trevor-coleman Hi Trevor, nice to meet you and thanks for taking this over and helping with this. What you're proposing sounds good to me, but let's see what @hayata-suenaga thinks since he's more well versed on TS types than me

I agree with @trevor-coleman. Your approach to use an union of string literals seems much simpler approach. Let's go with that plan 👍

Perfect -- It's pretty much done, I've just gotta run the checklist and I'll have a PR for you monday. 🚀

Quick question: Should getViolationForField return a single string, or an array of strings?
These examples show the function returning a single string:
getViolationForField([{name: 'overLimit', type: 'violation'}], 'amount')
// should return => translate('overLimit')

getViolationForField([{name: 'maxAge', type: 'violation'}], 'amount')
// should return => ''

getViolationForField([{name: 'maxAge', type: 'violation'}], 'date')
// should return => translate('maxAge')

but then the provided function returns an array of strings
function getViolationForField(transactionViolations, field) {
    const {translate} = useLocalize();
    const fieldViolations = _.filter(transactionViolations, (violation) => violations[violation.name] === field);
    return fieldViolations.map(violation => translate(violation.name));
}

// Examples:

getViolationForField([{name: 'overLimit', type: 'violation'}], 'amount')
// would return => [translate('overLimit')]

getViolationForField([{name: 'maxAge', type: 'violation'}], 'amount')
// should return => ['']

// etc.

I'm guessing from the singluar name that you want to return only a single value, but wanted to check before getting too far along with the change.  Are there any cases where a given field would have multiple violations?
My fix is to just return the first element of the array -- this will be undefined if nothing matches the filter, which will allow the result to be checked as a boolean.
getViolationForField(transactionViolations: TransactionViolation[], field: ViolationField, translate: (key: string) => string): string {
        const fieldViolations = transactionViolations.filter((violation) => possibleViolationsByField[field]?.includes(violation.name)).map((violation) => translate(violation.name));
        return fieldViolations[0];
    },
    ```

Great question, and yes the reason for this is at first I thought we'd only have 1 violation max per field, but we're going to put more than 1 under the receipt, so to answer your question: it should return an array of strings, and if there's aren't any violations, an empty array.
In the code that uses it, we'd check if there's a non-empty array. and if so display whatever is in the array

Ah, ok -- then should we also update the code on the display side to display multiple violations per field? And if so, how do we handle that.
We could either create multiple 'rows' each with one violation, or do something simpler like just violations.join(', ') to list them separated by commas.

I replied in the other issue. Feel free to bring up these questions on slack and tag me, since I imagine I'll be quicker to respond that way

@cdanwards is working on this

Opened a PR here: https://github.com/Expensify/App/pull/31656

@cead22 can you please reopen and add New feature label for payment?

Bump @johncschuster, can you handle payment for the review please?

Sure thing! I'm catching up on the PR now

@situchan I've invited you to the job, here. Can you accept that and let me know when you have so I can issue payment? Thank you!

@johncschuster can we close this one?

Not paid yet. I accepted offer on Feb 13

Sorry for the delay! This has now been paid! Thank you!


test: remove to_list() and to_numpy() from Series tests

Let's try to write all tests using compare_dict from tests.utils
The reason is that to_list forces all data into a list of Python objects, which isn't ideal:

by then, we've lost all type information (we may well expand compare_dicts later to be stricter about that)
cudf.Series doesn't implement to_list

If we just use compare_dicts across tests, then having a single source of determining whether result matches expected should help us out in the long-run
So, the task here is, when a test uses to_list, to rewrite it so that we're comparing dictionaries. See https://github.com/narwhals-dev/narwhals/pull/801 for several examples of how to do this
A couple of examples of functions that still need changing:

tests/expr_and_series/dt/to_string_test.py
test_ser_is_in

There's a few more
contributions welcome! if you're new, please read the CONTRIBUTING.md file, and choose one file at a time. no need to ask for permission to work on this

Hi @MarcoGorelli. Good to e-meet you. I have done some work to replace to_list and use compare_dicts instead. Tests seem to be passing. Followed the instruction on CONTRIBUTING.md but I cannot seem to push my local branch to the remote repository. Note that there is no remote branch that I am tracking. Rather I am trying to push using the command below:
git push --set-upstream origin test/804/remove-to-list-and-to-numpy.
Am I missing something obvious? Should I create the remote branch and track it with the local one and then push?
Thanks

git push --set-upstream origin test/804/remove-to-list-and-to-numpy.

yup, this looks fine 👍

Thanks for getting back to me. Upon executing the push command above I am prompted to type my user name and access token.
But I get this error:
remote: Permission to narwhals-dev/narwhals.git denied to specialkapa.
fatal: unable to access 'https://github.com/narwhals-dev/narwhals.git/': The requested URL returned error: 403
Apologies in case it is something obvious. I am used to using SSH rather than credentials. Any idea what that issue is?

hey, I'd suggest working through https://github.com/firstcontributions/first-contributions before you try contributing

roger! thanks you :)

I'm also working on some code, but I'll push or merge it after @specialkapa fixes his environment. Welcome to our new contributor!

thanks @luke396 ! it's unlikely that you worked on exactly the same files, and there'll be other issues for @specialkapa to work on, I'd suggest just pushing your code for now

hi @MarcoGorelli, silly me used the https clone URL rather than the SSH one. I am confident I am satisfying all instructions in https://github.com/firstcontributions/first-contributions but I seem to not have write access. Here is the feedback I get on my terminal:
_ERROR: Permission to narwhals-dev/narwhals.git denied to specialkapa.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists._

Ah thanks for this. I don't think I came across this requirements in the CONTRIBUTING.md. Is this something that I missed or this something that is implied and I should have known?

Thanks for the feedback! You are right that none of what I have mentioned is explicitly stated in the guidelines we currently have. We will add some of these necessary preliminary steps for more clarity👌

I think it's also mentioned there: https://github.com/firstcontributions/first-contributions?tab=readme-ov-file#fork-this-repository

@MarcoGorelli you're right. Thanks for pointing this out.


Disconnect the user from the call if 'End call button is pressed`.

I tried in the formal way of adding the event listener to the button and triggered DisconnectFromTheCall() when clicked. The function has  peer.disconnect() method which is the formal way of disconnecting the user from the room. but that doesn't seem to workout.
This is the link to the particular file
peerjs documentation

The disconnect function is empty...?

I tried using peer.disconnect() didn't work. so erased the whole function to open an issue.

Try peer.close()?

did it work??


fix(cap): Allow xs-app.json to be stored in project root instead of webapp

Fix for #88
[CoPilot]
This pull request includes a change to the generators/model/index.js file to improve the handling of the xs-app.json file path for SAP applications. The most important change is the addition of a check to determine whether the xs-app.json file is located in the webapp folder or the project root.
Improvement to file path handling:

generators/model/index.js: Added logic to check if xs-app.json is in the webapp folder or the project root, ensuring the correct path is used.

Hi @marcelschork, I just want to make sure I understand this correctly: Is this to account for the possibility that a user might manually move the xs-app.json from projectRoot/uimodule/webapp/ to projectRoot/uimodule/?


qiita_test_install

Initial commit for discussion during meeting.

Would be nice to

[ ] Check if we can send e-mail with the current config file.
[ ] Path of the configuration file being used.
[ ] Postgres is running.
[ ] Whether or not there are EBI credentials.

Coverage remained the same at 78.48% when pulling f9df8db1a933012e815d8ba8c68a38207a5c0687 on antgonza:testing-qiita-install into 3c79e6bbec2546040eb7da63629031a71f912915 on biocore:master.

Coverage remained the same at 78.48% when pulling 64d8eee04a137c51f682e8485cc0a0518dd681e7 on antgonza:testing-qiita-install into 3c79e6bbec2546040eb7da63629031a71f912915 on biocore:master.

This is ready for review.

Traceback (most recent call last):
File "./scripts/qiita_test_install", line 396, in
main()
File "./scripts/qiita_test_install", line 360, in main
_, _, ar = submit_nouser(sum, 1, 2)
ValueError: need more than 2 values to unpack

How do I reproduce that?

I just ran it and that happened.

Which version of moi are you using?

Lets use the script :)
System information
==================

         Platform:	darwin
   Python version:	2.7.6 (default, Sep  9 2014, 15:04:36)  [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)]
Python executable:	/Users/jshorens/.virtualenvs/qiita/bin/python

Dependency versions
===================

     click library version:	3.3
    future library version:	0.14.3
     numpy library version:	1.9.1
    pandas library version:	0.15.2
   tornado library version:	3.1.1
     redis library version:	2.10.3
    bcrypt library version:	1.0.2
 pyparsing library version:	2.0.3
  networkX library version:	1.9.1
   WTForms library version:	2.0.1
     qiime library version:	1.9.0-rc1, for more info use print_qiime_config.py
      mock library version:	1.0.1
       MOI library version:	0.1.0
      MOI config file path:	/Users/jshorens/moi_config.txt
   IPython library version:	2.3.1
  psycopg2 library version:	2.5.4 (dt dec pq3 ext)
Qiita core library version:	0.0.1-dev
  Qiita db library version:	0.0.1-dev
 Qiita pet library version:	0.0.1-dev
Qiita ware library version:	0.0.1-dev
Traceback (most recent call last):
  File "./scripts/qiita_test_install", line 396, in <module>
    main()
  File "./scripts/qiita_test_install", line 360, in main
    _, _, ar = submit_nouser(sum, 1, 2)
ValueError: need more than 2 values to unpack

Coverage remained the same at 78.55% when pulling 6cef34dd125ba61f67bdd4d0098afb00d1d55e8f on antgonza:testing-qiita-install into 01225be1227d788173b43cf6c1b047cc2076bfeb on biocore:master.

@squirrelo @ElDeveloper any other comments? Is this ready for merge?

Coverage increased (+0.01%) to 78.56% when pulling 9c0c45cb80aa6d290d6875a215ddca4fa2729e9d on antgonza:testing-qiita-install into 01225be1227d788173b43cf6c1b047cc2076bfeb on biocore:master.

Oh ... ok ;l


"Could not find a version that satisfies the requirement kivy.dep.sd12

I'm trying to use Kivy, but when I try to install I get the message above. I'm using Python 3.7.1. I attached a file of the code below. Thank you.

You have a typo in your command. It should be kivy.deps.sdl2 and not kivy.deps.sd12, so just replace 1 with l (lowercase letter L).

Thanks1

Thanks!


Git branch detection when refreshing network folder

When refreshing the source tree filesystem directory on a networked location (in my case SSHFS), I think the current git branch should reflect if it was changed outside of VSCode when pulling latest directory tree updates.
i.e. If I'm on develop, and I switch to master using CLI, even though the code inside of VSCode renders what's in the master branch, it will still be labeled as develop in this label, which is a bit confusing.
I realize that I can change branches directly in VSCode, but I'm not working 100% within it at all times, either.

If you go into the SCM view and hit refresh there, it will refresh the SCM state. The fact that this isn't working automatically is very likely due to the fact that you're missing file events on that file system.


Bug: Fail to render valueSpecificationEditor for Date parameter of DerivedProperty in Query Builder

Similar issues

[X] I have searched and found no existing similar issues

How are you using Studio?
Legend Query
Current and expected behavior
https://user-images.githubusercontent.com/73408381/164557302-db0a8c6e-f4d9-4a2b-9547-59b9a2aa28fb.mov
Steps to reproduce
No response
Model data
No response
Environment
Chrome

Possible solution and workaround
No response
Contribution

[X] I would like to work on the fix for this issue

@YannanGao-gs wrong tag, we should use Component: Query Builder instead


auto start services w/ cron tab

Hi Mic
I upgraded my Jukebox with a Hifeberry.
Now I wanted to add buttons. But everytime I register the GPIO script for startup no music won't be able to be played.

Do the sound work without Button Script?
Do you add hifiberry in vlc as your Standard soundcard?

yes - sounds works without button script
yes - added hifiberry in vlc


Make it possible to know which bundle was used for a preexisting VM

Both CIs fail with pkg/crc/machine/hyperkit/driver.go:33:4: unknown field 'BundleName' in struct literal of type drivers.BaseDriver
This missing field is present in this PR: https://github.com/code-ready/crc/pull/437/commits/5ab6db426dfbc37e37c051884794d2312327c32a#diff-bb8c53cec0ea90e5335a2761a91088adL22
so I don't know what CI is up to. Is it refreshing the content of vendor/ rather than using what is in the git checkout? If yes, that would explain this error, and means we need to land https://github.com/code-ready/machine/pull/20 first.

As per CI error, looks like we need to add the BundleName to the driver struct for all the drivers side.
# github.com/code-ready/crc/pkg/crc/machine/hyperkit
pkg/crc/machine/hyperkit/driver.go:33:4: unknown field 'BundleName' in struct literal of type drivers.BaseDriver
# github.com/code-ready/crc/pkg/crc/machine/libvirt
pkg/crc/machine/libvirt/driver.go:32:4: unknown field 'BundleName' in struct literal of type drivers.BaseDriver
# github.com/code-ready/crc/pkg/crc/machine/hyperv
pkg/crc/machine/hyperv/driver.go:16:14: hypervDriver.BundleName undefined (type *hyperv.Driver has no field or method BundleName)
# github.com/code-ready/crc/pkg/crc/machine/virtualbox
pkg/crc/machine/virtualbox/driver.go:16:18: virtualboxDriver.BundleName undefined (type *virtualbox.Driver has no field or method BundleName)

as a follow up this, we'd also print a message with the bundle name on start, right?


Fix CSS overflow on "approve budget" UI

@snario Do you have more details? Was this only on production?

It's because the site name is web3torrent.statechannels.org which is too long of a string to be on the same line as the text before it, so there's a newline added.


ci: Notify when scheduled build fails

We setup a scheduled hourly build to run the operator against Contour. If that fails, we need a way to notify folks (email / slack, etc), that it's failing so we can take action.
Ex: https://github.com/projectcontour/contour-operator/actions/runs/614856080

xref github actions <> slack integration: https://github.com/marketplace/actions/slack-notify

Slack integration sounds cool, but we will need to go through the process to get that added to Kubernetes slack.
I think Email to the contour-maintainers CNCF list is probably deliverable faster, tbh.


no [at] sign because of khd

hi,
i am using khd in combination with chunkwm on OSX sierra. it works fine, however, it seems to mess up keyboard shortcuts. i am not able to type at (command + L) anymore. i guess this is due to the example config, which has this shortcut do something else.
i have tried stopping khd, which did not seem to work. activity monitor was not able to stop the process; pkill khd did nothing. when i top | grep khd and then kill the process number, it respawns with a new process number.
i did install both services via brew btw.
can somebody please help me out? i am just getting used to alternative window managers; it is a lot of fun. but i need to be able to use the alt key for the things i am used to..
thanks in advance :)

Brew runs Khd as a service. To stop / quit Khd, you need to also stop the Brew service.
This can be done by running the following command from a terminal: brew services stop khd
You can manually start Khd by running it from terminal instead of having it be managed by the Brew service. This is usually how I do it (by running it manually inside a tmux session).

awesome, thank you!

Hi,
ran into this as well.
For me, on a german layout, it's actually alt+l for at symbol and alt+e for the euro symbol.
Also navigating and at the same time selecting text (alt+shift+<left-/rightarrowkey> for selecting words in direction) in gui applications conflicts with the needed modifier keys, but that's not major for me.
Problem is, I really like the vim-esque focus navigation and window movement shortcuts and don't really want to mess this up.
I was thinking about using ralt or lalt for all the modifier keys in khdrc. But then again it messes with touch typing (10 finger system) for either smybols accessed via alt modifier (at, euro, etc.) or for khdrc bindings for chunkwm control.
I know, I can't have it all x,D
Are there any other creative ideas for a better solution?
PS: how in the world I never found kwm or more recently chunkwm, while searching for a tiling wm solution for my mac. But I'm very glad I found your project now. It's pure and utter bliss \o/

Many people use Karabiner-Elements to make caps-lock into "hyper", which is the modifier combination cmd + shift + alt + ctrl and use this for all custom shortcuts (e.g: chunkwm).
I personally only use a few of the system shortcuts  so I rarely get collisions anyway. A possible sokution is the FN modifier for keyboards that support it, but there were some issues the last time I tried that.

Thanks for the hints regarding Karabiner-Elements and the idea about the fn-key.
With hyper I could cover some of the chunkwm commands in khdrc, and I'd like to revolve the whole khdrc around hyper then. But I wouldn't be able to use hyper with alternate commands (increase and decrease size comes to mind), since it already uses shift, right? Or is it possible to have left and right modifier keys be a requirement?
Now I'm curious: How do you type symbols like (at) and other things accessible via alt/option+ with the default khdrc from chunkwm?

The asterisk (*) above the right shift-key is @ in my locale (norwegian keyboard layout) by default.


Ios bugfix chinese not add

重新merge textarea bugfix代码

Current coverage is 88.44% (diff: 100%)

Merging #1771 into ios-feature-20161208 will not change coverage

@@           ios-feature-20161208      #1771   diff @@
======================================================
  Files                        41         41
  Lines                      2233       2233
  Methods                     354        354
  Messages                      0          0
  Branches                    500        500
======================================================
  Hits                       1975       1975
  Misses                      258        258
  Partials                      0          0

Powered by Codecov. Last update 190c54f...993f14a


Remove regex dependency

Ref: https://github.com/inventree/InvenTree/issues/8495
Remove external regex lib for backend
Can provide similar functionality with re module

Looks like this will ideally also solve this issue: https://github.com/inventree/InvenTree/issues/8494


Release notes for 2023.02.01 VHD

What type of PR is this?

What this PR does / why we need it:
Agentbaker release notes for 2023.02.01 VHD.
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

AB E2E GPU quota limits hit, but that test is not relevant to this PR. Merging.


[ongoing] Cpp check static analysis

Add a build target in the cmake files to trigger a cppcheck analysis

@morrisonlevi Do you want me to setup a docker image in circlie CI to move forward with this PR ?
This way we would install cppcheck within this image. This would replace the /opt mechanism. We could simply re-use the image from our internal build system.


Remove wrong event handlers

also deprecate default annotations for strings (which means there will be good amount of fixes to event handlers in the library soon)

the drawer content component accepts on_pointer_down_outside and on_open_auto_focus events

it technically does, but also it's not documented in vaul, so we kinda agreed to leave it out


Federated GraphQL failes with ObjectWithMetadata error

What I'm trying to achieve
Trying to use Apollo Federated Gateway with saleor/
Steps to reproduce the problem

create the following docker-compose.yml file

services:
  gateway:
    image: mirumee/gql-federation-gateway
    ports:
      - 4000:4000
    environment:
      - ENDPOINTS=first:https://demo.saleor.io/graphql/

docker-compose up

What I expected to happen
Federated graphql workls
What actually happens
Encountered error when loading first at https://demo.saleor.io/graphql/: Syntax Error: Unexpected Name "ObjectWithMetadata"

System information
docker

Resolved #7167

Resolved #7167


Assertions on list of lists

I am writing a test to verify contents of a List<List>, something like this:
List<List<String>> lists = Collections.singletonList(Arrays.asList("abc", "defg"));

I'd like to verify the contents of the internal list:
assertThat(lists)
    .hasSize(1)
    .first()
    .extracting(String::length)
    .isEqualTo(3);

I think that I need to use an assertThat method with an additional parameter to specify the list element (this method or this one). I can't find the way to specify the type of the internal list, is there a simple way to write this kind of assertions?
I am using version 2.5 on an Android project.

hmmm, I'm indeed having an error when trying to use an assert factory, I suspect assertThat(Iterable<? extends ELEMENT> actual,  AssertFactory<ELEMENT, ELEMENT_ASSERT> assertFactory) to get in the way - I need to investigate more.
There is no easy way to check that except by using condition specially applying it on elements.
Another option is to flatten your list of list, probably the simpler solution.

Thanks, @Michael1993, we missed this one!
Your solution can also be shortened with singleElement(InstanceOfAssertFactory):
assertThat(lists)
  .singleElement(InstanceOfAssertFactories.list(String.class))
  .extracting(String::length)
  .isEqualTo(3);

@fabioCollini given the solution with the latest version, I am going to close this issue.


[Bug] Textbox cursor position wrong

Describe the bug
When entering some characters in textbox and using "Abril Fatface" font, the cursor position and textbox size are displayed incorrectly. And some other fonts have the same problem

When I delete some characters. It will render like below

@yinxin630
Thanks.
I'll check it.


error handling example

I heard a lot that there is a lot of parse information available :)
But it would be great to know how to actually extract information like:
when parsing rule Program > Statement > [AssignmentStatement, FunctionStatement] > ... next token is OpenBracket which is not one of [Expression, Literal, FunctionCall]
Similar information would be good for developing autocomplete engine I guess.

A lot of this has been taken care of in the recent doc overhaul. I'm going to close this issue for now; if you need more help, let us know.

(https://nearley.js.org/docs/parser#accessing-the-parse-table)


Link: Add caveat doc about invariant

When Link is rendered outside Router, the following error is
reported:
You should not use <Link> outside a <Router>

Thanks, but I don't think we need this. Also, the text is kind of just randomly shoved into the docs. If we were to add this, it should go somewhere else.


Could not load type WebDriverWait

When using Selenium 3.5.2 or higher, I get this exception:
Could not load type 'OpenQA.Selenium.Support.UI.WebDriverWait' from assembly 'WebDriver.Support, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'
Based on the stacktrace, the exception is triggered by ElementFinder.cs line 24.
I can't find anything in the Selenium release notes that would indicate a potential cause.

that class is no longer in WebDriver.Support

Well, that would explain the issue.
I have the feeling Seleno's been largely abandoned as a project?

Let’s hope not
I am contributing to some other projects at the mo
Can’t help right now - but it’s a great abstraction - let’s hope it continues...

@jimmymain I agree. I am trying to resolve, but the dependencies are all so out of date, it's hard to know where to begin :(

I wouldn’t say abandoned, but certainly all of the core maintainers have other focus areas and haven’t been investing time into it.
People still seem to be getting use out of it. If members of the community want to step up to inject some love we’d be happy to grant access to edit the repo.

On 26 Oct 2017, at 9:49 pm, Sven Aelterman<EMAIL_ADDRESS>wrote:
Well, that would explain the issue.
I have the feeling Seleno's been largely abandoned as a project?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@jimmymain I don't understand "pre 5.2.1"? Version 5.2.1 of what?

So about two years later, and I've finally updated TestStack.Seleno. If anyone would like to try it out, it's here
I haven't update the .nuspec yet, and there are still some NuGet packages out of date. However, Seleno now works with the latest Selenium (3.141).
@robdmoore I will submit a PR, but be aware it's a huge changeset.

@robdmoore Update: PR submitted: https://github.com/TestStack/TestStack.Seleno/pull/267


[BUG] errors visiting wallet

Description
Visiting Wallet caused errors
See Screenshot
Screenshots

I think you are at the wrong project

@Gismo1337 I think you're on the wrong repository

@Gismo1337 I think you're on the wrong repository

hmm whisper chat?

try the link in about

@Gismo1337 I think you're on the wrong repository

hmm whisper chat? I clicked on the link DEMO in read me of this repo here

where did you get the link from?

Readme.md
demo

Anyway, where ever you got the link to this repo is pointing to the wrong place.
You can check out this project too, if you like

@Gismo1337 I think you're on the wrong repository

hmm whisper chat? I clicked on the link DEMO in read me of this repo here

where did you get the link from?

Readme.md demo

of this repo?

Yes
https://whisper.vercel.app/

This isn't my project, very different from the one in this project's about

I see where the problem is coming from

I see where the problem is coming from

right repo, wrong project

you are kidding.
this is you?

scroll down in readme to this position and click on whisper

its this link:
https://whisper.vercel.app/
and i am right now in the issues of this:

i am hard confused

@Gismo1337 as i said, i see where the problem is coming from, you are in the right repo that was linked to the wrong project.
Apologies for the confusion, it has been fixed with the proper link in the README file. Thanks for pointing it out
Thank you for wanting to contribute, I hope you still do so


Make it possible to copy the stash name

In Stash Info, the stash name can't be copied. Please make this some kind of read-only text box, so I can copy it, e.g. to create a new stash by the same name.

Thank you for creating the issue. I've just added described functionality. Could you please get the latest version (Git stash extension) and try to reproduce the defect.

Works for me, thanks!!

and good idea @tsahi 👍

Great suggestion, I'll try to hide/remove them and release the fix soon.

I've just released described functionality. Could you please get the latest version (Git stash extension) and try to reproduce the issue.

👏👏
works for me, thanks 🙏


Push Notification Support

push client validator need to be check. it is always required.

Push notification ban hery.  Yeah.
Need to create account bos aerogear ort brother?
On Apr 11, 2016 8:31 AM, "Socheat KHAUV"<EMAIL_ADDRESS>wrote:

Closed #2 https://github.com/PkayJava/MBaaS/issues/2.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/PkayJava/MBaaS/issues/2#event-621773578

yeah need. we use that one as backend for push.


Should be able to start a new path in the head nav from any page, including home

Still thinking about this one. It's maybe too much


The icons in the contact us page appear only on refreshing the page

Describe the bug
The icons in the contact us page appear only on refreshing the page and also make the image center aligned and also it is not responsive at around 900 width.

I found out where is it going wrong. Assign it to me will fix it👍


feat: feature-card-tsx

It should work fine, if not you can comment and i will do it again.

testing workflow

Sayad docs matra merge vayo kya, feature-card-tsx component merge vayena hola

@ShoomanKhatri Please link the associated issue to this PR.

@ShoomanKhatri Please link the associated issue to this PR.
kasari didi , docs ma thiyo yo

issue sanga link garnavannu v athyo , parena ??

@ShoomanKhatri you can just do closes #number or fixes #number in the description.
Also, looks like this was already implemented on #266


Fix potentially uninitialized VS2015 warning.

This fixes the a few occurences in demos, the loader and a test.
It also adds the warning to the always-on list so it will prevent
future regressions.
Fixes #1587.
Change-Id: I26f69e977b57749a3ab4ddb548ada95384131edc

Improved commit message format and pushed to Master.  Thanks!

Thank you!


exec format error when Running Ollama Container on AMD64 Architecture

What is the issue?
When attempting to run the Ollama container, I continuously encounter an exec format error. The container fails to start properly and keeps trying to restart, logging the same error multiple times.
What did you expect to happen? I expected the Ollama container to start successfully without any architecture compatibility issues.
What did you expect to see?
Expected Behavior: A successful initiation of the Ollama container, ready to receive and execute commands.
Steps to reproduce
Steps to Reproduce

Environment Setup: Ensure Docker is installed on a system running Ubuntu 22.04.3 LTS with AMD64 architecture.
Attempt with Latest Image:

Run the Ollama Docker container using the latest tag: docker run ollama/ollama:latest.
Observe the exec format error in the Docker logs, indicating the container is failing to start properly and continuously restarting.

Successful Attempt with Previous Release:

Switch to using the Ollama Docker container with the 0.1.30 tag: docker run ollama/ollama:0.1.30.
Notice that the container starts successfully without any architecture compatibility issues.

Are there any recent changes that introduced the issue?
The issue arose after an automated update process on 3/28, handled by Watchtower, which pulled the latest release of the Ollama container. Prior to this update, the container was running smoothly. However, the latest image seems to be missing a build for the linux/amd64 architecture, which is necessary for compatibility with my system. As a result, running the latest image leads to an exec format error and causes the container to restart continuously. This indicates that the latest release may have inadvertently omitted the linux/amd64 build, which is critical for running on an AMD64 architecture system like mine.
OS
Linux
Architecture
arm64
Platform
Docker
Ollama version
0.1.30
GPU
No response
GPU info
na
CPU
No response
Other software
na

Hi there, this should be fixed now. There was a slight delay in publishing the arm64 image for the latest tag – will make sure we avoid that next time. Thanks!


its good but i dont know how to replicate the mouth movements ,,

what i want is someting really clear like this

the a till x ,, its non sense a should open mouth but in your sprite ,,its closed mouth ,so its makes me confused

Hi there, the A, B, C listed don't correspond to the sounds made by the letters 'A', 'B', 'C' when spoken. They are taken from the original rhubarb spec.
https://github.com/DanielSWolf/rhubarb-lip-sync
So in your image it is roughly:
D      F       C
E       B      H
F       A      G
Hope this makes sense.


chore: bump dependencies

Description
What is changing?
Dependency bump, notably new Typescript :tada:
What is the motivation for this change?
New Typescript warms my soul.
Double check the following

[x] Ran npm run check:lint script
[x] Self-review completed using the steps outlined here
[x] PR title follows the correct format: <type>(NODE-xxxx)<!>: <description>
[x] Changes are covered by tests
New TODOs have a related JIRA ticket

Corrected lint errors, and filed: NODE-3774


Trying to understand why xp.random.choice was used in set_init_grad function when the labels are available

Thanks for your code.
I had a question of the set_init_grad code reference here:
https://github.com/alokwhitewolf/Guided-Attention-Inference-Network/blob/cd1cb0ac021078ed42fe3c1456040c00622e79d7/GAIN.py#L54-L63
On line 61, you use xp.random.choice(label,1). Can you explain why are you using random choice when you know the ground truth label index? I did not see that in the original paper and was curious to know if it improved your accuracy or performance. @alokwhitewolf

Hello,
Thanks for the code. I went through it and I asked myself this exact same question. Would be possible to have a comment on this? Thanks.


No IMU messages to process

Hi, can you please help me with this issue
[INFO] [1714640070.508600182] [rclcpp]: Bag Path = ros2_output/ros2_output_0.mcap
[INFO] [1714640070.508651066] [rclcpp]: Config File = /home/jyee/ros2_ws/src/allan_variance_ros2/config/customConfig.yaml
[INFO] [1714640070.521048855] [rclcpp]: imu_topic: /imu
[INFO] [1714640070.521114222] [rclcpp]: imu_rate: 285
[INFO] [1714640070.521135828] [rclcpp]: measure_rate: 200
[INFO] [1714640070.521153451] [rclcpp]: sequence_duration: 0
[INFO] [1714640070.521168783] [rclcpp]: sequence_offset: 0
[INFO] [1714640070.521198806] [rclcpp]: Computor constructed
[INFO] [1714640070.521212476] [rclcpp]: Processing rosbag ros2_output/ros2_output_0.mcap
[INFO] [1714640070.521226359] [rclcpp]: Processing ros2_output/ros2_output_0.mcap ...
[INFO] [1714640070.525722572] [rclcpp]: Topic /imu found in the bag!
[INFO] [1714640070.527614583] [rclcpp]: Finished buffering data. 0 measurements
[ERROR] [1714640070.527660973] [rclcpp]: No IMU messages to process, is your topic right?
[INFO] [1714640070.527678761] [rclcpp]: Total computation time: 0.005454 s
[INFO] [1714640070.527696279] [rclcpp]: Data written to allan_variance.csv
my config:
imu_topic: "/imu"
imu_rate: 285
measure_rate: 200 # Rate to which imu data is subsampled
sequence_time: 9839 # 3 hours in seconds
my bag info
Files:             ros2_output_0.mcap
Bag size:          1017.5 MiB
Storage id:        mcap
Duration:          9839.580s
Start:             May  1 2024 13:10:30.609<PHONE_NUMBER>.609)
End:               May  1 2024 15:54:30.190<PHONE_NUMBER>.190)
Messages:          2814490
Topic information: Topic: /imu | Type: sensor_msgs/msg/Imu | Count: 2814490 | Serialization Format: cdr

Hi @mjunsen123,
Sorry I missed your message. I believe the issue may be that only allan_variance_msgs/msg/Imu9DoF are today accounted for. I am planning to reintroduce the standard IMU message in the future. But I cannot tell when.


How to display all contacts?

Hi, how can easily display all the contacts in the system address book?  I noticed that if a contact only has a first name, last name and email address they are not displayed.  Thanks!

You could change this line to
        return contact.compositeName != nil;

It wasn't that simple, see my pull request #5


Tests for cli

It would be great if we have some tests for cli.

@bicarlsen
I'm trying to quickly prepare some tests for cli. But I'm still not confident how to use cli.
In readme, it says,
andor_sif

should convert all the *.sif file, but andor_sif may not be registered as an executable to the system.
It would be great if you could add more details of its usage.

Apologies about that, it should be ‘sif_reader’. I forgot to change it from
the original package name.
On Fri, 1 Jul 2022 at 09:55 Keisuke Fujii @.***> wrote:

@bicarlsen https://github.com/bicarlsen
I'm trying to quickly prepare some tests for cli. But I'm still not
confident how to use cli.
In readme, it says,
andor_sif
should convert all the *.sif file, but andor_sif may not be registered as
an executable to the system.
It would be great if you could add more details of its usage.
—
Reply to this email directly, view it on GitHub
https://github.com/fujiisoup/sif_reader/issues/19#issuecomment-1172052322,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7IQLFXDS3J54A75COGZV3VR2QARANCNFSM52GUNDNQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Could you pull this branch and add some typical usages here?
https://github.com/fujiisoup/sif_reader/blob/d6640fd3bb2b107038d2d0a618f59a00acc4cc15/testings/test_cli.sh#L1
This script will be automatically executed in travis.
It looks like there are some bugs in master and CLI is not working.
It might be better to add a few tests before #20 is merged.

At this point, maybe we can only test whether the script is running without error. Maybe we can leave the validity test of the output later.
The sample data is in './testings/public_testdata'


Search misses bugs

Search sometimes misses open bugs, even when the search string is the exact title of the bug.  Examples:

Search, bug
Search, bug 1, bug 2, alternative search.

I've also seen this happen on certain searches and then correct itself later.
This makes search much less useful, since I still need to search Bugzilla directly before reporting a new issue.

in your first search, the issue is that you had a "job name" value specified (name=4.4 in the query params).  That shouldn't interfere w/ bug searches, but it seems like it did in this case?
this search is working:
https://search.ci.openshift.org/?search=Application+behind+service+load+balancer+with+PDB+is+not+disrupted&maxAge=168h&context=1&type=bug&name=&maxMatches=5&maxBytes=20971520&groupBy=job
while your search still is not:
https://search.ci.openshift.org/?maxAge=168h&context=1&type=bug%2Bjunit&name=4.4&maxMatches=5&maxBytes=20971520&groupBy=job&search=Application+behind+service+load+balancer+with+PDB+is+not+disrupted
i think the same issue applies to your second search.
it would be good to figure out why ci-search's bug search isn't just ignoring the job name field when doing bug searches, though.

Those query URLs came from Sippy links, FWIW.

Those query URLs came from Sippy links, FWIW.

i assume you're talking about these links:

(specifically the test name link).
The intent of those links is to show you the jobs where the test failed, not the bugs(which is why it filters it by job name, so it's only showing you results from jobs related to the release you were looking at).
We can fix sippy to make that explicit by changing the type to "junit" instead of "junit+bug" in the query url.  But if we can fix the ci-search issue so that you also get BZ results, even w/ a job name specified, that is probably the better solution.

The test name links, yeah.  The "junit+bug" menu entry did reinforce the idea that I should expect to see bugs.  Also, the build-watcher docs say:

It is good practice to always click on the Test Name first and check to see if a BZ has recently been opened for that test and just hasn’t shown up in Sippy yet

Either fix SGTM.

fixing the search results in #93, adding the "related BZ results"(i.e. BZs that matched the test name but are targeted to a different release) to sippy will be a bigger effort.


AddWacDiscoveryEndpoint

This change is

Reviewed 4 of 4 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Project and Order By handle chunk visibility incorrectly

reproduce:
create table t1 (x int, y int)

create table t2 (x int, y int)

insert into t1 values (1, 1), (2, 2), (1, null), (null, 2), (2, null), (null, 1), (null, null)

insert into t2 values (1, 2), (2, 2), (1, null), (null, 2), (2, null), (null, 1), (null, null)

select * from t1 where not exists(select * from t2 where t1.x = t2.x and t1.y <> t2.y) order by t1.x, t1.y

Fix


您好，请问单卡训练RGB-T数据集时，加载738张图片就会报错，这是什么原因呢，该怎么解决它？

报错如下：
warnings.warn(
07 15:24:26 PyTorch Version 1.11.0
07 15:24:26 using devices 0
07 15:24:26 Using backbone: Segformer-B2
07 15:24:27 Using MLP Decoder
07 15:24:27 Loading pretrained model: /workspace/cmx_5781/RGBX/pretrained/segformer/mit_b2.pth
07 15:24:28 Load model, Time usage:
IO: 0.6079375743865967, initialize parameters: 0.0488431453704834
07 15:24:28 Initing weights ...
07 15:24:31 begin trainning:
Epoch 1/500 Iter 738/962: lr=4.5967e-06 loss=1.2658 total_loss=0.9264: [04:21<01:19, 2.83it/s]libpng error: Read Error
Epoch 1/500 Iter 738/962: lr=4.5967e-06 loss=1.2658 total_loss=0.9264: [04:21<01:19, 2.82it/s]
07 15:28:52 WRN A exception occurred during Engine initialization, give up running process
Traceback (most recent call last):
File "train.py", line 112, in
minibatch = dataloader.next()
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 530, in next
data = self._next_data()
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 570, in _next_data
data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 49, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/workspace/cmx_5781/RGBX/dataloader/RGBXDataset.py", line 54, in getitem
x = cv2.merge([x, x, x])
cv2.error: OpenCV(4.7.0) :-1: error: (-5:Bad argument) in function 'merge'

Overload resolution failed:

Can't parse 'mv'. Sequence item with index 0 has a wrong type
Can't parse 'mv'. Sequence item with index 0 has a wrong type

ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 553) of binary: /opt/conda/bin/python
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/opt/conda/lib/python3.8/site-packages/torch/distributed/launch.py", line 193, in
main()
File "/opt/conda/lib/python3.8/site-packages/torch/distributed/launch.py", line 189, in main
launch(args)
File "/opt/conda/lib/python3.8/site-packages/torch/distributed/launch.py", line 174, in launch
run(args)
File "/opt/conda/lib/python3.8/site-packages/torch/distributed/run.py", line 715, in run
elastic_launch(
File "/opt/conda/lib/python3.8/site-packages/torch/distributed/launcher/api.py", line 131, in call
return launch_agent(self._config, self._entrypoint, list(args))
File "/opt/conda/lib/python3.8/site-packages/torch/distributed/launcher/api.py", line 245, in launch_agent
raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
train.py FAILED
Failures:
<NO_OTHER_FAILURES>
Root Cause (first observed failure):
[0]:
time      : 2023-06-07_15:28:56
host      : f045835eb25d
rank      : 0 (local_rank: 0)
exitcode  : 1 (pid: 553)
error_file: <N/A>
traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
配置文件如下：

Dataset config

"""Dataset Path"""
C.dataset_name = 'RGBT'
C.dataset_path = osp.join(C.root_dir, 'datasets', 'RGBT')
C.rgb_root_folder = osp.join(C.dataset_path, 'RGB')
C.rgb_format = '.png'
C.gt_root_folder = osp.join(C.dataset_path, 'GT')
C.gt_format = '.png'
C.gt_transform = False
C.x_root_folder = osp.join(C.dataset_path, 'T')
C.x_format = '.png'
C.x_is_single_channel = True
C.train_source = osp.join(C.dataset_path, "train.txt")
C.eval_source = osp.join(C.dataset_path, "test.txt")
C.is_test = False
C.num_train_imgs = 1922
C.num_eval_imgs = 966
C.num_classes = 6
C.class_names =  [‘Unlabeled'，Insulator','Current Transformer','Voltage Transformer','Lightning Arrester','Bushing']
RGBXDatasets.py修改了这一部分：
def getitem(self, index):
if self._file_length is not None:
item_name = self._construct_new_file_names(self._file_length)[index]
else:
item_name = self._file_names[index]
x_name = "T" + item_name[3:]
gt_name = "GT" + item_name[3:]
rgb_path = os.path.join(self._rgb_path, item_name + self._rgb_format)
x_path = os.path.join(self._x_path, x_name + self._x_format)
gt_path = os.path.join(self._gt_path, gt_name + self._gt_format)

Hi, thanks for your interest. It seems like an error from dataloarder. Did you check the original data whether it is corrupted?


use generic style method

I used UIAppearance because it seems close enough, but custom protocol could be added too.

Whoooo! We tried to refactor this one a couple times with generics with no luck. This solution is fantastic ! I didn't even know we could do that with UIAppearance :) :+1:
I don't want to be picky but is there a particular reason you used () instead of Void here?

Tested it on our app where style is used everywhere and it's perfect :+1:

I'm glad that it worked for you :).
There is no reason for (), I just didn't notice that you used Void.


Missing Assets

recent update of Mishiro seems to have assets downloaded improperly(?), many 3d outfits are missing that were there before in previous versions
https://i.imgur.com/qa7B2hY.png

mishiro have no update for several years, I didn't play this game for a long time as well. I guess this is caused by game database update itself.

I just took a look at the log file in the resources folder of mishiro and it has the following error:

[2024-02-27 18:43:12.001] [mishiro] [error] UPDATE getResVer: Error: Error invoking remote method 'checkResourceVersion': Error: 204
at EventEmitter.i.invoke (electron/js2c/renderer_init.js:73:529)
at async it (file:///D:/Files/idolmaster/CGSS/mishiro/resources/app.asar/renderer/mishiro.renderer.js:1:110907)
at async a.getResVer (file:///D:/Files/idolmaster/CGSS/mishiro/resources/app.asar/renderer/mishiro.renderer.js:1:141179)
at async Dn. (file:///D:/Files/idolmaster/CGSS/mishiro/resources/app.asar/renderer/mishiro.renderer.js:1:144457)

@NatsukiOkusawa This is another issue, caused by the game itself server and version update. Need to publish a new release to fix this issue. But I recently have no time to maintain this project, the dependencies is too old so that the project is hard to run locally.

Alright, I see.
Anyway, I did a little experiment where I copied the latest database/manifest files from my phone to mishiro, and it appears like the program can still read the files themselves.

nice to meet you. I only recently discovered the existence of this app, and I was surprised to see that I wasn't the only one having this problem.
However, I'm not very familiar with the technical use of design and JavaScript, so I'm disappointed that I can't help you...

nice to meet you. I only recently discovered the existence of this app, and I was surprised to see that I wasn't the only one having this problem.
However, I'm not very familiar with the technical use of Deresute and JavaScript, so I'm disappointed that I can't help you...

I just took a look at the log file in the resources folder of mishiro and it has the following error:

@NatsukiOkusawa OK, in fact it's the same problem with original description of this issue, which is that mishiro fails to fetch the game database. But I still need some time to fix the package process in CI...

2.7.0 released. feel free to reopen this issue if there is still problem.

I have a feeling that some song that have 3dmv assets cannot be found like 8067 (KOI) only have dance but not for stage.
(or I'm too dumb to find it.)


Database State Root

Describe the bug
When syncing the scroll chain using --debug.tip incrementally (i.e. syncing to block 10 and then doing a second run to sync to block 100) we have errors with the state root. I suspect this is due to some issue related to trie data stored in the database. We must investigate this and identify the cause.
Steps to reproduce
RUST_LOG=debug cargo run --bin scroll-reth --features scroll --manifest-path crates/scroll/bin/Cargo.toml -- node --chain scroll-mainnet --debug.tip 0xd73993f9db2b3f3cf884a2d0ae8b5e695cfcfe36b856c6ec334334de7f2f2fdb
RUST_LOG=debug cargo run --bin scroll-reth --features scroll --manifest-path crates/scroll/bin/Cargo.toml -- node --chain scroll-mainnet --debug.tip 0xce5b5c594918c338a260ea642a05213d2ebfdf6065787d3b9920dc9de62fedd4
Node logs
No response
Platform(s)
Mac (Apple Silicon)
What version/commit are you on?
reth-scroll-cli Version: 1.1.2-dev
Commit SHA: f0dca57217ebc96ca685f2c6ea20b22f33134dc8
Build Timestamp: 2024-12-12T15:11:59.038065000Z
Build Features: scroll
Build Profile: debug
What database version are you on?
.
Which chain / network are you on?
scroll-mainnet
What type of node are you running?
Archive (default)
What prune config do you use, if any?
No response
If you've built Reth from source, provide the full command you used
No response
Code of Conduct

[X] I agree to follow the Code of Conduct

This issue is related to the PrefixSetLoader. When we unpack into Nibbles in the PrefixSetLoader we should unpack into bits when the scroll feature is activated.
https://github.com/scroll-tech/reth/blob/f329794916c1dcaffcf12382502b952ff03da9a0/crates/trie/db/src/prefix_set.rs#L48-L59
In #81, we modify this to unpack the bits when the scroll feature flag is activated. We also add this modification to other parts of the code relevant to scroll.


Initial translation of the page "Shallow Renderer"

Please follow the Glossary.
https://github.com/reactjs/bn.reactjs.org/wiki/Glossary
Its not complete but we are working on it.

should we add shallow rendering to no translation required table?

@sazzadsazib Let's add shallow rendering in no translation required table

@sazzadsazib  Let's add render in no translation required table because its a common programming concept and it improves search-ability. Also, we have already added Shallow Rendering to the no translation required table, so why not add render?

@nutboltu Applied all of your suggestions🙃


Use different counter var to save two bytes

Well. Maybe. Perhaps the repetition packer screws that up.

I'm going to leave it at this. Would love to golf more at it but... well, other priorities calling me :) Just cherry pick what's relevant.

Nice ... will check your changes out! Thanks a lot!

At some point your changes broke the demo. I just get a static screen with a hum. I am investigating.

Ok, variables s and t are global counters that must not be reset every frame. If you do, you get that static hum.

After all, even after putting the s and t back into the variable assignments at the top, the demo shrunk 10 bytes in size. So I merged your changes and added my fix on top.
Again, thanks a million for your contribution!

At some point I'll find the time to create a fuzzer to do this kind of stuff. Some day, Gadget!


LogOp changed np.log to cudf.log()

LogOp used np.log() - which looks as a cpu version is used. Changed to using cudf log

run tests

rerun tests


Grafana v11.2.0

hello
help me install the plugin on Grafana v11.2.0
the plugin has been installed
In the plugin, I click "Add new data source", An empty data source page is created.
if I click "Explore data", an error comes out:
"gcorelabs-cdn-stats-datasource-3 plugin failed
Error: Error loading http://gra-grf1-lp1.hq.bc/core:plugin/gcorelabs-cdn-stats-datasource.js?_cache=1.0.14 (SystemJS Error#3 https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3)"

@AndrewOga
Just installed on Grafana 11.3.0
Set the following environment variables:
    GF_ALLOW_LOADING_UNSIGNED_PLUGINS = "gcorelabs-cdn-stats-datasource"
    GF_DEFAULT_APP_MODE               = "development"

Ensure plugin is on path /var/lib/grafana/plugins/
This worked for me.

@andreas-kokkalis
Thanks!


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.19 to before v5.10.88",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=41cbb0f5a29592874355e4159489eb08337cd50e",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7fd214fc7f2ee3a89f91e717e3cfad55f5a27045"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "41cbb0f5a29592874355e4159489eb08337cd50e",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "7fd214fc7f2ee3a89f91e717e3cfad55f5a27045",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "mac80211: validate extended element ID is present\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.88 by commit 7fd214fc7f2ee3a89f91e717e3cfad55f5a27045, it was introduced in version v4.19 by commit 41cbb0f5a29592874355e4159489eb08337cd50e. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002688


Support for more social icons

Is there a way to add more social icons e.g. BlueSky and Threads?

It seems that @lukasbableck fork  (https://fontello.bableck.dev/) could do the trick :)
It has fontawesome 6 - that has icons for x, threads or bluesky.

This might be the next theme upgrade - can't promise a time, but can be done

In the end I could fit this @dougalb - you can preview them at https://adritian-demo-git-theme-update-update-theme-697534-adrianmoreno.vercel.app/.
There are some small changes with the naming - but shouldn't be anything too dramatic to update (I hope, otherwise let me know).

That's awesome! Thank you!
On Wed, Nov 27, 2024 at 11:52 AM Adrián Moreno Peña <
@.***> wrote:

Closed #83 https://github.com/zetxek/adritian-free-hugo-theme/issues/83
as completed via #84
https://github.com/zetxek/adritian-free-hugo-theme/pull/84.
—
Reply to this email directly, view it on GitHub
https://github.com/zetxek/adritian-free-hugo-theme/issues/83#event-15457100120,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AASRLCQMXWW5OGRL44ZWBG32CYPHZAVCNFSM6AAAAABSQ6L5VGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGQ2TOMJQGAYTEMA
.
You are receiving this because you were mentioned.Message ID:
@.***
com>


Since v5.3.1 compile time dependencies include all maven-bundle-plugin dependencies

Describe the bug
In pom.xml maven-bundle-plugin must not be a project dependecy, just a plugin.
To Reproduce
Steps to reproduce the behavior:

Add JColor 5.3.1 to your project
Watch dozens of maven dependencies be added to your app classpath.

Screenshots
v5.3.0 classpath

v5.3.1 classpath

@dialex

Hi @dialex , as it stands the only workaround is adding an exclusion
    <dependency>
        <groupId>com.diogonunes</groupId>
        <artifactId>JColor</artifactId>
        <version>5.4.1</version>
        <exclusions>
            <exclusion>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

Oh no, thanks for letting me know!
That was introduced by https://github.com/dialex/JColor/pull/61
@robertcsakany the dependency you added is causing this issue
Is there a way to tell Maven that is a "build" or "dev" only dependency, like the <scope>test</scope>? The goal is that people you use JColor don't have to download maven-bundle-plugin and its dependencies?

I released the fix in v5.5.0, can you please confirm that it works (ie. the other dependencies are gone)?

I released the fix in v5.5.0, can you please confirm that it works (ie. the other dependencies are gone)?

v5.5.0 only runs in java 18+
maven.compiler.target should be 1.8.
 bad class file: /home/user/.m2/repository/com/diogonunes/JColor/5.5.0/JColor-5.5.0.jar(/com/diogonunes/jcolor/Ansi.class)
    class file has wrong version 62.0, should be 55.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.

Ups, I assumed it would still be compatible with Java 8. Pushed a fix on v5.5.1.