Move logs from java.lang.System.out to org.apache.maven.plugin.logging.Log

I just wanna configure my logs using simplelogger.properties
maven.apache.org/maven-logging.html
So I moved logs from java.lang.System.out to org.apache.maven.plugin.logging.Log

merged. you can close it.
Thanks!


Authenticating via account ID and license key

Is it possible to authenticate via Account ID/license key using this SDK?
I don't think adding it as a header to the connection_options argument works because the options are merged instead of deep merged and would overwrite the initial headers here.
I don't think this works:
client = AvaTax::Client.new(connection_options: { :headers => { 'Authorization' => 'Basic MjAwMDI2NjEyODo3MUIwQTg3QjhGNzNFQ0M5' } })

Do you have any suggestions? I definitely could have just misread something.
Thanks!

Hi @SophiaLWu
In AvaTax both username/password pair and accound_id/license_key pair can be used as a way of authenticating a user, meaning
AvaTax.configure do |config|   begin     config.username = credentials['username']     config.password = credentials['password'] end
is the same as
AvaTax.configure do |config|   begin     config.username = credentials['account_id']     config.password = credentials['license_key'] end
They both will be Base64 hashed by the request module, and both are can be validated by our API

Ah that worked perfectly. Sorry about the confusion!


PAYMENT_METHOD_TOKENIZATION_TYPE_DIRECT implementation issue

Hello Greetings,
I'm trying to implement the android pay in my application. But my payment processor is not supporting Android pay so, I'm working on direct payment process using the PAYMENT_METHOD_TOKENIZATION_TYPE_DIRECT method. For this I need on public key for that I am using the below link to create public key
https://developers.google.com/payments/payment-data-cryptography#encrypt-spec but the application is always showing request failed error dialogue in android.

Hi, thank you for your interest - please check Test and deploy for more information on how to get production access - most notably, you need to follow the link in that article to sign up.

I'm getting this error due to the publicKey. Can you please guide me how can I create correct publicKey to successful integration of android pay in my application.

Please reach out to Google Pay support for integration questions - this issue tracker is reserved for problems with the sample app itself.


[Bug]: Cross referencing - Set as home page toggle disabled after changing homepage

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When we change the homepage & re-order the pages, the Set as home page toggle gets disabled for some pages. A hard refresh is required to make make in interact-able.
Steps To Reproduce

Go to any app in https://ee-4056.dp.appsmith.com/ that has multiple pages.
Go to Page settings, change the home page & re-order the list of pages.
For the first page try to set the Set as home page toggle as true.

Expected: The user should be able to play around with the toggle.
Actual: The toggle is disabled and we cannot change the preference.
Public Sample App
No response
Environment
Deploy Preview
Severity
High (Blocker to building or releasing)
Issue video log
https://jam.dev/c/6ed14ce9-5a5c-4bcc-ba04-382e558f93c6
Version
Cloud

@brayn003 is this bug fixed? I see a PR merged but the issue still exists on the DP.

Verified on the DP, the issue is fixed.
https://jam.dev/c/ec8576ac-b95f-4dc0-a84a-fd5643878a68


Windows 10 Enterprise -  lookup api.crc.testing: no such host

Successfully ran crc setup but crc start hangs on trying to contact api.crc.testing. The CRC is there in the Hyper-V manager, started.
>crc setup
INFO Checking if oc binary is cached
INFO Checking if CRC bundle is cached in '$HOME/.crc'
INFO Checking if running as normal user
INFO Checking Windows 10 release
INFO Checking if Hyper-V is installed and operational
INFO Checking if user is a member of the Hyper-V Administrators group
INFO Checking if Hyper-V service is enabled
INFO Checking if the Hyper-V virtual switch exist
INFO Found Virtual Switch to use: Default Switch
Setup is complete, you can now run 'crc start' to start the OpenShift cluster

`>crc status
ERRO Unable to connect to the server: dial tcp <IP_ADDRESS>:6443: connectex: No connection could be made because the target machine actively refused it.

exit status 1`

>crc ip <IP_ADDRESS>
crc_start.txt

I have tested this multiple times with 1903 and have no issues. The problems you see on the Default Switch must have to be related to something else ...
... what network tools are on the machine?

1903

Correction: tested with 1909.

I had the same type of issues using Windows 10 Enterprise Build 17763, that also came with a Default Switch. The issue there turned out to be that the VM did not get any IP from Hyper-V when I inspected it in the Hyper-V Manager. Somewhere around that time I learned about the "crc" switch workaround and stopped trying to get the Default Switch to work.

I hit same problem on windows 10 pro.
Solution -
DNS needs to be configured to your router or local machine. After change it started working:
C:>crc start
INFO Checking if oc binary is cached
INFO Checking if podman remote binary is cached
INFO Checking if running as normal user
INFO Checking Windows 10 release
INFO Checking if Hyper-V is installed and operational
INFO Checking if user is a member of the Hyper-V Administrators group
INFO Checking if Hyper-V service is enabled
INFO Checking if the Hyper-V virtual switch exist
INFO Found Virtual Switch to use: Default Switch
INFO Starting CodeReady Containers VM for OpenShift 4.3.8...
INFO Verifying validity of the cluster certificates ...
INFO Will run as admin: add dns server address to interface vEthernet (Default Switch)
INFO Check internal and public DNS query ...
INFO Check DNS query from host ...
INFO Starting OpenShift cluster ... [waiting 3m]
INFO
INFO To access the cluster, first set up your environment by following 'crc oc-env' instructions
INFO Then you can access it by running 'oc login -u developer -p developer https://api.crc.testing:6443'
INFO To login as an admin, run 'oc login -u kubeadmin -p kKdPx-pjmWe-b3kuu-jeZm3 https://api.crc.testing:6443'
INFO
INFO You can now run 'crc console' and use these credentials to access the OpenShift web console
Started the OpenShift cluster
WARN The cluster might report a degraded or error state. This is expected since several operators have been disabled to lower the resource usage. For more information, please consult the documentation
C:>crc status
CRC VM:          Running
OpenShift:       Running (v4.3.8)
Disk Usage:      15.41GB of 32.72GB (Inside the CRC VM)
Cache Usage:     14.2GB

I hit same problem on windows 10 pro.
Solution -
DNS needs to be configured to your router or local machine. After change it started working:
C:>crc start
INFO Checking if oc binary is cached
INFO Checking if podman remote binary is cached
INFO Checking if running as normal user
INFO Checking Windows 10 release
INFO Checking if Hyper-V is installed and operational
INFO Checking if user is a member of the Hyper-V Administrators group
INFO Checking if Hyper-V service is enabled
INFO Checking if the Hyper-V virtual switch exist
INFO Found Virtual Switch to use: Default Switch
INFO Starting CodeReady Containers VM for OpenShift 4.3.8...
INFO Verifying validity of the cluster certificates ...
INFO Will run as admin: add dns server address to interface vEthernet (Default Switch)
INFO Check internal and public DNS query ...
INFO Check DNS query from host ...
INFO Starting OpenShift cluster ... [waiting 3m]
INFO
INFO To access the cluster, first set up your environment by following 'crc oc-env' instructions
INFO Then you can access it by running 'oc login -u developer -p developer https://api.crc.testing:6443'
INFO To login as an admin, run 'oc login -u kubeadmin -p kKdPx-pjmWe-b3kuu-jeZm3 https://api.crc.testing:6443'
INFO
INFO You can now run 'crc console' and use these credentials to access the OpenShift web console
Started the OpenShift cluster
WARN The cluster might report a degraded or error state. This is expected since several operators have been disabled to lower the resource usage. For more information, please consult the documentation
C:>crc status
CRC VM: Running
OpenShift: Running (v4.3.8)
Disk Usage: 15.41GB of 32.72GB (Inside the CRC VM)
Cache Usage: 14.2GB

Can you explain how did you do? I tried to add as secondary dns the ip of mine router but it doesn't work.

@madhavi-reddy24 could you elaborate further on what you did exactly to resolve this? I have the same issue and the only way I could workaround it was by catching the assigned IP before it reaches the check and update the hosts file manually. Once I did that then all DNS checks passed. I was able to access the console and all but one pod is running. The sdn-controller pod is failing to start the network controller so I expect there are going to be more issues as a result and clearly something is wrong with my networking here.


Multiple custom sounds plays all at once

I am not sure if it was by design but putting in multiple custom sounds in the ExtraLifeHelper.html file causes all sounds listed to play at the same time on donation.

Hey there! Sorry for the ridiculously late reply.
Yes, this is by design. If you'd like to have multiple sounds play in a certain sequence, I'd suggest combining them with an audio editor.

Thanks for the reply nonetheless, I was hoping that it would play a sound randomly versus all at once. Thanks for the clarification.


StrongSwan connecting to 'default' URI failed

After deploying Submariner, all submariner-operator are running, but strongswan status returns exit code 3. Looking at swanctl, I'm seeing that StrongSwan connecting to 'default' URI 'unix:///run/strongswan/charon.vici' failed: No such file or directory.
cd /home/nmanos/go/src/github.com/submariner-io/submariner-operator
./bin/subctl info
Discovered network details:
Network plugin:  OpenShift
Service CIDRs: [<IP_ADDRESS>/16]
Cluster CIDRs: [<IP_ADDRESS>/14]
/home/nmanos/automation/ocp-install/oc get pods -n submariner-operator
NAME                                   READY   STATUS    RESTARTS   AGE
submariner-gateway-fz4rh               1/1     Running   0          12m
submariner-gateway-gclmz               1/1     Running   0          12m
submariner-operator-8446795d99-jk7xt   1/1     Running   0          13m
submariner-routeagent-4tjmm            1/1     Running   0          12m
submariner-routeagent-9m9zx            1/1     Running   0          12m
submariner-routeagent-mzkh4            1/1     Running   0          12m
submariner-routeagent-wtf2w            1/1     Running   0          12m

op_pod=submariner-gateway-fz4rh

/home/nmanos/automation/ocp-install/oc exec submariner-gateway-fz4rh -n submariner-operator -- bash -c "swanctl --list-sas"
connecting to 'unix:///run/strongswan/charon.vici' failed: No such file or directory
Error: connecting to 'default' URI failed: No such file or directory
strongSwan 5.8.2 swanctl
command terminated with exit code 2

StrongSwan connecting to default URI failed.log

Just for record: When more than one node is labelled as SubmarinerGateway capable node, submariner engine (that runs as a DaemonSet) will run on both the nodes. However, only one of them will be the active gateway node for the cluster. The above logs are seen on the non-Gateway/Backup node where Charon daemon is not running, hence the error.

Seems to be caused by URI path, this seems to be responding correctly:
[nmanos@nmanos ocp-install]$ kubconf_a oc exec submariner-gateway-4tgkx -n submariner-operator -- bash -c "swanctl --list-sas --uri unix:///var/run/charon.vici"
submariner-cable-nmanos-cluster-b-tunnel-10-166-0-13: #1, CONNECTING, IKEv2, 55cb5ae27d7402d7_i*<PHONE_NUMBER>000000_r
  local  '%any' @ <IP_ADDRESS>[501]
  remote '%any' @ <IP_ADDRESS>[4501]
  active:  IKE_VENDOR IKE_INIT IKE_NATD IKE_CERT_PRE IKE_AUTH IKE_CERT_POST IKE_CONFIG CHILD_CREATE IKE_AUTH_LIFETIME

