Mentors Showcase

This page will showcase the Operation Code mentors.  It could contain:

Areas the mentor "mentors" people in
Cross-links to squads and other OC pieces they are involved with
Where they live, in case a face-to-face is ever an option (as well as relative time zones)
Some of the mentors history and experience, so they are more relatable
Etc.

Some benefits are:

Empowers the users to make more educated decisions when choosing a mentor (when applicable)
Gives "props" to the mentors for volunteering their time
Highlights the talent that Operation Code has to offer

After some discussion, we'd like to emulate the interface that Bloc uses here.

@hollomancer @jjhampton @kylemh - I have started a HackMD file for us to collaborate on, to begin teasing out individual front and backend issues, start prioritizing them, adding acceptance criteria, etc.
Here it is:  https://hackmd.io/s/BJSFvKSpW
Please begin adding in content and ideas.  It is set to be freely editable.

I love this resource.


Appetite for xor method (like joi) to require one of a set of object keys, but never together

Unless I'm mistaken, a simple helper method for the functionality of xor (exclusive or) does not exist for zod.
The definition of xor would be:
Provide one of these N keys, but never together
Instead, all I can find is the recommended use of a chained .refine():
z.object(...)
  .refine(args =>
    !(args.val1 !== undefined && args.val2 !== undefined),
  { message: 'val1 and val2 cannot be provided together' },
  )
  .refine(args =>
    args.val1 === undefined && args.val2 === undefined,
  { message: 'one of val1 or val2 must be provided' },
  );

Is there opposition about introducing such a helper method?
I find it very cumbersome to write the refine logic and it's also a bore to read.

I think if you only have a small set of possible combinations of keys, you can use Discriminated Unions

Does that really fit the case I'm describing?
A discriminated union is a union of object schemas that all share a particular key.

In my example I reference a rule that refers to val1 & val2. There is no 'shared key'
The most basic schema representation of this would be:
const schema = z.object({
  val1: z.number(),
  val2: z.number(),
})

What is the discriminated union suggestion given there is no common key to check against? This also doesn't feel very scalable.
const myUnion = z.discriminatedUnion(?, [
  z.object({ val1: z.number() }),
  z.object({ val2: z.number() }),
]);

The .or schema method, although documented in the alias .union method, will only parse the first coincidence of the list of schemas passed:

Zod will test the input against each of the "options" in order and return the first value that validates successfully.

So it actually is a XOR functionally.
P.S.: I actually came here because the .union method does not allow to implement an schema that fits TypeScript non-exclusive union types.

Is this what you are looking for?
const schema = z.union( [
    z.object( { val1: z.string() } ).strict(),
    z.object( { val2: z.string() } ).strict(),
] )

console.log( schema.parse( { val1: 'a' } ) ) // { val1: 'a' }
console.log( schema.parse( { val2: 'b' } ) ) // { val2: 'b' }

const result = schema.safeParse( { val1: 'a', val2: 'b' } )
!result.success && console.log( result.error.issues )
// [
//     {
//         code: "unrecognized_keys",
//         keys: [ "val2" ],
//         path: [],
//         message: "Unrecognized key(s) in object: 'val2'"
//     }
// ]

If you found my answer satisfactory, please consider supporting me. Even a small amount is greatly appreciated. Thanks friend! 🙏
https://github.com/sponsors/JacobWeisenburger


Use custom DNS server?

I think this may be a duplicate of #121 (from what I can understand through Google Translate), but I'm not sure, so I'm creating this issue.
I need to use a custom DNS server (or at least, manually specify the IP address) with dio. I can't find any way to do this at the moment.
You may think I can just use the IP address and manually set a HTTP host header, but this doesn't work with HTTPS, because the certificate is invalid (described in detail in #121 ).

Yes, it's the same issue with #121 ,  I create a issue here https://github.com/dart-lang/sdk/issues/36551

Closing as a duplicate of #121.


Test case for locked and "marked-deleted" object version removal

Reproduces: https://tracker.ceph.com/issues/55766
Signed-off by: Igor Fedotov<EMAIL_ADDRESS>

@alimaredia i've verified that this passes against main and quincy, so i cherry-picked it to ceph-master and ceph-quincy. once the pacific fix in https://github.com/ceph/ceph/pull/47041 merges, i'll cherry-pick it to ceph-pacific too


Remove Double Outflow

There is a Double Outflow (2 green edges) from Money-Supply to Crypto Invest Rate. We should remove it.

