Panel sections state is not persisted across selections

Describe the Bug
If a user expands or closes a specific section of the property panel, it does not persist in its state during the user session.
(Bug originally reported by @falko)
Steps to Reproduce

Open Modeler with new properties panel
Create a task and a gateway
Create an input on the task, create a condition on the sequence flow to the gateway
Switch selection between the symbols
Result: expanded sections like Input and Conditions are closed and must be opened each time a new selection is made

Expected Behavior
Persist the state of each section. If a section such as "Condition" has been opened once, it must stay open during the entire user session. It doesn't matter if other symbols without a Condition section have been selected in the meantime, if a symbol with a Condition section is selected again, the section must be opened.
This expected behavior is valid for all sections of the properties panel and all states (expanded, collapsed).
Consider, that list sections without content cannot be opened. So, if a user creates inputs on one symbol and switches to another symbol without existing inputs, the section on the latter is closed (because empty) but remains open on the former (and all other symbols with existing symbols).
Environment

Version: 4.10.0
Operating System: Mac OS 11.6.0
Plugins: BPMN Linter, Cloud Connect
Execution Platform: BPMN - Camunda Cloud

Thanks 👍 I am closing this issue in favor of https://github.com/bpmn-io/properties-panel/issues/98.


super_user only change status done under feature flag

Issue: https://github.com/Real-Dev-Squad/todo-action-items/issues/193
Design Doc https://docs.google.com/document/d/1C3oizE01vH6cQHRtoJbA7-QHDoDhHuPiMllqvh6v5cM/edit?usp=sharing
Description:

When super_user wants to change the status of a task card from "status-site," then they get only one option i.e. “DONE” under the feature flag.

Dev Tested:

[X] Yes

Test Stats:

Images/video of the change:
https://github.com/Real-Dev-Squad/website-status/assets/107163260/4d0ec009-7906-47e1-a8b2-82c2907be09b

Add test stats please

Done


Idea Submission: Alert Box

Alert Box
A Material-You themed inbox app which logs all notifications and filters out spam, allowing you to revisit your past notifications.
 Sometimes there will be social media recommendations which we dismiss due to lack of time but nevertheless want to watch later.
Other times you may end up clearing all your notifications when you didn't actually intend to. Once they are cleared, you don't have access to them again. On some devices, notification history is a built-in feature but that doesn't track for more than 24 hours.  Moreover, it doesn't have any search functionality or spam filter built in. This is the problem Alert Box is trying to solve.
How

A Material You app which blends in and feels like system UI
Exact time of notifications must be shown as well as any media attached to them
App must have a filter to detect spam and show it in a separate spam section
Searches must be done based on app name or notification content

Challenges faced

Slowdowns caused by rendering many notifications at once will be tricky to avoid
Searching through notifications can become very intensive with large volumes
Making the app feel like Android by adhering to the Material 3 guidelines will be challenging

Good to have features

A way to export and/or import notification history into a format (such as JSON)
Fuzzy search can be implemented and on top of that an extensible search system with filters to show only notifications from a specific app, during a specific time period,  having an image, etc. (basically Discord search features)

contributed by Abhinav Anil

LGTM


How to exclude folders from --input flag?

I've made numerous attempts to exclude a folder and keep getting an error stating that the folder doesn't exist. Has anyone been able to do this successfully?
Tried:
-i ./src/app/ !./src/app/playground
-i ./src/app/ !./**/**/playground
-i ./src/app/ ./src/app/!(playground)

@amnporter did you find any solutions here?

@alesmit, I have not found a solution for this. I also haven't successfully implemented the --patterns flag to omit .spec.ts and .page.ts files from extractions.

@amnporter I know it may sound nasty but I ended up using a node script and executing ngx-translate-extract through it multiple times with different parameters.

@alesmit, that does sound nasty. I'm just running through our entire project and fixed issues in directories that we originally didn't want to include. Either way, we're up and running!

Should be possible using:
ngx-translate-extract -i './src/**/!(*.spec).{ts,html}' -o strings.json
Extract from ts, html, excluding files with ".spec"

In case anyone else has this issue, the easiest way I found to omit an entire folder path was to create a separate script that would temporarily move the folder out of the src directory, run the ngx-translate-extract script, and then move back. Not too messy and should at least be fairly efficient.

the solution doesn't work in windows?


Filter in multi column

Hi !
I have a table and I would like to filter in multi column.I have try more solutions but it's not working.Can you help me ? Is this feture  possible ?
$grid->getColumn('column1','column2','column3')->setTitle(Label())->setOperators($operation)->setFilterable(true)->setFilterType('input')->setOperatorsVisible(false);

Hey guys!
I have a question about manipulate query. Can I use something like multiple andwhere and YEAR function from mysql. Here is my example
$source->manipulateQuery(
			    function ($query) use($years)
			    {
			    	$date_cur = new \DateTime();
					$hoy = $date_cur->format('Y\-m\-d\ ');

			        $query->resetDQLPart("where");
					$query->andWhere("_a.fechaFin >= (:hoy)")->setParameter("hoy", $hoy);
					$query->andWhere("YEAR(_a.fechaInicio) = (:years)")->setParameter("years", $years);
			    }
			);

Yes you can

hello Abhoryo, i think there is a problem with "setDataJunction(Column::DATA_DISJUNCTION)", i get always AND in my filters fields.


Black Screen after converting bin to eboot

Hi, thank you for your work. But after converting bin file when I start game, I'm getting a black screen on my psp, after intro screen. How can I get to know what went wrong or maybe it's known issue?

Hi @Ne1c Thank you!
Are you sure the game you're trying to run is compatible with PoPS? May be an emulator issue on the PSP rather than a conversion issue. To make sure of that, just try the resulting PBP on RetroArch :)
Let me know how it goes.


Use Redis for backend key/value store

This commit was built to create a mechanism to sync workloads to run at
the sametime. There was a want to do this with FIO, however FIO might
have a built in mechanism to do this. We feel there is still a good
reason to keep this functionality for workloads that do not have built
in sync.

/retest all

/rerun all

Great question! This is the user I noticed when building the container... I wonder if it could simply be ansible-operator?

/rerun all

/rerun minishift

/rerun minishift


Fix code which checks is font already registered

@AliSoftware we discussed these changes here https://github.com/SwiftGen/templates/commit/06bcd2a8528f3e00bb389692a30d9862fdb15ef9#diff-3fc62affc2b681781b6ef4a2fac1a6e7R37
Also I prepared test project for these changes: https://github.com/chipp/FontTests
I tried to reuse NSFontManager.shared().availableMembers(ofFontFamily:) solution for macOS, but with help of test project NSFontManager doesn't see freshly added fonts and this check is useless.

I remember trying the registration on macOS when I first wrote it. It seemed to work at the time 😅
Seeing as CI compilation passes, the only thing missing is a changelog entry. If you could please add it crediting yourself, and using the same format as the other entries. See here for more information:
https://github.com/SwiftGen/SwiftGen/blob/master/CONTRIBUTING.md#requirements--conventions

Thanks a lot for contributing to SwiftGen @chipp ! 👍
To thank you for your work and for taking time to improve the tool, I've invited you to join SwiftGen's GitHub organization's "CoreContributors" team 😃
No pressure to accept nor any obligation in that! It will just give you the ability to help triage issues or push directly branches to the repo (instead of your fork)… in case you want to contribute again in the future 😉
For more information, read the COMMUNITY.md and CONTRIBUTING.md documents, and if you have any questions don't hesitate to reach out!


conversion sample audio

where is the conversion  sample，can not find the directory trained_example

sorry, I misexplained in the readme,
please open the link of the trained_example as in the readme,
then
$ cd cyclevae-vc_trained/egs/one-to-one/
for a trained model using batch utterance size = 1, then,
$ cd exp/tr50_22.05k_cyclevae_gauss_VCC2SF1-VCC2TF1_hl1_hu1024_ld32_ks3_ds2_cyc2_lr1e-4_bs80_wd0.0_do0.5_epoch500_bsu1_bsue1/
the audios are located in 'wav_cv_...'

Thanks for your answer！
发自我的 iPhone

在 2019年8月23日，22:37，Patrick Lumban Tobing<EMAIL_ADDRESS>写道：
sorry, I misexplained in the readme,
please open the link of the trained_example as in the readme,
then
$ cd cyclevae-vc_trained/egs/one-to-one/
for a trained model using batch utterance size = 1, then,
$ cd exp/tr50_22.05k_cyclevae_gauss_VCC2SF1-VCC2TF1_hl1_hu1024_ld32_ks3_ds2_cyc2_lr1e-4_bs80_wd0.0_do0.5_epoch500_bsu1_bsue1/
the audios are located in 'wav_cv_...'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Make events.action More Functional

Today the following default events may return a value to be used by the app in some way: events.load, events.resolve, events.update, and events.render. The astute among you may have already noticed that events.action was missing from that list, which is because today its return value is completely thrown away and so it can only be used for the purpose of side effects.
So what might a return value from events.action be used for? Well, the name of the action has already picked which action function to call, so it doesn't really make sense to allow returning a different name. However, since data was what was passed to the original action function, it might make sense for events.action to allow returning a different set of data to act as a sort of middleware for action data. A bonus feature would be allowing the return of false to completely cancel an action (perhaps due to some value in state that makes the action invalid), but I'm not sure if false would ever legitimately be used as the data value for an action.

I'm not sure if false would ever legitimately be used as the data value for an action.

It is and it might be a totally normal data to pass to the action.

@okwolf This is a conversation I wanted to have for a long time! Thanks for bringing it up.