On latest Submariner (0.3.0), the URI "unix:///var/run/charon.vici" is not working either:
oc exec submariner-gateway-jwk68 -n submariner-operator -- bash -c swanctl --list-sas --uri unix:///var/run/charon.vici
connecting to 'unix:///var/run/charon.vici' failed: No such file or directory
Error: connecting to 'unix:///var/run/charon.vici' URI failed: No such file or directory

@sridhargaddam, can you point me to the correct URI to validate StrongSwan status ?

Attaching pod log:
charon_check_should_wait_longer.log
@mangelajo suggested we should wait some time before reporting connection errors to charon, to avoid missleading logs.
However, according to the log, this error seems to be related to charon.vici path, but not to the IKE charon daemon.

Please use the new Gateway objects with kubectl that @mangelajo implemented recently in Submariner. The Gateway object would abstract the implementation details of driver (like Strongswan, Wireguard etc) and provides a consistent API to consume the status of the connection.
kubectl get Gateway -A -o yaml


Enhance AggregationFunctionColumnPair to accept underscore in function name

Looks good to me, thanks

I think we are still missing this support for transform functions

I think we are still missing this support for transform functions

You mean pre-aggregation on transformed columns?

I think we are still missing this support for transform functions

You mean pre-aggregation on transformed columns?

I mean transform functions like array_sum is not supported yet only arraysum

The function in star-tree can only be aggregation function (pre-aggregation)

oh i'm justing talking about for regular transform functions usage:
select array_sum(mvCol) from myTable

oh i'm justing talking about for regular transform functions usage:
select array_sum(mvCol) from myTable

It's handled within TransformFunctionType.getTransformFunctionType()


MacOS 10 / iOS 13 support

Anything I can do to support previous version?

There are quite a lot of depreciations between iOS 13 and 14. There is also a change in the way things get laid out, so if you solve all the depreciations there there a few elements that need to be rewritten just for iOS 13.


Defining multiple resources always returns first resource of the given request method

TL;DR: Found a bug and raised a pull request (#12) to fix it.
Thank you for providing a useful testing tool. Running on http-test-server = { version = "2.1.0" }
When defining a http_test_server object with more than one canned response, this always seems to return the first one, rather than the response matching the resource URI.
An external test case for this might look something like

#[test]
fn test_test_server() {
    let server = TestServer::new().unwrap();

    let mut resource_404 = server.create_resource("/");
    resource_404
        .status(http_test_server::http::Status::NotFound)
        .method(http_test_server::http::Method::GET)
        .body(r"404 NOT HELLO");

    let mut resource2 = server.create_resource("/hello");
    resource2
        .status(http_test_server::http::Status::Accepted)
        .method(http_test_server::http::Method::GET)
        .header("Content-Type", "application/json")
        .header("Cache-Control", "no-cache")
        .body(r"Hello!");

    let client = reqwest::blocking::Client::new();
    let link = format!("http://localhost:{}/hello", server.port());
    let request = client.get(&link);
    match request.send() {
        Err(err) => { println!("ERR: {:?}", err); },
        Ok(response) => {
            let response_str = response.text().unwrap();
            assert_eq!(response_str, r"Hello!");
        }
    };
}

and this will return
running 1 test
thread 'myapp::test::test_test_server' panicked at 'assertion failed: `(left == right)`
  left: `"404 NOT HELLO"`,
 right: `"Hello!"`', src/myapp/test.rs:1834:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
test myapp::test::test_test_server ... FAILED

failures:

failures:
    myapp::test::test_test_server

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 169 filtered out; finished in 0.01s

It is my understanding that create_resource simply defines one additional entry in a list of resources, so why this doesn't give the expected result somewhat baffles me. Is this a bug or am I doing something wrong?
Thanks,
Marc
EDIT:  An internal test might look something like this inside your test suite:
    #[test]
    fn should_handle_multiple_resources() {
        let server = TestServer::new().unwrap();
        let resource = server.create_resource("/something");
        resource.status(Status::OK).body("<some body>");

        let resource2 = server.create_resource("/something-else");
        resource2.status(Status::OK).body("<some other body>");

        assert_eq!(resource.request_count(), 0);

        let _ = make_request(server.port(), "/something");
        let _ = make_request(server.port(), "/something-else");

        thread::sleep(Duration::from_millis(200));

        assert_eq!(resource.request_count(), 1);
        assert_eq!(resource2.request_count(), 1);
    }

The above returns
failures:

---- tests::should_handle_multiple_resources stdout ----
thread 'tests::should_handle_multiple_resources' panicked at 'assertion failed: `(left == right)`
  left: `2`,
 right: `1`', src/lib.rs:670:9

EDIT 2:
It turns out the regex is slightly permissive, a resource "/some" will also match "/something-longer".
This is easily worked around by enforcing a trailing slash to each resource.
The main issue. however, appears to be in find_resource, see FIXME comment:
fn find_resource(method: String, url: String, resources: ServerResources) -> Resource {
    let resources = resources.lock().unwrap();
    let resources_for_uri = resources.iter().filter(|r| r.matches_uri(&url));

    if resources_for_uri.count() == 0 {
        return Resource::new(&url).status(Status::NotFound).clone();
    }

    // FIXME: The next line should probably not iterate `resources` but `resources_for_uri`
    match resources.iter().find(|r| { r.get_method().equal(&method) }) {
        Some(resource) => {
            resource.increment_request_count();
            resource.clone()
        },
        None => Resource::new(&url).status(Status::MethodNotAllowed).clone()
    }
}

Without diving deeper it seems slightly tricky to keep Rust happy about running find on a filter result, so it makes sense to immediately iterate both URI and request method, then do more filtering in the rare case an error occurs to distinguish between 404 or method not allowed:
fn find_resource(method: String, url: String, resources: ServerResources) -> Resource {
    let resources = resources.lock().unwrap();

    match resources.iter().find(|r| r.matches_uri(&url) && r.get_method().equal(&method) ) {
        Some(resource) => {
            resource.increment_request_count();
            resource.clone()
        },
        None => {
            let resources_for_uri = resources.iter().filter(|r| r.matches_uri(&url));
            if resources_for_uri.count() == 0 {
                return Resource::new(&url).status(Status::NotFound).clone();
            }
            Resource::new(&url).status(Status::MethodNotAllowed).clone()
        }
    }
}

For the typical test scenario, this will hit the correct (existing) resource right away.
The amount of resources to iterate tends to be very small (up until now, just the one!), so it would be expected that the performance impact of (re)filtering in case of errors would be minimal.

Hello Marc. Sorry the late response. Thanks a lot for looking into this and for the detailed issue report. That was a big oversight.
I agree with your assessment. stopping as soon the right match is found is smart.
Just to complement your detailed investigation, in the scenario where you are saying that you need to work on the iterator after doing a find,  we could have solved it by doing like this:
   let resources_for_uri = resources.iter().filter(|r| r.matches_uri(&url));

   // this one clones the reference before count
    if resources_for_uri.clone().count() == 0 {
        return Resource::new(&url).status(Status::NotFound).clone();
    }
   // into_iter transforms the filter back into an interator
    match resources_for_uri.into_iter().find(|r| { r.get_method().equal(&method) }) {
        Some(resource) => {
            resource.increment_request_count();
            resource.clone()
        },
        None => Resource::new(&url).status(Status::MethodNotAllowed).clone()
    }

That's a smaller change, but  as you pointed out it's more likely to have a match than a no match, so doing the find first is a better option.
Thanks again. I'll merge your changes now. I don´t remember if the pipeline is deploying automatically, but if not I'll be releasing it today or tomorrow. Cheers.

All done. Shipped version 2.1.1. :rocket:


Fix the member animation

Bug: The member animation in the page suddenly jumps back to the starting state when a particular part of the screen is scrolled and doesn't feel very smooth. Look at the attached video for more clarification.
https://user-images.githubusercontent.com/61474917/125414159-d54be247-ae84-4770-93ab-4e791b521332.mp4

Assign this to me, will try to fix it.


Access to PCB's

Hi,
I have 5 of the assembled PCB's spare, based in the UK.  If you have anyone contact you happy to sell on at cost price.

If mine don't work i will send you a message back, thanks !
btw, what is the price ? :)

@davy932 i will bought it ;)

I have 5 boards and 5 ESP8266 chips to solder on. Do you want them all? The boards, populated and shipped where only $9.84 (USD) / £8If you want the ESPs also Happy to sell, £13£21 total plus postage RegardsDavid Evans+353 87 2938629On 25 Jan 2023, at 19:43, Jules Brugot @.***> wrote:
@davy932 i will bought it ;)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

okay !
how do we proceed for the shipping ?

What is your shipping address - I can calculate the value. You can pay via PayPal? If you wish WhatsApp on the number belowRegardsDavid Evans+353 87 2938629On 26 Jan 2023, at 17:18, Jules Brugot @.***> wrote:
okay !
how do we proceed for the shipping ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Do you still have any of these spare?

Sorry.SoldOn 4 Nov 2023, at 20:58, Alex Bush @.***> wrote:
Do you still have any of these spare?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

No worries, I cant close this issue, but you may want to now theyre all gone

I Have actually 4 of them in stock if someone is searching them


Install chaos-mesh failed in MacOS with kind

[dongxu:~/chaos-mesh]$ hack/kind-cluster-build.sh                                                                                (master)

clusterName: kind
nodeNum: 6
k8sVersion: v1.12.8
volumeNum: 9
############ check kind ##############
kind have installed
############ check kubectl ##############
kubectl have installed
############ check helm ##############
helm have installed
############ check docker ##############
docker have installed
############# start create cluster:[kind] #############
clean data dir: /Users/dongxu/kind/kind/data
start to create k8s cluster
Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.12.8) 🖼
 ✓ Preparing nodes 📦 📦 📦 📦 📦 📦 📦
 ✓ Writing configuration 📜
 ✓ Starting control-plane 🕹
 ✓ Installing CNI 🔌
Could not read storage manifest, falling back on old k8s.io/host-path default ...
 ✓ Installing StorageClass 💾
 ✓ Joining worker nodes 🚜
Set kubectl context to "kind-kind"
You can now use your cluster with:

kubectl cluster-info --context kind-kind

Have a question, bug, or feature request? Let us know! https://kind.sigs.k8s.io/#community 🙂
deploy docker registry in kind
daemonset.apps/registry created
daemonset.apps/registry-proxy created
storageclass.storage.k8s.io/local-storage created
configmap/local-provisioner-config created
daemonset.apps/local-volume-provisioner created
serviceaccount/local-storage-admin created
clusterrolebinding.rbac.authorization.k8s.io/local-storage-provisioner-pv-binding created
clusterrole.rbac.authorization.k8s.io/local-storage-provisioner-node-clusterrole created
clusterrolebinding.rbac.authorization.k8s.io/local-storage-provisioner-node-binding created
serviceaccount/tiller created
clusterrolebinding.rbac.authorization.k8s.io/tiller-clusterrolebinding created
namespace/chaos-testing created
$HELM_HOME has been configured at /Users/dongxu/.helm.

Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.

Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.
For more information on securing your installation see: https://docs.helm.sh/using_helm/#securing-your-helm-installation
Error: tiller was not found. polling deadline exceeded

