Remote Source for list fields doesn't appear to work as at latest versions

as per the demo page https://w2ui.com/web/demos/#/fields/6
the url property for list and multi list fields does not appear to work.
the demo page does not work, attempting to follow the documentation also appears to not work. On the demo page the request and load events should be logging to console, however there is nothing.
attempting to create remote data list boxes in forms also appears to have the same issue of the url property being ignored.

Looking at the code I see a lot of differences on how the search is implemented in lists and combo. The search is delegated to the tooltip menu, so it's not that easy to refactor.
I really needed this functionality so i went ahead and write some code. I added an event in the menu that is triggered on keyUp if the url is present. The w2field listens to this event alongside the listener for the select event, in updateOverlay method and if the url is specified i go ahead and get the data from server. When the data arrives I just call the update method on the menu with the new items. While the request is loading I called lock method on the menu box, to show the spinner After update i had to set the activeChain property of the menu to null and call refreshSearch and refreshIndex methods.
It kind of works now, but not tested enough.
If anyone cares about this solution please leave a comment here and I will post my solution.

interresting !

Hello again ,
I add this event code , but i need to refresh the list after changing items , any ideas ?
query('#field1')
.on('keyup', (event) =>  {
        let sel = fld1.get()
		fetch('https://apis.******/v1/***/'+sel)
		.then(response => response.json())
		.then(response => fld1.options.items = response.records)
		//how to refresh the list ?
    })

according to the docs, you should be able to use the render function of the form to do it, but for me, this only works once. Once there's some data in the list, triggering it a second time doesn't work, which isn't ideal.

Hello again , I add this event code , but i need to refresh the list after changing items , any ideas ?
query('#field1')
.on('keyup', (event) =>  {
        let sel = fld1.get()
		fetch('https://apis.******/v1/***/'+sel)
		.then(response => response.json())
		.then(response => fld1.options.items = response.records)
		//how to refresh the list ?
    })

Hello again , I add this event code , but i need to refresh the list after changing items , any ideas ?
query('#field1')
.on('keyup', (event) =>  {
        let sel = fld1.get()
		fetch('https://apis.******/v1/***/'+sel)
		.then(response => response.json())
		.then(response => fld1.options.items = response.records)
		//how to refresh the list ?
    })

did you ever get this working? I've had zero luck trying to refresh the listbox contents

@vitmalina added support for the url option a year ago in ea985927 (a couple days before the comment above me) but it seems like two things happen:

The remote source is only called and the list is filled out only when the dropdown is focused.
After the list is focused it does store the remote items in the overlay object, but it doesn't pass that information to the field object. Also it only calls the remote source once, on the first focus. Anytime after it doesn't make a call because there seems to be an indicator on if the remote is filled out in applyFilter()

(1) seems reasonable, though it would be nice to set a option for prefetching to allow for a previously selected value to show on load.
(2) is definitely a bug though.

@markusdf @LysOffice do you resolve this bug,dears....
we met this issue too,change  options.items =newData,not work,can't refresh

To refresh the combo and list dropdowns at runtime the w2field object must be referenced.
Instead of the line above - .then(response => fld1.options.items = response.records)
change to - .then(response => fld1.w2field.options.items = response.records)
this repopulates dropdown lists without the need to refresh control or the form.


Parsing & does not get translated to &

Hi all,
I wonder if we got a special case where & does not get translated to &.
For instance here the resulting string:
Belvoir Lettings & Estate Agents - Leicester
I am using the library (latest version) as specified in your nice documentation.

In other words my question is: do I need to add some settings to enable the decoding of XML special chars?

Anyone?

https://github.com/Leonidas-from-XIV/node-xml2js/issues/704
In my case I'm expecting it shouldn't convert.


test(extension): fix code issues within test framework

Checklist

[ ] JIRA - <link>
[ ] Proper tests implemented
[ ] Screenshots added.

Proposed solution
Explain how does this PR solves the problem stated in JIRA ticket.
You can also enumerate different alternatives considered while approaching this task.
Testing
Describe here, how the new implementation can be tested.
Provide link or briefly describe User Acceptance Criteria/Tests that need to be met
Screenshots
Attach screenshots here if implementation involves some UI changes

coverage: 53.598%. remained the same
when pulling 011f1a5f8bea671b97a51f0cb03831f2a162f8f7 on test/framework-code-fixes
into 87a68184d1eb3952fd8b5f9409dd6aff8d0533ce on main.


mdbook version

I just added some information for the new clause guards and ran make build and it updated the entire book, I'm guessing because I've got a different version of mdbook (v0.3.7). Is there a specific version I should use?

No specific version other than latest. I'm using an older version so I'll upgrade to match you.


Add challenge action possibility to size_constraint_statement_rules

Add challenge action to size_constraint_statement_rules.

@johncblandii @nitrocode Could you check this? Super simple addition, I'm using it in my project as such all the time.


Error while creating service binding for /DMO/TRAVEL_U

Annotated element "country" at "CountryCode" in "/DMO/I_Airport" not equal to element in view "I_Country".Annotated element "CarrierID" at "AirlineID" in "/DMO/I_Connection" not equal to element in view "/DMO/I_Carrier".Annotated element "Airport_ID" at "DepartureAirport" in "/DMO/I_Connection" not equal to element in view "/DMO/I_Airport".Annotated element "Airport_ID" at "DestinationAirport" in "/DMO/I_Connection" not equal to element in view "/DMO/I_Airport".Quantity element DISTANCE contains unsupported datatype INT4.

Can you specify the release you are on, as well as the branch you have pulled?

Hi @VolkerDrees ,
I have used the branch ABAP-platform-2020.

Thanks
Saurabh

Hello @saurabhakumbhare ,
thanks for reporting the issue. I have fixed the problems. Can you try to pull the repo again?
Best Regards, Volker

Thank you Volker.
When I try to pull again, I get the below error.

Thanks
Saurabh

Hello Saurabh, this should not be related to the latest changes in the repo.
Can you check if you or any other process or user is locking the /DMO/ artifacts?
Best Regards, Volker


Order by accessor field

Hello,
How can I use to order by accessor field?
I had this function in my model and I want to order be this field:
public function getTimeInvestedAttribute()
    {
        return Carbon::parse($this->attributes['finish_time'])->diff(Carbon::parse($this->attributes['start_time']))->format('%H:%I:%S.%F');
    }

It's not support, can only be sorted by fields in the database


Mysterious random errorless failures of functions and sinks - only resolved by restarting brokers

Describe the bug
This incident has been occurring approximately once every 2 weeks or so. In the most recent case, two of our functions mysteriously stopped working.
No user or system exceptions were being thrown on the functions. The only way we determined that there was a problem was due to accumulating backlog. Restarting the functions had no effect. There were no errors in their function logs.
I checked the broker logs on a node that was running one of the function instances and found this exception occurring approximately once every 30 seconds:

05:00:33.974 [ForkJoinPool.commonPool-worker-29] WARN  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:50624][persistent://product-infrastructure/ingest/example-topic][product-infrastructure/ingest/example-function-Transformer] Failed to create consumer: Trying to subscribe with incompatible schema
java.util.concurrent.CompletionException: org.apache.pulsar.broker.service.schema.IncompatibleSchemaException: Trying to subscribe with incompatible schema
at java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:326) ~[?:1.8.0_212]
at java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:338) ~[?:1.8.0_212]
at java.util.concurrent.CompletableFuture.uniRelay(CompletableFuture.java:911) ~[?:1.8.0_212]
at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:953) ~[?:1.8.0_212]
at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926) ~[?:1.8.0_212]
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) ~[?:1.8.0_212]
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) ~[?:1.8.0_212]
at org.apache.pulsar.broker.service.schema.BookkeeperSchemaStorage.lambda$null$2(BookkeeperSchemaStorage.java:157) ~[org.apache.pulsar-pulsar-broker-2.4.0-streamlio-24.jar:2.4.0-streamlio-24]
at java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:822) [?:1.8.0_212]
at java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:797) [?:1.8.0_212]
at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:443) [?:1.8.0_212]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_212]
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_212]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_212]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_212]
Caused by: org.apache.pulsar.broker.service.schema.IncompatibleSchemaException: Trying to subscribe with incompatible schema
at org.apache.pulsar.broker.service.ServerCnx.lambda$null$9(ServerCnx.java:688) ~[org.apache.pulsar-pulsar-broker-2.4.0-streamlio-24.jar:2.4.0-streamlio-24]
at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952) ~[?:1.8.0_212]
... 11 more

Due to the schema error, I checked the input and output topic schemas for the functions and discovered that Pulsar mysteriously lost the schemas of both the input and output topics of the first function and the output topic of the second function:
e.g. For the second function:

[(prod<EMAIL_ADDRESS>~]# pulsar-admin schemas get persistent://graph/exampleNamespace/output-topic
Not Found
Reason: Not Found
[(prod<EMAIL_ADDRESS>~]# pulsar-admin schemas get persistent://graph/exampleNamespace/input-topic
{
"name" : "input-topic",
"schema" : "",
"type" : "STRING",
"properties" : { }
}

All of the functions are just using the same basic STRING schema for input and output topics.
I uploaded new schemas for the input topic and output topic for the first function and was able to get the uploaded schemas back from those topics when I ran a get on them.
However, after doing this, the missing schema for the second function mysteriously returned, even though I never uploaded a new schema for it. There is no clear explanation for why this happened.
Despite these changes, the backlogs did not start dropping.
In some of the other broker logs, I found these errors:

02:31:12.941 [bookkeeper-ml-scheduler-OrderedScheduler-3-0] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - Failed to add entry for ledger -1 in time-out 120 sec
02:35:04.608 [bookkeeper-ml-scheduler-OrderedScheduler-6-0] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - Failed to add entry for ledger -1 in time-out 120 sec
02:40:07.090 [bookkeeper-ml-scheduler-OrderedScheduler-5-0] ERROR org.apache.bookkeeper.common.util.SafeRunnable - Unexpected throwable caught
02:40:07.262 [bookkeeper-ml-scheduler-OrderedScheduler-5-0] ERROR org.apache.bookkeeper.common.util.SafeRunnable - Unexpected throwable caught
02:40:07.361 [bookkeeper-ml-scheduler-OrderedScheduler-5-0] ERROR org.apache.bookkeeper.common.util.SafeRunnable - Unexpected throwable caught

. . .
04:26:59.713 [bookkeeper-ml-scheduler-OrderedScheduler-4-0] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - Failed to add entry for ledger -1 in time-out 120 sec
04:32:57.172 [bookkeeper-ml-scheduler-OrderedScheduler-1-0] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - Failed to add entry for ledger -1 in time-out 120 sec
04:32:59.712 [bookkeeper-ml-scheduler-OrderedScheduler-4-0] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - Failed to add entry for ledger -1 in time-out 120 sec
04:34:59.713 [bookkeeper-ml-scheduler-OrderedScheduler-4-0] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - Failed to add entry for ledger -1 in time-out 120 sec
04:50:59.713 [bookkeeper-ml-scheduler-OrderedScheduler-4-0] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - Failed to add entry for ledger -1 in time-out 120 sec
04:58:59.713 [bookkeeper-ml-scheduler-OrderedScheduler-4-0] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - Failed to add entry for ledger -1 in time-out 120 sec
05:44:59.713 [bookkeeper-ml-scheduler-OrderedScheduler-4-0] ERROR org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - Failed to add entry for ledger -1 in time-out 120 sec
. . .

So, I checked the bookie logs and found this on one of the bookies:

I found this in one of the bookie logs:
03:14:51.117 [ZKC-connect-executor-0-EventThread] ERROR org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase - ZooKeeper client connection to the ZooKeeper server has expired!
03:30:18.128 [ZKC-connect-executor-0-EventThread] ERROR org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase - ZooKeeper client connection to the ZooKeeper server has expired!
04:16:27.973 [ZKC-connect-executor-0-EventThread] ERROR org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase - ZooKeeper client connection to the ZooKeeper server has expired!
04:30:27.767 [ZKC-connect-executor-0-EventThread] ERROR org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase - ZooKeeper client connection to the ZooKeeper server has expired!
04:45:27.611 [ZKC-connect-executor-0-EventThread] ERROR org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase - ZooKeeper client connection to the ZooKeeper server has expired!
05:01:11.128 [ZKC-connect-executor-0-EventThread] ERROR org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase - ZooKeeper client connection to the ZooKeeper server has expired!
05:16:06.869 [ZKC-connect-executor-0-EventThread] ERROR org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase - ZooKeeper client connection to the ZooKeeper server has expired!
05:44:17.705 [ZKC-connect-executor-0-EventThread] ERROR org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase - ZooKeeper client connection to the ZooKeeper server has expired!

I found this on one of the other bookies:

02:18:26.078 [ZKC-connect-executor-0-EventThread] ERROR org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase - ZooKeeper client connection to the ZooKeeper server has expired!
02:19:13.031 [DLM-/stream/storage-OrderedScheduler-22-0] ERROR org.apache.distributedlog.BKAbstractLogWriter - Completing Log segments encountered exception
02:19:43.502 [io-checkpoint-scheduler-OrderedScheduler-1-0] ERROR org.apache.bookkeeper.statelib.impl.rocksdb.checkpoint.RocksdbCheckpointTask - Failed to checkpoint db<PHONE_NUMBER>00000000/000000000000000001/000000000000000000 to dir /pulsar/data/bookkeeper/ranges/ranges/000000000000000000/000000000000000001/000000000000000000/checkpoints/d0ee2a6b-33e8-4148-a6bd-cc027c97e200
02:19:43.504 [io-checkpoint-scheduler-OrderedScheduler-1-0] ERROR org.apache.bookkeeper.statelib.impl.kv.RocksdbKVStore - Failed to checkpoint state store<PHONE_NUMBER>00000000/000000000000000001/000000000000000000 at revision 0
03:35:11.163 [ZKC-connect-executor-0-EventThread] ERROR org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase - ZooKeeper client connection to the ZooKeeper server has expired!
04:15:14.241 [ZKC-connect-executor-0-EventThread] ERROR org.apache.bookkeeper.zookeeper.ZooKeeperWatcherBase - ZooKeeper client connection to the ZooKeeper server has expired!

So, I checked the Zookeeper logs for clues but didn't find much information. Here's what I found:

06:01:31.436 [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181] INFO  org.apache.zookeeper.server.NIOServerCnxnFactory - Accepted socket connection from /<IP_ADDRESS>:54387
06:01:31.436 [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181] WARN  org.apache.zookeeper.server.NIOServerCnxn - Unable to read additional data from client sessionid 0x0, likely client has closed socket
06:01:31.436 [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181] INFO  org.apache.zookeeper.server.NIOServerCnxn - Closed socket connection for client /<IP_ADDRESS>:54387 (no session established for client)
06:01:37.795 [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181] INFO  org.apache.zookeeper.server.NIOServerCnxnFactory - Accepted socket connection from /<IP_ADDRESS>:59796
06:01:37.796 [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181] WARN  org.apache.zookeeper.server.NIOServerCnxn - Unable to read additional data from client sessionid 0x0, likely client has closed socket
06:01:37.796 [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181] INFO  org.apache.zookeeper.server.NIOServerCnxn - Closed socket connection for client /<IP_ADDRESS>:59796 (no session established for client)
06:01:41.436 [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181] INFO  org.apache.zookeeper.server.NIOServerCnxnFactory - Accepted socket connection from /<IP_ADDRESS>:54388
06:01:41.436 [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181] WARN  org.apache.zookeeper.server.NIOServerCnxn - Unable to read additional data from client sessionid 0x0, likely client has closed socket
06:01:41.436 [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181] INFO  org.apache.zookeeper.server.NIOServerCnxn - Closed socket connection for client /<IP_ADDRESS>:54388 (no session established for client)
06:01:42.365 [CommitProcessor:1] INFO  org.apache.zookeeper.server.NIOServerCnxn - Closed socket connection for client /<IP_ADDRESS>:54722 which had sessionid 0x103ee5b2be70065

I also found this in one of the Zookeeper logs:

06:02:18.885 [ProcessThread(sid:3 cport:-1):] INFO  org.apache.zookeeper.server.PrepRequestProcessor - Got user-level KeeperException when processing sessionid:0x203ee709048001c type:delete cxid:0xef2875 zxid:0x1a10394f80d txntype:-1 reqpath:n/a Error Path:/ledgers/05/9481 Error:KeeperErrorCode = Directory not empty for /ledgers/05/9481
06:02:18.899 [ProcessThread(sid:3 cport:-1):] INFO  org.apache.zookeeper.server.PrepRequestProcessor - Got user-level KeeperException when processing sessionid:0x203ee709048001d type:delete cxid:0x9b7ab8 zxid:0x1a10394f814 txntype:-1 reqpath:n/a Error Path:/ledgers/05/9481 Error:KeeperErrorCode = Directory not empty for /ledgers/05/9481
06:02:18.899 [ProcessThread(sid:3 cport:-1):] INFO  org.apache.zookeeper.server.PrepRequestProcessor - Got user-level KeeperException when processing sessionid:0x203ee709048001d type:delete cxid:0x9b7ab9 zxid:0x1a10394f815 txntype:-1 reqpath:n/a Error Path:/ledgers/05/9481 Error:KeeperErrorCode = Directory not empty for /ledgers/05/9481
06:02:18.899 [ProcessThread(sid:3 cport:-1):] INFO  org.apache.zookeeper.server.PrepRequestProcessor - Got user-level KeeperException when processing sessionid:0x203ee709048001d type:delete cxid:0x9b7aba zxid:0x1a10394f816 txntype:-1 reqpath:n/a Error Path:/ledgers/05/9481 Error:KeeperErrorCode = Directory not empty for /ledgers/05/9481
06:02:18.899 [ProcessThread(sid:3 cport:-1):] INFO  org.apache.zookeeper.server.PrepRequestProcessor - Got user-level KeeperException when processing sessionid:0x203ee709048001d type:delete cxid:0x9b7abb zxid:0x1a10394f817 txntype:-1 reqpath:n/a Error Path:/ledgers/05/9481 Error:KeeperErrorCode = Directory not empty for /ledgers/05/9481
06:02:18.921 [ProcessThread(sid:3 cport:-1):] INFO  org.apache.zookeeper.server.PrepRequestProcessor - Got user-level KeeperException when processing sessionid:0x103ee5b2be7001c type:delete cxid:0x7ecbe2 zxid:0x1a10394f828 txntype:-1 reqpath:n/a Error Path:/ledgers/05/9481 Error:KeeperErrorCode = Directory not empty for /ledgers/05/9481
06:02:18.922 [ProcessThread(sid:3 cport:-1):] INFO  org.apache.zookeeper.server.PrepRequestProcessor - Got user-level KeeperException when processing sessionid:0x203ee7090480018 type:delete cxid:0x9aa6cb zxid:0x1a10394f829 txntype:-1 reqpath:n/a Error Path:/ledgers/05/9481 Error:KeeperErrorCode = Directory not empty for /ledgers/05/9481
06:02:18.922 [ProcessThread(sid:3 cport:-1):] INFO  org.apache.zookeeper.server.PrepRequestProcessor - Got user-level KeeperException when processing sessionid:0x103ee5b2be7001c type:delete cxid:0x7ecbe3 zxid:0x1a10394f82a txntype:-1 reqpath:n/a Error Path:/ledgers/05/9481 Error:KeeperErrorCode = Directory not empty for /ledgers/05/9481
06:02:19.052 [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181] INFO  org.apache.zookeeper.server.NIOServerCnxnFactory - Accepted socket connection from /<IP_ADDRESS>:22997
06:02:19.053 [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181] WARN  org.apache.zookeeper.server.NIOServerCnxn - Unable to read additional data from client sessionid 0x0, likely client has closed socket
06:02:19.053 [NIOServerCxn.Factory:<IP_ADDRESS>/<IP_ADDRESS>:2181] INFO  org.apache.zookeeper.server.NIOServerCnxn - Closed socket connection for client /<IP_ADDRESS>:22997 (no session established for client)

It seems unlikely (though possible) that the issue is being caused by resource contention on the Zookeeper nodes because those nodes are only running Zookeeper.
The only other changes we made prior to the incident were that approximately 12 hours prior to the incident, several Jars were updated for functions and sinks in the cluster.
This problem is ONLY resolved once we perform a rolling restart of all of the brokers in the cluster.
To Reproduce
We do not yet know how to reproduce the issue.
Expected behavior
The functions should not be unhealthy and failing to process messages without any errors being reported.
Environment:
We're running the dockerized Apache Pulsar 2.4.0 in a cluster with dedicated Zookeeper nodes. The brokers are currently running without dedicated function worker nodes. (The broker nodes are the function worker nodes.) The bookies are distributed throughout the cluster.
Pulsar is running most of the configurations with default settings. We're using token authentication and running Pulsar functions in process mode.
Our bookies are still running Pulsar 2.3.0.
We have occasionally noticed that our Prometheus metrics will cause a significant spike in IOPS on the cluster right around the time that the functions die. We do not yet know the cause of this spike.
Here is a picture that shows the random spikes in IOPS:

Here's another picture that shows the spike in IOPS:

We also captured more log content on a couple of the broker nodes, so we can provide that upon request.

@codelipenghui @wolfstudy can you help with this issue?

Closed as stale. Please create a new issue if it's still relevant to the maintained versions.
I can see several PRs are against this issue.


fix prototype dataset imagenet mock data

This was reported offline by @ejguan. We previously ignored a warning there thinking that it was actually scipy.io.savemat that is causing it. Turns out, we were providing deprecated input data and starting with numpy=1.24 this fails. This is visible in torchdata CI, e.g. https://github.com/pytorch/data/actions/runs/3579763020.
I've temporarily expanded the prototype test matrix to cover all cases.

macOS CI seems stuck, but since everything else is green, I think we can move forward here.


Have query generator run in background. Make CLI util to interface to program

Probably will use Rust for CLI


Calling javascript functions

I trying to use sass.js and sass.link.js (to compile scss on the fly), to Apache Cordova projects. How can I call javascript methods with sass.js?
For example, in less I will wrote:
@maxPxWidth: Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
@maxPxHeight: Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
How could we do this with sass.js?

Executing JS from Sass is not possible in Sass.js. Sass.js is not inteded to run on your clients, unless a key component of your client is generating CSS from Sass. That said, you can always calculate your things, generate valid SCSS containing your variables and save that to the Sass.js file system to be @imported by other files.

I see. Well, sass.link.js can compile scss files on the fly to me. But, if we are using nodejs, for example, not on client, can't we or couldn't  would be a good thing run some javascript code to help us?

I see. Well, sass.link.js can compile scss files on the fly to me.

Are you referring to sass.link.js? Please have a look at the commit history to see that nothing has been done over there for a year. Please also look at how resolving files over the network is a problem.
sass.js knows lazyFiles() and preloadFiles() as explained in the Readme: Working With Files. If you need to go deeper than that, a custom importer function may help.

But, if we are using nodejs, for example, not on client […]

then you'd be using the much faster node-sass instead of sass.js

[…] can't we or couldn't would be a good thing run some javascript code to help us?

You could make use of sass functions, which allows you to register JavaScript callbacks for sass functions. This is using an extension API in libsass that I haven't gotten around to implement in sass.js yet (tracked in issue #27).

closing for lack of feedback/activity


scroll over the keyboard with textinput

Hi, I need to know if it is possible to start the scroll like whatsapp does:
Now the scroll starts when you reach the keyboard, but I (having a textinput on it) would like it to start when you get to the edge of the textinput section.
I leave a video attached to make you understand.
https://user-images.githubusercontent.com/32598073/142661522-99137c8c-7b54-4f83-b275-99703ecc4b07.mp4

Sorry for the long response. Will see what I can do.

Hi! This behaviour is now included in RN 0.68 and you don't need this library anymore. Refer to https://github.com/facebook/react-native/pull/31402. Thanks!


feat(DEV-1252): EKS ArgoCD Environments

what

Consolidating all required workflows into a single repo

why

Easier maintenance and simplicity

references

DEV-1252
https://github.com/cloudposse/github-actions-workflows-docker-ecr-eks-helm-argocd
https://github.com/cloudposse/github-actions-workflows

todo:
Failed sync attempt to 2cefc09f33a332f66c6d179942c763e22c6bfe4d: one or more objects failed to apply, reason: Service "example-app-monochart" is invalid: metadata.labels: Invalid value: "dev-1252-self-contained-workflows.example-app-on-eks-with-argocd": must be no more than 63 characters,Deployment.apps "example-app-monochart" is invalid: metadata.labels: Invalid value: "dev-1252-self-contained-workflows.example-app-on-eks-with-argocd": must be no more than 63 characters,Ingress.extensions "example-app-monochart-default" is invalid: metadata.labels: Invalid value: "dev-1252-self-contained-workflows.example-app-on-eks-with-argocd": must be no more than 63 characters (retried 5 times).

deployed successfully:


No Documentation on What IAM Permissions are Required

Would be great if the docs could include some IAM policy samples on what sorts of permissions are required:

To read (no creation or updates)
To create the tables
To update the tables

There are pre-made policies in AWS for dynamo, but they are often really permissive.

@chrisguitarguy Feel free to create a PR and I would be happy to take a look at it. Otherwise I'll try to get around to it at some point.


feat: Support default values for v-bind in CSS

see vuejs/core pull request for detail

Could you please reopen the PR once the feature is added to core?
Also, the default parameters feature has been rejected before.
https://github.com/vuejs/rfcs/pull/231#issuecomment-737433208
I think you need to explain why you need that feature.


Random crash

Not sure why Hyprland crashed this time but I had two windows open on two screens. One of Qutebrowser which I was actively catching up on Mastodon and a Foot terminal on the other. As I was scrolling through the federated stuff I got dumped back to the tty login.
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
"stable"

Hyprland received signal 11 (Segmentation fault)

Version: 5ce91bb0fd4fe8eb09f1a728e3b84cc1ff4244eb

System info:
	System name: Linux
	Node name: justine-laptop
	Release: 6.2.7-arch1-1
	Version: #1 SMP PREEMPT_DYNAMIC Sat, 18 Mar 2023 01:06:36 +0000

GPU:
	07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev d1) (prog-if 00 [VGA controller])

os-release:
	NAME="Arch Linux"
	PRETTY_NAME="Arch Linux"
	ID=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://archlinux.org/"
	DOCUMENTATION_URL="https://wiki.archlinux.org/"
	SUPPORT_URL="https://bbs.archlinux.org/"
	BUG_REPORT_URL="https://bugs.archlinux.org/"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=archlinux-logo

Backtrace:
	#0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x721) [0x5597e78372b1]
		??
		??:0
	#1 | Hyprland(_Z25handleUnrecoverableSignali+0x3c) [0x5597e77d3c6c]
		??
		??:0
	#2 | /usr/lib/libc.so.6(+0x38f50) [0x7eff55369f50]
		??
		??:0
	#3 | /usr/lib/libwlroots.so.12032(+0x823b4) [0x7eff55f523b4]
		??
		??:0
	#4 | /usr/lib/libwlroots.so.12032(wlr_surface_get_extends+0x3b) [0x7eff55f5448b]
		??
		??:0
	#5 | Hyprland(_ZN14SubsurfaceTree18destroySurfaceTreeEP16SSurfaceTreeNode+0x24d) [0x5597e787190d]
		??
		??:0
	#6 | Hyprland(_ZN6Events22listener_unmapPopupXDGEPvS0_+0x6b) [0x5597e78558ab]
		??
		??:0
	#7 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x3c) [0x5597e787227c]
		??
		??:0
	#8 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7eff55dd7f6e]
		??
		??:0
	#9 | /usr/lib/libwlroots.so.12032(+0x7fe5a) [0x7eff55f4fe5a]
		??
		??:0
	#10 | /usr/lib/libwayland-server.so.0(+0xb8ba) [0x7eff55dd98ba]
		??
		??:0
	#11 | /usr/lib/libwayland-server.so.0(wl_resource_destroy+0xc9) [0x7eff55ddb6a9]
		??
		??:0
	#12 | /usr/lib/libffi.so.8(+0x74f6) [0x7eff54ea54f6]
		??
		??:0
	#13 | /usr/lib/libffi.so.8(+0x3f5e) [0x7eff54ea1f5e]
		??
		??:0
	#14 | /usr/lib/libffi.so.8(ffi_call+0x123) [0x7eff54ea4b73]
		??
		??:0
	#15 | /usr/lib/libwayland-server.so.0(+0x8ada) [0x7eff55dd6ada]
		??
		??:0
	#16 | /usr/lib/libwayland-server.so.0(+0xd01c) [0x7eff55ddb01c]
		??
		??:0
	#17 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7eff55dd99e2]
		??
		??:0
	#18 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7eff55dda197]
		??
		??:0
	#19 | Hyprland(main+0x5ad) [0x5597e77c670d]
		??
		??:0
	#20 | /usr/lib/libc.so.6(+0x23790) [0x7eff55354790]
		??
		??:0
	#21 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7eff5535484a]
		??
		??:0
	#22 | Hyprland(_start+0x25) [0x5597e77d3b35]
		??
		??:0

Log tail:
[LOG] Registered signal for owner e9992040: e9e0ec88 -> e99920b8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e9992040: e9e0ec78 -> e9992120 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e9992040: e9e0ec98 -> e9992188 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! (pWindow: e9d766a0)
[LOG] XDG Popup got assigned a surfaceTreeNode e9992040
[LOG] XDG Popup unmapped
[LOG] Callback e9d90190 -> e9d90188, CWLSurface removed.
[LOG] CWLSurface e9d90160 called destroy()
[LOG] Callback e9992148 -> e9992140, SurfaceTreeNode removed.
[LOG] Callback e99921b0 -> e99921a8, SurfaceTreeNode removed.
[LOG] Callback e99920e0 -> e99920d8, SurfaceTreeNode removed.
[LOG] SurfaceTree Node removed
[LOG] Destroyed popup XDG e9d9d390
[LOG] Callback e9d9d580 -> e9d9d578, HyprPopup removed.
[LOG] Callback e9d9d518 -> e9d9d510, HyprPopup removed.
[LOG] Callback e9d9d4b0 -> e9d9d4a8, HyprPopup removed.
[LOG] Callback e9d9d448 -> e9d9d440, HyprPopup removed.
[LOG] Callback e9d9d3e0 -> e9d9d3d8, HyprPopup removed.
[LOG] Searching for matching rules for org.qutebrowser.qutebrowser (title: Local timeline - Fosstodon - qutebrowser)
[LOG] Window e9d766a0 set title to Local timeline - Fosstodon - qutebrowser
[LOG] Hiding the cursor (timeout)
[LOG] Showing the cursor (timeout)
[LOG] Hiding the cursor (timeout)
[LOG] Showing the cursor (timeout)
[LOG] Searching for matching rules for org.qutebrowser.qutebrowser (title: Fosstodon - qutebrowser)
[LOG] Window e9d766a0 set title to Fosstodon - qutebrowser
[LOG] Searching for matching rules for org.qutebrowser.qutebrowser (title: Federated timeline - Fosstodon - qutebrowser)
[LOG] Window e9d766a0 set title to Federated timeline - Fosstodon - qutebrowser
[LOG] New layer popup created from XDG window e9d766a0 -> Federated timeline - Fosstodon - qutebrowser
[LOG] Registered signal for owner e9d9d390: e9d95320 -> e9d9d420 (owner: HyprPopup)
[LOG] Registered signal for owner e9d9d390: e9d95350 -> e9d9d488 (owner: HyprPopup)
[LOG] Registered signal for owner e9d9d390: e9d95360 -> e9d9d4f0 (owner: HyprPopup)
[LOG] Registered signal for owner e9d9d390: e9d95340 -> e9d9d3b8 (owner: HyprPopup)
[LOG] Registered signal for owner e9d9d390: e9e0ec78 -> e9d9d558 (owner: HyprPopup)
[LOG] Popup: Unconstrained from lx ly: 0.000000 0.000000, pHyprPopup lx ly: 12.000000 51.000000
[LOG] New XDG Popup mapped at 12 51
[LOG] Registered signal for owner e9e200e0: e9e0ec98 -> e9e200e8 (owner: CWLSurface)
[LOG] CWLSurface e9e200e0 called init()
[LOG] Registered signal for owner e9992040: e9e0ec88 -> e99920b8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e9992040: e9e0ec78 -> e9992120 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner e9992040: e9e0ec98 -> e9992188 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! (pWindow: e9d766a0)
[LOG] XDG Popup got assigned a surfaceTreeNode e9992040
[LOG] Hiding the cursor (timeout)
[LOG] XDG Popup unmapped
[LOG] Callback e9e20110 -> e9e20108, CWLSurface removed.
[LOG] CWLSurface e9e200e0 called destroy()
[LOG] Callback e9992148 -> e9992140, SurfaceTreeNode removed.
[LOG] Callback e99921b0 -> e99921a8, SurfaceTreeNode removed.
[LOG] Callback e99920e0 -> e99920d8, SurfaceTreeNode removed.

It just crashed again and all I had open was qutebrowser viewing mastodon and had just closed the pinned mpv window on one screen whilst the foot terminal sat idle on the other screen. Nothing else was open.
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
This was an accident, I swear!

Hyprland received signal 11 (Segmentation fault)

Version: cf51a318078c82040eaeab29664bc34144ee1d62

System info:
	System name: Linux
	Node name: justine-laptop
	Release: 6.2.7-arch1-1
	Version: #1 SMP PREEMPT_DYNAMIC Sat, 18 Mar 2023 01:06:36 +0000

GPU:
	07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [1002:1636] (rev d1) (prog-if 00 [VGA controller])

os-release:
	NAME="Arch Linux"
	PRETTY_NAME="Arch Linux"
	ID=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://archlinux.org/"
	DOCUMENTATION_URL="https://wiki.archlinux.org/"
	SUPPORT_URL="https://bbs.archlinux.org/"
	BUG_REPORT_URL="https://bugs.archlinux.org/"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=archlinux-logo

Backtrace:
	#0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x721) [0x55e12ef3a851]
		??
		??:0
	#1 | Hyprland(_Z25handleUnrecoverableSignali+0x3c) [0x55e12eed6cfc]
		??
		??:0
	#2 | /usr/lib/libc.so.6(+0x38f50) [0x7f21fcd69f50]
		??
		??:0
	#3 | /usr/lib/libwlroots.so.12032(+0x823b4) [0x7f21fd9b23b4]
		??
		??:0
	#4 | /usr/lib/libwlroots.so.12032(wlr_surface_get_extends+0x3b) [0x7f21fd9b448b]
		??
		??:0
	#5 | Hyprland(_ZN14SubsurfaceTree18destroySurfaceTreeEP16SSurfaceTreeNode+0x24d) [0x55e12ef74d8d]
		??
		??:0
	#6 | Hyprland(_ZN6Events22listener_unmapPopupXDGEPvS0_+0x6b) [0x55e12ef58d2b]
		??
		??:0
	#7 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x3c) [0x55e12ef756fc]
		??
		??:0
	#8 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f21fd837f6e]
		??
		??:0
	#9 | /usr/lib/libwlroots.so.12032(+0x7fe5a) [0x7f21fd9afe5a]
		??
		??:0
	#10 | /usr/lib/libwayland-server.so.0(+0xb8ba) [0x7f21fd8398ba]
		??
		??:0
	#11 | /usr/lib/libwayland-server.so.0(wl_resource_destroy+0xc9) [0x7f21fd83b6a9]
		??
		??:0
	#12 | /usr/lib/libffi.so.8(+0x74f6) [0x7f21fc9054f6]
		??
		??:0
	#13 | /usr/lib/libffi.so.8(+0x3f5e) [0x7f21fc901f5e]
		??
		??:0
	#14 | /usr/lib/libffi.so.8(ffi_call+0x123) [0x7f21fc904b73]
		??
		??:0
	#15 | /usr/lib/libwayland-server.so.0(+0x8ada) [0x7f21fd836ada]
		??
		??:0
	#16 | /usr/lib/libwayland-server.so.0(+0xd01c) [0x7f21fd83b01c]
		??
		??:0
	#17 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7f21fd8399e2]
		??
		??:0
	#18 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f21fd83a197]
		??
		??:0
	#19 | Hyprland(main+0x5ad) [0x55e12eec979d]
		??
		??:0
	#20 | /usr/lib/libc.so.6(+0x23790) [0x7f21fcd54790]
		??
		??:0
	#21 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f21fcd5484a]
		??
		??:0
	#22 | Hyprland(_start+0x25) [0x55e12eed6bc5]
		??
		??:0

Log tail:
[LOG] Registered signal for owner 30f84e50: 30f81ff0 -> 30f84fb0 (owner: HyprPopup)
[LOG] Registered signal for owner 30f84e50: 30f81fd0 -> 30f84e78 (owner: HyprPopup)
[LOG] Registered signal for owner 30f84e50: 30f906e8 -> 30f85018 (owner: HyprPopup)
[LOG] Popup: Unconstrained from lx ly: 0.000000 0.000000, pHyprPopup lx ly: 12.000000 51.000000
[LOG] New XDG Popup mapped at 12 51
[LOG] Registered signal for owner 30fd7850: 30f90708 -> 30fd7858 (owner: CWLSurface)
[LOG] CWLSurface 30fd7850 called init()
[LOG] Registered signal for owner 30c3e040: 30f906f8 -> 30c3e0b8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 30c3e040: 30f906e8 -> 30c3e120 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 30c3e040: 30f90708 -> 30c3e188 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! (pWindow: 3101fd50)
[LOG] XDG Popup got assigned a surfaceTreeNode 30c3e040
[LOG] XDG Popup unmapped
[LOG] Callback 30fd7880 -> 30fd7878, CWLSurface removed.
[LOG] CWLSurface 30fd7850 called destroy()
[LOG] Callback 30c3e148 -> 30c3e140, SurfaceTreeNode removed.
[LOG] Callback 30c3e1b0 -> 30c3e1a8, SurfaceTreeNode removed.
[LOG] Callback 30c3e0e0 -> 30c3e0d8, SurfaceTreeNode removed.
[LOG] SurfaceTree Node removed
[LOG] Destroyed popup XDG 30f84e50
[LOG] Callback 30f85040 -> 30f85038, HyprPopup removed.
[LOG] Callback 30f84fd8 -> 30f84fd0, HyprPopup removed.
[LOG] Callback 30f84f70 -> 30f84f68, HyprPopup removed.
[LOG] Callback 30f84f08 -> 30f84f00, HyprPopup removed.
[LOG] Callback 30f84ea0 -> 30f84e98, HyprPopup removed.
[LOG] Searching for matching rules for org.qutebrowser.qutebrowser (title: Local timeline - Fosstodon - qutebrowser)
[LOG] Window 3101fd50 set title to Local timeline - Fosstodon - qutebrowser
[LOG] Hiding the cursor (timeout)
[LOG] Showing the cursor (timeout)
[LOG] New layer popup created from XDG window 3101fd50 -> Local timeline - Fosstodon - qutebrowser
[LOG] Registered signal for owner 30f84e50: 30f8e1a0 -> 30f84ee0 (owner: HyprPopup)
[LOG] Registered signal for owner 30f84e50: 30f8e1d0 -> 30f84f48 (owner: HyprPopup)
[LOG] Registered signal for owner 30f84e50: 30f8e1e0 -> 30f84fb0 (owner: HyprPopup)
[LOG] Registered signal for owner 30f84e50: 30f8e1c0 -> 30f84e78 (owner: HyprPopup)
[LOG] Registered signal for owner 30f84e50: 30f906e8 -> 30f85018 (owner: HyprPopup)
[LOG] Popup: Unconstrained from lx ly: 0.000000 0.000000, pHyprPopup lx ly: 12.000000 51.000000
[LOG] New XDG Popup mapped at 12 51
[LOG] Registered signal for owner 30f872c0: 30f90708 -> 30f872c8 (owner: CWLSurface)
[LOG] CWLSurface 30f872c0 called init()
[LOG] Registered signal for owner 30c3e040: 30f906f8 -> 30c3e0b8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 30c3e040: 30f906e8 -> 30c3e120 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 30c3e040: 30f90708 -> 30c3e188 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! (pWindow: 3101fd50)
[LOG] XDG Popup got assigned a surfaceTreeNode 30c3e040
[LOG] XDG Popup unmapped
[LOG] Callback 30f872f0 -> 30f872e8, CWLSurface removed.
[LOG] CWLSurface 30f872c0 called destroy()
[LOG] Callback 30c3e148 -> 30c3e140, SurfaceTreeNode removed.
[LOG] Callback 30c3e1b0 -> 30c3e1a8, SurfaceTreeNode removed.
[LOG] Callback 30c3e0e0 -> 30c3e0d8, SurfaceTreeNode removed.

you updated from 37ced6a?? Nothing's changed pretty much since then.

should be fixed with 3a3a3f7bdb4057a614ff939eec6a40ef63fbe327
let me know how it goes.

Yeah, i was on https://github.com/hyprwm/Hyprland/commit/37ced6aca4ad8f18f8e205e3cdb6de9c8964d4b6, but if i recall correctly, maybe just for a total of 3h (i could have had luck and there was no crash, since these seems to some kind of random in there appearance). Before i was on branch [screencopy-impl](https://github.com/hyprwm/Hyprland/tree/screencopy-impl) for more than 4 days with heavy usage (10-12 hours a day) and as i said, since i use Hyprland, i never had crashes of the wl. I only have had some probs with ff and screensharing (that is now working, just only cpu-rendered), but thats another topic and maybe related to wlr-roots or my system, since i came frome gnome and remove gnome-shell completly.
I now upgraded to [main](https://github.com/hyprwm/Hyprland/commit/471ac474a1f6d32c07bf36cdf3840dab03f93f39) and test it now since i will be in an 6h vc. So i should enconter a crash if it persists/was not fixed with https://github.com/hyprwm/Hyprland/commit/37ced6aca4ad8f18f8e205e3cdb6de9c8964d4b6.
Thank you for your amazing work and fast response. I will get back here at the end of the day and give you status update.

Yeah, confirming that i also had no crash so far on https://github.com/hyprwm/Hyprland/commit/471ac474a1f6d32c07bf36cdf3840dab03f93f39... seems fixed, but i will test until the end of my day and report back.

Seems fixed to me so thank you very much and feel free to close this issue @vaxerski  . If it does reoccur we can always reopen. ;)


Composite Entities as part of Rasa NLU

Description of Problem:
Rasa currently has no native support for composite entities (entities that consist of multiple sub-entities). This feature is available in competitors like wit.ai and dialogflow.
Overview of the Solution:
A while ago, I've implemented composite entities as a custom component. This has worked for my use-cases. However, having this functionality as a separate component has some serious drawbacks:

The feature is basic enough that it's annoying to have to install a separate library
Getting the required training data for the composite definitions is messy, as there is no canonical way to pass additional training data fields to components
Because of 2), I have to rely on some internal methods that have changed their signature multiple times and broke things.