Technically events.resolve can already be used to cancel everything an action does except for calling other actions as side effects, so that's probably not needed.

If you're looking for a way to cancel actions by returning data, might I suggest following what Redux and many Redux ecosystem tools do, and simply using some string that you can't imagine being used for anything else. For example, returning "__HYPERAPP_CANCEL_ACTION__" or something similarly unmistakable.

@zaceno @lukejacksonn Do you guys have any opinion about this?
I thought about it a bit more and I can't think of anything useful to do in this event that you can't already do with resolve.

Technically events.resolve can already be used to cancel everything an action does except for calling other actions as side effects

I really think that when you start building complex apps, you'll want a dedicated way to cancel an action without worrying about the possible side effects that need to be canceled as well.

@IamCarbonMan you'll want a dedicated way to cancel an action...

I honestly can't think of why I would ever want to do that. 🤔
@okwolf BTW is this a real use case you had?

@JorgeBucaran

I honestly can't think of why I would ever want to do that

One use case I can think of is cancelling the router.go('/blah') action (typical route guarding, based on some state like user auth).  Currently, you can't even redirect while that action is still in progress without wierd things happening.  Since that action has a side effect on the browser history, it's not something easily "undone" in the resolve event hook.

Maybe a kind of thunk (again ; love that). I dont know which one between accept or reject is better.
app({
  events: {
    action(state, actions, { name, data }) {
      return (reject) => {
        if(name === "go" && data === "/failed") {
           reject()
        }
      }
    }
  }
})

@SkaterDad So would this work?
if (!emit("action", { name: name, data: data }))) {
 // our regular business
}

Wouldn't that cancel all actions?  Since actions return a state object, it'll always be true.
On the router example, we can probably fix it by adding another hook which evaluates before messing with browser history, so canceling the action is probably not needed in reality.  (emit("beforeRoute") in router snippet below).
Might be a good convention to promote for actions that have side effects?
      actions: {
        router: {
          set: function(state, actions, data) {
            return {
              router: data
            }
          },
          go: function(state, actions, path) {
            if (emit("beforeRoute") && location.pathname + location.search !== path) {
              history.pushState({}, "", path)
              actions.router.set({
                path: path
              })
            }
          }
        }
      },

@okwolf 🏓

@SkaterDad Might be a good convention to promote for actions that have side effects?

Good idea.

@JorgeBucaran if we're not going to use the results of events.action, and it really does only exist for side effects, couldn't we remove events.action and just use events.resolve? Any side effects that events.action does could instead be done in events.resolve if events.resolve received the original action object. This would be a breaking change to the API though 😞

@okwolf It would make using resolve more complicated though. Do you have an actual proposal? What code changes would you like to introduce exactly?

@SkaterDad, I wonder if that gated routing wouldn't be better in the router itself.  For instance it would be easy to add a function to evaluate prior to returning the matched route which could cancel the navigation.  It's something I have been considering adding to my router.

@JorgeBucaran I don't really have a simple proposal for using resolve unless we want to allow for multiple data parameters to emit. Probably not worth it.
I'm torn about this issue since events.action is needed for some devtool/test use cases, but not as useful in production. 🤔


Update AboutUs page with team details

@hlynn93 could you add your photo into docs/images folder?

Closes #20.


Entities Configuration

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
Hi, please add Configuration for Entites, i only need Battery Last Replaced and Button, i dont need other entities
Describe the solution you'd like

Describe alternatives you've considered

Additional context

Battery+ is an integral part of monitoring the battery replaced and I am unable to split this up without causing a huge amount of spaghetti code which I want to avoid.


Application run failed