And I tried start again, also failed
[dongxu:~/chaos-mesh]$ hack/kind-cluster-build.sh                                                                                (master)

clusterName: kind
nodeNum: 6
k8sVersion: v1.12.8
volumeNum: 9
############ check kind ##############
kind have installed
############ check kubectl ##############
kubectl have installed
############ check helm ##############
helm have installed
############ check docker ##############
docker have installed
############# start create cluster:[kind] #############
clean data dir: /Users/dongxu/kind/kind/data
start to create k8s cluster
ERROR: node(s) already exist for a cluster with the name "kind"

@c4pt0r can you exec the following command to show the status of Tiller ?
kubectl get pod --namespace kube-system | grep tiller

@c4pt0r can you exec the following command to show the status of Tiller ?
kubectl get pod --namespace kube-system | grep tiller

This situation may be caused by network problems. Due to GFW, network problems may occur when pulling the "tiller" image.
After executing the above statement, you can execute:
kubectl describe pod tiller-deploy-764b54d8d6-g6hhk -n kube-system

Here "tiller-deploy-764b54d8d6-g6hhk" is the pod name, You can modify it according to the actual situation.


Empower Piped to add login user to /etc/passwd

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes https://github.com/pipe-cd/pipe/issues/1905
Does this PR introduce a user-facing change?:

Add the `--add-login-user-to-passwd` flag to add login user to /etc/passwd when starting Piped

Closing since I settled on taking a four-stage approach like said here
/close


Make the README not useless

Things that should definitely be included in it:

A basic overview at the top that describes what lockey is and how it uses gpg to save secrets
Installation instructions (maybe put the completions stuff in here too?)
A quick description of all the commands (this can essentially be what is displayed with lockey --help
A note about how to contribute? This could include specific requests to port lockey to Windows/linux.
(temporary) Include a disclaimer about the instability of lockey currently

Issue closed erroneously. Disregard previous message.


Doesn't work

Doesn't work for me.
SteamDB v1.0.2
Milenium v2.15.0
Window 10
Steam client, up to date, doesn't work neither with the beta nor the stable release.
SteamDB is active in the Steam Millennium extension, but the store page is the same as before.
No option for SteamDB in my store preference, either.

This currently requires the latest "beta" version of millenium version 2.16.0 which can be downloaded from here https://github.com/shdwmtr/millennium/actions/runs/12058248256.
I also updated the readme and release to make it clearer which version is needed. Thanks for the super clear report.
Let me know if it still doesn't work after this.

This currently requires the latest "beta" version of millenium version 2.16.0 which can be downloaded from here https://github.com/shdwmtr/millennium/actions/runs/12058248256.

Thank you for the quick response.
Doesn't work either after installing manually the beta v2.16.0 from the link.

Hmm weird, you might need to disable auto update.
I think I simply wait for a stable realize.

The log report this error multiple time :
ERROR failed to open file -> C:\Gama Files\Steam\plugins\SteamDB-plugin/.millennium/Dist/index.js
debug.log

It's worse with the v1.0.3, Steam doesn't even start…

makes sense as in v1.0.3 I'm using the  __file__ path in the backend to copy some files which freezes up millennium in 2.15.0.
Best to just wait until 2.16.0 releases.

Millennium 2.16 has released, can you test if it works now?

Millennium 2.16 has released, can you test if it works now?

Looks good.
No bug so far.


Nearest neighbour not in locate_within_distance neighbourhood

First of all, once again thank you for building and maintaining this awesome lib :).
I have a test that checks if the nearest_neighbour is inside the locate_within_distance neighbourhood.
I believe this invariant should be upheld by the library or at least documented if not.
I think this is related to #13. So for now using nearest_neighbour_iter().next() fixes the issue.
The test code is as below:
#[cfg(test)]
mod tests {
    #[test]
    fn nearest_neighbor_test() {
        let q = [0.6249998211860657, 0.21650643646717072, -0.0000004867678171649459];
        let pts = samples();
        let tree_a = rstar::RTree::bulk_load(pts.clone());
        let rad = 0.6858711216511891;
        let nbrhood: Vec<_> = tree_a.locate_within_distance(q, rad).collect();

        let nearest = tree_a.nearest_neighbor_iter(&q).next().unwrap(); // Works
        let nearest = tree_a.nearest_neighbor(&q).unwrap(); // Does not work.
        std::dbg!(&nbrhood);
        std::dbg!(&nearest);
        assert!(nbrhood.contains(&nearest));
    }

    fn samples() -> Vec<[f64; 3]> {
        vec![
            [ -4.259259223937988, -0.5, -4.259259223937988, ],
            [ -4.629629611968994, -0.5, -4.629629611968994, ],
            [ -3.1481480598449707, -0.5, -4.259259223937988, ],
            [ -3.5185184478759766, -0.5, -4.629629611968994, ],
            [ -2.037036895751953, -0.5, -4.259259223937988, ],
            [ -2.407407283782959, -0.5, -4.629629611968994, ],
            [ -0.9259257316589355, -0.5, -4.259259223937988, ],
            [ -1.2962961196899414, -0.5, -4.629629611968994, ],
            [ 0.18518543243408203, -0.5, -4.259259223937988, ],
            [ -0.18518495559692383, -0.5, -4.629629611968994, ],
            [ 1.2962965965270996, -0.5, -4.259259223937988, ],
            [ 0.9259262084960938, -0.5, -4.629629611968994, ],
            [ 2.407407760620117, -0.5, -4.259259223937988, ],
            [ 2.0370373725891113, -0.5, -4.629629611968994, ],
            [ 3.5185189247131348, -0.5, -4.259259223937988, ],
            [ 3.148148536682129, -0.5, -4.629629611968994, ],
            [ 4.629629770914714, -0.5, -4.259259223937988, ],
            [ 4.259259541829427, -0.5, -4.629629611968994, ],
            [ -4.259259223937988, -0.5, -3.1481480598449707, ],
            [ -4.629629611968994, -0.5, -3.5185184478759766, ],
            [ -3.1481480598449707, -0.5, -3.1481480598449707, ],
            [ -3.5185184478759766, -0.5, -3.5185184478759766, ],
            [ -2.037036895751953, -0.5, -3.1481480598449707, ],
            [ -2.407407283782959, -0.5, -3.5185184478759766, ],
            [ -0.9259257316589355, -0.5, -3.1481480598449707, ],
            [ -1.2962961196899414, -0.5, -3.5185184478759766, ],
            [ 0.18518543243408203, -0.5, -3.1481480598449707, ],
            [ -0.18518495559692383, -0.5, -3.5185184478759766, ],
            [ 1.2962965965270996, -0.5, -3.1481480598449707, ],
            [ 0.9259262084960938, -0.5, -3.5185184478759766, ],
            [ 2.407407760620117, -0.5, -3.1481480598449707, ],
            [ 2.0370373725891113, -0.5, -3.5185184478759766, ],
            [ 3.5185189247131348, -0.5, -3.1481480598449707, ],
            [ 3.148148536682129, -0.5, -3.5185184478759766, ],
            [ 4.629629770914714, -0.5, -3.1481480598449707, ],
            [ 4.259259541829427, -0.5, -3.5185184478759766, ],
            [ -4.259259223937988, -0.5, -2.037036895751953, ],
            [ -4.629629611968994, -0.5, -2.407407283782959, ],
            [ -3.1481480598449707, -0.5, -2.037036895751953, ],
            [ -3.5185184478759766, -0.5, -2.407407283782959, ],
            [ -2.037036895751953, -0.5, -2.037036895751953, ],
            [ -2.407407283782959, -0.5, -2.407407283782959, ],
            [ -0.9259257316589355, -0.5, -2.037036895751953, ],
            [ -1.2962961196899414, -0.5, -2.407407283782959, ],
            [ 0.18518543243408203, -0.5, -2.037036895751953, ],
            [ -0.18518495559692383, -0.5, -2.407407283782959, ],
            [ 1.2962965965270996, -0.5, -2.037036895751953, ],
            [ 0.9259262084960938, -0.5, -2.407407283782959, ],
            [ 2.407407760620117, -0.5, -2.037036895751953, ],
            [ 2.0370373725891113, -0.5, -2.407407283782959, ],
            [ 3.5185189247131348, -0.5, -2.037036895751953, ],
            [ 3.148148536682129, -0.5, -2.407407283782959, ],
            [ 4.629629770914714, -0.5, -2.037036895751953, ],
            [ 4.259259541829427, -0.5, -2.407407283782959, ],
            [ -4.259259223937988, -0.5, -0.9259257316589355, ],
            [ -4.629629611968994, -0.5, -1.2962961196899414, ],
            [ -3.1481480598449707, -0.5, -0.9259257316589355, ],
            [ -3.5185184478759766, -0.5, -1.2962961196899414, ],
            [ -2.037036895751953, -0.5, -0.9259257316589355, ],
            [ -2.407407283782959, -0.5, -1.2962961196899414, ],
            [ -0.9259257316589355, -0.5, -0.9259257316589355, ],
            [ -1.2962961196899414, -0.5, -1.2962961196899414, ],
            [ 0.18518543243408203, -0.5, -0.9259257316589355, ],
            [ -0.18518495559692383, -0.5, -1.2962961196899414, ],
            [ 1.2962965965270996, -0.5, -0.9259257316589355, ],
            [ 0.9259262084960938, -0.5, -1.2962961196899414, ],
            [ 2.407407760620117, -0.5, -0.9259257316589355, ],
            [ 2.0370373725891113, -0.5, -1.2962961196899414, ],
            [ 3.5185189247131348, -0.5, -0.9259257316589355, ],
            [ 3.148148536682129, -0.5, -1.2962961196899414, ],
            [ 4.629629770914714, -0.5, -0.9259257316589355, ],
            [ 4.259259541829427, -0.5, -1.2962961196899414, ],
            [ -4.259259223937988, -0.5, 0.18518543243408203, ],
            [ -4.629629611968994, -0.5, -0.18518495559692383, ],
            [ -3.1481480598449707, -0.5, 0.18518543243408203, ],
            [ -3.5185184478759766, -0.5, -0.18518495559692383, ],
            [ -2.037036895751953, -0.5, 0.18518543243408203, ],
            [ -2.407407283782959, -0.5, -0.18518495559692383, ],
            [ -0.9259257316589355, -0.5, 0.18518543243408203, ],
            [ -1.2962961196899414, -0.5, -0.18518495559692383, ],
            [ 0.18518543243408203, -0.5, 0.18518543243408203, ],
            [ -0.18518495559692383, -0.5, -0.18518495559692383, ],
            [ 1.2962965965270996, -0.5, 0.18518543243408203, ],
            [ 0.9259262084960938, -0.5, -0.18518495559692383, ],
            [ 2.407407760620117, -0.5, 0.18518543243408203, ],
            [ 2.0370373725891113, -0.5, -0.18518495559692383, ],
            [ 3.5185189247131348, -0.5, 0.18518543243408203, ],
            [ 3.148148536682129, -0.5, -0.18518495559692383, ],
            [ 4.629629770914714, -0.5, 0.18518543243408203, ],
            [ 4.259259541829427, -0.5, -0.18518495559692383, ],
            [ -4.259259223937988, -0.5, 1.2962965965270996, ],
            [ -4.629629611968994, -0.5, 0.9259262084960938, ],
            [ -3.1481480598449707, -0.5, 1.2962965965270996, ],
            [ -3.5185184478759766, -0.5, 0.9259262084960938, ],
            [ -2.037036895751953, -0.5, 1.2962965965270996, ],
            [ -2.407407283782959, -0.5, 0.9259262084960938, ],
            [ -0.9259257316589355, -0.5, 1.2962965965270996, ],
            [ -1.2962961196899414, -0.5, 0.9259262084960938, ],
            [ 0.18518543243408203, -0.5, 1.2962965965270996, ],
            [ -0.18518495559692383, -0.5, 0.9259262084960938, ],
            [ 1.2962965965270996, -0.5, 1.2962965965270996, ],
            [ 0.9259262084960938, -0.5, 0.9259262084960938, ],
            [ 2.407407760620117, -0.5, 1.2962965965270996, ],
            [ 2.0370373725891113, -0.5, 0.9259262084960938, ],
            [ 3.5185189247131348, -0.5, 1.2962965965270996, ],
            [ 3.148148536682129, -0.5, 0.9259262084960938, ],
            [ 4.629629770914714, -0.5, 1.2962965965270996, ],
            [ 4.259259541829427, -0.5, 0.9259262084960938, ],
            [ -4.259259223937988, -0.5, 2.407407760620117, ],
            [ -4.629629611968994, -0.5, 2.0370373725891113, ],
            [ -3.1481480598449707, -0.5, 2.407407760620117, ],
            [ -3.5185184478759766, -0.5, 2.0370373725891113, ],
            [ -2.037036895751953, -0.5, 2.407407760620117, ],
            [ -2.407407283782959, -0.5, 2.0370373725891113, ],
            [ -0.9259257316589355, -0.5, 2.407407760620117, ],
            [ -1.2962961196899414, -0.5, 2.0370373725891113, ],
            [ 0.18518543243408203, -0.5, 2.407407760620117, ],
            [ -0.18518495559692383, -0.5, 2.0370373725891113, ],
            [ 1.2962965965270996, -0.5, 2.407407760620117, ],
            [ 0.9259262084960938, -0.5, 2.0370373725891113, ],
            [ 2.407407760620117, -0.5, 2.407407760620117, ],
            [ 2.0370373725891113, -0.5, 2.0370373725891113, ],
            [ 3.5185189247131348, -0.5, 2.407407760620117, ],
            [ 3.148148536682129, -0.5, 2.0370373725891113, ],
            [ 4.629629770914714, -0.5, 2.407407760620117, ],
            [ 4.259259541829427, -0.5, 2.0370373725891113, ],
            [ -4.259259223937988, -0.5, 3.5185189247131348, ],
            [ -4.629629611968994, -0.5, 3.148148536682129, ],
            [ -3.1481480598449707, -0.5, 3.5185189247131348, ],
            [ -3.5185184478759766, -0.5, 3.148148536682129, ],
            [ -2.037036895751953, -0.5, 3.5185189247131348, ],
            [ -2.407407283782959, -0.5, 3.148148536682129, ],
            [ -0.9259257316589355, -0.5, 3.5185189247131348, ],
            [ -1.2962961196899414, -0.5, 3.148148536682129, ],
            [ 0.18518543243408203, -0.5, 3.5185189247131348, ],
            [ -0.18518495559692383, -0.5, 3.148148536682129, ],
            [ 1.2962965965270996, -0.5, 3.5185189247131348, ],
            [ 0.9259262084960938, -0.5, 3.148148536682129, ],
            [ 2.407407760620117, -0.5, 3.5185189247131348, ],
            [ 2.0370373725891113, -0.5, 3.148148536682129, ],
            [ 3.5185189247131348, -0.5, 3.5185189247131348, ],
            [ 3.148148536682129, -0.5, 3.148148536682129, ],
            [ 4.629629770914714, -0.5, 3.5185189247131348, ],
            [ 4.259259541829427, -0.5, 3.148148536682129, ],
            [ -4.259259223937988, -0.5, 4.629629770914714, ],
            [ -4.629629611968994, -0.5, 4.259259541829427, ],
            [ -3.1481480598449707, -0.5, 4.629629770914714, ],
            [ -3.5185184478759766, -0.5, 4.259259541829427, ],
            [ -2.037036895751953, -0.5, 4.629629770914714, ],
            [ -2.407407283782959, -0.5, 4.259259541829427, ],
            [ -0.9259257316589355, -0.5, 4.629629770914714, ],
            [ -1.2962961196899414, -0.5, 4.259259541829427, ],
            [ 0.18518543243408203, -0.5, 4.629629770914714, ],
            [ -0.18518495559692383, -0.5, 4.259259541829427, ],
            [ 1.2962965965270996, -0.5, 4.629629770914714, ],
            [ 0.9259262084960938, -0.5, 4.259259541829427, ],
            [ 2.407407760620117, -0.5, 4.629629770914714, ],
            [ 2.0370373725891113, -0.5, 4.259259541829427, ],
            [ 3.5185189247131348, -0.5, 4.629629770914714, ],
            [ 3.148148536682129, -0.5, 4.259259541829427, ],
            [ 4.629629770914714, -0.5, 4.629629770914714, ],
            [ 4.259259541829427, -0.5, 4.259259541829427, ],
            ]
    }
}