My proposal is now that I take the functionality from this component and put it in a pull request to make it available throughout rasa. Definitions of composite entities would then be first class training data, meaning that they are defined the same way as e.g. lookup tables.
For example a markdown file containing NLU training data could contain another category defining composites of entities (a "@" is used to mark entity names).
## composite:car
- @color @brand

I'm open to discussion about the specifics of my implementation. Is there any argument against proceeding with this? One argument I could imagine is not wanting to increase the number of fields in the training files further.

Hi @BeWe11 thanks for the suggestion! We actually decided against merging a feature like this a while ago: https://github.com/RasaHQ/rasa/pull/1475
That's not to say we won't consider merging yours -- could you provide some more details to your approach?

Hey @akelad, thank you for your response and the link, I'm aware of the previous pull request.
The approach of the closed pull request had various assumptions about the training data built in, e.g. about time and date entities, it used lookup tables to find entities etc.
My approach is a simple regex check and it only kicks in after all other entity extractors have been applied. It just checks whether a predefined pattern (say @color @product with @extras) matches a parsed sentence structure (say red shoes with shoelaces where red, shoes and shoelaces have been recognized as entities of type color, brand and extras). I'd like to refer you to the Github page that I've linked for a full example.
This is very similar to the dialogflow implementation. There is no complicated interaction to other extractors and it doesn't require any restructuring of training data. The only thing required is a definition of some named patterns. The way I'm imagining it, these definitions would be placed alongside other "extra" definitions like lookup tables, for example:
{
    "rasa_nlu_data": {
        "common_examples": [],
        "regex_features" : [],
        "lookup_tables"  : [],
        "entity_synonyms": [],
        "composite_patterns": [
            {
               "name": "product",
               "patterns": [
                   "@color @brand with @extras"
               ]
            }
        ]
    }
}

