My collector can receives data,I think everything is OK.

hi @ighack
19994 port is typically used in the flink module.
It is recommended that you check that there is no problem with access from the collector to the flink module.
thanks :)

we don't use flink

Attempting to connect from the collector is because the address is registered in the zookeeper connected to the collector.
Please check who is registering the address on your zookeeper.

WatchedEvent state:SyncConnected type:None path:null [zk: localhost:2181(CONNECTED) 0] ls / [zookeeper, pinpoint-cluster, hbase] [zk: localhost:2181(CONNECTED) 1] ls /pinpoint-cluster [web, collector] [zk: localhost:2181(CONNECTED) 2] ls /pinpoint-cluster/collector [27498@moniser, 27453@basappser2] [zk: localhost:2181(CONNECTED) 3] ls /pinpoint-cluster/collector/27498@moniser [] [zk: localhost:2181(CONNECTED) 4] ls /pinpoint-cluster/collector/27453@basappser2 [] [zk: localhost:2181(CONNECTED) 5] ls /pinpoint-cluster/web                        [<IP_ADDRESS>:9997, <IP_ADDRESS>:9997] [zk: localhost:2181(CONNECTED) 6] ls /zookeeper            [quota] [zk: localhost:2181(CONNECTED) 7] ls /zookeeper/quota [] [zk: localhost:2181(CONNECTED) 8] ls /hbase [replication, meta-region-server, rs, splitWAL, backup-masters, table-lock, flush-table-proc, region-in-transition, online-snapshot, switch, master, running, balancer, recoverin g-regions, draining, namespace, hbaseid, table][zk: localhost:2181(CONNECTED) 9]
I don't see any IP uses 19994

my program run in docker,I get that WARN.
but my program run in host,I don't get the WARN.

You can see that the collector gets the address it wants to connect to in the following  collector's log
Please check your collector logs to see where you get your address and to resolve the problem.
[INFO ] (...ZookeeperClusterManager) Handle register and remove Task.
Enter the exact address you are connecting to collector in the agent's settings.
Maybe it's because the port changed when you use proxy and when you don't use proxy.

2019-03-27 16:34:38 [WARN ](.r.c.ConnectionFactory$ConnectEvent) try reconnect. connectAddress:DnsSocketAddressProvider{host='<IP_ADDRESS>', port=19994}
2019-03-27 16:34:38 [WARN ](c.n.p.r.c.DefaultPinpointClient    ) reconnectClientHandler:DefaultPinpointClientHandler@7847dda7{channel=[id: 0x6affe4f7, /<IP_ADDRESS>:33069 => /192.168
.0.238:19994]state=SocketState(NONE->BEING_CONNECT)}2019-03-27 16:34:46 [WARN ](.r.c.ConnectionFactory$ConnectEvent) try reconnect. connectAddress:DnsSocketAddressProvider{host='<IP_ADDRESS>', port=19994}
2019-03-27 16:34:46 [WARN ](c.n.p.r.c.DefaultPinpointClient    ) reconnectClientHandler:DefaultPinpointClientHandler@809eb2f{channel=[id: 0xb9b527f6, /<IP_ADDRESS>:33087 => /192.168.
0.238:19994]state=SocketState(NONE->BEING_CONNECT)}2019-03-27 16:34:54 [WARN ](.r.c.ConnectionFactory$ConnectEvent) try reconnect. connectAddress:DnsSocketAddressProvider{host='<IP_ADDRESS>', port=19994}
2019-03-27 16:34:54 [WARN ](c.n.p.r.c.DefaultPinpointClient    ) reconnectClientHandler:DefaultPinpointClientHandler@7d29ca96{channel=[id: 0x6b0ebfde, /<IP_ADDRESS>:33099 => /192.168
.0.238:19994]state=SocketState(NONE->BEING_CONNECT)}2019-03-27 16:35:02 [WARN ](.r.c.ConnectionFactory$ConnectEvent) try reconnect. connectAddress:DnsSocketAddressProvider{host='<IP_ADDRESS>', port=19994}
2019-03-27 16:35:02 [WARN ](c.n.p.r.c.DefaultPinpointClient    ) reconnectClientHandler:DefaultPinpointClientHandler@5d1b952f{channel=[id: 0xf48dee9f, /<IP_ADDRESS>:33121 => /192.168
.0.238:19994]state=SocketState(NONE->BEING_CONNECT)}2019-03-27 16:35:11 [WARN ](.r.c.ConnectionFactory$ConnectEvent) try reconnect. connectAddress:DnsSocketAddressProvider{host='<IP_ADDRESS>', port=19994}
2019-03-27 16:35:11 [WARN ](c.n.p.r.c.DefaultPinpointClient    ) reconnectClientHandler:DefaultPinpointClientHandler@24d2a018{channel=[id: 0xb885ece6, /<IP_ADDRESS>:33137 => /192.168
.0.238:19994]state=SocketState(NONE->BEING_CONNECT)}2019-03-27 16:35:19 [WARN ](.r.c.ConnectionFactory$ConnectEvent) try reconnect. connectAddress:DnsSocketAddressProvider{host='<IP_ADDRESS>', port=19994}
2019-03-27 16:35:19 [WARN ](c.n.p.r.c.DefaultPinpointClient    ) reconnectClientHandler:DefaultPinpointClientHandler@49ea2e93{channel=[id: 0x8cecdede, /<IP_ADDRESS>:33171 => /192.168
.0.238:19994]state=SocketState(NONE->BEING_CONNECT)}2019-03-27 16:35:27 [WARN ](.r.c.ConnectionFactory$ConnectEvent) try reconnect. connectAddress:DnsSocketAddressProvider{host='<IP_ADDRESS>', port=19994}
2019-03-27 16:35:27 [WARN ](c.n.p.r.c.DefaultPinpointClient    ) reconnectClientHandler:DefaultPinpointClientHandler@a4f2ba9{channel=[id: 0x3e261216, /<IP_ADDRESS>:33183 => /192.168.
0.238:19994]state=SocketState(NONE->BEING_CONNECT)}2019-03-27 16:35:35 [WARN ](.r.c.ConnectionFactory$ConnectEvent) try reconnect. connectAddress:DnsSocketAddressProvider{host='<IP_ADDRESS>', port=19994}
2019-03-27 16:35:35 [WARN ](c.n.p.r.c.DefaultPinpointClient    ) reconnectClientHandler:DefaultPinpointClientHandler@1151a08d{channel=[id: 0xb407d956, /<IP_ADDRESS>:33205 => /192.168
.0.238:19994]state=SocketState(NONE->BEING_CONNECT)}

I also get WARN per 8s.
oh my god!!!!!

I remove

proxy_timeout 30s;
proxy_connect_timeout 35s;


cv2.rotatedRectangleIntersection not working

In OpenCV 3.1.0 on Windows 7 x64 using Python 2.7 bindings:
import cv2

r1 = (120, 237, 5, 5)
r2 = (120, 237, 4, 4)

cv2.rotatedRectangleIntersection(r1, r2)

results in
Traceback (most recent call last):
  File "C:/Users/xxxxxxx.py", line 6, in <module>
    cv2.rotatedRectangleIntersection(r1, r2)
TypeError: function takes exactly 3 arguments (4 given)

OpenCv_getBuildInformation.txt

You need to provide a rotated rectangle.
Try:
import cv2

r1 = ((122.5, 239.5), (5, 5), 0)
r2 = ((122, 239) , (4, 4), 0)

cv2.rotatedRectangleIntersection(r1, r2)

You need to provide a rotated rectangle.
Try:
import cv2

r1 = ((122.5, 239.5), (5, 5), 0)
r2 = ((122, 239) , (4, 4), 0)

cv2.rotatedRectangleIntersection(r1, r2)

Ah, i see! Your code works without error for me. Thanks.


Create lpnorm.jmd

Created the benchmark lpnorm.jl
Please look in this and suggest changes
@ChrisRackauckas  and @sathvikbhagavan

It looks like this was added to https://github.com/SciML/SciMLBenchmarks.jl/pull/919

https://github.com/SciML/SciMLBenchmarks.jl/pull/919 is a PR for a different benchmark?

I am currently adding new benchmarks to the Surrogates folder

Oh ok

It looks like this was added to #919

Oh fine then, can have reviews simultaneously for both the benchmarks


TimedSerializer accepts timestamps from the future

My team too was "hit" by https://github.com/pallets/itsdangerous/issues/120 not having read the change log carefully enough.
Digging deeper, a colleague discovered that while (signs) 0.24 -> 1.1.0 (verifies) path is broken / requires a work-around, the 1.1.0 -> 0.24 path still kinda works.
It works by the virtue of 1.1.0 sending much larger timestamps (numerically), which are interpreted as being far in the future by 0.24. Thus true positives (recent messages) work, and false positives appear (1.1.0 outdated messages are interpreted as valid by 0.24).
This is because TimedSerializer/TimestampSigner only validate that message more recent than X.
I have a gut feeling that it's unsafe (although a point was made that since both sender and recipient are under control of same party, this is hard to exploit).
I think that validation should be message in interval [now, now+max_age), perhaps with affordance for clock drift / imperfect time synchronisation it would be [now - ε, now + max_age + ε)

I don't understand the change you're proposing. Could you provide a concrete example?

Current code, https://github.com/pallets/itsdangerous/blob/master/src/itsdangerous/timed.py#L90
            if age > max_age:
                raise SignatureExpired(...)

Proposed:
            if age > max_age or age < 0:
                raise SignatureExpired(...)


After approving a multisig Tx info on accounts card and in Tx list is mismatching

Describe the bug
After approving a multisig Tx info on accounts card and in Tx list is mismatching (due to slow multisig updating ?):
To Reproduce
Steps to reproduce the behavior:

Go to multisig
Propose Tx
Approve it by both accs
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: MacOS
Browser FF, chrome, FF extension
Version 123

Additional context
Reproducible on the release branch.
https://github.com/superhero-com/superhero-wallet/assets/69896204/2447a0cc-9a6d-493a-9bed-26d013459cec

I think it was missed in https://github.com/superhero-com/superhero-wallet/pull/2776


Skip validation of upstream certificate

Even with -ssl-insecure-skip-verify it is not possible to use a self-signed certificate for the upstream.
Expected Behavior

Upstream with self-signed certificate (such as default kubernetes dashboard deployment) should work if oauth2-proxy is configured with -ssl-insecure-skip-verify.
Current Behavior

Oauth2-proxy still tries to verify the certificate and fails with the following error message:
reverseproxy.go:395: http: proxy error: x509: certificate has expired or is not yet valid

Possible Solution

This issue was reported here in the bitly/oauth2_proxy repository and has a pull request with a proposed solution here.
Steps to Reproduce (for bugs)

I have followed this guide but modified it a bit.

Install minikube, kubectl and helm
Clone this repo
Checkout the branch self-signed-dashboard
Follow the quick start
Check the logs of the oauth2-proxy pod

Context

The default dashboard deployment uses self-signed certificates and this is better than no TLS at all.
I think this is a common use case, especially in a kubernetes environment.
Your Environment

Versions used:

Kubernetes v1.13.3
Minikube v0.34.1
Oauth2-proxy chart 0.9.1
Oauth2-proxy 3.1.0

You don't really want to use this to connect to an upstream with a self-signed cert in a normal/production situation, because it applies to requests to the provider (google, github, etc) as well. So it would be better to use plain http to connect to the upstream, which should be fine if it is on the same network segment (VPC, lan, cluster, etc), so that requests to the remote provider are secure.