It seems like the Envelope implementation for AABB has a bug.  This particular line squares the min and max values before comparing them.   However, that can cause the actual min to be considered as the max.  Moving the squaring lines below the to below the compare-and-swap operation seems to fix the test case.
@aschampion can you review what I've mentioned above and see if that makes sense.  From git log, it seems like you changed the logic while optimizing the computation of min_max_dist_2 (from O(d^2) to O(d)).

Thanks for getting in touch @rmanoka.
I'm not sure that's right -- we care about min and max absolute value, so squaring them first will not affect which is min and which is max. And doing the comparison first as in #64 will be incorrect in cases where the max is negative.
The issue reported here may be due to the consistency issue reported in #40. I'm not at my workstation, but will rebase and update #40 tomorrow as requested and check whether it resolves this test case.

@aschampion Thanks for clarifying;  my suggestion was indeed incorrect.

I believe this bug is fixed in master, but the fix has not made its way into the latest release on crates.io. Is there any chance a new release could be prepared? Given that this bug effectively breaks nearest-neighbor lookup, it seems to me that bringing a fix out ought to be prioritized.

Version 0.9.0 has been released and contains the fix.  Thanks everyone for the contributions!


issue 19

Adding DarkHorse, HGTector and the Distance Method
Code includes Sheila's script generate_dh_keywords.pl for choosing the exclusion list for DarkHorse alignments.
New tests for test_reformat_input.py to increase coverage.

A few comments.

Coverage increased (+13.2%) to 90.845% when pulling e6f743597e601c50db48d23374b6bfd71165ae8e on ekopylova:issue_19 into 99afd78a1462f315e2a5bcff333571543b322450 on biocore:master.

Coverage increased (+13.2%) to 90.845% when pulling 5e72e0f1320a7c34ab2cfee7b6d46d7abcbf9a60 on ekopylova:issue_19 into 99afd78a1462f315e2a5bcff333571543b322450 on biocore:master.

Coverage increased (+13.2%) to 90.845% when pulling 5e72e0f1320a7c34ab2cfee7b6d46d7abcbf9a60 on ekopylova:issue_19 into 99afd78a1462f315e2a5bcff333571543b322450 on biocore:master.

Some comments.

Coverage increased (+13.2%) to 90.845% when pulling a80c6ede4974e03f470aa37dc770a1a427c4ef5b on ekopylova:issue_19 into 99afd78a1462f315e2a5bcff333571543b322450 on biocore:master.


Updates the Project to be Part of the Spezi Organization

Updates the Project to be Part of the Spezi Organization
:recycle: Current situation & Problem

The Spezi organization will serve as the home for all Stanford Spezi-related modules.

:bulb: Proposed solution

This PR updates the project to be part of the Stanford Spezi organization

Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

Codecov Report
Patch coverage: 91.89% and project coverage change: -0.92 :warning:

Comparison is base (b5476ac) 95.23% compared to head (72f2be8) 94.31%.

:exclamation: Current head 72f2be8 differs from pull request most recent head 8a918ca. Consider uploading reports for the commit 8a918ca to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
- Coverage   95.23%   94.31%   -0.92%
==========================================
  Files          28       52      +24
  Lines         504     1408     +904
==========================================
+ Hits          480     1328     +848
- Misses         24       80      +56

Impacted Files
Coverage Δ

Sources/Spezi/Adapter/Adapter.swift
0.00% <ø> (ø)

Sources/Spezi/Adapter/AdapterBuilder.swift
100.00% <ø> (ø)

Sources/Spezi/Adapter/DataChange.swift
100.00% <ø> (ø)

Sources/Spezi/Adapter/SingleValueAdapter.swift
100.00% <ø> (ø)

Sources/Spezi/Adapter/Types+Identifiable.swift
80.00% <ø> (ø)

Sources/Spezi/Configuration/Component.swift
100.00% <ø> (ø)

Sources/Spezi/Configuration/ComponentBuilder.swift
100.00% <ø> (ø)

...rces/Spezi/Configuration/ComponentCollection.swift
100.00% <ø> (ø)

Sources/Spezi/DataSource/DataSourceRegistry.swift
50.00% <ø> (ø)

...ataStorageProvider/Spezi+DataStorageProvider.swift
100.00% <ø> (ø)

... and 42 more

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


errors, when using @Diff in context

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[ ] I'm not able to find an open issue that reports the same bug
[ ] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS:windows 10
- Continue:0.7.29

Description
I got error when adding context "@Diff "
[2023-12-07 19:52:15] [CRITICAL] Error handling message: Traceback (most recent call last):
File "server\continuedev\server\gui.py", line 47, in message
File "server\continuedev\server\protocols\gui.py", line 64, in handle_json
File "server\continuedev\core\context.py", line 467, in get_context_item
File "server\continuedev\plugins\context_providers\diff.py", line 68, in get_item
AttributeError: 'NoneType' object has no attribute 'strip'
To reproduce
No response
Log output
No response

This has now been solved and refactored for more reliability in the pre-release versions. Closing the issue, but let me know if something similar comes back


Where is encodeHex()?

It would be nice to have encode/decode HEX values.

That's not planned for Sqids, since it's sticking only to the basics - encoding/decoding unsigned integers.


chore: comment out issue template instructions

Commented out the instructions in the issue templates. I thought I was having a seizure reading the latest issue 😵
Alternatively I can update them to use the yaml templates like calcite has. E.g. calcite's bug issue template

Good catch!


Add image volume support.

For image volume, currently we only:

Create host directory and mount into the image;
Change the ownership of the host directory to be the same with mount point inside the image.

What we are going to do in the future:

Consider whether we need to copy existing content in the image into the volume. https://github.com/kubernetes-incubator/cri-containerd/issues/186.
Consider whether we should add the helper into containerd https://github.com/containerd/containerd/issues/1482.
Consider how to properly manage these volumes in kubelet https://github.com/kubernetes/kubernetes/issues/52032.

@ijc
Signed-off-by: Lantao Liu<EMAIL_ADDRESS>