I can understand that you might want to include yet another category in the training data. I'd like to argue that the feature of composite entities is so basic that there might be a case for making the data available natively.

Ok cool, thanks for the detailed info! We'll discuss and let you know

Hi @BeWe11,
I think your composite_patterns definition is a very intuitive implementation, however does it generalise?  i.e. in this example does every composite entity need to contain the with token in order to be recognised?

Hi @MetcalfeTom ,
I have been using @BeWe11 's composite_entity_extractor for a while and everything works great for me. From my understanding and experience, I think the with token is not necessary for every composite entity. The patterns is the list of all combinations of entities that you want to be recognized as the name (that includes both entity and text string). In this example
{
    "name": "product_with_attributes",
    "patterns": [
      "@color @product with @pattern",
      "@pattern @color @product"
    ]
}

Both pattern @color @product with @pattern and @pattern @color @product will be recognized as product_with_attributes, where in the first case "with" is a string. So it is also possible to add another pattern as @color @product of @pattern and it will also be recognized as the same composite entity.
Thanks for considering this repo. Composite entity is a feature that we used a lot so really hope rasa could support it natively.

Hey @MetcalfeTom,
with patterns being regexes, the composites generalize to everything that can be expressed as a regex. For example, the with could be made optional by using
@color @product (?:with )?@pattern

