ProgressBar Attached Property to enable progress animation

Description of Change
Add an Attached Property to be used with the ProgressBar control, this will allow basic animation when setting the Progress value.
API Changes
public static class ProgressBarAttachedProperties {
}

PR Checklist

[ ] Has tests (if omitted, state reason in description)
[x] Has samples (if omitted, state reason in description)
[x] Rebased on top of main at time of PR
[x] Changes adhere to coding standard

This is a first draft! Because I would suggest having a new category item on the samples pages, it would be awesome if @sthewissen could help out a bit for the Color and Text?

Weird, thought we did discussed this when setting up the repository... @jfversluis can you remember? If not no worries I gladly change it.

I even think I suggested to do the opposite in the early PR's of the repository, when I was validating PR's. ( to always use the => ) hence why I'm wondering if we discussed this.

@Depechie I ran a benchmark dotnet against Mono and .NETFramework 4.7.2, and in both using Method(MyAction) has a better result. Running in the console I have this result:

BenchmarkDotNet=v<IP_ADDRESS>6-nightly, OS=Windows 10.0.19041.508 (2004/?/20H1)
Intel Core i5-7300HQ CPU 2.50GHz (Kaby Lake), 1 CPU, 4 logical and 4 physical cores
  [Host]     : .NET Framework 4.8 (4.8.4220.0), X64 RyuJIT
  DefaultJob : .NET Framework 4.8 (4.8.4220.0), X64 RyuJIT

Method
Mean
Error
StdDev
Gen 0
Gen 1
Gen 2
Allocated

NormalCall
98.30 ns
1.885 ns
1.851 ns
-
-
-
-

LambdalCall
109.03 ns
2.068 ns
1.934 ns
0.0204
-
-
64 B

Running in mobile (Android 9.0 Motorola One) I have this result:

You can see and run by yourself using this branch
If I did something wrong, and this is possible please let me know.

No, not saying you are benchmarking wrong or anything. At some point we saw the remark of the .NET team about the fact that doing many multiple calls on not having the Lamba would have impact due to not caching. We never doubted that remark ( so no benchmark from us ;) )
I will change it later when I'm back at the laptop.

@Depechie I'm not saying that issue doesn't exist, but maybe it already fixed, I said maybe because the Roslyn team has not said if it's already fixed. The open issue for this bug (dotnet/roslyn#5835) is still open but has a lot of PRs merged that reference this issue.
As you said the benchmark can't see any trouble but if the Roslyn team says that issue still exists I agree to change all our implementation to do that and gain this perf boost

@Depechie hey :) are you interested in this PR so far?

Yeah, sorry due to some personal things, I have not found the time. But next week will be fine and I'll finish this soon :)

Yeah, sorry due to some personal things, I have not found the time. But next week will be fine and I'll finish this soon :)

Sure, no pressure at all :) Thanks for the update

Amended the remarks

Amended the remarks

Seems there are some merge conflicts. Could you resolve them?
@jfversluis dropped AppResources. Now we should hardcode text in samples

So rebase with an overwrite is done... the review can continue again

@Depechie could you please fix the GitHub formatting in the first comment, section "API Changes"?
Reference just in in case:
https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/about-task-lists
https://docs.github.com/en/free-pro-team@latest/github/writing-on-github/creating-and-highlighting-code-blocks

@Depechie could you please fix the GitHub formatting in the first comment, section "API Changes"?
Reference just in in case:
https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/about-task-lists
https://docs.github.com/en/free-pro-team@latest/github/writing-on-github/creating-and-highlighting-code-blocks

@Cfun1 done... will someone ever rereview this PR?

@Cfun1 done... will someone ever rereview this PR?

@Depechie can you fix these merge conflicts? After that, I'll take a look at this PR <3

@Depechie can you fix these merge conflicts? After that, I'll take a look at this PR <3

@pictos @AndreiMisiukevich if you could review this? Merge at will after that

thx for the intervention @jfversluis been swamped with other stuff after hours that I had no time to check this :/

No worries! Just trying to get some older PRs closed, or even better: merged! :D

@jfversluis @Depechie I am fine with merging this PR, but I think that this feature should belong to Behaviors (attached behavior).
But I am OK with merging it now as is, then  I (or somebody else) will be able to refactor

I guess that makes sense... In that case let's not merge it just yet and do that first. I can see if I can pick that up sometime soon

@AndreiMisiukevich @jfversluis done ;) ( it's now a behavior )

Great thanks @Depechie we started to get more and more animation stuff :),  @jfversluis I didn't notice any issue linked to this pr (right pane under Milestone) is there one? just so we don't forget to update the docs.

https://github.com/MicrosoftDocs/xamarin-communitytoolkit/issues/82


[Remote Segment Store] New immutable metadata integration in RemoteSegmentStoreDirectory

Description
This is a draft PR, please do not review this until it is marked for review. I will update the details before marking it ready.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]

Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Tagging @harishbhakuni21 to review changes to snapshot interoperability logic as part of this PR.


[HUDI-4880] Fix corrupted parquet file issue left over by cancelled compaction task

Change Logs

Remove marker delete code in CompactionPlanOperator, which could cause corrupted parquet files issue if compaction tasks were cancelled
Fix HUDI-4108 in another way, ignore the marker file if it is already exist when creating

More background detail in https://issues.apache.org/jira/browse/HUDI-4880
Impact
No API changed, minor change for fixing bug.
Risk level: none
Contributor's checklist

[x] Read through contributor's guide
[x] Change Logs and Impact were stated clearly
[x] Adequate tests were added if applicable
[ ] CI passed

@hudi-bot run azure

CI pipeline failed because of Connection refused issue, let me re-run it again.

@hudi-bot run azure

@TengHuo please rebase master; there were some flaky test fixes

@TengHuo please rebase master; there were some flaky test fixes

sure, np, just rebased it to the latest master

Just reverted the code about ignoring duplicate marker error. The code will throw error if there is an existing duplicate marker file now.