I've verified this PR, ownership of the image volume is set properly now:
# crictl --runtime-endpoint=/var/run/cri-containerd.sock exec -s 37b046da878cca2161049d90b72ee9b95bafad59d16b75b5bccbb354438b9190 cat /proc/self/mountinfo | grep data
314 295 8:1 /var/lib/cri-containerd/sandboxes/53aa9956b4b0eb15331e988d82d130b59664484e04883ea459092e9c579c08cc/hosts /etc/hosts rw,relatime - ext4 /dev/sda1 rw,data=ordered
315 295 8:1 /var/lib/cri-containerd/sandboxes/53aa9956b4b0eb15331e988d82d130b59664484e04883ea459092e9c579c08cc/resolv.conf /etc/resolv.conf rw,relatime - ext4 /dev/sda1 rw,data=ordered
317 295 8:1 /var/lib/cri-containerd/containers/37b046da878cca2161049d90b72ee9b95bafad59d16b75b5bccbb354438b9190/volumes/b3ea0f734c70106472eb183d90ad860686a5bd1722bb45878d03abdb8a8fbd73 /data/configdb rw,relatime - ext4 /dev/sda1 rw,data=ordered
318 295 8:1 /var/lib/cri-containerd/containers/37b046da878cca2161049d90b72ee9b95bafad59d16b75b5bccbb354438b9190/volumes/767a56f132b3e37769e11224dea942759cceee9d7800ff9a00d6eaa0f046e6ca /data/db rw,relatime - ext4 /dev/sda1 rw,data=ordered
# crictl --runtime-endpoint=/var/run/cri-containerd.sock exec -s 37b046da878cca2161049d90b72ee9b95bafad59d16b75b5bccbb354438b9190 ls -al /data
total 16
drwxr-xr-x 4 root    root    4096 Sep  8 08:09 .
drwxr-xr-x 1 root    root    4096 Sep 12 06:08 ..
drwxr-xr-x 2 mongodb mongodb 4096 Sep 12 06:08 configdb
drwxr-xr-x 2 mongodb mongodb 4096 Sep 12 06:08 db

Consider whether we need to copy existing content in the image into the volume. #186.

I think we do, I found the sock-shop demo was relying on it (I think to preseed the database within the volume).

I think we do, I found the sock-shop demo was relying on it (I think to preseed the database within the volume).

I'll do this in another PR.

Consider whether we need to copy existing content in the image into the volume. #186.

I think we do, I found the sock-shop demo was relying on it (I think to preseed the database within the volume).

I'll do this in another PR. For this PR, I'll only copy the ownership, and see how things going.

It seems like I was mistaken -- I just fired up sock-shop with this PR and everything looked to be working ok. I was unable to login with any of the preseeded accounts but I made a quick patch to add copy up and it didn't seem to make a difference to that functionality. In any case I was able to manually add a new account.

Apply LGTM based on https://github.com/kubernetes-incubator/cri-containerd/pull/241#pullrequestreview-62368300.
Will merge after test passes.

-- FAIL: TestGeneralContainerSpec (0.00s)

	Error Trace:	container_create_test.go:207

	Error:		Received unexpected error failed to set OCI bind mounts \
[«redacted by ijc»]: \
failed to resolve symlink "": lstat host-path-1: no such file or directory

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x2158fa8]

