Auto generate mock api

aspida-mock cannot be used with openapi2aspida.
Is there anyway to generate MOCK with aspida-mock like
import { mockMethods } from "aspida-mock"

export type Methods = {
  post: {
    query: { id: number }
    reqHeaders: { val: string }
    reqBody: { name: string }
    resHeaders: { token: string }
    resBody: {
      id: number
      name: string
    }
  }
}

export default mockMethods<Methods>({
  post: ({ query, reqHeaders, reqBody }) => ({
    status: 200,
    resHeaders: { token: reqHeaders.val },
    resBody: {
      id: query.id,
      name: reqBody.name
    }
  })
})

@qiwang97
Automatic generation is difficult due to lack of uniformity in API design patterns.
In fact, I don't even know which parameters to connect in Swagger Petstore.
https://petstore.swagger.io/


[Dupe] Thaumcraft 6 + Harvestcraft + GD (+ FAWE?): dupe in wilderness and in claim

List of possibly affecting mods:

Thaumcraft-1.12.2-6.1.BETA26
spongeforge-1.12.2-2838-7.1.8
Pam's HarvestCraft 1.12.2zb
Nucleus-1.14.0-S7.1
griefdefender-sponge-1.2.4-B15
LuckPerms-Sponge-5.0.49
FastAsyncWorldEdit-sponge112-18.03.19-18c7145-1053-19.4.16

Issue description:
Thaumcraft golem with Agile and Smart stats (or something along those lines, the tester plays on ru_RU) tries to harvest fully-grown carrots, marked by The Seal of Harvesting (again, ru_RU).
Results are as follows:

in Wilderness and in a claim of Golem's owner: carrot items are spawned, but the crop block is not modified, so it just continuously dupes items. GDDebug: https://griefdefender.github.io/debug/?zcekANZx9v
in an untrusted claim: items are not spawned, but console gets spammed with https://pastebin.com/nt0EQe07

Unable to reproduce with latest versions.
https://griefdefender.github.io/debug/?DqoH7sbegP
Update to HarvestCraft 1.12.2zf and FastAsyncWorldEdit-sponge112-19.11.13-5505943-1282-22.3.5
https://ci.athion.net/job/FastAsyncWorldEdit/lastSuccessfulBuild/artifact/target

Retested with SF pre-fakeplayer fix and reproduced issue. Sponge commit https://github.com/SpongePowered/SpongeCommon/commit/2f8b976b2e8e618c4c3052869db42bfbddbb25ec solves the dupe issue.


Configurable cron schedule for reconciler

What this PR does / why we need it:
This PR builds on top of #392 (which adds a config map from where the reconciler scheduler can be configured via a config map) to react to updates of said configuration.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer (optional):
Tested locally.

@dougbtv I've added a unit test that shows this working.
I think that's enough ...
I'm OK with merging. Let's talk about it in 2024.


Update poetry from 1.0.10 to 1.1.0

Issue
#112
Description
Update poetry from 1.0.10 to 1.10.
Testing
I tested it by running make environment, make test-integration and docker-postman-test. All results were positive.
Checklist
🚨Please review the guidelines for contributing to this repository.

[x] 🤔 CONSIDER adding a unit test if your PR resolves an issue.
[x] ✅ DO check open PR's to avoid duplicates.
[x] ✅ DO keep pull requests small so they can be easily reviewed.
[x] ✅ DO build locally before pushing.
[x] ✅ DO make sure tests pass.
[x] ✅ DO make sure any new changes are documented.
[x] ✅ DO make sure not to introduce any compiler warnings.
[ ] ❌AVOID breaking the continuous integration build.
[ ] ❌AVOID making significant changes to the overall architecture.

💔Thank you!

Closing this as this doesn't solve the base problem for the issue.


get maximum of 3 inputs

Open branch
write test in C
Observe the trackers in verification directory
commit and push
Close issue

Good Luck

issue done successfully, closing the issue

done


Installing individual knowledge artifacts (testing)

Describe the Issue
Would you like to work on the issue?

Please add more details.


[Accessibility]A11y_VSCode_WelcomeScreen_Keyboard: Keyboard focus does not remain on the same button(from which popup appears) once the popup is closed.

Environment Details:
VSCode Version : 1.23.1
OS Version : HighSierra10.13.5
Additional Details:
MAS Violated : MAS 2.4.3
Repro Steps:

Launch VS Code.
Navigate to Welcome screen.
Navigate to "Color Theme" and "Find and Run All Commands" button and press "Enter" to open popup.
Press Esc to close the popup and verify keyboard focus.

Actual:
Keyboard focus does not remain on the same button- "Color Theme" and "Find and Run All Commands"-(from which popup appears) once the popup is closed.
Focus order starts from top of the page.
Expected:
Keyboard focus should remain on same button from which the popup appeared after closing it.
Recommendations:
Refer below link which is repository of bug fixes code snippets:
https://microsoft.sharepoint.com/teams/msenable/mas/pages/browse-fixes.aspx
User Impact:
The user will again need to navigate through the entire screen and come back to same button or its next control to further perform actions.
MAS Reference:
MAS 2.4.3 - https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={0de7fbe1-ad7e-48e5-bcbb-8d986691e2b9}
Attachment for Reference:
A11y_VSCode_WelcomeScreen_Keyboard_Mac_KFOnButtonIssue.pptx
Does this issue occur when all extensions are disabled?: Yes

/duplicate #51976


Purview supporting CMK for Encryption once GA

DP-5 on this page mentions that purview uses Microsoft managed keys to encrypt the metadata stored by Azure Purview. Customer Managed Keys will be supported once the service becomes GA.

There was a GA announcement for Azure Purview late last month, does this mean that CMK is now supported for encryption at rest? I can't find any documentation indicating how to enable a CMK with purview. https://azure.microsoft.com/en-us/updates/azure-purview-is-now-generally-available/

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

ID: 195719c8-bc66-4235-0cd3-73cd989c7c45
Version Independent ID: 16847b71-4999-a446-75ff-abe8804a5624
Content: Azure security baseline for Azure Purview
Content Source: benchmark/azure/baselines/purview-security-baseline.md
Service: purview
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@pnarsi Thank you for sharing your feedback. We are actively validating it. We will share updates soon.

@msmbaldwin Could you please validate customer ask and share details. Thank you.

@pnarsi - Thank you for your question! I'm looking into this right now. I will follow up as I have more information.

@pnarsi - CMK is not currently supported for Azure Purview. It is a feature we are working on including. Currently, it is anticipated to be available after the new year. We will update the documentation to reflect this.

#please-close


Generate Debug map + breakpoint set for use in debugging

For use in debugging with neo-gui-developer or in a future neo-python debugging implementation, we need to generate a debug map that maps each instruction to a line number of a piece of code in each file.
This, together with a set of breakpoints that correspond to the map and instruction can be used to pause/inspect/step over or in general perform normal debugging tasks.

Just a heads up! @Relfos already implemented this in the pre 3.6 version.  His code just needs to be ported to the new setup.  His implementation can be viewed here:
https://github.com/CityOfZion/neo-boa/blob/06b1bfcd9adc6ed19de2f91c24044153528dd67f/boa/code/module.py#L570

We now have debug maps!
Anyone have a good idea of how to gather a breakpoint set from various editors? I was looking into the PyCharm IDE and how it stores breakpoints but couldn't determine how that is done.
An easy editor-agnositc solution would be to add a breakpoint() method which can be placed anywhere and would be ignored by the VM but place a breakpoint in the debug map.

This is now implemented.


Document output schemas