Something wrong in maven build, not related with this PR.
Error:  Failed to execute goal on project hudi-utilities_2.12: Could not resolve dependencies for project org.apache.hudi:hudi-utilities_2.12:jar:0.13.0-SNAPSHOT: Failed to collect dependencies at io.confluent:kafka-avro-serializer:jar:5.3.4: Failed to read artifact descriptor for io.confluent:kafka-avro-serializer:jar:5.3.4: Could not transfer artifact io.confluent:kafka-avro-serializer:pom:5.3.4 from/to confluent (https://packages.confluent.io/maven/): transfer failed for https://packages.confluent.io/maven/io/confluent/kafka-avro-serializer/5.3.4/kafka-avro-serializer-5.3.4.pom: Connection reset -> [Help 1]


Make pytest-runner conditional

pytest runner should not be unconditionally included in setup_requires
This change makes it conditional on setup.py invocation arguments as recommended upstream [1]
See: https://github.com/pytest-dev/pytest/issues/3814
Identified via: FreeBSD Ports Bug 242065
Closes: #417
[1] https://pytest-runner.readthedocs.io/en/latest/#conditional-requirement

I wonder if it shouldn't be removed completely?  (as it appears to have been the plan with #417)

@blueyed: I personally would prefer pytest-runner for end-user usability/consistency, and as a packager, having to install tox to run the tests requires a different raft of packages than pytest-runner would.

@blueyed: I personally would prefer pytest-runner for end-user usability/consistency, and as a packager, having to install tox to run the tests requires a different raft of packages than pytest-runner would increase the package dependency footprint on a test host.

+1 and likewise, and not only from a dependency footprint, but more importantly, tox isn't a required test dependency for 'distribution', in the sense that it is just a wrapper to run other test tools (pytest, nose, unittest, et al) and provides isolation and other features relevant to 'development'.
Any forced requirement to use tox outside of development, just makes testing packages that much harder, as we (users, packagers, non-development consumers) need to:

Test against the python packages the system provides or has installed (not what is specified by tox or requirements.txt)
Disable network dependency resolution/fetching (isolated / clean room builds and testing)
Jump through hoops to get packages to test against (inherit from) the system Python environment

The distinction between development testing automation, and end user / consumer test-ability against what the system (packages) provides is key, same as there is a distinction between setup.py:*_requires for distribution and requirements.txt for deployment.

@ngie-eign @koobs how does that square with https://github.com/pytest-dev/pytest-runner#deprecation-notice ?

@blueyed  coverage tool looks broken, any idea how to fix it?

@blueyed coverage tool looks broken, any idea how to fix it?

Might be a bug/issue with the new Coveragepy 5.
https://github.com/neovim/pynvim/pull/421 works around / fixes it.

@ngie-eign @koobs how does that square with https://github.com/pytest-dev/pytest-runner#deprecation-notice ?

:(... I kind of liked the support, but what can I say? I'm not the upstream pytest-runner maintainer :/..

@ngie-eign @koobs how does that square with https://github.com/pytest-dev/pytest-runner#deprecation-notice ?

Yeh, it's getting harder as a downstream consumer to continue to fight for some notion of a 'canonical test command' in Python packages that 'just works', without having to waste time searching upstream documentation for how to run tests, test dependencies, etc
Nevertheless, thank you for taking care of this


Add support for taglib 2.0

Hi,
Current source code does'nt build with new taglib v2, could you please added its support?

In file included from src/wrapper/basics.cpp:34:
src/wrapper/common.hpp:129:39: error: ‘TagLib::uint’ has not been declared
129 |   Value &List_getitem(List &l, TagLib::uint i)
|                                       ^~~~~~
src/wrapper/common.hpp:140:37: error: ‘TagLib::uint’ has not been declared
140 |   void List_setitem(List &l, TagLib::uint i, Value v)
|                                     ^~~~~~
src/wrapper/common.hpp:177:49: error: ‘TagLib::uint’ has not been declared
177 |   Value *&PointerList_getitem(List<Value *> &l, TagLib::uint i)
|                                                 ^~~~~~
src/wrapper/common.hpp:188:46: error: ‘TagLib::uint’ has not been declared
188 |   void PointerList_setitem(List<Value *> &l, TagLib::uint i, auto_ptr v)

Regards,
David

I'm not massively using this myself much these days, but I'd be interested in PRs to fix this (while still supporting the original taglib as well).


Parallel url execution

Hello! How is parallel mechanism working in splash? For example i want to fetch one url (or different) in 50 times in parallel with different proxies. I wrote simple python3 script:
import sys
import requests

url = sys.argv[1]

splash_server = "http://<IP_ADDRESS>:8050"
SPLASH_LUA_SCRIPT = open('splash.lua', 'r').read()

resp = requests.post( '{0}/execute'.format( splash_server ),
                       json = {
                           'lua_source': SPLASH_LUA_SCRIPT,
                           'url': url,
                           'timeout' : 90,
                      }, timeout=90.0)
print( resp.content )

and run it like that
python3 sctipy.py "url"
4 times in different terminal and command
docker run -p 8050:8050 -p 5023:5023 scrapinghub/splash --max-timeout 90 --slots 100
has failed (btw what is --slots option means?). What i am doing wrong? Please help me.

There are rss limits, btw it's very unstable and fails if lua script is complicated. Aquarium help me.


Language Selector Updates

Added language logic to footer
Added change event to toggle active language
Updated language lines
Added toast on issuance of credential (toast not themed yet so won't blend into the background of the header in the near future)

One tweak I think is needed in a subsequent update.  In the both language sets, it should be "Français" and "English".
But the functionality here looks great.


[5.6] Add select to collection

Hi,
I added a select function to Collection, which made the collection behave like SQL select,
here is what is the difference between only and new one select
Current only function in Collection
$collection = collect(['product_id' => 1, 'name' => 'Desk', 'price' => 100, 'discount' => false]);

$filtered = $collection->only(['product_id', 'name']);

$filtered->all();

// ['product_id' => 1, 'name' => 'Desk']

New select function in Collection
$collection = collect([
    ['product_id' => 1, 'name' => 'Desk', 'price' => 100, 'discount' => false],
    ['product_id' => 2, 'name' => 'Chair', 'price' => 100, 'discount' => false],
    ['product_id' => 3, 'name' => 'Pen', 'price' => 100, 'discount' => true],
    ['product_id' => 4, 'name' => 'Ruler', 'price' => 100, 'discount' => false],
]);

$filtered = $collection->select(['product_id', 'name']);

$filtered->all();

/*
[
    ['product_id' => 1, 'name' => 'Desk'],
    ['product_id' => 2, 'name' => 'Chair'],
    ['product_id' => 3, 'name' => 'Pen'],
    ['product_id' => 4, 'name' => 'Ruler']
]
*/

Thanks

No plans on adding right now.


Fix hooks docs

This PR fixes various outdated parts of the hooks docs and adds a few minor improvements.
Related: https://github.com/apache/cordova-lib/pull/709, https://github.com/apache/cordova-lib/pull/710

@erisu Do we have to do something to make these changes go live?

@raphinesse I can start releasing the changes now.

@erisu Great, thanks!


The Dqlite server attempts connection to a wrong HTTP endpoint.

Required information

Distribution: Ubuntu
Distribution version: 20.04
The output of "lxc info" or if that fails:

Kernel version: 5.4.0-137-generic
LXC version:
LXD version: 4.0.9-a29c6f1, revision: 24061, tracking:  4.0/stable/ubuntu-20.04, publisher: canonical
Storage backend in use: zfs

Issue description
LXC commands are unresponsive. I issue commands such as "lxc list", and it hangs forever with no additional input.
I observe the output of /var/snap/lxd/common/lxd/logs/lxd.log, and i see that it is attempting the following:
t=2023-03-06T10:23:08+0000 lvl=warn msg="Dqlite: attempt 1: server 1: dial: Failed connecting to HTTP endpoint "1": dial tcp: address 1: missing port in address"
I also try the following commands:
$ sudo sqlite3 /var/snap/lxd/common/lxd/database/local.db "SELECT * FROM config"
shows:
2|cluster.https_address|<IP_ADDRESS>:8443
3|core.https_address|[::]
And the following command:
$ sudo sqlite3 /var/snap/lxd/common/lxd/database/local.db "SELECT * FROM raft_nodes"
shows:
1|1|0|
The following command:
$ sudo sqlite3 /var/snap/lxd/common/lxd/database/global/db.bin "SELECT * FROM nodes"
shows:
1|ubuntu1804||<IP_ADDRESS>:8443|30|220|2022-12-04 01:23:07.894961816+00:00|0|2
It in fact seems that is connecting to the wrong HTTP endpoint? the "config" table seems to show entries 2 and 3, while the "nodes" and "raft_nodes" entries have different identifiers? Is this part of the problem?
Attempting the "lxd cluster edit", shows the following:
"# Latest dqlite segment ID: 5530627
members:

id: 1
address: "1"
role: voter

But even when not modifying anything, attempting to return to the command prompt shows:
$ sudo lxd cluster edit
Config validation error: This cluster member has no raft role
Press enter to open the editor again or ctrl+c to abort change
It seems address="1" has no raft role, which i'm not sure what it means.
What may be the problem here?
Steps to reproduce
No steps to reproduce the error. The LXC/LXD features just stopped working one day.
Information to attach

[ ] Any relevant kernel output (dmesg)    -----------  DOES NOT WORK
[ ] Container log (lxc info NAME --show-log) ----------- DOES NOT WORK
[ ] Container configuration (lxc config show NAME --expanded)  -----------  DOES NOT WORK
[ ] Main daemon log (at /var/log/lxd/lxd.log or /var/snap/lxd/common/lxd/logs/lxd.log)
The output of this log is as follows:

t=2023-03-06T10:23:08+0000 lvl=info msg="Connecting to global database"
t=2023-03-06T10:23:08+0000 lvl=warn msg="Dqlite: attempt 1: server 1: dial: Failed connecting to HTTP endpoint "1": dial tcp: address 1: missing port in address"
t=2023-03-06T10:23:08+0000 lvl=warn msg="Dqlite: attempt 2: server 1: dial: Failed connecting to HTTP endpoint "1": dial tcp: address 1: missing port in address"
t=2023-03-06T10:23:09+0000 lvl=warn msg="Dqlite: attempt 3: server 1: dial: Failed connecting to HTTP endpoint "1": dial tcp: address 1: missing port in address"
t=2023-03-06T10:23:10+0000 lvl=warn msg="Dqlite: attempt 4: server 1: dial: Failed connecting to HTTP endpoint "1": dial tcp: address 1: missing port in address"
t=2023-03-06T10:23:11+0000 lvl=warn msg="Dqlite: attempt 5: server 1: dial: Failed connecting to HTTP endpoint "1": dial tcp: address 1: missing port in address"
t=2023-03-06T10:23:12+0000 lvl=warn msg="Dqlite: attempt 6: server 1: dial: Failed connecting to HTTP endpoint "1": dial tcp: address 1: missing port in address"
t=2023-03-06T10:23:13+0000 lvl=warn msg="Dqlite: attempt 7: server 1: dial: Failed connecting to HTTP endpoint "1": dial tcp: address 1: missing port in address"
t=2023-03-06T10:23:14+0000 lvl=warn msg="Dqlite: attempt 8: server 1: dial: Failed connecting to HTTP endpoint "1": dial tcp: address 1: missing port in address"
t=2023-03-06T10:23:15+0000 lvl=warn msg="Dqlite: attempt 9: server 1: dial: Failed connecting to HTTP endpoint "1": dial tcp: address 1: missing port in address"
(it keeps generating these, periodically)

[ ] Output of the client with --debug -----------  DOES NOT WORK
[ ] Output of the daemon with --debug (alternatively output of lxc monitor while reproducing the issue)  -----------  DOES NOT WORK

A working cluster normally looks like:
root@micro01:~# lxd sql global "SELECT * FROM nodes"
+----+---------+-------------+-----------------------------+--------+----------------+--------------------------------+-------+------+-------------------+
| id |  name   | description |           address           | schema | api_extensions |           heartbeat            | state | arch | failure_domain_id |
+----+---------+-------------+-----------------------------+--------+----------------+--------------------------------+-------+------+-------------------+
| 1  | micro01 |             | [2602:fc62:d:100::169]:8443 | 69     | 346            | 2023-04-14T03:48:08.329649229Z | 0     | 4    | <nil>             |
| 2  | micro02 |             | [2602:fc62:d:100::170]:8443 | 69     | 346            | 2023-04-14T03:48:05.583258161Z | 0     | 4    | <nil>             |
| 3  | micro03 |             | [2602:fc62:d:100::171]:8443 | 69     | 346            | 2023-04-14T03:48:02.768509737Z | 0     | 4    | <nil>             |
+----+---------+-------------+-----------------------------+--------+----------------+--------------------------------+-------+------+-------------------+
root@micro01:~# lxd sql local "SELECT * FROM raft_nodes"
+----+-----------------------------+------+---------+
| id |           address           | role |  name   |
+----+-----------------------------+------+---------+
| 1  | [2602:fc62:d:100::169]:8443 | 0    | micro01 |
| 2  | [2602:fc62:d:100::170]:8443 | 0    | micro02 |
| 3  | [2602:fc62:d:100::171]:8443 | 0    | micro03 |
+----+-----------------------------+------+---------+

Whereas a non-clustered one looks like:
stgraber@dakara:~/data/code/lxc/lxd (stgraber/launch)$ lxd sql local "SELECT * FROM raft_nodes"
+----+---------+------+------+
| id | address | role | name |
+----+---------+------+------+
+----+---------+------+------+
stgraber@dakara:~/data/code/lxc/lxd (stgraber/launch)$ lxd sql global "SELECT * FROM nodes"
+----+------+-------------+---------+--------+----------------+----------------------+-------+------+-------------------+
| id | name | description | address | schema | api_extensions |      heartbeat       | state | arch | failure_domain_id |
+----+------+-------------+---------+--------+----------------+----------------------+-------+------+-------------------+
| 1  | none |             | <IP_ADDRESS> | 69     | 347            | 2021-08-20T02:43:11Z | 0     | 2    | <nil>             |
+----+------+-------------+---------+--------+----------------+----------------------+-------+------+-------------------+

Your looks like a bit of an in-between for some reason.
To fix it, I can think of two options:

Use lxd cluster edit (after stopping LXD) to set the address to <IP_ADDRESS>:8443 which hopefully will cause it to line up with the other entry
Use lxd cluster recovery-from-quorum-loss to have the Raft configuration reset (only an option here because your cluster only has a single machine)

Also note that you're on LXD 4.0 which is our previous LTS branch, this branch only gets security updates at this point, we'd strongly recommend switching to 5.0 once the system is back online as that's something we'd actually push bugfixes to.


variables are not re-read

I have a snippet like this:
{% include_absolute downloads/code/{{ include.file }} %}
<a class="btn btn-primary" href="/downloads/code/{{ include.file }}">
   Download {{ include.file }}
</a>

Which I include like:
{% include code-link.html  file="file1.g" %}
{% include code-link.html  file="file2.g" %}

include_absolute seems to pull in file1.g twice.

Here is a little patch that seems to fix the problem:
diff --git a/include_absolute.rb b/Users/caj/orig.rb
index 12271cf..a9293ce 100644
--- a/include_absolute.rb
+++ b/Users/caj/orig.rb
@@ -32,9 +32,9 @@ module Jekyll
     end

     def render(context)
-      @renderfile  = render_variable(context) || @file
+      @file  = render_variable(context) || @file
       source = File.expand_path(context.registers[:site].config['source']).freeze
-      path   = File.join(source, @renderfile)
+      path   = File.join(source, @file)

       begin
         partial = Liquid::Template.parse(read_file(path, context))

Or, based on include.rb in jekyll, do file = render_variable(context) || @file, and then use file later on.

Thanks for reporting Chris, https://github.com/tnhu/jekyll-include-absolute-plugin/commit/1ea7dc0de623dd20707a3ac2cdabc285622c263a should do it.


Error: http://deis.d.domain.com does not appear to be a valid Deis controller.

After a fresh stateless install of deis v1.12.2 on AWS, all my units are "active/running" but when I try to register to the controller, I'm getting:
$ deis register http://deis.d.domain.com
Error: http://deis.d.domain.com does not appear to be a valid Deis controller.
Make sure that the Controller URI is correct and the server is running.

I made sure that I had a CNAME that points to my ELB on both d.domain.com and *.d.domain.com.
The controller does not seem to receive any requests:
$ fleetctl journal -f deis-controller
-- Logs begin at Mon 2016-02-01 01:08:05 UTC. --
Feb 01 03:22:18 ip-10-21-1-171.ec2.internal sh[17352]: [2016-02-01 03:22:18 +0000] [126] [INFO] Listening at: http://<IP_ADDRESS>:8000 (126)
Feb 01 03:22:18 ip-10-21-1-171.ec2.internal sh[17352]: [2016-02-01 03:22:18 +0000] [126] [INFO] Using worker: sync
Feb 01 03:22:18 ip-10-21-1-171.ec2.internal sh[17352]: [2016-02-01 03:22:18 +0000] [130] [INFO] Booting worker with pid: 130
Feb 01 03:22:18 ip-10-21-1-171.ec2.internal sh[17352]: [2016-02-01 03:22:18 +0000] [131] [INFO] Booting worker with pid: 131
Feb 01 03:22:18 ip-10-21-1-171.ec2.internal sh[17352]: [2016-02-01 03:22:18 +0000] [132] [INFO] Booting worker with pid: 132
Feb 01 03:22:18 ip-10-21-1-171.ec2.internal sh[17352]: [2016-02-01 03:22:18 +0000] [133] [INFO] Booting worker with pid: 133
Feb 01 03:22:18 ip-10-21-1-171.ec2.internal sh[17352]: [2016-02-01 03:22:18 +0000] [134] [INFO] Booting worker with pid: 134
Feb 01 03:22:19 ip-10-21-1-171.ec2.internal sh[17352]: Publishing DB state to etcd...
Feb 01 03:22:19 ip-10-21-1-171.ec2.internal sh[17352]: Done Publishing DB state to etcd.
Feb 01 03:22:19 ip-10-21-1-171.ec2.internal sh[17352]: deis-controller running...

and the router is getting requests which I don't really understand (AWS PROXY protocol):
$ fleetctl journal -f deis-router@1
-- Logs begin at Sun 2016-01-31 23:25:49 UTC. --
Feb 01 03:21:56 ip-10-21-1-186.ec2.internal sh[7332]: [INFO] - 2016/02/01 03:21:56 [notice] 44#0: signal process started
Feb 01 03:21:56 ip-10-21-1-186.ec2.internal sh[7332]: [INFO] - deis-router running...
 That makes sense because I added it later.
core@ip-10-21-1-171 ~ $ etcdctl cluster-health
member 2f73055b916d695b is healthy: got healthy result from http://<IP_ADDRESS>:2379
member<PHONE_NUMBER>7c13a9 is healthy: got healthy result from http://<IP_ADDRESS>:2379
member 480f6772af64d3e0 is healthy: got healthy result from http://<IP_ADDRESS>:2379
cluster is healthy
core@ip-10-21-1-171 ~ $ fleetctl list-units | grep controller
deis-controller.service 7b8ab575.../<IP_ADDRESS> active  running
core@ip-10-21-1-171 ~ $

Manually changing my AWS ELB to use HTTP instead of TCP seems to have fixed the problem.
Before:

After:

Oh ok, I think I figured out what happened!
At some point I uninstalled deis and did a etcdctl rm --recursive /deis to make sure I had a clean state. I re-followed all the stateless install steps and installed/started the stateless platform.
What I didn't notice was that the provision-aws-cluster.sh wrote that key to etcd: deisctl config router set proxyProtocol=1 and I had lost it when I wiped /deis.
tl;dr: fixed problem with deisctl config router set proxyProtocol=1


Add animation listener workaround

When hiding/displaying form layouts it should execute notifyResize, it can be performed by listening to animationend events
Take as reference, how the trick is used in grid https://github.com/vaadin/vaadin-grid/blob/2633e16f14df253a9673c0660c8d53a968d6adb9/src/vaadin-grid.html#L303

Workaround added in #90


Support for Terraform parameter Custom  Validation Rules

Currently Parameter parser for AWS Service Catalog Engine for Terraform only supports Terraform variable arguments including name, default, type, description and sensitive , but they do not support  neither validation rules nor nullable fields .
I am proposing a solution where the parser supports validation rules and nullable values so even before it goes to the stage of terraform apply it should be able to return to the user the invalidity where the current ParserInvalidParameterException  exception .
The proposal would help the bring about similar capability found in CFN templates to validate the parameter values with constraints from the CFN engine.

Hi @neelaruban,
Thank you for your proposal. We'll add this to our backlog of feature request.

@iampkmone thanks

@neelaruban FWIW you can enter the value "null" (without quotes) when provisioning (which the engine interprets as a string), but Terraform will coerce the value to null for non-string datatypes.  It's not a great workaround, but it works in some cases.
A quick look at the write_variable_override() function in override_manager.py would suggest that a check of the variable's datatype needs to be added in order to properly handle null versus "null".


Signup form lowercasing

Right now it doesn't accept mixed-case when it requires lowercase. E.g. typing in Aapeli28 (as one does automatically on iPhone), it's not accepted.
This should lowercase as one is typing.

Are usernames case sensitive on the backend?

Yes, the frontend should lowercase them. Non-lowercase characters are not supported for usernames.


init_score not working in LGBMClassifier

Description
Setting init_score param in LGBMClassifier doesn't work because the internal call to lightgbm.basic.list_to_1d_numpy() fails. But if called manually the function works and returns correctly (see example). Or is there something more to it and i didn't understand how this param works?
Reproducible example
https://colab.research.google.com/drive/1LooDVMlITs-mlSi8hjRyjwOZuMCl73ZR?usp=sharing
Environment info
LightGBM version or commit hash:
2.2.3
Command(s) you used to install LightGBM
pip install lightgbm

@8549 Thanks for rising this issue!
First of all, please let me note that you are using very old version of LightGBM (2.2.3). The actual one is 3.2.1. Use pip to update it:
pip install lightgbm -U

As for the error you've encountered, please check fit() arguments' description carefully.
...

eval_set : list or None, optional (default=None)
    A list of (X, y) tuple pairs to use as validation sets.

...

eval_init_score : list of arrays or None, optional (default=None)
    Init score of eval data.

...

You should pass lists for eval_* arguments.
Just fix these lines in your code:
...
    eval_set=[(X_val, y_val)],
    eval_init_score=[np.full_like(y_val, init_val, dtype=float)],
...

Also, please read the following comment and next time include a code in your issue on GitHub.
https://github.com/microsoft/LightGBM/issues/4511#issuecomment-898811415
from sklearn import datasets, model_selection
import lightgbm
import numpy as np

X, y = datasets.make_classification(
    n_samples=30000,
    n_features=20,
    n_informative=6,
    n_redundant=4,
    n_classes=2,
    random_state=42)

X_train, X_test, y_train, y_test = model_selection.train_test_split(X, y, random_state=42)
X_fit, X_val, y_fit, y_val = model_selection.train_test_split(X_train, y_train, random_state=42)

init_val = 0.013392793462664946

model = lightgbm.LGBMClassifier(learning_rate=0.01, silent=False)
model.fit(
    X_fit,
    y_fit,
    init_score=np.full_like(y_fit, init_val, dtype=float),
    eval_set=(X_val, y_val),
    eval_init_score=np.full_like(y_val, init_val, dtype=float).tolist(),
    early_stopping_rounds=20,
    verbose=100
    )

y_pred = model.predict(X_test)

print()
print(f"Test's ROC AUC: {metrics.roc_auc_score(y_test, y_pred):.5f}")
print(f"Test's logloss: {metrics.log_loss(y_test, y_pred):.5f}")

lightgbm.basic.list_to_1d_numpy(np.full_like(y_fit, init_val, dtype=float))
# array([0.01339279, 0.01339279, 0.01339279, ..., 0.01339279, 0.01339279,
       0.01339279], dtype=float32)

lightgbm.__version__
# '2.2.3'

Logs:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-12-505280180a1a> in <module>()
     20     eval_init_score=np.full_like(y_val, init_val, dtype=float).tolist(),
     21     early_stopping_rounds=20,
---> 22     verbose=100
     23     )
     24