For the panic I think specCheck should start with require.NotNil(t, spec). Or else one or more assert.Foo should be require.Foo so the test stops at that point. Perhaps the assert.NoError(t, err) after calling c.generateContainerSpec (in several places) should instead be `require.NoError(t, err).
The failed lstat appears to be from resolveSymbolicLink which appears to have been added by this PR, not sure why it is suddenly showing up as a failure now, I guess these tests run on master+pr rather than just the pr and there was a clash with #242.

I fixed the tests carried this in #247.

It seems like I was mistaken -- I just fired up sock-shop with this PR and everything looked to be working ok. I was unable to login with any of the preseeded accounts but I made a quick patch to add copy up and it didn't seem to make a difference to that functionality. In any case I was able to manually add a new account.

Sorry to flip-flop on this, but I tested with docker as the engine and I could login, so the issue here was that my copy-up prototype was somehow incomplete or wrong. I'm looking into why now, but we can move ahead with this PR/#247 in the meantime I think.

Sorry to flip-flop on this, but I tested with docker as the engine and I could login, so the issue here was that my copy-up prototype was somehow incomplete or wrong. I'm looking into why now, but we can move ahead with this PR/#247 in the meantime I think.

No wonder. :p

@ijc I'll review and merge your PR instead.

Close this one, because this has been included in #247.


CLI tool not outputting anything

Hello,
sometimes when I try to parse a PDF I get one of these errors (after displaying it).
[MISSING_PAGE_FAIL:1]
[MISSING_PAGE_EMPTY:1]
do you know what could be causing this and what would be a good way to handle them? Most of the time the tool works perfectly!
this is the output of the run:
2023-09-25 21:05:08.089068: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
/usr/local/lib/python3.10/dist-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.)
return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
0% 0/1 [00:00<?, ?it/s]INFO:root:Processing file /content/exam_2017_q19.pdf with 1 pages
100% 1/1 [00:04<00:00,  4.11s/it]
2023-09-25 21:05:26.087183: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
/usr/local/lib/python3.10/dist-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.)
return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
0% 0/1 [00:00<?, ?it/s]INFO:root:Processing file /content/exam_2020_q15.pdf with 1 pages
100% 1/1 [00:19<00:00, 19.95s/it]
and here are the 2 pdfs I'm trying to process
exam 2020 q15.pdf
exam 2017 q19.pdf

looks like the model fails for these. Try adding the flag --no-skipping when calling nougat to see a partial output

Yes, I can see that it stops generating when I add the flag. I was wondering if are there any known areas where it might fail or it's not known very well yet what are the exact capabilities of it?


enableFiltering with CellFilter

Hi,
More of a question than an issue perhaps,
but I'm working with a ui-grid where we want filtering on as a default with the default filtering to be contains (This was an easy fix, maybe something that could be configurable in the future?).
The problem we are currently facing are cellFilters defined on the grid with underlying Id's,
causing the filtering to be applied to the underlying value and not the displayed value.
This can be illustrated by enabling filtering on
201 - Edit feature
as in this plunker http://plnkr.co/edit/KnlHaCJX7aFvIINREkRq
where it is only possible to filter on 1 / 2, not male or female
I've currently solved this with a perhaps naive approach, and added a piece of code in the runColumnFilter-function that overwrites the entered value with a $eval'd value using the filter,
requiring the $filter-service in the appScope.
This naturally felt right quite a hack, so I'm wondering if there is any easier solution that I've overlooked,
or if this is something that could be considered as a future feature?
Br
/ Petter

On your comment about default filtering - I think this is configurable is it not?  We do it in the tutorial.
It would be good to alter the filtering logic to compute and use the filtered value, this isn't something we currently do.

If I haven't misunderstood anything, it is configurable on a per column basis,
but in our case we wanted to change the defaultCondition from being  uiGridConstants.filter.STARTS_WITH
uiGridConstants.filter.CONTAINS.
This provided the expected behavior without having to resort to either wildcards and/or column-specific filters.

Ah, OK, so you want a global default rather than a per column default.  Understand.

There are really two issues described here. This comment is in reference filtering/sorting on values with a cellFilter applied. I suggest a separate ticket for discussion of the global defaults.
Using the filtered value is an important feature. In my opinion it should be an option, not a default. Consider the following two cases:

sorting/filtering grouped rows. For example I have a "sum balance" column and want to filter for only groups with a balance of >$200.

Sorting/filtering formatted dates. Formatted dates are a really common one. Consider the extreme case where my formatting displays only the day of the week. Then I want to filter to look at all dates which occurred on a Monday.

My thought on how to accomplish this is a new method on the Grid class, which is similar to getCellValue, but would be something like "getDisplayedValue(row, col)". This method would use the getCellValue method to retreive the value, then get any filters from the column, and return the value with filters applied.
The rowSorter and rowSearcher would then need to be modified to look at the options and determine which of the methods to use for retrieving the value.
At this point, this is an implementation detail, bit I think it is also important to be able to use both options on the same column. For example, on a date column I want a input which uses the formatted value, and second filter which uses a datepicker and uses the actual Date object.

If anyone else found this because they were trying to figure out how to change the filter condition to "contains", here's a Stack Overflow answer that shows how: http://stackoverflow.com/a/30630016/199712


Drop setForceIntegers support

With InfluxDB 0.9.4 the support for Float\Integer is no longer
required we can drop the forceIntegers option.

Removed setForceIntegers method

A new inspection was created.

The inspection completed: No new issues


[No ticket] Cache providerIsDefault to avoid problem where this.provider is undefined

Ticket: n/a
Feature flag: n/a

Purpose
When doing a search from the registries landing page, we would get an error on the discover page that we couldn't load the registration types. This happened because provider was becoming undefined after the L45/L47 in the diff for this PR was executed. So I'm caching the comparison that I needed after that line to work around the problem.
Summary of Changes

Store and use the comparison for provider to default provider.

Screenshot(s)

Side Effects
This should be pretty isolated
QA Notes
Original error was when performing a search from the registries landing page, the error above would show on the discover page. This should no longer happen.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 72.233%

Totals

Change from base Build<PHONE_NUMBER>:
0.003%

Covered Lines:
4801

Relevant Lines:
6381

💛  - Coveralls


*: add ci for images management and greeting.

What type of PR is this?
/enhancement
Which issue(s) this PR fixes?
Fixes #134
What this PR does?
Summary:

Automatically update the corresponding images(operator, sidecar) according to the modified file.
Automatically greet when submitting an issue for the first time.

Special notes for your reviewer?
Also need to add:

Automatic test when submitting pr
Automatically add tags to issue/pr

To make the yml file effective, must set the environment variables first!

LGTM.


mapmap: init at 0.6.1

This introduces mapmap, an open source video mapping software.
The Nix package currently doesn't support video textures, just still images.
When I figure out why video textures don't work I will provide a fix.
Motivation for this change
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg  build mapmap

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: mapmap
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: mapmap
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/qxh2lrh5wbb667mm1a4zxk9bwm2ch2ps-mapmap-0.6.1
shrinking /nix/store/qxh2lrh5wbb667mm1a4zxk9bwm2ch2ps-mapmap-0.6.1/bin/mapmap
strip is /nix/store/92d2ifxcni4n3zx9s8wnkcjlvnx5ajlc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/qxh2lrh5wbb667mm1a4zxk9bwm2ch2ps-mapmap-0.6.1/bin
patching script interpreter paths in /nix/store/qxh2lrh5wbb667mm1a4zxk9bwm2ch2ps-mapmap-0.6.1
checking for references to /build in /nix/store/qxh2lrh5wbb667mm1a4zxk9bwm2ch2ps-mapmap-0.6.1...
postPatchMkspecs
postPatchMkspecs
/nix/store/qxh2lrh5wbb667mm1a4zxk9bwm2ch2ps-mapmap-0.6.1

Failure on aarch64-linux (full log)
Attempted: mapmap
Partial log (click to expand)
   Compiling proc_macro v0.0.0 (file:///build/rustc-1.25.0-src/src/libproc_macro)
   Compiling rustc_const_math v0.0.0 (file:///build/rustc-1.25.0-src/src/librustc_const_math)
   Compiling syntax_ext v0.0.0 (file:///build/rustc-1.25.0-src/src/libsyntax_ext)
building of '/nix/store/7yx1x18p9b8yng991pknrf46mz84qf44-rustc-1.25.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/d2wdy21mav0ws9irk2pflzjzjw4r4y8y-cargo-0.26.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/d7yxili5h426r90dk1lgsi4iakg39vlm-librsvg-2.42.4.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/ziahwa64qw7pccc24a6k3r40amj4sxwn-gst-plugins-bad-1.14.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/1pcgkm0adalrrvbi96ydd88dncmf5rpx-gst-vaapi-1.14.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lhdk2hcfm5v7zxndigkzm0jkaq4a1xgh-mapmap-0.6.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/lhdk2hcfm5v7zxndigkzm0jkaq4a1xgh-mapmap-0.6.1.drv' failed


Doc: Adding Quick Start Guide

Signed-off-by: Raul Muñoz<EMAIL_ADDRESS>Please review and make sure the container is the same as https://foundries.io/media/events/variscite-fio-quickstart.pdf

Just converted it to draft. Before merging, we need to change all the image URLs to the Foundries.io git hub.

@munoz0raul I cloned your fork and I am doing copy-editing work locally, which makes it easier for me to run linters and do editing. Once finished, I can either copy the changes over as review suggestions, give you a patch, or do a PR on either repo.


fix #66000 VSCODE_ALWAYS_SHOW_SCROLLBARS env var

This PR fixes #66000
Setting VSCODE_ALWAYS_SHOW_SCROLLBARS=1 before launching code will turn off the fading scrollbar style.
Using an environment variable allows the new feature to be implemented in a single place (scrollableElement) without having to refactor a lot of code in order to access the configuration service there.
I previously explored adding a CLI argument (with the potential for argv.json support), but that only got to the main process, whereas scrollableElement lives in the renderer process.

I'm going to close this for now. Please reopen if you have a chance to address the feedback.


[OnlineMeeting&Aug.29] SeaTunnel community meeting Topic collect

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
Jia Fan invites you to join a Tencent Meeting.
Meeting Topic: SeaTunnel Community Meeting
Meeting Time: 2023/08/29 20:00-22:00 (GMT+08:00) China Standard Time - Beijing
Click the link to join, or add to the meeting list:
https://meeting.tencent.com/dm/LzTBEgpPoMaI
#Tencent Meeting: 728-287-533
Copy this information and open the Tencent Meeting app on your phone to participate.
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

STIP2-The Sink terminal implements SaveMode functions (including SchemaSaveMode and DataSaveMode)

connector progress  sync
Complete Connector document:

S3File.md

MyHours.md

StarRocks.md

SelectDB-Cloud.md

HdfsFile.md

Feishu.md

IoTDB.md

Oracle.md

Iceberg.md

Http.md

Slack.md
Open Connector document:

RocketMq:https://github.com/apache/seatunnel/pull/5361

Socket:https://github.com/apache/seatunnel/pull/5287

Console:https://github.com/apache/seatunnel/pull/5230

SftpFile:https://github.com/apache/seatunnel/pull/5386

1、任务因为下游数据库的问题失败了  然后我直接 -r不能恢复吗  现在是只支持-s触发savepoint之后才能-r启动吗
2、rest api 能否获取历史的所有任务（没被清理掉的）
3、rest api cancel任务

https://github.com/apache/seatunnel/pull/5367


feat: embed language-pack

To Reviewers

[ ] Skipping review is not a problem (style, chore ONLY)
[ ] Not that difficult

Type of Change

[x] New feature
[ ] Bug fixes
[ ] Feature improvement

[ ] These changes require a usage change

[ ] Others (performance improvement, refactoring, CI/CD, etc.)

Checklist

[ ] Updated Storybook documents for component
[ ] Wrote test codes for composable, utils and etc.
[ ] Tested with console(if usages are changed)

Description
SSIA

:tada: This PR is included in version 2.0.0-beta.70 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add architecture ppc64le to travis build

Add support for architecture ppc64le.
This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing.
Even though its failing for amd64.

let me test it and then I will add


Complete EDA for the dataset.

Thanks Steven, the EDA looks great. Below are a few minor comments for your consideration,

Budget is likely another important feature for predicting box office, but it is not included in the EDA. I noticed that there are many miss values for budget and the column will needed to be cleaned.
Higher metascore is more likely to have higher worldwide gross income? (your comment said they are not correlated)
Positive correlation of year and worldwide gross income because of inflation ($10 50 years ago worth more than $10 today), shall we add that to explain the trend? Good to see there are some exceptions (e.g Titanic in 1997)

Thanks for the comments.

I have made it a bit more explicit that 'budget' has a lot of missing values.  I do not want to do more EDA beyond just saying that as it will require a bit of effort trying to clean it.  Plus if there are too many missing values, it may not be very useful anyway.  (In real life, many companies don't disclose the budget of a movie.)  XD
Thanks for the input.  I will change it to correlated positively but not strong.
Adding the word inflation.  (I was thinking that it was too obvious.  But let's put it there.)

create md or html file if possible

I have just exported the md and the associated png files for readability.

@squisty including now the md file and the associated png files for readability.


Mathjax in html select option

Hi!
When I use Mathjax content in a select option, for example :
<select>

<option value="0">abc </option>
<option value="1">|| x = 2 y ||</option>

</select>

On Firefox 46.0.1 : The formula is displayed correctly if the value is NOT selected.  When I select the value with the formula, I see : x = 2 y x = 2 y
On Chrome 50.0.2661.102 m, I see x = 2y  x = 2y.  The Mathjax formatting is not working in a select.
Could you please let me know if this is a bug or if a workaround is available?
I use the latest version of MathJax on the CDN : https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
Please let me know if you have any question.
Thanks a lot!
Richard

You can not use MathJax output inside a <select> element.  The contents of the <option> elements are plain text, not HTML (see the HTML5 Spec which says the content model is text).  Since MathJax output consists of lots of HTML tags, it can't appear inside <option> tags.  So you can't use MathJax inside standard browser pop-up menus.  You would have to go with some form of pop-up replacement that implements more sophisticated pop-up menus.  There certainly are packages that do that.  See for example the answers to this post on StackExchange for some samples.

Thanks for the clairification, it make sense.  I will close the issue!
Thanks again! :)


fixed removed test suite

Coverage increased (+99.3%) to 99.329% when pulling 77920123c72066fbe7613794d9780821d7fc3aed on features/python3compat into cdaacf9ed07b5107c3345cb24547e0de9b1ecb9d on master.


Add python type check for bazel.

Currently we don't have a type check for python yet. We need to pick one and add it to our repo. Candidates are Pyre, PyType.

Do we have any particular selection criteria to consider, or it is an arbitrary choice between Pyre and PyType?


Rita should have a settings value for Price and set it on startup.

The conversion forumula is to multiply by (1000^3)/(1*10^18) the reverse is the inverse, we should be setting the default price in wei/byte as 250k wei, this translates to 5c /gb
note this should include the adjustment factor as well.
deadline:10/27/18

completed but waiting on babel log issues


snippet stop working after extension:Python installed

VSCode Version: Code 1.6.1 (9e4e44c19e393803e2b05fe2323cf4ed7e36880e, 2016-10-13T16:21:53.542Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions: donjayamanne.python-0.4.2, magicstack.MagicPython-0.5.17, ms-vscode.PowerShell-0.7.2, tht13.python-0.2.3, tushortz.python-extended-snippets-0.0.1

Steps to Reproduce:

Install VS code on D: drive which is not OS drive
snippet works before I install the extension: python-0.4.2
my python path is D:/Program Files (x86)/python3.5/python.exe, and I configured setting item:
"python.pythonPath": ""D:/Program Files (x86)/python3.5/python.exe""
Snippet stops to work after I install the extension: python-0.4.2 : the snippet doesn't pop up anymore.

Expectation:
Snippet should works after I install the extension: python-0.4.2.
More info:
I installed the extension/VSCode on a server which OS is windows 2008 R2 and python path is 'C:/Python34/python.exe', snippet works well.
I have opened an issue for Python extension, the author doubt that this is a VSCode issue, I would like to provide more info to locate the root cause.
Thanks,

Could it be related to the tushortz.python-extended-snippets-0.0.1 extension? Does it work if you uninstall that extension?

@roblourens snippet works after I uninstalled the extension.

'the extension' meaning the snippet one that I mentioned? Please file an issue on them.

@roblourens Thanks,
I have reported an issue on the extension. The author @DonJayamanne doubts this is an issue of VSCode.
Where I can find the log about snippet？
Thanks,

I see you edited your comment, so it works if you uninstall Don's Python extension? Can you post the snippet?

snippet stops working totally, it doesn't not pop up anymore.
I'll confirm with @DonJayamanne  to see if autocomplete function of the extension: Python affected snippet.

@hanbaobao2005 , please could you confirm that auto complete doesn't work for JavaScript, HTML and TypeScript. You mentioned (https://github.com/DonJayamanne/pythonVSCode/issues/397#issuecomment-254740368) that this was the case.
Meaning, this is not an issue with an extension, but a VS Code issue.

I did the testing again (Extension version is 0.5.0), and now I agree with @roblourens that this is should an issue of the extension.
I captured a gif about the issue:

New a file and set the language mode to javascript
or
open a .js file, snippet works well

New a file and set the language mode to html
or
open a .html file, snippet works well
Note: Sorry about #1 and #2, the result is a different one, I'm not sure if I entered the right keywords to trigger snippet.

Open a Py file, the snippet doesn't work

New a file and set the language mode to Python, snippet works well.

@hanbaobao2005 please confirm that snippets work for other os. You mentioned this was the case on the other thread.
Also for the snippet to work toy need to enter another space after selecting the snippet.
Could you try the other short, for/else?

@DonJayamanne snippets works on my win2008R2 x64 Enterprise edition, attached the gif
BTW, I would say that snippet should works in real time, extra space is not needed:
OS: win2008R2 x64

try/finally still doesn't work on my win10, attached gif:

Thanks,

@hanbaobao2005 , you are not selecting the snippet.
In the above screen, you are selecting the auto complete.
The icons for auto complete is different from the snippet.
The icon for snippets is a simple square. The ones for an autocomplete is one with multiple lines.
I.e. this isn't an issue. You're selecting auto complete, and not the snippet.
Have a look below. Basically you're selecting the wrong item.
Once again, if it is a snippet you can see the title under the item (see below).

@DonJayamanne my issue is not about item selection, but when a opened a .py file, the snippet doesn't pop up.

@hanbaobao2005 apologies for not understanding the issue.
It leads me to believe that the extension may not have been installed correctly.
You've mentioned that it works on one os (win2008R2 x64 Enterprise edition) and not the other.
Please try uninstalling the Python extension and trying again. There's nothing OS specific with snippets.

OS Version: Windows_NT ia32 10.0.14393

Is this Windows 7 , 8 or 2000? Thanks

@DonJayamanne,
I tried to uninstall/install the extension several times, it doesn't help.
My OS is windows 10 Pro 1607 x64, I could provide a remote access by team viewer for debugging.
Really appreciate your patient.
Thanks,

Will do, Let's close this issue and reopen the one on the vs code python repo.

@roblourens
FYI - Problem was settings.json was configured incorrectly and caused extension not to load correctly.

Thanks Don!


Custom callouts don't work

Custom callouts defined in css snippets or via Admonitions plugin don't work (loose their custom color)
Obsidian:

Export:

Have you selected them in the Custom CSS section? If not that may be a bug with including the custom css in the background renderer. Switching off the background renderer for now will probably fix this.
Thanks for the report

Yes, i have indeed selected them in the custom css section. Non-background renderer works fine

This should be fixed in version 1.5.1. Thanks for the report!

I am not able to reproduce this problem anymore even without enabling the option you mentioned above. I am testing on the development version though so I may have inadvertently fixed it. If this is still not fixed in the next update I will look into it further. I also did not need to include the styles in the Webpage HTML Export thrid party plugin CSS settings.

I have released the new version on whch I tested this, so if I inadvertently fixed it you should be able to test it now.

Ah okay, so the difference is that I am using this syntax and it works fine:
```ad-test
Hello
```

I don't think there is any way for me to make the plugin work without writing specific code to support it in the plugin. I'll consider doing that, but for now you can either use the old codeblock systax, or use the snippets option inside admonitions. Thanks!

But it was working before the background renderer just fine. But ok, I'll use the css snippet for now

Hmm, that is true. I will look into it more

I don't know if this is related or not, but I can't get any of my custom css snippets to be included in the exported output at all.  In my plugin settings view, I do not see an option to include the users custom css (as configured under the "Appearance" tab rather than through plugins.)  These would usually be located under vault/.obsidian/snippets/*.css

My css snippets are included normally (as long as they are enabled)

working now - dunno what happened

Update 1.6.0 added built-in support for the admonitions plugin :)

Yaaaay. Still a small issue though (Basically 2nd, 3rd and etc. callouts are not themed and don't have a collapse icon)

Here is the test file:
- 1
>[!tldr]
>   Text

- 2
> [!tldr]
>   Text


Deprecation warning for Django 4.0

This project is using the old style to define urls, which is marked for deprecation for Django 4.0:
/usr/local/lib/python3.8/site-packages/health_check/urls.py:8
  /usr/local/lib/python3.8/site-packages/health_check/urls.py:8: RemovedInDjango40Warning: django.conf.urls.url() is deprecated in favor of django.urls.re_path().
    url(r'^$', MainView.as_view(), name='health_check_home'),

I think it's as easy as changing this line to
path('', MainView.as_view(), name='health_check_home'),

(along with the import of course)
Some context
Django 3.1 release notes: https://docs.djangoproject.com/en/3.1/releases/3.1/
django.urls.path has been added in 2.0: https://docs.djangoproject.com/en/2.0/ref/urls/#django.urls.re_path which is beyond it's end of life: https://www.djangoproject.com/download/#supported-versions , so I'd say it's fair for this package to drop support for anything that's older than 2.2 (the current LTS version)

Hi @larsrinn thanks for the report.  You are correct, this should be updated. We also don't support any version of Django that requires usage of the old path implementation.
Would you care to provide a patch yourself? It'd be certainly appreciated.
Best
-Joe

Hi! In case this hasn't been addressed yet, I'd be happy to submit a patch.

I didn't find the time to do so, yet. Maybe on the upcoming weekend. But @tobias-fyi  feel free to go ahead, if you like.

@tobias-fyi please go ahead then 👍

Hey all, apologies for disappearing. I saw that this issue was still open, so I went ahead and made the change listed above and submitted a PR. As this is my first time contributing to an open source project, please let me know if there is anything I should change.
Thanks!

Merged and released, thanks!


CNF-11193: controller:hypershift: add support in for Kubelet controller

Kubelet controller is responsible for extracting the TM configuration from the
KubeletConfig object, craft a ConfigMap from it so it could be consumed later on
by the RTE workload.
On HyperShift there's no plain KubeletConfig object but a ConfigMap that encapsulate it instead,
This PR contains all the changes that were needed for the controller to be able to provide
similar functionality when it's running on HyperShift platform.

[x] Unit tests
[x] Integration tests
[ ] E2e tests

/hold
depend on https://github.com/openshift/enhancements/pull/1671

unit test probably failed as well, I'm facing some issues running them locally

overall looks OK. Need to deep dive into the tests mostly

Take your time.
This PR has a long wait in the queue anyway

/retest

/retest

/test ci-e2e

Depends on https://github.com/openshift/hypershift/pull/4833

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/hold cancel

/override ci/prow/ci-e2e-install-hypershift
CI is broken, will be fixed in #1071

/retest
infra issue
level=info msg=Cluster operator machine-config EvaluationConditionsDetected is False with AsExpected:
level=info msg=Cluster operator network ManagementStateDegraded is False with :
level=info msg=Cluster operator openshift-apiserver EvaluationConditionsDetected is Unknown with NoData:
level=info msg=Cluster operator openshift-controller-manager EvaluationConditionsDetected is Unknown with NoData:
level=info msg=Cluster operator storage Progressing is True with AWSEBSCSIDriverOperatorCR_AWSEBSDriverControllerServiceController_Deploying: AWSEBSCSIDriverOperatorCRProgressing: AWSEBSDriverControllerServiceControllerProgressing: Waiting for Deployment to deploy pods
level=error msg=Cluster operator storage Available is False with AWSEBSCSIDriverOperatorCR_AWSEBSDriverControllerServiceController_Deploying: AWSEBSCSIDriverOperatorCRAvailable: AWSEBSDriverControllerServiceControllerAvailable: Waiting for Deployment
level=info msg=Cluster operator storage EvaluationConditionsDetected is Unknown with NoData:
level=error msg=Cluster initialization failed because one or more operators are not functioning properly.
level=error msg=The cluster should be accessible for troubleshooting as detailed in the documentation linked below,
level=error msg=https://docs.openshift.com/container-platform/latest/support/troubleshooting/troubleshooting-installations.html
level=error msg=The 'wait-for install-complete' subcommand can then be used to continue the installation
level=error msg=failed to initialize the cluster: Cluster operator storage is not available
Installer exit with code 6
Tear down the backgroup process of copying kube config

the install lane pass. Let's cut the chase.


Keep component from unmounting?

I have a component that fetches stuff and I would like to keep that component from unmounting when switching routes. I've read through the docs and couldn't find a way to achieve this, is this possible? eg:
class About extends React.Component {
  componentDidMount() {
    console.log('mounted');
    // fetch stuff here
  }

  render() {
    return (

About

    );
  }
}

<Router>

<Link to="/">Home</Link>

<Link to="/about">About</Link>

<Link to="/topics">Topics</Link>

    <Route exact path="/" component={Home} />
    <Route path="/about" component={About} />
    <Route path="/topics" component={Topics} />

</Router>

When I switch between routes (About -> Topics -> About -> Home -> About), the About component gets mounted everytime.

You can use <Route children> to render even when a route's path does not match.
<Route path='/about' children={props => ... } />

That said, I don't think that you want to do that. Instead, you should have some cache/store mechanism so that when About re-mounts, it doesn't have to make a duplicate network request. How you do that is up to you (use Redux/MobX?), but not really React Router related.


Add host flag to server

Analogous to https://github.com/mlc-ai/mlc-llm/pull/636 and necessary for use in a container.

Seems the TVM revision is incorrectly updated?

Hi, @csullivan! Given that this change has been reflected by other PRs (e.g., https://github.com/octoml/mlc-llm/blob/batch-serving/serve/mlc_serve/run.py#L105), can we close this PR?


Fix #1265

A quick PR for review of the broken keyboard input issues with 2.2.0. @bhousel's intuition was correct- we were stealing focus too zealously.
This fixes the issue by only autofocusing the preset search input for new features, and it also clears the text input after the user makes a selection.

Short vid showing that the keyboard input is no longer being 'stolen' for untagged points. Not quite sure I have this exactly right, but it's a start.
https://github.com/facebook/Rapid/assets/1887955/00013536-42e4-477e-80fd-caa740873853

Great - yes this looks like the issue!  The preset pane should not activate for existing features.  I remember reworking this preset pane component because it was getting messed up during one part of the tutorial.
(IIRC basic issue was that it kept its cached entity around and didn't rerender, even after a history reset, which is a thing the tutorial does between chapters).
Can you quickly test to make sure you can speedrun through the tutorial successfully, and if so go ahead and merge, it looks good 👍


Implement a test class with test methods for the endpoint for creating an answer (Exercise 12)

Tests createAnswerSavesAnswerForPublishedQuiz and createAnswerDoesNotSaveAnswerWithoutAnswerOption not working correctly, new issue created for them


Consider replacing embedded sqlite with embedded etcd in the build

Part of the simplicity and attraction of sqlite is that it is embedded inside k3s. That makes it very simple to use and manage.
etcd3 can also be embedded in a similar way

https://godoc.org/github.com/etcd-io/etcd/embed
http://docs.activestate.com/activego/1.8/pkg/github.com/coreos/etcd/embed/
https://github.com/sensu/sensu-go/blob/master/backend/etcd/etcd.go

Since the HA direction needs etcd anyway.. I'm proposing dropping support for sqlite as the default embedded non-HA option and switch to embedded etcd as the default. This will reduce overall effort of maintainability of two entirely different datastores.
EDIT:

this issue also talks about how to do it and use it as a jumping off point into an external etcd cluster - https://github.com/etcd-io/etcd/issues/10554

Another alternative for HA is something like this, https://github.com/rqlite/rqlite , which is still very lighweight compared to etcd

it seems pretty simple to embed etcd, rsqlite is more lightweight in which term? less memory footprint?

@liyimeng thanks for your question.
Well im not claiming sqlite is more lightweight - i think the current default data store of k3s is sqlite because it is embedded inside the k3s daemon (and doesnt need an external etcd service running).
However, etcd can also be embedded - that basically makes it so much simpler for k3s devs since the HA solution is based on etcd only. so they can completely remove the sqlite code.

This isn't really the direction we are taking k3s. We are going to continue to focus on and invest in non-etcd solutions for k3s's database.
For single node installs, the primary motivation for using sqlite is that etcd is much more resource intensive that sqlite. We want this to be able to run well on pretty slim machines.
For HA, check out https://rancher.com/docs/k3s/latest/en/installation/ha/. The recommended HA deployment will be to back k3s with an external SQL database (postgres to start, but mysql soon after). Though, external etcd will also be supported if that is your preference. The primary motivation here is that we believe sql dbs are less challenging and complex to operatre, especially when you consider managed solutions like RDS.
Longer term for HA, we are working on a distributed embedded DB solution. Currently, we are using dqlite for that. See: https://github.com/rancher/k3s/issues/300. The motivation for this solution is to make an HA k3s install feel like a simple, single appliance for edge scenarios. Think of managing thousands of small geographically dispersed kubernetes clusters. In this scenario, we don't want the DB to be a separate concern for the operator. We want the operator to have that "all-in-one" experience.
I'm going to close this issue, but we can continue the discussion in comments here if you have more input.

Hi Craig
If your HA strategy is SQL based, then it makes entire sense to stay SQL.
However i might not agree with the stand that a HA solution needs RDS -
from a management or a cost perspective. Managed databases as very
expensive. Three EC2 nodes are much cheaper than the equivalent multi-AZ
RDS node.
We would prefer to adopt something that is built inside k3s to give us that
capability without the need or cost of external db.
In which case dqlite is indeed what we are banking on..
On Fri, 1 Nov, 2019, 01:56 Craig Jellick<EMAIL_ADDRESS>wrote:

This isn't really the direction we are taking k3s. We are going to
continue to focus on and invest in non-etcd solutions for k3s's database.
For single node installs, the primary motivation for using sqlite is that
etcd is much more resource intensive that sqlite. We want this to be able
to run well on pretty slim machines.
For HA, check out https://rancher.com/docs/k3s/latest/en/installation/ha/.
The recommended HA deployment will be to back k3s with an external SQL
database (postgres to start, but mysql soon after). Though, external etcd
will also be supported if that is your preference. The primary motivation
here is that we believe sql dbs are less challenging and complex to
operatre, especially when you consider managed solutions like RDS.
Longer term for HA, we are working on a distributed embedded DB solution.
Currently, we are using dqlite for that. See: #300
https://github.com/rancher/k3s/issues/300. The motivation for this
solution is to make an HA k3s install feel like a simple, single appliance
for edge scenarios. Think of managing thousands of small geographically
dispersed kubernetes clusters. In this scenario, we don't want the DB to be
a separate concern for the operator. We want the operator to have that
"all-in-one" experience.
I'm going to close this issue, but we can continue the discussion in
comments here if you have more input.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rancher/k3s/issues/845?email_source=notifications&email_token=AAASYU73RTGGQWUV3J3KBQTQRM5PZA5CNFSM4I3O6TE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECZEM7I#issuecomment-548554365,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAASYUZS6OZM3ZRR2FJO6QDQRM5PZANCNFSM4I3O6TEQ
.

Makes sense. That's while we'll support both options. Some operators really like the RDS option (or getting a sql db from their in-house db ops team). Others will like the dqlite option (which will have its own set of trade-offs, I think).

Embedded etcd is coming.... stay tuned.

Many thanks to the k3s team on seeing this through! Just to tie the knot for anyone following this thread:
https://rancher.com/docs/k3s/latest/en/installation/ha-embedded/


Fatal error

I tried to run get_started.py locally on a workflow machine by:
RADICAL_ENTK_VERBOSE=REPORT python get_started.py

and got this error:
Job waiting on queue...2016-05-13 15:51:50,560: radical.pilot       : MainProcess                     : PilotLauncherWorker-1: ERROR   : Using bootstrapper /home/antontre/myenv/lib/python2.7/site-packages/radical/pilot/bootstrapper/bootstrap_1.sh
Copying bootstrapper 'file://localhost/home/antontre/myenv/lib/python2.7/site-packages/radical/pilot/bootstrapper/bootstrap_1.sh' to agent sandbox (<saga.filesystem.directory.Directory object at 0x7f2a7eef94d0>).
Copying sdist 'file://localhost/home/antontre/myenv/lib/python2.7/site-packages/radical/utils/radical.utils-0.40.tar.gz' to sandbox (file://localhost/home/antontre/radical.pilot.sandbox/rp.session.workflow.iu.xsede.org.antontre.016934.0000-pilot.0000/).
Copying sdist 'file://localhost/home/antontre/myenv/lib/python2.7/site-packages/saga/saga-python-0.40.2.tar.gz' to sandbox (file://localhost/home/antontre/radical.pilot.sandbox/rp.session.workflow.iu.xsede.org.antontre.016934.0000-pilot.0000/).
Copying sdist 'file://localhost/home/antontre/myenv/lib/python2.7/site-packages/radical/pilot/controller/..//radical.pilot-0.40.2.tar.gz' to sandbox (file://localhost/home/antontre/radical.pilot.sandbox/rp.session.workflow.iu.xsede.org.antontre.016934.0000-pilot.0000/).
Writing agent configuration to file '/tmp/rp_agent_cfg_dirooWNz5/agent_0.cfg'.
Copying agent configuration file 'file://localhost/tmp/rp_agent_cfg_dirooWNz5/agent_0.cfg' to sandbox (file://localhost/home/antontre/radical.pilot.sandbox/rp.session.workflow.iu.xsede.org.antontre.016934.0000-pilot.0000/).
Pilot launching failed! (failed to run bootstrap: (127)(/bin/sh: /home/antontre/.saga/adaptors/shell_job/wrapper.sh: No such file or directory
) (/home/antontre/myenv/lib/python2.7/site-packages/saga/adaptors/shell/shell_job.py +605 (initialize)  :  raise saga.NoSuccess ("failed to run bootstrap: (%s)(%s)" % (ret, out))))
Traceback (most recent call last):
  File "/home/antontre/myenv/lib/python2.7/site-packages/radical/pilot/controller/pilot_launcher_worker.py", line 712, in run
    js = saga.job.Service(js_url, session=self._session)
  File "/home/antontre/myenv/lib/python2.7/site-packages/saga/job/service.py", line 115, in __init__
    url, session, ttype=_ttype)
  File "/home/antontre/myenv/lib/python2.7/site-packages/saga/base.py", line 101, in __init__
    self._init_task = self._adaptor.init_instance (adaptor_state, *args, **kwargs)
  File "/home/antontre/myenv/lib/python2.7/site-packages/saga/adaptors/cpi/decorators.py", line 57, in wrap_function
    return sync_function (self, *args, **kwargs)
  File "/home/antontre/myenv/lib/python2.7/site-packages/saga/adaptors/shell/shell_job.py", line 507, in init_instance
    self.initialize ()
  File "/home/antontre/myenv/lib/python2.7/site-packages/saga/adaptors/shell/shell_job.py", line 605, in initialize
    raise saga.NoSuccess ("failed to run bootstrap: (%s)(%s)" % (ret, out))
NoSuccess: failed to run bootstrap: (127)(/bin/sh: /home/antontre/.saga/adaptors/shell_job/wrapper.sh: No such file or directory
) (/home/antontre/myenv/lib/python2.7/site-packages/saga/adaptors/shell/shell_job.py +605 (initialize)  :  raise saga.NoSuccess ("failed to run bootstrap: (%s)(%s)" % (ret, out)))
2016-05-13 15:51:50,837: radical.entk.SingleClusterEnvironment: MainProcess                     : Thread-1       : ERROR   : Resource error:
2016-05-13 15:51:50,838: radical.entk.SingleClusterEnvironment: MainProcess                     : Thread-1       : ERROR   : Pattern execution FAILED.
2016-05-13 15:51:50,838: radical.pilot       : MainProcess                     : Thread-1       : ERROR   : sys.exit from callback
Traceback (most recent call last):
  File "/home/antontre/myenv/lib/python2.7/site-packages/radical/pilot/controller/pilot_manager_controller.py", line 258, in call_callbacks
    cb(self._shared_data[pilot_id]['facade_object'](), new_state)
  File "/home/antontre/myenv/lib/python2.7/site-packages/radical/ensemblemd/single_cluster_environment.py", line 168, in pilot_state_cb
    sys.exit(1)
SystemExit: 1
2016-05-13 15:51:51,323: radical.entk.SingleClusterEnvironment: MainProcess                     : MainThread     : ERROR   : Fatal error during execution: .
Fatal error during execution: .
Starting Deallocation..
2016-05-13 15:51:51,324: radical.entk.SingleClusterEnvironment: MainProcess                     : MainThread     : ERROR   : Fatal error during execution: .
Fatal error: .  File "/home/antontre/myenv/lib/python2.7/site-packages/radical/ensemblemd/single_cluster_environment.py", line 312, in run
    plugin.execute_pattern(pattern, self)
  File "/home/antontre/myenv/lib/python2.7/site-packages/radical/ensemblemd/exec_plugins/bag_of_tasks/static.py", line 100, in execute_pattern
    resource._pmgr.wait_pilots(resource._pilot.uid,'Active')
  File "/home/antontre/myenv/lib/python2.7/site-packages/radical/pilot/pilot_manager.py", line 532, in wait_pilots
    time.sleep(0.5)

btw, the second attempt succeeded

slightly off topic, but is it possible to get rid of the:
2016-05-13 16:03:09,738: radical.pilot       : MainProcess                     : Thread-1       : ERROR   : Couldn't call manager callback (no pilot instance)

When it pops up in the middle of a print messages it is quite confusing for the usee:
================================================================================
 EnsembleMD (0.4-RC0)
================================================================================

Starting Allocation2016-05-13 16:03:09,738: radical.pilot       : MainProcess                     : Thread-1       : ERROR   : Couldn't call manager callback (no pilot instance)
                                                           ok
Verifying pattern                                                             ok
Starting pattern execution                                                    ok
--------------------------------------------------------------------------------
Executing 1 instances of 1 stages on 1 allocated core(s) on 'xsede.stampede'

Job waiting on queue...
Job is now running !
Waiting for stage_1 to complete.                                            done
--------------------------------------------------------------------------------
Pattern execution successfully finished

Starting Deallocation..
Resource allocation cancelled.                                              done

This looks like its coming from Pilot layer (or possibly SAGA):
Copying agent configuration file 'file://localhost/tmp/rp_agent_cfg_dirooWNz5/agent_0.cfg' to sandbox (file://localhost/home/antontre/radical.pilot.sandbox/rp.session.workflow.iu.xsede.org.antontre.016934.0000-pilot.0000/).
failed to run bootstrap: (127)(/bin/sh: /home/antontre/.saga/adaptors/shell_job/wrapper.sh: No such file or directory

I'll ping Andre regarding this once he is online.

That message shouldn't actually come if you are setting verbosity to REPORT. Wait, that's an RP message. Do you have any value set for RADICAL_PILOT_VERBOSE ?

Do you have any value set for RADICAL_PILOT_VERBOSE ?

no, I don't, RADICAL_PILOT_VERBOSE is set to None

re wrapper problem: yeah, that appeared a couple of times already.  Seems like a saga change is not as backward compatible as we thought.  What helps is to run rm -rf ~/.saga on the target machine.
error log: the reporter is letting all messages with ERROR level through.  The only fix would thus be to lower the log level on that message.  I'll do that if I we happen to push a new release, otherwise that's something we'll have to live with...

Thanks Andre. I'm closing the ticket since its a known issue. Please let me know if there isn't a ticket for this in saga/rp, i'll create one.


Fixed broken link

Fixes #263

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/payments/partner-dashboard.md
:white_check_mark:Succeeded

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


How to git clone beta version ?

Hi guys, I want to extend the beta version of medium-draft "0.6.0-beta1". How do I clone this version ? git clone "what-do-i-put-here" ? There's no branch with beta version from what i see..

i used another editor


Why not <form/>

Out of curiosity, why is the <Form /> component surrounded by <div /> rather than <form />?
With <form />, we can have a press-enter-to-submit style form, whereas with <div /> we must click to submit. Is this an oversight?

I will add form tag in next version (v2.1.0). I was use only div becaus I need sometime subforms. I will add flag "subform" it will be false by default so you will be have form tag by defalt :) . Thanks for info.

Any idea of release fat?

Day* (autocorrect)

New version avaible. Please give me know if you will see any issues.


[4pt]  - Display list of items on the Homepage - Student A

Create the main part of the homepage that keeps the layout from the wireframe:

When the page loads, the webapp retrieves data from  the selected API and shows the list of items on screen with the basic data (e.g. title + image).
Prepare also "Comments" and "Reservations" buttons. They should be doing nothing - just being displayed.
This task does not include displaying the number of likes for each item.
This task does not include the counter of the items.

Great job, my coding partner! Keep up the excellent work and enjoy your coding journey to the fullest.

Thank you @mryeminthu for your feedback