(By the way, in my own fork, I did the insecure transport a bit differently: https://github.com/ploxiln/oauth2_proxy/commit/84305f7485bf53b2125a8e97a3246fdf1f9878eb)

because it applies to requests to the provider

Perhaps a separate insecure upstream flag is required so that the two can be separated, this is kind of what I would expect of a proxy like this

Hit this issue today as I was setting up a proxy for the Dashboard.

I struggled getting this working over the weekend too. I ended up with launching the kube-dashboard and oauth2_proxy charts, with this annotation for the dashboard:
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/auth-response-headers: Authorization
    nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start?rd=$request_uri
    nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth
    nginx.ingress.kubernetes.io/configuration-snippet: |
      auth_request_set $name_upstream_1 $upstream_cookie_name_1;
      access_by_lua_block {
        if ngx.var.name_upstream_1 ~= "" then
          ngx.header["Set-Cookie"] = "name_1=" .. ngx.var.name_upstream_1 .. ngx.var.auth_cookie:match("(; .*)")
        end
      }
    nginx.ingress.kubernetes.io/ssl-passthrough: "true"
    nginx.ingress.kubernetes.io/secure-backends: "true"
    nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"

Some of the annotation only works on nginx-ingress 0.22 but not 0.20. fyi.
and for oauth2_proxy:
 configFile: |-
    pass_authorization_header = true
    set_authorization_header = true
    ssl_insecure_skip_verify = true

I'm sure some of the things are not required so might be able to simplify it a bit. I got stuck for many hours and the set_authorization_header=true was the thing that really unwedged things.
I've got some other notes. maybe I can distil it down further. Should we try and document how to deploy a working keycloak/oauth2_proxy/kube-dashboard/kube-apiserver/minikube setup?


C2057 : Expected Constant Expression

Brief Description
After compiling my generator for my native library, i launched it  and it generated a Std-symbols.cpp file, which obviously is needed to the generated CSharp files. I put it in a single DLL project and compile it, then the error C2057 occured on the std::basic_string declaration.
Maybe I missed something about this file, but as far as i can see, the CSharp code needs a  basic_string entry point from a Std-symbols.dll file...
It seems to work fine in MSVC 2015 but not in  2017.
OS
Windows 10 x64
Used settings
GeneratorKind = GeneratorKind.CSharp;
// no pre/post-process

Target
MSVC 2017 for 64bits Platform
Stack trace or incompilable generated code
#include <string>

template class __declspec(dllexport) std::char_traits<char>;
template class __declspec(dllexport) std::allocator<char>;
template class __declspec(dllexport) std::basic_string<char, std::char_traits<char>, std::allocator<char> >;

What is the error?

@tritao  well, it's written in the title... I can't compile generated Std-symbols.cpp files using VS2017 because of the error C2057 : Expected Constant Expression which occurs on basic_string declaration.
To more, even if I am able to compile in VS2015, when I place the compiled Std-symbols.dll file next to my compiled CSharp executable, this error appears :
Unhandled Exception: System.EntryPointNotFoundException: Unable to find an entry point named '?' in DLL 'Std-symbols'.
   at Std.BasicStringExtensions.__Internal.BasicString(IntPtr instance, String _Ptr, IntPtr _Al)
   at Std.BasicStringExtensions.BasicString(String _Ptr, Allocator`1 _Al) in F:\Git\MyProject\build\MyProject.CSharp\Release\Std.cs:line 332
   at MyProject.MyNamespace.MyClass.Open(String iFileNamePath) in F:\Git\MyProject\build\MyProject.CSharp\Release\MyClass.cs:line 687
   at ConsoleApplication1.Program.Main(String[] args) in F:\Git\MyProject\ConsoleApplication1\Program.cs:line 16

It seems to be a name mangling issue from the generated Std.cs file I guess. I was wondering how do you guess the mangled name which has currently inside generated before compiling the Std-symbols.dll ?

Using demumble I tested both entrypoints, mine and the one used in Std.cs
demumble.exe "??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAA@PEBDAEBV?$allocator@D@1@@Z"

>> public: __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const * __ptr64,class std::allocator<char> const & __ptr64) __ptr64

demumble.exe "??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QEAA@QEBDAEBV?$allocator@D@1@@Z"
>> public: __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const * __ptr64 const,class std::allocator<char> const & __ptr64) __ptr64

So in CppSharp they are using char const * __ptr64 const but I need to use char const * __ptr64.

Interesting, thanks for the help in tracking it down.
I am still not 100% sure why it is happening.
Maybe the signature of the standard library basic_string changed between VS2015 and VS2017?
Since you have both VS, could you check if that is the case?
Only thing I can think of is to make sure you are using the same VS version when setting up CppSharp to generate the bindings and when compiling the code.
You can force a VS ParserOptions.SetupMSVC(VisualStudioVersion vsVersion).

Maybe that would also explain the C2057 : Expected Constant Expression error.
@ddobrev Do you have some time to check this one under VS 2017?

@tritao I'm afraid not but I think I know what the problem is. We most probably do not print some types correctly, that is, we forget the trailing "const". It's most probably somewhere in CppTypePrinter. @jbltx it would be great if you could build C++# from source and debug.

@tritao @ddobrev thanks for your answers, indeed i could try to test in a debug build, the reason why i used the nuget package is because i didn't see any 0.8.19 version tag in Github... Do you have a specific commit to start with ? Or the current master is ok ?
Thanks.

I also reported the bug for Visual Studio 2017 at Microsoft Issue Tracker too, and is fixed for next releases :
https://developercommunity.visualstudio.com/content/problem/237125/c2057-expected-constant-expression-on-basic-string.html
I hope to find time this weekend to make further tests with a custom build from master, and see if it resolves everything.

The problem was solved in VS 2017 15.7, it was a IDE's bug.
https://developercommunity.visualstudio.com/solutions/237468/view.html
Thank you.


Fix/dev action test

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: vikram-chaitanya:x: ManoharKrishnaBoppeYou have signed the CLA already but the status is still pending? Let us recheck it.


Date display space is limited

I suggest that when displaying dates, if they are close to the edge of the 'div' border, the dates should be fully displayed rather than being constrained by the size of the border, as shown above.
In this case, we can only watch "2025/02/15...".
Although we can refer to previous similar dates to determine the specific time points, it might be safer to display them completely.

Sorry for the late reply. Thanks for your kind suggestion, we will adjust and fix the display issues~

Thank you for your kind reply. I hope the issue can be fixed in the near future~


The problem with working on a local network

Bug Report
Description
Bug Summary:
[When you try to log in from another device connected to the same local network, you receive: "Account activation is waiting for an administrator to access the WebUI. The status of your account is currently awaiting activation. To access the WebUI, please contact the administrator. Administrators can manage user statuses from the admin panel."
Steps to Reproduce:
[I have set up an Ollamа Server Windows 10 computer for the snap-in, running on a local network and accepting requests on a subsequent request: http://<IP_ADDRESS>:11434 .
On the server, I also installed a docker server, on which I created an administrator account, using this link: docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --open-webui name --always restart ghcr.io/open-webui/open-webui:main .
On another device that I want to connect to (the device connects on the same LAN), I downloaded the docker container in accordance with the instruction: docker run -d -p 3000:8080 -e OLLAMA_API_BASE_URL=http://<IP_ADDRESS>:11434 -v open-webui:/app/backend/data --name is open-webui --restart is always ghcr.io/open-webui/open-webui:main]
Expected Behavior:
[I assumed that when trying to connect from another device, we would be able to send a request to the admin console on the main server so that we could confirm registration from the administrator account and use it safely. In this case, the account itself will be displayed on the main server.]
Actual Behavior:
[But in fact, when I log in from the second device, I only get a message about an incorrect username or password (if I try to enter administrator credentials), or when I try to register, I log in, but the message is displayed in full screen: "Account Activation Pending Contact Admin for WebUI Access Your account status is currently pending activation. To access the WebUI, please reach out to the administrator. Admins can manage user statuses from the Admin Panel." At the same time, no new accounts are displayed on the main server.]
Environment

*Windows 10 х64
Yandex, Edge

Reproduction Details
Confirmation:

[ *] I have read and followed all the instructions provided in the README.md.
[ *] I have reviewed the troubleshooting.md document.
[ *] I have included the browser console logs.
[ *] I have included the Docker container logs.

Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Installation Method
[Open webui via docker container, ollama server via .exe application ]
Additional Information
[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Thank you for your detailed bug report. It seems there's a misunderstanding regarding how open-webui instances handle user databases. Each instance operates with its own local user database, which means separate instances won't automatically share user data or account statuses.

Sorry for wasting your time, I'm new to docker and just starting to learn everything, thank you for your thorough and detailed help.
Also, I will give the launch code of the docker container with which everything worked for me, for those who find themselves in the same situation as me:
docker run -d -p <IP_ADDRESS>:3000:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

Sorry for wasting your time, I'm new to docker and just starting to learn everything, thank you for your thorough and detailed help.

No waste of time at all, I commend you for following the template with a detailed description as it made forming an answer with an LLM very quick, thorough, and tailored to your scenario.


The implementation of WBM

I really like your paper!! Thank you for sharing your work.
I am a beginner in GAN and image editing and interested in your implementation of WBM module which is used to blend latent codes in two domain.
I want to ask would you like to release your code about WBM?☺
Thanks.

Hi, jiahui!
I didn't implement WBM in a separate module, it has been integrated into the generator. See https://github.com/onion-liu/BlendGAN/blob/main/model.py#L560-L567 for more details.

Hi, jiahui!
I didn't implement WBM in a separate module, it has been integrated into the generator. See https://github.com/onion-liu/BlendGAN/blob/main/model.py#L560-L567 for more details.

Thank you for your reply! I get it.


Clean loading state and move it to session.

Follow up of dfca21f816ee5492105c6e4794a73d19402e3cc6.

I just read the updated version at 98b91a9 -- the logic looks good!
I see you've still marked it as WIP. I'm guessing that's because you plan to add tests.

Thanks for the revisions!
I've gone and merged most of this, as the following commits:
70d6b4d4a loading reducer [nfc]: Remove unused users property.
24e175831 session reducer: Improve test for ACCOUNT_SWITCH.
ae81101ca session reducer: Add test for REALM_INIT.
baadd8209 session reducer: Add tests for most actions.
318ca92d8 exampleData [nfc]: Add a check that eg.action has the right type.
6c5f752e0 session reducer [nfc]: More-compact formatting for tests.
This includes a couple of new commits of mine at the end, plus I squashed together all the similar tiny test-case commits.
I've pushed back to the branch the remaining two commits, including the main refactor commit:
34874f392 reducers [nfc]: Fold loading into session, as just a boolean.
f2c1a8cd2 session reducer: Add test for INITIAL_FETCH_START.
In the first of these, take a look at the test cases. They should be explicit about the part they're actually checking; several of them leave that implicit in the use of baseState.
Also this commit introduces a case for INITIAL_FETCH_START, so it should add the test case for it too. (I.e. the two commits should be squashed together.)

Looks good -- merged! Thanks again.


Is there something like an ID?

Is there something like an ID?
Or is there a better way to provide information for other objects? To bind the result to a UI widget.
let node = Node {
        id: 10,
        size: Size { width: Dimension::Points(100.0), height: Dimension::Points(100.0) },
        justify_content: JustifyContent::Center,

        children: vec![Node {
            id: 11,
            size: Size { width: Dimension::Percent(0.5), height: Dimension::Auto },
            ..Default::default()
        }],

        ..Default::default()
    };

Node {
    id: 10,
    order: 0,
    size: Size {
        width: 100.0,
        height: 100.0
    },
    location: Point {
        x: 0.0,
        y: 0.0
    },
    children: [
        Node {
            id: 11,
            order: 0,
            size: Size {
                width: 50.0,
                height: 100.0
            },
            location: Point {
                x: 25.0,
                y: 0.0
            },
            children: []
        }
    ]
}

Recent refactor makes use of Rc<RefCell<>> internally as well as adding mutable api to the node interface. This enables you to embed Node as a private member of RenderWidget which would mirror the widget tree.
So your code may look something like this (hastily written to get the general idea across, does not compile).
struct RenderWidget {
    node: stretch::node::Node,
    children: Vec<RenderWidget>,
}

impl RenderWidget {
    fn add_child(&mut self, widget: RenderWidget) {
        self.node.add_child(&widget.child);
        self.children.push(widget);
    }

    fn compute_layout(&mut self, size: stretch::geometry::Size<stretch::number::Number>) {
        let layout = node.compute_layout(size).unwrap();
        self.apply_layout(layout);
    }

    fn apply_layout(&mut self, layout: stretch::result::Layout) {
        // TODO somehow apply layout

        for i in 0..self.children.len() {
            let child = self.children[i];
            let childLayout = layout.children[i];
            child.apply_layout(childLayout);
        }
    }
}

We still don't have the concept of ID. I'm not against adding it if there is good reason for it but I am not yet convinced that ID is not something that is better added by a user-space wrapper object.


How can I use precss in vue-loader at a vue-cli programme?

Here is code:
postcss: [
require('postcss-cssnext')(), //postcss is working if I only write this row.
require('precss')().process({ parser: require('postcss-scss') }) //npm got error when I add this row
]
Here is error log:
Module build failed: Error: PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.
It seems every .vue file got same error?...  I'm dont understand,pls, someone help me.

i have the same problem, when precss is updated to version 2.0, the usage has been changed, so i run the code  npm install<EMAIL_ADDRESS>to re-install fecss history version, and the config code: postcss: [require('precss')()]. the problem was solved.

i revert back to precss^1.4.0,but still got errors.
ERROR  Failed to compile with 2 errors                                                                                15:14:45
These relative modules were not found:

../images/sel_button_star_selected.png in ./~/_css-loader@0.26.4@css-loader?{"minimize":false,"sourceMap":false}!./~/_vue-loader@11.3.4@vue-loader/lib/style-compiler?{"id":"data-v-17909057","scoped":fals
e,"hasInlineConfig":true}!./~/_vux-loader@1.0.64@vux-loader/src/after-less-loader.js!./~/_less-loader@2.2.3@less-loader?{"sourceMap":false}!./~/_vux-loader@1.0.64@vux-loader/src/style-loader.js!./~/_vue-lo
ader@11.3.4@vue-loader/lib/selector.js?type=styles&index=0!./src/App.vue
../images/sel_button_star_default.png in ./~/_css-loader@0.26.4@css-loader?{"minimize":false,"sourceMap":false}!./~/_vue-loader@11.3.4@vue-loader/lib/style-compiler?{"id":"data-v-17909057","scoped":false
,"hasInlineConfig":true}!./~/_vux-loader@1.0.64@vux-loader/src/after-less-loader.js!./~/_less-loader@2.2.3@less-loader?{"sourceMap":false}!./~/_vux-loader@1.0.64@vux-loader/src/style-loader.js!./~/_vue-loa
der@11.3.4@vue-loader/lib/selector.js?type=styles&index=0!./src/App.vue

some static images cannot be found?
@wendaosanshou

If you want to introduce a picture in a css file, you can reference the postcss plugin postcss-url, just npm install postcss-url --save-dev and the config code postcss: [require('postcss-url')()].
i not sure for the reason, you can try it.

I have not found your problem when i introduce a picture as a background image.

i have another error: after.after is not a function in postcss-nested
i revert back to precss 1.4.0,  it is ok now;
thanks very much;


Switch bumaplo with bump-scope in oxc

Hi! I'm the author of Oxc, where we are building a collection of high-performance tools for JavaScript in Rust.
I'm reaching out for the possibility of switching bumpalo to bump-scope for performance improvements.
Here is our research issue for more context.
Since there will definitely be missing pieces, the best way is to let you play around with switching out bumpalo in our oxc_allocator crate and see how it goes, and we'll aid you in the process.
If you are interested, may I invite you to our discord to establish a communication channel?

That sounds interesting, I'll take a look. I've joined the discord channel.

PR: https://github.com/oxc-project/oxc/pull/6668


Matrix Multiplication

Title of article
Write a Java program to print multiplication of 2 matrices.
Additional information
First matrix
1  1  1
2  2  2
3  3  3

Second matrix
1  1  1
2  2  2
3  3  3

Product matrix
6  6  6
12 12 12
18 18 18

Code of Conduct

[X] I have read and agree to the Codinasion project's Code of Conduct

@harshraj8843
What kind of input were you expecting? Six lines of space-separated ints? Or should there be a Sys out like:
Enter first matrix...
Line 1:
Line 2:
Line 3:

?

@harshraj8843 What kind of input were you expecting? Six lines of space-separated ints? Or should there be a Sys out like:
Enter first matrix...
Line 1:
Line 2:
Line 3:

?

Well, in this case input is complex. So, we can use static input (hard coded variables)

@harshraj8843 What kind of input were you expecting? Six lines of space-separated ints? Or should there be a Sys out like:
Enter first matrix...
Line 1:
Line 2:
Line 3:

?

Well, in this case input is complex. So, we can use static input (hard coded variables)

I see. :+1 Is there supposed to be a multiplier as well?

Is there supposed to be a multiplier as well?

Yes


Change Calling sample room creation to an open policy

What

Change roomJoinPolicy of room when starting a new room in Calling sample.
Why

Solve issue of not being able to join room calls that have already started
How Tested

Local calling sample
Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

The worry I have here is this workflow looks like not align with the RBAC workflow, it looks like just a pure room without permissions limitations - we just add some UI things up to it. Once we need to get role from calling sdk this sample app would not work

That is a good point. RBAC no longer exists for an open room policy. Closing this PR without merging. Will revisit in the future.


Add a CLI parameter to specify if max_fee=0 is legal

Currently max_fee can be 0 and tx will succeed (as documented). Regardless of what should be the default, this could be toggleable.

Hi, any idea about the flag name ?

--max-fee-0
--max-fee-none

Beside the flag name, I think I can work on this feature.

Hi, thanks for taking a look into this issue, there are three ways to implement this:

Non-breaking:

The default remains the same - we allow txs with max fee set to 0
The potential flag we want to introduce would then prohibit such txs

Breaking:

The default changes - we disallow txs with max fee set to 0
The potential flag would allow such transactions

Breaking 2:

We don't introduce any flag, just disallow txs with max fee set to 0

We eventually want to stop supporting max fee == 0, but currently this might cause several tests to fail. Personally I'm leaning towards the second breaking option as I don't see much benefit from allowing such txs. What do you think?

My first thought was breaking option 1 since I don't get the point for transactions with max fee set to 0.
If such transactions are not needed, we should go to breaking 2.

@ptisserand Sorry for waiting, I asked people from StarkWare, waiting for their feedback.

Hi @FabijanC are you still waiting for feedback from StarkWare ?

@FabijanC I think breaking option 1 is the way to go.
You generally want Devnet to behave as close as possible to the production StarkNet.
But I see a scenario where this feature might be helpful, so having a flag to allow it sounds like a good option.

Ok, @ptisserand, we can take the breaking option 1, thanks for the feedback everyone!

I'm wondering if we should check max_fee value in /add_transaction handler or in StarknetWrapper methods.
What do you think?

For flag name, are you ok with --allow-max-fee-zero ?

For flag name, are you ok with --allow-max-fee-zero ?

Yes


Add ansible setup for tracking server

Command 'htpasswd' not found, but can be installed with:

apt install apache2-utils
Please ask your administrator.

Had to manually run sudo apt-get install -y apache2-utils gettext to get it working


Implement code related to cameras in gui::views::ControlView (cpp)

Completed; Compiles; Still to be tested.


Mobile user agent ignored

For me it still does not work on either Chrome or Brave (Edge seems to ignore completely mobile user agent).  Browser opens, does searches in mobile view, but I still see 0/60 mobile searches.
Maybe agents need to be updated? This is my config:
{
    "desktop-count": 34,
    "mobile-count": 40,
    "load-delay": 1.5,
    "search-delay": 2,
    "search-url": "https://www.bing.com/search?q=",
    "desktop-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36 Edg/83.0.478.37",
    "mobile-agent": "Mozilla/5.0 (Windows Phone 10.0; Android 6.0.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Mobile Safari/537.36 Edge/18.19041",
    "browser-path": "C:\\Users\\G\\AppData\\Local\\BraveSoftware\\Brave-Browser\\Application\\brave.exe"
}

Originally posted by @N190392 in https://github.com/jack-mil/bing-rewards/issues/13#issuecomment-1525170102

@N190392 I am bringing this issue into it's own thread so the other does not get polluted.
Can you give me some more information about your setup? What operating system and browser versions are you working with? Are the desktop rewards being counted? Anything else unusual about your setup?

I use Win10 x64. Python 10.10.
Mobile stopped working about a week ago.
I use Chrome for this, Brave installed for testing purposes because it stopped working.
Brave atm is <IP_ADDRESS> and Chrome 112.0.5615.138. Both installed using WINGET.
When it worked, I had changed Mobile agent to latest Edge on iOS 16, but now it doesn't work any.
It detects it, because browser starts Bing in mobile mode, but no rewards.
Web and Desktop rewards seem to working fine. Though default 34 desktop limit must be increased to get 90/90.

Okay, so Chrome etc does not work even when lanually launching --user-agent argument. May it be because Chromium is phasing out User Agents instead of Client Hints? https://developer.chrome.com/articles/user-agent-client-hints/
So I did a manual test with Firefox:

about:config
type: general.useragent.override; select: string; +
Mobile gets counted.

Question for @jack-mil
For this to work with firefox, app would need to get updated. As Firefox does not support User Agent string, the profiles must be specified. So programs should be launched like this.
C:\Program Files\WindowsApps\Mozilla.Firefox_<IP_ADDRESS>_x64__n80bbvh6b1yt2\VFS\ProgramFiles\Firefox Package Root\firefox.exe -p "default"
C:\Program Files\WindowsApps\Mozilla.Firefox_<IP_ADDRESS>_x64__n80bbvh6b1yt2\VFS\ProgramFiles\Firefox Package Root\firefox.exe -p "mobile"
So it requires some setting up. Like making "Mobile" profile

about:profiles
Create a New Profile
Doing the steps mentioned above for the new profile.

That means that the config file should get 2 new variables (default profile name, extra mobile profile name).

I would like to support Firefox as I use that mainly, I couldn't originally because as you mentioned, there is no command line argument for setting the user agent string.
Oddly, I am using the same version of Chrome as you, and I was able to receive mobile award points. Maybe it's an issue on the Bing/ MS account side?
( bing-rewards --mobile --count 1)

During testing I also had that suspicion that problem lies on Microsoft's end. Everything worked until it just... stopped without any changes and with mobile UA. And none of the Chromium browsers does the trick, only Firefox.
For example, even Bing is different (instead of 150/100/20 like in your screenshot, I have 90/12/60 points available).

That is very curious. I have noticed the "rewards level" influences the daily quota. That screenshot is level 2

It must be region dependent.

Interesting observation. You can use the --nowindow and --noexit args to go along with this.
Strange how Edge is acting

Chrome 114.0.5735.110 here, not counting any mobile points it seems.

Closing this for now, but pinning for future reference if anomalies keep cropping up.

Closing this for now, but pinning for future reference if anomalies keep cropping up.


BUG Fix creation of records in non-default locale

Fixes #132

Postgres is being weird, but this fixes your issue.


[Docs]: Code example with astro integration not working

Description
Docs pointing to https://stackblitz.com/github/lucia-auth/examples/tree/main/astro/username-and-password?file=src%2Flib%2Fauth.ts
There is an error:
[ERROR] [MiddlewareCantBeLoaded] An unknown error was thrown while loading your middleware.

Caused by:
  Could not locate the bindings file. Tried:
...

Likely an issue with better-sqlite3, not Lucia, on StackBlitz. If you remove the db.ts imports, it works fine


Change dummygram logo on share modal

Description
The share modal contain the old dummygram logo.
Steps to reproduce
Click on share button on a post
You will see the old logo on the modal
Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

you can fix that!


Fixes for shadow maps, etc.

Santize shader variable/output names
Treat copy-dst & clear as writing to a frame

Merged in later branch


Move to official org?

Hey @kuangyujing 👋
I'm the creator of Dracula color scheme. I was searching for themes created by the community and I found yours. Good job by the way!
I was wondering if you are interested in transferring this repository to the official organization (https://github.com/dracula). You'll continue maintaining this project, the only difference is that we can make it more visible and include it on the site (https://draculatheme.com).
What do you think?

@zenorocha
Thank you for contact me. Off cause, I'm pleased to join official org.🧛🏻♂

@zenorocha
Thank you for contact me. Off cause, I'm pleased to join official org.🧛🏻♂

Great! I just sent you an invite to join the organization.
Once you accept it, you'll be able to transfer the repo and I'll take care of adding it to the site.
Thanks for building this! 🎉

Great! I just sent you an invite to join the organization.
Once you accept it, you'll be able to transfer the repo and I'll take care of adding it to the site.
Thanks for building this! 🎉

Good job @zenorocha  for pointing this out. I was searching in Dracula website for a XFCE4 dracula theme and couldn't find it. Thankfully I ended up searching on Github where always someone has some half backed project.
I would strongly suggest @kuangyujing  to move it to the official org as soon as possible. More visibility to the project will be added . :blush:

Good job @zenorocha  for pointing this out. I was searching in Dracula website for a XFCE4 dracula theme and couldn't find it. Thankfully I ended up searching on Github where always someone has some half backed project.
I would strongly suggest @kuangyujing  to move it to the official org as soon as possible. More visibility to the project will be added . :blush:

@kiraitachi
I just transfered this project to @dracula/xcfe4.

@kiraitachi
I just transfered this project to @dracula/xcfe4.

https://draculatheme.com/xfce4-terminal 💥 💥 💥

draculatheme.com/xfce4-terminal

Great! Thanks @zenorocha 🧛♂


tighten exception handling around verify timeouts

At line 274, we are hoping to catch a request timeout. We should tighten the exception around that.

Resolved in 6a0a4eeaf1060fd709eb9143cc517126f4df2523


ECL-297: Migrate obligation data and financial details API

This PR can be approved once the PR bot comments have been addressed.

Yep, removed example files.


Add unit tests for helpers.py

Unit tests still need to be added for helpers.py.

I can do this 👍
Do we have test coverage tooling?

@thomas-davis  Thanks for taking this up! I think we have looked into a couple of tools but still do not have it configured in our CI.

Made progress tonight on branch branch CFB-254


textarea auto focused and insert first image not work

Hi, I find some weird thing about this directive plugin, don't have this issue if I directly use redactor
I am use redactor on a textarea within a modal, when model show up, that textarea is focused, I mean the cursor is blink, if start input, everything is find, but if I click one time and then input, the inputed text will go to next line, click multi time have so such issue
another issue is the first image inserted into not show up, I am feeling this two issue are related, how can I not make this textarea focused?

i had a same focus issue.how to focus last cursor position in redactor using jquery.


Use powershell one liner for windows ucm command

Hi, congrats for the prerelease of unison desktop.
I tried the one liner for windwos and it didn't wotk in a powershell (default one nowadays) or cmd shell so i had to use the proposed one.
Thanks!

Oh yes sorry, I didn't consider the differences besides the cors domain. Thank you 🙏


OCI Image boot quirks or "The road to FROM fedora: 40"

Lets use this issue to track quirks inherent to booting an OCI image. Hopefully, when this issue closes it will be possible for someone to boot an image made with FROM fedora:40
First lets begin with some background about the quirks
Background
Currently, an OSTree based system can only boot an OSTree commit. OSTree commits are essentially a serialization format for a filesystem, such as a tarball, with the benefit of being able to be deduplicated on a file level.
To make that directory bootable and memoryless ("without hysterisis"), the OSTree project contains a variety setup steps, in which e.g., initramfs is generated and placed in /usr/lib, /etc files are moved to /usr/etc etc.
These steps are done using the tool rpm-ostree using its image generation backend and can currently only be done exclusively with that tool. In addition, rpm-ostree contains a couple of systemd services that fixup OS quirks (e.g., generating /var from a location called var factory).
Then, the filesystem is wrapped into a commit, and placed into an HTTP2 enabled server, where users can download new system files when an update happens.
While revolutionary, this system had the following disadvantages:

Cannot keep up with internet speeds. Regardless of whether HTTP2 is used, performing random file requests an an HTTP host is CPU intensive.
Not possible to extend
The tree file format, while logical, is very hard to adopt.

OCI extension
Therefore, ostree-rs-ext was developed with a new serialization format, which converts an OSTree commit to an OCI image. This standard embeds the OSTree commit as an OSTree repository with xattr format in the /sysroot/ostree directory. Then, as the commit is written to the tar stream, the ostree files are hardlinked to the location they would have in the system (e.g., /usr/etc OSTree files are hardlinked to /etc).
The benefit of this format is that it makes it possible to run the result as a container and extend it.

This is why Bazzite is possible.

A trivial compression format splits this across 64 layers to make it easier to download and make some bandwidth savings possible.
When rpm-ostree receives that image, it first checks if it is a commit that has not been extended. If it is not, it imports it as usual. If has been extended, it imports the OSTree layers as an original "base" commit. The directory permissions are also sourced by the commit, which might and are different in the final container.
Then, for the extension layers, OSTree converts them to small commits on the fly, by using the base commit for SELinux labelling and moving /etc files to /usr/etc. This means that any extensions added over OCI have not been postprocessed and have quirks.
For example, the /etc/passwd file has drift. And since only the base commit is used for SELinux labelling, any package additions with custom SELinux rules break.
And of course, if there is no base commit, rpm-ostree will not load the image.
Bootc
Now, bootc comes along and formalizes the notion of OCI as OS images. Initially, it uses ostree-rs-ext to do the unencapsulation. However, soon it will use podman to pull and expand the container, which is then fed to OSTree (https://github.com/containers/bootc/pull/215). This solves the SELinux issues but introduces a set of new ones.
The codebase of that PR was referenced when building rechunk and, surprisingly, the resulting image did not boot. Therefore, when that PR merges bootc will stop being able to boot extended images.
Why?
A lot of minor reasons.
Because the OCI container might have wrong permissions in certain systemd dirs which make it fail to boot. Maybe the container has both an /etc and /usr/etc dir, which OSTree does not like at all, but due to the way rpm-ostree is implemented right now it works (/etc files are transparently merged to /usr/etc). Maybe the polkitd folder lost the polkitd group and broke. Podman rootless may break because newuidmap has broken capabilities. And so on (see https://github.com/hhd-dev/rechunk/blob/master/1_prune.sh) with even more quirks we do not know about.
TLDR
In order for FROM fedora:40 to be possible, the following need to happen:

The postprocessing applied by rpm-ostree needs to be documented
The loss of attributes needs to be documented (file capabilities, xattrs, SELinux)
In case attributes are missing, before the image is deployed it needs to be "quirked" to have correct permissions (e.g., adding polkitd to /usr/etc/polkit-1/rules.d)
Both bootc (when deploying arbitrary images) and rechunk (when preparing OSTree commits) need to implement them so that there is no drift between the two implementations (e.g., users can skip rechunk when testing an image and deploy it straight with bootc).

Of course, there is still value in using ostree encapsulated commits in a bootc world:

Maintains compat with rpm-ostree
Lower layer invalidation means less lookups when updating AND less committed files to OSTree
There is no need for unrolling the original image for SELinux labelling
There is no need for quirking the original image, which takes time
Composefs can be precomputed
Users can still extend the image arbitrarily

For most users that not developers, it does not make sense for them to have to eat the update cost for distro maintainer DX, especially when rechunk can fixup the image in 7 min.
Tagging @cgwalters as the discussion with https://github.com/containers/bootc/pull/215 affects bootc

Right now, the following permissions differences have been identified between booting an OCI image after stripping the base commit and an OCI image with a base commit:
The following dirs have different permissions:
chmod 750 ./usr/etc/audit
chmod 750 ./usr/etc/audit/rules.d
chmod 755 ./usr/etc/bluetooth
chmod 750 ./usr/etc/dhcp
chmod 750 ./usr/etc/firewalld
chmod 700 ./usr/etc/grub.d
chmod 700 ./usr/etc/nftables
chmod 700 ./usr/etc/nftables/osf
chmod 555 ./usr/etc/pki/ca-trust/extracted/pem/directory-hash
chmod 750 ./usr/etc/polkit-1/rules.d
chmod 700 ./usr/etc/ssh/sshd_config.d
chmod 700 ./usr/lib/containers/storage/overlay-images
chmod 700 ./usr/lib/containers/storage/overlay-layers
chmod 700 ./usr/lib/ostree-boot/efi
chmod 700 ./usr/lib/ostree-boot/efi/EFI
chmod 700 ./usr/lib/ostree-boot/efi/EFI/BOOT
chmod 700 ./usr/lib/ostree-boot/efi/EFI/fedora
chmod 700 ./usr/lib/ostree-boot/grub2
chmod 700 ./usr/lib/ostree-boot/grub2/fonts
chmod 750 ./usr/libexec/initscripts/legacy-actions/auditd

Which makes systemd panic, and sddm not able to launch
The following bins have different capabilities that have been stripped (probably due to ostree-rs-ext' gzip encoding):
setcap cap_dac_override,cap_net_admin,cap_net_raw=eip ./usr/bin/dumpcap
setcap cap_sys_nice=ep ./usr/bin/kwin_wayland
setcap cap_setgid=ep ./usr/bin/newgidmap
setcap cap_setuid=ep ./usr/bin/newuidmap
setcap cap_net_bind_service=ep ./usr/bin/rcp
setcap cap_net_bind_service=ep ./usr/bin/rlogin
setcap cap_net_bind_service=ep ./usr/bin/rsh

The following dirs lose the polkitid group perm since polkitd is no longer in /etc/group but instead on /usr/lib/group:
chgrp $POLKIT_ID ./usr/etc/polkit-1/localauthority
chgrp $POLKIT_ID ./usr/etc/polkit-1/rules.d

This causes polkits to not work

Both rpm-ostree and the bootc PR do not do the following (when the additions are through OCI):
Remove /etc lockfiles:
rm -rf \
    ./etc/.pwd.lock \
    ./etc/passwd- \
    ./etc/group- \
    ./etc/shadow- \
    ./etc/gshadow- \
    ./etc/subuid- \
    ./etc/subgid- \
    ./.dockerenv

Update /usr/lib/passwd and /usr/lib/group based on the additions on /etc/passwd and /etc/group. In addition, ostree-rs-ext does not copy said files to /etc so that they are available in the container runtime.
They do not handle /var/lib, /var to /usr/share/factory/var.
Bootc does not merge /usr/etc to /etc before moving /etc to /usr/etc which rpm-ostree does implicitly. That means that if someone creates a file in /usr/etc bootc will fail (all ublue images scatter files to /usr/etc through mostly confusion and would fail to boot).
rpm-ostree stashes around 300mb of data in /usr/lib/sysimage/rpm-ostree-base-db/ and it is unclear for what they are used for. Rechunk removes those.

The postprocessing applied by rpm-ostree needs to be documented

This relates strongly to https://gitlab.com/fedora/bootc/base-images-experimental and https://gitlab.com/fedora/bootc/tracker/-/issues/32

There's a whole lot going on in this project (thanks for starting it!)...I think though we are going to need to tease some of these sub-problems apart and tackle them more clearly individually.
Especially the:

In order for FROM fedora:40 to be possible

part.

BTW, when I was looking at this one of the just fundamental "sand in the gears" going on here is https://github.com/containers/buildah/issues/5592 - and really the only way to work around that today is to step "outside" and reserialize (or at least fix up) the tar streams generated by podman/docker.
(Yes, we should fix that bug)


Feature/bic 163

Also fixes BIC-160

Both tests fail because of a time out issue, I believe this is a known "random" issue  ??

Collection - DataSuitcases
"before all" hook
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.

changed the encoding over to manually encode apostrophes and quotes due to sams feedback that people may be parsing the query string.
if you're bored, http://tools.ietf.org/html/rfc3986 on why apostrophes are not encoded. (but can be decoded!)
@ashishtilara the fails builds are for the phantomjs time out issue. if you're happy plz merge :)

tests run fine locally, not sure why they time out on travis


⚠ Spryr has degraded performance

In d3fa569, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 8791 ms

Resolved: Spryr performance has improved in 976d14c after 7 minutes.


Console split files & upgrade main controller to app component

Split all big files into folder by feature style structured files
Converted controllers & templates:

Main + includes -> app, pagesFooter, pagesNavigation, pagesTopinfobar, pagesTopnavbar components (pages)
status -> status component (pages.status, /status)

also fixed pace not starting (loading bar at the top) and tried to improve how the front-end visually loads

jdbc execute query component template is broken because of last commit, please don't merge until it's fixed


README fix + CMake dependencies

Fixed readme for llm-chain-llama-sys and added CMake depedency in the…

Checkout the submodule :)


Icon selection

Hi, if i select an icon, the builder freezes. Besides that, its not detected by my virus. Good Job!

Can you give more information regarding this issue? When you click on the select icon button, does it open the dialog to let you select and icon, or does it freeze as soon as you click on the button?

Nothing blocks the icon, and i cant see the box because ill get a windows promt saying program not reacting

I am not able to reproduce the error (even in my VMs).
Which windows version are you using? Have you tried to wait for the program to unfreeze?

You there?


Fix validation error in requestRedraw

Hello, I found JS error in 0.1.146 alpha, so I created PR.
This PR fixes that requestRedraw requires only 1 argument, but validation code required 2 arguments.


Build a number pyramid

Is your feature request related to a problem? Please describe.
Problem 0 is an Integer, but not a Whole.
Describe the solution you'd like
Build a prelude with a number pyramid like Natural => Whole => Integer etc.

#146


How to specify the URI of split bundles?

I am using the CommonsChunkPlugin with require.ensure, and I am running into a problem where a chunk is requested with just a filename, instead of a root relative URI. Is there a way that I can tell CommonsChunkPlugin to prefix all requests for bundles?
Currently, require.ensure requests the chunk using just a filename: GET 1.1.js. I am trying to find a way to prepend / or /dist/ to all requests made by require.ensure. It would also be cool if I could get the chunk to use the namedChunkFilename instead of something link "1.1.js", but that is a unrelated.
The require.ensure call, in a React Router route component:
	componentDidMount() {
		require.ensure([], require => {
			this.setState({
				component: require("./article-editor")
			});
		});
	}

The config:
	entry: {
		app: "./app/client.js",
		// The  editor app at /post isn't listed as an entry point here, because it is defined using require.ensure
		vendor: [
			"alt",
			// snip
			"superagent",
		]
	},
	output: {
		path: path.join(__dirname, "dist"),
		filename: "[name].js",
		namedChunkFilename: "[name]-[chunkhash].js"
	},
	plugins: [
		new webpack.optimize.CommonsChunkPlugin("vendor", "vendor.js", Infinity)
	],
	module: {
		loaders: [{
			test: /\.json$/,
			exclude: "node_modules",
			loader: "json"
		}, {
			test: /\.js$/,
			exclude: "node_modules",
			loader: "babel"
		}]
	},

I have same issue with Intl.js. Safari says:

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (index.js, line 0) http://server.dev/folder1/folder2/2.intl-polyfill/index.js

The correct folder would be http://server.dev/dist/2.intl-polyfill/index.js. All my other webpack bundled js files are correctly loaded from /dist/ folder. I'll have to try older versions of webpack to see if this is a regression.

Ok, fixed it. You need to set output.publicPath. Here's what I have:
    output: {
        path: path.resolve(__dirname, "src/main/webapp/dist/"),
        publicPath: "/dist/",
        filename: "[name]/index.js",
        sourcePrefix: ""
    }

Take a look in https://github.com/webpack/docs/wiki/configuration for more options. I think you can use output.hotUpdateChunkFilename or output.chunkFilename to change the chunk's filename. Also you can set the name in code when exporting functions etc:
export default function doSomething(arg) {
    code...
    }, 'chunk-name');
}

Thanks @cheets, that helped me debug my Webpack build. Was missing a / at the beginning of publicPath, i.e. publicPath: "dist/", => publicPath: "/dist/",


[Feature][api] Are there other default global variables like ${system.datetime}?是否还有其它全局变量，类似于${system.datetime}？

Search before asking

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

Description
Are there other default global variables like ${system.datetime}?
是否还有其它全局变量，类似于${system.datetime}？
for example:
current task id ...
比如：
当前工作流的ID，可以方便的直接在脚本中引用
Use case
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

It is supported now. For example, ${aaa} can be directly referenced by using'${aaa}' in the code. The global variable acts on the entire dag.
hope this helps.


Idealized case as test/notebook example

I think it is paramount that I test the code on idealized cases first. This is related to issue #1.

[x] horizontal and vertical stream function conservation (Jet dispersion)
[ ] time varying wave
[x] A tilted example

I decided not to do the time varying case. It is simply too time consuming for me to do and it does not prove anything new.


peer.addStream() does not work

Version: v3.0.0-beta.1
simple-peer's API to add a new media stream to existing connection does not work. The added stream does not appear in any way on the other side.
I've traced the issue down to signals not being properly forwarded after the connection is already established. When I add a new media stream simple-peer tries to re-negotiate sending a new offer. But because of this line https://github.com/geut/socket-signal/blob/master/lib/client.js#L273. The signals are not forwarded after the safe-connect event is emitted.

Thanks @Marik-D to report this, I never test the addStream API with socket-signal I will add support media streams.

Working on a fix here: https://github.com/geut/socket-signal/issues/1
I will be publish a new version today. One important thing here is that addStream needs to run a negotiation of signal offer/answer again over the peer, that initially means: talk with the signal server again
But there is another approach, we can reuse the data channel (the connection that we already have) to exchange the new signal offer/answer data so that means every addStream runs full P2P without the need of a signal server. That's what I'm doing now.

@Marik-D can you test the package by installing: npm install git://github.com:geut/discovery-swarm-webrtc.git#tinchoz49/next
It has the socket-signal updated with the media stream support.

The new version seems to work. Thanks!


Wurst maps not working on host bots

Okay. So I have confirmed this by simply adding a 1.27-compiled empty map without wurstscript to ENT and then the exact same map again but saved with wurstscript enabled.
I was able to join the non-wurstscript version, but the wurstscript version did not work and I tried several times.
The two test maps:
test.zip

As suspected, it as a JMPQ error. Fixed by cfeb97371a62d8c2821cbe81741fde423cbe0a59


add code talk example featuring Inf2 on ray serve

Description of changes:
This PR is introducing example codes we are going to use during re:Invent 2023 code talk.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM


Remove inline javascript codes from /accounts/find, /accounts/go, /login, /register, etc

As discussed here we need to remove all the inline javascript code and move it to its appropriate javascript file.
@timabbott I have opened this issue to keep track of the work.

@zulipbot claim

@zulipbot I am working on it.

@zulipbot claim


[Bug] Case sensitivity bug in mmdet_handler

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (master) or latest version (3.x).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
master branch https://github.com/open-mmlab/mmdetection
Environment
Latest dev-3.x branch
Reproduces the problem - code sample
I use this to run the mmdet-server:

Reproduces the problem - command or script
pass
Reproduces the problem - error message

Additional information
but when i open the mmdet_handler.py in my mmdet. It looks good, and the dockerfile  version is also correct.

@sanbuphy Hi. Is it resolved now?

@sanbuphy Hi. Is it resolved now?
Yes, I solved all the problems, The reason may be that some resources have not been refreshed.


Add asset relocator loader

This integrates the asset relocator loader from https://github.com/zeit/webpack-asset-relocator-loader for the server builds.
A few initial bugs discovered in the loader have already been fixed, including supporting Stage 3 syntax, and some edge case errors.
This PR should be very carefully tested further before considering any merge.

Closing this pull request in favor of a plugin. Thanks for all of your hard work, @guybedford!


Stale caching of crate that has apparently been deleted from crates.io

My crate 'pioneer' has one published version on crates.io (0.0.1). Apparently this crate name previously belonged to someone else who published a placeholder with the same name and version 0.1.1. I was not aware of this until I checked docs.rs.
Expected behavior
https://docs.rs/pioneer leads to documentation for version 0.0.1 of my crate.
In the owners section only my avatar is displayed.
Actual behavior
https://docs.rs/pioneer leads to documentation for version 0.1.1 of the deleted crate.
The previous owner's avatar is displayed in the owners section too.

See also #766.
I'm not at a computer right now but for a single crate it's an easy fix on our end.

I deleted 0.1.1, so your 0.0.1 version is the only one left on docs.rs :)
Hmm, it looks like that didn't remove the other owner though. Probably a bug in delete version, I'll look into it.

I removed the other owner.


⚠ Bofrost.fr has degraded performance

In 60725ff, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1542 ms

Resolved: Bofrost.fr performance has improved in 098113f after 9 minutes.


Bug in https.c example?

I'm new to AmiSSL and I saw the following lines in the https.c example:
if (AmiSSLBase)
{
#if defined(__amigaos4__)
	if (IAmiSSL)
	{
		CleanupAmiSSL(TAG_DONE);
		DropInterface((struct Interface *)IAmiSSL);
		IAmiSSL = NULL;
	}
#endif

	CloseAmiSSL();
	AmiSSLBase = NULL;
}

Shouldn't CleanupAmiSSL() be called on other platforms as well and not only on OS4? So I think the code should be like this instead:
if (AmiSSLBase)
{
	CleanupAmiSSL(TAG_DONE);
#if defined(__amigaos4__)
	if (IAmiSSL)
	{
		DropInterface((struct Interface *)IAmiSSL);
		IAmiSSL = NULL;
	}
#endif

	CloseAmiSSL();
	AmiSSLBase = NULL;
}

Or am I getting something wrong here?

Yes, you are half right. The code was only correct for OS4 and your fix was correct for anything but OS4.
I've now committed a fix which works for all. This code was originally there, but got lost some years ago during other modifications.


protocols/horizon.HistoryAccount not used anymore

protocols/horizon.HistoryAccount is not used anymore as Horizon does not expose collection of accounts endpoints. We should merge it into Account type.

Fixed in #1320.


Error: Can't have a partition outside the disk!

Hi,
I got this error:
sudo ./pishrink.sh -z myimg.img myimg_new.img
pishrink.sh v0.1.2
pishrink.sh: Copying myimg.img to myimg_new.img... ...
pishrink.sh: Gathering data ...
Error: Can't have a partition outside the disk!
pishrink.sh: ERROR occurred in line 281: parted failed with rc 1
pishrink.sh: Possibly invalid image. Run 'parted myimg_new.img unit B print' manually to investigate ...

Regards,
Kevin

can you show the output of running this command:
parted myimg.img unit B print

Same problem here:
> parted sdcard.img unit B print
Error: Can't have a partition outside the disk!

How did you take the image of your sdcard

Tried dd, now I make a copy using ddrescue. Stay tuned.

@Drewsif  same problem.
root@edge-device:~# sudo pishrink.sh bb/rpi.img bb/rpi-shk.img
pishrink.sh v0.1.4
pishrink.sh: Copying bb/rpi.img to bb/rpi-shk.img... ...
pishrink.sh: Gathering data ...
Error: /root/bb/rpi-shk.img: unrecognised disk label
pishrink.sh: ERROR occurred in line 288: parted failed with rc 1
pishrink.sh: Possibly invalid image. Run 'parted bb/rpi-shk.img unit B print' manually to investigate ...

root@edge-device:~# parted bb/rpi.img unit B print
Error: /root/bb/rpi.img: unrecognised disk label
Model:  (file)
Disk /root/bb/rpi.img:<PHONE_NUMBER>B
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

@Drewsif how to fix?

it mean your image bad, simple fix error parted sdcard.img unit B print throw.
For Error: Can't have a partition outside the disk! just correct sectors then try pishrink again.
fdisk -l -u=sectors sdcard.img

# result
Disk sdcard.img: 1.84 GiB,<PHONE_NUMBER> bytes, 3858433 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3a3113ee

Device      Boot Start     End Sectors  Size Id Type
sdcard.img1 *     2048   34815   32768   16M 83 Linux
sdcard.img2      34816 3862527 3827712  1.8G 83 Linux

Total sectors (3858433) should equal End of last device (3862527) +1
But 3858433 != 3862527 + 1
so missing 3862527 + 1 - 3858433 = 4095 sectors
dd if=/dev/zero bs=512 count=4095 >> sdcard.img
parted sdcard.img unit B print
# should work without any errors


How can i clear all data when ios app is uninstalled in react-native-encrypted-storage

I am using react-native-encrypted-storage. When I uninstall an app and then reinstall it, my old data still exists. How can I clear all data when uninstalling an ios app?

https://github.com/emeraldsanto/react-native-encrypted-storage#note-regarding-keychain-persistence

https://github.com/emeraldsanto/react-native-encrypted-storage#note-regarding-keychain-persistence

I have the same question,  I have read the note regarding keychain but the documentation seems to be outdated because AppDelegate.m is no more in new react-native project, we have AppDelegate.mm (double "m")  and the instructions is not working with the new AppDelegate.mm file.

https://github.com/emeraldsanto/react-native-encrypted-storage#note-regarding-keychain-persistence

I have the same question, I have read the note regarding keychain but the documentation seems to be outdated because AppDelegate.m is no more in new react-native project, we have AppDelegate.mm (double "m") and the instructions is not working with the new AppDelegate.mm file.

Does anyone have an update?

Putting the same code in the new AppDelegate.mm file should work, we have code based off that example in my project and it functions properly.

Thankfully using the code references in that link above in the AppDelegate.mm file worked for me.  Just tested it a few moments ago.

I tried the above on iOS and Mac Catalyst. On iOS, it works fine. But on Catalyst if I drag and drop to Trash, the data still persists. However, if I use AppCleaner to delete the app, the persisted data gets deleted. Any idea what's causing this inconsistency?


[PROPOSAL]: add PRS & SDH locales

Proposal:
As PRS (Dari) and SDH (Southern Kurdish) are not covered by the package yet I'd like to propose adding them.
These languages are not supported by Flutter per default (but can be added manually), but in regards of rising numbers of refugees speaking these languages in Europe I'd love to see them covered.
I've already prepared the enum entries:
/// code: "prs", name: "Dari", nativeName: "دری"
prs("prs", "Dari", "دری"),

/// code: "sdh", name: "Southern Kurdish", nativeName: "کوردی خوارین"
sdh("sdh", "Southern Kurdish", "کوردی خوارین"),

Please let me know if you need anything else or if I can help somehow.
Sources:
https://en.wikipedia.org/wiki/Dari
https://en.wikipedia.org/wiki/Southern_Kurdish

Hi @msonntag13,
Should add the Kurdish first?

Hey @lamnhan066,
Kurdish itself is already supported as far as I can see in language_codes.dart#L1259:
/// code: "ku", name: "Kurdish", nativeName: "Kurdî"
ku("ku", "Kurdish", "Kurdî"),

However it could make sense to support Northern Kurdish/Kurmanji, Central Kurdish/Sorani and Laki dialects as well alongside Southern Kurdish.
Do you want me to prepare the enum entries for these as well so we can add all of them together?

Kurdish itself is already supported as far as I can see in language_codes.dart#L1259:

Ah, I see. But what do you think about Kurdî and کوردی? If we keep this value Kurdî, the sdh("sdh", "Southern Kurdish", "کوردی خوارین") will be looked inconsistent. I think the کوردی looks more like native than Kurdî.

Do you want me to prepare the enum entries for these as well so we can add all of them together?

Yes, of course. Thank you!

Good point! I'd opt for کوردی as well there, Kurdî isn't even the correct alphabet to be considered "native" since it's just the romanized notation.
Then the doing would be the following:
UPDATE language_codes.dart#L1259 TO
/// code: "ku", name: "Kurdish", nativeName: "Kurdî"
ku("ku", "Kurdish", "کوردی"),

ADD
/// code: "ckb", name: "Sorani", nativeName: "کوردیی ناوەندی"
ckb("ckb", "Sorani", "کوردیی ناوەندی"),

/// code: "kmr", name: "Kurmanji", nativeName: "کورمانجی"
kmr("kmr", "Kurmanji", "کورمانجی"),

/// code: "lki", name: "Laki", nativeName: "له‌کی"
lki("lki", "Laki", "له‌کی"),

/// code: "prs", name: "Dari", nativeName: "دری"
prs("prs", "Dari", "دری"),

/// code: "sdh", name: "Southern Kurdish", nativeName: "کوردی خوارین"
sdh("sdh", "Southern Kurdish", "کوردی خوارین"),

Would you like to create a PR for those updates?

Sure thing, however I don't think I'm allowed to create branches

To create branches, you need to fork the repo first. I don't think I have applied any special security features to this repository.

I'll close this issue as the PR was merged. Thank you for your contribution!


MAPREDUCE-7301: Expose Mini MR Cluster attribute for testing

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
33m  2s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:

0m  0s
test4tests
The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m  4s

trunk passed

+1 :green_heart:
compile
0m 32s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
compile
0m 28s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
checkstyle
0m 24s

trunk passed

+1 :green_heart:
mvnsite
0m 33s

trunk passed

+1 :green_heart:
shadedclient
16m 56s

branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 23s

trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
0m 20s

trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+0 :ok:
spotbugs
0m 45s

Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
0m 42s

trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 28s

the patch passed

+1 :green_heart:
compile
0m 26s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javac
0m 26s

the patch passed

+1 :green_heart:
compile
0m 23s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
javac
0m 24s

the patch passed

+1 :green_heart:
checkstyle
0m 18s

the patch passed

+1 :green_heart:
mvnsite
0m 26s

the patch passed

+1 :green_heart:
whitespace
0m  0s

The patch has no whitespace issues.

+1 :green_heart:
shadedclient
15m 44s

patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 19s

the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
0m 19s

the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
findbugs
0m 53s

the patch passed

_ Other Tests _

+1 :green_heart:
unit
133m  3s

hadoop-mapreduce-client-jobclient in the patch passed.

+1 :green_heart:
asflicense
0m 42s

The patch does not generate ASF License warnings.

240m 27s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2372/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2372

JIRA Issue
MAPREDUCE-7301

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 4a8463b9e8e8 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / deb35a32baf

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2372/1/testReport/

Max. process+thread count
1213 (vs. ulimit of 5500)

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient U: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2372/1/console

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


github action to build rosrust in Ubuntu 20.04 with ros noetic

I see there was an action from a year ago that wasn't working 7cf2d89bd0e3492e8c45ccb697fd3259b9520310 and then removed, but started from a known good action.
I could add builds for other ubuntu and ros versions if desired.
The action runs fine in my fork https://github.com/lucasw/rosrust/runs/1443591100, but not here as a part of the PR?  Maybe there is something different about the configuration of this repo that was generating the Workflows can't be executed on this repository. Please check your payment method or billing status. then and not running this now?

If this works without a hitch, then that's awesome. Thanks!


[BUG] Go To Top Button Covers Footer Link

Description
When Scrolled Down to end of page the go to top buton covers the website icon making it inaccessible for users
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
Chrome
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I have read the discussion tab thoroughly and got the project idea
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

@rohansx Please assign me this issue under GSSoC 23

@ManasMadan go for it

@rohansx @k-deepak04, Have created a PR #397 Merging that closes this issue


Add support for django-postgres-extra

I've noticed django-postgres-extra uses it's own custom database backend and provides awesome list of features.
How can we make it work with django-tenants as django-tenants uses it's own custom db backend?
Any ideas or work around?
Might become a possible feature once we support django-postgres-extra in django-tenants.

@mjrulesamrat Have you tried using a setting called ORIGINAL_BACKEND?
https://github.com/tomturner/django-tenants/blob/48f9a351a6868f3cef064c37dafbe1ec25310c14/django_tenants/postgresql_backend/base.py#L17
Maybe if you make ORIGINAL_BACKEND point to django-postgres-extra's backend, the features will combine... or maybe not and there will be some conflicts?
Would you please give it a try and let us know?


Making napalm-eos ready for napalm-yang

Related to napalm-automation/napalm#361

Coverage increased (+0.02%) to 80.39% when pulling 69e9dcad2ee5b5decf74cf7d22cf2f4adfc2b0e0 on napalm_yang_ready into e4f33db8ef48b13fa3b8c108fcbdd6b442c7002d on develop.

Coverage increased (+0.02%) to 80.39% when pulling d88df6ceda134bf52fd48f0fd1bffa47a9ca21dc on napalm_yang_ready into e4f33db8ef48b13fa3b8c108fcbdd6b442c7002d on develop.


feat: add StringEnum<TEnum>

This PR adds the StringEnum<TEnum>, similar to Octokit's version^1. See Octokit documentation for more explanation and reasoning behind this approach^2
TODO:

[x] Handle IEnumerable<StringEnum<TEnum>> with a custom JsonConvertorFactory^3
[ ] ~Refactor ToEnumString and ToEnum helper methods to extension methods (or somewhere else)~
[x] StringEnumConverter (or StringEnumConverterFactory) tests

Closes #90

@martincostello I think this is ready for review

I pushed an update, but it looks like the PR isn't receiving updates 😢

@martincostello I just cut the v2.0.0 release. Can you upgrade and let me know how it goes?

Sure - I'll poke dependabot on my app and see what happens 😄

I just had to make a few minor adjustments to fix the compilation and maintain the behaviour: https://github.com/martincostello/costellobot/pull/656/commits/3e552ca3550e2f675e66f7e174c3ec12f02b53f5

Those changes look like what I would expect.
Thanks for all your help with this change!


Panda install from directory with spaces seems broken

Here's the result:

$ ./bootstrap.pl
==> Bootstrapping Panda
resolve stage failed for C:\cygwin64\home\Eric: Project C:\cygwin64\home\Eric not found in the ecosystem. Maybe try "panda update" first?
in sub die at C:\cygwin64\home\Eric Norige\panda\lib\Panda.pm line 217
in method resolve at C:\cygwin64\home\Eric Norige\panda\lib\Panda.pm line 220
in sub MAIN at bin/panda line 18
in block  at bin/panda line 152
resolve stage failed for Norige\panda: Project Norige\panda not found in the ecosystem. Maybe try "panda update" first?
in sub die at C:\cygwin64\home\Eric Norige\panda\lib\Panda.pm line 217
in method resolve at C:\cygwin64\home\Eric Norige\panda\lib\Panda.pm line 220
in sub MAIN at bin/panda line 18
in block  at bin/panda line 152
Failure Summary
C:\cygwin64\home\Eric(
*resolve stage failed for C:\cygwin64\home\Eric: Project C:\cygwin64\home\Eric not found in the ecosystem. Maybe try "panda update" first?)
Norige\panda(
*resolve stage failed for Norige\panda: Project Norige\panda not found in the ecosystem. Maybe try "panda update" first?)
The spawned process exited unsuccessfully (exit code: 1)
in sub MAIN at ./bootstrap.pl line 66
in block  at ./bootstrap.pl line 8

And here's the directory I'm running panda bootstrap from:

$ pwd
/home/Eric Norige/panda

Please try again. Should work better with commit 2beabe8745c1a0052c2c25c268b39cfc039b691a

Thanks for the quick response.  You have fixed my initial problem with spaces in directory names.
Now I have the following error:
==> Testing panda
no such file or directory
at gen/moar/m-CORE.setting:19948  (C:\rakudo/share/perl6/runtime/CORE.setting.moarvm:throw:215)
from gen/moar/m-CORE.setting:31141  (C:\rakudo/share/perl6/runtime/CORE.setting.moarvm:result:113)
from C:\cygwin64\home\Eric Norige\panda\lib\Panda\Common.pm:85  (C:\cygwin64\home\Eric Norige\panda\ext\File__Find\lib.precomp\34C40ED80206941C844106C0BECEBD0BCE0E58E3.1454618830.87862\FB\FB2AC5143A0D70D4BB6166FEA48317856CCD00C8::109)
from C:\cygwin64\home\Eric Norige\panda\lib\Panda\Common.pm:71  (C:\cygwin64\home\Eric Norige\panda\ext\File__Find\lib.precomp\34C40ED80206941C844106C0BECEBD0BCE0E58E3.1454618830.87862\FB\FB2AC5143A0D70D4BB6166FEA48317856CCD00C8:run-and-gather-output:40)
from C:\cygwin64\home\Eric Norige\panda\lib\Panda\Tester.pm:22  (C:\cygwin64\home\Eric Norige\panda\ext\File__Find\lib.precomp\34C40ED80206941C844106C0BECEBD0BCE0E58E3.1454618830.87862\F2\F28BAC90DDB6A6321BB9CD193D6D5771BA0337E4::99)
from C:\cygwin64\home\Eric Norige\panda\lib\Panda\Common.pm:37  (C:\cygwin64\home\Eric Norige\panda\ext\File__Find\lib.precomp\34C40ED80206941C844106C0BECEBD0BCE0E58E3.1454618830.87862\FB\FB2AC5143A0D70D4BB6166FEA48317856CCD00C8:withp6lib:152)
from C:\cygwin64\home\Eric Norige\panda\lib\Panda\Tester.pm:17  (C:\cygwin64\home\Eric Norige\panda\ext\File__Find\lib.precomp\34C40ED80206941C844106C0BECEBD0BCE0E58E3.1454618830.87862\F2\F28BAC90DDB6A6321BB9CD193D6D5771BA0337E4::101)
from C:\cygwin64\home\Eric Norige\panda\lib\Panda\Common.pm:20  (C:\cygwin64\home\Eric Norige\panda\ext\File__Find\lib.precomp\34C40ED80206941C844106C0BECEBD0BCE0E58E3.1454618830.87862\FB\FB2AC5143A0D70D4BB6166FEA48317856CCD00C8:indir:81)
from C:\cygwin64\home\Eric Norige\panda\lib\Panda\Tester.pm:5  (C:\cygwin64\home\Eric Norige\panda\ext\File__Find\lib.precomp\34C40ED80206941C844106C0BECEBD0BCE0E58E3.1454618830.87862\F2\F28BAC90DDB6A6321BB9CD193D6D5771BA0337E4:test:123)
from C:\cygwin64\home\Eric Norige\panda\lib\Panda.pm:156  (C:\cygwin64\home\Eric Norige\panda\ext\File__Find\lib.precomp\34C40ED80206941C844106C0BECEBD0BCE0E58E3.1454618830.87862\52\524FC50057CE4ACA8115150FC60859C80AECF5CC::112)
from C:\cygwin64\home\Eric Norige\panda\lib\Panda.pm:151  (C:\cygwin64\home\Eric Norige\panda\ext\File__Find\lib.precomp\34C40ED80206941C844106C0BECEBD0BCE0E58E3.1454618830.87862\52\524FC50057CE4ACA8115150FC60859C80AECF5CC:install:546)
from C:\cygwin64\home\Eric Norige\panda\lib\Panda.pm:234  (C:\cygwin64\home\Eric Norige\panda\ext\File__Find\lib.precomp\34C40ED80206941C844106C0BECEBD0BCE0E58E3.1454618830.87862\52\524FC50057CE4ACA8115150FC60859C80AECF5CC::52)
from C:\cygwin64\home\Eric Norige\panda\lib\Panda.pm:232  (C:\cygwin64\home\Eric Norige\panda\ext\File__Find\lib.precomp\34C40ED80206941C844106C0BECEBD0BCE0E58E3.1454618830.87862\52\524FC50057CE4ACA8115150FC60859C80AECF5CC:resolve:405)
from bin/panda:18  (::50)
from gen/moar/m-CORE.setting:3824  (C:\rakudo/share/perl6/runtime/CORE.setting.moarvm:sink-all:168)
from gen/moar/m-CORE.setting:12358  (C:\rakudo/share/perl6/runtime/CORE.setting.moarvm:sink:36)
from bin/panda:17  (:MAIN:101)
from bin/panda:14  (:MAIN:21)
from gen/moar/m-CORE.setting:26437  (C:\rakudo/share/perl6/runtime/CORE.setting.moarvm:MAIN_HELPER:269)
from bin/panda:152  (::174)
from bin/panda:1  (::10)
from gen\moar\stage2\NQPHLL.nqp:1304  (C:\rakudo\share\nqp\lib/NQPHLL.moarvm:eval:190)
from gen\moar\stage2\NQPHLL.nqp:1507  (C:\rakudo\share\nqp\lib/NQPHLL.moarvm:evalfiles:91)
from gen\moar\stage2\NQPHLL.nqp:1401  (C:\rakudo\share\nqp\lib/NQPHLL.moarvm:command_eval:214)
from src/Perl6/Compiler.nqp:69  (C:\rakudo\share\nqp\lib/Perl6/Compiler.moarvm:command_eval:93)
from gen\moar\stage2\NQPHLL.nqp:1375  (C:\rakudo\share\nqp\lib/NQPHLL.moarvm:command_line:114)
from gen/moar/m-main.nqp:37  (C:\rakudo\share\perl6\runtime\perl6.moarvm:MAIN:18)
from gen/moar/m-main.nqp:33  (C:\rakudo\share\perl6\runtime\perl6.moarvm::189)
from :1  (C:\rakudo\share\perl6\runtime\perl6.moarvm::8)
from :1  (C:\rakudo\share\perl6\runtime\perl6.moarvm::9)
The spawned process exited unsuccessfully (exit code: 1)
in sub MAIN at ./bootstrap.pl line 66
in block  at ./bootstrap.pl line 8
I'm not sure if this is another space-in-directory-name problem or the problem when missing TAP::Harness.  I guess it's likely the first, as I'd hope to see "TAP" somewhere in the error if it were the second.

The error seems to originate in trying to run "prove.bat". Should be easy to check: can you run prove.bat in the shell you're running panda in?
If there's no way to get a prove in there, you can still run panda --notests install, though it's possible that other things break.


should this project use decimals instead of floats?

https://github.com/cockroachdb/apd would be a good candidate

Agreed

The only stumbling block I can see here is that not everybody uses apd. There appear to be more using https://github.com/shopspring/decimal, for example.
It may be best to take a framework agnostic approach and maintain the values as strings. The developer can then use their choice of library in handling them.

After thinking about this, I think this is left to the user. If there are any ideas on how to support different libraries without being too intrusive to the core, I'm all for it.


Fix criu builds in Grid view

Fixes: https://github.com/adoptium/aqa-test-tools/issues/698
Signed-off-by: lanxia<EMAIL_ADDRESS>


PARQUET-1360: Use conforming API style, variable names in WriteFileMetaData functions

Per comments in PARQUET-1348. I also upgraded clang-format to 6.0 here so pardon the diff noise from that.
To summarize the style points:

Don't pass const std:shared_ptr<T>& if const T& will do
Don't pass const std::shared_ptr<T>& if T* will do
I prefer to only use class static function members for alternate constructors
Out arguments after in arguments
lower_with_underscores for variable names

Thanks! I would have done these changes myself had I known about (or spent more time to look at) the style standards.

No problemo, the style issues could be better documented (all we really have is https://github.com/apache/parquet-cpp#developer-notes).


LE Audio: Unicast group refactor

This PR refactors how the unicast group works in terms of when it is created, when it can be modified and how it is deleted. In a nutshell, the unicast group will now have the same lifetime as the underlying CIG. This gives us the same advantages and disadvantages of the CIG, and more tightly couples the unicast group to the ISO layer.
This required significant rewrite of some of the underlying structures as ISO channels need to be allocated once the bt_audio_streams were added to the group, instead of when the streams were configured.
Fixes https://github.com/zephyrproject-rtos/zephyr/issues/45374
Fixes https://github.com/zephyrproject-rtos/zephyr/issues/45741

Hello @Thalley,
Thanks for the great PR, I did a quick test with modified unicast_audio_client which search for two unicast_audio_server, connected and then start ISO stream:
https://github.com/rick1082/zephyr/blob/dual_link_unicast_audio/samples/bluetooth/unicast_audio_client/src/main.c
For now I'm able to:

Create group, scan, connect, configure, set QoS and enable the two stream if both unicast_audio_servers are connected in short time.
But if calling bt_audio_stream_start() for both unicast_audio_servers in short time, the only one stream can start properly.
The root cause could be the controller from unicast_audio_client try to connect two CISes in short time without waiting for the first one finished.
The error log is like this:

00:00:04.868,011]  bt_hci_core: opcode 0x2064 status 0x0c
[00:00:04.868,011]  bt_iso: bt_iso_chan_connect: Failed to connect CISes: -5
[00:00:04.868,041]  bt_unicast_client: bt_audio_stream_connect: -5
[00:00:04.868,041]  bt_audio_stream: bt_audio_stream_start: Starting stream failed: -5
[00:00:04.868,041]  main: Unable to start stream: -5

But if I let unicast_audio_client creates group for two streams, and then only connect to one unicast_audio_server
Then the unicast_audio_client will assert, the error log as following

[00:00:00.289,581]  bt_audio_stream: bt_audio_unicast_group_create: Added stream 0x20001d68 to group 0x200022d4
[00:00:00.289,581]  bt_audio_stream: bt_audio_unicast_group_create: Added stream 0x20001d8c to group 0x200022d4
[00:00:00.289,611]  bt_audio_stream: bt_audio_cig_create: group 0x200022d4 qos 0x20000194
[00:00:00.289,642]  bt_iso: bt_iso_chan_add: iso 0x20001928 chan 0x200022f0
[00:00:00.289,703]  bt_iso: bt_iso_chan_add: iso 0x200019f0 chan 0x20002324
[00:00:00.290,252]  main: Initialized
[00:00:00.290,252]  main: Waiting for connection
[00:00:00.292,877]  main: Scanning successfully started
[00:00:00.350,524]  main: Connected: D7:A6:2B:3E:76:29 (random)
[00:00:00.353,332]  main: Scanning successfully started
[00:00:02.600,067]  main: Security changed: level 2
[00:00:02.850,921]  main: discover sink cb for left
[00:00:03.350,189]  main: discover sink cb for left
[00:00:03.350,219]  main: Sink #0: ep 0x20002570
[00:00:04.851,531]  main: discover sink cb for left
[00:00:04.851,562]  main: Discover complete: err 0
[00:00:04.851,562]  bt_audio_stream: bt_audio_stream_config: conn 0x20001388 stream 0x20001d68, ep 0x20002570 codec 0x20000130 codec id 0x06 codec cid 0x0000 codec vid 0x0000
[00:00:04.851,593]  bt_audio_stream: bt_audio_stream_attach: conn 0x20001388 stream 0x20001d68 ep 0x20002570 codec 0x20000130
[00:00:04.851,654]  main: configure stream for sink[HEADSET_L], err = 0
[00:00:05.725,250]  main: Audio Stream 0x20001d68 configured, conn 0x20001388
[00:00:05.725,280]  bt_audio_stream: bt_audio_stream_qos: conn 0x20001388 group 0x200022d4
[00:00:05.725,280]  os: ***** MPU FAULT *****
[00:00:05.725,311]  os:   Data Access Violation
[00:00:05.725,311]  os:   MMFAR Address: 0xa0
[00:00:05.725,341]  os: r0/a1:  0x00000000  r1/a2:  0x20002324  r2/a3:  0x20001d8c
[00:00:05.725,341]  os: r3/a4:  0x20002324 r12/ip:  0x00000000 r14/lr:  0x0000f2d9
[00:00:05.725,372]  os:  xpsr:  0x61000000
[00:00:05.725,372]  os: s[ 0]:  0x00000000  s[ 1]:  0x00000000  s[ 2]:  0x00000000  s[ 3]:  0x00000000
[00:00:05.725,402]  os: s[ 4]:  0x00000000  s[ 5]:  0x00000000  s[ 6]:  0x00000000  s[ 7]:  0x00000000
[00:00:05.725,402]  os: s[ 8]:  0x00000000  s[ 9]:  0x00000000  s[10]:  0x00000000  s[11]:  0x00000000
[00:00:05.725,402]  os: s[12]:  0x00000000  s[13]:  0x00000000  s[14]:  0x00000000  s[15]:  0x00000000
[00:00:05.725,433]  os: fpscr:  0x00100000
[00:00:05.725,433]  os: Faulting instruction address (r15/pc): 0x0001965c
[00:00:05.725,463]  os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:05.725,463]  os: Current thread: 0x200010a0 (unknown)
[00:00:05.897,644]  os: Halting system

Faulting instruction is pointed to
https://github.com/Thalley/zephyr/blob/6494f1a8aa62b22bc57fed8eb184e437cf028cd8/subsys/bluetooth/audio/unicast_client.c#L233
LR is pointed to
https://github.com/Thalley/zephyr/blob/6494f1a8aa62b22bc57fed8eb184e437cf028cd8/include/zephyr/sys/slist.h#L274

Hello @Thalley, Thanks for the great PR, I did a quick test with modified unicast_audio_client which search for two unicast_audio_server, connected and then start ISO stream: https://github.com/rick1082/zephyr/blob/dual_link_unicast_audio/samples/bluetooth/unicast_audio_client/src/main.c
For now I'm able to:
1. Create group, scan, connect, configure, set QoS and enable the two stream if both unicast_audio_servers are connected in short time.
   But if calling bt_audio_stream_start() for both unicast_audio_servers in short time, the only one stream can start properly.
   The root cause could be the controller from unicast_audio_client try to connect two CISes in short time without waiting for the first one finished.
   The error log is like this:

00:00:04.868,011]  bt_hci_core: opcode 0x2064 status 0x0c
[00:00:04.868,011]  bt_iso: bt_iso_chan_connect: Failed to connect CISes: -5
[00:00:04.868,041]  bt_unicast_client: bt_audio_stream_connect: -5
[00:00:04.868,041]  bt_audio_stream: bt_audio_stream_start: Starting stream failed: -5
[00:00:04.868,041]  main: Unable to start stream: -5

2. But if I let unicast_audio_client creates group for two streams, and then only connect to one unicast_audio_server
   Then the unicast_audio_client will assert, the error log as following

[00:00:00.289,581]  bt_audio_stream: bt_audio_unicast_group_create: Added stream 0x20001d68 to group 0x200022d4
[00:00:00.289,581]  bt_audio_stream: bt_audio_unicast_group_create: Added stream 0x20001d8c to group 0x200022d4
[00:00:00.289,611]  bt_audio_stream: bt_audio_cig_create: group 0x200022d4 qos 0x20000194
[00:00:00.289,642]  bt_iso: bt_iso_chan_add: iso 0x20001928 chan 0x200022f0
[00:00:00.289,703]  bt_iso: bt_iso_chan_add: iso 0x200019f0 chan 0x20002324
[00:00:00.290,252]  main: Initialized
[00:00:00.290,252]  main: Waiting for connection
[00:00:00.292,877]  main: Scanning successfully started
[00:00:00.350,524]  main: Connected: D7:A6:2B:3E:76:29 (random)
[00:00:00.353,332]  main: Scanning successfully started
[00:00:02.600,067]  main: Security changed: level 2
[00:00:02.850,921]  main: discover sink cb for left
[00:00:03.350,189]  main: discover sink cb for left
[00:00:03.350,219]  main: Sink #0: ep 0x20002570
[00:00:04.851,531]  main: discover sink cb for left
[00:00:04.851,562]  main: Discover complete: err 0
[00:00:04.851,562]  bt_audio_stream: bt_audio_stream_config: conn 0x20001388 stream 0x20001d68, ep 0x20002570 codec 0x20000130 codec id 0x06 codec cid 0x0000 codec vid 0x0000
[00:00:04.851,593]  bt_audio_stream: bt_audio_stream_attach: conn 0x20001388 stream 0x20001d68 ep 0x20002570 codec 0x20000130
[00:00:04.851,654]  main: configure stream for sink[HEADSET_L], err = 0
[00:00:05.725,250]  main: Audio Stream 0x20001d68 configured, conn 0x20001388
[00:00:05.725,280]  bt_audio_stream: bt_audio_stream_qos: conn 0x20001388 group 0x200022d4
[00:00:05.725,280]  os: ***** MPU FAULT *****
[00:00:05.725,311]  os:   Data Access Violation
[00:00:05.725,311]  os:   MMFAR Address: 0xa0
[00:00:05.725,341]  os: r0/a1:  0x00000000  r1/a2:  0x20002324  r2/a3:  0x20001d8c
[00:00:05.725,341]  os: r3/a4:  0x20002324 r12/ip:  0x00000000 r14/lr:  0x0000f2d9
[00:00:05.725,372]  os:  xpsr:  0x61000000
[00:00:05.725,372]  os: s[ 0]:  0x00000000  s[ 1]:  0x00000000  s[ 2]:  0x00000000  s[ 3]:  0x00000000
[00:00:05.725,402]  os: s[ 4]:  0x00000000  s[ 5]:  0x00000000  s[ 6]:  0x00000000  s[ 7]:  0x00000000
[00:00:05.725,402]  os: s[ 8]:  0x00000000  s[ 9]:  0x00000000  s[10]:  0x00000000  s[11]:  0x00000000
[00:00:05.725,402]  os: s[12]:  0x00000000  s[13]:  0x00000000  s[14]:  0x00000000  s[15]:  0x00000000
[00:00:05.725,433]  os: fpscr:  0x00100000
[00:00:05.725,433]  os: Faulting instruction address (r15/pc): 0x0001965c
[00:00:05.725,463]  os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:05.725,463]  os: Current thread: 0x200010a0 (unknown)
[00:00:05.897,644]  os: Halting system

Faulting instruction is pointed to https://github.com/Thalley/zephyr/blob/6494f1a8aa62b22bc57fed8eb184e437cf028cd8/subsys/bluetooth/audio/unicast_client.c#L233 LR is pointed to https://github.com/Thalley/zephyr/blob/6494f1a8aa62b22bc57fed8eb184e437cf028cd8/include/zephyr/sys/slist.h#L274

Thanks, I'll look into this. Basically what is happening is that we are trying to connect multiple CIS in multiple commands at the same time, right?

Thank you @Thalley,
Yes, the item one is because the host should ask controller to finish the first CIS connection and then start the second one.
Otherwise only one CIS will be connected properly and the other one will fail.
But the item two is tricky, which leads to the scenario described in #45374 cannot be achieved.

Thank you @Thalley, Yes, the item one is because the host should ask controller to finish the first CIS connection and then start the second one. Otherwise only one CIS will be connected properly and the other one will fail. But the item two is tricky, which leads to the scenario described in #45374 cannot be achieved.

OK, thanks.
I'll try to see if I can find a solution for that, and somehow test it (the upstreamed unicast client sample does not support multiple servers right now).

Marking as draft as this will be rebased on top of https://github.com/zephyrproject-rtos/zephyr/pull/46440

Thank you @Thalley, Yes, the item one is because the host should ask controller to finish the first CIS connection and then start the second one. Otherwise only one CIS will be connected properly and the other one will fail. But the item two is tricky, which leads to the scenario described in #45374 cannot be achieved.

Created https://github.com/zephyrproject-rtos/zephyr/issues/46829 to deal with that (it is a separate issue to this PR).

Confirmed that this fixed the #45374, and also the issue#2 which I described in the previous comment.
The issue#1 it not a show stopper, since we can add retry mechanism if we cannot establish the ISO channel properly.

Rebased to solve merge conflicts

Rebased to solve merge conflicts

Note to self: There seemingly is still an issue with the unicast client sample if the unicast server sample restarts; need to investigate and fix as part of this change

Rebased to solve merge conflicts

Note to self: There seemingly is still an issue with the unicast client sample if the unicast server sample restarts; need to investigate and fix as part of this change

Unable to easily reproduce the issue with the current state of the PR. Will remove the DNM until issue has otherwise been reproduced.

Rebased to solve merge conflicts


Refactor to use common TestModelStub

[ ] Requires composer update to latest tipoff/support before merge.  Just putting out in draft form to illustrate what the TestModelStub can eliminate in testing support.

I merged the other PR on tipoff/support and released version 1.0.7 that includes the trait for the test model stub. Thanks for demonstrating it here. I like this approach.


Charmed slimes get friendly after being defeated instead of being removed

Might want to implement this with removing the battler as usual but then just adding a sprite.  We'll need to have your friends standing behind their slime party but untargetable as well.  I know the existing system had grasslands "reek" images which I removed simply by making them transparent, so look into using that as a solution.

This kinda just happened while I was implementing dynamic parties...