7 frames
/usr/local/lib/python3.7/dist-packages/lightgbm/basic.py in list_to_1d_numpy(data, dtype, name)
     81     else:
     82         raise TypeError("Wrong type({0}) for {1}.\n"
---> 83                         "It should be list, numpy 1-D array or pandas Series".format(type(data).__name__, name))
     84
     85

TypeError: Wrong type(float) for init_score.
It should be list, numpy 1-D array or pandas Series

Thank you very much for the detailed help. I was able to run my code.


Scope optional Tokens to undefined or provided value

Fixes #129:

Problem/Rationale
Optional Tokens are not as explicit as they should be, and should allow for only:

undefined - no value registered
T - value that was registered

Today, they are maybe values (which allows nulls).
Solution/Change/Deliverable
Change type signature of Token<T> to:
type Token<T> = {
  (): T,
  optional: () => void | T,
};

!merge


Remove Greeter contract an all it's references.

❯ fd -i greet
ExecutionHelper/test/greeter.test.ts

❯ rg -i greet
deploy/deploy.ts
4:// It will deploy a Greeter contract to selected network
7:  const contractArtifactName = "Greeter";

ExecutionHelper/test/greeter.test.ts
6:describe('Greeter', function () {
7:  it("Should return the new greeting once it's changed", async function () {
10:    const greeting = "Hello world!";
11:    const greeter = await deployContract("Greeter", [greeting], { wallet, silent: true });
13:    expect(await greeter.greet()).to.eq(greeting);
15:    const newGreeting = "Hola, mundo!";
16:    const setGreetingTx = await greeter.setGreeting(newGreeting);
19:    await setGreetingTx.wait();
21:    expect(await greeter.greet()).to.equal(newGreeting);

ExecutionHelper/deploy/deploy.ts
4:// It will deploy a Greeter contract to selected network

ExecutionHelper/deploy/utils.ts
45: * @param {string} data.contract The contract's path and name. E.g., "contracts/Greeter.sol:Greeter"

ExecutionHelper/deploy/interact.ts
14:  const contractArtifact = await hre.artifacts.readArtifact("Greeter");
24:  const response = await contract.greet();
28:  const transaction = await contract.setGreeting("Hello people!");
35:  console.log(`The message now is: ${await contract.greet()}`);

deploy/interact.ts
14:  const contractArtifact = await hre.artifacts.readArtifact("Greeter");
24:  const response = await contract.greet();
28:  const transaction = await contract.setGreeting("Hello people!");
35:  console.log(`The message now is: ${await contract.greet()}`);

deploy/utils.ts
45: * @param {string} data.contract The contract's path and name. E.g., "contracts/Greeter.sol:Greeter"

I can take this up.
Can you please assign this to me?

I'm ready to do this
Could you assign this to me??!!


Don't overwrite job config file settings

Don't overwrite job config file's settings if CLI args aren't present.

network mode
security option
token

@rohansingh

:+1:


Anchor tag containing twig href broken in  parent

When I use anchor tags with a twig variable for the href inside of a li tag, the formatter is combining the a and href into a single tag.
Before format

Home

After format

<ahref="{{path_for('home')}}">Home

I just noticed it's not just the href attribute affected and discovered an add workaround.
Before format:
Home

After format:
Home

If I add a comment before or after the li, the formatter works properly:
Before format:

Home

{# test #}

After format:

    Home

{# test #}

This has been fixed in the latest update 👍

Either it was never fixed of it reappeared again. I got this markup:

Hello

which gets formated to this:

<ahref="{{ path }}">Hello

Version 0.9.0


Let's Improve This.

So, I have some experiments related to RVC and ONNX lying in my laptop. The goal was to have deeper understanding how it work so I can create Java Android port of RVC pipeline with full on-device inference. So far I have these working:

Full ONNX-only inference.
RMVPE f0 pitch estimator. I only used RMVPE in the first place.
Support for both 32-bit and 16-bit float content-vec 768. There's no noticeable difference between 32-bit and 16-bit content-vec.

With my implementation, I can inference up to 36 seconds long audio before ONNX Runtime starts throwing error. It also doesn't perfect. There are certain issues and notes:

It uses okada's RMVPE .onnx file.
The voice ONNX must be exported from okada's voice-changer.
For some reason, using CPU + okada's RMVPE result in bad quality. Using DML works though.
Faiss is not used. This means the index file is unused. Since installing Faiss through pip is not supported, then I don't bother.
Considering all of that, my code theoretically works up to Python 3.12.

I don't want it to go waste, but at same time I need some insights on how to improve it further. If you'd like to discuss it further, please let me know your Discord username (or perhaps another way to communicate) by sending me an email (it's in my GitHub). Perhaps we could merge all the improvements to this repository instead.

There's few things to consider.

W-okada's onnx export isn't really optimal for rvc purposes due to some key and dictionary differences. It is recommended to export it using RVC ( I have a proper working exporter in my wip fork ). One in standard rvc and most likely other forks is faulty and has some issues.
W-okada's onnx is meant to be working with DML, so, AMD and most likely Intel but I ain't sure on that one. Perhaps there's a way to incorporate Vulkan into it but I ain't the person to ask for that really.
Faiss not being used isn't that much of a deal, given the constraits.
Generally, when rvc still 'worked' in dml manner, it was using the bundled rmvpe.onnx rather than w-okada's.

Overal, I think that chasing onnx isn't a worthy subject mainly due to the fact the current pytorch -> onnx exporting methodology is based on the old static tracing. If one was to create a onnx dynamo based exporting where stuff's dynamic, it'd definitely improve the models' performance and " reproduction quality ".
https://pytorch.org/docs/stable/onnx.html
Other than that:

Both you and me encounter memory errors in longer ish inferences. I was able to squeeze 50~ ish secs max out of it. Without some more advanced and actually working internal slicing / segmenting and then concatenation, yeah, rip.
Having no ability to use Faiss + worse quality onnx compared to pytorch already is a downside.
Despite it being counterintuitive, onnx inference isn't that much faster than pytorch ( rvc native ) on cpu and there we've no inference length constraints as well as index is an option.

And for some closing words, yea, I kinda abandoned the idea after seeing how little benefits if any it provides while introducing issues.
However, you might this interesting, for your android-port purposes ( I considered going that way but nah, seems it ain't any better, esp in terms of memory issues ~ at least on pc. )
https://axinc.jp/en/solutions/ailia_sdk.html
https://github.com/axinc-ai/ailia-models
https://github.com/axinc-ai/ailia-models/tree/master/audio_processing/rvc
In any way, good luck! I personally am out of it.
In the best case scenario, Imma just add a native onnx support to my wip rvc fork.

W-okada's onnx export isn't really optimal for rvc purposes due to some key and dictionary differences.
For me, it's not an issue. My script can detect the available input parameter names and handle the difference as needed. Thus supporting both okada's and mainline ONNX. The reason I'm using okada's exporter because mainline exporter doesn't export the model correctly. It gives ONNX file but throws (not a memory) error during inference.

W-okada's onnx is meant to be working with DML
Probably. I'n only hitting the issue specifically with RMVPE though. I should try mainline RMVPE and see how it goes. Any idea where I can find the mainline RMVPE.onnx?

Both you and me encounter memory errors in longer ish inferences.
My error is not related to memory errors. I'm inferencing on integrated AMD APU which means the VRAM is CPU RAM. Rather it errors related to the tensor itself unable to handle very long inputs, around 1860 x 960 samples for V2 48k model.

If one was to create a onnx dynamo based exporting where stuff's dynamic, it'd definitely improve the models' performance and " reproduction quality ".
I think this would be a good idea to try out, if dynamo export is supported on Windows.

Without some more advanced and actually working internal slicing / segmenting and then concatenation, yeah, rip.
For my script, I have 2 strategies to solve this issue:

Silence detection. I'm using 1D convolution to compute the RMS of the sample. If the average is below threshold then I treat them as silence and slice them.
Segmentation interpolation. If silence detection is longer than 30 seconds, then I fallback to interpolating the samples. I infer the previos 0.1 second buffer, 0.2 second of desired audio, and 0.1 second ahead buffer then I interpolate between those 0.1 seconds buffer. This result is worse quality though.
Sure there could be a better segmentation. The mainline repository is probably a good way to look at this (if it has one).

Despite it being counterintuitive, onnx inference isn't that much faster than pytorch ( rvc native ) on cpu
Yeah. For my case though, my intended target won't be able to run Python code at all. Let alone Numpy or PyTorch. At least ONNX has NNAPI (low-level Android API for neural network) backend though, so it may able to leverage the Hexagon DSP in my phone at least.

For the solution, I'm not quite happy of resorting to commercial solution sadly. The reason why I wrote my own because I want to eventually open-source the app source code and improving trust by using only OSS libraries. Their code still can be used for reference to figure out what certain parameters are doing though.

Thanks. Friend request sent. My Discord username is similar to my GitHub username, you can't miss it. You'll now it when you see it.

Thanks. Friend request sent. My Discord username is similar to my GitHub username, you can't miss it. You'll know it when you see it.

Well, so far haven't seen anything ~ You sure you invited the right person?

Weird. Well my Discord is my GitHub username without "Miku".
Pada Jum, 12 Apr 2024, 01.28, Codename;0 @.***> menulis:

Thanks. Friend request sent. My Discord username is similar to my
GitHub username, you can't miss it. You'll know it when you see it.
Well, so far haven't seen anything ~ You sure you invited the right person?
—
Reply to this email directly, view it on GitHub
https://github.com/codename0og/RVC_Onnx_Infer/issues/3#issuecomment-2050169160,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZHFFUA5IWPCXQAFERRUL3Y43B3TAVCNFSM6AAAAABF2NL3BGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGE3DSMJWGA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


[Laws] How to mix Discipline and F[,] ?

There is examples on the internet to use discipline and tagless final : https://www.iteratorshq.com/blog/tagless-with-discipline-testing-scala-code-the-right-way/
But is it possible to check if the production-interpreter (not a test-interpreter) is lawful (if we can define laws for our algebras) ?

https://www.youtube.com/watch?v=mkQLU7OzqYM is just perfect


Update project to use Zig 0.12.x

Some overview

Zig compiler enforced to use const if variable wasn't mutated
All 3rdparty libraries are submodule repositories. Since zmesh, zaudio are from zig-gamedev, that repo is now a submodule.
stb_image is replaced with zstbi from zig-gamedev. Because of my poor zig knowledges, I couldn't think a way to abstract Image api changes, so updated framework to integrate it natively.

zstbi required an init(allocator) to initialize. I didn't know where to call it and place that built for me successfully was to use Color.init()

Updated readme, but I'm not sure about the very last thing - linking this framework project.
Rewrote build.zig, to follow sokol-example repository to allow emscriptem builds. I couldn't find how to link dependencies to link to emscriptem module. That part is currently commented out. Not sure also how to setup zaudio with emscriptem.

Looking good! Having dependencies as submodules might break the use case of including delve-framework as a dependency in another project - can you also fork https://github.com/Interrupt/delve-framework-example and update it to use your fork of delve-framework as a dependency and see if it still builds like that?

Reworked so zstbi, zmesh, zaudio, system-sdk are local to repository and ziglua, sokol-zig as dependecies.
Dunno why, but removing submodules the example repository complains:
const zmesh = @import("zmesh");


Can't connect to server

I installed multiogar, and when I go to http://agar.io/?ip=<IP_ADDRESS>:443, it won't connect me to the server( when I press play, there's a blank screen). I installed everything correctly, and I ran win-Start.

For one, make sure the port in gameserver.ini is 443. And if you have Skype open, you will need to change the port to something else.

The port is 443 and I don't have Skype

@ManishaD6 Try logging out of your agar.io FB / Gmail account.

^

Im not logged in lol

and I also unchecked the no skins option

Please can you provide me an image of your console when connecting to a server? Thanks.

Miniclip has done some protocol changes on their side, so for now use a custom client.

Can you tell me the custom clients I can use, please?

AlexHGaming, the console remains the same as when I opened it

sorry it's sideways...

Not your node console, the web console.

Sorry, how do I find the web console...

F12 -> Console

I think agar.io broke private servers again...

What clients can I use?

You could try mine: https://agarian-2.github.io/

I don't think it works :(

Dude yes it works, I use it all the time!

You select Local 443 right?

Yes...

I tried and it just says connecting... Thank you though.

Just as long as you have a server running on the port 443, then you connect to an option which has the value of port 443, you should be able to connect without any errors.

Yeah miniclit update agario client. you can use my tutorial test site http://cowpits.ga to play on your server.
Select LOCAL from the drop down list, it's set to connect to <IP_ADDRESS>:443
If you want to make your own I made a bunch of tutorial on my channel youtube.com/cowpits

I've been moving all weekend and don't have my stuff set up yet to figure out their new protocol might be a while before i get to it.

Thank you cowpits, and everyone else for your support!

Client sided.
If you want to add skins on the cigar clients, go to the folder called skins then add the images there.

Seems like this problem is solved, let me know if there are any more issues.

@ManishaD6 I added a bunch of agario skins to the gallery.

Thank you so much ♥!


SECRET_KEY should not commit to remote

https://github.com/NKUST-ITC/AP-API/blob/56d37165f906a2512613cafb129553e7d41c52f5/src/config.py#L4
@abc873693
Is current api server using this SECRET_KEY ?

It's my fault.

https://github.com/NKUST-ITC/AP-API/commit/56d37165f906a2512613cafb129553e7d41c52f5


Prebuild ABI

What if an addon author compiles his prebuilds e.g. on windows with VS2015? Node releases are currently build with VS2013. These two are not ABI compatible AFAIK.

Then maybe that addon author shouldn't compile using VS2015

Incompatibilities like that are rare. When they do happen (for example https://github.com/sass/node-sass/issues/1283), the solution is indeed to compile the addon with an older VS.
Plus, nowadays AppVeyor defaults to VS2015, Travis For Windows uses VS2017, Node uses VS2017, and VS2015 and VS2017 are binary compatible.


Update of the docs

With the implementation of the common library, a couple of values changed and some features have been added.
We can also add more documentation to this chart.
Note to the reviewer
There is a spurious change in the templates/kubelet/daemonset.yaml file. As I have to bump the version to change the documentation I am fixing also that bug that I found while I was doing the docs.

I added the skip-e2e labels just to save actions minutes, if you need them remove the label :)

As it was the final tests I leaved it to be completely sure that is ready to release.
But I am only changing the README so it is OK.


Added Refresh Button to Page Records View

Hi Gani ;),
thank you for this awesome project. I thought it would be very beneficial to have an easy way to refresh the collections. I hope you like the position.
Have nice day ;).

Thanks for the PR.
I'll will add the refresh button also to the other list views for consistency and will generate the ui/dist build since goreleaser will not pass.


Strict standards: Non-static method MvcRouter::admin_page_param() should not be called statically

Hi!
I report the following problem:
Strict standards: Non-static method MvcRouter::admin_page_param() should not be called statically, assuming $this from incompatible context ....
Description problem:
at line 7 of file "root_directory/wp-content/plugins/wp-mvc/core/pluggable/views/admin/index.php", a call is made to the method "admin_page_param" of that class "MvcRouter". The method "admin_page_param" of the class "MvcRouter" instead is declared as no static.

Thanks, we'll take a look at this.

Simple fix; we have made this static again. Thanks for reporting it!


SDK version bump (paused protocol fees)

SDK update where some pools where stopped and don't take protocol fees.

more context here: https://balancerecosystem.slack.com/archives/C02F9EMRKQA/p1673402589704609
protocolSwapFeeCache - that's the protocol fee taken on swaps.
pool ids: composable stable and weighted v2


Add documentation site

Add a documentation site generated from the inline code documentation of this project. The whole site can be hosted via GH pages.
Right now, TypeDoc is the best site generator for TSDoc but there is a bug that prevents me from using it. Until this bug is fixed, TypeDoc cannot be used.

It's ready now.
TypeDoc will build the API docs. A new GH actions workflow will now automatically build and deploy the generated state site using GH pages. This means that the documentation site will always be up to date with the master branch.


Auto focus of input

Feature request 🚀
Expected:

No breaking changes

Examples:

Programme:
Others:

No Necessary. Is user behavior, I think we can provide ref is only enough: )

If you think is necessary, You can view MDN


Migrate to useDispatch (Part I)

Description
Similar to #2257 but for Sourcereel.tsx and Sourcecast.tsx.

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[x] Code quality improvements

How to test
Ensure everything is still working.

Checklist

[x] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 98 (3.06%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 32.997%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/pages/academy/sourcereel/SourcereelContainer.ts
0
1
0.0%

src/pages/sourcecast/SourcecastContainer.ts
0
1
0.0%

src/pages/sourcecast/Sourcecast.tsx
1
22
4.55%

src/pages/academy/sourcereel/Sourcereel.tsx
2
74
2.7%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
4334

Relevant Lines:
12217

💛  - Coveralls


How to restore the navigation bar?

Before

After

How do I restore the before settings?

https://github.com/sindresorhus/refined-github/issues/4166
Just refresh you extension cache

@yakov116 maybe pin the main issue?

Done


NW6 | OrlandoMorales | HTML-CSS-GitWireFrame | Week1

Learners, PR Template
Self checklist

[x] I have committed my files one by one, on purpose, and for a reason
[x] I have titled my PR with COHORT_NAME | FIRST_NAME LAST_NAME | REPO_NAME | WEEK
[x] I have tested my changes
[x] My changes follow the style guide
[x] My changes meet the requirements of this task

Changelist
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.

Hi there @OrlandoMoralesKuan . Please complete the PR message by briefly explaining your code.


Model::getKeyName() function truncating field with a hexadecimal value

Laravel Version: 5.5.*
PHP Version: 7.1.13
Database Driver & Version:  MySQL 5.6.39

Description:
Overriding the getKeyName(); function in a model truncates the returned field when its an hexadecimal  value
Steps To Reproduce:

Create a table for example fruits with a unique varchar field that has a length of 191. Name it anything, in my own case I called it slug
Create a model using the artisan command for example php artisan make:model Fruit and a resource controller using the artisan command for example php artisan make:controller FruitController --resource --model=Fruit
Now override the getKeyName(); function in the model by returning the field you created in the database for example
public function getKeyName(){  return 'slug'; }
Next, seed the Fruits Table by generating a random hexadecimal value for the field previously created in the database using the bin2hex(); php function like so bin2hex(random_bytes(64));
Now trying to get the hexadecimal value of the field in the edit function in the Fruit resource controller gets truncated

Please post your edit method, an example value for slug and how it gets truncated.

The getKeyName() is for the primary key, which per default is cast to an integer. Strings that starts with integers (like some hex values) will appear to be truncated.
To disable this, set $incrementing = false in your model.
I don't see how the slug field is relevant to the problem. Where you thinking of overriding getRouteKeyName?

Although the truncation issue can also be replicated using any of the CRUD methods, however below is an example in the routes file:

Example using routes file
Route::get('/mimic-data-truncation-issue', function(){             $id = 1;             $fruit = Fruit::find($id);             return $fruit->slug;  //data gets truncated here });

Hexadecimal slug value = "8825d6730de9acd87033f50e0eb7d33edb3eb051ee07a258c071375d6832b9cbd91c96dbda2200f60b5a6f3dfe79b53e0f0cb96fde4f41855fc12019de2bf2be"

Truncated slug value = "8825"

@sisve
But it's interesting to note that it works whenever I use another text field for example, if I override the getKeyName(); function using another field like say the name  field instead of the slug field in database table it returns the string normally as it should be. Correct me if am wrong though, but does it have anything to do with the properties setup for the field in the database table? because, the slug field has a unique property and a length of 191 setup, while the other fields like the name field are just normal varchar database fields with default migration properties.

There's nothing interesting at all in this issue. This does not have anything to do with the unique constraint, or the length of the field.

Why are you overriding the getKeyName() method, which is meant for the primary key, to use something that isn't the primary key?
Do you have $incrementing=false in your model?
Since you're talking about a slug, and not a primary key, were you thinking of getRouteKeyName instead of getKeyName?

@sisve

Yeah I actually wanted to override the getRouteKeyName(); method at first which didn't work, until I tried the getKeyName(); method in another model which worked. Although I know that it overrides the primary key on the model, but I don't mind that. I guess, I will just maintain the controller as it is for now without the controller-model binding. Anyways, Thanks for your time.


Background color and text color variables

This pull request allows the user to set the background color and text color. I have also updated the readme.

This is exactly the feature I was looking for, sadly I see that this package has not been maintained in a while.


Upgrade helloworld-ts packages and build.

Created this as there is a YAQS ticket I want to refer to this for


CISA Archived website

[On the MS Docs page, "Security guidelines for cross-organizational apps" the link to the CISA website has been archived and stated the information on their site may be outdated. I think we should remove this link, or update it with another security site for our clients.
Defense in depth
"Today's threat landscape requires designs with security approaches in mind. Ideally, you'll want to build a series of security mechanisms and controls layered throughout your computer network to protect your data and network from being compromised or attacked. This type of security design is what the United States Cybersecurity and Infrastructure Security Agency (CISA) calls "defense in depth." To learn more about defense in depth, go to the CISA website" link: {https://www.cisa.gov/uscert/bsi/articles/knowledge/principles/defense-in-depth}. ]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 45f2646c-9ae6-caa1-943f-7f2e60120ac8
Version Independent ID: f2bece10-cbc5-47b7-0bec-ee297ade843f
Content: Security guide for cross-organizational apps Azure Virtual Desktop - Azure
Content Source: articles/virtual-desktop/remote-app-streaming/security.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

Thanks for the feedback. I can't find a suitable alternate link, so I've removed the reference. The change should be visible later today.
#please-close


Transcrypt + ReactJS Demo

Hi.  Love the project and hope it continues to gain steam.  I wrote a project that uses React and Transcrypt, and I afterward distilled the ideas into a demo for others.  I'm wondering if you want to reference or include it somehow.
For me, getting Transcrypt working with React wasn't easy.  The docs have an example, but it is for an older version of React.  The current React docs use ES6 classes and build everything with webpack.  I wanted to do it "right" by extending the JS classes directly.
In the process, I created a pyreact demo that may be a useful example to others.  The primary benefit is the abstract classes inpyreact.py, which encapsulate the difficult parts and make it easy to create React components as real Python objects.
As an aside, the Transcrypt docs give examples of inheritance between Python classes only.  What's missing is how to extend a JS class -- at least I couldn't find it.  This demo shows how to extend JS classes in normal python style, assuming I did it right. If it's in the docs, I'd love a pointer. If not, the demo is an example.
To restate, I'm wondering if the demo is useful to the Transcrypt team somehow, such as an example in the docs.  If not, no worries -- thanks for all you've done with Transcrypt.

P.S. here's a direct link to a file with a React component defined with a Python class:
https://github.com/doconix/pyreact/blob/master/scripts/clock.py

See my  comment at #404

I submitted a PR for you to look at when you get a chance.  Not sure if you want to go that direction but I like the plugin ability.  You da boss. ;)

I've included a link to PyReact on the gallery page or the Trancrypt site.


added $OSTYPE check for cygwin

It makes possible to use jira plugin since xdg-open is not available on Cygwin.

:+1:

Conflicts with #2988. This PR should probably auto-close it, since it uses the preferred $OSTYPE instead of shelling out to uname.

Agreed. Though I'd go even further and standardise these sparse and duplicated logic into one unique library function / alias as I did in the web-search plugin.
The frontend-search and node plugins have these types of branches, and then there are other plugins that just use open but could use this standardised function instead: bwana, fasd (#1478), lighthouse, as well as marked2, osx, textmate and xcode that are OSX-specific so we don't bother with those.

Yeah, centralizing it in a shared lib function makes a lot of sense.

I finally implemented a working solution: #4217. Please test if it works correctly


support watchOS with Carthage

added watchOS Scheme Xcode project to support Carthage.
Thanks.

Hi, thank you for your pr. Can you move it from master to develop branch?

ok, I move to  develop branch.


Docker container in user-mode

Currently, the Docker container does not work in user-mode (started with --user <uid>:<gid>):
docker run --gpus 'device=0' --ipc=host --user $(id -u):$(id -g) -v <...>/workspace wasserth/totalsegmentator_container:master TotalSegmentator -i /workspace/test-wb.nii.gz -o /workspace/test-wb-segmentations --preview

=============
== PyTorch ==
=============

NVIDIA Release 20.10 (build 16972326)
PyTorch Version 1.7.0a0+7036e91

Container image Copyright (c) 2020, NVIDIA CORPORATION.  All rights reserved.

Copyright (c) 2014-2020 Facebook Inc.
Copyright (c) 2011-2014 Idiap Research Institute (Ronan Collobert)
Copyright (c) 2012-2014 Deepmind Technologies    (Koray Kavukcuoglu)
Copyright (c) 2011-2012 NEC Laboratories America (Koray Kavukcuoglu)
Copyright (c) 2011-2013 NYU                      (Clement Farabet)
Copyright (c) 2006-2010 NEC Laboratories America (Ronan Collobert, Leon Bottou, Iain Melvin, Jason Weston)
Copyright (c) 2006      Idiap Research Institute (Samy Bengio)
Copyright (c) 2001-2004 Idiap Research Institute (Ronan Collobert, Samy Bengio, Johnny Mariethoz)
Copyright (c) 2015      Google Inc.
Copyright (c) 2015      Yangqing Jia
Copyright (c) 2013-2016 The Caffe contributors
All rights reserved.

NVIDIA Deep Learning Profiler (dlprof) Copyright (c) 2020, NVIDIA CORPORATION.  All rights reserved.

Various files include modifications (c) NVIDIA CORPORATION.  All rights reserved.
NVIDIA modifications are covered by the license terms that apply to the underlying project or file.

NOTE: MOFED driver for multi-node communication was not detected.
      Multi-node communication performance may be reduced.

Matplotlib created a temporary config/cache directory at /tmp/matplotlib-szljy3md because the default path (/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
Traceback (most recent call last):
  File "/opt/conda/lib/python3.6/pathlib.py", line 1248, in mkdir
    self._accessor.mkdir(self, mode)
  File "/opt/conda/lib/python3.6/pathlib.py", line 387, in wrapped
    return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: '/.totalsegmentator/nnunet/results/nnUNet/3d_fullres'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.6/pathlib.py", line 1248, in mkdir
    self._accessor.mkdir(self, mode)
  File "/opt/conda/lib/python3.6/pathlib.py", line 387, in wrapped
    return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: '/.totalsegmentator/nnunet/results/nnUNet'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.6/pathlib.py", line 1248, in mkdir
    self._accessor.mkdir(self, mode)
  File "/opt/conda/lib/python3.6/pathlib.py", line 387, in wrapped
    return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: '/.totalsegmentator/nnunet/results'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.6/pathlib.py", line 1248, in mkdir
    self._accessor.mkdir(self, mode)
  File "/opt/conda/lib/python3.6/pathlib.py", line 387, in wrapped
    return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: '/.totalsegmentator/nnunet'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/bin/TotalSegmentator", line 157, in <module>
    main()
  File "/opt/conda/bin/TotalSegmentator", line 87, in main
    setup_nnunet()
  File "/opt/conda/lib/python3.6/site-packages/totalsegmentator/libs.py", line 154, in setup_nnunet
    (config_dir / "nnunet/results/nnUNet/3d_fullres").mkdir(exist_ok=True, parents=True)
  File "/opt/conda/lib/python3.6/pathlib.py", line 1252, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  File "/opt/conda/lib/python3.6/pathlib.py", line 1252, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  File "/opt/conda/lib/python3.6/pathlib.py", line 1252, in mkdir
    self.parent.mkdir(parents=True, exist_ok=True)
  [Previous line repeated 1 more time]
  File "/opt/conda/lib/python3.6/pathlib.py", line 1248, in mkdir
    self._accessor.mkdir(self, mode)
  File "/opt/conda/lib/python3.6/pathlib.py", line 387, in wrapped
    return strfunc(str(pathobj), *args)
PermissionError: [Errno 13] Permission denied: '/.totalsegmentator'

User-mode would simplify scripting a lot, since all resulting artifacts would have the correct file access rights.

Thanks for this hint. Do you know what I have to change to enable user-mode for a docker container?

https://github.com/wasserth/TotalSegmentator/blob/323055aee8f45042a07c7c774c9375da20266a5f/totalsegmentator/libs.py#L161
Here, the home directory is not available for a container started in user-mode.

I did those changes to the master branch. It should work now.

Yes, it works. Thanks.


Add "py" as lang in conversable agent (#1062)

Why are these changes needed?
Adds "py" string to conditional in conversable_agent, in order to execute code blocks.
Related issue number
Closes #1062

Checks

[] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed. - passed all tests excluding docker/notebooks tests

Please let me know if there are any issues with this PR, still new to OS development.

@microsoft-github-policy-service agree

@ekzhu Thankyou for the pointers. Second commit is to revert an accidental import.
It looks good now. In addition to your suggestion I had to add the condition here, in order to pass tests: https://github.com/microsoft/autogen/pull/2144/commits/99a2a11426b84b169f5cc71a32106e787bd0c96f#diff-7e1e6bfc49ab6dff4b52ba5677edcda6aff4ae436001c46cecd45847d4d71caeR119-R120

Thanks~
This PR is also related to the issue #2096   I made updates to the Gemini branch but not the main branch. This update will be good for many other models.

@ekzhu this PR is blocked by your change request.

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

Project coverage is 39.07%. Comparing base (4a44093) to head (88b3a34).
Report is 9 commits behind head on main.

Files
Patch %
Lines

autogen/code_utils.py
0.00%
1 Missing and 1 partial :warning:

autogen/agentchat/conversable_agent.py
0.00%
0 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2144      +/-   ##
==========================================
+ Coverage   38.14%   39.07%   +0.92%
==========================================
  Files          78       78
  Lines        7865     7883      +18
  Branches     1683     1825     +142
==========================================
+ Hits         3000     3080      +80
+ Misses       4615     4539      -76
- Partials      250      264      +14

Flag
Coverage Δ

unittests
39.02% <40.00%> (+0.88%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Run pre-commit run --all-files to spot and fix formatting error.


KYLIN-4287  SegmenPruner cannot prune segment exactly when handle 'IN' filter

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Codecov Report

Merging #984 into master will decrease coverage by 0.01%.
The diff coverage is 80%.

@@             Coverage Diff              @@
##             master     #984      +/-   ##
============================================
- Coverage     25.43%   25.41%   -0.02%
- Complexity     6153     6154       +1
============================================
  Files          1415     1415
  Lines         85877    85879       +2
  Branches      12042    12043       +1
============================================
- Hits          21841    21830      -11
- Misses        61906    61914       +8
- Partials       2130     2135       +5

Impacted Files
Coverage Δ
Complexity Δ

...va/org/apache/kylin/cube/common/SegmentPruner.java
61.53% <80%> (+1.01%)
26 <0> (+1)
:arrow_up:

...rg/apache/kylin/cube/inmemcubing/MemDiskStore.java
66.56% <0%> (-4.56%)
7% <0%> (ø)

...he/kylin/job/impl/threadpool/DefaultScheduler.java
76.74% <0%> (+2.32%)
12% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4f9406e...d252a1a. Read the comment docs.

Pull Request Test Coverage Report for Build 5347

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
9 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.002%) to 27.909%

Files with Coverage Reduction
New Missed Lines
%

core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/MemDiskStore.java
9
76.29%

Totals

Change from base Build 5341:
-0.002%

Covered Lines:
23968

Relevant Lines:
85879

💛  - Coveralls

@zhangbushi5 Would you please add a ut in SegmentPrunerTest?

Check list

[x] Step 1. [OPTIONAL]Understand background/root cause/design basically(one hour EST) . Its issue type is

[ ] bug fix
[ ] new feature
[x] enhancement

[x] Step 2. Test cases are designed and documented (30 minutes EST).
[x] Step 3. Prepare specific env, for example:

mock data (maybe some specific data type)
test env (maybe install a RDBMS instance).

[x] Step 4. Verify and make sure test cases passed.
[x] Step 5. Paste manual important steps and screenshots here (20 minutes EST).

If you find difficulty in pick most important evidence, please attach diagnosis package.

[x] Step 6. Do more check in user perspective (20 minutes EST)

[x] Doc need be updated? And if it is updated? Ask help for release manager if so.
[x] If it is a breaking change so we should notify Kylin community? Ask help for release manager if so.

[x] Step 7.  Summarize this test (20 minutes EST).

Total estimate

4 hours for small issue from optimistic estimate.

Note
If you find some unexpected and unrelated error/mistake, please DO report it if it is truly a mistake, I think we may research and fix it in the future.
If you find background information/root cause analysis is not complete or ambiguous, please try to contact to author or do a quick research and record what you find. It is a good chance to learn something interesting.
If you find it is not easy to design testcase, please notify release manager.

Design test cases
Prepare test env

Using kylin sample cube - kylin_salesa_cube
build segment[2012-01-01 ~ 2012-02-01] and segment[2012-02-01 ~ 2012-06-01]

Case-1
select count(*) from kylin_sales where part_dt = '2012-01-01' OR part_dt = '2012-08-01'

2020-06-15 16:56:42,913 DEBUG [Query 3fe1e44b-4ad9-76a2-9693-1dc6f0233aeb-66] common.SegmentPruner:79 : Pruner passed on segment kylin_sales_cube[20120101000000_20120201000000]
2020-06-15 16:56:42,914 DEBUG [Query 3fe1e44b-4ad9-76a2-9693-1dc6f0233aeb-66] common.SegmentPruner:75 : Prune segment kylin_sales_cube[20120201000000_20120601000000] due to given filter
Case-2
select count(*) from kylin_sales where part_dt in ('2012-01-01', '2012-01-02','2012-08-02')

2020-06-15 17:10:45,369 DEBUG [Query c8bdbe0f-2d79-7002-3032-44a86590a97e-68] common.SegmentPruner:79 : Pruner passed on segment kylin_sales_cube[20120101000000_20120201000000]
2020-06-15 17:10:45,369 DEBUG [Query c8bdbe0f-2d79-7002-3032-44a86590a97e-68] common.SegmentPruner:75 : Prune segment kylin_sales_cube[20120201000000_20120601000000] due to given filter

Prepare data and env

[x] Built on commit_SHA : 2b29166786cfa4fb3e4cb3b444a06df6257cf21d
[x] Hadoop env : CDH 5.7
[x] Just sample cube is OK.

Verify test case
Case-1
2020-06-15 16:56:42,913 DEBUG [Query 3fe1e44b-4ad9-76a2-9693-1dc6f0233aeb-66] common.SegmentPruner:79 : Pruner passed on segment kylin_sales_cube[20120101000000_20120201000000]
2020-06-15 16:56:42,914 DEBUG [Query 3fe1e44b-4ad9-76a2-9693-1dc6f0233aeb-66] common.SegmentPruner:75 : Prune segment kylin_sales_cube[20120201000000_20120601000000] due to given filter

Case-2
2020-06-15 17:10:45,369 DEBUG [Query c8bdbe0f-2d79-7002-3032-44a86590a97e-68] common.SegmentPruner:79 : Pruner passed on segment kylin_sales_cube[20120101000000_20120201000000]
2020-06-15 17:10:45,369 DEBUG [Query c8bdbe0f-2d79-7002-3032-44a86590a97e-68] common.SegmentPruner:75 : Prune segment kylin_sales_cube[20120201000000_20120601000000] due to given filter


jsoncs3 share manager problems

To force sequential execution of changes, the jsoncs3 share manager makes an m.Lock() call in every called function. This forces requests to be executed sequentially, to a point when the number of requests becomes a bottleneck. In essence, even read requests cannot be executed concurrently.
This can be reproduced by increasing the number of requests per second that ListReceivedShares and then create shares with the same group of users. The List requests wil Lock the jsoncs3 share manager very often. The new shares have to update the group received shares list and cause the Lock to remain open for a comparatively long time, decreasing the number of requests that can be handled per second significantly, causing response time to increase until timeouts occur.
Sharing with the same group causes the bottleneck to manifestate earlier, because the request has to write the received shares list to disk. To do that, it optimistically tries to write a file with an If-Match etag header. And we currently only retry that once.
We have a test cas in cdperf that covers this scenario. You will have to create en env var like this:
export SEED_USERS_CREATE=false
export SEED_USERS_DELETE=false
export SEED_GROUPS_CREATE=false
export SEED_GROUPS_DELETE=false

export ADMIN_LOGIN=admin
export ADMIN_PASSWORD=admin

export POOL_GROUPS=/home/jfd/loadtest/cloud.ocis.test/pools/group.pool.json
export POOL_USERS=/home/jfd/loadtest/cloud.ocis.test/pools/user.pool.json

export PLATFORM_BASE_URL=https://cloud.ocis.test
export AUTH_N_PROVIDER=kopano
export AUTH_N_PROVIDER_KOPANO_BASE_URL=https://cloud.ocis.test
export AUTH_N_PROVIDER_KOPANO_REDIRECT_URL=https://cloud.ocis.test/oidc-callback.html

export TEST_KOKO_PLATFORM_090_RAMPING_SLEEP_AFTER_ITERATION=60s
export TEST_KOKO_PLATFORM_090_RAMPING_STAGES_VUS=50
export TEST_KOKO_PLATFORM_090_RAMPING_STAGES_UP_DURATION=2m
export TEST_KOKO_PLATFORM_090_RAMPING_STAGES_PEAK_DURATION=3m
export TEST_KOKO_PLATFORM_090_RAMPING_STAGES_DOWN_DURATION=1m

Disabling the SEED_* env vers makes k6 read users from pool files:
➜  loadtest tree cloud.ocis.test
cloud.ocis.test
└── pools
    ├── group.pool.json
    ├── user.pool.json
    └── user.pool.json-bak
# cat cloud.ocis.test/pools/user.pool.json
[
    {
      "userLogin": "admin",
      "userPassword": "admin"
    },
    {
      "userLogin": "marie",
      "userPassword": "radioactivity"
    },
    {
      "userLogin": "einstein",
      "userPassword": "relativity"
    },
    {
      "userLogin": "richard",
      "userPassword": "superfluidity"
    }
]
# cat cloud.ocis.test/pools/group.pool.json
[
  {
    "groupName": "users"
  }
]

remember, having a single group as the recipient causes writes to the same file, whic we currently only retry once
Then you can source .envrc and run the k6 sharing scenario like this:
k6 run cdperf-rsync/packages/k6-tests/artifacts/koko-platform-090-create-remove-group-share-simple-k6.js --vus=4 --iterations=10

This will use 4 users to execute ten iterations of this sharing scenario.
k6 run cdperf-rsync/packages/k6-tests/artifacts/koko-platform-090-create-remove-group-share-simple-k6.js --vus=4 --iterations=10

          /\      |‾‾| /‾‾/   /‾‾/
     /\  /  \     |  |/  /   /  /
    /  \/    \    |     (   /   ‾‾\
   /          \   |  |\  \ |  (‾)  |
  / __________ \  |__| \__\ \_____/ .io

  execution: local
     script: cdperf-rsync/packages/k6-tests/artifacts/koko-platform-090-create-remove-group-share-simple-k6.js
     output: -

  scenarios: (100.00%) 1 scenario, 4 max VUs, 10m30s max duration (incl. graceful stop):
           * default: 10 iterations shared among 4 VUs (maxDuration: 10m0s, gracefulStop: 30s)

INFO[0005] createShare start - user "einstein"           source=console
INFO[0005] createShare start - user "richard"            source=console
INFO[0005] createShare start - user "admin"              source=console
INFO[0005] createShare start - user "marie"              source=console
INFO[0006] createShare execution time - user "marie": 1022 ms  source=console
INFO[0006] createShare execution time - user "admin": 1106 ms  source=console
INFO[0006] createShare execution time - user "richard": 1211 ms  source=console
INFO[0006] deleteShare start - user "marie"              source=console
INFO[0006] createShare execution time - user "einstein": 1300 ms  source=console
INFO[0006] deleteShare start - user "admin"              source=console
INFO[0006] deleteShare start - user "richard"            source=console
INFO[0006] deleteShare start - user "einstein"           source=console
INFO[0007] deleteShare execution time - user "marie": 801 ms  source=console
INFO[0007] deleteShare execution time - user "admin": 866 ms  source=console
INFO[0007] deleteShare execution time - user "richard": 816 ms  source=console
INFO[0007] deleteShare execution time - user "einstein": 748 ms  source=console
INFO[0008] createShare start - user "marie"              source=console
INFO[0009] createShare execution time - user "marie": 172 ms  source=console
INFO[0009] createShare start - user "richard"            source=console
INFO[0009] createShare start - user "admin"              source=console
INFO[0009] createShare start - user "einstein"           source=console
INFO[0009] deleteShare start - user "marie"              source=console
INFO[0009] createShare execution time - user "admin": 283 ms  source=console
INFO[0009] createShare execution time - user "richard": 370 ms  source=console
INFO[0009] createShare execution time - user "einstein": 403 ms  source=console
INFO[0009] deleteShare start - user "admin"              source=console
INFO[0009] deleteShare start - user "richard"            source=console
INFO[0009] deleteShare start - user "einstein"           source=console
INFO[0009] deleteShare execution time - user "marie": 577 ms  source=console
INFO[0010] deleteShare execution time - user "admin": 652 ms  source=console
INFO[0010] deleteShare execution time - user "richard": 677 ms  source=console
INFO[0010] deleteShare execution time - user "einstein": 707 ms  source=console
INFO[0011] createShare start - user "marie"              source=console
INFO[0012] createShare start - user "admin"              source=console
INFO[0012] createShare execution time - user "marie": 286 ms  source=console
INFO[0012] createShare execution time - user "admin": 246 ms  source=console
INFO[0012] deleteShare start - user "marie"              source=console
INFO[0012] deleteShare start - user "admin"              source=console
INFO[0012] deleteShare execution time - user "marie": 461 ms  source=console
INFO[0013] deleteShare execution time - user "admin": 491 ms  source=console

     ✓ authn -> logonResponse - status
     ✓ authn -> authorizeResponse - status
     ✓ authn -> accessTokenResponse - status
     ✓ client -> role.getMyDrives - status
     ✓ client -> resource.createResource - status
     ✓ client -> resource.getResourceProperties - status
     ✓ client -> share.createShare - status
     ✓ client -> share.deleteShare - status
     ✓ client -> resource.deleteResource - status

     checks.........................: 100.00% ✓ 66       ✗ 0
     data_received..................: 63 kB   5.4 kB/s
     data_sent......................: 19 kB   1.6 kB/s
     http_req_blocked...............: avg=323.93µs min=232ns   med=472ns    max=6.7ms    p(90)=1.35µs   p(95)=2.97ms
     http_req_connecting............: avg=7.1µs    min=0s      med=0s       max=148.01µs p(90)=0s       p(95)=70.77µs
     http_req_duration..............: avg=494.52ms min=50.19ms med=411.27ms max=1.29s    p(90)=1.05s    p(95)=1.12s
       { expected_response:true }...: avg=494.52ms min=50.19ms med=411.27ms max=1.29s    p(90)=1.05s    p(95)=1.12s
     http_req_failed................: 0.00%   ✓ 0        ✗ 66
     http_req_receiving.............: avg=90.57µs  min=40.08µs med=68.92µs  max=482.68µs p(90)=123.51µs p(95)=167.52µs
     http_req_sending...............: avg=140.14µs min=47.59µs med=97.04µs  max=945.15µs p(90)=245.46µs p(95)=305.74µs
     http_req_tls_handshaking.......: avg=302.05µs min=0s      med=0s       max=6.22ms   p(90)=0s       p(95)=2.8ms
     http_req_waiting...............: avg=494.29ms min=49.69ms med=411.07ms max=1.29s    p(90)=1.05s    p(95)=1.12s
     http_reqs......................: 66      5.658033/s
     iteration_duration.............: avg=4.19s    min=2.4s    med=3.24s    max=6.15s    p(90)=6.1s     p(95)=6.12s
     iterations.....................: 10      0.857278/s
     vus............................: 2       min=2      max=4
     vus_max........................: 4       min=4      max=4

running (00m11.7s), 0/4 VUs, 10 complete and 0 interrupted iterations
default ✓ [======================================] 4 VUs  00m11.7s/10m0s  10/10 shared iters

Just disabling the locks causes failures:
➜  loadtest k6 run cdperf-rsync/packages/k6-tests/artifacts/koko-platform-090-create-remove-group-share-simple-k6.js --vus=4 --iterations=10

          /\      |‾‾| /‾‾/   /‾‾/
     /\  /  \     |  |/  /   /  /
    /  \/    \    |     (   /   ‾‾\
   /          \   |  |\  \ |  (‾)  |
  / __________ \  |__| \__\ \_____/ .io

  execution: local
     script: cdperf-rsync/packages/k6-tests/artifacts/koko-platform-090-create-remove-group-share-simple-k6.js
     output: -

  scenarios: (100.00%) 1 scenario, 4 max VUs, 10m30s max duration (incl. graceful stop):
           * default: 10 iterations shared among 4 VUs (maxDuration: 10m0s, gracefulStop: 30s)

INFO[0005] createShare start - user "marie"              source=console
INFO[0005] createShare start - user "admin"              source=console
INFO[0005] createShare start - user "einstein"           source=console
INFO[0005] createShare start - user "richard"            source=console
INFO[0005] createShare execution time - user "marie": 649 ms  source=console
INFO[0005] deleteShare start - user "marie"              source=console
INFO[0006] createShare execution time - user "richard": 987 ms  source=console
INFO[0006] createShare execution time - user "admin": 1050 ms  source=console
INFO[0006] createShare execution time - user "einstein": 1142 ms  source=console
INFO[0006] deleteShare start - user "richard"            source=console
INFO[0006] deleteShare start - user "admin"              source=console
INFO[0006] deleteShare start - user "einstein"           source=console
INFO[0006] deleteShare execution time - user "marie": 806 ms  source=console
INFO[0006] deleteShare execution time - user "richard": 661 ms  source=console
INFO[0006] deleteShare execution time - user "admin": 615 ms  source=console
INFO[0006] deleteShare execution time - user "einstein": 530 ms  source=console
INFO[0008] createShare start - user "marie"              source=console
INFO[0008] createShare start - user "richard"            source=console
INFO[0008] createShare start - user "einstein"           source=console
INFO[0008] createShare start - user "admin"              source=console
INFO[0008] createShare execution time - user "marie": 232 ms  source=console
INFO[0008] deleteShare start - user "marie"              source=console
INFO[0008] createShare execution time - user "admin": 357 ms  source=console
INFO[0008] createShare execution time - user "richard": 373 ms  source=console
INFO[0008] createShare execution time - user "einstein": 367 ms  source=console
INFO[0009] deleteShare start - user "admin"              source=console
INFO[0009] deleteShare start - user "richard"            source=console
INFO[0009] deleteShare start - user "einstein"           source=console
INFO[0009] deleteShare execution time - user "marie": 416 ms  source=console
INFO[0009] deleteShare execution time - user "admin": 566 ms  source=console
INFO[0009] deleteShare execution time - user "richard": 592 ms  source=console
INFO[0009] deleteShare execution time - user "einstein": 648 ms  source=console
INFO[0011] createShare start - user "marie"              source=console
INFO[0011] createShare execution time - user "marie": 186 ms  source=console
INFO[0011] createShare start - user "admin"              source=console
INFO[0011] deleteShare start - user "marie"              source=console
INFO[0011] createShare execution time - user "admin": 209 ms  source=console
INFO[0011] deleteShare start - user "admin"              source=console
INFO[0011] deleteShare execution time - user "marie": 385 ms  source=console
INFO[0012] deleteShare execution time - user "admin": 445 ms  source=console

     ✓ authn -> logonResponse - status
     ✓ authn -> authorizeResponse - status
     ✓ authn -> accessTokenResponse - status
     ✓ client -> role.getMyDrives - status
     ✓ client -> resource.createResource - status
     ✓ client -> resource.getResourceProperties - status
     ✗ client -> share.createShare - status
      ↳  80% — ✓ 8 / ✗ 2
     ✗ client -> share.deleteShare - status
      ↳  80% — ✓ 8 / ✗ 2
     ✓ client -> resource.deleteResource - status

     checks.........................: 93.93% ✓ 62       ✗ 4
     data_received..................: 59 kB  5.3 kB/s
     data_sent......................: 19 kB  1.7 kB/s
     http_req_blocked...............: avg=301.43µs min=225ns   med=373ns    max=5.98ms   p(90)=984ns    p(95)=2.69ms
     http_req_connecting............: avg=6.75µs   min=0s      med=0s       max=152.07µs p(90)=0s       p(95)=70.79µs
     http_req_duration..............: avg=451.57ms min=42.57ms med=387.38ms max=1.14s    p(90)=896.01ms p(95)=1.08s
       { expected_response:true }...: avg=442.4ms  min=42.57ms med=384.43ms max=1.14s    p(90)=961.74ms p(95)=1.08s
     http_req_failed................: 6.06%  ✓ 4        ✗ 62
     http_req_receiving.............: avg=90.12µs  min=37.46µs med=69.51µs  max=552.71µs p(90)=131.68µs p(95)=177.54µs
     http_req_sending...............: avg=111.27µs min=52.24µs med=86.59µs  max=424.97µs p(90)=182.98µs p(95)=233.95µs
     http_req_tls_handshaking.......: avg=284.57µs min=0s      med=0s       max=5.77ms   p(90)=0s       p(95)=2.52ms
     http_req_waiting...............: avg=451.37ms min=42.02ms med=387.24ms max=1.14s    p(90)=895.8ms  p(95)=1.08s
     http_reqs......................: 66     6.016612/s
     iteration_duration.............: avg=3.9s     min=2.34s   med=3.02s    max=5.69s    p(90)=5.68s    p(95)=5.69s
     iterations.....................: 10     0.911608/s
     vus............................: 1      min=1      max=4
     vus_max........................: 4      min=4      max=4

running (00m11.0s), 0/4 VUs, 10 complete and 0 interrupted iterations
default ✓ [======================================] 4 VUs  00m11.0s/10m0s  10/10 shared iters

I suppose this can be closed with https://github.com/cs3org/reva/pull/3964 having landed in master via https://github.com/owncloud/ocis/pull/6507.


Remove YouTube challenge from onboarding

@BerkeleyTrue This is a simple PR (just removes a challenge). Please merge and deploy when possible.


Unify the definition of a valid email between the app and the server

Currently the app and the web server have slightly different definitions of what a valid email is,
for example the app will accept<EMAIL_ADDRESS>but the userserver will not.
Not a major concern but maybe one we would like to address in the future as it leads to some inconsistency in the error messages given to the user.

End of project


IE 8.0 flash issue

Have noticed on IE 8.0, the record samples here fail, but work on IE 9, Firefox, Chrome and Safari.
Flash version: <IP_ADDRESS>
IE 8.0 (32-bit) on Vista (probably others)
/jwagener-recorder.js/examples/example-1.html
Also I see that the record examples at:
https://github.com/soundcloud/sc-connect/tree/master/examples
Fail as well in IE 8.0
Flash does seem to load however in:
sandbox/jwagener-recorder.js/flash/test.html
(Am using w/ Drupal)
Appreciate the work here - happy to provide more info it it can help.

Latest commit fixed this too.
Thanks!!!


Apple sillicon support for xbar

I just realized xbar is running through Rosetta2 on M1 Macs.
Is native support in consideration?

@ashwaniii yes - coming soon

Please check latest release

Apple Silicon builds available.


ERROR  Warning: Failed prop type: Invalid prop role of value image supplied to Image

Description
When i use Image component will popup a error in terminal
CodeSandbox/Snack link
No response
Steps to reproduce
"@gluestack-style/react": "^1.0.7",
"@gluestack-ui/config": "^1.0.3",
"@gluestack-ui/themed": "^1.0.7",
"react": "18.2.0",
"react-native": "0.72.5",
App.jsx
import React from 'react'
import { GluestackUIProvider } from "@gluestack-ui/themed"
import { config as GluestackConfig } from '@gluestack-ui/config'
import { Image } from "@gluestack-ui/themed"

const App = () => {
  return (
    <Image
      resizeMode='contain'
      size='xl'
      alt='logo'
      source={require('./src/assets/images/logo.png')}
    />
  )
}

export default () => {
  return (
    <GluestackUIProvider config={GluestackConfig}>
      <App/>
    </GluestackUIProvider>
  )
}

ERROR  Warning: Failed prop type: Invalid prop role of value image supplied to Image, expected one of ["alert","alertdialog","application","article","banner","button","cell","checkbox","columnheader","combobox","complementary","contentinfo","definition","dialog","directory","document","feed","figure","form","grid","group","heading","img","link","list","listitem","log","main","marquee","math","menu","menubar","menuitem","meter","navigation","none","note","option","presentation","progressbar","radio","radiogroup","region","row","rowgroup","rowheader","scrollbar","searchbox","separator","slider","spinbutton","status","summary","switch","tab","table","tablist","tabpanel","term","timer","toolbar","tooltip","tree","treegrid","treeitem"].
gluestack-ui Version
1.0.7
Platform

[ ] Expo
[X] React Native CLI
[ ] Next
[ ] Web
[X] Android
[X] iOS

Other Platform
No response
Additional Information
No response

Thanks for reporting, we will fix and update.

@vilenleung As a workaround, can you please pass role="img" to Image?

emm, still have another problem like above.
import React from 'react'
import { GluestackUIProvider } from "@gluestack-ui/themed"
import { config as GluestackConfig } from '@gluestack-ui/config'
import { HStack, Text, Icon, Pressable} from "@gluestack-ui/themed"
import MaterialIcons from 'react-native-vector-icons/MaterialIcons'

const App = () => {
  return (
    <HStack>
      <Icon as={MaterialIcons} name='search' size='xl' color='$white'/>
    </HStack>
  )
}

export default () => {
  return (
    <GluestackUIProvider config={GluestackConfig}>
      <App/>
    </GluestackUIProvider>
  )
}

ERROR  Warning: Failed prop type: Invalid prop role of value image supplied to Text, expected one of ["alert","alertdialog","application","article","banner","button","cell","checkbox","columnheader","combobox","complementary","contentinfo","definition","dialog","directory","document","feed","figure","form","grid","group","heading","img","link","list","listitem","log","main","marquee","math","menu","menubar","menuitem","meter","navigation","none","note","option","presentation","progressbar","radio","radiogroup","region","row","rowgroup","rowheader","scrollbar","searchbox","separator","slider","spinbutton","status","summary","switch","tab","table","tablist","tabpanel","term","timer","toolbar","tooltip","tree","treegrid","treeitem"].
at Text
in Icon (created by StyledBaseIcon)
in StyledComponent (created by StyledIcon)
in StyledComponent
in Unknown (created by App)
in RCTView (created by View)
in View (created by HStack)
in StyledComponent (created by App)
in App (created by _default)
in ToastProvider (created by GluestackUIProvider)
in PortalProvider (created by GluestackUIProvider)
in StyledProvider (created by GluestackUIStyledProvider)
in GluestackUIStyledProvider (created by GluestackUIProvider)
in GluestackUIProvider (created by _default)
in _default
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer

Hey @vilenleung, You don't have to add role for any of the component. All the components comes with out of box accessibility. Let us know if you found any component which doesn't have it.

Im still experiencing this with Inputs I believe.

Thank you for the workaround. Also experiencing this for images.

I think I'm also experiencing this with Icons
 ERROR  Warning: Failed prop type: Invalid prop `role` of value `image` supplied to `Text`, expected one of ["alert","alertdialog","application","article","banner","button","cell","checkbox","columnheader","combobox","complementary","contentinfo","definition","dialog","directory","document","feed","figure","form","grid","group","heading","img","link","list","listitem","log","main","marquee","math","menu","menubar","menuitem","meter","navigation","none","note","option","presentation","progressbar","radio","radiogroup","region","row","rowgroup","rowheader","scrollbar","searchbox","separator","slider","spinbutton","status","summary","switch","tab","table","tablist","tabpanel","term","timer","toolbar","tooltip","tree","treegrid","treeitem"].
    at Text (http://<IP_ADDRESS>:8081/node_modules/expo/AppEntry.bundle//&platform=ios&dev=true&hot=false&lazy=true:81290:27)
    in Icon (created by Icon)
    in Icon (created by StyledBaseIcon)
    in StyledComponent (created by StyledIcon)
    in StyledComponent
    in Unknown (created by ConsumptionTile)
    in RCTView (created by View)
    in View (created by StyledBox)
    in StyledComponent (created by Pressable)
    in RCTView (created by View)
    in View (created by Pressable)
    in Pressable (created by Pressable)
    in StyledComponent (created by Pressable)
    in Pressable (created by ConsumptionTile)
    in RCTView (created by View)
    in View (created by HStack)
    in StyledComponent (created by ConsumptionTile)
    in RCTView (created by View)
    in View (created by StyledBox)
    in StyledComponent (created by ConsumptionTile)
    in RCTView (created by View)
    in View (created by StyledBox)
    in StyledComponent (created by ConsumptionTile)
    in RCTView (created by View)
    in View (created by StyledBox)
    in StyledComponent (created by CreateTile)
    in CreateTile (created by ConsumptionTile)
    in RCTView (created by View)
    in View (created by StyledBox)
    in StyledComponent (created by ConsumptionTile)
    in ConsumptionTile (created by HomeScreen)
    in RCTView (created by View)
    in View (created by StyledBox)
    in StyledComponent (created by HomeScreen)
    in RCTView (created by View)
    in View (created by VStack)
    in StyledComponent (created by HomeScreen)
    in HomeScreen (created by SceneView)
    in StaticContainer
    in EnsureSingleNavigator (created by SceneView)
    in SceneView (created by SceneView)
    in RCTView (created by View)
    in View (created by DebugContainer)
    in DebugContainer (created by MaybeNestedStack)
    in MaybeNestedStack (created by SceneView)
    in RCTView (created by View)
    in View (created by SceneView)
    in RNSScreen
    in Unknown (created by InnerScreen)
    in Suspender (created by Freeze)
    in Suspense (created by Freeze)
    in Freeze (created by DelayedFreeze)
    in DelayedFreeze (created by InnerScreen)
    in InnerScreen (created by Screen)
    in Screen (created by SceneView)
    in SceneView (created by NativeStackViewInner)
    in Suspender (created by Freeze)
    in Suspense (created by Freeze)
    in Freeze (created by DelayedFreeze)
    in DelayedFreeze (created by ScreenStack)
    in RNSScreenStack (created by ScreenStack)
    in ScreenStack (created by NativeStackViewInner)
    in NativeStackViewInner (created by NativeStackView)
    in RNCSafeAreaProvider (created by SafeAreaProvider)
    in SafeAreaProvider (created by SafeAreaInsetsContext)
    in SafeAreaProviderCompat (created by NativeStackView)
    in NativeStackView (created by NativeStackNavigator)
    in PreventRemoveProvider (created by NavigationContent)
    in NavigationContent
    in Unknown (created by NativeStackNavigator)
    in NativeStackNavigator (created by App)
    in EnsureSingleNavigator
    in BaseNavigationContainer
    in ThemeProvider
    in NavigationContainerInner (created by App)
    in ToastProvider (created by GluestackUIProvider)
    in PortalProvider (created by GluestackUIProvider)
    in StyledProvider (created by GluestackUIStyledProvider)
    in GluestackUIStyledProvider (created by GluestackUIProvider)
    in GluestackUIProvider (created by App)
    in App (created by withDevTools(App))
    in withDevTools(App)
    in RCTView (created by View)
    in View (created by AppContainer)
    in RCTView (created by View)
    in View (created by AppContainer)
    in AppContainer
    in main(RootComponent)

Can you please upgrade the gluestack-ui/themed version to  the latest 1.0.14 , this will resolve the issues.