Please document the different output schemas (e.g. JSON, XML, text)
(was part of #318 from @KamasamaK - created a separate issue)

Also:
"Also, curious when the locations array would contain anything but one element."
"I don't want my second question to get lost, though. Is it possible, and if so in what cases would the locations array not contain one element? Likewise for the XML output, as that would be important to define the minOccurs and maxOccurs attributes in a schema as well as a description of what the element is."

I had a look into the location structure.
In XML it seems that it's possible to get multiple location elements for an issue. The code is:
do {
                    writer.append("<location");
                  ...
                    writer.append(">");
                    writer.append("<Expression><![CDATA[")
                   ...
                            .append("]]></Expression>");
                    writer.append("</location>").append(System.getProperty(LINE_SEPARATOR));
                    prevbugInfo = bugInfo;
                    bugInfo = iterator.hasNext() ? iterator.next() : null;
                } while (isGrouped(prevbugInfo, bugInfo));

(the JSON code is similar)
So, isGrouped() decides if there's one or multiple location elements. I'm not sure why and how exactly that's possible - in everything I've done with CFLint so far I've only seen single location elements in the XML. It seems to me that isGrouped is always false in my applications
I think @ryaneberly might have to have to look into that, sorry.

Discussion in #318 leaning towards not touching locations right now, but look into it again for 2.0

@KamasamaK Just to let you know, we've done #323 and #330 - therefore you'll find that CFLint XML, Json and Text output now have a few more counters/stats. Findbugs hasn't been changed.
(all in dev branch, which we'll release 1.2.0 from in the next few days hopefully)

"Also, curious when the locations array would contain anything but one element."

I am under the impression after fixing this issue location  would contain either a struct or an array. Is this the case? Are you going to make sure location will always contain an array?

@bardware locations (it was changed to plural in #158) is now always a JSON array, yes. It can conceptually contain 1-many objects, but in practice seems to have only one object for the time being.

I recommend using JSON Schema Store for the JSON schema.

@KamasamaK Sure - it'd be great if you could create a JSON Schema for us to test. When it's all working, more than happy to send a Pull Request to Schema Store with it (or you can do it yourself then).

@TheRealAgentK I'll give it a shot, but I will have to infer some of the meanings. For example, the top-level message is always the same as the code. I assume the intent was to eventually change it since it doesn't make sense that way, but I will have to take it at face value and just describe them as being the same for now.
I've changed my mind about using JSON Schema Store for the output right now. This is due to any potential breaking changes as a result of Issue #331. Breaking code compatibility is one thing, but I would want to minimize the possibility of having cflint-result.json and cflint-result-v2.json schemas hosted there.

I'm not sure if #331 would necessarily change the output formats.
I created the ticket to refactor the internal workings of how CFLint produces the various output formats because it's currently using different ways to get to the same point.

@KamasamaK Re your other question (top-level message vs. top-level code) --- I'm not sure what the intention was when it was built. Maybe @ryaneberly can shed some light into it?
Regardless though - there's no reason we can't change it. For instance in findbugs XML, I don't do that, the built-in CFLint XML currently has it though.
So, in hindsight - maybe #331 WILL change a bunch of things in the output formats :-)

@TheRealAgentK You're right, it does say it's specific to the engine. Although I think consistency of the data should also be a goal (and a consequence) of having more cohesive serialization.
For example, the text output has Severity, Message code, File, Column, Line, Message, Variable, and Expression whereas the JSON/XML output has severity, id, message, category, abbrev, location.file, location.fileName, location.function, location.column, location.line, location.message, location.variable, and location.expression.
Maybe the goal isn't to make them identical, but I think at least naming should be consistent. It's strange to have a field in the text output be Message code and the same data is referred to as id and message in JSON/XML.

Yeah, I agree - they should be consistent and we'll make sure of that when I do #331 then at some point.
I'd still think it'd be useful to document the current "schemas" as of now and provide that info to people.

I have the XML and JSON schemas finished for the v1.1.0 formats. I notice that v1.2.0 changes this and I will need to modify the schemas and my plugin if this format is final. The plugin was assuming that each JSON object in the array would have the same structure. I will bring up my concerns with that separately in Issue #331.

Will change JSON (see #323), CFLint XML only had some minor count and timestamp additions in 1.2.0 and Findbugs is using the proper bugcollection.xsd anyway.

I've put schemas for the JSON and XML in /src/main/resources/schemas/

Update to match change in Issue #383

@KamasamaK just saw this now - you hadn't updated the schema yet in the repo though? I just changed timestamp to type number and pushed/merged it in my PR.

It's done now. I'm not sure how to create a proper schema for the text output, though. Any suggestions?
Otherwise, I guess this issue can be closed unless someone finds something to change with the current result schemas. But really, the schemas will always be a work-in-progress to match changes with the generated result formats.

@KamasamaK Yeah, to be frank, the text output is just what it is. I don't think - similar to the HTML report - that it'd need a schema or any detailed documentation.

HTML would be too complicated, I think. I will probably add something for the text as a code block in the README.


"Bucecea" is listed in the drop-down menu

Description:
"Bucecea" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Bucecea" in the search bar.

Expected results
The location is listed in the drop-down menu as "Bucecea, Botoșani".


Nuget only master

Coverage remained the same at 100.0% when pulling d41220331f121ae21f0c3b2599d0667d82095ffc on nuget-only-master into 6516c3400637de17b99fc97fd6984c06c29693f2 on master.


[Feature] Add CLI

Add CLI for main 4 functions. Should be fairly straightforward - for the most part copy DataShuttle.

Some checking functions too #81

and slurm convenice function #101


WFCORE-6332: clean up license config files

DRAFT PR pending new release of the license plugin
Issue: WFCORE-6332

Core -> Full Integration Build 13123 outcome was FAILURE using a merge of c5fa40df2422003ff333aa39a2f91e8e6b9a9469
Summary: Exit code 1 (Step: Build core (Maven)) (new) Build time: 00:01:41

Core -> Full Integration Build 12899 outcome was FAILURE using a merge of c5fa40df2422003ff333aa39a2f91e8e6b9a9469
Summary: Exit code 1 (Step: Build core (Maven)) (new) Build time: 00:01:46

Core -> Full Integration Build 12900 outcome was FAILURE using a merge of 4139e4e23672c9bcda430db36d73ea17b485d8a7
Summary: Exit code 1 (Step: Build core (Maven)) Build time: 00:01:32

Core -> Full Integration Build 13124 outcome was FAILURE using a merge of 4139e4e23672c9bcda430db36d73ea17b485d8a7
Summary: Exit code 1 (Step: Build core (Maven)) Build time: 00:01:43

@michpetrov Could you please also address Brian's comment done in https://issues.redhat.com/browse/WFLY-18059? jboss-vfs is a dependency managed by WildFly Core and has not been resolved yet. Addressing that will help with the review since there are a lot of pieces involved here. Thanks.

@yersan I have filed https://issues.redhat.com/browse/JBVFS-220, but it is not necessary for this issue. When jboss-vfs gets upgraded the record can be deleted.


ESLint: Re-enable rule state-in-constructor

SUMMARY
Re-enable ESLint rule state-in-constructor, which was disabled in PR #10839. Code was refactored to fix the errors raised by the rule.
TEST PLAN
Run npm run lint, verify that there are no new Javascript/Typescript errors.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

@kgabryje this one needs a rebase... they all affect each other, it seems! :D


Layout

There should be a model named Layout that is used in a somewhat similar concept to WordPress' page layouts:

https://wordpress.com/support/page-layouts/

The Layout should define a model like Page (https://github.com/drewroberts/blog/issues/15) or Market (https://github.com/tipoff/locations/issues/41) and then define a blade file. The model can then have a belongsTo relationship with Layout and there can be a default set by the package in the config file for each model of that package that will be included in web routes. That blade template can be published and updated in the application and other variations could also be created both in the package and in the application (example: AMP validated layouts). Each entry in that model can then use the default layout or define its own.

Moved to blog pacakge:

https://github.com/drewroberts/blog/issues/60


苹果手机

在苹果手机上打不开啊

Closing as invalid; please use English when reporting bugs (or asking questions), since we'll not be able to help otherwise.


APT whitelist request for gnulib

I am a little puzzled. What is the status of this PR? Is there anything I can do to help it proceed?

gnulib doesn't actually need/use set*id functions, although its documentation refers to it in many places.  the text based search is a false positive in this case.


initial miRNA exploration

Hi,
I did some basic code to inspect metadata and find some posible cofactors.

thanks will change those lines!

I like it overall! But could you provide some commentary text in between the blocks - more narrative? Not necessarily what the results show, but how (for example, it took me a bit to decipher what was going into the correlation matrix).

Also, the branch name is a bit confusing...technically Sage-Bionetworks/master is upstream of yours :-) Fine for now, but future things maybe make them a little more informative (e.g. miRNAinit)

Think it looks good. If you don't have anything else to update I'll merge ASAP!

thanks, please go ahead. I will then move the function to the lib/ folder, but to avoid dirty commits it would be best to merge this and then change that.
thanks!


Allow users to customize the CustomTab colors

The customtabs support library offers a few options to customize the primary and secondary colors of the toolbar.
The CustomTabsIntent.Builder is always buried inside a method so these customization options are not currently accessible.
One possible way these options could be supplied is through a Bundle when configuring the PublicClientApplication instance since all of the options in the CustomTabsIntent.Builder map down to string keys in a intent bundle anyways

Oops, i created this in the wrong project by accident. Could one of the maintainers move it over to https://github.com/AzureAD/microsoft-authentication-library-for-android please?

Thanks Josh.  We'll create in MSAL and add a pointer back to this issue.

Github added a move option recently that you can use to transfer issues between repos.

Tracking here, closing
https://github.com/AzureAD/microsoft-authentication-library-for-android/issues/57


MongoDB ODM

I have to build Web app using Spiral framework with mongoDB.
Is MongoDB ODM engine provided in the latest version of spiral framework or not?(v3.11)
As my hearing, this feature don't support in the latest framework version.
How can I integrate MongoDB with spiral framework?
Thank you.

We have frozen support for our own ODM. However, you can take any MongoDB integration and connect it to the framework through bootloaders.

Thank you for your reply.
Could you help me to integrate MongoDB ODM with the framework?
I need a more detailed description.
I hope you can help me.

The MondoDB native ODM currently not maintained since we focused on Cycle ORM and modern DB can handle json. You can file a ticket and ask for ODM update, any donation or more community likes will prioritize this feature.
As for now I would recommend looking to Doctrine ODM - https://github.com/doctrine/mongodb-odm
It should be on part with ODM that used to be part of Spiral in the past.

how can i file a ticket and ask for ODM update?

Hi!
It depends if you are willing to use existing ODM (such as Doctrine) - in this case you only have to write a bootloader and probably finalized (if it uses any sort of heap).
Or, if you want to do something more fun and create ODM based on what we had before: https://github.com/wolfy-j/lodm
I would recommend option one, in this case you have to check how to launch Doctrine ODM in standalone mode (it will tell you what has to be bootloader). You can probably also check some Laravel integrations, their service providers are quite similar to bootloaders and copy it. That's about it.

Hi, I want to use doctrine-mongo-odm in spiral framework.
how can i config it to start when server start and use easily.

I just described it above :) you create a bootloader and provide DI for it. There are nothing special about it. If you having issues - starts with simple controller work ODM init first.


Improve performances

Following #444, I bring perf improvements from @smooth-ui/system into styled-system.
The goal is to make this library the best one and the universal one.
What have changed?

I switched to the core of @smooth-ui/system, more performant
especially with multiple compose. Composition is now flat, it means you
can compose 10 times and it will not be slower. We are probably in O(n),
where "n" is the number of props.
I switched to rollup in order to optimize build, provide umd and
improve tree shaking

What are the breaking changes?

We now rely on the order of props. ES2015 is here and we can rely on
it, see this tweet for context: https://twitter.com/ianstormtaylor/status/1115680037875752963.
Object keys or array keys have now equivalent parsing

See #470 for all history and original code.

Codecov Report

Merging #479 into master will decrease coverage by 1.82%.
The diff coverage is 97.22%.

@@            Coverage Diff             @@
##           master     #479      +/-   ##
==========================================
- Coverage     100%   98.17%   -1.83%
==========================================
  Files           1        1
  Lines         173      219      +46
==========================================
+ Hits          173      215      +42
- Misses          0        4       +4

Impacted Files
Coverage Δ

src/index.js
98.17% <97.22%> (-1.83%)
:arrow_down:

Continue to review full report at Codecov.

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

@jxnblk are we ready to merge?

Hello @jxnblk, I made the changes and I rebased. One test is not passing, the merge of variant, it was not part of the library initially. Also using your merge method instead of the deepmerge package makes a significant less of perf (according to benchmark).

At start, when I come with this PR, I wanted to migrate Smooth UI System to styled-system. But I think it would not be possible, even if the philosophy is very close, we are not going in the same direction. There is a lot of points where we disagree:

Jest VS ava
Rollup vs Microbundle
Split code in several files (code readability)
Use of external packages (why copying deepmerge instead of including it?)
References in theme (it costs nothing to support it)
Naming of properties (color vs textColor?)
Breakpoints array (why not specifying 0?)
...

Also, performance seems to not be something very important for you since a lot of other stuff was implemented and merged before this PR. I try to keep up with rebase but it is difficult (eg. the compose of variant).
I understand your choices, but there are different from mines. So I think we can share the same "theming specification" but I will not use styled-system in Smooth UI or in my projects. I use it professionally, and I have my own roadmap, I can't stick to yours sorry.
Thank you for your time, I hope my contribution helped you!

@neoziro I'd really love to figure out how to get this landed, and I'd appreciate some patience here. This is a substantial PR and like any large code change, I expect it to take longer than some of the other smaller PRs that have been merged in. I can chip in to help with parts that you aren't interested in working on, but it sounds like maybe this PR's base should change to a next branch so that this can land as a major version change instead of in v4.
As for the requested changes, you originally proposed a performance refactor, but also chose to include changes to the build and file structure – and are proposing changing the testing library as well.  I need to make sure changes in v4 do not break for the current users of this library, and I hope you can understand where I'm coming from here

@jxnblk yeah sorry for including these changes, it was not part of perf issue. I think it is going to slow for me, anyway I could continue to submit issues and changes. About the PR, I don’t have time to invest more on it, but the core is here, feel free to iterate on it! Thanks for your time and your patience 🙏

Going to close this out since it seems like it's not moving forward. Thanks again for all the work on this and sorry this PR didn't work out. Hopefully we can collaborate in the future, and I'll definitely be taking some inspiration from this for the next version of styled-system

@jxnblk no problem. You have the PR for history with the flattening of props in compose. It is the key for keep perf constants with several composes. Always happy to help! Thanks for this great library!


Vic3 mod loading

Either expand commonItems::ModLoader to support vic3-style mods (preferable), or write own modLoader.

Unlike EU4 which used filepath {somemod.mod} and then swapped to dual {"Mod name", "somemod.mod"} mod-keeping, Vic3 uses only name-records (carrying potential mod collisions for local/steam mods).
mods={
		"Converted - test28"
}


Add fit method that adds empty space without sacrificing aspect ratio

Is your feature request related to a problem? Please describe.
let's say you have 1000px wide and 500px tall image. Now i'd like to resize it to 250x250px. Currently I have two options: To squeeze it horizontally, or cut it horizontally. Both are pretty suboptimal.
Describe the solution you'd like
What i'd like is to keep the aspect ration of the original image so that it becomes 250x125.5px. But I'd like to add 62.75px both below and above the image so that it's 250px tall resulting 250x250px image. This is important if you want to resize logos to fit certain places that only allow squares.

What colour would the new pixels be? Transparent?

@jakearchibald I imagined this with transparent background, but it could also stretch the color from outermost pixels. e.g if the topmost pixels are white, remaining space could be filled with white. If the topmost pixels are transparent, remaining pixels would be transparent. It would probably make sense to pick the color from corner pixels since they are least likely to have the actual content I believe.

Would you be happy with 1 if there was another processor that allowed you to set the background with any value? As that is useful in other cases too.

@jakearchibald for me personally, option 1 would be completely fine since logos often have transparent background. And if there were a way to set background for the picture, then it would achieve the desired flexibility as well which is good.
On the other hand, I got excited of Squoosh because of the simplicity: It does very well almost everything one needs for simple resizing and conversion tasks and nothing more. So I'd be careful regarding potential feature creep. Though, I still feel that setting background color fits into feature set very well! :)

BTW, might be worth to consider removing the squeezing resize altogether in favour of aspect ratio keeping one. I'm not sure if there are any real use cases for functionality like that? If so, you probably really know what you are doing and use some more powerful image manipulation software anyways.

I don't think resizing without aspect ratio adds much complexity. It certainly doesn't add code. Resizing without aspect ratio is handy if the image you're resizing is anamorphic, such as a DVD video frame.
We might drop the "cover" option in favour of a proper cropping tool.


[Release Tracker] <v3.0.0>

[ ] #157
[ ] 生成 CHANGLOG
[ ] 通过单元测试
[ ] bithesis 是否需要更新

[ ] 上传 CTAN

[ ] 模板是否需要更新

[ ] 发布新的 Release

[ ] 上传新的模板到 Overleaf

Due to #160, every previous release would fail to compile with the latest biblatex-gb7714-2015.
It's become urgent to have a stable release that is compatible with the latest dependencies.


Cli keybase gpg export thinks im asking for help

Keybase GUI Version: 1.0.49-20180524214236+2deb0b3b7c
khamil8686@kah-attic-pc:~$ /usr/bin/keybase gpg export
'gpg' is a help topic, not a command.  To see the help for 'gpg', use 'help gpg'
khamil8686@kah-attic-pc:~$ /usr/bin/keybase gpg export
'gpg' is a help topic, not a command.  To see the help for 'gpg', use 'help gpg'
khamil8686@kah-attic-pc:~$ /usr/bin/keybase search
Error parsing command line arguments: Search query must not be empty.
NAME:
keybase search - Search for keybase users
USAGE:
keybase search [command options]
OPTIONS:
-j, --json   Output as JSON.
khamil8686@kah-attic-pc:~$ keybase gpg export all
'gpg' is a help topic, not a command.  To see the help for 'gpg', use 'help gpg'
khamil8686@kah-attic-pc:~$ keybase gpg export
'gpg' is a help topic, not a command.  To see the help for 'gpg', use 'help gpg'
Awesome program. Thank you!

maybe because it is keybase pgp?

It does. It's pgp not gpg
NAME:
   keybase pgp export - Export a PGP key from keybase

USAGE:
   keybase pgp export [command options]

DESCRIPTION:
   "keybase pgp export" exports public (and optionally private)
   PGP keys from Keybase, and into a file or to standard output.
   It doesn't access the GnuPG keychain at all. By default, when
   exporting private keys, you will be asked for passphrase to encrypt
   the exported keys.

OPTIONS:
   -o, --outfile        Specify an outfile (stdout by default).
   -s, --secret         Export secret key.
   -q, --query          Only export keys matching that query.
   --unencrypted        When exporting private keys, do not protect with a passphrase.

Yup! Pgp not gpg. :)


feat:  I want tfsec to tests the value of the aws s3 bucket policy setting "aws:SecureTransport".

Does your feature request relate to a problem? Please describe it.
I want tfsec to tests the value of the aws s3 bucket policy setting "aws:SecureTransport".
Because this is the setting mentioned in the AWS Foundational Security Best Practices.
Describe the solution you want
tfsec tests if a policy exists to deny non-secure transports in the aws_s3_bucket_policy resource.

hi it seems like you want to add a new policy to tfsec. We've moved our efforts to Trivy, you can start a new discussion in the Trivy repo regarding this and if you'd wish submit us a PR with this new policy. We'd be happy to review it.


Add proxy for curl client && missing first6 property for bank card payment method

Hello,
We are currently integrating yandex in our company and we are using your SDK;
We are facing some problems using the CURL client, as there is no way to set up an http proxy
also we found that one property was missing for bank card payment method.
This PR fix these issues.
Thank you

Hello!
We'll consider the possibility of this merge. Thanks!


[sustainability] add more logging

Added more logging to debug flaky sustainability/Earth page (logging lines are quite verbose so these are temporary)
Fix a small bug

thanks for the quick review!


is this project available in english ?

Hi,
Do you support english language on this application ?
thanks

No answer?


Investigate on the AMQP clients to use

Our RabbitMQ AMQP clients use an internal AMQP 1.0 lib to send an receive messages from the broker.
In case of Python there are two possibilities:

Qpid proton for Python: (https://qpid.apache.org/proton/index.html):

This is the client our RabbitMQ Java client is using.
Qpid proton for Python can be used directly as library.
It looks like the library is using some C code internally:
https://github.com/apache/qpid-proton/tree/main/python
I made a few tests (Connection, Declaration of Queues/Exchanges) and even if the library is not always well documented I was able to let it works for these use cases so I think we can proceed using it.

Reuse the code of the Azure Service bus:

We could reuse the code in:
https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/servicebus/azure-servicebus/azure/servicebus/_pyamqp
This was a rework of this original library:
https://github.com/Azure/azure-uamqp-python
That will be deprecated soon: https://github.com/Azure/azure-uamqp-python/issues/374
This is the approach used by rstream (but just for the serialization part of the protocol).
While the original library was Cython base the one moved in the ServiceBus seems like to be "pure python"
The disadvantage is that it is not possible to import the library directly in the project but we will need to copy/paste the folder code in our project and possibly maintain that. Also I made a few tests and I wasn't able to fully let it work for our use case.
@Gsantomaggio @lukebakken : What do you think? I would probably proceed to include and use the qpid-proton lib if for you is fine. Do you see any drawbacks/alternatives we can use?

I vote for Qpid.
I'm not too fond of the idea of importing the whole https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/servicebus/azure-servicebus/azure/servicebus/_pyamqp .
For stream, we imported only the codec, which is a limited part.


Benchmark for Code submission & judgement flow's loading test

We should provide some kind of loading test for the Code submission& judgement flow

We may use JMeter or scripted benchmark.

Provide the re-runnable benchmark of which results in some stats
#22

Has used JMeter with AMQP plugin to do the performance test.
The perf doc has not been released though.


Getting Error mesage

I keep getting this message if i invite someone to duel with me:

You could not challenge [username]. Please mention another user.

Could you please fix this

Hello @JoepTM, did you mentionned the opponent with "@"? Did you have an error in the console?

I mentioned with @ and i didn't get any errors in the console

By analyzing the source code, you can see all needed conditions needed by the bot to detect an opponent:
https://github.com/utarwyn/discord-tictactoe/blob/56cb8fd77a41bafcb813546a45dc7fab28629194/src/bot/commands/StartCommand.ts#L66-L72
Member must be online, a real person, and must has the permission to see the channel.
If you don't have error, I don't know how to help you more.

the member is online and a real person
:(

Something you probably need to know, i installed it with npm i didn't install the zip @utarwyn

Hmm indeed it does not seem to work for me aswell... I will try to fix that!

thanks

After few investigations, I have seen that presence of invited member is always set to "offline", pretty strange. Maybe a bug of discord.js or the Discord API, I will do additional test to find out a solution.
My test user:

API response:
Presence {
  userID: '772220535546970142',
  guild: null,
  status: 'offline',
  activities: [],
  clientStatus: null
}

I understand the problem: Discord has changed the way to get member presences, this is now using privileged intents. Discord.js team has created an issue two days ago about it to explain that Discord has made the use of this feature more restricted : discordjs/discord.js#4961
To avoid these problems, I will remove the "offline check" for now.
The API is becoming more and more restricted over time... very sad news.
Anyway, sorry for the inconvenience.

I have published a new version of the bot on NPM tv2.0.7) to fix the problem.
If your problem has been resolved, you can close the issue!
See it here: https://www.npmjs.com/package/discord-tictactoe/v/2.0.7
Best regards

thanks for solvinf the bug


WebExtensions (browser extensions)

Mozilla is working on making WebExtensions available in Firefox (dropping XPCOM, XUL and jetpack); API will be the same as Chrome extensions.
Opera already have them.
Mozilla has announced they will come gradually through Firefox 44 to 48, with a stable release in july.
Microsoft is also working on them in Edge.
The WebEXtension API is broken in about 60 components; Chrome having 100% support, Opera probably 100% too. The status page for Firefox can be found at http://arewewebextensionsyet.com/
No trace of a public spec by the w3c, unfortunately :/ I don't even know if w3c is involved; but it is really great they are finally making efforts into providing a common API. Maybe they are waiting to have all browsers on the same level before letting w3c evolve the spec.

:+1:

+1

+1

Don't +1, just click Subscribe

@julmot

While GitHub lacks a direct way of voting issues up or down, a system has been set up where anyone can vote for an issue with a "+1" comment. These votes are then tallied and the resulting list in order of votes is generated here.

http://caniuse.com/#info_news

+1

This mozilla compat table has some useful data, including Firefox for Android
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Browser_support_for_JavaScript_APIs

Browser extensions in Android, that's definitely a new thing.
Nice!

+1

+1

+1

+1

Chrome and Opera don’t have 100% support, as Firefox implements some APIs that Chrome solely lacks, and Microsoft is once again doing their own incompatible thing, but this time with Edge’s extensions, instead of IE6.
Anyway, these pages should help:

Browser compatibility for manifest.json - WebExtensions | MDN
Browser support for JavaScript APIs - WebExtensions | MDN

@benoitparis

Browser extensions in Android, that's definitely a new thing.

Actually, Firefox for Android supported extensions for almost as long as Firefox for Android existed, because Mozilla isn’t Google, who artifically limit Chrome for Android to prevent people from using third party AdBlockers, which would lessen Google’s ad revenue.

Generally Mozilla also collects the same data as this project for web APIs and WebExtension stuff. They also provide this (new stuff) in machine readable format: https://github.com/mdn/browser-compat-data

@benoitparis

No trace of a public spec by the w3c, unfortunately :/

Here (https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions) it says that it has one now :)
https://browserext.github.io/browserext/

Seems like there is some progress, see this announcement from June 2021:
https://www.w3.org/community/webextensions/2021/06/04/forming-the-wecg/

We’re excited to announce the launch of the WebExtensions Community Group (WECG).
With multiple browsers adopting a broadly compatible model for extensions in the last few years, the WECG is excited to explore how browser vendors and other interested parties can work together to advance a common browser extension platform.
Apple, Google, Microsoft and Mozilla are initiating this community group, and we welcome other browser makers, extension developers, and interested parties to join this effort!

Bumping this. It would be great to see all the webextension APIs on can I use, especially because there are quite a few differences between browsers and can i use would be the perfect home for quickly searching and visualising them.


New features: add filter / collapse all / link to file

This is not a bug but feature suggestions.
The list of tests in the side bar can become quite long and difficult too manage. In order too make it easier to navigate it would be nice to have:

a filter, allowing to show only the test matching with the filter instead of the whole list
a "collapse all" button, to collapse the list
when I click on a test in the sidebar, it opens the corresponding file. It would be nice to have the opposite option too: when I'm in a test file, focus the corresponding test in the sidebar.

Thanks!

I tried to implement it currently there is an issue in vscode. That the tree expending state is kept after each rendering and it ignores the state that send to tree item .


How would I implement this in Angular2?

I am implementing this in this Angular2 boilerplate app: https://github.com/codediodeio/angular-firestarter.
How would I do this? I'm very lost. Thanks in advanced!

I have the exact same question. Have you found something yet?

I am about to upload a project where I have done something similar. I will post a link.

Thank you
On Aug 25, 2017 6:29 PM, "Matthew Corbett"<EMAIL_ADDRESS>wrote:

I am about to upload a project where I have done something similar. I will
post a link.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/goodeggs/angular-barcode-listener/issues/12#issuecomment-324912788,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZaKMxVhg-gsJMsi-q5UeIB6BCJK7RRuks5sbsVOgaJpZM4O09Kr
.

Here is a link to the repo: https://github.com/corbetmw/sample-time-tracking
Look under ui/barcode-listener. You'll see that I've done something different than what's in this component. Mine is very basic. My scanner sends an "Enter" keydown at the end of each scan. Basically, all my component does is listeners for all input, and if it is an Enter, fires a function designated in the parent component.


Location of static assets described differently in different sections

In the static guide (https://arc.codes/guides/static-assets):

To support this, every .arc project is set up with a public directory in the root of your project. The public directory provides a seamless way to work with static assets such as images, styles, and scripts required in your front-end workflows.

In the @static reference (https://arc.codes/reference/static):

Locally, if the hidden folder /.static exists, whenever you run npx deploy the contents are synchronized to the staging bucket. If you set ARC_DEPLOY=production the contents of /.static are deployed to the production bucket. This allows the frontend dev to use whatever build tooling they like (ParcelJS, Webpack, Browserify, Babel, etc).

So, is it public/ dir, or .static dir?

good catch, thank you. /public for future reference!


Featurerequest Dockerimage

I would like to have a Dockerimage for the postwoman proxy. It would also be great to integrate it into the official docker-compose of postwoman.
I can also offer to implement it, just give me some input on how you would like it and what the best way is to bring this together with postwoman.

I have the same needs，I want it to merge with the docker image of postwoman

Hopefully this issue is not too stale to be worked on.
I added a very simple Dockerfile to my fork: https://github.com/MarcelPa/postwoman-proxy

Your PR #15 looks good to me, we could consider to not run this as root.

You got a point there. I did not think of it, as I run this using rootless podman.
Will check that ;-)

Pushed a new version, running the server as a non-root user :-)

Closed in #15


[FEATURE] Folder window is odd

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
This window really should be an additional part of the main window if possible - The "edit folders" button would stay, but it would toggle remove and reorder buttons on each collection.
Anything else?
No response

This feels better.


Introduced "contextFilter" and "labelFilter"  replacement settings

Impact

[ ] Bug fix (non-breaking change which fixes expected existing functionality)
[X] Enhancement/New feature (adds functionality without impacting existing logic)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Contexts vs. Labels is a common confusion. I think part of the problem is that the names of the attributes are just "labels" and "context(s)" on both the runtime arguments and the changelog parameters so it's non-obvious how one side of each is a "filter" expression and which side is the filter is the difference.
This PR:

Switches all the changelog file use of "context" to "contextFilter"

changeSet attribute
include attribute
includeAll attribute
modifySql attribute
databaseChangeLog attribute
In XML, Yaml, JSON, and formatted SQL changelog formats

Switches the use of "labels" to "labelFilter" as an argument to:

CLI
Maven
Ant
Servlet
Spring

Preserves old context/labels functionality for backwards compatibility

Introduces "alias" support to CommandArgumentDefinition
Keeps old get/set methods, but marked as deprecated and calling the new get/set methods

Testing:

Updates unit and integration tests to use contextFilter
Adds additional unit and integration tests for context/labels compatibility

Things to be aware of

Lots of files got changed, but it was primarily through automated refactoring of the get/setLabels and get/setContexts functions and/or straightforward search/replace

Existing automated tests caught the couple places I missed. The functionality worked for me on the first try

Did not update any test-harness or functional tests changelogs, so they are currently testing the backwards compatibility
CLI --help just lists labelFilter, not labels anymore.

No need to remind people of the old and confusing argument

Things to worry about

Are there usages of contexts or labels I missed?

@nvoxland I finally read this and completely understand! Does your change make this backwards compatible? So if I have changesets that still have context instead of 'contextFilter' they will still work? Similarly, if I use labels instead of 'labelFilter' in my CLI argument it will still work?

@nvoxland IGNORE ME! I can see this here now:
Preserves old context/labels functionality for backwards compatibility
Introduces "alias" support to CommandArgumentDefinition
Keeps old get/set methods, but marked as deprecated and calling the new get/set methods

I'd like to make sure we test that both the legacy and new alias values work as part of the testing here. Thanks.


update frappe-charts import

We should let the bundler decide what file to import 🙂
Current implementation doesn't work with Vite + Svelte + Typescript 👍🏻

Thanks for reporting. This seems like a sensible change.
I would love to get more info about your build setup, as I haven't had a chance to use Vite yet. Are you using svite for this?

Thanks for reporting. This seems like a sensible change.
I would love to get more info about your build setup, as I haven't had a chance to use Vite yet. Are you using svite for this?

I have used the default typescript template you get with yarn create @vitejs/app https://vitejs.dev/guide/#scaffolding-your-first-vite-project
It looks like it uses svite under the hood 🙂


Bump to Quarkus 2.13.4

Updates the extension to the latest Quarkus version

Quarkus 2.14.0 is the latest


Keras generator: steps_per_epoch for a custom datagenerator with random augmentation

i am trying to create a custom data generator , the issue i am facing is to calculate step_per_epochs , Let suppose if I have 100 sample, and my bath_size=20, so my steps_per_epoch=5. But for example, I randomly augment the data, and now I have 160 samples, and my batch size would be 8. but I don't know how many augmentations I have performed, each time a different number of samples will be produced. So how can I find the step_per_epochs
Here is the colab notebook of my implementation
https://colab.research.google.com/drive/1dTSbHOHY7qYDdiaI4pU1PhVp_S6p1kZE

@talhaanwarch
Moving this issue to closed status as there has been no activity, in case you still face the error please create a new issue.


[system] Using both custom variants and default variants

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Is it possible to use custom variant and all default variants in same time, cause i don't want to disable any default variants, how can i do this ?

Current behavior 😯
No response
Expected behavior 🤔
No response
Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Yes, you can create a custom variant for Material Typography component.
e.g.,
const theme = createTheme({
  components: {
    MuiTypography: {
      variants: [
        {
          props: { variant: "test" },
          style: {
            fontSize: 100
          }
        }
      ]
    }
  }
});

Here is a working Codesandbox: https://codesandbox.io/s/great-vaughan-4rlhwt?file=/demo.js


HIVE-24542: Prepare Guava for Upgrades

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

I made a PR to fix this.

https://github.com/apache/hive/pull/2531


updated security-basic-authentication-tutorial.adoc.po

resolved #1094

I'd like to cancel this PR because of the conflict. Terribly sorry.


PRISMA-2021-0055 vulnerability in latest ibm-cos-java-sdk-bundle-2.9.1.jar

We are getting a vulnerability report on ibm-cos-java-sdk-bundle-2.9.1.jar about the shaded commons-codec 1.11 dependency that should be upgraded to 1.13 or higher.
I am not able to find much details about what PRISMA-2021-0055 is.
Is it possible to schedule an update of commons-codec to 1.13 or to the latest version so it is current?
Thanks.

Could you provide more details on the vulnerability report? Could that number be a tool-specific reference?
There is an upstream issue on this topic: https://github.com/aws/aws-sdk-java/issues/125. The only reference to commons-codec is the main pom.xml. No version is listed, so there is nothing to update. We already updated HttpClient to 4.5.13 (the latest) as part of our recent release.

Thanks @IBMeric
Yes, it is a tool specific reference and I am still trying to get the details from the vendor.
But I suspect that this is related to the known commons-codec 1.11 vulnerability described here: https://issues.apache.org/jira/browse/HTTPCLIENT-2072
ibm-cos-java-sdk-bundle-2.9.1.jar contains the META-INF/maven/commons-codec/commons-codec/pom.xml file which makes an explicit reference to commons-codec 1.11
I believe that this jar file contains its own copy of commons-codec 1.11 (shaded dependency) which is why the scanning tool is raising this issue.

@IBMeric any update about this?
The latest main pom.xml for aws-sdk-java is defining an explicit codec version to be be 1.15, see https://github.com/aws/aws-sdk-java/blob/master/pom.xml#L342
I am not clear as why ibm-cos-sdk is still referencing coded 1.11
Thanks.

Thanks for the link. That change was made after this ticket was opened. We can include it in our next release. Do you know if this will satisfy your scanner?

@IBMeric yes, I am confident that it will.
Even if we did not manage to find a lot of details about PRISMA-2021-0055, the scanner explicitly says that the issue is fixed in commons-codec 1.13 or higher.
We have other packages that are using commons-codec 1.13, 1.14 or 1.15 and none of them are flagged by the scanner.
Do you have an ETA (even a rough one) for the next release where this could be fixed?

Sorry for the late reply. The work is scheduled but I haven't been able to get a release commitment internally yet. I will bring this up again today.

Thanks @IBMeric
Any (good) news?

We have confirmed the fix and will put it in the next bug fix release. There is another fix in the works, so the plan is to release both together.

Thanks @IBMeric
Do you have an ETA (even a rough one) for the next bug fix release?

Any ETA on this fix?

The release will either be this week or early next week.

@tcherel We have published 2.10.1. Could you verify your issue has been resolved and close this ticket?

Thanks @IBMeric
I confirm that 2.10.1 is fixing the security scan issue.
Closing.


closes #28 Updated all WHO metadata

#28 Updated documentation with metadata tag
#28 added tests for Head circumference metadata
#28 Capitalised bmi in the documentation
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the main branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests, which should consider realistic data scenarios and edge cases, e.g. empty datasets, errors, boundary cases etc. - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples, including keywords and families. Refer to the categorization of functions to tag appropriate keyword/family.
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md under the header # admiralpeds (development version) if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiralpeds site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the Reference page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done! Much love to your accomplishment!

@rossfarrugia , all updates done!

@rossfarrugia ,
could you please explain me what this "Check Expected — Waiting for status to be reported" means and what action is expected from my side?
Thanks!

@rossfarrugia , could you please explain me what this "Check Expected — Waiting for status to be reported" means and what action is expected from my side? Thanks!

Ignore this one Pierre - I spotted same in some of mine. @zdz2101 can we get this one removed please from the CI checks?
Will try and review this PR tomorrow.

@rossfarrugia @Pierre-Wallet Yea I'll look into it but I think it might be related to the Check / (release/devel/oldrel) and supposed to go away once those resolve, but I'll check again


starting a ftpd server for an IP associated with a NIC that hasn't been connected yet

On a PC that's just been powered up, and using a NIC connected to an embedded system that's about the get powered on,  the PC NIC is configured (with Win7) , but since it's never gotten a "ping" from the embedded system, it seems the launching pyftpdlib fails (see below).  If I then power up the embedded system, after a few seconds, it fails to netboot from my PC, but it has sent some low level "pings" , enough to apparently place the NIC in some different state (to Window 7's liking).  So that if I try again to start pyftpdlib , THEN it succeeds.   I don't have this problem when I run the standalone WFTPD tool.  Is there a work around? What's the difference?  Thanks.
Here's output when it fails
_Process Process-5:
Traceback (most recent call last):
File "multiprocessing\process.py", line 258, in bootstrap
File "multiprocessing\process.py", line 114, in run
File "ethernet.py", line 31, in ftpd
File "site-packages\pyftpdlib-1.5.4-py2.7.egg\pyftpdlib\servers.py", line 114, in init
File "site-packages\pyftpdlib-1.5.4-py2.7.egg\pyftpdlib\ioloop.py", line 1018, in bind_af_unspecified
error: [Errno 10049] The requested address is not valid in its context
Here's good output, as a sanity check. It does work is I use <IP_ADDRESS>
INFO:pyftpdlib:>>> starting FTP server on <IP_ADDRESS>:21, pid=3616 <<<
INFO:pyftpdlib:concurrency model: async
INFO:pyftpdlib:masquerade (NAT) address: None
INFO:pyftpdlib:passive ports: None
DEBUG:pyftpdlib:poller: 'pyftpdlib.ioloop.Select'
DEBUG:pyftpdlib:authorizer: 'pyftpdlib.authorizers.DummyAuthorizer'
DEBUG:pyftpdlib:handler: 'pyftpdlib.handlers.FTPHandler'
DEBUG:pyftpdlib:max connections: 512
DEBUG:pyftpdlib:max connections per ip: unlimited
DEBUG:pyftpdlib:timeout: 300
DEBUG:pyftpdlib:banner: 'pyftpdlib 1.5.4 ready.'
DEBUG:pyftpdlib:max login attempts: 3
This is how I start it in my main program, as a subprocess that  I can kill at anytime,
...
proc = Process(target=ftpd, args=(ip,))
proc.start()
...
proc.terminate()
...
def ftpd(ip):
authorizer = DummyAuthorizer()
authorizer.add_anonymous(os.getcwd())
handler = FTPHandler
handler.authorizer = authorizer
authorizer.add_user('ba5020blue', 'test','C:\FMC_LOAD',perm="elr")
server = FTPServer((ip, 21), handler)
logging.basicConfig(level=logging.DEBUG)
server.serve_forever()

Using IP address '<IP_ADDRESS>' solved the problem


Changed AgreedExtensionApplicantController to notify all parties

https://tools.hmcts.net/jira/browse/CMC-1961
Changed AgreedExtensionApplicantController to notify all parties/
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

Approved.


Selection is captured

Hi this is my first time openning an issue in an open-source project. Fix me if I am wrong.
Describe the bug
Selected text is captured in the image copy.
To Reproduce
Steps to reproduce the behavior:

Fill the text field with some text
Select a part of the text
Copy the image and see it

You can use bellow code and select the second line.
  public Vector2(Vector2 other) {
      this.x = other.x;
      this.y = other.y;
  }

Expected behavior
Maybe it's too selfish but personallly I don't want to have the selected text in the output image. However it can be useful somehow. It can be mentioned in https://carbon.now.sh/about if it's a feature.
Screenshots

Info

OS: Windows 11
Browser: Chrome latest

This is intentional! If you don't wan the selection text to show up in the image, just undo the selection 🙂


SIGABRT when terminating integration tests

How to reproduce:

Change -k at 476th line of tizen_device.dart to -t and Kill appId at 478th line to Terminate appId.
Go to plugins/packages/battery_plus/example.
Run integration_test on a wearable emulator.
See the following error.

All tests passed.
I/ConsoleMessage(11351): flutter: 00:00 +0: Can get battery level
I/ConsoleMessage(11351): flutter: 00:00 +1: (tearDownAll)
I/ConsoleMessage(11351): flutter: 00:00 +2: All tests passed!
E/ConsoleMessage(11351): Thread removed[0x8189bd10 pid:11351 tid: 11351] from display:0x8189e090, threads_cnt=0
E/ConsoleMessage(11351): pure virtual method called
E/ConsoleMessage(11351): terminate called without an active exception
E/ConsoleMessage(11351): onSigabrt called

This error is not always reproducible. You may have to run multiple times.

Here is the stack trace from the latest published embedder (d86ec05):
* thread #1, name = 'Runner.dll', stop reason = signal SIGABRT
  * frame #0: 0xb7733a49 [vdso]`__kernel_vsyscall + 9
    frame #1: 0xb737db96 libc.so.6`___lldb_unnamed_symbol204$$libc.so.6 + 214
    frame #2: 0xb737f3fd libc.so.6`___lldb_unnamed_symbol253$$libc.so.6 + 365
    frame #3: 0xacaa2fe7 libflutter_tizen.so`abort_message + 71
    frame #4: 0xacaa3034 libflutter_tizen.so`__cxa_pure_virtual + 36
    frame #5: 0xaca5815a libflutter_tizen.so`flutter::TizenEventLoop::ExcuteTaskEvents(std::__1::chrono::duration<long long, std::__1::ratio<1ll,<PHONE_NUMBER>ll> >) + 538
    frame #6: 0xaca584ed libflutter_tizen.so`flutter::TizenEventLoop::TaskTimerCallback(void*) + 45
    frame #7: 0xb6cc0773 libecore.so.1`___lldb_unnamed_symbol712$$libecore.so.1 + 51
    frame #8: 0xb6913b08 libeo.so.1`___lldb_unnamed_symbol120$$libeo.so.1 + 712
    frame #9: 0xb690bd61 libeo.so.1`efl_event_callback_call + 145
    frame #10: 0xb6cc23b2 libecore.so.1`___lldb_unnamed_symbol732$$libecore.so.1 + 258
    frame #11: 0xb6cc25c7 libecore.so.1`___lldb_unnamed_symbol733$$libecore.so.1 + 55
    frame #12: 0xb6c85072 libecore.so.1`___lldb_unnamed_symbol102$$libecore.so.1 + 66
    frame #13: 0xb6c8a994 libecore.so.1`___lldb_unnamed_symbol178$$libecore.so.1 + 36
    frame #14: 0xb6c896bb libecore.so.1`efl_loop_iterate + 123
    frame #15: 0xb6c84002 libecore.so.1`ecore_main_loop_iterate + 34
    frame #16: 0xaecff595 libelementary.so.1`elm_shutdown + 117
    frame #17: 0xb0ea4121 libappcore-efl.so.1`___lldb_unnamed_symbol11$$libappcore-efl.so.1 + 177
    frame #18: 0xb0e90b2f libappcore-ui.so.1`appcore_ui_base_fini + 319
    frame #19: 0xb0ea4687 libappcore-efl.so.1`appcore_efl_base_fini + 23
    frame #20: 0xb0ea9840 libcapi-appfw-application.so.0`ui_app_main + 208

The TizenEventLoop-related code has recently been refactored by https://github.com/flutter-tizen/engine/pull/213 so I'm not sure if the issue is still there. (I ran the test more than 10 times but couldn't reproduce the error.)
I'll close this for now. Please reopen if the error is encountered again.


The prompt should be put after the end of the messages of stdout or stderr that an application is writing to

Steps to reproduce
Start an application in verbose mode that writes to stdout or stderr; I am not sure where whether it is writing to stdout or err.
After application writes some stuff to the prompt, try to type a command and we will see texts are being typed on top of the output of previous application.
Start MyVerboseApp
... verbose messages ....
......... .....
... verbose messages ....
...... my prompt ........
... verbose messages cont ....
... .... ....
... verbose messages ends ....

Expected behavior
prompt should go after the output
... verbose messages ....
... .... ....
... verbose messages ends ....
PS > my prompt

Actual behavior

Start MyVerboseApp
... verbose messages ....
......... .....
... verbose messages ....
...... my prompt ........
... verbose messages cont ....
... .... ....
... verbose messages ends ....

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.18362.145
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.18362.145
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Start is a built-in alias for Start-Process, and Start-Process launches a process asynchronously.
If  you combine that with -NoNewWindow (which is implied on Unix-like platforms) and the launched process is a  console application, its output will appear at random times.
To avoid that, use -Wait to ensure synchronous invocation, though note that if you simply want synchronous execution of a console application, there's no need to use Start-Process at all - just invoke the program directly.
If you didn't actually use start / Start-Process, please clarify your invocation scenario.
Generally, please remember that this repo is for PowerShell Core issues only.


[Fabric] RCTSurfaceTouchHandler for macOS

Please select one of the following

[ ] I am removing an existing difference between facebook/react-native and microsoft/react-native-macos :thumbsup:
[ ] I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos :thumbsup:
[x] I am making a fix / change for the macOS implementation of react-native
[ ] I am making a change required for Microsoft usage of react-native

Summary

Update the RCTSurfaceTouchHandler to support mouse events on macOS Fabric and convert them to touch events.
Changelog

[macOS] [Added] - Touch events for Fabric
Test Plan

[x] Build RNTester-macOS w/ Fabric

[x] Click around RNTester-macOS w/ Fabric
https://user-images.githubusercontent.com/151054/214643298-c550a516-2710-40a1-8025-d4f5f9431bdb.mov
[x] Build RNTester - iOS w/ Fabric

[x] Build RNTester-macOS w/ Paper

[x] Build RNTester - iOS w/ Paper

@microsoft-github-policy-service agree [company="Facebook"]

@microsoft-github-policy-service agree company="Facebook"


[assembly: AddInAuthor] doesn't work?

In following the above example, if I change the string in AddInAuther, ex:
[assembly: AddinAuthor("Mikayla Hutchinson")]

to anything else, ex:
[assembly: AddinAuthor("Mikayla HutchinsonX")]

the extension does not appear to be installed.

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

ID: bc52ec0c-7053-51d0-c576-2d8ce60cf198
Version Independent ID: 8bb8155e-d615-5ea8-cd83-3820f8484b43
Content: Extending Visual Studio for Mac Walkthrough - Visual Studio 2019 for Mac
Content Source: mac/extending-visual-studio-mac-walkthrough.md
Product: visual-studio-mac
Technology: vs-ide-sdk
GitHub Login: @conceptdev
Microsoft Alias: crdun

Never mind.  It appears that a Build / Clean all is necessary before changing the AddInAuthor.


How to synchronize states of MediaPlayer  and Local player?

We want to use our own Local Player to play cues and other music files. How to synchronize the status?
For example, we want to play cues like  "wifi disconnected" while the other music is  playing by MediaPlayer in AVS, how to stop or pause the MediaPlayer ?  After the cues finish playing, MediaPlayer have to resume. How to deal with this situation? thank you : )