So, I have found the problem. There are 2 edges in the Mathematica file that lead from Money-Supply to Crypto Invest Rate. However -- in the file -- one is Green and one is Red. In the output they are both Green.
I am not sure if this is a bug in Mathematica or not. Their documentation does not specify if 2 edges from A to B must share the same style-properties or not. But it does seem unlikely that this was their intent (otherwise, why draw 2 edges to begin with?).
Maybe there is a way to get it to do what is intended. However, if not we will either have to manually modify that single edge, or otherwise have an intermediate indicator that increase the Crypto Invest Rate (which is klugey, but probably won't be meaningfully different from a simulation point-of-view).


[pt_BR][Person] Adding brazillian RG and CPF

RG is a brazilian ID card number
CPF is like a registry of contributors' identification

This PR is a quick fix of #488, initialized by @ianrodrigues.
All credits belong to him.

Is the code working? The samples doesn't seems to reflect the code behaviour - furthermore, that behaviour of passing a string into a provider's method is uncommon across the library.
Finally, considering there's an year-old PR (#545) about brazilian documents and other improvements, maybe we should add the RG to it instead of having two PR on the same matter?

@igorsantos07 I just needed a RG and CPF provider and I saw the open PRs, found one and fix.
Your solution is larger, have some details inexistent on this PR (like CNPJ and others) and the code is more organized.
Personally, prefer your solution than this. I would be glad if your code was merged instead that. :+1:

You can make a PR to igorsantos07:improved-pt-cherry-picked and I'll merge it. That will include your commit into #545 :)

Superseded by #545. Please collaborate with @igorsantos07


The test results are different in the server and local environment.

First of all, contract is used for testing in the project. There is no error in the local test result. After uploading to the git server, there will be a request response json matching error in the maven building, resulting in the test failure. I want to know what's the reason.

Even the local and server-generated test class and json files are consistent, but the test results are very different.

When I upgraded the contract  version from 2.2.5 to 2.2.8, the local and server test results were consistent. Is this a bug in 2.2.5?

I don't really understand the problem however if the situation got resolved by upgrading the version by patch that means that most probably that was a bug

When I submitted the new code, the same scene as before appeared again. I need help

Please upload a sample that reproduces the problem. Currently I don't understand what the problem reallocate is


⚠ Bofrost.at has degraded performance

In 1a1b7a4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1439 ms

Resolved: Bofrost.at performance has improved in 614c880.


Additional Security for SAML2/JWT Bearer Assertion Grant Flows

Status Quo
Let's say there are two legitimate service providers A and B. Both A and B are registered in IdP X as SAML2 service providers. Both A and B are enabled to exchange SAML2 assertion with WSO2 IS using SAML2 Bearer Assertion grant flow. To do this, WSO2 IS's token endpoint is set as an audience and recipient in the SAML2 assertion for A and B.
When we validate the SAML2 assertion sent to the token endpoint in IS we simply validate whether the assertion is issued by a trusted IdP, whether the client sending it is a legitimate client and whether the assertion is intended to be used for exchanging to an OAuth2 access token by checking the list of audience contains the token endpoint (or some acceptable alias). We don't validate whether this assertion was in fact sent by the intended recipient for the assertion.
This implementation is of course compatible with the specifications.
Problem
If B somehow is able to get hold of the assertion intended to A, and send it to the token endpoint with B's client credentials, WSO2 IS will still issue a valid OAuth2 access token.
Proposed Solution
If sharing of SAML2 assertions between OAuth2 clients are not required, we can have an option in the token endpoint to validate the client_id identified from he basic auth header (or any other means depending on the client authentication mechanism), against the client_id in the SAML2 assertion. To do this, IdP X has to support adding multiple additional audiences into the SAML2 assertion. Also the client_id issued by WSO2 IS (which is public info) needs to be configured as an audience in IdP X. I don't see any issue with this either.
This will allow us to validate that the intended recipient of the SAML2 assertion is the one who is in fact sending it to the OAuth2 token endpoint as well, to exchange to an OAuth2 access token.
Benefit
This will give us a way to make sure that the OAuth2 client who requesting the access token, has obtained it by authorized means (not stolen).
Reference
[1] "[IAM] Additional Security for SAML2/JWT Bearer Assertion Grant Flows" in<EMAIL_ADDRESS>P.S. this is not just for IS service providers where SAML2 and OAuth2 inbound configurations can be done for the same service provider. This proposal goes beyond that for any OAuth2 authorization server.

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


GIt Hates Binary Files

Git doesn't handle binary files very well, but it does handle text really well. Uploading the raw .sql files rather then the tarballs would be preferable.
It takes 26 minutes to clone the repo by the way.
$ time git clone https://github.com/michaljuhas/sample-database.git ./timedtest
Cloning into './timedtest'...
remote: Counting objects: 27, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 27 (delta 6), reused 27 (delta 6), pack-reused 0
Unpacking objects: 100% (27/27), done.
Checking connectivity... done.

real	26m47.991s
user	0m10.866s
sys	0m3.047s

Fair point, thanks @jollyrogue!


Quick note conflicts with daily notes

I wanted to use the Quick Note functionality to open or create a new Daily Note. Unfortunately, a new file is created every time, and the filename is postfixed with an incremental counter (2023-10-09 1, 2023-10-09 2,  2023-10-09 3...).
Would it be possible to check if the file exists before forcefully creating a new one?
I saw that the file is created at https://github.com/dragonwocky/obsidian-tray/blob/main/main.js#L177 but I could not locate createNewMarkdownFile anywhere in the docs (I was expecting to see it at https://docs.obsidian.md/Reference/TypeScript+API/FileManager/FileManager but I have no idea how the plugins work with Obsidian so it may be elsewhere).

+1 for this feature, could it also be possible to choose a template for a new files?

Seems to be the same issue - or not ¯_(ツ)_/¯: on Windows, I had to uninstall the plugin, because when it's active, it binds a New Quick Note functionality to my 'Alt+N' key combo, something I don't want because it prevents me from using curly braces.

Seems to be the same issue - or not ¯_(ツ)_/¯: on Windows, I had to uninstall the plugin, because when it's active, it binds a New Quick Note functionality to my 'Alt+N' key combo, something I don't want because it prevents me from using curly braces.

@lunule all of the plugin's hotkeys are configurable under the plugin settings... you can change them to whatever you want or just clear them to disable them completely. Alt+N isn't a hotkey this plugin sets by default, though, so your problem may be elsewhere?

@dragonwocky Thanks for your reply.

Alt+N isn't a hotkey this plugin sets by default, though, so your problem may be elsewhere?

It is on my Windows - I don't know why this is happening, but

the problem I described only occurs when the Tray plugin in active,
the only way to fix it was setting a custom key combo for the "Toggle window focus hotkey" setting.


IHttpClientFactory - HttpClient as a service, handle cross-cutting concerns like caching, retry logic, timeouts and circuit breakers

aspnet/HttpClientFactory#42

I've written a bit about IHttpClientFactory on my blog (https://www.stevejgordon.co.uk/introduction-to-httpclientfactory-aspnetcore and https://www.stevejgordon.co.uk/httpclientfactory-named-typed-clients-aspnetcore) - Would like to have a crack at contributing to the docs if this is open to community engagement?

@stevejgordon This absolutely is open to community engagement. We'd love to have your help.
The first step is to propose an outline for the new doc. We'll need to get approval on it before writing. Do you have a rough outline in mind?

@scottaddie I was going to suggest the following:

Introduction and Benefits
Basic Usage
NamedClients
TypedClients
Outgoing Request Middleware (DelegatingHandlers)

Future (2.1 preview 2?):

Polly

However I see that the wiki page does include a lot of content already by @glennc that pretty much covers the above and perhaps just needs to be moved to the docs?
https://github.com/aspnet/HttpClientFactory/wiki
I'm sure the team will weigh in with other options for a title but perhaps something more description for the use case, rather than the feature name... e.g. "Making HTTP Requests"

@glennc @danroth27 Please see the proposed outline above? Thoughts?

We also had this issue: https://github.com/aspnet/HttpClientFactory/issues/37
I think all the content for those headings needs to exist. We also wanted specific examples for how to use it in things like WebForms as well as details on unit testing with the factory, both your pages/controllers and your typed clients. Would that be a separate document?

In addition to this we need to cover the connection management/handler rotation/dns kinds of things. The landscape is somewhat complex in 2.1 and will get better in the future, but we should be able to come up with a good set of comprehensive guidance. We should talk more about this when you're ready to start on that part.
List looks good to me overall, and we can close our bug tracking this!

@glennc Will this API be supported in ASP.NET 4.x? Your reference to WebForms leads me to believe that.

@stevejgordon Please proceed with writing according to your proposed outline. Assume that the doc will be located under the Fundamentals TOC node. In the meantime, I'll meet with @rynowak & @glennc and help fill in the gaps once your PR is submitted. Let me know if you have any questions.

It's a netstandard package, so yes. But it is designed to be used with some of ASP.NET Cores primitives. Which you can get with the GenericHost that was done at the start of 2.1. Effectively spinning up some core-isms into your System.Web app.

I wasn't as clear as I wanted to be there. It is netstandard which means it can be used in net4.x, but all of ASP.NET Core is that. This one in particular I want to explore using in non Core apps as well. Effectively bridging the experiences.

@glennc Since this repo/docset is dedicated to ASP.NET Core, I suggest documenting the WebForms stuff in the ASP.NET 4.x docset. Putting it here could lead customers to believe that WebForms is a supported app model in ASP.NET Core. We can easily link over to that doc from here. Are you okay with that approach?

Sure. As long as the content exists I am ok with you putting it where it makes the most sense for our customers.

@scottaddie Thanks. Excited to have a go at this. I'll start working on it and put in WIP PR in once I have something to show. I may need to advice/guidance on how/where to include samples/snippets. There are samples in the main HttpClientFactory repo but I see that some docs have their own sample project here in order to support building snippets? If it's okay, I'll start by copying over/fleshing out some text and take it from there.

In addition to this we need to cover the connection management/handler rotation/dns kinds of things. The landscape is somewhat complex in 2.1 and will get better in the future, but we should be able to come up with a good set of comprehensive guidance. We should talk more about this when you're ready to start on that part.

Absolutely! I wasn't sure how much the team wanted to cover on that since I read that the handler rotation is considered less of a key feature once the managed Handler work is ready. I may have mis-interpreted that from @glennc comments though.
@rynowak - Would it be possible to get in touch offline via email? I have some questions that are likely outside the scope of the docs / feature to deepen my understanding of the DNS piece.

Sure that would be great! My email is my github username + microsoft.com

@ryanno / @glennc - Do you think we should include a section about the logging from HttpClientFactory and managing the verbosity per client etc?

Yeah, some information about logging is important. I'm a little worried exactly how much will change in between now and release based on feedback...
I'd suggest documenting a few basics for now, and we can revisit after we finish all of the work in this area.


Allow for connectors connecting to connectors

[x ] I agree to follow the Code of Conduct that this project adheres to.
[ x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
In biological networks, it is common that connectors are used to highlight biochemical reactions (e.g. A -> B when A is converted to B). In many cases, other entities can influence the rate of this reaction, and that is typically depicted as an arrow pointing (typically) at the center of the connector between A->B. Below is an example of a slightly more complex biological map:

Currently, to the best of my knowledge, is impossible to end a connector at another connector
Describe the solution you'd like
A possibility to end connectors at other connectors.
Describe alternatives you've considered
We have created a custom group in the scratchpad with a line ending in an invisible node, continuing with an arrow. However, this workaround is problematic, due to scaling issues when resizing the group. Also, sometimes the group breaks the straight line and comes an angled line when trying to connect the  group to other entities. Furthermore, sometimes additional inputs to the reaction are needed, leading to need to create and align additional nodes to the workaround connector group.
Additional context
(None at the moment)

See https://twitter.com/drawio/status/1819024529546465429


feat(plugin-lightningcss): integrated rsbuild with lightningcss

Summary
This PR is mainly implemented based on the lightningcss-loader and is divided into two parts
lightningcss-loader (transform) and lightningCssMinifyWebpackPlugin (minify).
By default, plugin-lightningcss will replace postcss-loader with lightningcss-loader , and will replace the default rsbuild CSS minify tool (currently SwcCssMinify) with lightningCssMinifyPlugin.
If the relevant configuration is set to false, the corresponding feature will be turned off such as transform: false or minify: false
In most cases, there will be a huge performance improvement in CSS compilation.
total
lightningcss-loader 114ms 6x faster

postcss-loader 708ms

bootstrap-5.css
lightningcss-loader 24ms 3.5x faster
postcss-loader 83ms
tailwind.css
lightningcss-loader 86ms 3.5x faster
postcss-loader 296ms
Related Links
#1702
Checklist

[x] plugin Tests updated.
[x] loader e2e updated.
[x] minify e2e updated.
[x] Documentation updated.

Awesome! We will release Rsbuild v0.5.0 in next week.


12/15/2022 Publish

Learn Build status updates of commit d2b879a:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:warning:Warning
View
Details

latest/docs-ref-autogen/ams/asset.yml
:bulb:Suggestion
View (azure-cli-latest)
Details

latest/docs-ref-autogen/iot/hub.yml
:bulb:Suggestion
View (azure-cli-latest)
Details

latest/docs-ref-autogen/mariadb/server.yml
:bulb:Suggestion
View (azure-cli-latest)
Details

latest/docs-ref-autogen/mysql/flexible-server.yml
:bulb:Suggestion
View (azure-cli-latest)
Details

latest/docs-ref-autogen/mysql/server.yml
:bulb:Suggestion
View (azure-cli-latest)
Details

latest/docs-ref-autogen/postgres/flexible-server.yml
:bulb:Suggestion
View (azure-cli-latest)
Details

latest/docs-ref-autogen/postgres/server.yml
:bulb:Suggestion
View (azure-cli-latest)
Details

2017-03-09-profile/docs-ref-autogen/iot.yml
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile)

2017-03-09-profile/docs-ref-autogen/iot/hub.yml
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile)

2017-03-09-profile/docs-ref-autogen/iot/hub/certificate.yml
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile)