Alternatively, you could just define multiple patterns for the same composite entity as in @BrianYing's example.
Using raw regexes for pattern definitions provides a lot of flexibility. The downside is that defining regexes for complex use-cases can be quite tricky. Defining patterns is kind of a "set-and-forget" task though, so the trade-off might be justified.

hey @BeWe11 - thanks for that. I  created a draft PR with an alternative approach where  we train a second CRF. This might be more flexible because it could allow for entity roles as well as compound entities.  Very much WIP though https://github.com/RasaHQ/rasa/pull/3889

Hey @amn41,
from skimming over your code, I'm not quite sure what these entity roles are and how they are implemented. Would roles be given in the training examples, i.e. one would have to tag individual entities as well as groups of entities per example sentence?

haven't thought too much about the data format yet, but added some notes about the general idea to the PR description

I think next step is to better evaluate @amn41's proposal. @BeWe11 / @BrianYing do you have any data we could use to test this approach? (if you do not want to share it publicly but could share it under NDA, please write me a mail)

Hi @tmbo can my organization leverage our existing partnership with rasa to work together on this?

Hey @cyrilthank which organization are you with?

Hi @akelad  I am with http://aiware.ai/ and rasa partnership with http://cleareye.ai/

@cyrilthank as far as I'm aware we don't have any partnerships with either of those companies. In any case though, the next step at the moment is still to evaluate alans approach to this - @amn41 do we have any updates on that?

Thank you @akelad for your reply
Can you please advise the mail id i can send the partnership credentials/documentation to confirm that we do have a rasa partnership
my mail id is<EMAIL_ADDRESS>

Hi @cyrilthank yes my bad, there was some miscommunication about that. Please contact us via email if you want to discuss anything regarding our partnership, as we would prefer not to do this in the community

Thank you @akelad  for patiently checking this. I understand completely 'multiple entities' causing......
Appreciate it if you could drop me a mail at<EMAIL_ADDRESS>on how i may contact rasa-partnership team by email
Thank you for all your help
cyril

Hi @cyrilthank, @akelad, @amn41,
actually I would be interested in solving this too. If additional ressources are needed, you might want to consider me/us in - in case you dont want to do it internally.
Regards
Julian

Hi @akelad please share the partnership related engagement information to<EMAIL_ADDRESS>since we want to explore other use-cases too where we can collaborate

@cyrilthank you can get in touch with us via<EMAIL_ADDRESS>@amn41 what's the update with your PR? Would be good to see if it makes sense for a community member to work on this :)

sorry - I have an idea for a simpler way to achieve this but need to work out the details. Will discuss with @tabergma @Ghostvv

Thanks @akelad i have reached out to<EMAIL_ADDRESS>

Hi team, is it something you are still working on? Our organization really needs this and I saw that the other PR #3889 was closed.

yes, we are! waiting on a couple of other NLU pieces to come together but working on a good solution

Can you please share which version this is targeted for ?
Thank youCyril
On Monday, November 25, 2019, 11:56:57 PM GMT+5:30, Alan Nichol<EMAIL_ADDRESS>wrote:
yes, we are! waiting on a couple of other NLU pieces to come together but working on a good solution
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

yes, we are! waiting on a couple of other NLU pieces to come together but working on a good solution

That's awesome :-) Looking forward to it! In the meantime, we'll use @BeWe11's solution as a workaround

@nbeuchat @BeWe11 We have a first working version of the composite entity feature ready. If you are still interested, I can share the feature with you so that you can test it before the actual release. Just let me know. Thanks.

Thanks for the update @tabergma ! I'd love to check it out :-)

I am interested as well, @tabergma !

@tabergma I am struggling with a similar use case too! If possible I would love to try using it and test it out

@shubhamnatraj We actually released the feature yesterday, see here. Would be great if you could share some feedback with us once you tested it. Thanks.

@tabergma Thank you! I will try it out and share my feedback on the thread itself.

I would close this issue - feel free to still leave any feedback you have here or on the forum. And if there's any issues/enhancement requests with the current feature, please open a new issue


Each address point feature must contain a popup a context menu

Added the reverse geocode location of the point clicked on the map


Microsoft SQL Server error with 'yii\web\DbSession'

What steps will reproduce the problem?
Create table session using migration:
        $this->createTable('{{%session}}', [
            'id' => $this->string()->notNull(),
            'expire' => $this->integer(),
            'data' => $this->binary(),
            'PRIMARY KEY ([[id]])',
        ]);

Configure session handler:
        'session'      => [
            'class'        => 'yii\web\DbSession',
            'sessionTable' => '{{%session}}',
        ]

Run web application.
What is the expected result?
No error
What do you get instead?
Session data are not written into database because of error:
Exception (Database Exception) 'yii\db\Exception' with message
'SQLSTATE[42000]: [Microsoft][SQL Server Native Client 11.0][SQL Server]Implicit conversion from data type nvarchar to binary is not allowed. Use the CONVERT function to run this query.
The SQL being executed was:
INSERT INTO [session] ([data], [id], [expire]) VALUES ('__flash|a:0:{}dummy|s:5:"12345";', '9ds6jo8mg1j2dctk8ifip3mbd7',<PHONE_NUMBER>)'

Error is repeated with session.serialize_handler value set to php_serialize, php and php_binary.
Additional info

Q
A

Yii version
2.0.9

PHP version
5.5.16

Operating system
Windows Server 2012 R2 Standard Edition

pdo_sqlsrv
Microsoft SQL Server 2012 (SP1) - 11.0.3156.0 (X64)
    May  4 2015 18:48:09
    Copyright (c) Microsoft Corporation
    Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)

UPD:
running sql from https://github.com/yiisoft/yii2/blob/master/framework/web/migrations/schema-mssql.sql produces error:
Error: SQLSTATE[42000]: [Microsoft][SQL Server Native Client 11.0][SQL Server]Column, parameter, or variable #3: Cannot find data type BLOB.

Could you check now, please?

Should not be varbinnary(max) with single n ?

It must. Updated

Still get
Exception (Database Exception) 'yii\db\Exception' with message 'SQLSTATE[42000]: [Microsoft][SQL Server Native Client 11.0][SQL Server]Implicit conversion from data type nvarchar to varbinary(max) is not allowed. Use the CONVERT function to run this query. The SQL being executed was: INSERT INTO [session2] ([data], [id], [expire]) VALUES ('__flash|a:0:{}', 'trbq50v3h7fcder9pf0749e8u7',<PHONE_NUMBER>)'

Reproduced.

Seems LOBs aren't supported by MSSQL official PDO driver: http://sqlsrvphp.codeplex.com/SourceControl/latest#pdo_sqlsrv/pdo_stmt.cpp see //TODO :(

https://github.com/Microsoft/msphpsql/issues/140

The solution is to cast explicitly CONVERT(VARBINARY, :p1) everywhere where value is bound.

@SDKiller would you please check if it works for you if you have some time?

@samdark
Error on calling Yii::$app->session->set() is gone.
But now there is a problem with getting values form session with get().
Data is empty - but data column is not empty.
Maybe it is a separate issue with session handler on windows server and converting data back from binary type?
Switched back to session table with text type for data column - at least it was working.

Should be separate thing. What I've fixed is about MSSQL PDO not working with varbinary(max).

PHP 7.1.0
Yii 2.0.12
SQL Server 2017
DbSession
having problems decoding session from DbSession on MS SQL with [data] column as VARBINARY(MAX).
session decode is Failing. changed the datatype to nvarchar(max) seems to be working..

@njasm please open a new issue. This one is already assigned to a closed milestone.


Live screen annotation add-on tool for PowerToys

Description of the new feature / enhancement
Hello,
I would like to request a feature to PowerToys similiar in use to apps such as MC Zoomit & Carnac.
The tool should provide possibility for user to draw on screen: lines, arrows, squares, rectangles, text, etc with different pallet chooses by user in settings.
Also it should allow user to turn on/off this function ad-hoc with shortcut or different element.
As for second feature, it would display live usage of inputs on the screen such as key stroke pressed, mouse movement or different mouse clicks, touchpad gestures, etc.
Thank you for you time.
Scenario when this would be used?
Mostly used in live screen presentation schools, creating tutorials, etc.
It would greatly help in education purposes in schools.
Supporting information
No response

/dup #149
ZoomIt is coming soon :)


Error occurred while training DocOwl1.5 on my dataset