Hi,
I'm trying to run OpenMBEE using the docker image (via Docker Hub), per Wiki instructions. When I run the container, I get connection refused errors when Spring is trying to connect to PostrgresSQL. I have no experience with Docker and am not quite sure where/how I should troubleshoot this problem. Any help would be greatly appreciated.
Here's what I get in the command line when I run the container:
2022-05-24 19:59:45.261  INFO 1 --- [           main] org.openmbee.mms.mmsri.MMSRIApplication  : Starting MMSRIApplication on 5fc275c40768 with PID 1 (/application/BOOT-INF/classes started by root in /application)
2022-05-24 19:59:45.278  INFO 1 --- [           main] org.openmbee.mms.mmsri.MMSRIApplication  : No active profile set, falling back to default profiles: default
2022-05-24 19:59:50.798  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2022-05-24 19:59:51.464  INFO 1 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 609ms. Found 15 JPA repository interfaces.
2022-05-24 19:59:56.720  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'persistenceJPAConfig' of type [org.openmbee.mms.rdb.config.PersistenceJPAConfig$$EnhancerBySpringCGLIB$$2ab5809f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-05-24 19:59:57.371  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@1ab14636' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-05-24 19:59:57.410  INFO 1 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-05-24 19:59:58.959  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2022-05-24 19:59:59.226  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2022-05-24 19:59:59.247  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.37]
2022-05-24 20:00:00.195  INFO 1 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2022-05-24 20:00:00.196  INFO 1 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 14545 ms
2022-05-24 20:00:03.647  INFO 1 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: defaultEntityManager]
2022-05-24 20:00:04.060  INFO 1 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 5.4.18.Final
2022-05-24 20:00:04.594  INFO 1 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
2022-05-24 20:00:05.985  WARN 1 --- [           main] o.h.e.j.e.i.JdbcEnvironmentInitiator     : HHH000342: Could not obtain connection to query metadata : Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2022-05-24 20:00:06.064  INFO 1 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL10Dialect
2022-05-24 20:00:10.148  WARN 1 --- [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: 0, SQLState: 08001
2022-05-24 20:00:10.149 ERROR 1 --- [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
2022-05-24 20:00:10.166  WARN 1 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultEntityManager' defined in class path resource [org/openmbee/mms/rdb/config/PersistenceJPAConfig.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: defaultEntityManager] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to open JDBC Connection for DDL execution
2022-05-24 20:00:10.192  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2022-05-24 20:00:10.317  INFO 1 --- [           main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-05-24 20:00:10.355 ERROR 1 --- [           main] o.s.boot.SpringApplication               : Application run failed

My host machine is an M1-based MacBook Pro.

Hi Jakub,
It's a Docker networking thing - if you're using Docker-compose to launch the services, you'll want to change the uses of localhost to the appropriate service name as the Docker networking will treat the service name as a hostname. If you create a service named 'postgres', then other containers (eg. mms) can reach the 5432 port via jdbc:postgres:5432. For the default network mode being 'bridge'. IHTH.
You'll definitely want to read the Docker docs on container networking, both for docker-compose & for containers launch via 'docker run'. Good information. 1 such url is https://docs.docker.com/network/#network-drivers - brief introduction.


Getting response but payment unsuccessful

Hi,
I am getting the response but not able to see the transaction on elavon credit card list. Can you please help me what's wrong am doing.
        $gateway = Omnipay::create('Elavon_Converge');
        $gateway->setMerchantId('******');
        $gateway->setUsername('webpage');
        $gateway->setPassword('******');

        // Test mode hits the demo endpoint.
        $gateway->setTestMode(true);

       $card = array('number' => '4111111111111111', 'expiryMonth' => '10', 'expiryYear' => '20', 'cvv' => '123');

            $params = array(
                'amount'                => 10.00,
                'card'                  => $card,
                'ssl_invoice_number'    => 1,
                'ssl_show_form'         => 'false',
                'ssl_result_format'     => 'ASCII'
            );

            $response = $gateway->purchase($params)->send();

            if ($response->isSuccessful()) {
                echo('success');
                echo('<pre>');print_r($response); exit;
            } else {
                echo('Error');
                echo('<pre>');print_r($response);
                exit;
                //throw new Exception($response->getMessage());
            }

Response -
[data:protected] => Array
(
[ssl_status] => TEST MODE
[ssl_card_number] => 41**********1111
[ssl_exp_date] => 1020
[ssl_amount] => 10.00
[ssl_salestax] =>
[ssl_invoice_number] => 1
[ssl_departure_date] =>
[ssl_completion_date] =>
[ssl_issue_points] =>
[ssl_promo_code] =>
[ssl_enrollment] =>
[ssl_result] => 0
[ssl_result_message] => APPROVED
[ssl_txn_id] => 00000000-0000-0000-0000-00000000000
[ssl_approval_code] => 123456
[ssl_cvv2_response] => P
[ssl_avs_response] => X
[ssl_account_balance] => 0.00
[ssl_txn_time] => 03/10/2016 06:22:58 AM
[ssl_loyalty_account_balance] =>
[ssl_loyalty_program] =>
[ssl_access_code] =>
[ssl_tender_amount] =>
[ssl_account_status] =>
[ssl_card_type] => CREDITCARD
[ssl_card_short_description] => VISA
)

@debeniter86,
Apologies for not seeing this sooner. If you're getting a valid response, you should be okay (and shouldn't be an issue with the driver).
Try contacting their support channel. If you email, feel free to copy me.


fix dm cluster reset on nixos

On NixOS, dm cluster reset doesn't clear out ~/.datamesh for some reason.

@alaric-datamesh doesn't care!


Allow more extension patterns in addition to ^x-, e.g. @

Both OData and JSON-LD use an at (@) character in property names to distinguish "metadata" properties from "data" properties.
OData models can be freely annotated with semantic metadata in addition to the pure structural metadata. When translating OData models into OpenAPI descriptions the semantic metadata needs to be represented in the /definitions block. Currently we nest these in an x-annotations wrapper object, here to express that the Budget property will always contain monetary amounts in US Dollars:
            "Budget": {
                "type": [
                    "number",
                    "string"
                ],
                "format": "float",
                "x-annotations": {
<EMAIL_ADDRESS>"USD",
<EMAIL_ADDRESS>2
                }
            },

It would be nicer to have these annotations without the wrapper:
            "Budget": {
                "type": [
                    "number",
                    "string"
                ],
                "format": "float",
<EMAIL_ADDRESS>"USD",
<EMAIL_ADDRESS>2
            },

Unrelated to the proposal, I would prefer to include the currency inside the payload instead of fixing it in the API definition.

@ralfhandl I don't understand why you can use x-@ as a prefix.
Supporting one more prefix is meant many existing tools need to just for it.
And there is no guarantee that will end there, people would ask for # as prefix or any other symbol.
It's better to adjust OData related tools to do this substitution, instead of stressing an entire OpenAPI ecosystem.

Using an x- wrapper as depicted above is a viable workaround, but OData annotations are an important part of a service's model/description, and in JSON data payloads OData annotations use just that @ syntax and are right next to the data they describe.
So from an OData perspective an x- prefix for each annotation would be inconsistent, and the x-annotations wrapper is bloat for the service description.
As JSON-LD shows the @ is not uncommon for marking annotations, and JSON Schema doesn't restrict the lexical space of extension keywords.
I understand the rationale of limiting the lexical space of extension keywords and thus make it easier to evolve a specification, but just x- is overly restrictive.
An alternative to having a potentially growing list of allowed extension keyword patterns OpenAPI could define a new keyword extensionPattern that would allow a service description to announce which pattern it uses.

allow a service description to announce which pattern it uses.

IMHO, it worse possible decision.
Since it mean you can't validate specs, you can misspell property name and there is no way to find such mistake. Many Swagger files are written by hand using tools like swagger-editor or simply in a text editor.
For my project, I scrape the web for OpenAPI specs on a mass scale and 80% of them have mistakes in them.
If specs will allow arbitrary properties it would mean I don't have any way to know if it simple spelling error or vendor extension.

@IvanGoncharov In practice you would still look for x-logo because at some point in time you made a private contract with someone that x-logo has a meaning that you understand. I on the other hand would look for e.g. @Core.Immutable to watch out for properties whose values can be set upon creation and not changed afterwards.
In addition I would give a hint to validation tools that my documents use @ extensions instead of / in addition to x- extensions.
I do not suggest to arbitrarily switch the prefix, or to treat extension keywords that differ only in the extension prefix as identical, on the contrary: only extension keywords that are literally identical MAY have the same meaning. Currently no one can guarantee that your use of x-logo and my use of x-logo have anything in common beyond those six characters.


dotnetcore project debug typescript outside wwwroot

asp.net core project only loads files inside wwwroot, but almoust all the ts files are outside wwwroot,
I find I can only debug ProjName.Web.js , and ProjName.Web.js.map becomes useless.
Does anyone have a solution?

Add
    "inlineSourceMap": true,
    "inlineSources": true

to your tsconfig.json

Thanks @volkanceylan  for the advice!
That's exactly what I want.


Readiness update timing results in envoy stuck with a TCP proxy

Based on user test report resulting in envoy not getting http logs or mixer, but still forwarding requests to app, I suspect what happens is:

pod starts
pilot generates a config - but doesn't see the endpoint yet, so it generates a 'management port' for the readiness
a bit later the endpoint shows up, and pilot generates the correct config - which is what we have in the adsz
envoy rejects the new listener on 9000 because it already has a listener, and it can't replace it
since the name is different.
envoy is stuck with a tcp listener on 9000 ( the original one set for readiness ). Requests go to the app and we see <IP_ADDRESS> as remote address ( since it actually goes trough envoy ), but it's the TCP proxy for readiness, which has no mixer or logs.

One way to verify is to try to 'kill -9' the envoy - if after restart it gets the correct config we can confirm this theory. Another option to confirm this is to temporarily disable the readiness/liveness check.
We'll work on a fix - from what I see in the code the scenario can happen, depending on apiserver event timing, and would result in this behavior.
For people not using mtls - we can disable the management port completely, since it doesn't provide anything,  it is already replaced when the endpoint shows up. For mtls we need to wait for the transparent mode or a better readiness solution.

Yeah, I pointed it out that listener names should not include the protocol.
The fix was merged by Shriram.
On Fri, May 25, 2018 at 1:05 PM Costin Manolache<EMAIL_ADDRESS>wrote:

Based on user test report resulting in envoy not getting http logs or
mixer, but still forwarding requests to app, I suspect what happens is:

pod starts
pilot generates a config - but doesn't see the endpoint yet, so it
generates a 'management port' for the readiness
a bit later the endpoint shows up, and pilot generates the correct
config - which is what we have in the adsz
envoy rejects the new listener on 9000 because it already has a
listener, and it can't replace it
since the name is different.
envoy is stuck with a tcp listener on 9000 ( the original one set
for readiness ). Requests go to the app and we see <IP_ADDRESS> as remote
address ( since it actually goes trough envoy ), but it's the TCP proxy for
readiness, which has no mixer or logs.

One way to verify is to try to 'kill -9' the envoy - if after restart it
gets the correct config we can confirm this theory. Another option to
confirm this is to temporarily disable the readiness/liveness check.
We'll work on a fix - from what I see in the code the scenario can happen,
depending on apiserver event timing, and would result in this behavior.
For people not using mtls - we can disable the management port completely,
since it doesn't provide anything, it is already replaced when the endpoint
shows up. For mtls we need to wait for the transparent mode or a better
readiness solution.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/5856, or mute the thread
https://github.com/notifications/unsubscribe-auth/AJGIxvqoFOamMYHeKi-ysYgVP5j4nlC4ks5t2GQjgaJpZM4UOgwf
.

When was it merged ?
Looking at the code, if there is a listener already we skip the 'management' port anyways. And since we no longer capture ports not listened in containerPort - the other uses for management proxy are also gone.
Only case where a tcp proxy for readiness is still needed is if the user has a containerPort declaring the
readiness port, and doesn't have any service pointing to the containerPort.

Seems to be working now - name of listener is IP_portnumber


Add comment regarding credentials and TLS config in example code

For #15

Just updated the PR with an improved commit (squashed).


Change the style of search bar in the navbar

Background color: grey[100], opacity 10%
no border when not being hovered/clicked.
when hovered: 1px white solid border
https://user-images.githubusercontent.com/54587893/173206700-5c7bd1d5-81bd-42a8-9a31-f1b2ced6693b.mov


fossid-webapp: Add a generateReport function to the service

Refer to individual commit for details.

@sschuberth The CI failure is unrelated. Can we please merge this ?

Merging despite the unrelated PipFunTest failure.


Error when generating with prompt magic

Describe the bug
Error appears in the cmd window whenever starting to run any generation while magic prompts is turned on
stable-diffusion-webui\venv\lib\site-packages\transformers\pipelines\base.py:1043: UserWarning: You seem to be using the pipelines sequentially on GPU. In order to maximize efficiency please use a dataset
warnings.warn(
To Reproduce
Steps to reproduce the behaviour, include the prompt you used if applicable:

bot up automatic1111
check prompt magic box,
enter in any or even leave black prompt window
click generate

Also mention which checkboxes have been set.
dynamic prompts enabled
prompt magic
Are you using a local install or a colab?
No
If a colab, which one?
N/A
Expected behaviour
It to run without giving an error
Additional context
It's with Gustavosa/MagicPrompt-Stable-Diffusion if that bit of info matters.

IT seems to actively be causing SD to run the entire generation process sequentially on the GPU.  Everything is taking about 2-3 times longer to generate after this error happens. and I've only seen it with prompt magic checked.   I've been messing with Automtatic1111 for about 6 weeks now and just installed this extension tonight and just started getting them tonight.  Have not changed anything else except this.

I'm facing the same problem except I'm use mac with M1 chips. After download all the files, error message shows in terminal
Error running process: /Users/silver/Playgrounds/AI/sdw_1.5/extensions/sd-dynamic-prompts/scripts/dynamic_prompting.py
Traceback (most recent call last):
  File "/Users/silver/Playgrounds/AI/sdw_1.5/modules/scripts.py", line 409, in process
    script.process(p, *script_args)
  File "/Users/silver/Playgrounds/AI/sdw_1.5/extensions/sd-dynamic-prompts/sd_dynamic_prompts/dynamic_prompting.py", line 417, in process
    all_prompts, all_negative_prompts = generate_prompts(
  File "/Users/silver/Playgrounds/AI/sdw_1.5/extensions/sd-dynamic-prompts/sd_dynamic_prompts/dynamic_prompting.py", line 73, in generate_prompts
    all_prompts = prompt_generator.generate(prompt, num_prompts) or [""]
  File "/Users/silver/Playgrounds/AI/sdw_1.5/venv-torch-nightly/lib/python3.10/site-packages/dynamicprompts/generators/magicprompt.py", line 144, in generate
    return [
  File "/Users/silver/Playgrounds/AI/sdw_1.5/venv-torch-nightly/lib/python3.10/site-packages/dynamicprompts/generators/magicprompt.py", line 145, in <listcomp>
    self._generate_magic_prompt(prompt)
  File "/Users/silver/Playgrounds/AI/sdw_1.5/venv-torch-nightly/lib/python3.10/site-packages/dynamicprompts/generators/magicprompt.py", line 152, in _generate_magic_prompt
    prompt = self._generator(
TypeError: 'NoneType' object is not callable

Hope we can get fixed soon. Amazing extension by the way!


Error while starting Unbound 1.13.2 on Ubuntu 20.04

Describe the bug
Following error occurred while trying to start complied version of unbound with pythonmodule.
Unbound version 1.13.2
OS: Ubuntu 20.4
Python: 3.8
root@####:/usr/local# /usr/local/unbound/sbin/unbound -vvv -c /usr/local/unbound/etc/unbound/unbound.conf -d
[1629781639] unbound[223253:0] notice: Start of unbound 1.13.2.
[1629781639] unbound[223253:0] debug: creating udp4 socket ... **
[1629781639] unbound[223253:0] debug: creating tcp4 socket ... **
[1629781639] unbound[223253:0] debug: switching log to syslog
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3/dist-packages/unboundmodule.py", line 803, in
class module_env(_object):
File "/usr/lib/python3/dist-packages/unboundmodule.py", line 873, in module_env
swig_setmethods["now"] = _unboundmodule.module_env_now_set
AttributeError: module '_unboundmodule' has no attribute 'module_env_now_set'
To reproduce
Steps to reproduce the behavior:

tar zxvf unbound-1.13.2.tar.gz
cd unbound-1.13.2
ln -s /usr/bin/python3 /usr/bin/python
./configure --prefix=/usr/local/unbound --with-pyunbound --with-libevent --with-pythonmodule
make
make install
./unbound -d

Expected behavior
unbound gets started without any error.
System:

Unbound version: 1.13.2
OS: Ubuntu 20.04
unbound -V output:

root@*****:/usr/local# /usr/local/unbound/sbin/unbound -V
Version 1.13.2
Configure line: --prefix=/usr/local/unbound --with-pyunbound --with-libevent --with-pythonmodule
Linked libs: libevent 2.1.11-stable (it uses epoll), OpenSSL 1.1.1f  31 Mar 2020
Linked modules: dns64 python respip validator iterator
BSD licensed, see LICENSE in source package for details.
Report bugs to<EMAIL_ADDRESS>or https://github.com/NLnetLabs/unbound/issues

Closing this as a duplicate of #769. More discussion and suggestions in that issue.


Use jest in the CI/CD pipeline

Fix https://github.com/Granola-Team/mina-indexer/issues/229 - Use Jest in the CI/CD Pipeline to trigger the regression suite

Test doesn't actually pass ATM, it appears.

I think you meant just, not jest. Changing PR name.

I think you meant just, not jest. Changing PR name.

Indeed


Fix GCAllocator.expand to properly utilize GC.extend

A few notes here:

I changed from @trusted to @system. I have no idea how this should possibly have been @trusted, and the new version is even less so.
This assumes that expand can use up more of the current block. If this isn't supposed to be the case, let's discuss. Since allocate is supposed to return the exact data requested, expand would be near useless if it can't expand into the current memory block.

I think this may fix the Win32 error, I re-enabled it just in case. I don't know what the original problem was, but expand certainly wasn't implemented correctly.

Update: yes, the win32 problem is fixed.

@DmitryOlshansky fixed

Auto-merge toggled on


Adding worker_id of worker which picks anomaly task

When a worker picks a task from the anomaly_tasks table, the row is updated with status RUNNING and the worker_id of the worker

LGTM

LGTM


Physics material fix and ignore collisions.

Summary

Fixes issues with physics hands not storing the generated physics material.
Makes ignores dynamically ignore collisions.

Contributor Tasks
These tasks are for the merge request creator to tick off when creating a merge request.

[x] Pair review with a member of the QA team.
[x] Add any release testing considerations to the MR for the next release.
[x] Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.
[x] If this MR closes a Jira issue, make sure the fix version on the JIRA issue is set to the correct one.

Reviewer Tasks
Add any instructions or tasks for the reviewer such as specific test considerations before this can be merged.
Use emojis in review threads to communicate intent and help contributors.

[ ] Code reviewed.
[ ] Non-code assets e.g. Unity assets/scenes reviewed.
[x] Checked and agree with release testing considerations added to MR for the next release.

Hey @rorygames can you use the Lightweight template for a PR into Preview please :)

Added an option to make the collision ignoring optional 👍

Tested the example scene, works well once I changed some of the bools
We should add a new cube on the table that ignores collision and helpers, the existing ones that ignore helpers should still allow collision

Will add to the example scene tomorrow 👍

Added two more cubes to the example scene.


Update README.md

Ready to send us a pull request? Please make sure your request is based on the develop branch of the repository as master only holds stable releases.
Here are some resources that we use to develop our coding choices and core philosophies:
Avoid code smell

Code Smell in Swift
Code Smell in Objective-C
Code Smell of the Preprocessor

Ok

What you don't like Swift 34? :) Thanks!


Show list of all the delivery points

Perhaps a button on the header to open a modal that shows a full list of delivery points

Commit 6341abbe10ef7dd6c3442a39e0837339d5f74691 adds a button in the navigation bar that opens a modal with the list of all the delivery points


PackageNotFoundError MacOS

I attempted to download -xeus-cling using both the commands

conda install -c quantstack xeus-cling

and

conda install xeus-cling -c QuantStack -c conda-forge

Both of these resulted in the following output:

Fetching package metadata .............
PackageNotFoundError: Packages missing in current channels:
xeus-cling
We have searched for the packages in the following channels:
https://conda.anaconda.org/quantstack/osx-64
https://conda.anaconda.org/quantstack/noarch
https://repo.continuum.io/pkgs/main/osx-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/osx-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/osx-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/osx-64
https://repo.continuum.io/pkgs/pro/noarch

What can I do to download xeus-cling successfully?

@idotamir516 You need to use my channel
conda install xeus-cling -c gouarin -c conda-forge
We will move all the packages to the QuantStack channel soon.

Thank you that solved the problem


Check user environment for custom shortcut

This will let users update their ~/.bash_profile or whatever and add an environment variable KAP_SHORTCUT to customize the keyboard shortcut kap uses.
Fixes #150

It should be an option in the Preferences window, not like this.

Until we ship custom shortcuts the idea was to add an option to disable them completely, additionally I've suggested creating a workaround to make use of this: https://support.apple.com/kb/PH25377

I only had 5 minutes to share a solution. I'm totally ok if this doesn't get merged in.
But it seems to me that if no one has time to add a UI solution

making this work https://support.apple.com/kb/PH25377 would require some UI menu stuff
adding an option to disable it is non ideal and a bigger fix, I can't imagine the person who has time to do this, but not just add the full keyboard shortcut UI.

... then letting users who really want this feature now get full customization via their local env is a solution that doesn't take anything away from anybody, and solves the problem for those that really want it right now.

@YoavGivati yes, if we merge this and release it now, we are stuck with this forever... Because if we remove it we will get 10000 issues about it not working. It's not fun.

Because if we remove it we will get 10000 issues about it not working

Why would you ever remove it?

@YoavGivati I would imagine because the intended solution integrates with the UI, not the CLI. If Kap ever gets a CLI interface then I'd be totally behind you but it's not the ideal solution, imho.

~/.bash_profile and friends are not run when applications are run on MacOS – they're only read by bash (and its respective files for its respective friends). Therefore, its very tricky to set such KAP_SHORTCUT to be a system-wide env var. As far as I remember, you'll need to edit a .plist somewhere.
With that in mind and the fact that we want to keep Kap's settings and interfaces, for now, strictly inside its own GUI, I'm closing the PR. Thank you for your time,  @YoavGivati 🙌


Concatenated augment/deviation paths

Hello,
Similar to issue [https://github.com/theia-ide/yang-lsp/issues/113] also paths for augment and deviation statements should be possible to split up arbitrarily in concatenated strings.
This case involves the SchemaNodeIdentifier.
Example:
augment "/if:interfaces/if:interface/ethxrouter6000:ethernet/l"
  + "2servicer6k:service-instance" {

Thanks,
Andreas

@andreasjakobik
Do you have cases where a concatenation part starts with a -? E.g.:
augment "/f:c12/f:c22" + "-foo" { }
This is currently not possible because expected ID rule may not start with a -. Is it a kind of limitation we should solve here as well?

Note:
Same for numbers: augment "/f:c12/f:c2"+"2" + "-foo" { }
I afraid we need to use the same magic as in #113 but cover more broken cases. After all the squashing the resulting char sequence must be of type RULE_ID

Each identifier follows the ID rules. An identifier may contain both "-" and numbers, and can be split arbitrarily. Does that answer your question?

@andreasjakobik
Following would work:
augment "/f:c12" + "/f:c22foo-bar" {
    container c33 {
    }
}
augment "/f:c12/" + "f:c22foo-bar" {
    container c34 {
    }
}
augment "/f:c12/f" + ":c22foo-bar" {
    container c35 {
    }
}
augment "/f:c12/f:c2"+ "2foo-bar" {
    container c36a {
    }
}
augment "/f:c12/f:"  + "c22foo-bar" {
    container c36 {
    }
}
augment "/f:c12/f:c22foo-" + "bar" {
    container c38 {
    }
}
augment "/f:c12/f:c22foo" + "-bar" {
    container c37 {
    }
}

Following will not work: augment "/f:c12/f:c2"+"2"+"foo-2bar" {  because the currently used lookeahead is to small. But I think "+"2"+" is not what we expect to see in generated files.
The current solution will also change serialization result. The example above will be serialized to:
augment "/f:c12/f:c22foo-bar" {
    container c32 {
    }
}
augment "/f:c12" + "/f:c22foo-bar" {
    container c33 {
    }
}
augment "/f:c12/" + "f:c22foo-bar" {
    container c34 {
    }
}
augment "/f:c12/f:c22foo-bar" {
    container c35 {
    }
}
augment "/f:c12/f:c22foo-bar" {
    container c36a {
    }
}
augment "/f:c12/f:c22foo-bar" {
    container c36 {
    }
}
augment "/f:c12/f:c22foo-bar" {
    container c38 {
    }
}
augment "/f:c12/f:c22foo-bar" {
    container c37 {
    }
}

I hope it's not an issue for you.

@dhuebner, It looks fine! Thanks, Andreas

@andreasjakobik
We have a couple of test models but not that much. Would be nice if could test the current state against your real world projects. Than I think we are good to go with a new release :)

Agree, not sure to what extent models can be shared open source though. I have tons of examples of these broken path statements, also function names can be broken ("current"+"()") or ("substring-" + "before(...)"). Those examples were found in must statements but you get the point.

@andreasjakobik
Thanks for providing test data, that was very helpful! It was more like a cold shower, but still very helpful.
From 170 errors in the test project you provided I'm now at 0 errors and 1 warning.
I also fixed linking for DescendantSchemaNodeIdentifier and in some other cases. It seems like linking issues inside an Xpath expression e.g. in must are not reported is that true?

@dhuebner
Fantastic! We so much look forward to integrate latest yang-lsp in our tools with these great improvements. Glad the test models helped.
You are probably right about linking issues, however there is still red markers when open file in Yangster.

Fixed and released


Enable machine parseable CacheDir debug logs

Describe the Feature
The cachedir debug logs are human readable, but when generating a lot fo cachedir debug logs, this is not conducive to parsing the logs via a script. Ideally if the logs could be also generated to json format that would allow easier implementation of scripts parsing the cache debug logs.
Required information

Link to SCons Users thread discussing your issue.
discussed with @bdbaddog in mongodb standup
Version of SCons
mongodb vendored scons ~= 3.1.2
Version of Python
3.9 (with opts)
Which python distribution if applicable (python.org, cygwin, anaconda, macports, brew,etc)
N/A
How you installed SCons
local source
What Platform are you on? (Linux/Windows and which version)
Windows 10 and Linux (ubuntu 16-20, RHEL 7-8)
How to reproduce your issue?  Please include a small self contained reproducer. Likely a SConstruct should do for most issues.
N/A
How you invoke scons (The command line you're using "scons --flags some_arguments")
N/A

what if the homebrew debug stuff was converted to use the logging module? that makes it fairly easy to plug in a variety of structured output formats, json certainly being one of them.


Pre route hook

Is there a pre route method to hook into? I would like to check if some form content on a page "is dirty/not saved" and alert the user if they click the browser back/forward button.

There currently aren't any pre/post hooks provided. You can certainly store user input in localStorage (or some other form of local browser storage), and use it as a cache, that way your application can restore the form input on back button, forward button, page reload, etc.


Lightning web interface: Can't start server

When starting the server, first it says macaroons enabled, then some hashes, then the following:
info:    App listening on <IP_ADDRESS> port 8280
(node:1350) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead
warn:    tail data timeout, killing process 1363
Nothing after that.

I had to remove the web interface from this guide, it's no longer maintained and I cannot really support in solving issues regarding this project.
Feel fee to test the "Ride the Lightning" interface that is actively being built and tested on the RaspiBolt (although not by me): https://github.com/ShahanaFarooqui/RTL/blob/master/README.md


[Table]: Error state for table

@scottdickerson can you provide a quick summary of the use-case here.

What is an Error state
Example(s) of table error states
The severity levels

sure, the usecase is we are loading the table with data and the data load fails.  This is our current approach (we just show the error message in the table), perhaps we just need to get your review and approval. Let us know if we need to change anything:

This design should define the default behavior for generic errors on the table.
The preferred behavior is that the client provides the reason of error and any resolutions to the cause and the severity of the error. The table may provide the dialog to show this text.
The other default is for the platform to provide a generic error text that 'something failed' is there is an internal or error that the client did not provide a cause of.
The alternate approach would be for the client to take control and provide a custom response with resolution actions like, retry, do this, do that.

@amymillett is that a story with existing dialogs that we can summarize here to outline the behavior.

Most imploringly I think is the visual decision if that is a dialog on top, or a a error section in-line with the table. Is there an error scheme for the Carbon table that we can adopt?

@scottdickerson @matsgothe For situations where the table data does not load at all, I would use the same design as the empty table state:

If there's some sort of action they can take, like "contact IBM" or something like that we can include a button, otherwise it can just be a generic error message.

I'll try to address more specific errors in https://github.com/IBM/carbon-addons-iot-react/issues/129 and https://github.com/IBM/carbon-addons-iot-react/issues/128

@amymillett I think the Table

@scottdickerson @lukefirth We could definitely do something other than the bee, not sure if I like the giant X though. Especially since an X like that usually means "close" or "dismiss"
These are some dialogs Cynthia and I recommended for the Platform awhile back, so we could use similar iconography:

Which would look more like this:

And in regards to your note above Luke, I see what you mean about this needing to be coupled with a general notification... I am also thinking that can be accomplished with toast notifications from Carbon.

@amymillett I really like those examples for this. I like both, but especially this one:
 Because it looks like a warning/alert (although that is a touch weird I guess with the fact that error and warning are different in the modal examples and it would be nice to be consistent).

However I would personally leave this:

For a rarer occasion, we may want to put into the table for 'you don't have access' to these resources etc. The only reason I feel we might be best not to use this second one is that to me at least, the icon denotes 'barred access' 'go no further' kind of thing.

As for the toasts - personally I think the call or whatever that created the error may not be bound to the table component itself (eg: it could be an error that causes a lot of things to happen, and the table being empty is one). So while we should address in guidance that the teams use toasts for errors in general, perhaps rather than building anything into the table to deliver it.

completed.

This is a core table feature.

@matsgothe , did you mean to reopen an issue that is marked as 'completed'?
If so, have you/can you confirm that the completed work does not meet the set requirement outlined in the issue?
@davidicus would it be possible to link an example/place/PR that is tied to the completion here so @matsgothe can verify 👍


fix(instrumentation-http): do not overwrite span error status if already set

Which problem is this PR solving?
If a span has already set its status as Error (2), it shouldn't be overwritten as this may result in its status changing to Ok even with exceptions recorded in the events attribute.
Short description of the changes

Small refactor to make setSpanWithError() accept a new optional parameter (statusCode) to set the desired status if the default error one is not wanted.
Check if the given span has already set the error status before trying to overwrite the status.

Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
Unit tests
Checklist:

[x] Followed the style guidelines of this project
[x] Unit tests have been added
[x] Documentation has been updated

There are two different Span types that fail the build. A bit of help/guidance here would be much appreciated.

Force pushing and changing history makes it really hard to see what is changed on each iteration. Please try to use regular merges

I'll work on this shortly. I am closing the PR to keep the repo clean.


Feat: add base structure for K8s pipeline

Hi @monperrus @gluckzhang :), final part of the base structure for K8s pipeline. Awaiting for comments.

Resolved :) . Awaiting for new comments.

@monperrus  resolved :) .


[Fix #3485] Make OneLineConditional cop not register offense for empty else

This will let other cops like EmptyElse (for if) and UnlessElse (for unless) take priority over OneLineConditional.
Also refactored specs for the cop.
Closes #3485

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.

Apart from my small remarks you'll also have to rebase this.

@bbatsov fixed and rebased.


ios Error: Invariant Violation: Native component for "BVLinearGradient" does not exist

on Android it work but on iOs i have the following error
Error: Invariant Violation: Native component for "BVLinearGradient" does not exist
i installed the last version and use react-native link , clean code from Xcode and rebuild it but the error didn't go

i tryed manually install
under Libraries i dont have a folder with my project name

So on the left, click on the top - your project - and then select 'Build Phases' tab.
Add libBVLinearGradient.a to Build Phases -> 'Link Binary With Libraries' list.
You can either select it with plus or drag it in from the left (expand Libraries, expand BVLinearGradient.xcodeproj, then drag libBVLinearGradient.a to the previously mentioned 'Link Binary With Libraries' list)
Rebuild the project.

link issue


Train with VOC dataset

How can I train with the PASCAL VOC dataset? the images have differents sizes.
I got this error
OutOfRangeError (see above for traceback): RandomShuffleQueue '_2_shuffle_batch/random_shuffle_queue' is closed and has insufficient elements (requested 3, current size 0)
[[Node: shuffle_batch = QueueDequeueManyV2[component_types=[DT_FLOAT, DT_UINT8], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](shuffle_batch/random_shuffle_queue, shuffle_batch/n)]]

Hi,
I didn't actually trained this model with voc. The current input layer is simple and designed for camvid. I think you can use dataloader provided by fast-rcnn model to replace the current one.

Hi, Do you find the method to solve it? I meet the same error when I train with my data.


train the model

Hello 😊,
You didn't explain well how to train a model?
Can we continue training the model model_ckpt_steps_100000_simplified.ckpt?
What data is needed to train the model?
give an example please
Thank you -_-

@yqzhishen


[FEA] Add support for MonthsBetween

Is your feature request related to a problem? Please describe.
cannot run on GPU because GPU does not currently support the operator class org.apache.spark.sql.catalyst.expressions.MonthsBetween

Describe the solution you'd like
Add a GpuMonthsBetween Implementation for this expression
Describe alternatives you've considered
None
Additional context
Seen in customer queries

Wow this is not simple.

months_between(timestamp1, timestamp2[, roundOff]) - If timestamp1 is later than timestamp2, then the result is positive. If timestamp1 and timestamp2 are on the same day of month, or both are the last day of month, time of day will be ignored. Otherwise, the difference is calculated based on 31 days per month, and rounded to 8 digits unless roundOff=false.

@kuhushukla do you know what time zones we need to support (at least beyond UTC)?
The spark code is equally confusing. They convert the timestamps to a LocalDateTime for the desired time zone, and pull out the date from it.  Then they convert that to the number of days since the epoch (covert it to a date in the local time zone).  After that they convert it back to a LocalDate and calculate the year, month, day, and number of days to the end of the month.
If the days of the month are the same (like both are the 15th) or both of them are the last day of the month, then the number of months between them is calculated exactly as a double value (year1 * 12 + month1) - (year2 * 12 - month2).
otherwise they calculate the number of seconds different between the two timestamps (in a really complicated way where each day has 24 hours worth of seconds and each month has 31 days) It is then rounded to 8 digits.
This is far from simple to do.


Suggestion-Direct Hit Rockets

I LOVE this mod. Great work! Maybe for an alternate primary, you could have rockets inspired by the direct hit in tf2, so they have smaller blast radius, but deal more damage and fly faster.
The air strike would also be very interesting too!
Decreased damage. Increased attack speed and smaller blast radius while blast jumping.
For each:

Teleporter boss killed, gain 1 rocket clip
OR 10 Enemies killed gain 1 rocket clip for the stage
OR 2 Enemies killed (doubles after each clip gained) gain 1 rocket clip for the stage

Thanks for the feedback!
The alt primary was originally going to be the Direct Hit, but it ended up getting reworked into what it is right now since it ended up being not very useful/fun to play with.
As for the Air Strike, I like the idea of a weapon designed around bombardment while blast jumping, but I'm not a fan of the clip size scaling off of kills. It works in TF2 because getting killed is a common occurrence, while in RoR the expectation is that you're not going to get killed, so rewarding killstreaks doesn't quite work the same.
I'm currently not planning on developing any new skills for Rocket, but I believe it's possible for other modders to create standalone plugins to add custom skills to modded chracters.


🐞 - Web Components - TuiRootComponent applies a style that affects the host application

Playground Link
No response
Description
To use Taiga UI in a web component (Angular Elements) that will be used on Angular and non-Angular applications, we need to put the TuiRootComponent at the top level of the web component as it's necessary for the other Taiga UI components.
The issue is that TuiRootComponent applies CSS styles to the body element (root.style.less#L21) which breaks the style of the host application.
My suggestion is to add the data-tui-theme attribute to the body {} selector: body[data-tui-theme] {}.
Angular version
17.0.9
Taiga UI version
3.62.0
Which browsers have you used?

[X] Chrome
[X] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[X] macOS
[ ] Windows
[ ] Linux
[ ] iOS
[ ] Android

what about html

We should probably move data-tui-theme on HTML. But that might cause some issues for our proprietary projects so this change should be done in 4.0

We should probably move data-tui-theme on HTML. But that might cause some issues for our proprietary projects so this change should be done in 4.0

Great! Can someone from the core team do that?


feat: metrics

Draft while adding coverage. Also need to publish a new version of metrics client and test the new multi label function

@purplecabbage Updated with a simpler implementation
Still need changes from https://github.com/adobe/aio-pkg-utils/pull/20 published and pulled in here to fully test


Status command: exit status code is 1 for both down migrations and uncaught exceptions

Currently, if running the status command causes an exception to be thrown which bubbles all the way to the top without being caught (like an InvalidArgumentException caused by a missing phinx.yml file on the FileLocator.locate() call), the script's exit code is 1.
The problem is that this is the same code as when there are down migrations (as per my merged changes from this PR), meaning there is no way of determining whether there really are down migrations or the command failed entirely.
I did some digging and I see that Phinx is not catching exceptions at all, meaning its down to the Symfony\Component\Console\Application.run() method to decide the exit code, and it exits with 1 if there was an uncaught exception with code 0 (the default exit code for a InvalidArgumentException).
The way I see it, we can either:

Change the phinx error status code for down migrations from 1 to something else (maybe 3 since 2 is the code for missing migrations?).

Pros: simplest option.
Cons: not sure if it can be done in the next minor change release (in other words, is it considered a minor change?).

Surround the whole Phinx\Console\Command\Status.execute() method with a try/catch block and exit with a different code if an uncaught exception is (now) caught.

Pros: definitely a minor change/bugfix.
Cons: more complex, might not cover every case (what if there is an exception before or after the execute method?).

I'm happy submitting a PR to fix this, just need some instructions on which option to go for (or any other option I didn't consider).

Change the phinx error status code for down migrations from 1 to something else (maybe 3 since 2 is the code for missing migrations?).

@rquadling would you be willing to include this change in the 0.7 release if a PR was made?

Are you able to provide a patch with your suggested changes as PR?

it's been a while, but I should be able to come up with something.

turns our it was this easy: https://github.com/cakephp/phinx/pull/1325 :-)

Note that this change has not made it to the docs yet.  They still report the exit codes as 1 and 2.

@courtney-miles would you like to change the docs for this?


Extract non-Akka code into a library?

Chill being unmaintained and stuck with Kryo 4, I am looking into alternatives and ran into this library.
However I am not using Akka and am only interested in the "Scala" wrapper around Kryo.
What do you think about extracting the common part which is not depending on Akka into a separate library?
Another benefit of this would be to reduce the duplication between the Akka and the Pekko repositories as they could both depend on the common library.

Sure, I could use a snapshot or RC version and run it on our test suite at work.
I'm also maintaining Shardcake that depends on Chill and would be happy to switch over this library if possible.

I'm currently working on extracting the Scala serialization part into separately usable library.
The Akka serializer has two modes of operation. Either serialization puts the class the serialized data for later deserialization without a given class, or serialization omits the class and later deserialization requires the class to be given.
This is due to Akka already having that information already on the message.
This makes the API somewhat hard to understand (option input that is tied to a config flag) but hidden in Akka.
@ghostdogpr How would you expect the API? Would you prefer a simpler API that always puts the class into the serialized data?

@nvollmar we need something like this (Task is from ZIO, you can ignore it):
def encode(message: Any): Task[Array[Byte]]
def decode[A](bytes: Array[Byte]): Task[A]

With Chill it was doable doing
def encode(message: Any): Task[Array[Byte]] = ZIO.attempt(kryoPool.toBytesWithClass(message))
def decode[A](bytes: Array[Byte]): Task[A]  = ZIO.attempt(kryoPool.fromBytes(bytes).asInstanceOf[A])

Thank for the feedback. I meanwhile started drafting the api as:
  def serialize(obj: AnyRef): Try[Array[Byte]]
  def deserialize[T: ClassTag](bytes: Array[Byte]): Try[T]

It leans a bit towards how the Akka API is defined. Would that be suitable for you?

Is the ClassTag necessary? We didn't have it in our API.
Looking into your code, I see you use readObject which requires a class, a version with writeClassAndObject/readClassAndObject would be more what I need (but I can imagine both of them to be useful).

The Akka serialization uses both readObject and readClassAndObject depending on the config.
For the Scala serialization I removed that and always use readClassAndObject.
I added the classTag because the underlying API that will serve both cases expects a manifest. I should be able to eliminate that and reduce the API to:
def serialize(obj: AnyRef): Try[Array[Byte]]
  def deserialize[T](bytes: Array[Byte]): Try[T]

Looks good!

@ghostdogpr A non-Akka library is in works https://github.com/altoo-ag/scala-kryo-serialization, we will prepare a first release soon and use it as base for pekko-kryo-serialization later

I just tried the first RC and it works great in the general case! 🎉
I just have a couple remarks/questions:

It would be more convenient to accept Any instead of AnyRef. The underlying API takes a Java Object which you can pass Any (AnyVal are automatically converted).
Is there a way to customize the underlying Kryo instance? We are customizing the ReferenceResolver by calling setReferenceResolver. Maybe extending DefaultKryoInitializer? A way to pass that initializer by code rather than by config would be nice.

I've chosen AnyRef as it is the Java Object in Scala. But we can have a look at that.
DefaultKryoInitializer being configured by config comes due to Akka/Pekko creating the serializer by config. For this project we could also remove the config option and pass it in the constructor instead.

I've chosen AnyRef as it is the Java Object in Scala. But we can have a look at that.

I checked Chill's code and basically it accepts Any and passes it to the Java function without casting. If it's AnyVal I think Scala transforms it on its own.

DefaultKryoInitializer being configured by config comes due to Akka/Pekko creating the serializer by config. For this project we could also remove the config option and pass it in the constructor instead.

It would be nice for people not using Akka/Pekko but is definitely not a blocker.

DefaultKryoInitializer being configured by config comes due to Akka/Pekko creating the serializer by config. For this project we could also remove the config option and pass it in the constructor instead.

It would be nice for people not using Akka/Pekko but is definitely not a blocker.
@ghostdogpr
Why do you overwrite the ReferenceResolver and is this a common usecase?

This is the current behavior:

We do want to provide a convenient default that should work out of the box -> kryo-reference-map = true -> MapReferenceResolver`. I think the default is fine.
And for special tuned cases where one is aware of the consequence kryo-reference-map = false -> ListReferenceResolver
If one needs further customization it should be doable when providing a subclass of DefaultKryoInitializer -> works :) But this is more work and should not be necessary for common cases...

If you only overwrite maximumCapacity of MapReferenceResolver then we are better off providing this value in the config.

@ghostdogpr Why do you overwrite the ReferenceResolver and is this a common usecase?

We found out that performance was bad for large objects, so we tried to disable it but ran into stack overflow for some recursive types (Exception for example, but also nested case classes in Scala that have a reference to their parent). So we ended up making our own that overrides useReferences to exclude a bunch of "known" types. That way we get the speed and no surprises.
I was able to do it with your library like this:
class CustomKryoInitializer extends DefaultKryoInitializer {
  override def preInit(kryo: ScalaKryo): Unit = {
    kryo.setReferenceResolver(myCustomResolver)
    super.preInit(kryo)
  }

And then referencing this in the config with the kryo-initializer key.

Thanks for testing and the feedback. I've made PR to switch the Scala API to any.
I'll close this issue, if you have something else please open a new issue in the scala-kryo-serialization project :)

Thanks a lot! 🙏

@ghostdogpr
with https://github.com/altoo-ag/scala-kryo-serialization/pull/3 you can use
class CustomKryoInitializer extends DefaultKryoInitializer {
  override def def createReferenceResolver(settings: KryoSerializationSettings): ReferenceResolver = myCustomResolver
}


Centered layout and merge editor

Just came across this code that conditionally leaves zen mode when side by side or diff editors are opened:
https://github.com/microsoft/vscode/blob/e69176aafd282090e18f558c2b2ac9b3d5b606f5/src/vs/workbench/browser/layout.ts#L1314-L1319
We probably want something similar when a merge editor is opened.

enable centered editor layout
open a merge editor
verify centered editor layout exits

Verified


Test: esbuild in the yo code samples

Refs: https://github.com/microsoft/vscode-generator-code/pull/461

[x] anyOS @paulacamargo25
[x] anyOS @alexr00

Complexity: 4
Create Issue

the yo code generators for the TypeScript and the Web extension samples now have a options to select to bundle the extension with esbuild

update to the latest generators with npm i -g yo generator-code
cd to a folder where you want to create a new project and start the generator with yo code
pick New Extension (TypeScript), pick a name and when asked what bundler to use, choose esbuild
when completed, open have vscode opened on the generated folder
verify that there's a esbuild.js file created.
press F5 to build and launch the extension. To verify the extension works, run the Hello World command
verify that you can debug (set a breakpoint in extension.ts) and that source mapping works
in the dev window, look at the terminals view. It should show 2 build watch tasks. One for esbuild and one for tsc (esbuild only reports syntax errors, so tsc is started in --noemit mode, just to report type errors
add and remove a compile error in the extension code (extension.ts) and verify that errors are shown in the editor and the problems view. Check that the errors go away when fixed. Test syntax and semantic errors.
run tests with npm run test. Also add more tests and more test files
test npm run package. The dist/extensions.js file should be minified and without source maps.
test the npm scripts npm run compile, watch, package

Do the same for New Extension (TypeScript),
What's special

additionally to F5 which runs the web extension in VS Code Desktop, you can also run it in a browser with npm run run-in-browser

Do the same for New Extension (TypeScript),

I think that's the same as in step 3. I'm guessing this should be New Extension (JavaScript).

I think that's the same as in step 3. I'm guessing this should be New Extension (JavaScript).

I don't see a step in the yo generator to choose a bundler.

Sorry, should have said: Do the same for 'New Web Extension (TypeScript)'


Interface resolvers?

We have a base interface adding updatedAt and createdAt and it's almost everywhere, according to apollographql/apollo-server#388 server codes can never be DRY.
Is there plans to support interface resolvers?

This works for me:
const schema = makeExecutableSchema({
  typeDefs,
  resolvers,
  inheritResolversFromInterfaces: true
});

Comment https://github.com/apollographql/graphql-tools/issues/926#issuecomment-461192038 solves this.


Current thread_id changing after suspending in direct execution

Background
@hkaiser I came across this issue while investigating the current hangs in cancelable_action test.
In that test, the current thread_id is firstly obtained using hpx::this_thread::get_id() (through a reset_id helper object).
Then, we have a workloop that occasionally suspends, waiting to be interrupted (hpx::thread::interrupt(id_)).
https://github.com/STEllAR-GROUP/hpx/blob/bc993dd15b9252908e0b30b9ed5efd830cf99909/examples/cancelable_action/cancelable_action/server/cancelable_action.hpp#L81-L94
Issue
I found that calling hpx::this_thread::get_id() before and after hpx::this_thread::suspend() would often return a different id.
I believe this is due to the way yielding is handled when utilizing direct execution:
https://github.com/STEllAR-GROUP/hpx/blob/bc993dd15b9252908e0b30b9ed5efd830cf99909/libs/core/coroutines/include/hpx/coroutines/detail/coroutine_stackful_self_direct.hpp#L34-L39
coroutine_stackful_self_direct falls back to next_self_ (its calling context) for yielding, which will fail to correctly restore the state after yielding:
https://github.com/STEllAR-GROUP/hpx/blob/bc993dd15b9252908e0b30b9ed5efd830cf99909/libs/core/coroutines/include/hpx/coroutines/detail/coroutine_stackful_self.hpp#L32-L42
If I understand correctly, reset_self_on_exit will cause the static variable local_self_ to refer to the "simple" (coroutine_stackful_self) coroutine after yielding (and not to the direct coroutine where it used to before the yield, see the use of reset_self_on_exit on coroutine_impl::invoke_directly()).
The solution is probably simple, but I just barely got to understanding how these coroutines work, so I just hope I got things right fttb.

@Pansysk75 Yep, that's caused by the direct execution patch. cancelable_action should call get_outer_id instead. Excellent catch!

@Pansysk75 Yep, that's caused by the direct execution patch. cancelable_action should call get_outer_id instead (here:
https://github.com/STEllAR-GROUP/hpx/blob/bc993dd15b9252908e0b30b9ed5efd830cf99909/examples/cancelable_action/cancelable_action/server/cancelable_action.hpp#L61
). Excellent catch!

I just realized that we don't have that - what an oversight! It should be added here: https://github.com/STEllAR-GROUP/hpx/blob/bc993dd15b9252908e0b30b9ed5efd830cf99909/libs/core/threading/include/hpx/threading/thread.hpp#L284 and here: https://github.com/STEllAR-GROUP/hpx/blob/bc993dd15b9252908e0b30b9ed5efd830cf99909/libs/core/threading/src/thread.cpp#L386-L389
The new code should be:
        thread::id get_outer_id() noexcept
        {
            return thread::id(threads::get_ouetr_self_id());
        }

That should work, but as a user I would really wonder what "outer" refers to and why I should use that (if I didn't know the implementation details.
I was thinking of perhaps modifying the yield operation so that the state before and after the yield would be the same, if that is at all possible.

Alternatively we could make the current implementation of get_id call the get_outer_self_id instead. Not sure what this would break, though...


Press Exit option closes all the instance

Issue Type: Bug
Suppose i open 2 or more instance of Visual Studion Code, Click on  File -- > Exit closes all the instances .Expectation only current instance should get close.
VS Code version: Code 1.42.1 (c47d83b293181d9be64f27ff093689e8e7aed054, 2020-02-11T14:45:59.656Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz (8 x 2904)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.86GB (4.95GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

cucumberautocomplete
ale
2.14.1

githistory
don
0.6.0

vscode-docker
ms-
0.10.0

csharp
ms-
1.21.12

I think that's as designed. If you want to close only the current window from the File menu, use "Close Window".
I can see how this may be unexpected though. Perhaps the "Exit" text could be made smart enough to read "Exit All Windows (3)" if there are, say, 3 windows currently open.

It's not duplicate..
On Tue, Mar 3, 2020, 5:51 PM vscodebot[bot]<EMAIL_ADDRESS>wrote:

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already
covered by an existing one, like:

Some Editor changes should be specific to an Instance (#50892)
https://www.github.com/microsoft/vscode/issues/50892
Unable to open more than 1 instance of VS Code running in Admin mode
(Windows) (#44164)
https://www.github.com/microsoft/vscode/issues/44164
Can't open more than one instance of vscode (#6112)
https://www.github.com/microsoft/vscode/issues/6112

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/91949?email_source=notifications&email_token=ADNF5OFROEF3Z7DGY7G4GBLRFTY45A5CNFSM4LAJKKAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENTI2DQ#issuecomment-593923342,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADNF5OHIVLYARJ5KQRMTWFTRFTY45ANCNFSM4LAJKKAA
.


Brozzler in Docker with Rethinker

2017-06-13 06:02:03,368 5 ERROR MainThread rethinkstuff.Rethinker._random_server_connection(init.py:97) will keep trying to get a connection after failure connecting to localhost: Could not connect to localhost:28015. Error: [Errno 99] Cannot assign requested address
RethinkerDB has been started by default configuration. Any suggestions ?

Can you explain in more detail your setup? What's in docker exactly, etc?

Closing due to idleness. Feel free to reopen or file a new issue with more info.


Fix 1:1 DMs are not immediately shown when splitting expense

Details

When splitting expenses, we optimistically create DMs and report previews for each participant, but the report preview message is empty. This PR fixes it.
Fixed Issues

$ https://github.com/Expensify/App/issues/44216
PROPOSAL: https://github.com/Expensify/App/issues/44216#issuecomment-2185020255
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Split expense with users you never chat before
Verify the user DMs are created and shown immediately in LHN

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/50919443/32fd0f89-60c7-4fcc-b0a9-a52f144608ab

Android: mWeb Chrome

https://github.com/Expensify/App/assets/50919443/ef51725d-7d37-49c5-ba0f-07430c019ee3

iOS: Native

https://github.com/Expensify/App/assets/50919443/6e73f8ed-2d5b-413b-828a-7e09688aa214

iOS: mWeb Safari

https://github.com/Expensify/App/assets/50919443/b16dd2fa-d860-4844-96f8-1c497bab24a9

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/50919443/3283b2c3-924e-4042-b34e-a845e5628207

MacOS: Desktop

https://github.com/Expensify/App/assets/50919443/eaa044ef-3de9-44c2-9a73-1b299394f48f

Probably because you are in #focus mode (based on your video)

Done

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/marcochavezf in version: 9.0.2-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Chapter 1 Application is Giving Hydration failed

Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used
How to fix this ?

@AliYar-Khan
To resolve this issue i have down-graded next to v14 and react to v18. After that the sample application works fine without any errors.

@s2bhilai share the exact version number that are working for you !!!


Delete manifests/j/JanDeDobbeleer/OhMyPosh/7.58.0 directory

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@wingetbot run

@wingetbot run


(Session 9, 1) Add feature: Sending Cheeps

As a logged-in user, I want to add "cheeps" so that I can express an opinion on the Chirp website.
Acceptance criteria:

The user shouldn't be able to send cheeps if they are not registered or logged in.
The cheep should appear on both the public and the user's personal timeline.
A message should displays if the cheep is longer than 160 characters.
Add UI tests for the cheep box and length constraints.

This feature has been implemented yesterday by the 4 assigness. Good work guys. I hereby declare this issue closed.


Error: number or rows selected on custom single selected row

Hi,
First of all, great job on implemented this library. Since the table does not support single row select. I have to implemented some custom code to enforce the single select for the table. Below are the code that I implemented.
customToolbarSelect: (selectedRows) => {
            const newSelectedRow = selectedRows.data.length > 1 ? selectedRows.data[1] : selectedRows.data[0];
            const newSelectedIndex = parseInt(newSelectedRow.index);
            const temp = {
              data: newSelectedRow,
              lookup: {}
            };
            temp.lookup[`${newSelectedIndex}`] = true;
            if (selectedRows.data.length > 1) {
              selectedRows.data = [];
              selectedRows.lookup = temp.lookup;
              selectedRows.data.push(temp.data);
            }
          }
},
  ....

Expected Behavior
I expected that the number or `rows selected` on Toolbar would be either 0, or 1.

Current Behavior
If I selected one row and then select another, the number of rows selected is 2, instead of 1. And unless I deselect the selected row to clear out the number. The number of rows selected stays at 2.
Steps to Reproduce (for bugs)

Your Environment

Tech
Version

Material-UI
3.5.1

MUI-datatables
2.0.0-beta-41

React
16.6.0

browser
Chrome

If you want to implement this in the library I would accept a PR for the following:
In the component's options, one should be able to set

Name
Type
Default
Description

selectableRows
string
'multiple'
Configure row selection. Options: 'single', 'multiple' or 'false'

When "single" is selected:

It will not render checkboxes
Rows are selectable but only single selection
Selected row is highlighted

When "multiple" is selected:

It will render checkboxes
Rows are selectable
Selected row is highlighted

When "false" is selected:

It will not render checkboxes
Rows are not selectable

Just a fix on @johnnyliang213  's code. But that was a nice enhancement suggestion, thank you.
`const newSelectedRow = selectedRows.data[selectedRows.data.length -1]; // selectedRows.data.length > 1 ? selectedRows.data[1] : selectedRows.data[0];
const newSelectedIndex = parseInt(newSelectedRow.index);
const temp = {
data: newSelectedRow,
lookup: {}
};
temp.lookup[${newSelectedIndex}] = true;
//if (selectedRows.data.length > 1) {
selectedRows.data = [];
selectedRows.lookup = temp.lookup;
selectedRows.data = temp.data; //selectedRows.data.push(temp.data);
//}`


Add mediawiki 1.39 support, update Readme

It fixes the issue described in #2
Additionally, I've expanded Readme.md a bit to make it clear how to install this extension and what to expect from it.

@microsoft-github-policy-service agree


Create hyperlink

Ref: Conversation #2026 / Stephen

Ref: Conversation #3483 / Carl

Ref: Conversation #6601 / Josey M.


Adding effect tooltips

Added several patterns to nearly finish out the events configs. Just about the only thing left for it would be capturing the individual clauses used by some of the commands, and of course much cleanup.

I'm no expert, but it looks good to me.


[Improvement][Master]add worker group checking steps before workflow executor

Purpose of the pull request
fix #12001
Brief change log
Just add a validator before task instance was put to dispatch queue.

When use start a ProcessInstance or re-run this processInstance, this PR will check if the worker group exists.

Verify this pull request

@caishunfeng @SbloodyS could u help to review this PR? thx

Codecov Report

Merging #12136 (80ba0ee) into dev (7beff83) will decrease coverage by 0.02%.
The diff coverage is 39.02%.

@@             Coverage Diff              @@
##                dev   #12136      +/-   ##
============================================
- Coverage     39.70%   39.68%   -0.03%
  Complexity     4190     4190
============================================
  Files          1016     1016
  Lines         38049    38052       +3
  Branches       4365     4357       -8
============================================
- Hits          15108    15100       -8
- Misses        21196    21207      +11
  Partials       1745     1745

Impacted Files
Coverage Δ

...duler/api/service/impl/WorkerGroupServiceImpl.java
58.00% <0.00%> (-2.84%)
:arrow_down:

...cheduler/api/service/impl/ExecutorServiceImpl.java
43.73% <43.75%> (+<0.01%)
:arrow_up:

.../org/apache/dolphinscheduler/api/enums/Status.java
100.00% <100.00%> (ø)

...eduler/api/dto/schedule/ScheduleCreateRequest.java
83.33% <0.00%> (-2.39%)
:arrow_down:

...org/apache/dolphinscheduler/remote/utils/Host.java
42.55% <0.00%> (-2.13%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
51.42% <0.00%> (-1.43%)
:arrow_down:

...che/dolphinscheduler/common/utils/HadoopUtils.java
15.94% <0.00%> (-0.73%)
:arrow_down:

.../apache/dolphinscheduler/common/utils/OSUtils.java
34.14% <0.00%> (-0.40%)
:arrow_down:

...uler/api/service/impl/DataAnalysisServiceImpl.java
81.66% <0.00%> (-0.31%)
:arrow_down:

...heduler/api/service/impl/ResourcesServiceImpl.java
51.94% <0.00%> (-0.21%)
:arrow_down:

... and 16 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Bugfix: PGVector/RAG - Calculate the Vector Size based on Model Dimensions

Why are these changes needed?
Dynamically calculate the vector column in the pgvector db based off the sentence embedding model's dimension size.
Checks

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

Thanks @Knucklessg1 , could you also add an example of embedding_function for using customized embedding functions in the docstrings?

@thinkall I added the docstring example, is this what you were looking for?

Codecov Report
Attention: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.

Project coverage is 15.79%. Comparing base (84c7c24) to head (6d6300b).

Files
Patch %
Lines

autogen/agentchat/contrib/vectordb/pgvectordb.py
0.00%
16 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2865       +/-   ##
===========================================
- Coverage   33.12%   15.79%   -17.33%
===========================================
  Files          88       88
  Lines        9518     9519        +1
  Branches     2037     2041        +4
===========================================
- Hits         3153     1504     -1649
- Misses       6096     7961     +1865
+ Partials      269       54      -215

Flag
Coverage Δ

unittests
15.79% <0.00%> (-17.33%)
:arrow_down:

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

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

How do we fix this for MongoDBAtlasVectorDB as well?
The dimension is fixed because the _SAMPLE_SENTENCE is hardcoded
https://github.com/microsoft/autogen/blob/e579a4609de1ab6afbff0af4c8bf5e84f83fb86d/autogen/agentchat/contrib/vectordb/mongodb.py#L18
https://github.com/microsoft/autogen/blob/e579a4609de1ab6afbff0af4c8bf5e84f83fb86d/autogen/agentchat/contrib/vectordb/mongodb.py#L129-L130
https://github.com/microsoft/autogen/blob/e579a4609de1ab6afbff0af4c8bf5e84f83fb86d/autogen/agentchat/contrib/vectordb/mongodb.py#L64-L65
Ideally we can set the dimensions value


Admin Client: Can not perform another connect() after disconnect()

Environment Information

OS [Windows 10]:
Node Version [e.g. 20.18.0]:
PNPM Version [e.g. 9.6.0]:
C++ Toolchain [e.g. Visual Studio, llvm, g++]:
confluent-kafka-javascript version [0.4.0]:

Steps to Reproduce
admin = new KafkaJS.Kafka({/*here goes your config*/}).admin();
await admin.connect();
await admin.disconnect();
await admin.connect();

The code above throws an Error:
KafkaJSError: Connect has already been called elsewhere.
Additional context
It seems the issue lies in the fact that #state transitions to DISCONNECTED after a disconnect. To resolve this, the connect method should permit reconnection when the state is DISCONNECTED.
  async connect() {
    if (this.#state !== AdminState.INIT && this.#state !== AdminState.DISCONNECTED) {
      throw new error.KafkaJSError("Connect has already been called elsewhere.", { code: error.ErrorCodes.ERR__STATE });
    }

Hey @ertl , this is expected behaviour from the library, you need to create another instance of the admin client (the same handle cannot be reused internally). Maybe I need to add this to disconnect documentation or else the error message, as it mightn't be clear.


There is a delay in the long-term playback of web pages

I set up the go2rtc service on the cloud service and created an empty stream in the configuration. I read the USB camera locally through ffmpeg and pushed it to port 8554 of the cloud server using RTSP conversion. After watching on the cloud server for about 5 minutes, there was a delay in the screen. As the playback time increased, the delay became larger. Perhaps it was a problem with the TCP connection transmission? I can only refresh it. Is there any other way to solve this problem? I hope to play the latest picture. Thank you

Show stream info for the moment when you have big delay. You can get info in WebUI