2017-03-09-profile/docs-ref-autogen/iot/hub/certificate/root-authority.yml
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile)

2017-03-09-profile/docs-ref-autogen/sql/mi-arc.yml
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile)

2017-03-09-profile/docs-ref-autogen/TOC.yml
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile)

2018-03-01-hybrid/docs-ref-autogen/iot.yml
:white_check_mark:Succeeded
View (azure-cli-2018-03-01-hybrid)

2018-03-01-hybrid/docs-ref-autogen/iot/hub.yml
:white_check_mark:Succeeded
View (azure-cli-2018-03-01-hybrid)

2018-03-01-hybrid/docs-ref-autogen/iot/hub/certificate.yml
:white_check_mark:Succeeded
View (azure-cli-2018-03-01-hybrid)

2018-03-01-hybrid/docs-ref-autogen/iot/hub/certificate/root-authority.yml
:white_check_mark:Succeeded
View (azure-cli-2018-03-01-hybrid)

2018-03-01-hybrid/docs-ref-autogen/sql/mi-arc.yml
:white_check_mark:Succeeded
View (azure-cli-2018-03-01-hybrid)

2018-03-01-hybrid/docs-ref-autogen/TOC.yml
:white_check_mark:Succeeded
View (azure-cli-2018-03-01-hybrid)

2019-03-01-hybrid/docs-ref-autogen/iot.yml
:white_check_mark:Succeeded

2019-03-01-hybrid/docs-ref-autogen/iot/hub.yml
:white_check_mark:Succeeded

2019-03-01-hybrid/docs-ref-autogen/iot/hub/certificate.yml
:white_check_mark:Succeeded

2019-03-01-hybrid/docs-ref-autogen/iot/hub/certificate/root-authority.yml
:white_check_mark:Succeeded

2019-03-01-hybrid/docs-ref-autogen/sql/mi-arc.yml
:white_check_mark:Succeeded

This comment lists only the first 25 files in the pull request.

docs-ref-conceptual/azure-cli-extensions-list.md

Line 41, Column 2: [Warning: hard-coded-locale - See documentation] Link 'https://docs.microsoft.com/en-us/azure/azure-arc/data/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 41, Column 113: [Warning: hard-coded-locale - See documentation] Link 'https://docs.microsoft.com/en-us/azure/azure-arc/data/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 41, Column 2: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/en-us/azure/azure-arc/data/' will be broken in isolated environments. Replace with a relative link.
Line 41, Column 113: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/en-us/azure/azure-arc/data/' will be broken in isolated environments. Replace with a relative link.
Line 46, Column 2: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/python/api/overview/azure/ml/?view=azure-ml-py' will be broken in isolated environments. Replace with a relative link.
Line 46, Column 2: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: https://docs.microsoft.com/python/api/overview/azure/ml/?view=azure-ml-py
Line 46, Column 167: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/python/api/overview/azure/ml/?view=azure-ml-py/HISTORY.rst' will be broken in isolated environments. Replace with a relative link.
Line 46, Column 167: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: https://docs.microsoft.com/python/api/overview/azure/ml/?view=azure-ml-py/HISTORY.rst

latest/docs-ref-autogen/ams/asset.yml

Line 267, Column 93: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 274, Column 116: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/iot/hub.yml

Line 911, Column 93: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 918, Column 116: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/mariadb/server.yml

Line 79, Column 202: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'SingleIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 79, Column 214: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'StartIP-DestinationIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 468, Column 202: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'SingleIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 468, Column 214: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'StartIP-DestinationIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 472, Column 93: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 479, Column 116: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/mysql/flexible-server.yml

Line 819, Column 93: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 829, Column 116: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'value' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/mysql/server.yml

Line 79, Column 202: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'SingleIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 79, Column 214: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'StartIP-DestinationIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 468, Column 202: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'SingleIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 468, Column 214: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'StartIP-DestinationIP' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.
Line 472, Column 93: [Suggestion: disallowed-html-tag - See documentation] HTML tag 'indexToRemove' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


make SQLALCHEMY_DATABASE_URI more generalized

to support connections on file sockets
looks like this:
postgresql+psycopg2://{DATABASE_CREDENTIALS}@/dispatch?host=/file_socket

ah wait this still won't work because ":" will be there even if you don't specify port hmmmm....

can we override config( default() ) with an empty string ?

I think this might be easiest to support with a new config item and documentation? Defaulting to the current schematics?

yes. I agree. something more generic will be better and a breaking change
will allow for a cleaner solution
On Tue, Jul 7, 2020, 01:36 kevgliss<EMAIL_ADDRESS>wrote:

I think this might be easiest to support with a new config item and
documentation? Defaulting to the current schematics?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Netflix/dispatch/pull/477#issuecomment-654400024, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4KV2OQVQP6QDCV4MSCYYLR2IKSDANCNFSM4OOJTGPQ
.

Cool, I'm going to close this PR feel free to open another.


Better discord bug

I was having a bug on better discord every time I use it it double what I sent in the chat Eg. I wrote "Hello" It will resend the word "Hello" one more time

Anyone help

Can you please test that this isn't a plugin or low internet issue.
Please join the Discord Server and ask for assistance in Support before assuming this is a BetterDiscord issue.


How to read the payload

I have used this module to send a payload with my push notification. I get the pushEvent object at my service worker and in there I find that the data attribute isn't null anymore, so some payload is actually send.
However, my issue is that I do not know how to read the message from the payload. I have tried using JSON.stringify the data attribute but it returns "{}"
webpush used from the server
    webpush.setGCMAPIKey('AIzaSyB71PDpHDx_zNqtMzidfzSp7CqCKV0Y8');
    webpush.sendWebPush('My title', subscription);

service worker file
self.addEventListener('push', function(event) {
  console.log('Push message', event);
  data = {}
  if (event.data) {
    console.log('rawdata', event.data);
    //console.log('data', event.data.json());
    //data = event.data.json();
    data = event.data
    dataString = JSON.stringify(data);
    console.log(dataString);
  }
  title = data.title || 'title'
  body = data.body || 'decription'

  event.waitUntil(
    self.registration.showNotification(title, {
     body: body,
     icon: '../images/icons/icon-192x192.png',
     tag: 'my-tag'
   }));
});

google Chrome developer console:

Please check out PushMessageData on MDN. It explains how the .text(), .json() etc methods work on the event.data property, which is of that type.


Add export-db command, fixes #767

The Problem/Issue/Bug:
ddev has always had an import-db, but always lacked the converse export-db.
How this PR Solves The Problem:
add ddev export-db
Manual Testing Instructions:
Try and verify results of:

ddev export-db -h
ddev export-db
ddev export-db -f /tmp/junk.sql.gz
ddev export-db -f /tmp/junk.sql --gzip=false
ddev export-db --gzip=false | gzip >/tmp/junk.sql.gz

Automated Testing Overview:

TestComposeWIthStreams()
TestDdevExportDB()

Related Issue Link(s):
OP #767
Release/Deployment notes:

At release time the Stack Overflow article on exporting should be updated to show this technique.
We'll want to get the upcoming article on snapshot (which also mentions the export alternative) to use this instead of the complex in-container technique.

This has docs and tests and I think it's ready for review.


Allow to remove Components and Children from Prefabs

Right now, it's impossible to ever remove Components or child GameObjects from a Prefab without having to create a new one and/or updating all of its instances.
From a users perspective, this is unusable, and also a ridiculous asymmetry.
From a technical side, the reason is that Prefabs allow their instances to carry additional Components and child GameObjects, which in turn means that they're never allowed to remove things, only to add and update.

Come up with a way on how to handle this and allow users to update their Prefabs accordingly.

It can be done though. If you remove a component, break the prefab, remove the old prefab in the project view and replace it with the new object sharing the same name it actually works. But kind of a pain though...

It can be done though. If you remove a component, break the prefab, remove the old prefab in the project view and replace it with the new object sharing the same name it actually works. But kind of a pain though...

You don't need to remove the old Prefab though. Just DragDrop the new object onto it and it will be replaced and linked.
The most annoying part of the problem remains though: All your Prefab instances scattered across different Scenes will still retain their additional Component - it won't be removed by applying the new Prefab, because applying Prefabs only ever adds Components and child objects, but never removes them.

Why not have the ObjectInspector display what Components and Children the Prefab has, and allow the user to alter them?

Why not have the ObjectInspector display what Components and Children the Prefab has, and allow the user to alter them?

This is a nice addition in itself, but it doesn't solve the fundamental problem of the Prefab system in Duality working in an additive way:

Create a Prefab Foo that has a GameObject with a Bar´ and a Bar2` Component.
Instantiate the Prefab into a GameObject.
Now remove Bar2 from the Prefab.
Newly instantiated objects will only have Bar, but the previously instantiated one will still keep Bar2, because it will be considered an "add-on" outside the scope of the Prefab.

This core problem needs to be addressed to make Component and child object removal on Prefabs possible.
That said, making Prefabs editable in the object inspector directly is definitely a cool feature. I kind of have this on my list, but it's not a fast-and-easy addition because of various dependencies.

I have met the same question here. I tried to remove a component in the prefab. But Destroy() or DestroyImmediate() didn't work. Why addComponent<>() works well . But there's no removeComponent<>() function here?


Latest sync for new release

Updated change from internal source

LGTM

Fixes https://github.com/google/EarlGrey/issues/333
Fixes https://github.com/google/EarlGrey/issues/324

LGTM


Use cleaner instead of finalize

As far as we know, the 'finalizer' mechanism of Java does not guarantee that java.lang.Object#finalize() will be called, that means release native resources in finalize() potentially cause a memory leak. I know in most cases this won't happen, but as a better solution, 'cleaner' may been used. For JDK 9 or later java.lang.ref.Cleaner could been used, for JDK 1.8 sun.misc.Cleaner is something potentially equivalent. I've made a simple compatible layer using JDK's reflection API, then created this PR.

This looks great! I will merge it in and try to run it up the JNR flagpole for the other libraries to test against.


MsBuild and dotnet CLI integration

OK, so this PR is following idea we've discussed in Slack channel. As suggested by @enricosada instead of generating full, standalone .fsproj file (or any other crazier ideas I had ;-) ) we put .fstoml file next to almost empty .fsproj file, and provide MsBuild targets to transform our .fstoml file to .targets file (which is full project file anyway, with resolved paket references, file list etc.) that we put in obj directory so it's automatically imported by MsBuild (just like additional files generated by dotnet restore etc.).
In such scenario .fsrpoj file looks something like that (and it's basically the same for every project):
<Project Sdk="FSharp.NET.Sdk;Microsoft.NET.Sdk; FsToml.Sdk" ToolsVersion="15.0">
  <ItemGroup>
    <PackageReference Include="FSharp.NET.Sdk" Version="1.0.0-beta-060000" PrivateAssets="All" />
    <PackageReference Include="FsToml.Sdk" Version="*"  />
    <DotNetCliToolReference Include="dotnet-compile-fsc" Version="1.0.0-preview2-020000" />
  </ItemGroup>
</Project>

We put next to it our standard .fstoml file [same names].
We would distribute targets responsible for generation as "sdk" which would mean it's automatically imported if package is added (not really sure how to do it but I assume that @enricosada can help with it). *.fstoml -> obj\*.targets generation is defined as pre-restore step so will happen whenever user runs dotnet restore - what IMO, is fine as Ionide / FSAC based tooling require running dotnet restore anyway [and I assume same will be true for VS when new project support will be added there].
I think this approach makes it super simple to integrate with any existing tooling and dotnet CLI which in the end is probably huge argument for adoption (and potential green light / support from Don). While personally I'd prefer something that can be parsed and resolved "natievly", without using MsBuild, I've came to conclusion (mostly thanks to experimenting with stuff that's on master branch) that it's not really possible (at least right now, with amount of time and work we can put into the project).
Another great news (or at least OK, depending on point of view) is that there are absolutely no dependencies on F#... we can use exactly same .fstoml file for C# or VB projects without any problem and it should just work with all their tooling out of the box. Again, personally I don't care too much, but Paket shows us that supporting multiple languages is good idea, and it would be good marketing for F# and the Community.

Tests are not passing beacuse... there are not tests, I've removed them as they were connected with parts I've removed anyway.
To see that it works:

Run build.cmd
Go to samples\lib
Run dotnet restore
Run dotnet build or open in Code.

CC: @alfonsogarciacaro @cloudRoutine @forki @matthid


Site keep bouncing between url with/without trailing slash

Version
@nuxtjs/i18n: 7.0.3
nuxt: 2.15.7
Nuxt configuration
Please change to [x] if relevant for this issue:

[x] Applies to a site deployed to a static server (site generated with nuxt generate)
[ ] Applies to a site deployed to a server with a Node backend

@nuxtjs/i18n configuration

Reproduction Link
Can try out at https://feature-test-old-version.dtfly0xvnnjyx.amplifyapp.com/courses/
You will see that the page keep refreshing and the url keep bouncing between the 2 urls.
Steps to reproduce
When deployed to AWS Amplify, it works fine if you are entering the site from home page. But if you are trying to refresh a page or enter the site from a non-homepage, then it would keep redirecting between url with slash and url without slash (e.g. between /courses and /courses/)
However, it works perfectly on local environment
What is Expected?
If you enter a page directly, it should not bounce between the slash and no-slash version repeatedly.
What is actually happening?
if you are trying to refresh a page or enter the site from a non-homepage, then it would keep redirecting between url with slash and url without slash (e.g. between /courses and /courses/)

for now, i am not setting router.trailingSlash: true, but I don't quite get this, if the redirect is on the app itself, then AWS would not intervene it i suppose. The routing redirection is entirely on the app itself, and would not hit AWS again.
Moreover, this only happens when i added i18n actually, before I add i18n module, this is not an issue (but nuxt itself also got slash redirection feature), so I would expect that adding i18n would not change this behaviour.
From this, I can see that it's quite obvious that there is something in the i18n module redirection feature that is causing this?


Unable to load AP-OTF fonts (DecodingError NotARealInDict)

Environment: WSL2 Ubuntu 24.04
When trying to load Morisawa's AP-OTF-*.otf fonts, otfedcli throws the following error:
$ dune exec otfedcli ~/.satysfi/dist/fonts/MorisawaFonts/AP-OTF-RyuminPr6N-Regular.otf tables
(DecodingError NotARealInDict)

~/.satysfi/dist/fonts/MorisawaFonts is a symlink to %LOCALAPPDATA%\Microsoft\Windows\Fonts\MorisawaFonts in the mounted Windows file system.
Given the contents of dictmap, it appears that this error is thrown in get_real_with_default due to the value for LongKey(31) being [Integer(1)].
https://github.com/gfngfn/otfed/blob/c11304cbe723dde8f5eb2a4096513ddc0ff26bb7/src/decodeCff.ml#L62-L67
I'm not sure why cid_font_version needs to be a float. From reading the spec it seems to me that CIDFontVersion is defined as an integer. Page 22 of the document says:

The %%Version comment provides the version number of this CIDFont file.
This number is an integer; Adobe recommends that it be the same number that is defined for /CIDFontVersion later in the file.
%%Version: 1

Please note that I'm a layman in terms of typography. Thank you.

Thank you for the report! This is a great catch.
The referenced spec is actually “Technical Note #5176: The Compact Font Format Specification, Version 1.0”.
I haven't encountered that error so far, but it seems that this was by chance; according to Table 10 on page 16, CIDFontVersion must be a number, i.e., it can be an integer as well as a (decimally encoded) real number:

I should thereby fix this so that otfed can decode versions encoded as integers.

Side note: I can access RyuminPr6N-Light via Adobe CC, so I checked the CIDFontVersion of the font file. It was 1.2:
$ otfedcli 26143.otf cff_top
CFF Top DICT:
  { font_name = "RyuminPr6N-Light"; version = None;
    notice =
    (Some "(c) Copyright 1989-2007 Adobe Systems Incorporated. All rights reserved. Ryumin Light is a trademark of Morisawa Inc.");
    copyright =
    (Some "Font (c) Copyright 2007 Morisawa Inc. All rights reserved.");
    full_name = (Some "Ryumin Pr6N OpenType Light");
    family_name = (Some "Ryumin Pr6N OpenType"); weight = (Some "Light");
    is_fixed_pitch = false; italic_angle = 0; underline_position = -100;
    underline_thickness = 50; paint_type = 0;
    font_bbox = { x_min = -280; y_min = -294; x_max = 1134; y_max = 1160 };
    stroke_width = 0;
    cid_info =
    (Some { registry = "Adobe"; ordering = "Japan1"; supplement = 6;
            cid_font_version = 1.2; cid_font_revision = 0; cid_font_type = 0;
            cid_count = 23058 });
    number_of_glyphs = 23058 }

The PR https://github.com/gfngfn/otfed/pull/62 will remedy this issue. Thank you!

I've reflected the change above in the master branch of SATySFi: https://github.com/gfngfn/SATySFi/pull/466

Thank you for your prompt action!


Unable to manually sweep ETH wallet all funds

Exploring the wallet's limits and I can't seem to drain the remaining 0.000032 ETH (32e12 wei) from the wallet. A call to /ob/spend trying to send 1 wei is being blocked with responses of "insufficient funds for gas * price + value".
Reproducing steps:
I filled my wallet with arbitrary amount... then attempted to manually sweep the wallet via the Spend call:

I started with the full amount of wei in my wallet,
then estimated the fees
subtracted that estimated fee amount from the full amount
added a little more than available and then walked back downward until the actual spend completed.

I know this approach is imperfect, but I would've expected a LOT fewer wei to be left over.

At the time this issue was created, we didn't have the spendAll flag for POST /wallet/spend.

[ ] As as result, calling this API with spendAll: true needs to be tested by @amangale


Take Over Mode not working properly - TS Errors without Take Over

1- Most of quick fix options does not work on TS files.
2- Suggestions does not show right props.
This video is recorded on initial project that is created with npm init vue@latest
https://user-images.githubusercontent.com/63511519/162743102-70c8e8f6-4ab5-45ba-a241-c28842efc391.mov

When I disable Take Over mode, even in the initial beginning project, I get these errors;

Basically Vue TS does not recognize the .Vue files.

@ragokan For projects created with create-vue, Try adding declare module "*.vue" ... to env.d.ts.
Example:
/// <reference types="vite/client" />

declare module "*.vue" {
  import type { DefineComponent } from "vue";
  // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
  const component: DefineComponent<{}, {}, any>;
  export default component;
}

Do you have node_modules in your project? try, npm i or pnpm i or yarn

Do you have node_modules in your project? try, npm i or pnpm i or yarn

Yes, I do. It is not my first project, too.

Your .mov appears to have no node_modules and no lock file.

Your .mov appears to have no node_modules and no lock file.

They are just hidden in vscode

See here. Have you disabled @builtin typescript? https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669

I can't reproduce it in my environment. The only other thing I can think of is to restart VSCode. I can't reproduce it, so I have no further advice... :(

Perhaps github.dev? There may be a problem with the browser extension. In that case, try the standalone VSCode app.

Take over mode also became broken in all my projects after the weekend

Take over mode also became broken in all my projects after the weekend

Yeah, in my previous projects, I didn't have any errors, I just created this one yesterday, but errors started after the updates in extension.


[Bug]: Incorrect Display of Contest Title on Event Card

Contact Details
<EMAIL_ADDRESS>What happened?

Issue Description:

    There is a bug on the event card for the "SuntoryProgrammingContest2024 (AtCoder Beginner Contest 357)" on the website.
    The contest title is not displayed correctly due to improper text wrapping or overflow handling. As a result, the title
    is cut off and overlaps with the card's boundary, making it difficult to read.

Steps to Reproduce:

Navigate to the contest page.
Locate the event card for "SuntoryProgrammingContest2024 (AtCoder Beginner Contest 357)".
Observe the display of the contest title on the event card.

Expected Behavior:

    The contest title should be displayed properly without any overflow or cut-off issues, ensuring the full title is readable.

Actual Behavior:

    The contest title overlaps with the boundaries of the event card, causing part of the text to be cut off and making it unreadable.

What browsers are you seeing the problem on?
Firefox, Chrome
Relevant log output
No response
Are you interested in contributing?

[X] I'd like to work on this issue

Code of Conduct

[ ] I have used the search function to check if an issue already exists
[X] I agree to follow this project's Code of Conduct

Which program are you contributing in?
gssoc

please assign me this  issue under ssoc

duplicate #822


doc: update Readme to have the webcomponent in uPortal5

Checklist

[ ] Resolve issue/feat. n°
[ ] tests are included
[x] documentation is changed or added
[ ] existing message properties have been updated with new phrases
[ ] new (i18n) language set have been added
[ ] improvement to make view conforms with WCAG 2.1 AA

Description of change
first step to resolve #13

thanks @ChristianMurphy 😉


Console's getting spammed whenever I reload the current scene

getting this whenever I use GetTree().ReloadCurrentScene() on a scene with text that's being set dynamically

So you're saying that that error gets spammed the entire time?
Does the scene still work?

Spammed isn't the right word. The scene works fine, but it throws those whenever the scene gets reloaded. It only does it the instant it's reloaded, but when you have a bind for reloading the scene for testing, it can take up the debug log a lot. I'm not sure if I did something wrong or not, but thought better safe than sorry and report it anyways.


How can I run "dense Formation" example correctly?

I can not see the true result.
I only see this picture.

But I want to see like this.

How can I do?

Thanks for your reply.
3D human Pedestrians in example videos are very cool!
I would like to make this kind of 3D scenarios by myself. How can I do it? What tools maybe can I use? Or what materials can I reference?

That is challenging.  There are the beginnings of connecting Menge with Unity (see here.  However, those bindings are just enough to get agent positions into Unity. You would still need to introduce animated figures and map the motion to the figures. We/I haven't had the time to do that yet. I've seen some work from some groups doing that, but I don't know if it's publically available. I'll write to find out.

It's very kind of you. I am very excited about  3D-Menge now.

Thanks for your reply.
Menge is an excellent prototyping tool for crowd simulation I have seen. I would like to try to implement the 3D-Menge in my free time. I believe it is very meaningful.

I'd be happy to contribute in any way I can. Are you planning on extending the Unity version? Alternate plan? Let me know and I'll do what I can to help. It would be something that would definitely benefit the entire Menge community.

I would like to connect Menge with Unity. I think maybe I can make a interface to merge them. But I am a green hand, I do not figure out how to implement this function yet.


tsProject.src() is empty when tsconfig.json has "includes" set

Expected behavior:
tsProject.src() uses all of the includes, files, and exclude setting set in tsconfig.json, or throws an error when there are conflicting globs.
In this example, I think the problem was that the excludes section included more files than the includes section for bower_components.
Actual behavior:
When the "includes" property is used, this error is thrown:
[11:40:25] Error: Invalid glob argument:
    at Object.src (/Users/kito/Core/Projects/red.pill.now.polymer.consulting/vcs/uss-bulletins/node_modules/gulp-typescript/node_modules/vinyl-fs/lib/src/index.js:32:11)
    at Function.src (/Users/kito/Core/Projects/red.pill.now.polymer.consulting/vcs/uss-bulletins/node_modules/gulp-typescript/release/project.js:83:16)
    at Gulp.<anonymous> (/Users/kito/Core/Projects/red.pill.now.polymer.consulting/vcs/uss-bulletins/gulpfile.js:179:27)
    at module.exports (/Users/kito/Core/Projects/red.pill.now.polymer.consulting/vcs/uss-bulletins/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/Users/kito/Core/Projects/red.pill.now.polymer.consulting/vcs/uss-bulletins/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/Users/kito/Core/Projects/red.pill.now.polymer.consulting/vcs/uss-bulletins/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/Users/kito/Core/Projects/red.pill.now.polymer.consulting/vcs/uss-bulletins/node_modules/orchestrator/index.js:134:8)
    at /Users/kito/Core/Projects/red.pill.now.polymer.consulting/vcs/uss-bulletins/node_modules/gulp/bin/gulp.js:129:20
    at doNTCallback0 (node.js:408:9)
    at process._tickCallback (node.js:337:13)

Your gulpfile:
var ts = require('gulp-typescript');
var tsProject = ts.createProject('tsconfig.json');

gulp.task('typescript', function() {
    var tsResult = tsProject.src()
        .pipe(sourcemaps.init())
        .pipe(tsProject(ts.reporter.longReporter()));
    return merge([
        tsResult.dts.pipe(gulpIgnore.exclude(src + '/test/**/*')).pipe(gulp.dest(dist())),
        tsResult.js.pipe(sourcemaps.write('.')).pipe(gulp.dest(src))
    ]);
});

tsconfig.json
{
    "compileOnSave": true,
    "compilerOptions": {
        "target": "es5",
        "noImplicitAny": false,
        "removeComments": true,
        "preserveConstEnums": true,
        "sourceMap": true,
        "experimentalDecorators": true,
        "listFiles": true,
        "noEmitOnError": true,
        "types": [
            "moment"
        ]
    },
    "include": [
        "app/bower_components/**/*.d.ts"
    ],
    "exclude": [
        "dist",
        ".tmp",
        ".idea",
        "tasks",
        "node_modules",
        "app/bower_components",
        "app/images",
        "app/styles"
    ]
}

Are you using the latest version of gulp-typescript, 3.0.2?

This is still an issue on gulp-typescript 3.1.2
this works:
gulp.src(tsConfig.include)
        .pipe(ts())

this doesn't work:
tsProject
        .src()
        .pipe(tsProject(typescript.reporter.fullReporter()))

I think it's because project.ts ln 113
	const { fileNames, errors } = this.typescript.parseJsonConfigFileContent(
		content,
		this.typescript.sys,
		this.projectDirectory);

the last param, this.ProjectDirectory, should probably be base?
    if (this.options["rootDir"]) {
        base = path.resolve(this.projectDirectory, this.options["rootDir"]);
    }

@345thomas include is relative to the location of tsconfig.json, so independent of the rootDir option. You probably have your tsconfig file in a directory src, your rootDir is ../? You should then start your includes with ../.

@ivogabe you're right, thanks! didn't realize include is independent of rootDir.


Make renaming of tags works

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/42957
PROPOSAL: N/A
Tests / Offline tests / QA Steps

Create a workspace if you don't have one yet
Enable Tags feature on More Features page
Go to the list of tags. Create some if you don't have already
Click one of the tags to rename it
Check that you can rename it correctly
Go offline
Try renaming again and confirm it works
Enable Accounting feature on the More Features
Connect to QBO
Go to the tags page. Click Classes.
Click the name "Classes"
Rename it and confirm that it works
Go offline and rename the "Classes" tag again and confirm it works
Click one of the sub tags of "Classes"
Rename one of the sub tags and confirm it works
Go offline and rename one of the sub tags again to confirm it works

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

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

I was able to get the tag without accounting connection (online/offline) working
I was able to get the tag multi level renaming (online/offline) working
I was able to get the sub tag rename (online) working
When renaming a sub tag while offline, it's not still working. Will keep working on it.

https://github.com/Expensify/App/assets/98560306/53db0df5-6725-4fc7-ad7f-e68b78623b2c

Okay I think I figured it out. @s77rt, I'd appreciate it if you could give it the first review when you have time 🙇

@sobitneupane I will review this one

on it!

Reviewer Checklist

[X] I have verified the author checklist is complete (all boxes are checked off).
[X] I verified the correct issue is linked in the ### Fixed Issues section above
[X] I verified testing steps are clear and they cover the changes made in this PR

[X] I verified the steps for local testing are in the Tests section
[X] I verified the steps for Staging and/or Production testing are in the QA steps section
[X] I verified the steps cover any possible 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 checked that screenshots or videos are included for tests on all platforms
[X] I included screenshots or videos for tests on all platforms
[X] I verified tests pass on all platforms & I tested again on:

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

[X] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[X] I verified proper code patterns were followed (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] 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 verified that this PR follows the guidelines as stated in the Review Guidelines
[X] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[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] If a new component is created I verified that:

[X] A similar component doesn't exist in the codebase
[X] All props are defined accurately and each prop has a /** comment above it */
[X] The file is named correctly
[X] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[X] The only data being stored in the state is data necessary for rendering and nothing else
[X] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[X] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[X] All JSX used for rendering exists in the render method
[X] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[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.
[X] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/16493223/1c2b7bd4-ec0f-440d-a468-90500e994e5e

Android: mWeb Chrome

https://github.com/Expensify/App/assets/16493223/670822e0-d335-4dae-baec-4c6192b399b6

iOS: Native

https://github.com/Expensify/App/assets/16493223/51989df1-a2bb-4133-b04e-d8076b898e5a

iOS: mWeb Safari

https://github.com/Expensify/App/assets/16493223/1f91296c-7110-4221-a0f3-94cc7236502e

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/16493223/36f0785d-d4b0-4c08-90c5-c01372137676

MacOS: Desktop

https://github.com/Expensify/App/assets/16493223/670e4a96-84ce-4dac-ae0d-8f0c20643cdf

I'm looking out for lint conflicts with main as we haven't merged in a while

🚀 Deployed to production by https://github.com/luacmartins in version: 1.4.81-11 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Feature request

I compiled FAST_SFunc.mexw64 of openfast 2.3.0 version. Examples in the Certest folder could be run in Matlab. I noticed that accelerations output from S-function in FAST V6 can be integrated to get velocities and displacements, and then returned to the S-function block with FAST equations of motions. Does this mean that the S-function in FAST v6 has input interfaces of velocities and displacements? Are there similar input interfaces in the newest openfast 2.3.0? Or is there any other way to get the acceleration information of given displacements and velocities?
FAST v6:

openfast:

I look forward to your reply and help. Thank you!

I recommend you read the section Major Changes Between the FAST v7 and v8 Interfaces to Simulink in the FAST8 ReadMe, which describes the same differences between the Simulink interface in FAST6 and OpenFAST (that file is now located at https://drive.google.com/drive/folders/10Pw8zzOr_YqIgtLmq10XhYpdAveKAWAJ?ths=true. )
In OpenFAST, the states are not integrated in Simulink, but are instead integrated inside the FAST_SFunc block. If you want to see accelerations, you should select those variables for output in the modules' input files. The accelerations of the internal degrees of freedom that were in FAST6 are available in ElastoDyn, though that may not be exactly what you want. The available output channels are listed in the OutListParameters.xlsx file (see for instance https://github.com/OpenFAST/openfast/blob/dev/docs/OtherSupporting/OutListParameters.xlsx)

Thank you very much for your help! I have read the docement you gave me, and understand what you mean.
My goal is to develop a surrogate model of the exact original dynamic model of wind turbine, so I need the value of acceleration (qdotdot) when any initial conditions (q_init, qdot_init) and control inputs are passed to openfast.exe or FAST_SFunc.mexw64.

could you give me some suggestions? if it useful to modify the source code in the SUBROUTINE Init_ContStates() of ElastoDyn.f90? That is to say, to set a nonzero initial rate for "Initial fore-aft tower top displacement (meters)" and "initial value for the tower fore-aft displacement rate (meters/sec)"?
I found there are AdditionalInputs items in the S-function parameters. If I can set the value of "Initial fore-aft tower top displacement (meters)" and "initial value for the tower fore-aft displacement rate (meters/sec)" through this interface? If so, how can I set the corresponding value here?

@bjonkman Thank you again!

@KnowNothingButTry -- In FAST v8 and OpenFAST, the states are internal to the FAST S-Function and cannot be specified as inputs to the block.  Modifying this would likely be a large effort.  Of course, you can specify the initial conditions (at time zero) of many states (e.g., tower deflection) through the input file(s).  It is likely not too difficult to modify the source code so that other states that are currently initialized to zero (e.g., tower velocity) are also initialized to user-specified values, but to specify these through the FAST S-Function block would take much more work.
Another option would be to revert back to FAST v7 where the structural states (but not other states of the model, e.g., aerodynamic states) are inputs into the FAST S-Function.
Best regards,

@bjonkman Thanks for your reply! can you  give me a link to download FAST V7 source code?

@jjonkman  Thanks for your reply! could you give me a link to download FAST V7 source code?

@KnowNothingButTry -- As I announced on our forum: https://wind.nrel.gov/forum/wind/viewtopic.php?f=38&t=1001, the NWTC Information Portal crashed before the replacement site is available. I've shared the old FAST v7 archive on Google Drive: https://drive.google.com/drive/folders/12JZQ91qeoi2uIWgp9YGX0FNCY8Ol77SW?usp=sharing.

@jjonkman Thank you again!


Use table filters in the catalog

Feature Suggestion
Right now the table and filter in the catalog is written manually without the new table filters. The new filter table can reduce the amount of code a lot and provides a consistent user experience between the plugins. We already started to use the component in the API Explorer:

This should bring us the following advantages:

No custom code for table filters
Generic way to store table state in the URL. This replaces custom solutions like #2730
Extend the table with features that we have in the catalog, but are not yet available as a generic component.
Consistent style and user experience

Optional, we can also do them later:

Make CheckboxTree and Select controlled components
Support paging in the table state. The catalog table is using paging and we aren't persisting that yet.

Possible Implementation
Before (or while) we replace the table with the generic one, we have to resolve some things:

Build some kind of "category" filter (not sure about the name!):

Integrate the new dense styling into the table (Nothing to do here, see #3276).
Maybe fix the table header to stay with the old title and row count, right now the new table filter always displays "Filters" and the amount of active filters:

Add a way to always open the filter box? We can more or less already do that using the table state.

Afterwards we should be able to delete code in:

plugins/catalog/components/

components/CatalogFilter/
components/CatalogTable/ (some of it, here we integrate the table filters)
components/ResultsFilter/
filters/

Context
New plugins like the squad plugin #2808 have to copy a lot of code. We should reduce this to the minimum and reuse as much as possible.
I would be up for taking this task in case that is the way we want to go. I'm not sure if this might collide with other things that are done in the catalog plugin, like discussed in #2791.

As @freben is doing some bigger rework there, I would refrain from touching it for now: https://github.com/backstage/backstage/tree/freben/catalog-filters


Made mode for 1.1.23 consistent with the tasks in section3 (3.3.x)

Overall Review of Changes:
A general description of the changes made that are being requested for merge
Makes the mode for 1.1.23 consistent with those in 3.3.x
Issue Fixes:
Please list (using linking) any open issues this PR addresses
n/a
Enhancements:
Please list any enhancements/features that are not open issue tickets
How has this been tested?:
Please give an overview of how these changes were tested. If they were not please use N/A
N/A

hi @Thulium-Drake
Thanks as always for your feedback, I have merged your change into an ongoing branch. That is about to be added once we have resolved the issues with the pipeline.
Best regards
uk-bolly


Fix circular dependency

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (b1abbaa) 100.00% compared to head (3bf949a) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #335   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          322       322
  Lines        10132     10132
  Branches       974       974
=========================================
  Hits         10132     10132

Impacted Files
Coverage Δ

src/gravitorch/creators/core/advanced.py
100.00% <100.00%> (ø)

src/gravitorch/data/datacreators/base.py
100.00% <100.00%> (ø)

src/gravitorch/data/datacreators/caching.py
100.00% <100.00%> (ø)

src/gravitorch/data/datacreators/vanilla.py
100.00% <100.00%> (ø)

src/gravitorch/datasources/datapipe.py
100.00% <100.00%> (ø)

src/gravitorch/datasources/dataset.py
100.00% <100.00%> (ø)

src/gravitorch/datasources/imagenet.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add work area update patch

Backports https://codereview.chromium.org/2829693003/
Refs https://bugs.chromium.org/p/chromium/issues/detail?id=712871
Closes https://github.com/electron/electron/issues/6312

Verified this fix on Windows 10 🚢


CJK support ?

Dose prose support CJK ?

OK, I see primarily English at the moment.
Should I keep this issues open before "the moment" past ?

Yes, we can keep this open. Eventually, I'd at least like to have tokenizers and taggers available for other languages.

Unfortunately, I don't think this will be happening anytime soon.


Support for context aware class snippets

I don't know if this is actually possible since I've never developed any extension for vscode, but one thing that I think would be nice is if there was some snippet for scaffolding a class with its namespace already resolved.
Example
I just created a file named "Person.cs" on the "Entities" folder that belongs to the "MyProject.csproj". If I typed the snippet classn, it would generate the following data:
namespace MyProject.Entities
{
    public class Person
    {

    }
}

Extras

Account for the RootNamespace tag on the .csproj file

Thank you @danspark
I think that it is possible.
If I am not wrong, it could be done with TypeScript, but I have to investigate about it and see if it works as you comment.
Thank you very much for your suggestion!
Best regards,
Jorge

Thank you @danspark
I think that it is possible.
If I am not wrong, it could be done with TypeScript, but I have to investigate about it and see if it works as you comment.
Thank you very much for your suggestion!
Best regards,
Jorge


Drawer cover element not visible

The element for covering the main body of MDL pages when opening the drawer is not visible in some browsers.
This issue is relating to the visibility of the mdl-layout__obfuscator class element in MDL pages such as the Android.com sample template
Issue occurred while testing across three third-party kiosk browser apps on iPad running iOS 9:

Sandbox Web Browser
Kiosk Pro Lite
Mobile Kiosk

Possible cause could be the CSS "visibility" attribute not being supported by browser.
Correct display:

Erroneous display:

Tried to reproduce on iPhone 6+, where the obfuscator is working fine.

Not sure what I can do here :confused:

My project is also experiencing this issue on iOS 9.  I'd like to add that the drawer closing functionality does not work when this occurs, leaving the drawer in a locked open state.

@theorangutan @tylermakin I think we need your help with this! If possible, any of the following things would make things a lot easier and would be greatly appreciated, so we can reproduce the issue on our side:

A list of browsers / apps (including versions) that exhibit the issue you are referring to
A minimalistic codepen that contains the code that exhibits the issue
Screenshots or videos of the issue

@surma
Per my original comment, the affected browsers include:

Sandbox Web Browser
Kiosk Pro Lite
Mobile Kiosk

Safari in iOS 9 does not seem to present this issue and this issue was seen on an iPad Air (original).
The issue is present in the above-mentioned Android website template on getmdl.io:

demo
template download via getmdl.io

@surma
Using the demo site
iPad Air
iOS 9.0.2
Chrome 45.0.2454.89

I originally found this in OS X (10.11) using the iPhone 5 simulator and Safari.

Hooray! It’s iOS 9!
My bad guys, I was on iOS 8.4 without realizing. Bug is confirmed for iOS 9 WebViews (not Safari).
@sgomes I come bearing bad news!

@surma So the obfuscator (which should be super straightforward) is not working, it only happens on iOS 9, and even there only in WebViews? My sanity meter is dropping rapidly... sigh
Do we have a good way of testing this?

Perhaps it is related to the ~ sibling selector?

An update: this is indeed due to the sibling selector, which doesn't seem to be working correctly in some cases. I'm preparing a workaround for the bug.

This issue is now fixed in the mdl-1.0 branch and will be part of 1.0.6.


⚠ Bofrost.es has degraded performance

In 1629364, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1412 ms

Resolved: Bofrost.es performance has improved in 6e8488b after 40 minutes.


Out of memory error

I'm getting an "Error allocating 45158400 bytes of device memory (out of memory). Driver report 44666880 bytes free and 536543232 bytes total" running the example, at iteration 1x0. Maybe 512mb video memory is simply too little?

Yeah that's probably too little, sorry! For what it's worth, I'm trying to get the TensorFlow backend working which should make it feasible for people to run on the CPU with their (probably) much larger system memory.


lpstat hangs with stopped cupsd on Solaris

There is an issue with cups client time out on Solaris. If I stop cupsd or use -h localhost:632 for lpstat it does not fail even if there is no daemon listening and hangs.
$ lpstat -h localhost:632
I have rebuilt the cups with debug enabled and tried again to generate more debug info. This is the interesting part of it:
T001 07:37:07.242  httpConnect2(host="localhost", port=632, addrlist=0, family=0, encryption=0, blocking=1, msec=30000, cancel=0)
T001 07:37:07.242  http_create(host="localhost", port=632, addrlist=0, family=0, encryption=0, blocking=1, mode=0)
T001 07:37:07.243  httpAddrGetList(hostname="localhost", family=AF_UNSPEC, service="632")
T001 07:37:07.243  httpReconnect2(http=701cd5790, msec=30000, cancel=0)
T001 07:37:07.243  httpAddrString(addr=701cd5558, s=7fd24f9417f0, slen=256)
T001 07:37:07.243  httpAddrString: returning "[v1.::1]"...
T001 07:37:07.243  httpReconnect2: Address [v1.::1]:632
T001 07:37:07.243  httpAddrString(addr=701cd5678, s=7fd24f9417f0, slen=256)
T001 07:37:07.243  httpAddrString: returning "<IP_ADDRESS>"...
T001 07:37:07.243  httpReconnect2: Address <IP_ADDRESS>:632
T001 07:37:07.243  httpAddrConnect2(addrlist=701cd5550, sock=701cd5790, msec=30000, cancel=0)
T001 07:37:07.243  httpAddrString(addr=701cd5558, s=7fd24f941670, slen=256)
T001 07:37:07.243  httpAddrString: returning "[v1.::1]"...
T001 07:37:07.243  httpAddrConnect2: Trying [v1.::1]:632...
T001 07:37:07.243  httpAddrConnect2: Setting non-blocking connect()
T001 07:37:07.243  httpAddrConnect2: Finishing async connect()
T001 07:37:07.244  httpAddrConnect2: poll() returned 1 (150)
T001 07:37:07.244  pfds[0].revents=5
T001 07:37:07.244  httpReconnect2: New socket=5
T001 07:37:07.244  httpAddrString(addr=701cd5558, s=7fd24f9417f0, slen=256)
T001 07:37:07.244  httpAddrString: returning "[v1.::1]"...
T001 07:37:07.244  httpReconnect2: Connected to [v1.::1]:632...
T001 07:37:07.244  cups_enum_dests(flags=0, msec=250, cancel=0, type=0, mask=0, cb=7fca01a55cb0, user_data=7fd24f941b00)

Even if there is nothing listening on [::1]:632, it thinks it is connected and continues trying with re-connect. Could you look into it and guess what is wrong there, please?
Complete debug log attached.

cups.log
lpstat was terminated by ^C.

This is an interresting part of truss:

so_socket(PF_INET6, SOCK_STREAM, IPPROTO_IP, NULL, SOV_XPG4_2) = 4
setsockopt(4, SOL_SOCKET, SO_REUSEADDR, 0x7FF8F8CCB678, 4, SOV_DEFAULT) = 0
setsockopt(4, SOL_SOCKET, SO_REUSEPORT, 0x7FF8F8CCB678, 4, SOV_DEFAULT) = 0
setsockopt(4, SOL_SOCKET, SO_NOSIGPIPE, 0x7FF8F8CCB678, 4, SOV_DEFAULT) = 0
setsockopt(4, tcp, TCP_NODELAY, 0x7FF8F8CCB678, 4, SOV_DEFAULT) = 0
fcntl(4, F_SETFD, 0x00000001)                   = 0
fcntl(4, F_GETFL)                               = 2
fcntl(4, F_SETFL, FWRITE|FNONBLOCK)             = 0
connect(4, 0x71FDC20E8, 32, SOV_XPG4_2)         Err#150 EINPROGRESS
fcntl(4, F_SETFL, FWRITE)                       = 0
pollsys(0x7FF8F8CCBB30, 1, 0x7FF8F8CCB620, 0x00000000) = 1
getpeername(4, 0x7FF8F8CCBE50, 0x7FF8F8CCB67C, SOV_DEFAULT) Err#134 ENOTCONN
uname(0x7FF8F8CCB8A0)                           = 1
send(4, " P O S T   /   H T T P /".., 203, 0)   Err#32 EPIPE
send(4, " P O S T   /   H T T P /".., 203, 0)   Err#32 EPIPE
close(4)                                        = 0

Firstly I don't understand why httpConnect2 is called with blocking=1 and the argument is not used in the underlying functions while they do unconditional nonblocking connect.
If this is an intention, than there is a missing mechanism to check the state of the socket before it is being polled. Maybe getsockopt() is what would 'workaround' the issue though I am in doubt that is the right fix here.
I assume it works accidentally on linux as the non blocking connec() operation finishes sooner that poll() is called. Still the check should be there as far as I understand.
Could you advise, please?

04-nonblock_connect.txt
Here is the patch which consider a socket on which getsockopt() fails as non connected on Solaris. Though I still don't understand some details of httpAddrConnect2() behavior this change makes Solaris lpstat -t fail in the same manner as on linux:

$ lpstat -t
scheduler is not running
no system default destination
lpstat: Bad file number
lpstat: Bad file number
lpstat: Bad file number
lpstat: Bad file number
lpstat: Bad file number
$

Could I ask you to rework the patch and integrate it in current cups, please?

Please report this to the OpenPrinting CUPS project.
The code in httpConnect2 is there to support multi-homing. That is, when a server (or printer) is available on multiple addresses, the client may not be able to determine which address is best. So httpConnect2 uses a non-blocking connect to try each address in parallel, stopping only once a connection is made. It sounds like the Solaris networking stack isn't propagating the error as it should, which is why your proposed patch fixes things on Solaris. We'll need to test this on multiple platforms to ensure this doesn't cause a regression.


Train and Upload RC Model to Huggingface

aferritto created the following on Apr 21:
Train and upload the following models to Huggingface's Model Hub:

[ ] TyDi XLM-R Base
[ ] TyDi XLM-R Large

Make sure we have approval to open source the models before doing this
Original issue: https://github.ibm.com/ai-foundation/PrimeQA/issues/142

tydi models are available in HF.


How to use Mask R-CNN  to calculate Mask areas?

i am trying to use Mask R-CNN to calculate defects' mask area. which code can be used for the calculation? Thank you very much!

Do you mean how to compute the area of a mask? For example if the mask is in bitmap format, then the area equals to its sum.
https://github.com/open-mmlab/mmdetection/blob/ae453fa92ffebcbd224b72f6d48e0b8699424450/mmdet/core/mask/structures.py#L301-L303


[chatcommands] Add shorthands for Chambers of Xeric Challenge Mode

Currently, to get the kc for Challenge Mode, users have to type !kc Chambers of Xeric:Challenge

What shorthands do you propose?

Fixed in #7242


Fix git version strings built into executable

The cmake build system includes version information acquired by running git describe in various source trees being used by the build.  These version strings are then linked directly into the output executable.
In testing the CFE 6.5 release I noticed that it wasn't quite working correctly.  The git revs were OK but it in some cases was referencing the wrong base tag or no base tag at all.

Imported from trac issue 153.  Created by jphickey on 2016-04-22T14:49:30, last modified: 2019-03-05T14:57:55

Trac comment by glimes on 2016-04-26 11:22:51:
Recommend accept.

Trac comment by jphickey on 2016-04-22 15:08:57:
Pushed commit [changeset:cbc30af] to fix this up.  Branch trac-153-fix-gitversion-in-exe
Prior to this fix, my bootup event log shows this:
{{{
EVS Port1 42/1/CFE_ES 91: Mission 75f4109-dirty.sample, cFE-6.4.1-OSS-release-120-gd96e0d4, d7afd93-dirty
}}}
The issues are:

it was going way back to the cFE-6.4.1-OSS-release tag for CFE
it was not finding a matching tag at all for OSAL, so it ends up as the abbreviated commitID only

After including this fix, and ensuring my build area is "clean", I now get:
{{{
EVS Port1 42/1/CFE_ES 91: Mission SampleMission-RTEMS-1.sample, cfe-rel-6.4.2-110-gcbc30af, osal-rel-4.2-13-gf2c74e5
}}}
It is now correctly finding that my cfe and osal code is a descendant of cfe-rel-6.4.2 and osal-rel-4.2 tags, respectively.

Trac comment by glimes on 2016-04-29 12:47:18:
Included as part of the ic-2016-04-26 merge.

Trac comment by jhageman on 2019-03-05 14:57:55:
Milestone renamed


Use character based tokenization instead of word-based

Instead of a shallower model predicting every word, use a deeper model to predict characters.
You may get better Model accuracy with a character based model

Less input features/output variables, which could increase overall layer density and improve training
Better training data, which can be easier to parse while also providing more data per sample for the model to train against
We can account for things like ampersands and punctuation, letting the model figure it out

The only challenge would be what to do with hyperlinks, but it could be fun to see what the AI comes up with
Ranked strategies for incorporation:

Create a separate, protected branch for old model and continue with new model
Create a separate branch for new model and keep old one
Have both exist in the same code and have a selector in program
options to switch between them
Create a separate repo for the new model
Make a monorepo with both projects in separate environments
Replace old model

You may also want to look into adding randomness to the model
I think the repeating tweets are caused by the fact that the model is too deterministic


Check path exists

For each font, we should check it exists.


High CPU consumption in spring boot application due to wrong ConsulInboundChannelAdapter configuration

I noticed high CPU consumption in ConsulClient.event due to scheduling configuration in ConsulInboundChannelAdapter set to 10ms which generates too much processing

Closed via 476ff255c2cbe23bf67f39ef9242b5b179b32d45


Let's translate the interface of your plugin into Russian and Ukrainian. I can help :)

title

Not for now.


Drawer

Awesome example thanks so much ekkes !!
Are you using the same drawer and controls from your other github project ?
Also can't find where the calendar component is anywhere.
I am writing a calendar schedule component and planning to use your drawer project and it's common components as a base.
Thanks again ekkes..:)

yes - I'm using similar Drawer and Controls in my other projects.
BTLE Example and QtWorldSummit app will always get the newest updates to this.
take a look at https://github.com/ekke/biz_data_x to see some examples of Calendar. Not all finished but will give you some ideas. Have used Calendar in other projects at customer sites - so biz_data_example is the newest opensource.

thanks. that helps and now i knwo where to look. cheers :)


feat: support Qwen

Feature request
We would love to see Qwen integrated into OpenLLM. See https://github.com/QwenLM/Qwen for more information about Qwen.
Motivation
No response
Other
No response

Contributions are welcome!


thread 'main' panicked at 'called Option::unwrap() on a None value', libcore/option.rs:355:21

I had this script working for over a month now without having any problems. Now suddenly I get the following output:
$ dyn-wallpaper-linux "Bern" "/home/mau/Pictures/Wallpapers/Mojave"
16 images found in /home/mau/Pictures/Wallpapers/Mojave
Output file: "/tmp/dyn_wallpaper.jpg"
Selected city: Bern
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', libcore/option.rs:355:21
note: Run with `RUST_BACKTRACE=1` for a backtrace.

And the output with Backtrace:
$ RUST_BACKTRACE=1 dyn-wallpaper-linux "Bern" "/home/mau/Pictures/Wallpapers/Mojave"
16 images found in /home/mau/Pictures/Wallpapers/Mojave
Output file: "/tmp/dyn_wallpaper.jpg"
Selected city: Bern
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', libcore/option.rs:355:21
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::print
             at libstd/sys_common/backtrace.rs:71
             at libstd/sys_common/backtrace.rs:59
   2: std::panicking::default_hook::{{closure}}
             at libstd/panicking.rs:211
   3: std::panicking::default_hook
             at libstd/panicking.rs:227
   4: std::panicking::rust_panic_with_hook
             at libstd/panicking.rs:476
   5: std::panicking::continue_panic_fmt
             at libstd/panicking.rs:390
   6: rust_begin_unwind
             at libstd/panicking.rs:325
   7: core::panicking::panic_fmt
             at libcore/panicking.rs:77
   8: core::panicking::panic
             at libcore/panicking.rs:52
   9: dyn_wallpaper::main
  10: std::rt::lang_start::{{closure}}
  11: std::panicking::try::do_call
             at libstd/rt.rs:59
             at libstd/panicking.rs:310
  12: __rust_maybe_catch_panic
             at libpanic_unwind/lib.rs:102
  13: std::rt::lang_start_internal
             at libstd/panicking.rs:289
             at libstd/panic.rs:392
             at libstd/rt.rs:58
  14: main
  15: __libc_start_main
  16: _start

I also tried something like this and got the same error:
dyn-wallpaper-linux "Bern" "/home/mau/Pictures/Wallpapers/Mojave" "feh --no-fehbg --auto-reload --bg-scale {path}"
I didn't make changes to my system recently so I have no clue what the problem might be.
I use an up to date Manjaro Linux with i3wm so setting an image directly with feh works well.
I hope you can help me troubleshooting this issue, as I loved this background!

Since yesterday morning it's working well again. I have no idea what changed that this issue popped up.
I'm closing this for now.

Somehow this issue appeared again now. I'm not sure why and how to actually resolve it for good.

hi, sorry to hear this problem happened again
what you're thinking of a recent package update? did you recently rebuilt the dyn-wallpaper binary?

No, I didn't change the binary since I started using this.
I was thinking that some Arch Linux package I updated recently interferes here but nothing looks suspicious from my update log (grep -i installed /var/log/pacman.log).
A restart seems to have fixed it again though. Not sure what is happening here.


requirements/requirements.in: It depends on grpc >= 1.34

Make explicit what is already in requirements.txt
with older version you will get errors like this accessing the CAS:
[--:--:--][][] WARNING Failed to initialize remote https://freedesktop-sdk-cache.codethink.co.uk:11001: Received http2 header with status: 404

To really update grpc, we need to commit the results of make -C requirements/ to update the .txt files used by tox environments in CI.
However, I happen to know this will not pass, partly because of new linting errors and partly because of https://github.com/pallets/click/issues/2037
I've been working on this and should have a patch soon to update the requirements and pass tests soon...

This current just updates the minimum version but doesn't refresh the versions we test with, considering these items to be orthogonal, I will go ahead and just merge this right away.
Separately I am working on #1494 to hopefully fix the CI in master.


After Install React native Base error is coming

*I am getting error when i fresh install react native using this step
npm install -g create-react-native-app
create-react-native-app AwesomeProject
cd AwesomeProject
npm start
Install the Expo client app on your iOS or Android phone and connect to the same wireless network as your computer. Using the Expo app, scan the QR code from your terminal to open your project.
After that is was working fine.But when i install
npm install native-base --save
npm install @expo/vector-icons --save
Then again npm install # ..*
This Error is coming.Please find screenshort

I tried this given solution ...but i thing some package issue.My Package.jsom
{
"name": "finalapp",
"version": "0.1.0",
"private": true,
"devDependencies": {
"react-native-scripts": "0.0.50",
"jest-expo": "~18.0.0",
"react-test-renderer": "16.0.0-alpha.12"
},
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
"scripts": {
"start": "react-native-scripts start",
"eject": "react-native-scripts eject",
"android": "react-native-scripts android",
"ios": "react-native-scripts ios",
"test": "node node_modules/jest/bin/jest.js --watch"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@expo/vector-icons": "^5.0.0",
"expo": "^18.0.3",
"native-base": "^2.2.1",
"react": "16.0.0-alpha.12",
"react-native": "^0.45.1"
}
}

@gauravverma029 For RN 45 use NativeBase 2.2.0
check this