{'loss': 1.5804, 'learning_rate': 2.1301775147929e-06, 'epoch': 0.01}
{'loss': 1.377, 'learning_rate': 2.2485207100591717e-06, 'epoch': 0.01}
{'loss': 1.308, 'learning_rate': 2.366863905325444e-06, 'epoch': 0.01}
{'loss': 1.2537, 'learning_rate': 2.485207100591716e-06, 'epoch': 0.01}
{'loss': 1.174, 'learning_rate': 2.603550295857988e-06, 'epoch': 0.01}
  0%|▋                                                                                | 22/5625 [03:56<16:37:04, 10.68s/it]Traceback (most recent call last):
  File "mplug_docowl/train/train_docowl.py", line 731, in <module>
    train()
  File "mplug_docowl/train/train_docowl.py", line 708, in train
    trainer.train()
  File "/opt/conda/lib/python3.8/site-packages/transformers/trainer.py", line 1539, in train
    return inner_training_loop(
  File "/opt/conda/lib/python3.8/site-packages/transformers/trainer.py", line 1809, in _inner_training_loop
    tr_loss_step = self.training_step(model, inputs)
  File "/opt/conda/lib/python3.8/site-packages/transformers/trainer.py", line 2654, in training_step
    loss = self.compute_loss(model, inputs)
  File "/opt/conda/lib/python3.8/site-packages/transformers/trainer.py", line 2679, in compute_loss
    outputs = model(**inputs)
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/deepspeed/utils/nvtx.py", line 15, in wrapped_fn
    ret_val = func(*args, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/deepspeed/runtime/engine.py", line 1852, in forward
    loss = self.module(*inputs, **kwargs)
  File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/mnt/workspace/sunzheng/LVLM/mPLUG-DocOwl/DocOwl1.5/mplug_docowl/model/modeling_mplug_docowl.py", line 243, in forward
    self.prepare_inputs_labels_for_multimodal(input_ids, attention_mask, past_key_values, labels, images, patch_positions)
  File "/mnt/workspace/sunzheng/LVLM/mPLUG-DocOwl/DocOwl1.5/mplug_docowl/model/modeling_mplug_docowl.py", line 111, in prepare_inputs_labels_for_multimodal
    cur_image_features = image_features[cur_image_idx]
IndexError: index 9 is out of bounds for dimension 0 with size 9

Have you encountered this issue before?

Hi, @whalefa1I, it seems that the format of some samples of your data may be incorrect, could you print the sample causing this error?

Hi, @whalefa1I, it seems that the format of some samples of your data may be incorrect, could you print the sample causing this error?

The text content is generated by coding works, so there shouldn't be too many errors,but I'll go check it now. Is it possible that the issue is due to the images?

Hi, @whalefa1I, it seems that the format of some samples of your data may be incorrect, could you print the sample causing this error?

The text content is generated by coding works, so there shouldn't be too many errors,but I'll go check it now. Is it possible that the issue is due to the images?

Yes, maybe there are multiple input images and only 1 <|image|> in your query?

Collaborator

Hi, @whalefa1I, it seems that the format of some samples of your data may be incorrect, could you print the sample causing this error?

The text content is generated by coding works, so there shouldn't be too many errors,but I'll go check it now. Is it possible that the issue is due to the images?

Yes, this error is due to the number of image placeholders in the text input is not equal to the number of image features. Maybe there are multiple input images and only 1 <|image|> in your query?

I will add some assertions for verification. Thank you.


Logout()

Using logout() it does clear the keytar data so next time when the user tries to log in a new browser window appears to ask the user about logging in:-

The issue
The issue however is that it doesn't call the IDP logout endpoint (https://auth0.com/docs/logout/log-users-out-of-idps) so next time when a new user tries to login he automatically logs into the first account, whether you press "Not your account?" or not.
Last screen after the user logs in without any auth0 email or password:-

Hi Khalid, thanks for the bug report.
It looks like Auth0 is remembering the session when the browser window is opened. I think disabling that functionality would be the way to go, rather than making app login sign the user out of the SSO system. You wouldn't expect that logging out of a single desktop app would log you out of e.g. your mobile Google account, for instance.
It's been a while since I worked with Auth0 but I think it should just be a matter of deleting any Auth0 session cookies. If I create a beta release with this in place could you help me test it? I don't have a good testbed for Auth0 Electron right now.

Hi Khalid, thanks for the bug report.
It looks like Auth0 is remembering the session when the browser window is opened. I think disabling that functionality would be the way to go, rather than making the app logout sign the user out of the SSO system. You wouldn't expect that logging out of a single desktop app would log you out of e.g. your mobile Google account, for instance.
It's been a while since I worked with Auth0 but I think it should just be a matter of deleting any Auth0 session cookies. If I create a beta release with this in place could you help me test it? I don't have a good testbed for Auth0 Electron right now.

yes @jbreckmckye it is indeed a matter of clearing session
I will close this
for anyone having this issue please use this code to clear the session:-
export const clearStorageData = async ses => {
  await ses.clearStorageData({
    storages: ['cookies'],
  })
}

Note: You can also modify function about to delete cookies of only your IdP

You shouldn't need to do that - if we call the Auth0 logout endpoint I believe it will just wipe the session cookies. Or I assume we can use the Electron cookies API.
It should be handled by the library if possible.

You shouldn't need to do that - if we call the Auth0 logout endpoint I believe it will just wipe the relevant session cookies. Or I assume we can use the Electron cookies API.
It should be handled by the library if possible. At present this looks quite broken. I'm not sure when this started to happen, but I'd be keen to fix it.
Also you presumably wouldn't want to wipe all cookies across all domains; there could be non-login cookies in scope.

the logout function works logs out the user from auth0, which works perfectly fine
but it does not logs out the user from the Identity provider page.
For example Micosoft Azure IDP dosent log out the user on calling the logout() method.


yarn.lock update

...after release

Tugboat has finished building the preview for this pull request!
Link:

https://pr4578-3o4zazr3x8bhpvgrsopthfl7ggrvafdg.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/602e805d65f817b5b8f3819a


[Suggestion] Gui

Make a video on how to make a custom gui. That is followed by the instructions  on that page.

lol there are many vid tutorials about custom main menu


No free temporize plan

I get this error when I click the Deploy App button:
"Couldn't find either the add-on service or the add-on plan of "temporize:developer".
At the add-ons list the Temporize Scheduler has a Professional attribute and a $29.00 fee.

I am facing the same problem.

Same issue here:

Create app
App creation failed. Please ensure you have valid values in the above form fields.
Configure environment
There was an issue setting up your app environment.
Couldn't find either the add-on service or the add-on plan of "temporize:developer".

I'm also facing the same issue...

Same here

Could you change the scheduler add-on to a free one?

Same here for a new project I'm working on. I have 2 other projects that were set up before this current issue and they are unchanged. Please help!

I'm also encountering this. 😑  Any alternatives you can provide @benjamin-hull would be much appreciated. 🙏

Oh dear. I wonder if the unexpected popularity of this tool is a factor in them removing the free plan... seems likely! I'll investigate to see what other options are available.

Oh dear. I wonder if the unexpected popularity of this tool is a factor in them removing the free plan... seems likely! I'll investigate to see what other options are available.

I did wonder that myself @benjamin-hull 😅 . I appreciate you looking into this for us! Confident there'll be alternative solutions which achieve the same outcome. 🙏

maybe another plugin like heroku scheduler can do the job, don't know if transition to this tool is possible...

Sorry to chase @benjamin-hull - I'm sure you've got lots of important things vying for your attention at the moment, but I wonder if you might be able to provide a timescale as to when you plan to help us find a solution to this, please? 🙏 🙂
Perhaps @miljkovicmisa's suggestion of heroku scheduler might do the trick? 🤷♂  Thanks @miljkovicmisa for the suggestion by the way! 🙏

Hi all,
Heroku Scheduler is indeed capable of doing the same job, and is actually preferable in some ways as it's built into Heroku. The main downside is that you need to set it up manually, which would become by far the most complex part of the whole setup process - that's why I opted for temporize instead initially.
As far as timescale goes, @adaptpatrick - I'm afraid I can't say, as I really only get to work on ITA in my spare time. At a guess before the end of the year? Another concern is that adding some very manual steps to the setup is going to add a lot of points for potential problems, and so increase the amount of questions and support requests coming in (which I also can't answer as quickly as I'd like).
If time is of the essence and you're doing a commercial project, just paying for Temporize in the interim will be the fastest solution (if not the cheapest). There's also https://instant-tokens.com which is a centralised service that does what ITA does. I don't know much about how it works, but it might be worth checking out.

@benjamin-hull firstly - thanks for such a rapid response here, it's truly appreciated. 🙏  (I think I've used this emoji a little too much recently.. 😂 )
Totally understand your struggles with being able to spend time on ITA, so please don't feel too much pressure from us hounding you on here! We're (I'm sure I speak for most who've discovered ITA) very grateful for the time you've invested in it to date, so thank you!
With regards to a quick solution, I'm hesitant to start paying for Temporize personally as it's a monthly fee! If it had been a one-off fee per dyno or even a lower monthly fee, I would be slightly more open to it but $29/month is quite steep for the value it provides IMO.
I think we'll explore https://instant-tokens.com initially and go from there if it's not suitable for our needs. 🙂
Thanks again.

@adaptpatrick - would be great to know how you get on with integrating with instant-tokens, if you decide to go down that route. @benjamin-hull - thanks for all your hard work on this so far.

@adaptpatrick - would be great to know how you get on with integrating with instant-tokens, if you decide to go down that route. @benjamin-hull - thanks for all your hard work on this so far.

@studiohic I didn't actually complete the integration of instant-tokens myself, but one of my developers seemed to breeze through it with reasonable ease and we've been able to achieve the desired goal. On that basis I can recommend you give it a go yourself! It seems to be a straightforward process. 👍 🤓

@adaptpatrick - Thanks for the heads up. I managed to integrate everything with ease. Dare I say it easier than going down the Heroku route, well less task to run through anyway. Let's hope it updates itself when the time comes!

Instant tokens works well. Can anyone confirm that the tokens are being refreshed?

@lucasjohnson you mean this service?

Yes

Hi everybody!
I know this ticket has been created a while ago, but I just noticed it.
I am the creator of the Advanced Scheduler Heroku add-on. I think it is a valid alternative for Temporize.
@benjamin-hull Would you like to discuss ITA's requirements to see if there is a fit for a cost-effective solution?

I faced the same issue too 😐
But made it work with some other alternative.
If any of you have NodeJS based backend, this article may help 🚀🚀
Instagram Basic Display API integration with NodeJS


Cannot render component on the server (v2.0.0)

Expected behavior
Component should render on the server.
Actual behavior
When trying to run server side rendering an error is thrown:
ReferenceError: window is not defined
    at getLocaleObject (/Users/martin/projects/engined/e-care/node_modules/react-datepicker/lib/index.js:6099:3)
    at formatDate (/Users/martin/projects/engined/e-care/node_modules/react-datepicker/lib/index.js:5979:19)
    at safeDateFormat (/Users/martin/projects/engined/e-care/node_modules/react-datepicker/lib/index.js:5996:18)
    at DatePicker._this.renderDateInput (/Users/martin/projects/engined/e-care/node_modules/react-datepicker/lib/index.js:8806:154)
    at DatePicker.render (/Users/martin/projects/engined/e-care/node_modules/react-datepicker/lib/index.js:8881:14)
    at processChild (/Users/martin/projects/engined/e-care/node_modules/react-dom/cjs/react-dom-server.node.development.js:2861:18)
    at resolve (/Users/martin/projects/engined/e-care/node_modules/react-dom/cjs/react-dom-server.node.development.js:2714:5)
    at ReactDOMServerRenderer.render (/Users/martin/projects/engined/e-care/node_modules/react-dom/cjs/react-dom-server.node.development.js:3098:22)
    at ReactDOMServerRenderer.read (/Users/martin/projects/engined/e-care/node_modules/react-dom/cjs/react-dom-server.node.development.js:3057:29)
    at renderToString (/Users/martin/projects/engined/e-care/node_modules/react-dom/cjs/react-dom-server.node.development.js:3524:27)
...

Steps to reproduce
Try to render <DatePicker> on the server.
Problem is here: https://github.com/Hacker0x01/react-datepicker/blob/master/src/date_utils.js#L238-L255
I think that it can be easily fixed by local module variable for storing locale data.

I also found about this issue just when upgraded to 2.0.
Was happy to get rid of moment.js, but received this in exchange...
I could perhaps try to send PR for changing those window variables in date_utils.js to local variables, if that would be considered valid fix.

+1

So, I'm guessing the suggested work-around is to downgrade back to 1.x?


Failed to load resource: the server responded with a status of 400 ()

Hi guys. We've had V2 up and running for a while now, with no problems. However this week a couple of the sites have started returning 400 errors stating 'Failed to load resource: the server responded with a status of 400 ()'.
We're using instant-tokens.com to generate the Token, and that URL has been tested and is successfully still returning a Token. This therefore suggests there is no issue with the connection to Instagram itself?
Please see code below for reference, thanks.
// Init instafeed.js
// Access token needs refreshing every 60 days, done automatically via ajax call to instant-tokens.com
$.ajax({
type: 'get',
dataType: 'json',
url: 'https://ig.instant-tokens.com/users/............',
// If request is successful
success: function (response) {
var feed = new Instafeed({
target: 'instagram-carousel',
accessToken: response.Token, // Access token from json response
apiTimeout: 10000,
limit: 20,
template: '',
});
feed.run();
}
}
});

