QA scenarios and jjb changes

This PR contains changes only in QA related yaml files:

Moves qa scenario related jjb files into separate dir
Updates the params for jjb jobs and adds trigger-builds section for tests
Unifies naming of the qa scenario files
Adds scenarios for cloud7 (tested with develcloud7, mainly with success, see https://ci.suse.de/view/Cloud/view/QA/

JJB job changes have been tested on QA hardware, see the view above.
Will add documentation if needed once https://github.com/SUSE-Cloud/automation/pull/949 reviewed and merged.

Codeclimate issues will be resolved later during the next milestone(s) testing.

+1
Thats a lot of stuff for just 2 commits.

+1

@kbaikov agree, but this is a one-time special case due to consolidation of all of the files, will avoid it definitely in the future. Thanks!


Implement animal table and data manipulation

In this mile stone I:

:heavy_check_mark: Created vet_clinick database.
:heavy_check_mark: Created animals table.
:heavy_check_mark: Inserted data into the created table
:heavy_check_mark: Created queries to fetch data based on conditions.

Screen shoots
Create database

Create table

Insert data

Queries

**STATUS: APPROVED  🟢 **

Hi @benshidanny11 ,
Your project is complete! . There is nothing else to say other than... it's time to merge it 🍾🚢 :shipit: . Congratulations!  🎉💯🌟

Cheers and Happy coding! :clap: :clap: :clap:
Feel free to leave any questions or comments in the PR thread by mentioning my Github username if something is not 100% clear.

As described in the Code reviews limits policy you have  limited number of  reviews per this project. If you think that the code review was not fair, you can request a second opinion using this form.


Render props examples with height: 100% doesn't work well in some of the use cases

In the Render props page some of the components in the examples (Mouse fro example) use a height: 100% that is not working for the children components that have set a position: "absolute
Changing this value from height: 100% to height: 100vh would solve the issue
Example in action: https://codesandbox.io/s/00yr3lvy8p

fixed by https://github.com/reactjs/reactjs.org/pull/987


backend-test-utils: unify mock services and service factory exports

Hey, I just made a Pull Request!
We'll need to export both all of the mock factories, as well as all of the mock service implementations. The factories are needed to set up custom factories with options for starting test backends. The implementations are needed for lower-level unit tests for services implementations themselves.
It's all in two new exports: mockFactories and mockServices
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Another pattern we could use:
mockServices.config() // <- service implementation
mcokServices.config.factory() // <- service factory


Stencil one

@jagreehal I think this repository was a fork and the original ionic repo is removed - so I'm going to archive it now. Please reach out to the ionic team if you want to contribute to any of their projects, thanks!


UI Refresh - Mobile

Description
This PR implements the new mobile designs.
Related issue
N/A
Motivation and Context
This is a part of the general UI refresh.
How Has This Been Tested?
N/A
Screenshots (if appropriate):

Looks good so far. A few issues

[ ] On first visit (Landing page -> click "Trade now"), the "Manage" button next to "Available margin does not show. It appears only if I visit the Dashboard, and from there click on the "Trader perpetual futures now" link or from the markets page.
[ ] Empty state for Position and Trades tab missing
[ ] Empty state text in Orders and Transfers tab could use some padding

[ ] Descriptive text for Size and Leverage use different shades of gray, make sure they are streamlined. This is the issue on both mobile and desktop. See screenshot:

[ ] And last some issue with numbers "overlapping" sometimes. This seems to happen randomly. See screenshot where it happens to both the last digit on Index and Market price, as well as the last two digits of Funding:

Will merge, remaining smaller issues added to the minor mobile fix list at #2181


patch: Add flowzone Docs website

Add Flowzone website using defaults only
Signed-off-by: Vipul Gupta (@vipulgupta2048) <EMAIL_ADDRESS>

@vipulgupta2048 I fixed the link for you, so now it's over to you to debug the website build:
https://github.com/product-os/flowzone/actions/runs/3661771730/jobs/6190322259#step:7:46
Maybe the link needs to be moved to docs/README.md, I am not sure..

Oh very nice one, thanks! I tested without a working directory change and it's fine now. The error that we were seeing was due the README.md not able to find the image logo.png, we kept it configured to be strict about broken links.
That's the reason why the build still throws an error in Flowzone if you see now but doesn't break it: flowzone.pages.dev

@balena-ci I self-certify

@balena-ci I self-certify!


DBZ-5674 Invalid DDL statement could not be parsed crashes kafka-connect for MySql

https://issues.redhat.com/browse/DBZ-5674

Upstream pr: https://github.com/antlr/grammars-v4/pull/2862

@harveyyue Applied, thanks!


NO-JIRA: e2e/util: improve logging during node readiness poll

test/e2e/util: use wait.PollUntilContextTimeout
The previous function is deprecated.
Signed-off-by: Steve Kuznetsov<EMAIL_ADDRESS>
e2e/util: improve logging during node readiness poll
Signed-off-by: Steve Kuznetsov<EMAIL_ADDRESS>
/assign @csrwng

/approve

/lgtm

/lgtm

probably genuine failure
 TestCreateClusterRequestServingIsolation/ValidateHostedCluster expand_less	10m43s
{Failed  === RUN   TestCreateClusterRequestServingIsolation/ValidateHostedCluster
    util.go:1452: Waiting for guest client to become available
    util.go:138: Waiting for hostedcluster kubeconfig to be published. Namespace: e2e-clusters-ncg8r, name: example-f2dtr
    util.go:159: Found kubeconfig for cluster in 1m13s. Namespace: e2e-clusters-ncg8r, name: example-f2dtr
    util.go:179: Waiting for a successful connection to the guest apiserver
    util.go:196: Successfully connected to the guest apiserver in 1m13s
    util.go:210: waiting for 3 nodes to become ready
    util.go:220: failed to list nodes: failed to get API group resources: unable to retrieve the complete list of server APIs: v1: Get "https://api-example-f2dtr.service.ci.hypershift.devcluster.openshift.com:443/api/v1": dial tcp: lookup api-example-f2dtr.service.ci.hypershift.devcluster.openshift.com on <IP_ADDRESS>:53: no such host
    util.go:264: Failed to wait for 3 ready nodes in 9m30s: node ip-10-0-137-50.ec2.internal was missing hypershift.openshift.io/nodePool label
    --- FAIL: TestCreateClusterRequestServingIsolation/ValidateHostedCluster (643.09s)
}

/retest

/lgtm


Specify numpy version to be older than 2

Fixes the issue due to the new numpy 2.0 described here
https://github.com/rhasspy/wyoming-satellite/issues/157#issuecomment-2180755652

@synesthesiam I believe the master branch has broken CI, and because of this the PR cannot be auto-merged.

Thanks! Not sure what's up with CI, but I'll take a look.


Stopped working.

From comment here:

I am REALLY sorry to be a bother... but I need some help.
I have, and love, this little app but suddenly, it has stopped working, in that it no longer updates the desktop picture in it's choices, but rather simply keeps showing the same 8 or 9 that it's already registered.
And, of course, to make matters worse, I have NO IDEA what to do with all the codes and stuff on the WhichBG page... or what is involved in "committing".
I'm hoping that you (or someone) sees and heeds this cry for help. I REALLY don't want to give up.. or keep using the same few pictures.
Thank you, in advance for any help that you can give me.... and maybe others are in the same predicament.

Adding @mufngruf.

@mufngruf Are you sure you are using the correct version of the app?
Could you try:

quitting it,
downloading it again from the GitHub page,
extract it,
move it to Applications, and,
start it again?

It may require you to give it Security permission to run again.

that's what I did.... but it loads up the "old" pictures and won't load anymore.
On Sunday, 28 April 2019, 17:10:20 BST, Utkarsh Upadhyay<EMAIL_ADDRESS>wrote:
@mufngruf Are you sure you are using the correct version of the app?
Could you try:

quitting it,
downloading it again from the GitHub page,
extract it,
move it to Applications, and,
start it again?

It may require you to give it Security permission to run again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

What version of OSX are you using?

High Sierra
On Sunday, 28 April 2019, 19:11:53 BST, Utkarsh Upadhyay<EMAIL_ADDRESS>wrote:

What version of OSX are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Curioser and curioser.

Can you tell me the exact version of your OS?
Do you happen to have a multi-monitor setup or a single display? The wallpapers for the workspaces on my other monitor are usually frozen in place while it is not connected but refresh once I plug it back in.
Do the wallpapers the app displays change at all or are they always the same irrespective of the wallpapers you are seeing? Do those files still exist, i.e. if you click on them, does the Finder still open with the wallpaper file selected?
Are all your displays set to shuffle the wallpapers?
Finally, was there any particular change in your system which may have caused the app to stop working?

Thanks!

hmnm..That's the curious part.. I have but the one monitor  - the one single display on the imac.... which is running 10.13.6I completely deleted all versions of WhichBG, restated after zapping PRAM, downloaded the latest (0.4) opened the package and put it in my applications folder.I then opened the app, checked it and it still has the same wallpapers displayed... and no more.I don't know of any particular change in the system that would have caused any such changes.
It's a mystery.
Where would the app KEEP track of those pictures already in it's history... Maybe I can empty them out somehow.??
tony
On Monday, 29 April 2019, 14:26:10 BST, Utkarsh Upadhyay<EMAIL_ADDRESS>wrote:
Curioser and curioser.

Can you tell me the exact version of your OS?
Do you happen to have a multi-monitor setup or a single display? The wallpapers for the workspaces on my other monitor are usually frozen in place while it is not connected but refresh once I plug it back in.
Do the wallpapers the app displays change at all or are they always the same irrespective of the wallpapers you are seeing? Do those files still exist, i.e. if you click on them, does the Finder still open with the wallpaper file selected?
Are all your displays set to shuffle the wallpapers?
Finally, was there any particular change in your system which may have caused the app to stop working?

Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

apparently, it's personal....Yesterday, I was presented with a desktop/background that I had been looking for , for some time.I had removed the WhichBG app after tiring of the same 8 or 9 samples that it seemed to have stored SOMEWHERE... but I still had the most recent installer, and so went ahead and put it back into action.. and then clicked on the icon at the top of the desktop....and guess what... I still had the same 8-9 pictures displayed.. in the same order....BUT WAIT.. what's this???The current background was now included, about halfway down the list..So.. I don't know if this was the case all along and I just assumed that the current picture would always be at the end of the list - or if this beastly app suddenly sensed my growing anger and frustration and simply gave in.. this one time...
So I yried it again this morning.. and sure enough, it's shown my the current picture... about midway down the list of options.
I have now laboriously found the name and whereabouts of each picture.. hoping to find some kinda "order' to them.. name/date/size... ANYTHING but they truly seem to be just random, and presented in random order in the options .
Doesn't ANYONE know where these prefs (the pictures on the "available" panel ) are stored?
At least, FOR THE MOMENT, it SEEMS to be working, kinda... although I don't know what  will do when the list of thumbnails is bigger than the desktop space...
Who knows, eh?
On Monday, April 29, 2019, 2:26:10 PM GMT+1, Utkarsh Upadhyay<EMAIL_ADDRESS>wrote:
Curioser and curioser.

Can you tell me the exact version of your OS?
Do you happen to have a multi-monitor setup or a single display? The wallpapers for the workspaces on my other monitor are usually frozen in place while it is not connected but refresh once I plug it back in.
Do the wallpapers the app displays change at all or are they always the same irrespective of the wallpapers you are seeing? Do those files still exist, i.e. if you click on them, does the Finder still open with the wallpaper file selected?
Are all your displays set to shuffle the wallpapers?
Finally, was there any particular change in your system which may have caused the app to stop working?

Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

That the wallpapers are not sorted is sort of known.
Also, if you ever connected a separate monitor, your laptop remembers it along with the wallpapers which were displayed on it when you disconnected, and, consequently, so does the app.
Hence, it is plausible that your current wallpapers are appearing at some place in the middle of the list.
So ...  if it works, may we close the ticket?


Training code

Is there any code for training the model? Because I cannot find any code that describe about how to train the model using empathicdialogue dataset.

Hello!
Thanks for your interest in our project, and I'm sorry for the late response
Unfortunately, I have no bandwidth left to update the training code 😢
However, the training for GEE is pretty straightforward!
The input is the emotion label and the output is the emotional situation sentence.
I believe the HuggingFace code for training BART will be handy!


objdiff-cli report: Support data sections

Doesn't work yet because the match percentage isn't being set.
There's quite a bit of duplicated code between data and code, and some duplicated between functions and sections, so if this gets any more complex we should probably start making some traits.

Thanks for the PR!


[Eval] Integrate MLE Bench Into Eval Harness

What problem or use case are you trying to solve?
OpenAI released MLE Bench: https://arxiv.org/pdf/2410.07095, which evaluated an earlier version of OpenHands. We should try to integrate the benchmark to our eval harness: https://github.com/All-Hands-AI/OpenHands/tree/main/evaluation
The code that was used to evaluated OpenHands on MLE Bench is available here: https://github.com/openai/mle-bench/tree/main/agents/opendevin

Thank you for your excellent work, I would like to know when this MLE-Bench can be supported?

we have a PR open in #5148 and i think @csmith49 is working on it?


How to view SDK version through bin file? (IDFGH-8702)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
How do I view the SDK version through the bin file? I need to look at the SDK version to see the difference, because the code is the same, because the SDK version is different, the result is different.

I deleted the old version, so I can't view it

You should be able to do esptool.py --chip TARGET image_info --version 2 PATH_TO_BIN
and get some output which contains application info, e.g.:
Application information
=======================
Project name: hello_world
App version: v5.1-dev-1702-g8d24aa1760-dirty
Compile time: Nov  9 2022 14:33:19
ELF file SHA256: cd448f98032a35b037c127d4941dc3dfc0d5452004dab22226ddb69410b018fb
ESP-IDF: v5.1-dev-1702-g8d24aa1760-dirty
Secure version: 0

The exact info included will depend on SDK version and kconfig settings though.

You should be able to do esptool.py --chip TARGET image_info --version 2 PATH_TO_BIN
and get some output which contains application info, e.g.:
Application information
=======================
Project name: hello_world
App version: v5.1-dev-1702-g8d24aa1760-dirty
Compile time: Nov  9 2022 14:33:19
ELF file SHA256: cd448f98032a35b037c127d4941dc3dfc0d5452004dab22226ddb69410b018fb
ESP-IDF: v5.1-dev-1702-g8d24aa1760-dirty
Secure version: 0

The exact info included will depend on SDK version and kconfig settings though.

You could try using the latest esptool. Alternatively you can just look at the binary directly yourself as the image header should be the first thing in it, e.g.:
hexdump -C -n 300 build/hello_world.bin:
00000000  e9 05 02 10 28 11 08 40  ee 00 00 00 00 00 00 00<EMAIL_ADDRESS>00000010  00 8f 01 00 00 00 00 01  20 00 40 3f 3c 7a 00 00  |........ .@?<z..|
00000020  32 54 cd ab 00 00 00 00  00 00 00 00 00 00 00 00  |2T..............|
00000030  76 35 2e 31 2d 64 65 76  2d 31 36 39 31 2d 67 65  |v5.1-dev-1691-ge|
00000040  30 38 35 63 66 64 33 31  30 2d 64 69 72 74 79 00  |085cfd310-dirty.|
00000050  68 65 6c 6c 6f 5f 77 6f  72 6c 64 00 00 00 00 00  |hello_world.....|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  31 35 3a 35 37 3a 32 33  00 00 00 00 00 00 00 00  |15:57:23........|
00000080  4e 6f 76 20 20 39 20 32  30 32 32 00 00 00 00 00  |Nov  9 2022.....|
00000090  76 35 2e 31 2d 64 65 76  2d 31 36 39 31 2d 67 65  |v5.1-dev-1691-ge|
000000a0  30 38 35 63 66 64 33 31  30 2d 64 69 72 74 79 00  |085cfd310-dirty.|
000000b0  58 99 40 fb db b1 2c 82  c5 4a 88 97 6c 0e ae 23  |X.@...,..J..l..#|
000000c0  01 70 91 b2 69 61 70 a3  36 84 4a 64 42 d9 28 a1  |.p..iap.6.JdB.(.|
000000d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

hank you very much

Thank you very much


App is frozen to specific release

Thanks for your work on this! It is a nice environment to work and deploy apps.
But currently I'm facing a strange situation. I have an app running and can push new code successful and it also spins up a new release, but the routing is still going to an old release:
% flynn ps
ID                                            TYPE    STATE    CREATED         RELEASE
364fa8cc-acdb-4b22-b352-2bdae24963a9          worker  pending  6 days ago      4f033f64-30dd-4afc-94a0-8922c201cf08
27e5c863-47c0-4710-9804-83375331af7f          worker  pending  6 days ago      63c3c3de-d89c-467b-b687-d8e7f4fae259
flynn02-89381478-4530-43bd-9f3b-343963ecca2f  web     up       6 days ago      4f033f64-30dd-4afc-94a0-8922c201cf08
flynn01-482d8da1-8e76-4af4-8b2c-46e455db50cd  web     up       6 days ago      4f033f64-30dd-4afc-94a0-8922c201cf08
flynn01-0e2c46e8-8cce-4722-9542-0b0ab7781f9f  worker  up       6 days ago      4f033f64-30dd-4afc-94a0-8922c201cf08
flynn01-d2ec7782-1e79-4181-9c2a-79b08aafa471  clock   up       40 minutes ago  d8c597c9-49b1-4c5e-8c3f-eaabd128ebff
flynn01-246b7637-94a9-4937-818c-b82b20b3f9aa  web     up       40 minutes ago  d8c597c9-49b1-4c5e-8c3f-eaabd128ebff
flynn01-c9cf8936-d094-4cab-b9b2-5e7701bce440  worker  up       40 minutes ago  d8c597c9-49b1-4c5e-8c3f-eaabd128ebff
flynn01-676eab83-e1d6-4c0b-ad2c-7235b9e15b04  clock   up       37 minutes ago  4f033f64-30dd-4afc-94a0-8922c201cf08

Release 4f033f64-30dd-4afc-94a0-8922c201cf08 is never shutdown, even after rebooting the whole cluster and several redeployments of the app - with successful results. As you can see release d8c597c9-49b1-4c5e-8c3f-eaabd128ebff was created after 4f033f64-30dd-4afc-94a0-8922c201cf08 but doesn't get any traffic.
We're running version v20160512.0. Since I have trouble updating the setup, I would hope there is a way to fix this situation somehow and get the latest release of the apps up and running.

@nlsrchtr can you run sudo flynn-host collect-debug-info on a host in your cluster and post the resulting gist?
The issue here seems to be an old release is still scaled up (which can happen if deploys fail in certain ways, I pushed a fix for that recently). Check flynn scale --all and you can scale down the old release with flynn scale -r RELEASE_ID worker=0 web=0, but please collect the debug info first to help us understand exactly how this happened.

Since I tried updating one cluster node with --clean #3408 I think the logs aren't any helpful. Maybe I can send you the logs after fixing the current situation.
Thanks for the hint with scaling down. I was wondering if the system could try to self-heal in such situations. Maybe a check how long a container is pending and after a configurable timeout it will get killed and a new release would be tried. Just a quick thought...

I was wondering if the system could try to self-heal in such situations. Maybe a check how long a container is pending and after a configurable timeout it will get killed and a new release would be tried. Just a quick thought...

The old release remained scaled up due to a bug which is now fixed, but Flynn has no way to really know what scale your app should be at (e.g. you could have manually ran flynn -r RELEASE scale web=1 in which case that web process will continue to run regardless of whether you deploy or not).
Containers in the pending state are waiting to be scheduled and are usually the replacement of a job which recently crashed.
Flynn will never create a release on your behalf, new releases are always created by users and scaled, and then it is Flynn's job to make sure those releases continue to run at the requested scale. Ultimately you hit a bug here where a failed deployment left an old release scaled up, and we have fixed that in more recent versions.

Oh in fact those jobs stuck in the pending state are due to the fact that you restarted the cluster and the scheduler has not realised they are no longer pending, another bug which is also fixed in the latest version.

After updating and restoring from the backup, the situation was the same. So I collected the debug information for you. With scaling down the release old release, we are now on the new release.
How can I contact you to send you the link for the debug information in private? It contains some information I'm not willing to share here.

<EMAIL_ADDRESS>

Yep<EMAIL_ADDRESS>will goes to the Flynn development team. If you could please include the issue number in the subject that would be great, thanks!

@nlsrchtr If the backup was taken before the old release was scaled down, then it makes sense for the release to be scaled up after restore. The root cause of the issue has been fixed, so this is just a vestige of the issue from the previous cluster that was fixed as soon as you scaled it down on the new cluster. Is there any other reason for us to look at the logs you sent?

@titanous No, I don't think there is. Thanks!


Should AutoMockable template generate a getter and setter for non-optional protocol properties?

I've noticed in the AutoMockable template that it will cause a getter and setter to be generated for a protocol property even if it's declared as a get-only property.
For example if you declare the following protocol:
// sourcery: AutoMockable
protocol Foo {
    var bar: String { get }
}

I would expect this output:
final class MockFoo: Foo {
    var bar: String {
        get { return underlyingValueBar }
    }
    var underlyingValueBar: String!
}

But what we get is:
final class MockFoo: Foo {
    var bar: String {
        get { return underlyingValueBar }
        set { underlyingValueBar = newValue }
    }
    var underlyingValueBar: String!
}

I've implemented my expected functionality in my own version to AutoMockable but ran into an issue when determining if a property has a setter. I was using isMutable thinking that it would track if a property was a var or a let, or if it was a computed property, that the property could only be written to externally. But that seems to have broken my assumption in the latest release. I also believe I was using it wrong.
I've created a PR (see: https://github.com/krzysztofzablocki/Sourcery/pull/962) that adds a property to Variable to indicate if a property has a setter. But, does a change like this also make sense for the AutoMockable template included with Sourcery?

Ah... yes! As I talk through it more I see exactly what you are saying. My issue I addressed in my PR still stands, but there's no need to modify the template. Thanks for taking the time to talk about this issue!


MAUI iOS looking for obfuscar imeplementation doesn't works

Expected behavior
Description
I want use the Obfuscar Extension (https://marketplace.visualstudio.com/items?itemName=AvinabMalla.obfuscarvs). I reach the goal on MAUI Android, but iOS is a little bit difficult because I'm trying look for the extension Obfuscar in Visual Studio for Macos, there is no such extension.
Actual behavior
In iOS there is no such extension, and in the old way I made in Xamarin and I remember it worked fine.
Detailed steps
The steps are,### Steps to Reproduce
1- Install Visual Studio for Macos
2- Create a basic MAUI app for iOS
3- Click on Visual Studio/ Extensions/

4- Look for "Obfuscar" extension:

This is my VS version:

Obfuscar version information
2.2.40
Operating system information
macOS Sonoma 14
Relevant log output (optional)
No response

New issues are marked as low priority by default. Becoming our commercial customers, and then your reports are handled with higher priority after triage.

We are not in filiation with any of such extensions/external projects, and we have no plan to work on MAUI specific features at this moment.


WARNING: no input commands defined!

I'm working with the #NEXT branch now, as you've said in the just closed "issue" the SDK will warn when no INPUTS are defined.
This is not a big deal but i'm currently working on a HDMI matrix hub IP driver. The driver is a dynamic driver and buttons (especially the input buttons) are assigned dynamically. this means that the initial offered driver state does't have any input's and will return a warning.
WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
WARNING: no input commands defined! Your device might not work as desired, check the docs
deviceBuilder.ts:192
Is there anyway this check can be done after executing the dynamic driver assignment? that would make more sense i believe.

Interesting, you're right if it's the exported driver stub, not the dynamic discovered ones the validation doesn't really apply.
How do you define the exported driver (the one with enableDynamicDeviceBuilder) do you set the type to HDMISWITCH? If you don't set the type does it still work but without the warning?

I actually do set the device type. I’ll test it.

The warnign is gone now. I've removed the device type from the driver and supplie it during the dynamic part. Thanks for the fast reply.

Reopen if you find some other issues related to this.
I'm not sure the icon will be set correctly in the search without a type. If that's the case it might be better to change the SDK to allow the type but not print the warning if enableDynamicDeviceBuilder is true.


[REEF-709/710/711] Act on obsoletes in CustomTraceLevel, CommandLineArguments and CustomTraceListeners

This converts constructors and setters for these classes to private.
JIRA:
REEF-709
REEF-710
REEF-711
Pull request:
This closes #

It looks good to me. I tested on Mac/Windows 10 and it passed. I'll merge this.


feat(ui-ux): add header mvp updates

What this PR does / why we need it:
As titled

add Coming Soon tag
add highlight on header when user is on path
fix bug where user can scroll over the screen in mobile header

Additional comments?:
pending confirmation on text copy

The logo sizing looks abit uneven


WIP: port to Crossplane Functions

Description of your changes
Migrate compositions to use https://github.com/crossplane-contrib/function-patch-and-transform coming 1.14
XCluster and XIRSA have not been updated due to nested compositions and EnvConfig Support
Requires minimum of xpkg.upbound.io/crossplane-contrib/function-patch-and-transform:v0.1.4
kubectl get claim, composite
NAME                                                          SYNCED   READY   CONNECTION-SECRET                   AGE
app.aws.platformref.upbound.io/borrelli-function-test-ghost   True     True    borrelli-function-test-ghost-conn   7m17s

NAME                                                                 SYNCED   READY   CONNECTION-SECRET                     AGE
sqlinstance.aws.platformref.upbound.io/platform-ref-aws-db-mariadb   True     True    borrelli-function-test-conn-mariadb   29m

NAME                                                        SYNCED   READY   CONNECTION-SECRET             AGE
cluster.aws.platformref.upbound.io/borrelli-function-test   True     True    platform-ref-aws-kubeconfig   100m

NAME                                               SYNCED   READY   COMPOSITION                         AGE
xirsa.aws.platformref.upbound.io/irsa-crossplane   True     True    xirsas.aws.platformref.upbound.io   100m

NAME                                                                 SYNCED   READY   COMPOSITION                        AGE
xapp.aws.platformref.upbound.io/borrelli-function-test-ghost-dt9nr   True     True    xapps.aws.platformref.upbound.io   7m17s

NAME                                                                        SYNCED   READY   COMPOSITION                                AGE
xsqlinstance.aws.platformref.upbound.io/platform-ref-aws-db-mariadb-8pxzq   True     True    xsqlinstances.aws.platformref.upbound.io   29m

NAME                                                               SYNCED   READY   COMPOSITION                            AGE
xcluster.aws.platformref.upbound.io/borrelli-function-test-9pq6z   True     True    xclusters.aws.platformref.upbound.io   100m

NAME                                                                 SYNCED   READY   COMPOSITION                       AGE
xeks.aws.platformref.upbound.io/borrelli-function-test-9pq6z-62qdh   True     True    xeks.aws.platformref.upbound.io   94m

NAME                                                                     SYNCED   READY   COMPOSITION                            AGE
xnetwork.aws.platformref.upbound.io/borrelli-function-test-9pq6z-nsvpp   True     True    xnetworks.aws.platformref.upbound.io   100m

NAME                                                                      SYNCED   READY   COMPOSITION                            AGE
xservices.aws.platformref.upbound.io/borrelli-function-test-9pq6z-kzchm   True     True    xservices.aws.platformref.upbound.io   100m

I have:

[ ] Read and followed Upbound's contribution process.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

Everything except IRSA migrated:
kubectl get claim,composite
NAME                                                        SYNCED   READY   CONNECTION-SECRET             AGE
cluster.aws.platformref.upbound.io/borrelli-function-test   True     True    platform-ref-aws-kubeconfig   38m

NAME                                                                     SYNCED   READY   COMPOSITION                            AGE
xnetwork.aws.platformref.upbound.io/borrelli-function-test-nvxpp-n72ml   True     True    xnetworks.aws.platformref.upbound.io   25m

NAME                                                               SYNCED   READY   COMPOSITION                            AGE
xcluster.aws.platformref.upbound.io/borrelli-function-test-nvxpp   True     True    xclusters.aws.platformref.upbound.io   38m

NAME                                               SYNCED   READY   COMPOSITION                         AGE
xirsa.aws.platformref.upbound.io/irsa-crossplane   True     True    xirsas.aws.platformref.upbound.io   25m

NAME                                                                 SYNCED   READY   COMPOSITION                       AGE
xeks.aws.platformref.upbound.io/borrelli-function-test-nvxpp-2xsrx   True     True    xeks.aws.platformref.upbound.io   23m

NAME                                                                      SYNCED   READY   COMPOSITION                            AGE
xservices.aws.platformref.upbound.io/borrelli-function-test-nvxpp-5r2x8   True     True    xservices.aws.platformref.upbound.io   25m

@stevendborrelli  thanks we will update all invididual configurations to p&t functions shortly
https://github.com/upbound/configuration-aws-network
https://github.com/upbound/configuration-aws-eks
https://github.com/upbound/configuration-aws-eks-irsa
https://github.com/upbound/configuration-aws-network
https://github.com/upbound/configuration-aws-eks-karpenter


Add explicit "global" declarations in Calc

This mirrors Python. But makes functions able to share essentially private but global variables (for saving state, for example).

Going to close this for several reasons:

Calc's semantics for local variables is different than Python's, so the use of "global" isn't needed to make things work
Trying to implement this reasonably is very confusing
I can't even think of a good example of why this was necessary


can not connect when using a cname

When using a cname to connect to the mongodb it is not working as expected. When using the real server name it is working as it should. But using cnames to connect to a mongodb is the recommended way.
It seems, that the driver recognizes the correct server, as in hosts, me and primary is the correct server name set. but nevertheless I get the following error:
** (exit) exited in: GenServer.call(:mongo, :topology, 5000)
** (EXIT) time out
[error] GenServer #PID<0.556.0> terminating
** (stop) exited in: GenServer.call(#PID<0.555.0>, {:server_description, %{address: "cname_to_mongo_db:27017", arbiters: [], election_id: #BSON.ObjectId<595d9545177574f9c47fda70>, error: nil, hosts: ["real_server_name:27017"], last_update_time: -576460749789, last_write_date: #<DateTime(2017-07-07T05:10:58.000Z Etc/UTC)>, max_wire_version: 5, me: "real_server_name:27017", min_wire_version: 0, op_time: %{"t" => -1, "ts" => #BSON.Timestamp<6439892251593146369>}, passives: [], primary: "real_server_name:27017", round_trip_time: 36, set_name: "replicaset_name", set_version: 11, tag_set: %{"dc" => "NOHAM"}, type: :rs_primary}}, 30000)
** (EXIT) time out
(elixir) lib/gen_server.ex:737: GenServer.call/3
(mongodb) lib/mongo/monitor.ex:71: Mongo.Monitor.check/1
(stdlib) gen_server.erl:616: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:686: :gen_server.handle_msg/6
(stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
and as said, when using the real server name and not the cname in the connection string everything is working as expected.

Thanks for pointing this out. I will take a look into what the issue is.

👍
same issue for me

I found the issue for this. The short of it is:

Pid A (Mongo.Monitor) sends a message to Pid B (Mongo.Topology)
Pid B tries to stop Pid A
Pid A is still waiting for a response from Pid B and does not stop

I'm not entirely sure how to fix it at the moment. Maybe @chowevtfy can chime in?

thanks for fixing this. it is now working as expected with cnames!  thats great!
:+1:


conditional celebA DCGAN collapse

Hey! I try to generate conditional celebA faces using DCGAN. Currently this is my implementation:
https://github.com/hpobaschnig/CDCGAN
Currently my network collapses instantly:

Anybody who could help me here?

@carpedm20 @Anjum48 @Aayushya-Agarwal Could you help please?

have you solved this problem?

你解决了么


maxParticles seems to have no effect above 40

A bug in the API:

Phaser version(s): 2.6.1. to 2.8.4

Live example: https://codepen.io/anon/pen/jLpWeY?editors=0010

What should happen:
maxParticles should have an effect on how many particles are shown on screen.
Any value above 40 seems to have no effect. I would expect thousands of particles to show up.
Values below 40 will gradually decrease particles on screen as it should.

What happens instead:
Only about 30 particles are rendered on screen
No matter which settings i try for maxParticles or emitter.start, i never get to render more than 30 particles on screen

See https://codepen.io/samme/pen/MvBOzb?editors=0010.
start(explode=false) always releases 1 particle per emit, so its maximum flow rate is ~60 particles per second.
Use Emitter#flow instead, which is simpler and also allows quantity > 1.

Thanks, thats good news. I guess this is a documentation request then :D
https://phaser.io/docs/2.6.2/Phaser.Particles.Arcade.Emitter.html#start

https://photonstorm.github.io/phaser-ce/Phaser.Particles.Arcade.Emitter.html#start is a little better.

Hmm i see. However, frequency cannot be a float value. As in my example rain.start(false, 200, 0.01, 0); i try to lower the frequency to 10 us. However 1 seems to be the lowest value accepted?

You can even use frequency=0, but the release rate is never greater than the game update rate (60 updates per second, 16.66ms).
You need to use flow, e.g.,
rain.flow(500, (1000/60), 33);


I did a fork

Thank for your codes.
I did a fork version and do some changes, I think them works..
I added props to load default content and emit event to get new content changed.
See https://github.com/chiaweilee/vueditor

Hi @chiaweilee I found your fork very helpful - thanks for sharing it.
Why don't you create a pull request with it?

I'm so glad you like it.
I did a fork for a project that time, so I made some changes which fit to my project..
So I need refactor my code if I pull a request with it.
I will do it later anyway.
Thank you.


docs: update the partition grammar

What's Changed in this PR
Update the new partition grammar in 0.7
Checklist

[x] Please ensure that the content in summary.yml matches the current document structure when you changed the document structure.
[x] This change requires follow-up update in localized docs.

This change requires follow-up update in localized docs.


get_coriolis_rnea returns inaccurate values when non-zero off-diagonal inertial values present

Hi, I noticed when the urdf links contain non-zero ixz, ixy or iyz values, the C vector starts to deviate from what I get from KDL and other other libraries. You might wanna check this.

Hi, sorry for the late reply. Do you have an example URDF that this occurs for?

Hi, so it turned out it was not only coriolis but also M deviates from what you get from KDL, when there's a non-zero off-diaginal inertia. You can see this by using any of the example URDFs in your lib. Just change one of the zero off-diagonal inertia elements to some large value and compare for example for_dyn to that of KDL at high joint velocities. Unfortunately, I don't remember now, but something like changing the signs where you build the inertia tensor solved the issue..

I still haven't gotten around to look at this since it works fine for diagonal inertia matrices. I think maybe the implementation from Featherstone assumes that the frames are attached in such a way that it aligns with the principal axes.

I still haven't gotten around to look at this since it works fine for diagonal inertia matrices. I think maybe the implementation from Featherstone assumes that the frames are attached in such a way that it aligns with the principal axes.


Collect  e2e models performance, figure out the gaps on LLVM path.

For example, we collected inference perf gaps in SPIRV path.
Inductor HF 3 models AMP(BF16) inference performance with low speedup
name                                                | batch_size | speedup | abs_latency | compilation_latency
MobileBertForQuestionAnswering   | 128           | 0.6755    | 81.7692       | 23.0122
MobileBertForMaskedLM                 | 64             | 0.7024    | 88.9173       | 199.3977
YituTechConvBert                             | 16              | 0.992     | 79.9991        | 273.1471

This is an umbrella ticket to track the performance degradations.
The list currently known issues:

#545

LLVM backend have reached performance parity with SPIRV a month ago. Closing this ticket.


wip: proxy: Make service discovery generic over the destination serfvice

This is a proof-of-concept.
Problem:
Our service discovery code is generic over HttpService. This means that, in tests, if we wish to provide a mocked implementation of the destination service, we must provide an HttpService that satisfies the body type requirements and serialize messages through protobuf. That's a lot of work for a little test.
Solution:
Introduce a new GetDst trait that generalizes the Destination service API. A default implementation is provided that uses a Destination service client. It is now also plausible to test Background, etc, independently of an actual HTTP service.
This does cause some added trait complexity (esp in remote_stream); though I think it may be worth it.
if we we're going to go further with this, I'd probably want to move GetDst to its own file.
I'm curious what others think about this. Ideally, I'd like the gRPC-generated code to provide these trait definitions, but it's not necessary to do that to begin decoupling.

I think that we do need to allow implementations of service discovery other than the Kubernetes-based one we have in the control plane currently and other than the DNS-based one that's built into the proxy itself. However, I have some questions:

Is it really problematic to ask alternative non-test implementations to implement the gRPC-based protocol? IMO the gRPC-based protocol is a very good abstraction, especially when (not if, but when; it's just a matter of time at this point) we remove the k8s-specific things from that protocol. IMO the gRPC interface is going to be much easier to maintain for both us and any other people interested in implementing alternate service discovery, and doesn't require custom builds of the proxy to support pluggability. If we're going to support alternate service discovery implementations written in Rust and linked into a custom-built proxy then I'd like to see what the expectation is regarding the stability of the Rust-level API. Having a stable(-ish) Rust-level API seems really expensive in terms of maintenance to me.

For testing, Isn't it good to just bite the bullet and implement a gRPC-based test server anyway? We seem like we need it to make sure we exercise the gRPC serialization/deserialization logic.

If we want to have such a generic interface, should the DNS-based service discovery implement this interface? If DNS-based service discovery can't implement the interface then that's some evidence that the interface is unlikely to be general enough to be a useful abstraction. It would be good to hear what you're thinking about whether/how we'd replace the distinct query and dns_query fields of DestinationSet with a single query field.

Anyway, the PR here is really small and I don't have any problem with it specifically. I do think we need to take a pass over it and figure out what we can do with the naming and/or documentation to help somebody understand what this is doing, because we're abstracting this to the point where I think it's likely to melt the mind of anybody that looks at it, that doesn't remember the history of the evolution of the interface.

@briansmith makes a good point with

If we want to have such a generic interface, should the DNS-based service discovery implement this interface? If DNS-based service discovery can't implement the interface then that's some evidence that the interface is unlikely to be general enough to be a useful abstraction. It would be good to hear what you're thinking about whether/how we'd replace the distinct query and dns_query fields of DestinationSet with a single query field.

IIRC there was some discussion in the past about providing a general interface over both DNS and Destination service discovery, is that something that we're still considering?

@briansmith

I think that we do need to allow implementations of service discovery other than the Kubernetes-based one we have in the control plane currently and other than the DNS-based one that's built into the proxy itself.

I don't disagree, but that's not exactly what I'm trying to accomplish with this change.

Is it really problematic to ask alternative non-test implementations to implement the gRPC-based protocol?

No, I think this is fine and what i expect. My change is mostly focused on hiding the HTTP-ness of the service in our implementation.

For testing, Isn't it good to just bite the bullet and implement a gRPC-based test server anyway? We seem like we need it to make sure we exercise the gRPC serialization/deserialization logic.

I think this is suitable for integration tests; but it is distinctly not what I want
for unit tests, where I want to exercise the minimum amount of logic. I absolutely do not
want to have to bind sockets for unit tests, ever, as this is a notorious source of test
flakiness.

If we want to have such a generic interface, should the DNS-based service discovery implement this interface?

I do think we'll want to be generic over our DNS resolver as well so that it can be mocked
similarly. We can figure out if there's really a super-trait that generalizes all of these
or if they must be distinct. But I don't think it's a prerequisite to determine this to
begin moving things in that direction.

If DNS-based service discovery can't implement the interface then that's some evidence that the interface is unlikely to be general enough to be a useful abstraction. It would be good to hear what you're thinking about whether/how we'd replace the distinct query and dns_query fields of DestinationSet with a single query field.

I agree. Finagle has a Namer interface that is used to generalize over arbitrary
systems, so it's possible to provide implementations that comprise multiple
implementations internally. I would really like to end up at a point where we can express
the policy "for this domain, use this resolver. if that resolver can't be used, fallback
to another."

I do think we need to take a pass over it and figure out what we can do with the naming and/or documentation.

Totally. I wanted to socialize the plan more generally before I dive into making this
nicer. I'll spend more time sanding down some of the edges if we're generally in favor of
this approach.

This PR sounds like an alternate attempt to resolve the issue represented by https://github.com/tower-rs/tower-grpc/issues/64.
My current take is that it will be easier to write the test harness once that take an implementation of the server trait and provides an HttpService implementation. This test harness could even live in tower-grpc.
The trait approach would get you the same capabilities for testing, but as the number of grpc methods increases, the trait gets pretty crazy pretty fast.

this is stale. will revisit this later.


Parameter validation tests for ARC4

Description
This PR introduces unit test code the validation of the public API function parameters against NULL pointers.
Status
READY
Requires Backporting
NO
Migrations
NO
Additional comments
None
Todos

[ ] Tests
[ ] Documentation
[ ] Changelog updated
[ ] Backported

This PR has been superseded by PR #2272, so can now be closed.


adds gaia_deletefile

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hey @talhasch, thank you for your PR!  When you get a chance, can you sign the CLA?  Thanks!

 All committers have signed the CLA.

Thanks!


Pico W Errno 12 ENOMEM

I'm running a Pico W with firmware 1.19.1 and I'm getting this error when running the rainbow.py example after about 8 or 9 times of running it through Thonny without detaching the PI.
MicroPython v1.19.1 on 2022-10-05; Raspberry Pi Pico W with RP2040
Type "help()" for more information.

%Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "", line 5, in
File "neopixel.py", line 97, in init
OSError: [Errno 12] ENOMEM

I did some googling and found this: https://forums.raspberrypi.com/viewtopic.php?t=338158
Based on the link above it might be due to PIO memory not being properly cleared on rerun.
Might be a Pico W issue, I'll try it on my pico and report back, otherwise the link above specifies a workaround.

I tested this on my Pico and it works without any errors even after many restarts. So the problem might be in Pico W not clearing PIO memory and possibly solved as shown in link I posted above. Can you try adding rp2.PIO(0).remove_program() at the beginning of your code, where you replace 0 with your selected PIO id, and report back?

I had the same issue on my pico w. Your fix worked for me.

Nice, thanks for feedback :)


'package:flutter/src/widgets/navigator.dart': Failed assertion: line 4041 pos 12: '!_debugLocked': is not true.

The following assertion was thrown building Navigator-[GlobalObjectKey _WidgetsAppState#a2987](dirty, dependencies: [HeroControllerScope], state: NavigatorState#d8229(tickers: tracking 2 tickers)):
'package:flutter/src/widgets/navigator.dart': Failed assertion: line 4041 pos 12: '!_debugLocked': is not true.

Hi @Saleh-h-m-abbas
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

cc @chunhtai

salehabbas@Salehs-MacBook-Pro ActHubBeta % flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-CA)
• Flutter version 1.22.5 at /Users/salehabbas/Developer/flutter
• Framework revision<PHONE_NUMBER> (2 weeks ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/salehabbas/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.10.0
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] IntelliJ IDEA Community Edition (version 2020.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin installed
• Dart plugin version 203.6912
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.17.0
[✓] Connected device (2 available)
• sdk gphone x86 arm (mobile) • emulator-5554                        • android-x86 • Android 11 (API 30) (emulator)
• iPhone 12 Pro Max (mobile)  • 832E72F3-09FE-4559-8A76-62F7CDC60B67 • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-3
(simulator)
! Doctor found issues in 1 category.
salehabbas@Salehs-MacBook-Pro ActHubBeta %

Hi @Saleh-h-m-abbas
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-CA)
• Flutter version 1.22.5 at /Users/salehabbas/Developer/flutter
• Framework revision<PHONE_NUMBER> (2 weeks ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/salehabbas/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.10.0
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] IntelliJ IDEA Community Edition (version 2020.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin installed
• Dart plugin version 203.6912
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.17.0
[✓] Connected device (2 available)
• sdk gphone x86 arm (mobile) • emulator-5554                        • android-x86 • Android 11 (API 30) (emulator)
• iPhone 12 Pro Max (mobile)  • 832E72F3-09FE-4559-8A76-62F7CDC60B67 • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-3
(simulator)
! Doctor found issues in 1 category.

Hi @Saleh-h-m-abbas
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

I/Gralloc4(14950): mapper 4.x is not supported
D/HostConnection(14950): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
W/OpenGLRenderer(14950): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
D/EGL_emulation(14950): eglCreateContext: 0xf3d628a0: maj 3 min 0 rcv 3
D/EGL_emulation(14950): eglMakeCurrent: 0xf3d628a0: ver 3 0 (tinfo 0xbf8437f0) (first time)
D/HostConnection(14950): createUnique: call
D/HostConnection(14950): HostConnection::get() New Host Connection established 0xf3d43c70, tid 15020
D/goldfish-address-space(14950): allocate: Ask for block of size 0x100
D/goldfish-address-space(14950): allocate: ioctl allocate returned offset 0x3fda58000 size 0x2000
D/HostConnection(14950): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
I/.ngn.ActHubBet(14950): Background young concurrent copying GC freed 9325(583KB) AllocSpace objects, 8(964KB) LOS objects, 47% free, 6867KB/12MB, paused 117.320ms total 597.270ms
D/HostConnection(14950): HostConnection::get() New Host Connection established 0xf3d42b60, tid 15020
D/HostConnection(14950): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
D/EGL_emulation(14950): eglMakeCurrent: 0xf3d61560: ver 3 0 (tinfo 0xbf80c530) (first time)
I/OpenGLRenderer(14950): Davey! duration=3020ms; Flags=1, IntendedVsync=49948751560534, Vsync=49948901560528, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=49948910196125, AnimationStart=49948910244125, PerformTraversalsStart=49948910426125, DrawStart=49951266121125, SyncQueued=49951271762125, SyncStart=49951280825125, IssueDrawCommandsStart=49951282712125, SwapBuffers=49951677643125, FrameCompleted=49951781601125, DequeueBufferDuration=34832000, QueueBufferDuration=5588000, GpuCompleted=72904454231491230,
I/Choreographer(14950): Skipped 174 frames!  The application may be doing too much work on its main thread.
I/flutter (14950): setState() or markNeedsBuild() called during build.
I/flutter (14950): This Overlay widget cannot be marked as needing to build because the framework is already in the process of building widgets.  A widget can be marked as needing to be built during the build phase only if one of its ancestors is currently building. This exception is allowed because the framework builds parent widgets before children, which means a dirty descendant will always be built. Otherwise, the framework might not visit this widget during this build phase.
I/flutter (14950): The widget on which setState() or markNeedsBuild() was called was:
I/flutter (14950):   Overlay-[LabeledGlobalKey#34526]
I/flutter (14950): The widget which was currently being built when the offending call was made was:
I/flutter (14950):   Builder
======== Exception caught by foundation library ====================================================
The following assertion was thrown while dispatching notifications for ActivityNotifier:
setState() or markNeedsBuild() called during build.
This _InheritedProviderScope widget cannot be marked as needing to build because the framework is already in the process of building widgets.  A widget can be marked as needing to be built during the build phase only if one of its ancestors is currently building. This exception is allowed because the framework builds parent widgets before children, which means a dirty descendant will always be built. Otherwise, the framework might not visit this widget during this build phase.
The widget on which setState() or markNeedsBuild() was called was: _InheritedProviderScope
value: Instance of 'ActivityNotifier'
listening to value
The widget which was currently being built when the offending call was made was: _BodyBuilder
When the exception was thrown, this was the stack:
#0      Element.markNeedsBuild. (package:flutter/src/widgets/framework.dart:4292:11)
#1      Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4307:6)
#2      _InheritedProviderScopeElement.markNeedsNotifyDependents (package:provider/src/inherited_provider.dart:496:5)
#3      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:226:25)
#4      ActivityNotifier.activityRefreshMethod (package:ActHubBeta/notifier/ActivityNotifier.dart:21:5)
...
The ActivityNotifier sending notification was: Instance of 'ActivityNotifier'
W/DynamiteModule(14950): Local module descriptor class for providerinstaller not found.
I/DynamiteModule(14950): Considering local module providerinstaller:0 and remote module providerinstaller:0
W/ProviderInstaller(14950): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
I/.ngn.ActHubBet(14950): The ClassLoaderContext is a special shared library.
I/.ngn.ActHubBet(14950): The ClassLoaderContext is a special shared library.
D/nativeloader(14950): classloader namespace configured for unbundled product apk. library_path=/product/priv-app/PrebuiltGmsCore/lib/x86:/product/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk!/lib/x86:/product/lib:/system/product/lib
W/.ngn.ActHubBet(14950): Accessing hidden field Ldalvik/system/BaseDexClassLoader;->pathList:Ldalvik/system/DexPathList; (greylist, reflection, allowed)
W/.ngn.ActHubBet(14950): Accessing hidden field Ldalvik/system/DexPathList;->nativeLibraryDirectories:Ljava/util/List; (greylist, reflection, allowed)
W/.ngn.ActHubBet(14950): Accessing hidden field Ldalvik/system/DexPathList;->systemNativeLibraryDirectories:Ljava/util/List; (greylist, reflection, allowed)
W/.ngn.ActHubBet(14950): Accessing hidden field Ldalvik/system/DexPathList;->nativeLibraryPathElements:[Ldalvik/system/DexPathList$NativeLibraryElement; (greylist, reflection, allowed)
W/.ngn.ActHubBet(14950): Accessing hidden method Ldalvik/system/DexPathList;->makePathElements(Ljava/util/List;)[Ldalvik/system/DexPathList$NativeLibraryElement; (greylist, reflection, allowed)
V/NativeCrypto(14950): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods...
W/.ngn.ActHubBet(14950): Accessing hidden method Ljava/security/spec/ECParameterSpec;->getCurveName()Ljava/lang/String; (greylist, reflection, allowed)
I/ProviderInstaller(14950): Installed default security provider GmsCore_OpenSSL
W/.ngn.ActHubBet(14950): Accessing hidden field Ljava/net/Socket;->impl:Ljava/net/SocketImpl; (greylist, reflection, allowed)
W/.ngn.ActHubBet(14950): Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, linking, allowed)
W/.ngn.ActHubBet(14950): Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, linking, allowed)
W/.ngn.ActHubBet(14950): Accessing hidden field Ljava/io/FileDescriptor;->descriptor:I (greylist, JNI, allowed)
W/.ngn.ActHubBet(14950): Accessing hidden method Ljava/security/spec/ECParameterSpec;->setCurveName(Ljava/lang/String;)V (greylist, reflection, allowed)
W/.ngn.ActHubBet(14950): Accessing hidden method Ldalvik/system/BlockGuard;->getThreadPolicy()Ldalvik/system/BlockGuard$Policy; (greylist,core-platform-api, linking, allowed)
W/.ngn.ActHubBet(14950): Accessing hidden method Ldalvik/system/BlockGuard$Policy;->onNetwork()V (greylist, linking, allowed)
I/zzbz    (14950): Making Creator dynamically
W/Gralloc4(14950): allocator 3.x is not supported
I/DynamiteModule(14950): Considering local module com.google.android.gms.maps_dynamite:0 and remote module com.google.android.gms.maps_dynamite:201817000
I/DynamiteModule(14950): Selected remote version of com.google.android.gms.maps_dynamite, version >= 201817000
V/DynamiteModule(14950): Dynamite loader version >= 2, using loadModule2NoCrashUtils
W/.ngn.ActHubBet(14950): Unsupported class loader
W/.ngn.ActHubBet(14950): Unsupported class loader
I/Google Maps Android API(14950): Google Play services client version: 12451000
I/Google Maps Android API(14950): Google Play services package version: 201817022
I/.ngn.ActHubBet(14950): Background concurrent copying GC freed 87348(5904KB) AllocSpace objects, 12(1712KB) LOS objects, 49% free, 5759KB/11MB, paused 854us total 259.319ms
W/Google Maps Android API(14950): Deprecation notice: In a future release, indoor will no longer be supported on satellite, hybrid or terrain type maps. Even where indoor is not supported, isIndoorEnabled() will continue to return the value that has been set via setIndoorEnabled(), as it does now. By default, setIndoorEnabled is 'true'. The API release notes (https://developers.google.com/maps/documentation/android-api/releases) will let you know when indoor support becomes unavailable on those map types.
D/HostConnection(14950): HostConnection::get() New Host Connection established 0xf3d7e280, tid 15167
D/HostConnection(14950): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
D/EGL_emulation(14950): eglCreateContext: 0xf3d7fa20: maj 1 min 0 rcv 1
D/EGL_emulation(14950): eglMakeCurrent: 0xf3d7fa20: ver 1 0 (tinfo 0xbf81c6b0) (first time)
D/EGL_emulation(14950): eglMakeCurrent: 0xf3d7fa20: ver 1 0 (tinfo 0xbf81c6b0) (first time)
W/DynamiteModule(14950): Local module descriptor class for com.google.android.gms.googlecertificates not found.
I/DynamiteModule(14950): Considering local module com.google.android.gms.googlecertificates:0 and remote module com.google.android.gms.googlecertificates:4
I/DynamiteModule(14950): Selected remote version of com.google.android.gms.googlecertificates, version >= 4
W/.ngn.ActHubBet(14950): Unsupported class loader
W/.ngn.ActHubBet(14950): Unsupported class loader
I/.ngn.ActHubBet(14950): Background young concurrent copying GC freed 27686(2304KB) AllocSpace objects, 24(1404KB) LOS objects, 0% free, 13MB/13MB, paused 4.690ms total 967.133ms
I/.ngn.ActHubBet(14950): Background concurrent copying GC freed 14074(1918KB) AllocSpace objects, 141(5956KB) LOS objects, 49% free, 14MB/28MB, paused 11.418ms total 1.425s
======== Exception caught by foundation library ====================================================
The following assertion was thrown while dispatching notifications for ActivityNotifier:
setState() or markNeedsBuild() called during build.
This _InheritedProviderScope widget cannot be marked as needing to build because the framework is already in the process of building widgets.  A widget can be marked as needing to be built during the build phase only if one of its ancestors is currently building. This exception is allowed because the framework builds parent widgets before children, which means a dirty descendant will always be built. Otherwise, the framework might not visit this widget during this build phase.
The widget on which setState() or markNeedsBuild() was called was: _InheritedProviderScope
value: Instance of 'ActivityNotifier'
listening to value
The widget which was currently being built when the offending call was made was: _BodyBuilder
When the exception was thrown, this was the stack:
#0      Element.markNeedsBuild. (package:flutter/src/widgets/framework.dart:4292:11)
#1      Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4307:6)
#2      _InheritedProviderScopeElement.markNeedsNotifyDependents (package:provider/src/inherited_provider.dart:496:5)
#3      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:226:25)
#4      ActivityNotifier.profileRefresh (package:ActHubBeta/notifier/ActivityNotifier.dart:156:5)
...
The ActivityNotifier sending notification was: Instance of 'ActivityNotifier'
======== Exception caught by foundation library ====================================================
setState() or markNeedsBuild() called during build.
======== Exception caught by foundation library ====================================================
The following assertion was thrown while dispatching notifications for ActivityNotifier:
setState() or markNeedsBuild() called during build.
This _InheritedProviderScope widget cannot be marked as needing to build because the framework is already in the process of building widgets.  A widget can be marked as needing to be built during the build phase only if one of its ancestors is currently building. This exception is allowed because the framework builds parent widgets before children, which means a dirty descendant will always be built. Otherwise, the framework might not visit this widget during this build phase.
The widget on which setState() or markNeedsBuild() was called was: _InheritedProviderScope
value: Instance of 'ActivityNotifier'
listening to value
The widget which was currently being built when the offending call was made was: _BodyBuilder
When the exception was thrown, this was the stack:
#0      Element.markNeedsBuild. (package:flutter/src/widgets/framework.dart:4292:11)
#1      Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4307:6)
#2      _InheritedProviderScopeElement.markNeedsNotifyDependents (package:provider/src/inherited_provider.dart:496:5)
#3      ChangeNotifier.notifyListeners (package:flutter/src/foundation/change_notifier.dart:226:25)
#4      ActivityNotifier.activityRefreshMethod (package:ActHubBeta/notifier/ActivityNotifier.dart:21:5)
...
The ActivityNotifier sending notification was: Instance of 'ActivityNotifier'

Performing hot restart...
Syncing files to device sdk gphone x86 arm...
Restarted application in 4,342ms.
W/.ngn.ActHubBet( 6656): Accessing hidden method Ldalvik/system/CloseGuard;->close()V (greylist,core-platform-api, linking, allowed)
I/flutter ( 6656): setState() or markNeedsBuild() called during build.
I/flutter ( 6656): This Overlay widget cannot be marked as needing to build because the framework is already in the process of building widgets.  A widget can be marked as needing to be built during the build phase only if one of its ancestors is currently building. This exception is allowed because the framework builds parent widgets before children, which means a dirty descendant will always be built. Otherwise, the framework might not visit this widget during this build phase.
I/flutter ( 6656): The widget on which setState() or markNeedsBuild() was called was:
I/flutter ( 6656):   Overlay-[LabeledGlobalKey#ffa3e]
I/flutter ( 6656): The widget which was currently being built when the offending call was made was:
I/flutter ( 6656):   Builder
======== Exception caught by widgets library =======================================================
The following assertion was thrown building Navigator-[GlobalObjectKey _WidgetsAppState#4c57d](dirty, dependencies: [HeroControllerScope], state: NavigatorState#ddfb4(tickers: tracking 2 tickers)):
'package:flutter/src/widgets/navigator.dart': Failed assertion: line 4151 pos 12: '!_debugLocked': is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md
The relevant error-causing widget was:
MaterialApp file:///Users/salehabbas/Developer/ActHubBeta/lib/main.dart:33:12
When the exception was thrown, this was the stack:
#2      NavigatorState.build (package:flutter/src/widgets/navigator.dart:4151:12)
#3      StatefulElement.build (package:flutter/src/widgets/framework.dart:4744:28)
#4      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4627:15)
#5      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4800:11)
#6      Element.rebuild (package:flutter/src/widgets/framework.dart:4343:5)
...
======== Exception caught by animation library =====================================================
The following assertion was thrown while notifying status listeners for AnimationController:
setState() called after dispose(): OverlayState#dab16(lifecycle state: defunct, not mounted, entries: [OverlayEntry#fbf2f(opaque: true; maintainState: false), OverlayEntry#a6a0f(opaque: false; maintainState: true), OverlayEntry#4e38b(opaque: true; maintainState: false), OverlayEntry#8a493(opaque: false; maintainState: true)])
This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.
The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().
When the exception was thrown, this was the stack:
#0      State.setState. (package:flutter/src/widgets/framework.dart:1208:9)
#1      State.setState (package:flutter/src/widgets/framework.dart:1243:6)
#2      OverlayState._didChangeEntryOpacity (package:flutter/src/widgets/overlay.dart:441:5)
#3      OverlayEntry.opaque= (package:flutter/src/widgets/overlay.dart:91:15)
#4      TransitionRoute._handleStatusChanged (package:flutter/src/widgets/routes.dart:179:32)
...
The AnimationController notifying status listeners was: AnimationController#16c2e(⏭ 1.000; paused; for MaterialPageRoute(null))

Hi @Saleh-h-m-abbas
Can you please provide a complete reproducible minimal code sample
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Update partial-document-update-getting-started.md

This `patchOperations.Add(patchOperation.Set("/existingPath/newproperty",value));  is supposed to be patchOperations.Add(PatchOperation.Set("/existingPath/newproperty",value));

@emahama : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

@emahama Thanks for catching this! #sign-off


problems with forms in cells

Hi - loving the book and the Trailblazer approach. I am unfortunately stuck and have spent the whole weekend on this and can't go further.
My goal is to refactor my app and get all my forms into cells. This is important to me as I will then have them render into modals and I get to clean up all the hundreds of partials I have in the views.
My problem is that I cannot get a form to work in a cell. All the examples I find keep the form in the view which Rails renders. Doing this works, but its not the deign I want. Forms need to be in cells for me.
For a simple example, here is the controller:
def edit
    form Company::Update
    render action: :edit
  end

/views/companies/edit.haml
= concept("company/cells", @form).(:edit)

/concepts/company/cell.rb
 class Company::Cell < Cell::Concept
    include SimpleForm::ActionViewExtensions::FormHelper
    include Cell::Haml

    def dom_class(record, prefix = nil)
      ActionView::RecordIdentifier.dom_class(record, prefix)
    end

    def dom_id(record, prefix = nil)
      ActionView::RecordIdentifier.dom_id(record, prefix)
    end

  property :name

  def edit
    render
  end
end

and finally /concepts/company/views/edit.haml
= simple_form_for model do |f|
  = f.input :name
  = f.button :submit, class: :expand

and now the problem - the resulting HTML:

* Name<input class="string required form-control" type="text" value="Test company" name="company[name]" id="company_name" />

  <input type="submit" name="commit" value="Update Company" class="btn btn-default expand" />
<form novalidate="novalidate" class="simple_form edit_company" id="edit_company_1" action="/companies/1" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓" /><input type="hidden" name="_method" value="patch" /><input type="hidden" name="authenticity_token" value="OvW+tMjUaOYkIDlcZzuA+2734JH4+j1uduqkIvGJlAz6xRRfxYQJRVfoodN4ySfu9w1ivCEKSjMx2liw6fLFBA==" />0</form>

The problem is that the SUBMIT button does not actually work, I think this is because in the HTML above the Submit button is outside the form tag, but I could be wrong as this might not be the issue.
Can anyone help me please?

You need to point your haml version to a specific commit, as done here: https://github.com/apotonick/gemgem-trbrb/blob/chapter-10/Gemfile#L47
I am really sorry for this inconvenience, I've wasted about 2 weeks of my precious life with this shit, and it is fixed in Haml 5. :wink:
Also, good news for you!!!!!!!!!!! Chapter 10 is doing forms in cells: https://github.com/apotonick/gemgem-trbrb/blob/chapter-10/app/concepts/thing/cell/form.rb :fireworks: :sunny: :sparkles:
Thanks for your feedback, good to hear you like it.

Thank you so much - that worked perfectly!

I'm trying to resolve a similar issue. Having updated my Gemfile, I'm still getting a small chunk of hash output underneath the form, e,g {:first_name=>[], :surname=>[]}. Before it was rendering the HTML of the form. The form just has those two fields currently.
 I did that in Gemgem for educational purposes.

@apotonick yes that was it. I think I had it in my head that that would only cause an output if there was an issue. Thanks for the tip, much appreciated!


How to add/remove classes on span

Hi - I want to apply classes to parts of the text. I use the following extension (inspired by the Heading Extension):
import { Mark } from "tiptap";
import { updateMark } from "tiptap-commands";

export default class CustomStyle extends Mark {
  get name() {
    return "customstyle";
  }

  get defaultOptions() {
    return {
      levels: ["body-green", "body-red", "body-blue"]
    };
  }

  get schema() {
    return {
      attrs: {
        level: {
          default: "body-green"
        }
      },
      parseDOM: [
        {
          tag: "span.custom-style",
          getAttrs(dom) {
            console.log(dom.classList[1]);
            return { level: dom.classList[1] };
          }
        }
      ],
      toDOM: mark => {
        return ["span", { class: `custom-style ${mark.attrs.level}` }, 0];
      }
    };
  }

  commands({ type }) {
    return attrs => updateMark(type, attrs);
  }
}

In the menu I have these points:
<button
class="menubar__button"
:class="{ 'is-active': isActive.customstyle({ level: 'body-green' }) }"
@click="commands.customstyle({ level: 'body-green' })">Body Green</button>
<button
class="menubar__button"
:class="{ 'is-active': isActive.customstyle({ level: 'body-blue' }) }"
@click="commands.customstyle({ level: 'body-blue' })">Body Blue</button>
<button
class="menubar__button"
:class="{ 'is-active': isActive.customstyle({ level: 'body-red' }) }"
@click="commands.customstyle({ level: 'body-red' })">Body Red</button>

I have also created a simple example here:
https://codesandbox.io/embed/vue-template-9x8fr
My questions/problems:

how can it remove the marker again? With a second command? The mark should be removed if the selected text already has the same class as the pressed button. toggleMark doesn't work for me because you can't add the attributes there.
how can i always mark only the corresponding class as Active in the menu? isActive.customstyle({ level: 'body-green' }) always returns "true", no matter if the level matches the class.
is this the right way to reach my goal at all?

Hi there, I don't know if that helps but I seem to have resolved the issue by changing
return attrs => updateMark(type, attrs);

to
return attrs => toggleMark(type, attrs);

in your CustomStyle.js line 40.

Hi,
Did you find a solution to resolve that problem ?
isActive.customstyle({ level: 'body-green' }) always returns "true", no matter if the level matches the class.

Hi,
Did you find a solution to resolve that problem ? :
isActive.customstyle({ level: 'body-green' }) always returns "true", no matter if the level matches the class.

Yes, I use now
getMarkAttrs('customstyle ').level === 'body-green'

You have to add to slot-scope getMarkAttrs
slot-scope="{ commands, isActive, focused, getMarkAttrs }"

One of my initial Questions:

how can it remove the marker again? With a second command? The mark should be removed if the selected text already has the same class as the pressed button. toggleMark doesn't work for me because you can't add the attributes there.

I fixed this by adding additional Menu-Button
<button class="menubar__button" :class="{ 'is-active': getMarkAttrs('customstyle').level === null }"
       @click="commands.customstyle({ level: null })">
       Remove Style
</button>

and to the commands I added it like this:
commands({type}) {
    return attrs => {
        if (attrs.level === null) {
            return toggleMark(type, attrs)
        }
        return updateMark(type, attrs)
    }
}

Hi,
Thank you ! it work fine. Still mysterious why isActive doesn't work, may not correctly implemented with "Mark"


Use Next.js recommended Lint config

See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config

[ ] Ensure yarn lint still passes
[ ] Ensure plugin:jsx-a11y/recommended still works
[ ] Ensure import ESlint plugin still works
[ ] Ensure config is simpler with the Next.js lint

Hi @mfix22 could I get assigned to this?

Hi @mfix22 could I get assigned to this?

@CheRayLiu anyone can submit PRs to fix any issue, with no assignment necessary. I will accept the first contribution that appropriately/best solves the issue.

Looks like #1322 already starts the solution for this issue, but is not entirely complete yet.


Description
This PR adds documentation for the WordPress.DB.PreparedSQL sniff.
Related issues/external references
Part of #1722

Have a look at some of the existing examples, such as in https://github.com/WordPress/WordPress-Coding-Standards/tree/develop/WordPress/Docs/Arrays to see how the <em> </em> tags are used to emphasise the key bit of the code examples.

Thanks @GaryJones, I've addressed the missing emphasis in fdd28c7.

Thanks @jrfnl, I appreciate the thorough feedback. I have committed all of your suggestions 🙂


Completing 1 draenei village quest competes all 3 of them

Fixed by https://github.com/AzerothWarsLR/WarcraftLegacies/pull/272.


greedy mode not working for ilab chat command

Describe the bug
greedy mode is not working in the ilab chat command
To Reproduce
Steps to reproduce the behavior:

ilab download
ilab serve
ilab chat -gm
try asking the same question twice

Expected behavior
In greedy mode the model should give the same answer every time that question is asked.
Screenshots

Device Info (please complete the following information):

Hardware Specs: Apple M1 Pro, 32 GB
OS Version: 14.4.1 (23E224)
Python Version: 3.11.9
InstructLab Version: 0.15.0

This should because ilab chat use history message. For same question, the first time and the second time has different context as the second time include the first time's output.  So for llm, the input is not exactly the same.
If ilab chat support not use history(e.g. add parameter --no-history), the output should be same for same question.

@chudegao There is  no such parameter available for ilab chat command. The greedy mode flag should emulate this behaviour but it doesn't.

Seems it works fine now.
(dlipy3) [root@llm opt]# pip show instructlab openai
Name: instructlab
Version: 0.16.0
Summary: CLI for interacting with InstructLab
Home-page:
Author:
Author-email: TBD<EMAIL_ADDRESS>License: Apache-2.0 AND MIT
Location: /opt/anaconda3/envs/dlipy3/lib/python3.11/site-packages
Requires: click, click-didyoumean, datasets, gguf, GitPython, httpx, instructlab-quantize, jsonschema, langchain-text-splitters, llama-cpp-python, numpy, openai, peft, prompt-toolkit, pydantic, pydantic-yaml, PyYAML, rich, rouge-score, sentencepiece, tokenizers, toml, torch, tqdm, transformers, trl, wandb, yamllint
Required-by:
---
Name: openai
Version: 1.30.3
Summary: The official Python library for the openai API
Home-page:
Author:
Author-email: OpenAI<EMAIL_ADDRESS>License:
Location: /opt/anaconda3/envs/dlipy3/lib/python3.11/site-packages
Requires: anyio, distro, httpx, pydantic, sniffio, tqdm, typing-extensions
Required-by: instructlab
(dlipy3) [root@llm opt]#

(dlipy3) [root@llm opt]# ilab chat -gm
╭──────────────────────────────────────────────────── system ────────────────────────────────────────────────────╮
│ Welcome to InstructLab Chat w/ MODELS/MERLINITE-7B-LAB-Q4_K_M.GGUF (type /h for help)                          │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
>>> what is watsonx                                                                                [S][default]
╭───────────────────────────────────── models/merlinite-7b-lab-Q4_K_M.gguf ──────────────────────────────────────╮
│ WatsonX is a JavaScript library that provides a set of pre-built UI components for building conversational     │
│ interfaces, such as chatbots or virtual assistants. It is designed to work seamlessly with the Watson          │
│ Assistant service, which offers natural language understanding and response generation capabilities.           │
│                                                                                │
│ The WatsonX library includes various UI elements like buttons, input fields, and carousels that can be used to │
│ create a visually appealing conversational interface. Additionally, it provides methods for handling user      │
│ interactions, such as sending messages to the Watson Assistant service and receiving responses.                │
│                                                                                │
│ By using WatsonX, developers can quickly build and deploy conversational interfaces that can help users        │
│ accomplish tasks, answer questions, or provide recommendations based on user input. This can be particularly   │
│ useful in applications like customer support, personalized shopping experiences, or even in-car navigation     │
│ systems.                                                                                │
╰──────────────────────────────────────────────────────────────────────────────────────── elapsed 1.980 seconds ─╯
>>> what is watsonx                                                                                [S][default]
╭───────────────────────────────────── models/merlinite-7b-lab-Q4_K_M.gguf ──────────────────────────────────────╮
│ WatsonX is a JavaScript library that provides a set of pre-built UI components for building conversational     │
│ interfaces, such as chatbots or virtual assistants. It is designed to work seamlessly with the Watson          │
│ Assistant service, which offers natural language understanding and response generation capabilities.           │
│                                                                                │
│ The WatsonX library includes various UI elements like buttons, input fields, and carousels that can be used to │
│ create a visually appealing conversational interface. Additionally, it provides methods for handling user      │
│ interactions, such as sending messages to the Watson Assistant service and receiving responses.                │
│                                                                                │
│ By using WatsonX, developers can quickly build and deploy conversational interfaces that can help users        │
│ accomplish tasks, answer questions, or provide recommendations based on user input. This can be particularly   │
│ useful in applications like customer support, personalized shopping experiences, or even in-car navigation     │
│ systems.                                                                                │
╰──────────────────────────────────────────────────────────────────────────────────────── elapsed 1.973 seconds ─╯
>>> what is watsonx                                                                                [S][default]
╭───────────────────────────────────── models/merlinite-7b-lab-Q4_K_M.gguf ──────────────────────────────────────╮
│ WatsonX is a JavaScript library that provides a set of pre-built UI components for building conversational     │
│ interfaces, such as chatbots or virtual assistants. It is designed to work seamlessly with the Watson          │
│ Assistant service, which offers natural language understanding and response generation capabilities.           │
│                                                                                │
│ The WatsonX library includes various UI elements like buttons, input fields, and carousels that can be used to │
│ create a visually appealing conversational interface. Additionally, it provides methods for handling user      │
│ interactions, such as sending messages to the Watson Assistant service and receiving responses.                │
│                                                                                │
│ By using WatsonX, developers can quickly build and deploy conversational interfaces that can help users        │
│ accomplish tasks, answer questions, or provide recommendations based on user input. This can be particularly   │
│ useful in applications like customer support, personalized shopping experiences, or even in-car navigation     │
│ systems.                                                                                │
╰──────────────────────────────────────────────────────────────────────────────────────── elapsed 1.999 seconds ─╯
>>>                                                                                [S][default]

BTW, it's hard to make LLM deterministic. https://community.openai.com/t/a-question-on-determinism/8185

@SuyashGupte - is this still relevant or can this be closed?

Closing due to lack of activity - feel free to reopen if this is still an issue with the latest ilab version


US16 e US17

Coverage decreased (-0.2%) to 94.485% when pulling 3d11221bb3d83bddd71c3faa97ca016b363309f4 on devel into fa4a76637c8aaf05fdb4d98cdaf0ee59bd1f3956 on master.


Duplicate field names when using useArrayFormField

Removing an array item through the helper method returned by useArrayFormField can lead to duplicate field names.
This happens when:

You have 2 array form field children
You remove the first one
You add another one

Both child fields will now have the name form1.arrayfield[1]

Great find! Weird I didn't spot it myself.
Question is: how to solve? I think we have a few approaches:

Use a separate counter that counts towards infinity. Here the last added field has the highest number. Problem with this approach is that the name will contain gaps.

Provide new names for all fields so that they remain ok. This means we would need a drastic change to the API as name would need to become part of the state.

Reuse indexes by recording deleted fields. This could become weird as later fields would have a lower index in the name.

I think I like this option most. Added complexity is minimal. API remains the same.

This is for the purists. I don't think the benefits outweigh the complexity cost (implementation and API).

Not good, added complexity for no benefit.

I would go for 1. In the rare case that we actually need the name to be correct (which I don't think we will encounter) because we use an old school backend we have a few escape hatches:

Don't use name of the field for array items, but use the index from the array when it's rendered
Compress (remove empty slots) on the server side
Post with JavaScript

I think we should only consider a complex alternative once we have a use case.
@peeke What do you think?

Based on the above, I'd prefer option 1 as well.


[BEAM-1672] Extract interface MetricData

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Pull up similar methods in DistributionData/GaugeData into an interface
and create a similar CounterData. This makes for cleaner code and will
ease implementing metrics support for runner writers.

Run Spark ValidatesRunner

Run Dataflow ValidatesRunner

Coverage decreased (-0.02%) to 70.072% when pulling aa41c2cbe28797686a34eb47c26502953c86b462 on aviemzur:metricdata-interface into dc672f42083c375872d87030523545866cea4f55 on apache:master.

Dataflow postcommit is broken for about 2 days now, so probably unrelated.

R: @bjchambers

Run Spark ValidatesRunner

retest this please

Run Spark ValidatesRunner

Coverage decreased (-0.01%) to 70.076% when pulling 50e4bb9011bf19dcfcd4e93c76d13c5799e8af1e on aviemzur:metricdata-interface into cd77033b5237c99c160afcf10e69b13837b8dbfa on apache:master.

Coverage decreased (-0.02%) to 70.072% when pulling 50e4bb9011bf19dcfcd4e93c76d13c5799e8af1e on aviemzur:metricdata-interface into cd77033b5237c99c160afcf10e69b13837b8dbfa on apache:master.

Can you elaborate in the commit description on why we want to extract this?

@bjchambers added to commit description (and PR description).

Coverage decreased (-0.01%) to 70.431% when pulling 46c9d7f714658ff03bc57696204e424e2b5f763f on aviemzur:metricdata-interface into 4daac664426da06268fa84a0a07793f818ce3913 on apache:master.

Closing this PR for now as https://github.com/apache/beam/pull/2649 does a better job at reducing LOC and duplication between runners.


Allow declaring script dependencies at page meta

Likely this should go through import maps and then generate script tags.
A related question is should components be able to declare their script dependencies as that would be another way to handle it.

It seems just having a scripts directory and then using a script tag against that is a good way to go here. The directory gets compiled automatically.


Created the sandy-eggo.md file

This Pull Request resolves #23

Where is Sandy Eggo?

California


FileUpload not load the name into the path

Bug Description
File Upload on multiple attempts does not load the name into the Path field. The problem has been since version 1.018 and is occurring in the current version also 1.1.0

Reproduction

Expected behavior
When choosing the file, its name and extension would be loaded into the Path field of the component
Who can help?
No response
Operating System
Windows 10 and Ubuntu 22.04
Langflow Version
1.0.18 and  1.1.0
Python Version
3.11
Screenshot

Flow File
No response

1 - Which browsers have you tried this on?
Chrome Version 131.0.6778.86 (Official Build) 64-bit and Microsoft Edge Version 131.0.2903.51 (Official Build) (64-bit)
2-Does it never load the file, no matter which file you choose? Or is it specific to cosmos.pdf?
I can choose any file. Does not load.
OS Windows 10

Instalando o Langflow1.1.1 via docker o problema foi resolvido.
Não consegui instalar via pip no Windows.

Problem solved by installing version 1.1.1 via docker


Properly handle RFC5280 DNS Name Constraints that start with a dot as in mozilla::pkix

Stock openssl breaks when enforcing DNS restrictions that start with a leading dot (e.g. 'DNS:.foo.bar' ). This does not work well with CAs that SHOULD NOT be able to sign certs for any domain such as "foo.bar" itself, but SHOULD be able to sign certs for subdomain-only DNS names, such as "host.foo.bar".
This commit allows strict DNS restrictions to be enforced properly by openssl.
These restrictions are already supported by mozilla::pkix https://hg.mozilla.org/mozilla-central/file/e9b2b72f4e6c/security/nss/lib/certdb/genname.c:1216

I am closing this because it's fully captured in ticket 3502.


Add missing dependency

For issue #80

Thanks, could you also add 'setuptools~=5.4' to install_requires in setup.py


Deprecate another pile of EOL distros

We need to regenerate all the Fauxhai data and I’d prefer to avoid installing these dozen plus versions. This will save me 1/2 a day.
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

Closing this out in favor of marking them deprecated with yet to be created functionality