Hi @dreamforever,
This is a great question, and your use case is exactly what FocusManager (AFML) is designed for.  FocusManager is responsible for managing interactions between different audio channels so that the user experience is seamless and intuitive.
AVS specifically calls out three logical channels:

Dialog
Content
Alerts

The FocusManager constructor defaults to creating these three channels, but you can modify the SDK to add additional channels for your own use cases, if the existing channels do not fit your needs.  In general, you want to choose an appropriate channel for your audio, and then acquire/release that channel when you want to play something.
Some relevant links:

For choosing an appropriate channel, I would read the AVS documentation on channels, which you can find here.
For more detail on the SDK implementation of channels, you can read about FocusManager here.
If you elect to add a custom channel, you will need to modify DefaultClient, as the channel list is not currently exposed.  DefaultClient instantiates FocusManager (here)[https://github.com/alexa/avs-device-sdk/blob/6ec9cc785ceb7e9b7e9ff9eaa7be6889d3309808/ApplicationUtilities/DefaultClient/src/DefaultClient.cpp#L110].  You would need to change that line to pass an extended list of channels, rather than using the default list.

Please reopen this issue if you have more general questions, or open a new one with any specific questions that come up while working through this.
Ken

two questions:

your means to modify the SDK, but how to update the sdk if we modify the sdk
can the FocusManager be inherited?  there is no virtual destructor.
how I trigger the channels which I extend,  should I add a  Capability Agent for process the local directive


V2 missing the provided key: search_tweets_api

Describe the bug
looks like v2 is looking for the old config gile
To Reproduce
python3 -m venv env
source env/bin/activate
pip3 install searchtweets-v2
search_tweets.py
--credential-file creds.yaml
--max-tweets 1000
--results-per-call 100
--query "from: SOMEBODY"
--print-stream
ERROR:searchtweets.credentials:anna-creds.yaml is missing the provided key: search_tweets_api
ERROR:searchtweets.credentials:Your credentials are not configured correctly and  you are missing a required field. Please see the  readme for proper configuration
cat creds.yaml
search_tweets_v2:
endpoint:  https://api.twitter.com/2/tweets/search/all
consumer_key: X
consumer_secret: X
bearer_token: X
Expected behavior
Docs say search_tweets_v2 should work. Looks like using some v1 behavior
Environment

OS: macOS Big Sur
Python 3.7.8

Additional context
Really just want a command line tool for v2. way to hard

Update looks like readme is wrong: search_tweets_api as key does work. Am I just using v1 API? TBD.

i have the same issue

@kbrown hold on i think i got it - try adding --credential-file-key search_tweets_v2
It seems that --credential-file-key is the yaml key inside the credential file where the credentials ought to be stored. it defaults to search_tweets_api which is a v1.1 vestige, which shouldn't be there

#111

@lk251 I verified that I am using the v2 parser and that the 1.1 key default search_tweets_api doesn't mean other dependencies are using incorrectly using 1.1 as I had feared.  So this is likely a bad default or documentation issue only.

@kbrown no worries, thanks for bringing it up, it helped to see it wasn't just me. My bad - I didn't check if other dependencies were using 1.1, I just saw that it ran. I'm sure that when the maintainers see this they'll be able to verify. Cheers!

Hi @Ik251 and @kbrown... I updated the default creds key to be "search_tweets_v2" as mentioned in the README. Also corrected a few instances in the README that referred to 'search_tweets_api." Sorry that was inconsistent and thanks for pointing that out!

cool, cheers!


fix: create order request example amount field incorrect type

I find out that the example CreateOrderRequest has a field number which wrong type, number instead of string. So this MR will fix that.
Note: I test this by code as the image below

Please take a look anh @anhldbk
IMHO if amount field goes along with currency or describes the default currency as VND will be better.

@leonthaibao PTAL

Thanks @thanhtinhpas1 for your contribution.
About adding more description to the example of the readme. Because the default currency is VND so we don't have to add the currency field and the document should have precise detail on how to use the function not on the SDK readme. So for now, we will link the document to our SDK


tls: fix error log message for invalid cipher suite name

Commit Message:
When the TLS library rejects a list of cipher suites, Envoy
tries each one to try to log which ones caused the failure. The
code to split the list was incorrect, resulting in parts of cipher
suite names being tried, and nothing useful being logged.
Signed-off-by: Greg Greenway<EMAIL_ADDRESS>Additional Description:
Risk Level: Very low
Testing: Adding UT
Docs Changes: None
Release Notes: Not needed
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

Looks like might need a tidy fix.
/wait

I'm impressed with what clang-tidy found, and that it gave exact instructions for how to fix it. This is pretty awesome!
Diagnostics:
- DiagnosticMessage:
    FileOffset: 3941
    FilePath: source/extensions/transport_sockets/tls/context_impl.cc
    Message: use absl::StartsWith instead of find() == 0
    Replacements:
    - {FilePath: source/extensions/transport_sockets/tls/context_impl.cc, Length: 0,
      Offset: 136, ReplacementText: '#include "absl/strings/match.h"

        '}
    - {FilePath: source/extensions/transport_sockets/tls/context_impl.cc, Length: 25,
      Offset: 3941, ReplacementText: 'absl::StartsWith(cipher_str, "-")'}
  DiagnosticName: abseil-string-find-startswith
- DiagnosticMessage:
    FileOffset: 3957
    FilePath: source/extensions/transport_sockets/tls/context_impl.cc
    Message: '''find'' called with a string literal consisting of a single character;
      consider using the more effective overload accepting a character'
    Replacements: []

I think the TSAN failure was a flake; it's in hotrestart.

The ASAN failure in this build is the same as the TSAN failure in my previous build: timeout in hotrestart test.

I tried accepting @mattklein123 's suggestion but ended up with the wrong DCO and had to force-push. I think it would have worked, but I copied a DCO sig from the description up above, and the GH markdown renderer took the angle-brackets off.


time difference between desktop & tab

when I am opening the page in tab timer difference is there

/* date = "2015-12-24 12:35:00"; */
$("#time_counter").countdown(date)
.on('update.countdown', function(event) {
$(this).text(
event.strftime('%-Dd %H : %M : %S')
);
});
In desktop its displaying,
2d 23 : 26 : 20
In tab its displaying
2d 23 : 26 : 03
why time difference is there between desktop & tab?

Have no idea pal! I can confirm the issue even on my example site:


Support for page anchors.

If I create an alias for a page, is there a way to cross-reference a page anchor using an alias?
For e.g.,
test.md
Refer to the  [[devguide-page-ref|developer guide]]#install-section for more details
devguide.md

alias: devguide-page-ref

Some Title
Yada Yada Yada
Installation
Yada Yada Yada
Debug
Yada Yada Yada
I tried via [[devguide-page-ref|developer guide]]#install-section as well as [[devguide-page-ref#install-section|developer guide]] But the generated link is incorrect.

The plugin currently doesn't support anchors, but adding support should be easy enough. I will update this issue with more info once it's complete.

Support for page anchors is now available in version 0.6.0 available on PyPI. The syntax is:
[[devguide-page-ref#install-section|developer guide]]

This would link to devguide.md#install-section.
I've kept the anchor and the alias together since it's the bit that identifies which page to link to.

Thanks @EddyLuten for the prompt response!


How can I add an image with input type file?

How can I add an image with input type file?

Hi @uguraltinsoy when you use the builder you can use $builder->logoPath($path) and if you work without the builder you can pass the path as argument in $logo = Logo::create($path). Good luck!


Update version: MarkText.MarkText version 0.17.1

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/115129&drop=dogfoodAlpha

@wingetbot run

@wingetbot run


[VS Code] Joining collaboration session: Unable to join the host due to an authentication error. Verify the host is online, then sign out and sign in again and retry.

%0A%0A%23%23 Error:%0AJoining collaboration session: Unable to join the host due to an authentication error. Verify the host is online, then sign out and sign in again and retry.%0A%0A%23%23 Steps to Reproduce:%0A1.%0A2.%0A%0A||Version Data|%0A|-:|:-|%0A|**extensionName**|VSLS|%0A|**extensionVersion**|1.0.337|%0A|**protocolVersion**|2.2|%0A|**applicationName**|VSCode|%0A|**applicationVersion**|1.35.0|%0A|**platformName**|Windows|%0A|**platformVersion**|10.0.17763|

Hi, @Hu-Wentao , thank you for reporting the issue. Would you give us some more information to investigate ? Does this consistently happen for you or happened once ? did resigning in work? Also , your logs may provide us with helpful information. You can access them via the "Live Share: Export Logs" command from the command palette (ctrl + shift + p) and attach them to the issue. I am consolidating the issue with #433 . Please attach your logs there and help us to investigate.

emmm.... This may be caused by the closure of Host VSCode. I have solved this problem so far. thank you.


Fix grammar on InvalidRecord error

The wording here is a copy of what's in Kafka itself, but it's fine to update.


Wait for credentials to be present

In some cases such as G Suite requiring some users to be re-authed every N
hours, creds won't be present in the Cloud Shell. This patch adds a 2-minute
wait to the experience, with an indicator telling user to authenticate.
Internal bug: 154573156
cc: @jamesward

Nice!  Thanks for doing this.  I tried this out in the docker container and got a crazy error when it tried to do the build:
[ ✖ ] Failed to build container image.
Error: attempted to build and failed: docker build failed: exit status 2, output:
Sending build context to Docker daemon  437.2kB
Step 1/9 : FROM golang as builder
 ---> 25c4671a1478
Step 2/9 : WORKDIR /go/src/cloudrun/hello
 ---> Using cache
 ---> 09706419d7be
Step 3/9 : COPY . .
 ---> 6756817e4030
Step 4/9 : RUN CGO_ENABLED=0 GOOS=linux go build -v -o hello
 ---> Running in 39a46abeeebc
runtime: mlock of signal stack failed: 12
runtime: increase the mlock limit (ulimit -l) or
runtime: update your kernel to 5.3.15+, 5.4.2+, or 5.5+
fatal error: mlock failed
...

Maybe this is something with my environment or maybe something has changed with the base Cloud Shell image?

BTW, this worked fine not in the docker container.

Maybe this is something with my environment or maybe something has changed with the base Cloud Shell image?

This docker build in the CI is giving too many issues. This is most likely a false negative. I suspect it might work fine on GCB, as it seems it depends on kernel version.

Do you think that message is from my host machine because I'm mounting my docker socket?

Hard to tell. I haven't seen this sort of error message from go compiler before, but looks like memory issue.

I tried this on Cloud Shell and didn't get the error.  So it seems like just something with my env.  I'm getting another error though...  Troubleshooting now.

Error is unrelated: https://github.com/GoogleCloudPlatform/cloud-run-button/issues/164


[Question] Material UI Next

Has anyone implemented Material UI Next using React Universally with SSR?

@martinop I got material-ui@next working in my react-universally app no problem, just followed their getting started directions.
The only thing I did differently than the directions is
import 'typeface-roboto/index.css' following the normalize.css line in the app/index file


Add support for IDN (punycode) handles

Currently, all @handle.tld are displayed in their ASCII form. This is fine for most domains, but some TLDs accept IDN domains and it'd be nice to support them fully. I found at least one other issue https://github.com/bluesky-social/social-app/issues/6354 discussing this.
Of course, this opens the can of worms that are IDN homograph attacks.
I'm implementing a strategy similar to Firefox and Chrome : detect what "scripts" are being used in the IDN domain label and forbid mixing problematic scripts. In those cases, the punycode (ASCII) version of the label is shown instead. I've also added detection for the uppercase i, which can be mistaken for the lowercase l in many fonts. There are certainly more to add.
The security of this feature can't be taken lightly, and I hope this PR can create a discussion to progress this issue forward.

this is really cool, are you basing this off Chrome/Firefox's exact behavior or just the general idea of what they're doing?

this is really cool, are you basing this off Chrome/Firefox's exact behavior or just the general idea of what they're doing?

Just the general idea.
I've read https://bugzilla.mozilla.org/show_bug.cgi?id=1332714#c17 to understand the attack, and what Firefox considers their responsibility to filter.
Arguably it's the responsibility of Registrars to make sure people are not registering domains that are confusable. But in practice, those domains can be registered. So the status quo is that it's up to browsers and apps to carefully sanitize IDN domains and minimize the confusion potential with ad-hoc filters.

It might be a good idea to open up a discussion about this in the atproto repo:
https://github.com/bluesky-social/atproto/discussions

It might be a good idea to open up a discussion about this in the atproto repo:
https://github.com/bluesky-social/atproto/discussions

I'm reading the AT Proto Handle spec and it seems they already took a position on IDN handles.

Internationalized Domain Names ("IDN", or "punycode") are not directly relevant to the low-level handle syntax. In their encoded form, IDNs are already valid hostnames, and thus valid handles. Such handles must be stored and transmitted in encoded ASCII form. Handles that "look like" IDNs, but do not parse as valid IDNs, are valid handles, just as they are valid hostnames. Applications may, optionally, parse and display IDN handles as Unicode.

@surfdude29 Do you think ATProto needs to standardize the filters apps should use to avoid IDN homograph attacks? Maybe ATProto can standardize what the security goals are. On the other hand, standardizing a specific implementation sounds unwise when you want to be able to react to novel attacks with new code / checks.

@drash-course I didn't know about that part of the ATProto handle spec tbh, so I may well have been over-cautious in suggesting it would be a good idea to discuss it over at the atproto repository as well.
However, I think you have raised some excellent points in your post there, and I hope that others who know a lot more about it than me (including Bluesky team members like @bnewbold) see it and are able to give feedback.

I'm working on a more standard sanitization algo that follows https://wiki.mozilla.org/IDN_Display_Algorithm, and I'll add tests. I'll update this PR when it's ready, hopefully in a few days.


feaLib: misnamed function in builder_test.py

There are two functions called test_alternateSubst() in feaLib/builder_test.py.
The second test_alternateSubst() should be called test_multipleSubst().

Ping @brawer

Because of the redefinition, one of the test cases is being skipped.
I'm merging this.

:+1:


Rename serialize the collapse key as collapseKey

The collapse key should be collapseKey according to https://firebase.google.com/docs/cloud-messaging/concept-options#collapsible_and_non-collapsible_messages
But it also states that it should be "collapse_key in legacy protocols (all platforms)", I have no idea what this means, so I added a property such that collapse_key is also included in the request.

Maybe you can call it CollapseKeyLegacy instead of CollapseKeyOld, then I would be fine to merge! 🌞

Sure, that's a better name. I've renamed the property.

@terkill Could you give CollapseKeyLegacy its own property? It's because I don't want to have both keys automatically serialized, when the CollapseKey Property is set. Let's make it explicit, so people need to be using CollapseKeyLegacy explicitly.

Hmmm... I spent some time trying to make sense of it. Do you have problems using collapse_key and need to replace it with collapseKey? Or is it only based on the documentation?
A source of truth has always been the Firebase Admin SDK for Java for me and it doesn't contain a collapseKey JSON property at all:

https://github.com/firebase/firebase-admin-java/search?utf8=✓&q=collapseKey&type=

🤔
What do you think?

In the API reference there is only the collapse_key. I think the collapseKey was only an error in the examples. I don't feel safe to merge, because the official APIs also lack it:

https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#AndroidConfig

Feel free to reopen, if you have additional information for me. 🙏


how to deal with Wikidata timeout?

Wikidata has a brutalistic timeout of 1 min: it may even cut a response in the middle, making it invalid.
I think that many of the queries in https://github.com/google/schemarama/tree/main/kgx/wikidata/basic will hit that timeout.
How to deal with it?
We have some code that first gets IDs, then batches them up into reasonable pieces to fetch the extra data...

Sorry for delayed response.
The original idea with those files was to use something like https://addshore.com/2019/10/your-own-wikidata-query-service-with-no-limits/
there are also big discussions around Wikidata about migrating beyond blazegraph somehow.
In fact one of the motivations to collaborate around focussed subsets was just these scaling issues

Closing for the reason just mentioned in your other issue. Core Schemarama isn't yet engaging with Wikidata (but we'll get there!). You might be interested in https://www.wikidata.org/wiki/Wikidata:Query_Service_scaling_update_Aug_2021 and nearby if you hadn't already seen that effort.


monthPickerFormat on Modal Mode

I would like to change the monthPickerFormat when using Modal Mode, but it is only valid when using <ion-calender [options]="options">

LOCALE_ID revolved !!!!


Set up app to render templates

As a user, I want to be able to view the home and dashboard pages in the browser

App is set up to render templates now!


[Bug]: Cannot use Current Value to set environment variables in CoE, must use Default Values.

Describe the bug
After an update of the Core Components from 1.44 to 1.60 the environment variable "admin_AdminMail" does not seem to have a valid value anymore. Thus, the flow "Admin | Sync Template v2 (Sync Flow Errors)" fails with the following message:

I can open the variable within the solution, but it shows me an empty value:

Adding a new current value does not save, no matter how often I click on the button:

I've seen this thread: https://github.com/microsoft/powerapps-tools/issues/432
Accordingly, I've deleted the line from Excel and was able to set it afterwards to a new value, but then I have the very same behaviour.
It does not work either to directly modify the data value within the CDS entity:

No matter what I put in there, the flow cannot read the value for "admin_AdminMail".
Any help on that? Currently, this behaviour occurs for a client of ours as well as on our test tenant. The only workaround I see is editing the flow and adding a local variable with the admin's email address.
Thanks a lot!
Component (please tell us which flow or app you are experiencing issues with):

Solution: Core
Version: 1.60 (updated from 1.44)
App or Flow: Admin | Sync Template v2 (Sync Flow Errors)

To Reproduce
Steps to reproduce the behavior:

Upgrade from 1.44 to 1.60
Execute flow "Admin | Sync Template v2 (Sync Flow Errors)" with sync errors present (i.e. a mail needs to be sent to the admin)
See error

You need to set the Default value, not the current value.
When the flows were made, current values were not yet accessible in flow and so we relied on Default.
We do have a backlog item to update this but for the near term, you will need to continue setting Default Value.

Hello Jenefer,
thanks for your quick reply.
Unfortunately, it is not possible to set the default value. Just as in thread https://github.com/microsoft/powerapps-tools/issues/432 the entry/ the default value does not save.

The UX shown there (still referencing a Current Value) indicates that you did not remove all the current values in the list.
You can have more than one current value.
Please go and ensure that you deleted all instances of current values from that table.

Sorry, I think I might not have mentioned this in my entry above - I did indeed perform these steps/ the deletion in Excel before, but to no effect.
I'll try again:

I delete the row:

I publish the changes:

I close the workbook and move back to my solutions. I need to set the variable again:

I click on "See environment variable" and add new data:

After saving and closing and then reopening the environment variable, I get the same behaviour:

Am I missing something here?

yes it appears that biz bar now sets the current value instead of the default one.
Can you please 1-2 again, and then set the default value without using the biz bar ux?
You can do by opening the default solution for the environment, and set the Type filter to Environment variable.

Okay, thanks - I'm trying this:

I've deleted the row in Excel.

Back in the solution:

Edit is inactive again:

Clicking on the variable's name unfortunately gives me the same dialog as before:

Yes but see how it now no longer says something about a current value being removed ? That means it's gone now while you are here.
Does setting the default in this new state still not work?

Yes, there is a difference, indeed - didn't notice that :)
But unfortunately, saving does not do anything:

The dialog does not close.
Cancelling asks me:

So I apparently cannot save that value

I see. Well unfortunately this is a product issue, not an issue with our toolkit.
And we have exhausted my workarounds which usually fix it.
You will need to create a ticket with support to engage. Please let me know what you hear.

This should be working now. There was a product bug that has been resolved. Please return to the ticket if you still see this