Hey @kaleidografik, thanks for the report! Do you have any more details on the error you were seeing, or a link I could take a look at?


Valid move missing for self.get_moves()

Hey, I've found a fen string for that you'll not receive the correct list of valid moves. The minimal test:
from Chessnut.game import Game
chessgame = Game()
chessgame.set_fen('r3kb1r/p1p2pp1/2p4p/3Pp3/6b1/2P5/PP1NN2P/R2QK1q1 w Qkq - 0 16')
try:
    assert (chessgame.get_moves() == ['d2f1', 'e2g1'])
    print 'Test passed.'
except AssertionError:
    print 'Test failed.'

The FEN corresponds to this position with white to move. Chessnut only returns the d2f1 move, but fails to return e2g1 knight capturing the queen.

Okay, I've found the problem. It happens during the evaluation if a possible move is a castle out of the check. At this point it is not verified if the move involves the king at all. e2g1 is therefore evaluated as if the king moved e1g1. Fixed on my pull request.

Nice work. Let me verify tonight & I'll merge the fix.

I merged the pull request with the fix & then noticed that the test could be simplified & more efficiently conducted by splitting the conditional. Those changes were included in the push to fix issue 10.
It currently passes all of the unit tests (including a new one for this issue), but I'll wait to see if you have any comments before I uprev the library release in the pypi package.
Thanks again.

I ran the new code on my data and I got nothing. Thanks!


(Fix) - #1154 Add more owners on safe creation

Closes #1154 by:

Fixing the uniqueAddress function that was checking if there are repeated values within an array
Also refactored the accepted type of that function from addresses: string[] | List<string> to addresses: string[]
Added some missing types and removed unused props on the SafeOwnersPage component
Also added types in OwnerForm component

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

https://pr1583--safereact.review.gnosisdev.com/rinkeby/app/#/open
Issue:
More than 10 owner still show the message "Address already introduced" in almost all of the new fields except for the first two and the last one
Also When having all those address filled, when one is deleted with the trashcan icon all the fields show the "Already introduced" error

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

Seems that the build was out of date, I ran the build again and seems working, please check it out @francovenica

I was able to create a safe with 11 owners with no problem
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app/#/safes/0x55632A8d8448AA617Bf24508a7CC5708b73C878d/settings
Note: I found other weird behaviors as you paste/duplicate addresses or delete rows, but those are issues that outside of what this ticket was about. I'll report those separately

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1583--safereact.review.gnosisdev.com/volta/app


Update 5.4 VM image

The new image includes a significant kernel bump from v5.4.10 to v5.4.190.

/test-1.21-5.4


Task: Release Version 0.2.0

Checklist:

[x]  Do some end user testing/QA.
[x] Add entry to the changelog.
[x] Add a http-only jwt cookie example client in the demo.
[x] Add some comments to the docs about jwt changes and http-only cookies.

Note for anyone on the previous version:
I decided to bump the major version since this changes the public API a little bit from the client POV. PSA: Always pin your versions.


Included Name property in DatabaseProperty type

Hey, thanks a lot for creating and maintaining this package 💫
I've noticed that DatabaseProperty model does not contain the name field, even though it is returned from the API (https://developers.notion.com/changelog/database-property-objects-now-include-property-name). I've tested it quickly and it seems to work fine, name is deserialised and looks exactly like in Notion.

Thanks for the PR!


--add-metadata vs --embed-metadata

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
What's the differences?
Verbose log
No response

    --embed-metadata                 Embed metadata to the video file. Also
                                     embeds chapters/infojson if present unless
                                     --no-embed-chapters/--no-embed-info-json
                                     are used (Alias: --add-metadata)

Tip: Searching --embed-metadata in the webpage would have immediately brought this up

ok ty, sorry i just woke up


404's from module page after the recent update

https://docs.prebid.org/dev-docs/modules/index.html now has a bunch of links that 404 on it, where the filename of the markdown file that is being linked to differs from the module_code in the the markdown.  examples are:
GPT Pre-Auction, both bidViewability modules, price Floors, Google Ad Manager Express, Google Ad Manager Video Support, Freewheel Video Support, Konduit Accelerate

@bretg fyi

thanks @jsut for pointing it out and the fix. Gonna use this page.url in other places.

@bretg should this have auto deployed to the site?  docs.prebid.org still has the 404's

ugh - there are 3 groups of modules -- just pushed a change for the two other blocks

ahh, i should have looked harder at the page.


R&D: investigate SaaS integration with kube-bind

https://github.com/kube-bind/kube-bind
https://kccncna2022.sched.com/event/182Hm/towards-something-better-than-crds-in-a-post-operator-world-stefan-schimanski-red-hat

cc @slashben

kube-bind doesn't seem to have moved in the last year


[RFC] Possibility to hide fields in a list

What do think about this feature? Code is just an example (not a final version).

This asks the question of the customizable datagrid. Because apart from adding/removing fields, one could want to reorder them, rename them, change the datatype, the number of results per page... So what's currently defined by configuration would have to move to runtime.
I'm not saying it's a bad idea, but I think it's a different type of datagrid, for a different usage.
I advise you to publish it as a standalone package, which I'll be happy to link to in the documentation.

Thanks for comments 😉


Create a devnet branch with netlify deployment

Create a devnet branch with netlify deployment
Create a devnet branch, deployed on netlify with a different env for RPC

@EmilFattakhov the branch dev exists now, could you help me when you have time to set the RPC env in Netlify (only for this branch) as the devnet rpc? 🙇♂


Add counter to attlist

These changes adds a counter to the attlist, so that an attlist looks like
(1)   att sjunga mer
(2)  att sjunga ännu mer
This could come in handy when an attlist is very long :)
The spacing on the counter could be tweaked

Thanks for the PR! I've added the corresponding functionality but in the Expl3 format in 7bc6587.


Update inAppPinCode row

Included minor detail as per discussion with Elias on the behavior after session expires.

Thanks @ahmaddanialmohd for the pull request!
Per the CONTRIBUTING.md file displayed when you created this pull request, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
This is a standard procedure for many open source projects. Your form should be processed within 24 hours and reviewers for your pull request will be able to proceed.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

@ahmaddanialmohd Can you help choose "no wrap" when you edit the doc and help make sure the table is correctly aligned/formatted? Let me know any questions,

This issue has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @hanzei

@ahmaddanialmohd Do you have questions about the above provided feedback? https://github.com/mattermost/docs/pull/2626#issuecomment-481685488

@hanzei @amyblais Sorry missing out on this one. I think the alignment of the table is messy due to the length of the Description I updated. May I know if it makes sense to break it down into point form? For example:

Require users to authenticate as the owner of the phone before using the app
Prompts for fingerprint or passcode when the app first opens and when the app has been in the background for more than 5 minutes
Allows access to the app and the user will need to re-login if the session expires

@ahmaddanialmohd You can add a second line to fit all the text, I've made the changes for you as an example:

@ahmaddanialmohd Any thoughts on the above question?

This issue has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @hanzei

Hi, @esethna and @amyblais . Sorry I missed out on this. Specific to this one:

Do you mean that a fingerprint is required again after session expiry?

Yes, that is what I mean. It requires fingerprint and password after session expiry. What's your thought on that? Does it make sense to include that information in the table?

Hi @ahmaddanialmohd, maybe you can clarify the note you added to say that a fingerprint is required again after session expiry.

Closing for now due to inactivity, this can be re-opened when you have time to work on this.


Add Google Play Console

Name with link
Play Console
Description
Google updated Play Console logo in 2023
Link to the vector file, preferably from an official source
Icon: https://github.com/gilbarbara/logos/assets/43351072/af625296-b925-409b-88bc-46bb53731f0e (I don`t find svg file so i converted svg text from official page to file)
Wordmark: https://www.gstatic.com/acx/play/console/play_console_ui_20230511_0240_RC01/main/play.console.ui.common.images/logos/navigation_menu_2023.svg

Added in a863e8bc9785134a78b119c99d24f983c2ff44ef
Thanks!


Global Error Handler

Description:

Made Error handler function
Made classes NotFoundError, CustomError, etc...
Implemented the above throughout the codebase

Fixes #17
Type of change:

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.

Best mentor @Shubham-Kumar-2000 🙏

@anipaul2  thanks bro


[BFCL] Incorrect ground truth test_parallel_function(AST)

Describe the issue
The ground truth of the 27th sample in gorilla_openfunctions_v1_test_parallel_function.json is not correct, since the parameter case_number requires an array of strings while the ground truth is a list of strings (["67813"]) instead of a list of list ([["67813"]]).
ID datapoint

Datapoint permalink: 27th sample in (this file)[https://github.com/ShishirPatil/gorilla/blob/main/berkeley-function-call-leaderboard/data/possible_answer/gorilla_openfunctions_v1_test_parallel_function.json]

What is the issue
Here is the sample:
{
  "question":"Find details of lawsuits with case numbers '67813', '71249' filed in the New York District court for type 'Civil' and 'Criminal' cases.",
  "function":{
    "name":"court_case.find",
    "description":"Locate details of court cases based on specific parameters like case number and case type.",
    "parameters":{
      "type":"dict",
      "properties":{
        "location":{
          "type":"string",
          "description":"The city and court where the lawsuit is filed."
        },
        "case_number":{
          "type":"array",
          "items":{
            "type":"string"
          },
          "description":"The unique case numbers of the lawsuits."
        },
        "case_type":{
          "type":"string",
          "enum":[
            "Civil",
            "Criminal"
          ],
          "description":"Type of the court case.",
          "default":"Civil"
        }
      },
      "required":[
        "location",
        "case_number"
      ]
    }
  }
}

The type of case_number is required as an array, therefore, the possible answer of the parameter should be a list of list. While the ground truth in (file)[https://github.com/ShishirPatil/gorilla/blob/main/berkeley-function-call-leaderboard/data/possible_answer/gorilla_openfunctions_v1_test_parallel_function.json] is:
{
  "court_case.find_1":{
    "location":[
      "New York District",
      "NY District",
      "New York",
      "New York, NY",
      "NY"
    ],
    "case_number":[
      "67813"
    ],
    "case_type":[
      "Civil",
      ""
    ]
  },
  "court_case.find_2":{
    "location":[
      "New York District",
      "NY District",
      "New York",
      "New York, NY",
      "NY"
    ],
    "case_number":[
      "71249"
    ],
    "case_type":[
      "Criminal"
    ]
  },
  "court_case.find_3":{
    "location":[
      "New York District",
      "NY District",
      "New York",
      "New York, NY",
      "NY"
    ],
    "case_number":[
      "67813"
    ],
    "case_type":[
      "Criminal"
    ]
  },
  "court_case.find_4":{
    "location":[
      "New York District",
      "NY District",
      "New York",
      "New York, NY",
      "NY"
    ],
    "case_number":[
      "71249"
    ],
    "case_type":[
      "Civil",
      ""
    ]
  }
}

Proposed Changes
I think the ground truth should be changed as follows:
{
  "court_case.find_1":{
    "location":[
      "New York District",
      "NY District",
      "New York",
      "New York, NY",
      "NY"
    ],
    "case_number":[
       [
          "67813"
       ]
    ],
    "case_type":[
      "Civil",
      ""
    ]
  },
  "court_case.find_2":{
    "location":[
      "New York District",
      "NY District",
      "New York",
      "New York, NY",
      "NY"
    ],
    "case_number":[
      [
        "71249"
      ]
    ],
    "case_type":[
      "Criminal"
    ]
  },
  "court_case.find_3":{
    "location":[
      "New York District",
      "NY District",
      "New York",
      "New York, NY",
      "NY"
    ],
    "case_number":[
      [
        "67813"
      ]
    ],
    "case_type":[
      "Criminal"
    ]
  },
  "court_case.find_4":{
    "location":[
      "New York District",
      "NY District",
      "New York",
      "New York, NY",
      "NY"
    ],
    "case_number":[
      [
        "71249"
      ]
    ],
    "case_type":[
      "Civil",
      ""
    ]
  }
}

Additional context
Also, could you help to check other samples that require array-type parameters?

Another incorrect answer is found in the executable_parallel_function_score.json (sample id=12), where the question is I'm planning a multi-country trip and need to budget my expenses in different currencies. I have 5000 JPY that I need to convert to USD, EUR, and AUD to understand how much I can spend in each region. Additionally, I have 100 CAD and I'm curious how much it would be in CHF. Can you calculate these conversions for me?. But the ground truth is
"ground_truth": [
            "convert_currency(amount=5000, from_currency='JPY', to_currency='USD')",
            "convert_currency(amount=300, from_currency='JPY', to_currency='EUR')",
            "convert_currency(amount=2000, from_currency='JPY', to_currency='AUD')",
            "convert_currency(amount=100, from_currency='CAD', to_currency='CHF')"
        ]

I think maybe the ground truth should be:
"ground_truth": [
            "convert_currency(amount=5000, from_currency='JPY', to_currency='USD')",
            "convert_currency(amount=5000, from_currency='JPY', to_currency='EUR')",
            "convert_currency(amount=5000, from_currency='JPY', to_currency='AUD')",
            "convert_currency(amount=100, from_currency='CAD', to_currency='CHF')"
        ]

Incorrect ground truth answer for sample id=19 in gorilla_openfunctions_v1_test_javascript.json.
The question is: What is the final velocity for an object in free fall after t seconds, given the gravity g and initial velocity v0?
The ground truth:
    "possible_answer": {
        "calculateFinalVelocity": {
            "time": [
                5.0
            ],
            "gravity": [
                9.81
            ],
            "initialVelocity": [
                0.0
            ]
        }
    }

While the value of t and gravity is not given.

Misleading prompts in executable_parallel_function
Hey, I have noticed that there many questions in executable_parallel_function are formatted as:
First let's start by xxxx. Once we have that xxxx, then xxxx.
One at a time?

Maybe this kind of format would lead the model to generate one function calling at one generation, leading to the multi-turn functional calling. May I get your opinions? And could we tune those formats into a flat one?

Hey @XuHwang,
Thanks for pointing these out. Good catch!
Regarding javascript_19: The materialProps in the question How can I configure a ShaderMaterial for a Three.js scene with specific properties 'materialProps', using textures 'textureList', and within the 3D object 'meshObject'? is referring to a variable that holds a dict rather than a specific key-value pair value in the dict. So the possible answer should just be a string as that's how we handle variables. Same thing with the fileWatchQueue  in javascript_32.
I agree with the other dataset issues you mentioned. They will be addressed in #557.


Fix #2040, Improve CFE_SB_IsValidMsgId handler

Describe the contribution

Fix #2040
If no return value override is set test against CFE_SB_INVALID_MSG_ID

Testing performed
Build/run unit tests, passed.
Used with DS and confirm units under test worked as expected based on valid/invalid MID use.
Expected behavior changes
Handler behaves more like expected
System(s) tested on

Hardware: i5/Docker
OS: Ubuntu 18.04
Versions: Bundle main + this commit

Additional context
None
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

CCB:2022-02-01 APPROVED


refactor scheduler

Refactors the scheduler to use something akin to a generator -- a callback that will be invoked when the stack of a thread is empty, which has the chance to push a new stack frame or do other things and then indicates whether this thread is done, or should be scheduled again. (Unfortunately I think we cannot use actual generators here.) The interpreter loop is now a proper infinite loop, the only way to leave it is for some kind of interrupt to be triggered (represented as InterpError) -- unifying how we handle 'exit when calling process::exit' and 'exit when main thread quits'.
The last commit implements an alternative approach to https://github.com/rust-lang/miri/pull/2660 using this new structure. Fixes https://github.com/rust-lang/miri/issues/2629.

@bors r+

:pushpin: Commit 7453d7eec7955e60d6cc7b27d13b483531e44f60 has been approved by RalfJung
It is now in the queue for this repository.

:hourglass: Testing commit 7453d7eec7955e60d6cc7b27d13b483531e44f60 with merge 837c679390346fe17f85a6e3080ef770b4428d24...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 837c679390346fe17f85a6e3080ef770b4428d24 to master...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 837c679390346fe17f85a6e3080ef770b4428d24 to master...


How to center text and image on bottom left ?

Hi ,
I'm trying to create new document
I need to put Title , Signature and Name on the end of the file
but I need them above each other and also center
I use it like this
       document.add(.contentLeft, attributedTextObject:senderTitleTextElement)         document.add(.contentLeft, image: signatureImageElement)         document.add(.contentLeft, attributedTextObject:senderNameTextElement)
The result like this
https://a.cl.ly/jkuKOQq6
but I want it like this
https://a.cl.ly/xQugOD9Q

Hi,
when you try this:
document.add(.center, attributedTextObject:senderTitleTextElement)
or you can try footer

Hi @X901, have you tried adding a space above the title?
document.add(space: 200) // Set correct value for your case
document.add(.contentLeft, attributedTextObject:senderTitleTextElement) document.add(.contentLeft, image: signatureImageElement)
document.add(.contentLeft, attributedTextObject:senderNameTextElement)

Hi ,
I'm not looking for spacing ,
what I'm looking for is arranged
I want 2 texts and image on the left bottom side
but all aranged vertical on center as when we use StackView
we can change the aranged (leading , center , trailing)
assume ====== is text
and xxxxxx is image
I want it to be like this
     xxxxxxxxx

==============
now it like this
xxxxxxxxx

I understand, they should be at the left side stacked vertically but centered horizontally.
Well I guess you have to manually find the right width of the stack.
Try setting a very wide right margin, and add it to the .contentCenter container. It should be centered but shifted left due to the margin.
Otherwise try adding the elements into a group centered, then add the group to the document.

Closing due to inactivity


Not working with 3 apps

Just want to give a feedback:
I have 3 apps ( 2 are crashing if device is jailbroken and the 3rd one is giving a warning message and exit).
I have managed to bypass the 3rd app (patching the address). For other apps, one is crashing immediately (exit) and the other opens the web browser.
Tried your tweak, compiled it without any changed, tried to specify it for each bundle id, still not working.
For the app that crashes immediately, it has already - (bool)ComputeisJailbroken and - (bool)isJailbroken...

Just want to give a feedback:
I have 3 apps ( 2 are crashing if device is jailbroken and the 3rd one is giving a warning message and exit).
I have managed to bypass the 3rd app (patching the address). For other apps, one is crashing immediately (exit) and the other opens the web browser.
Tried your tweak, compiled it without any changed, tried to specify it for each bundle id, still not working.
For the app that crashes immediately, it has already - (bool)ComputeisJailbroken and - (bool)isJailbroken...

Thanks for your feedback.
I don't have time to develop for this repo at the moment. But I will update it in the near future.


delete key on empty textarea in wysiwyg mode does not clear formatting tags in some cases

I've found a small issue I'm able to reproduce if:

HTML (an h1) already exists at load-time in the .wk-wysiwyg element (wysiwyg mode)
All content in the contentEditable div is selected and deleted
Delete key is hit once again to leave the div completely empty
New text is typed into the div
h1 text appears, not plain p text

Note that to clear this formatting, you can click outside the div and click back in. This makes me think that there's some preserved formatting state in this (chromium) contentEditable which is cleared when it loses focus.
You can try it here: https://publiclab.github.io/PublicLab.Editor/examples/
Although I'm not able to reproduce it on the default demo at https://bevacqua.github.io/woofmark/ -- and I'm wondering if there's something about the interaction of the stylesheets with the contentEditable that causes it in one demo but not another.

Works as expected for me in Chrome.


fix unit tests from ./bin/test-unit script

Hey, all.
This PR is copy of https://github.com/cloudfoundry/bosh-agent/pull/17 without test stuff in Godeps folder.

This is a PR to fix unit tests. I guess that the problem was extracting bosh sigar into a separate package. This changes make all unit tests from ./bin/test-unit script to be green.

Thank you,
Alex L.

I believe this has been fixed.


status: don't retrieve exitstatus for running pods

Only call getExitStatuses on pods that are exited.
Fixes #856.

lgtm

huh, how come this didn't come up earlier? @vcaputo shouldn't this be initialized with the pod?

@jonboulle something regressed here...  the status directory is seeded in stage1:
https://github.com/coreos/rkt/blob/master/stage1/rootfs/aggregate/install.d/99misc#L19
We query the exit status of a running pod because some of the processes may be exited with the pod still running, depending on restart policies, or at least that was supposed to be possible.

@iaguis PTAL?

Closing in favour of #883