[Databox] Added mitigate api to resolve errors raised by job

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[x] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet. - APRIL
When you expect to publish swagger? Please provide date, or month to public if date is not available yet. - March 27th
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[x] SDK of .NET (need service team to ensure code readiness)
[x] SDK of Python
[x] SDK of Java
[x] SDK of Js
[x] SDK of Go
[x] PowerShell
[x] CLI
[x] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[ ] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

For future PRs please follow this guidance from the PR description:

Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.


[incubator/etcd] Change listen urls to have an IP which is required in etcd3

What this PR does / why we need it:
This removed the hostname from the --listen flags. This will make the chart work with etcd 3 as well as etcd 2.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @lachie83

/ok-to-test

/lgtm


Support multiple languages

I think it's important that issue happens first, because it's likely to cause merge conflicts with other PRs. Maybe after we have a list of translations we do this directly?

Currently working on it. We should probably at least support english as well.

Need help implementing i18n?

We can use the same proposed google sheet to translate to english and dutch, a column each. Then we can use that to expand to other languages too.

@ian-starts Thanks for asking, I can set up the basic stuff first. It would be great if we could start translating in a google sheet. @michaelmcmillan could you look at translating Norwegian -> English?

Yes, I can translate from Norwegian to English

Any comments on this approach? https://github.com/BustByte/coronastatus/pull/169
Yell out if you have any other thoughts

@Kilian did you create a spreadsheet?

Here's the plan:

Here is the google sheet, I'll start copying strings over from the EJS files.
There are four columns: KEY, Norwegian, which I'll copy over, and empty Dutch and English
Filling in the Dutch and English translation is a free for all:

empty space: click on it so it's locked, find the translation, fill it in, move to the next
filled translation: click on it so it's locked, check if you agree, then make the cell green. If you don't agree, update and someone else will check

This way, translations are seen by at least two people without it being a hassle or blocking.

Green translations can be added to the repo. Not sure what the best course of action for that is (considering prevention of merge conflicts on the translation files) but maybe someone has an idea there (like, add the KEY to the sheet first? i dunno)


Buildings - constructing halfway through the floor (plane)

Hi all,
When asking a builder to construct a building, the building cursor is created (which is above the plane) and when building placement is confirmed, the building is sometimes placed above the plan (as it should be) or it is placed halfway through the plane (which is incorrect). Just wondering if anyone else has faced this or might have a solution?
The first image shows the building being constructed halfway through the floor:

This image shows the setup of the builder unit (I have placed the capsule collision as the root of the unit so that collision actually works - I found unless doing this, the unit walks through all other actors):

The second image shows the setup of the building (as above, I have placed the box collision as the root of the building so that collision actually works):

I have tried adjusting the builder and the building collision heights, mesh locations etc. and so far nothing seems to have worked. Any help would be appreciated.

Hey @Zimbo1786 !
That's odd, especially with the building cursor showing correct locations. Here's the code path that's used for placing the construction site:

ARTSPlayerController::ConfirmBuildingPlacement
ARTSPlayerController::IssueBeginConstructionOrder
... some routing to the server and behavior tree execution
URTSBuilderComponent::BeginConstruction

You might wanna investigate along these lines to find out where the building locations gets wrong.
Hope that helps!

Hi @npruehs ,
Thanks for the tips, I have looked and I created a few extra logging steps and it looks like the building does not have a valid index number.
The code is here in the ARTSPlayerController::IssueBeginConstructionOrder
for (auto SelectedActor : SelectedActors)
{
    if (!IsValid(SelectedActor) || SelectedActor->GetOwner() != this)
    {
        continue;
    }

    BuildingIndex = URTSConstructionLibrary::GetConstructableBuildingIndex(SelectedActor, BuildingClass);

    if (BuildingIndex != INDEX_NONE)
    {
        UE_LOG(LogRTS, Log, TEXT("Ordered actor %s does not have a valid BuildingIndex %s."), *SelectedActor->GetName(), *BuildingClass->GetName());

        break;
    }
}

BuildingIndex != INDEX_NONE indicates a valid building index :)

Hi @npruehs,
Thanks for that - just a question then as still learning C++, with the code below:
bool ARTSPlayerControllerSkirmish::IssueBeginConstructionOrder(TSubclassOf BuildingClass, const FVector& TargetLocation)
{
// Determine index.
int32 BuildingIndex = INDEX_NONE;
for (auto SelectedActor : SelectedActors)
{
    if (!IsValid(SelectedActor) || SelectedActor->GetOwner() != this)
    {
        continue;
    }

    BuildingIndex = URTSConstructionLibrary::GetConstructableBuildingIndex(SelectedActor, BuildingClass);

    if (BuildingIndex != INDEX_NONE)
    {
        UE_LOG(LogRTS, Log, TEXT("Ordered actor %s does have a valid BuildingIndex %s."), *SelectedActor->GetName(), *BuildingClass->GetName());

        break;
    }
}

if (BuildingIndex == INDEX_NONE)
{
    UE_LOG(LogRTS, Log, TEXT("BuildingIndex is false %s."));

    return false;
}

FRTSOrderData BeginConstructionOrder;
BeginConstructionOrder.OrderClass = URTSBeginConstructionOrder::StaticClass();
BeginConstructionOrder.TargetLocation = TargetLocation;
BeginConstructionOrder.Index = BuildingIndex;

UE_LOG(LogRTS, Log, TEXT("BeginConstructionOrder at %s."), *BeginConstructionOrder.TargetLocation.ToString());

return IssueOrderToSelectedActors(BeginConstructionOrder);

}
Where the BuildingIndex != INDEX_NONE, and it is a valid building index, with the break in the function - does this skip the rest of the code in the bool function or does something else? Is it similar to the continue in the SelectedActor section?

So I have been able to look through the code and compare line by line for the plugin in my project and for the RTSProject and all is looking like it lines up. I have also checked the Behaviour Trees and the Orders to ensure that there is nothing going on there and again both comparisons are okay.
What I have noticed in the logs is that when the building is through the plane (incorrect), the Z value is -0.00 and when it sits above the plane (correct), it has a Z-value of +0.00. Not sure if this is leading me back to the Skeletal Mesh and it's positioning to the capsule....

Hey @Zimbo1786 ,
that all sounds very odd to me. I vaguely recall a similar issue at the very beginning of A Year Of Rain, but I'm not sure what the reason/solution was.
Can you share a minimum repro?
Thanks,
Nick

Hey @npruehs,
I have finally found out what the issue was - nothing to do with the code or orders, but was to do with the box collision on the building and under the Collision section:
-> Collision Presets (when set to OverlapAllDynamic, the building stays above the plan every time, however when set to Custom and set it to WorldDynamic and set the block to WorldDynamic, the building then goes through the floor).
Trying to come up with a collision preset that allows the building to block pawns, but also stay above the plane - will keep trying, but consider the issue closed.
Image below:

Closing so as to keep it around for anyone with similar issues can see and resolve.


style(createscheduledroommodal): the Date input functions as a button…

… but didn't have cursor-pointer
I've changed the cursor styling to pointer for Datepicker in CreateScheduledRoomModal. The input
functions as a button so I thought that it should have a cursor pointer

use tailwind


sometimes only photo or post text of video

I am using instafix for 1 week and I think reason with this problem is account itself . I just send myself 80 links(dd) and 72 links perfectly fine but 8 is problem . I just want to understand what problem is and I think I figured out .
for example I tried to download this "https://www.instagram.com/reel/C09k0z5vRG3/" and failed . only post text is showing up in telegram . if you go to post account ("https://www.instagram.com/suzanramic/") all video links are not working . every video link with dd is same ... only post text I can see , like this .

I’m having the same issue

Sometimes when video size is bigger than 20MB, Telegram refuses to embed it, https://www.instagram.com/reel/C09k0z5vRG3/ have 20.3MB video size


Performance issues in the definition of read_and_decode_cpm, utils/tf_utils.py

Hello, I found a performance issue in the definition of read_and_decode_cpm, utils/tf_utils.py, tf.parse_single_example will created repeatedly during program execution, resulting in reduced efficiency. I think it should be created before the loop in read_and_decode_cpm.
The same issues also exist line 24-26 , line 36, 42, 45, 48, 49, 50, 68, 74, 76,
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.

@timctho Hi, bro, could you consider my issue asap?


raise warning when we detect Block inside nested list/dict

Since we do not automatically register the Blocks inside a list/dict, the code will have bugs if the user tries to insert class attributes like self.layers = [Block, Block, ...] or self.layers = {'a': Block, 'b': Block}.
Now, we generate warning when the user calls Block.collect_params() and we find some containers contain the Blocks. The warning message will recommend the users to register the Blocks manually or use nn.Sequential instead.
Example:
import mxnet as mx
from mxnet import gluon
from mxnet.gluon import nn

class Model(gluon.Block):
    def __init__(self, **kwargs):
        super(Model, self).__init__(**kwargs)
        with self.name_scope():
            self.layers = [nn.Dense(i * 10) for i in range(6)]

model = Model()
model.collect_params()

/home/ubuntu/mxnet/python/mxnet/gluon/block.py:225: UserWarning: Find "Model.layers" to be a container with Blocks. Note that Blocks inside the list, tuple or dict will not be registered automatically! Make sure to register them using register_child() or use nn.Sequential instead.

Description
Raise warnings when we detect the pattern: Block under nested list/dict
Checklist
Essentials

[x] Passed code style checking (make lint)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Add warning, tests

@szha I've revised the logic to insert the check inside the collect_params() function. In this case, the user will see the warning if he/she calls the model.collect_params() or model.initialize().

CI seems stuck on this one. @sxjscience Maybe do a rebase?


Issue generating frequency or WC

I am an extreme neophyte so I'm sure this is a easy fix, and appreciate anyone willing to show me how. I'm running through anaconda/pycharm and am trying to generate frequencies using the -f command. I've added the urs folder as my interpreter path in pycharm but continually run into a "scrape data is not located within the scrape directory" despite it being located with the scrape directory in the normally generated tree.

Your bug report is currently too vague. Please fill out the bug report template that I have created for this repository. For future reference, do not delete the preset issue template when opening a new issue.
You can either revise this issue by deleting your current comment, paste the template found here, then fill out all the fields, or close this issue and create a new one.
These are the instructions for creating a new bug report:
When you clicked "New Issue", you should have seen the options "Bug Report" and "Feature/Enhancement Request". Click the "Get started" button for the "Bug Report" and fill out all the fields within the pre-loaded template.

Thank you for taking the time to fill out the bug template. Since you said you are new to programming, I did some reformatting based on the information you have included in your initial revision.
I believe this could be an issue that is unique to Windows. Unix-derived operating systems such as MacOS or Linux distributions use the forward slash, /, for its directory paths whereas Windows uses a backslash, \.
The issue may lie in the current code for checking whether the scrape file you have passed into the analytical tools is valid. I will admit, that method needs a refactor and could be the reason why you are experiencing this problem. I develop on and use Arch Linux as my daily driver, so I have not run tests on a Windows machine.
I will have to do some more research before I make changes, but I will see about refactoring that method by using a cross-platform solution instead of one that assumes your machine is Unix-derived if that is indeed the issue, which seems likely. Your issue may be resolved once I merge the new pull request.
My schedule has been busy as of late, so I may not be able to look into this until sometime this weekend. Stay tuned for updates!

I appreciate your time and am sorry I did not fill out the bug form the first time, I figured it was a directory issue. Please do not stress yourself too much over it if there is anything I can do to be of service please let me know. Thanks for posting your awesome work online.

No worries. I checked out your profile and it seems to me you created your account just to open this issue. I respect the effort you have already put in, and it's understandable that you were not aware of some unspoken GitHub "rules" without prior experience.
Thank you, I appreciate the feedback and I am glad you like this project (despite running into this bug)! All I would need from you is to test out the new changes once they are merged to the master branch and comment whether the changes fixed your issue. 🙂

Of course sir! I apologize, I saw the rules I broke afterwards and felt
pretty bad, I'm in my 30s so I'm used to a more "wild west" internet and am
just not starting to come to terms with the new order that more resembles
RL manners. Thank you again for all your hard work, reddit is a huge
compendium of knowledge and your project seems to be the tool I can find to
truly start to tap into it (and you do it free of cost, do you have a
donations program or link?).  I'll test the new build, and in the meantime
I am going to use it on my raspberry pi 4 to avoid the directory issue.
Thank you!
On Wed, Jun 23, 2021 at 7:09 PM Joseph Lai @.***> wrote:

No worries. I checked out your profile and it seems to me you created your
account just to open this issue. I respect the effort you have already put
in, and it's understandable that you were not aware of some unspoken GitHub
"rules" without prior experience.
Thank you, I appreciate the feedback and I am glad you like this project
(despite running into this bug)! All I would need from you is to test out
the new changes once they are merged to the master branch and comment
whether the changes fixed your issue. 🙂
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JosephLai241/URS/issues/40#issuecomment-867216415,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUSBPCAZLQH3NU27J6UBKILTUJSS3ANCNFSM47B4ZAJQ
.

No worries, I understand where you are coming from! I am just glad you found my program useful - it was initially created just for personal use until a friend suggested I upload it on GitHub. I never would have imagined this kind of growth and it is all thanks to you, a member of the open-source community.
I do have a Patreon here if you would like to donate. You can also find it via the Sponsor button at the top of this repository. It is completely optional, but I would be very grateful if you decide to contribute! 😁
URS should work correctly on Raspbian/Raspberry Pi OS, so I believe you will be able to get the data you need when running it there. 👍

I sent you 10 on patreon, I don't have the money to do it monthly but I
wanted to give you something to show I was appreciative! :)
On Fri, Jun 25, 2021 at 1:57 PM Joseph Lai @.***> wrote:

No worries, I understand where you are coming from! I am just glad you
found my program useful - it was initially created just for personal use
until a friend suggested I upload it on GitHub. I never would have imagined
this kind of growth and it is all thanks to you, a member of the
open-source community.
I do have a Patreon here https://www.patreon.com/ursproject if you
would like to donate. You can also find it via the Sponsor button at the
top of this repository. It is completely optional, but I would be very
grateful if you decide to contribute! 😁
URS should work correctly on Raspbian/Raspberry Pi OS, so I believe you
will be able to get the data you need when running it there. 👍
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JosephLai241/URS/issues/40#issuecomment-868737535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUSBPCAG3CGOCXY5SM4XN4LTUS7QFANCNFSM47B4ZAJQ
.

Wow, thank you so much for the support! I will be sending you an email to the address associated with your Patreon account later today to follow up! 😄

no worries man, I'm not looking for results or anything I just appreciate
how kind/patient you were.
On Fri, Jun 25, 2021 at 3:25 PM Joseph Lai @.***> wrote:

Wow, thank you so much for the support! I will be sending you an email to
the address associated with your Patreon account later today to follow up!
😄
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JosephLai241/URS/issues/40#issuecomment-868784807,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUSBPCDDH3ZO23A7BKT733DTUTJ3DANCNFSM47B4ZAJQ
.

Thank you so much Joseph! I'll give it a shot later today.
On Fri, Jul 2, 2021 at 1:00 AM Joseph Lai @.***> wrote:

Closed #40 https://github.com/JosephLai241/URS/issues/40 via #42
https://github.com/JosephLai241/URS/pull/42.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JosephLai241/URS/issues/40#event-4969352996, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUSBPCFZVBP4OWZUXM7RYXDTVVBVFANCNFSM47B4ZAJQ
.

No problem! I believe the new release fixed the bug, so hopefully everything works fine now 👍🏻


chore(ci): Switch custom nix caching to magic-cache action

Description

Problem*

Resolves #1303
Summary*

Experimenting with magic-nix-cache action.
Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Since the magic cache stores each item separately, we're hitting rate limits in fetching the crates from cache which ends up making this take even longer. We'll need to check back to see if they ever fix it.

Hmm, I had high hopes for this, maybe there's some optimisation on our side?


Improve performance of regex usage in JsonSchema

Description
Improved usage of Regex in several places.
When a string pattern is supplied for Pattern or PatterProperties keywords, the static Regex.IsMatch will be used to evaluate the keywords.
When a Regex instance is supplied, that instance is used by the keywords.
I also made the _dateTimeRegex a compiled regex to improve performance. (this could be improved further by using code generated regex instances.)
Updated the Formats class to use code generated regex if possible.
breaking changes

The return type of JsonSchemaExtensions.KeywordAccess GetPattern and GetPatternProperties will return the string pattern and not the Regex instance.
The  Regex Value property in the PatternKeyword was removed, in favor of a string Pattern property.
The PatternPropertiesKeyword.Patterns property changed from an IReadOnlyDictionary<Regex, JsonSchema> to  IReadOnlyDictionary<string, JsonSchema>

Links
Resolves #761
Checks

[x ] I have read and understand the Code of Conduct and Contribution Guidelines.

Thanks for this.
I think some simple changes could avoid the breaks.

In JsonSchemaExtensions.KeywordAccess, .GetPattern() and .GetPatternProperties() could be .GetPatternValue() and .GetPatternPropertiesValues(), respectively, and we keep the existing methods.
Keep PatternKeyword.Value.
Keep PatternPropertiesKeyword.Patterns as it is and create a new PatternPropertiesKeyword.PatternValues.

Then mark all of the existing properties as obsolete and set them up to lazy-initialize.  (Please use _field ??= GetField() instead of Lazy<T>.)
Some of this may not "feel" quite right, but I'd prefer to avoid the breaking change until I can't.

@rikbosch Please see my comments above.  I think we can do this without breaking changes.

@gregsdennis done! And I agree with the breaking changes. I like your suggestion about the naming of the new properties / methods.

Thanks for this @rikbosch!  I'm going to pull this into another branch to do some personal preference cleanup, then I'll merge to master.  It'll push out an update at that point.

@rikbosch I have a question on the other PR ☝.


webapp: zip deployment should return a failure if deployment does not complete during the timeout provided

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)
Additional context
Add any other context about the problem here.

@yugangw-msft , i updated the command to return raise ValueError, instead of logger.warning. However, i don't understand the difference b/w using logger.error vs raising an exception & what is recommendation on using one over the other. Thanks!

Logger.error only makes sure the information gets to stderr. The exit code will still be 0.
Suggest raise CLIError

#7930 fixed it


Remind and encourage customers to keep their apps reasonably upgraded

Trigger: Slack thread in Swarmalicious.
Keeping apps upgraded are important as documented in the 30 Day Upgrade Promise. We know that and customers know that. We want to remind them and put it into practice.
Notes

With AppCatalogEntry CRs, we should have the data at hand (including in the MCs)

Ideas mentioned on how to execute:

Display available app upgrades in Happa
Halo prepare 1-2 slides to explain the problem and the solution, give to SAs in SA meeting
SAs prepare a presentation and present to customer
I also think this is not a one-time thing. I suggest a Grafana dashboard showing all versions available and which customers are using which versions. It should be part of a process to check this dashboard and which customers should move which apps to which versions, by when.

@giantswarm/team-halo cc @othylmann , @puja108 , @QuentinBisson, and @teemow  from the original slack thread.

I would add that on CVEs and critical bug fixes we should be even more proactive in communicating an available update to increase the priority on the customer side.

@ced0ps says it should work if we (account engs) just "nudge" the clients, but we have to distribute the knowledge. We might start with a modified version of our dashboard here https://giantswarm.grafana.net/d/s5jQpdyMz/managed-apps-usage?orgId=1 where we also have version info.


Unsupported return type

LiteCommands don't know what do you want to display to players the int, so you may need to implement Int result by yourself in builder functions, it seems like this:

        LiteCommandsBukkit.builder().result(Integer.class, (invocation, integer, chain) -> {
            invocation.sender().sendMessage("The result is " + integer);
        });


Crash in Dart Compiler share_plus-8.0.2/lib/src/share_plus_web.dart:316:20

My compiler crashed and asked me to post this (O:
I am running macOS Sonoma 14.4.1
SDK build number (3.3.0)
The compiler crashed: Assertion failure: Unknown external method j:method(ShareData|constructor#files)
#0      failedAt (package:compiler/src/diagnostics/invariant.dart:39:3)
#1      KernelSsaGraphBuilder._buildExternalFunctionNode (package:compiler/src/ssa/builder.dart:1825:5)
#2      KernelSsaGraphBuilder.build. (package:compiler/src/ssa/builder.dart:439:15)
#3      DiagnosticReporter.withCurrentElement (package:compiler/src/diagnostics/diagnostic_listener.dart:154:15)
#4      KernelSsaGraphBuilder.build (package:compiler/src/ssa/builder.dart:427:21)
#5      KernelSsaBuilder.build. (package:compiler/src/js_model/js_strategy.dart:525:22)
#6      CompilerTask.measure (package:compiler/src/common/tasks.dart:66:51)
#7      KernelSsaBuilder.build (package:compiler/src/js_model/js_strategy.dart:507:18)
#8      SsaBuilderTask.build (package:compiler/src/ssa/ssa.dart:365:21)
#9      SsaFunctionCompiler.compile (package:compiler/src/ssa/ssa.dart:99:28)
#10     OnDemandCodegenResults.getCodegenResults (package:compiler/src/common/codegen.dart:409:30)
#11     JsBackendStrategy.generateCode (package:compiler/src/js_model/js_strategy.dart:331:43)
#12     KernelCodegenWorkItem.run (package:compiler/src/js_model/js_strategy.dart:466:29)
#13     Compiler.emptyQueue.....
(package:compiler/src/compiler.dart:752:70)
#14     CompilerTask.measureSubtask (package:compiler/src/common/tasks.dart:181:35)
#15     Compiler.emptyQueue....
(package:compiler/src/compiler.dart:752:32)
#16     CompilerTask.measureSubtask (package:compiler/src/common/tasks.dart:181:35)
#17     Compiler.emptyQueue... (package:compiler/src/compiler.dart:750:28)
#18     DiagnosticReporter.withCurrentElement (package:compiler/src/diagnostics/diagnostic_listener.dart:154:15)
#19     Compiler.emptyQueue.. (package:compiler/src/compiler.dart:748:18)
#20     CodegenEnqueuer._forEach (package:compiler/src/js_backend/enqueuer.dart:266:12)
#21     CodegenEnqueuer.forEach (package:compiler/src/js_backend/enqueuer.dart:282:5)
#22     Compiler.emptyQueue. (package:compiler/src/compiler.dart:744:16)
#23     CompilerTask.measureSubtask (package:compiler/src/common/tasks.dart:181:35)
#24     Compiler.emptyQueue (package:compiler/src/compiler.dart:743:14)
#25     Compiler.processQueue. (package:compiler/src/compiler.dart:767:7)
#26     CompilerTask.measureSubtask (package:compiler/src/common/tasks.dart:181:35)
#27     Compiler.processQueue (package:compiler/src/compiler.dart:761:14)
#28     Compiler.runCodegenEnqueuer (package:compiler/src/compiler.dart:472:5)
#29     Compiler.runSequentialPhases (package:compiler/src/compiler.dart:680:27)

#30     Compiler.runInternal. (package:compiler/src/compiler.dart:315:7)

#31     Compiler.runInternal (package:compiler/src/compiler.dart:314:5)

#32     Compiler.run. (package:compiler/src/compiler.dart:235:11)

#33     compile. (package:compiler/compiler_api.dart:256:30)

#34     compile.compilationDone (package:compiler/src/dart2js.dart:729:3)

#35     main (package:compiler/src/dart2js.dart:1233:3)

Command: /Users/laurie/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/Users/laurie/Development/flutter/bin/cache/dart-sdk/bin/snapshots/dart2js.dart.snapshot
--platform-binaries=/Users/laurie/Development/flutter/bin/cache/flutter_web_sdk/kernel --invoker=flutter_tool -Ddart.vm.product=true
-DFLUTTER_WEB_AUTO_DETECT=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/04817c99c9fd4956f27505204f7e344335810aed/
--native-null-assertions --no-source-maps -O4 -o
/Users/laurie/Development/GitHub/MtbTracker/appinstances/spokeandflow/.dart_tool/flutter_build/846120b4c5c0513ff1e25f1352e8304a/main.dart.js
/Users/laurie/Development/GitHub/MtbTracker/appinstances/spokeandflow/.dart_tool/flutter_build/846120b4c5c0513ff1e25f1352e8304a/app.dill

Thanks @butterbrain! To help us investigate, do you happen to have a small example of code you can share that will help us reproduce the issue?
From the error message, it seems the compiler failed on some constructor of a ShareData declaration. Could you share what that declaration looks like?

sorry, I missed that you shared the location of the issue in the title.
Here is it's declaration:
https://github.com/fluttercommunity/plus_plugins/blob/58596acafa27ee258925e3a8a15493d13ad94995/packages/share_plus/share_plus/lib/src/share_plus_web.dart#L316
And where it's used: https://github.com/fluttercommunity/plus_plugins/blob/58596acafa27ee258925e3a8a15493d13ad94995/packages/share_plus/share_plus/lib/src/share_plus_web.dart#L232

OK, I isolated the issue and I can confirm this is now fixed.
There was an issue with the Dart stable 3.3.0 SDK, which was then fixed in a patch release with Dart 3.3.1. The issue was that object-literal JS-interop constructors (such SharedData.files here) didn't work in dart2js unless the enclosing library had a  @JS() annotation. Instead of reporting an error, the compiler crashed! I believe it was because this used to be required in the old interop, but we decided it shouldn't be required anymore, but then one part of the compiled wasn't adjusted to properly understand code without the annotation. More details available in the issue describing the 3.3.1 cherry-pick:
https://github.com/dart-lang/sdk/issues/55057
Since this is now released in the stable channel, most likely the only thing you need to do is to update to the latest stable release of Dart and Flutter.

Closing as duplicate of #55057


%1 is not a valid Win32 application

I heard about people having this issue before but it never really applied to me as i was on mac. But now i am trying to get it on windows and i have this....
Expected Behavior
To start botting and do normal stuff.
Actual Behavior
WindowsError: [Error 193] %1 is not a valid Win32 application
Your config.json (remove your credentials and any other private info)
` "auth_service": "google",
"username": "x",
"password": "x",
"location": "x",
"gmapkey": "GOOGLE_MAPS_API_KEY",
"tasks": [
{
"type": "HandleSoftBan"
},
{
"type": "CollectLevelUpReward"
},
{
"type": "IncubateEggs",
"config": {
"longer_eggs_first": true
}
},
{
"type": "TransferPokemon"
},
{
"type": "EvolvePokemon",
"config": {
"evolve_all": "none",
"first_evolve_by": "cp",
"evolve_above_cp": 500,
"evolve_above_iv": 0.8,
"logic": "or",
"evolve_speed": 20,
"use_lucky_egg": false
}
},
{
"type": "RecycleItems",
"config": {
"item_filter": {
"Pokeball":       { "keep" : 10 },
"Potion":         { "keep" : 0 },
"Super Potion":   { "keep" : 10 },
"Hyper Potion":   { "keep" : 20 },
"Revive":         { "keep" : 15 },
"Razz Berry":     { "keep" : 30 },
"Greatball":      { "keep" : 50 },
"Ultraball":      { "keep" : 50}
}
}
},
{
"type": "CatchVisiblePokemon"
},
{
"type": "CatchLuredPokemon"
},
{
"type": "SpinFort"
},
{
"type": "MoveToFort",
"config": {
"lure_attraction": false,
"lure_max_distance": 2000
}
},
{
"type": "FollowCluster",
"config": {
"radius": 2200,
"lured": true
}
}
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 200
},
"websocket_server": false,
"walk": 80,
"action_wait_min": 1,
"action_wait_max": 4,
"debug": false,
"test": false,
"health_record": false,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 15,
"evolve_captured": "NONE",
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"},
"// Example of always catching Rattata:": {},
"// Rattata": { "always_catch" : true }
},
"release": {
"any": {"release_below_cp": 100, "release_below_iv": 0.2, "logic": "or"},
"Rattata": {"keep_best_cp": 2},
"Zubat": {"keep_best_cp": 2},
"Ekans": {"keep_best_cp": 2},
"Caterpie": {"keep_best_cp": 2},
"Weedle": {"keep_best_cp": 2},
"Pidgey": {"keep_best_cp": 2},
"Spearow": {"keep_best_cp": 2},
"Clefairy": {"keep_best_cp": 2},
"Oddish": {"keep_best_cp": 2},
"Paras": {"keep_best_cp": 2},
"Bellsprout": {"keep_best_cp": 2},
"Sandshrew": {"always_release": true},
"Nidoran F": {"keep_best_cp": 2},
"Nidoran M": {"keep_best_cp": 2},
"Venonat": {"keep_best_cp": 2},
"Meowth": {"keep_best_cp": 2},
"Psyduck": {"keep_best_cp": 2},
"Mankey": {"keep_best_cp": 2},
"Growlithe": {"keep_best_cp": 3},
"Machop": {"keep_best_cp": 2},
"Geodude": {"keep_best_cp": 2},
"Doduo": {"keep_best_cp": 2},
"Cubone": {"keep_best_cp": 2},
"Rhyhorn": {"keep_best_cp": 2},
"Pinsir": {"keep_best_cp": 2},
"Eevee": {"keep_best_cp": 2},
"Goldeen": {"keep_best_cp": 2},
"// Example of always releasing Rattata:": {},
"// Rattata": {"always_release": true},
"// Example of keeping 3 stronger (based on CP) Pidgey:": {},
"// Pidgey": {"keep_best_cp": 3},
"// Example of keeping 2 stronger (based on IV) Zubat:": {},
"// Zubat": {"keep_best_iv": 2},
"// Also, it is working with any": {},
"// any": {"keep_best_iv": 3},
"// Example of keeping the 2 strongest (based on CP) and 3 best (based on IV) Zubat:": {},
"// Zubat": {"keep_best_cp": 2, "keep_best_iv": 3}
},
"vips" : {
"Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
"any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
"Lapras": {},
"Moltres": {},
"Zapdos": {},
"Articuno": {},
    "// S-Tier pokemons (if pokemon can be evolved into tier, list the representative)": {},
    "Mewtwo": {},
    "Dragonite": {},
    "Snorlax": {},
    "// Mew evolves to Mewtwo": {},
    "Mew": {},
    "Arcanine": {},
    "Vaporeon": {},
    "Gyarados": {},
    "Exeggutor": {},
    "Muk": {},
    "Weezing": {},
    "Flareon": {}

}

}
`
your config here

### Steps to Reproduce
Fresh install on windows 7  32bit
i have to bot on mac and it works fine im just getting used to windows

### Other Information
OS: windows 7 32bit
Branch: dev
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
Python Version: (run 'python -V' and paste it here)

Have you followed the installation guide? If you have, can you provide your cmd window output and not just the error message
Please also edit your OP to include git and python versions

all good its solved just got a different encrypt.dll file

@htugsdr where did you find the dll for win 32 bit? I couldn't find it anywhere

https://github.com/PokemonGoF/PokemonGo-Bot#pokemongo-bot - 3rd Paragraph


Broken links

Satisfies all of the preceding acceptance criteria plus the following code improvements:
Application's links all function correctly.

Fixed with feature/broken-links


Native Windows support?

Hi all,
For the past several weeks I've been learning about turicreate and it is a great library! However, because I am a windows user, I had to run the jupyter notebook on a linux server. I wonder if there will be one day in the future when turicreate gets native windows 10 support? Because GraphLab could in the past and I really hope turicreate can take this step and have support on windows. Many thanks! Nice job guys!

@Errrneist I see you also opened #506. Since this issue is asking for native Windows support, I assume WSL support is insufficient for your needs. Are you unable to use WSL, or are there specific improvements you're looking for that a Windows-native installation would provide?

I would also add that most IT are not going to be familiar with WSL and for example, in my case, I'd have no chance of using Turi Create due to very draconian and prescriptive IT policies.  A native windows package would be helpful in that regard.

I think these folks supported WSL because there is little to none work to support WSL since it is in a Linux system anyways. Currently it seems like turicreate only supports Unix based systems. So I guess they might need a bit time to add the support for the windows platforms. But that is definitely something we all hope for.

+1 for Win10 & Win7 support

+1 for native Windows support

I have been using Turi Create without issue on Mac, although wanting to have "Style Transfer" on GPU (not yet)... so I turn on my old PC with Windows 7 installed and.... realized Turi Create does not work on Windows 7 ...
+1 for Windows 7 support?

I am teaching a class using turicreate. And it really broke the heart of many students who are using windows. It is necessary to support the windows users.

yes, the story is like this: I used WSL to install ubuntu and run pip install -U turicreate and so it lives in my ubuntu on windows. However, because I was taking ML classes using turicreate at the UW a lot of times I want to be able to run turicreate offline so I can do my homework at somewhere with no wifi.(I am a student with a tight budget so I did not bother to get wifi at my apartment) But with turicreate installed via WSL when I imported the notebook into pycharm I cannot find an environment that has package turicreate because it lives inside the ubuntu WSL. But I also cannot afford a Mac because I have a laptop already...So that is my issue...

I think these folks supported WSL because there is little to none work to support WSL since it is in a Linux system anyways. Currently it seems like turicreate only supports Unix based systems. So I guess they might need a bit time to add the support for the windows platforms. But that is definitely something we all hope for.

Hi Errrneist,
Could you please show me how to install Turicreate in WSL ( ubuntu)? I successfully installed WSL (ubuntu) and Anaconda.
Much appreciated for your help.

yes, the story is like this: I used WSL to install ubuntu and run pip install -U turicreate and so it lives in my ubuntu on windows. However, because I was taking ML classes using turicreate at the UW a lot of times I want to be able to run turicreate offline so I can do my homework at somewhere with no wifi.(I am a student with a tight budget so I did not bother to get wifi at my apartment) But with turicreate installed via WSL when I imported the notebook into pycharm I cannot find an environment that has package turicreate because it lives inside the ubuntu WSL. But I also cannot afford a Mac because I have a laptop already...So that is my issue...

I think these folks supported WSL because there is little to none work to support WSL since it is in a Linux system anyways. Currently it seems like turicreate only supports Unix based systems. So I guess they might need a bit time to add the support for the windows platforms. But that is definitely something we all hope for.

Hi Errrneist,
Could you please show me how to install Turicreate in WSL ( ubuntu)? I successfully installed WSL (ubuntu) and Anaconda.
Much appreciated for your help.

I have long switched to Tensorflow and Keras, as well as Pytorch due to Turicreate's lack of Windows support. However, I believe if you just use the default
pip install -U turicreate
will install turicreate as long as you got pip properly configured for your WSL.


Pretty text with code mirror

@justin @mikeknoop @bryanhelmig This isn't ready yet but I'm creating this PR now to facilitate communication.
Implements the PrettyText component using CodeMirror.  For efficiency CodeMirror is swapped in and out as the user mouses in and out of the control.  When outside the control a less expensive read-only view is displayed.
Look at /lib/components/pretty-text2.js and files required from it.  We'll rename it to pretty-text when done.
You can see it in action by firing up the demo:
git clone git@github.com:zapier/formatic.git
cd formatic
npm install
npm run live

Point your browser to localhost:3000/index.html.  The first component will be the pretty-text2 component.
Features TODO

Make choices drop down appear when you hover on a pill box.
Make cursor go to end of insertion after inserting a tag from the drop down.
Add support for adding an image to a pill box

Code TODO

Expose the state (edited value) properly
Clean up file locations - I just dumped all my .js files in lib/components
Move tag-translator-test.js jest spec over from the tagged-text repo
Remove hard-coded Bootstrap classes, make the BS stuff a plugin
Implement ChoicesDropdown without Bootstrap (I don't think we want to force that dependency - just steal the code from the old PrettyText component)
Normalize some of the names in the code - tag vs. key vs. choice etc. - pick one!

@stevemolitor will check out soon. I'd close this and re-open a new PR though to develop branch first.
We only merge develop in master right before a deploy so that master is always safe to fall back to.
Might have to play w/ the history in case you branched off of master and not develop.

Is the demo directory intended to be committed? Lot's of files in there!

@mikeknoop On formatic we branch off of master into feature branches for development.  Releases will have their own branches or tags. We don't have a develop branch. @jdeal correct me if I'm wrong.
All of the files in the demo directory are from the bower install of codemirror. We put external dependencies like underscore and codemirror in the repo but not the formation distribution (formatic-dev/min.js) to make running the demo easy.  However the codemirror bower install does have a lot of files most of which we don't use.  So we could slim that down.  Anyway for now just ignore everything under demo/bower_components.

:+1: (didn't realize this was the formatic repo w/ my first, now deleted, comment).

We should slap a invisible textarea to catch tabs:


Select API do not show the value based on the value prop

I am using Material-ui 4.7.1 in my project and implemented the select API as such:
https://codesandbox.io/s/select-api-issue-pkbhb
But the selected item is not shown in the select field.
The value prop given to the  component is not showing the value given to it.
I consider this as an issue as ideally the value given to the select should be shown.

Hi @gumpenaajayvarma ,
Select component takes an onChange  prop to handle selection changes.
Try passing  your  handleChange method as  onChange prop to Select component and it should work fine.
Here is the working code
https://codesandbox.io/s/select-api-issue-z3u9g

Hi @anirudh411
Thanks for the efforts. But I am interested in knowing why my implementation do not reflect the value.

Hi @gumpenaajayvarma ,
onClick does not seem to be  working on MenuItem when they are used inside Select Component . That is why value is not reflected in your implementation as handleChange is not being called.


Docs Update developer survey to latest available

This will update the link reference in the features section to the latest available survey.

That Looks good to me @tiangolo 😃 .

Now it looks good to me 😃  @tiangolo .


Allows attachments as tuples

In trying to use django-mail-templated along with some file attachments. Unfortunately the attachment type that is produced using EmailMessage#attach_file is a tuple, not an attachment instance.
I'm not sure if we can get django-mail-templated to conform to the attachment type that django-naomi is anticipating.

:+1:

@rjsheperd why did you close it?

Sorry, I didn't mean to! I don't have write access, so we'll need to have @edwinlunando or another maintainer to merge it :)

@rjsheperd I'm really sorry for letting this one for a long time! Yes, this is a good addition. Thank you. Will update and release a new version.

@edwinlunando @aericson When will you merge this PR?

@aericson Man?

I'm not the mantainer, I can't merge this.

@edwinlunando, please.

i am getting error while sending email with an attachment:
tuple object has no attribute name. The attachments are fetching as tuples rather than an object. is there a fix for it?

we are waiting still for that.

any updates?

Any updates?

Any updates?

Is this project even maintained yet?

Hi, in case anyone is still interesed, I created a new project based on this repository and applied some of the open PRs as well
https://github.com/yujinyuz/django-unravel


Consider renaming component packages to Aspire.Components.*

Today aspire components are named Aspire.{existing library name} and the hosting packages are Aspire.Hosting.*. This makes it difficult to talk about components because there's no consistent prefix (e.g. Aspire.Components.*). We should consider renaming these libraries so that the prefix is clear in the name of the package. This will make them easier to document and talk about.

Before GA?

If there’s time and we agree the yes

/cc @eerhardt @danmoseley @joperezr @IEvangelist

Conceptually I can see the benefit. But it's a big change to take this late.

Agree, I think we either do it or close it.

If the change compiles, what could still break? Not rhetorical question... looking for brainstorming.

Samples, docs, apps built on previews,... any tooling issue? Nuget package renames?

Not sure what would break in the tooling. We haven't built higher level experiences on top of these packages as yet AFAIK.
cc @vijayrkn @BillHiebert @timheuer @bradygaster

Obviously any existing code would need to be updated. If folks don't know about the change then they would continue referencing the old version of the package which could raise support issues.

We'd obviously want to delist all the old versions of the package.

I've been thinking about this some more. I'm not sure what value it provides. The namespaces are already disambiguated due to Aspire.Hosting.* and really the Aspire.* prefix for Aspire-component libraries is as a minimal as possible prefix.
When we start seeing third party contributions we probably aren't going to allows folks to use the Aspire.* prefix for something that doesn't come out of our repository - so the namespaces are already going to be a bit fragmented.

Sorry to maybe be a naysayer here but I don’t think this adds any value (or at present takes any away). This doesn’t feel worth any disruption TBH. Id rather us find more obvious ways in experiences to make any confusion more intuitive.

right now it’s very hard to talk about component packages because the naming pattern relies on the underlying client library. We also can’t say that they are called Aspire.* because that includes Aspire.Hosting.*. The only way to talk about components as a group of packages is to say they are tagged with component which nothing in the toolchain will tell you.
I wouldn’t die on this hill but I’ve been explaining the thsthat apphost packages are Aspire.Hosting.* and component packages are Asprie.{figure that shit out}

When we start seeing third party contributions we probably aren't going to allows folks to use the Aspire.* prefix for something that doesn't come out of our repository - so the namespaces are already going to be a bit fragmented.

Will these show up as aspire components?

Will these show up as aspire components?

That is a good question. Is the policy around when we decide to promote a package through that experience been nailed down? Do we care about the provenance?
Even so ... my point still stands. We probably are not going to allow anyone but us to publish a package under Aspire.* - certainly not out of some random repo.

Even so ... my point still stands. We probably are not going to allow anyone but us to publish a package under Aspire.* - certainly not out of some random repo.

Those aren't aspire components and aren't relevant to this discussion right?

Those aren't aspire components and aren't relevant to this discussion right?

We expect folks will want to create Aspire components out of other repos and offer them for use. We may well ask that those use a different package and namespace prefix (for one thing, we own that prefix in NuGet, and would have to explicitly release sub-namespaces .. all this begs question of the picker experience). @mitchdenny is suggesting we probably would ask they use a different namespace. In which case many components wouldn't be inside the hypothetical Aspire.Components namespace prefix anyway.
Perhaps I'm missing something?

Yea, I was pretty sure the point of using a prefix was to use the prefix 😄. When 3rd party package show up, they will show up on nuget.org, but they don't show up as aspire packages, right?

That depends on several decisions that haven't been made, including to what extent we think we are curating and how that should be evident to the user.

Either way, I don't think tooling will need any particular namespace any more than it does now. So this is just a tidiness proposal. If we create a component ServiceHosting (making up random words here) and then later want to add an Aspire feature of this sort, there could be a namespace collision as things stand.

As long as these are still tagged in Nuget with "owner:Aspire tags:hosting" I don't think tooling is affected.

If the change compiles, what could still break?

Templates.

We also can’t say that they are called Aspire.* because that includes Aspire.Hosting.*. The only way to talk about components as a group of packages is to say they are tagged with component

I'm not sure what the problem is with saying "they are tagged with component". Isn't that what tags are for? To make arbitrary groups of packages?

which nothing in the toolchain will tell you.

I don't understand this part. We have this from "Add => .NET Aspire Package"

and on the right side of NuGet package manager it shows the tags. The tags are also shown in nuget.org, and you can query them there as well: https://www.nuget.org/packages?page=2&q=owner%3Aaspire tags%3Acomponent

I don't think adding another (large-ish) word to the package name adds more value than the complexity it adds. Having to say "Aspire Components" before every package ("Aspire Components StackExchange Redis", "Aspire Components Azure Storage Blobs", "Aspire Components Azure Messaging EventHubs", "Aspire Components Npgsql EntityFrameworkCore PostgreSQL") doesn't add value IMO. It just adds complexity and verbosity.

I don't think that we should change this. While I understand the argument for having a clearer separation of concerns, i.e., Hosting vs. Components, it's going to get really ugly 🤮.
I think that with preview-5 we started seeing things a lot more clearly, now that hosting has an Aspire.Hosting.* pattern. I think that this change alone was enough to solve the symptom of the original concern.
It's now clear that those are hosting concerns now. But if we had Aspire.Components.* we'd end up packages like this, and since the term is so overloaded—it's not a helpful chane:

Aspire.Components.Npgsql.EntityFrameworkCore.PostgreSQL
Aspire.Components.Pomelo.EntityFrameworkCore.MySql

We'd end up in a place where we have laughably long package names 🤣.

What happens when we have dashboard extensibility via Aspire.Dashboard.* packages.

That's specific to the dashboard, not related to hosting and certainly not considered a component. So, unaffected by not having Aspire.Components.*.

What happens when a library we want to write a component for starts with Hosting?

Sure, valid concern, but with your approach you'd end up with Aspire.Components.Hosting.Some.Unrealistic.Package 😏. Which is arguably worse... Also, after a quick look on NuGet, I only found one package thus far that starts with Hosting, and it's unlikely it would be considered a component. 🤷🏼♂

I actually think it can add clarity.
In the ide an extra word is not a problem - usually all those things are imported automatically anyway.
But when searching for comppnent nuget packages you could use something like "aspire.c" and get much more relevant results than just everything under "aspire".
This also clearly separates parts of the framework where things under Aspire.* are core parts and Aspire.Components.* are basically "plug-ins"

I think one of my largest concerns with Aspire.Components.* is that I'm personally just hung up on components. It's just too overloaded and we'd be doing ourselves a disservice by naming it that.
Also, thanks for nothing Copilot:

Considering the context that the term "components" might be too generic and overloaded, here are some alternative naming suggestions for your Aspire library packages:

Aspire.Modules
Aspire.Elements
Aspire.Parts
Aspire.Units
Aspire.Sections
Aspire.Fragments
Aspire.Blocks
Aspire.Pieces
Aspire.Constituents

These alternatives aim to convey the idea of individual parts of a whole, which can be assembled or used to build more complex structures, similar to components but with a distinct terminology. Make sure to check for any existing usage of these terms within your organization to avoid conflicts. Happy coding!

If you're thinking that all of these sounds redundant, you're right, so does Aspire.Components.* 🤓 .

I, for one, will be definitely getting my Aspire.Constituents in line. It's very important in an election year.

We agreed not to rename the packages, but spend time looking at if we can improve the documentation in this space. Maybe we no longer refer to these as components since that term is so generic or maybe we leave it alone and have people deal with the chaos we have created. Deadline for this decision is Friday.

I, for one, will be definitely getting my Aspire.Constituents in line. It's very important in an election year.

Yeah, I saw that one - LOL

I concur with @timheuer's commentary on the value this would add.

Closing as we are locking down for shipping the 8.0.0 GA release and we aren't convinced this is the correct long term decision (given the above feedback/discussion). We will consider ways we can make the documentation more clear on what these libraries are and how to tell the difference between the Aspire.Hosting.* libraries and the Aspire.* libraries.


Carbon whitelist

Hi - I am trying to enable USE_WHITELIST option in carbon.conf. But i am getting below error while restarting service after chnaging USE_WHITELIST=True.
python carbon-cache --instance=b start
Traceback (most recent call last):
File "carbon-cache", line 32, in
run_twistd_plugin(file)
File "/usr/lib/python2.6/site-packages/carbon/util.py", line 94, in run_twistd_plugin
config.parseOptions(twistd_options)
File "/usr/lib64/python2.6/site-packages/twisted/application/app.py", line 669, in parseOptions
usage.Options.parseOptions(self, options)
File "/usr/lib64/python2.6/site-packages/twisted/python/usage.py", line 231, in parseOptions
self.subOptions.parseOptions(rest)
File "/usr/lib64/python2.6/site-packages/twisted/python/usage.py", line 241, in parseOptions
self.postOptions()
File "/usr/lib/python2.6/site-packages/carbon/conf.py", line 197, in postOptions
program_settings = read_config(program, self)
File "/usr/lib/python2.6/site-packages/carbon/conf.py", line 526, in read_config
settings.readFrom(config, section)
File "/usr/lib/python2.6/site-packages/carbon/conf.py", line 146, in readFrom
value = parser.getboolean(section, key)
File "/usr/lib64/python2.6/ConfigParser.py", line 351, in getboolean
raise ValueError, 'Not a boolean: %s' % v
ValueError: Not a boolean: True
USE_WHITELIST = True

Can you paste the relevant section of your carbon.conf?

Set this to True to enable whitelisting and blacklisting of metrics in
CONF_DIR/whitelist and CONF_DIR/blacklist. If the whitelist is missing or
empty, all metrics will pass through
USE_WHITELIST = False
USE_WHITELIST = True
To configure special settings for the carbon-cache instance 'b', uncomment this:
[cache:a]
LINE_RECEIVER_PORT = 2023
PICKLE_RECEIVER_PORT = 2024
CACHE_QUERY_PORT = 7022
[cache:b]
LINE_RECEIVER_PORT = 2033
PICKLE_RECEIVER_PORT = 2034
CACHE_QUERY_PORT = 7032

[cache]
Configure carbon directories.

OS environment variables can be used to tell carbon where graphite is
installed, where to read configuration from and where to write data.

GRAPHITE_ROOT        - Root directory of the graphite installation.
Defaults to ../
GRAPHITE_CONF_DIR    - Configuration directory (where this file lives).
Defaults to /conf/
GRAPHITE_STORAGE_DIR - Storage directory for whipser/rrd/log/pid files.
Defaults to /storage/

To change other directory paths, add settings to this file. The following
configuration variables are available with these default values:

STORAGE_DIR    =
LOCAL_DATA_DIR = STORAGE_DIR/whisper/
WHITELISTS_DIR = STORAGE_DIR/lists/
CONF_DIR       = STORAGE_DIR/conf/
LOG_DIR        = STORAGE_DIR/log/
PID_DIR        = STORAGE_DIR/

For FHS style directory structures, use:

STORAGE_DIR    = /var/lib/carbon/
CONF_DIR       = /etc/carbon/
LOG_DIR        = /var/log/carbon/
PID_DIR        = /var/run/

#LOCAL_DATA_DIR = /opt/graphite/storage/whisper/
STORAGE_DIR    = /var/lib/carbon/
LOCAL_DATA_DIR = /var/lib/carbon/whisper/
WHITELISTS_DIR = /var/lib/carbon/lists/
#CONF_DIR       = /etc/carbon/
CONF_DIR       =/usr/conf
LOG_DIR        = /var/log/carbon/
PID_DIR        = /var/run/
Enable daily log rotation. If disabled, a kill -HUP can be used after a manual rotate
ENABLE_LOGROTATION = false
Specify the user to drop privileges to
If this is blank carbon runs as the user that invokes it
This user must have write access to the local data directory
USER = carbon

NOTE: The above settings must be set under [relay] and [aggregator]
to take effect for those daemons as well
MAX_CACHE_SIZE = inf
MAX_UPDATES_PER_SECOND = 500
MAX_UPDATES_PER_SECOND_ON_SHUTDOWN = 1000
MAX_CREATES_PER_MINUTE = 75
LINE_RECEIVER_INTERFACE = <IP_ADDRESS>
PICKLE_RECEIVER_INTERFACE = <IP_ADDRESS>
Set to false to disable logging of successful connections
LOG_LISTENER_CONNECTIONS = True
USE_INSECURE_UNPICKLER = False
CACHE_QUERY_INTERFACE = <IP_ADDRESS>
Set this to False to drop datapoints received after the cache
reaches MAX_CACHE_SIZE. If this is True (the default) then sockets
over which metrics are received will temporarily stop accepting
data until the cache size falls below 95% MAX_CACHE_SIZE.
USE_FLOW_CONTROL = True
By default, carbon-cache will log every whisper update and cache hit. This can be excessive and
degrade performance if logging on the same volume as the whisper data is stored.
LOG_UPDATES = False
LOG_CACHE_HITS = False
LOG_CACHE_QUEUE_SORTS = True
CACHE_WRITE_STRATEGY = sorted
On some systems it is desirable for whisper to write synchronously.
Set this option to True if you'd like to try this. Basically it will
shift the onus of buffering writes from the kernel into carbon's cache.
WHISPER_AUTOFLUSH = False
By default new Whisper files are created pre-allocated with the data region
filled with zeros to prevent fragmentation and speed up contiguous reads and
writes (which are common). Enabling this option will cause Whisper to create
the file sparsely instead. Enabling this option may allow a large increase of
MAX_CREATES_PER_MINUTE but may have longer term performance implications
depending on the underlying storage configuration.
WHISPER_SPARSE_CREATE = False
Only beneficial on linux filesystems that support the fallocate system call.
It maintains the benefits of contiguous reads/writes, but with a potentially
much faster creation speed, by allowing the kernel to handle the block
allocation and zero-ing. Enabling this option may allow a large increase of
MAX_CREATES_PER_MINUTE. If enabled on an OS or filesystem that is unsupported
this option will gracefully fallback to standard POSIX file access methods.
WHISPER_FALLOCATE_CREATE = True
Enabling this option will cause Whisper to lock each Whisper file it writes
to with an exclusive lock (LOCK_EX, see: man 2 flock). This is useful when
multiple carbon-cache daemons are writing to the same files
WHISPER_LOCK_WRITES = False
Set this to True to enable whitelisting and blacklisting of metrics in
CONF_DIR/whitelist and CONF_DIR/blacklist. If the whitelist is missing or
empty, all metrics will pass through
USE_WHITELIST = False
USE_WHITELIST = True
By default, carbon itself will log statistics (such as a count,
metricsReceived) with the top level prefix of 'carbon' at an interval of 60
seconds. Set CARBON_METRIC_INTERVAL to 0 to disable instrumentation
CARBON_METRIC_PREFIX = carbon
CARBON_METRIC_INTERVAL = 60
To configure special settings for the carbon-cache instance 'b', uncomment this:
[cache:a]
LINE_RECEIVER_PORT = 2023
PICKLE_RECEIVER_PORT = 2024
CACHE_QUERY_PORT = 7022
[cache:b]
LINE_RECEIVER_PORT = 2033
PICKLE_RECEIVER_PORT = 2034
CACHE_QUERY_PORT = 7032

Yes i have copied that section of carbon conf. Do you want me to pasre whole carbon conf.
Sent via the Samsung Galaxy Alpha™, an AT&T 4G LTE smartphone
-------- Original message --------
From: Jason Dixon<EMAIL_ADDRESS>Date: 09/29/2015  10:19 AM  (GMT-05:00)
To: graphite-project/graphite-web<EMAIL_ADDRESS>Cc: ravibhooshan<EMAIL_ADDRESS>Subject: Re: [graphite-web] Carbon whitelist (#1333)
Can you paste the relevant section of your carbon.conf?

Reply to this email directly or view it on GitHub:
https://github.com/graphite-project/graphite-web/issues/1333#issuecomment-144074918


fix: enumerations were not displayed.

fixes #8627
The issue was that the auto-field creation from templates was filtering out properties it should have included.

Coverage remained the same at 55.936% when pulling e8df516fcdbbcff0f794eca5be88b4d7bc35cfdd on chrimc/enum into 01ccbcee840d5b8fe40fbde513956ad919f10317 on main.


Remove our requirement on ant for Flutter engine builds.

The package_target rule in internal_rules.gni depends on an existing installation of ant. ant is rarely present on buildbots or new development workstations. Moreover, this ant dependency seems to have been culled upstream. We should update to match.

This has been fixed.


Build error on  Windows.

So I managed to configure and generate the files using cmake. I open VS 2015 and I select Release and build 'ALL_BUILD' . Finally build terminates with error:
`
CMake Error at src/CMakeLists.txt:51 (find_package):
By not providing "FindITK.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "ITK", but
CMake did not find one.
Could not find a package configuration file provided by "ITK" with any of
the following names:
ITKConfig.cmake
itk-config.cmake
Add the installation prefix of "ITK" to CMAKE_PREFIX_PATH or set "ITK_DIR"
to a directory containing one of the above files.  If "ITK" provides a
separate development package or SDK, be sure it has been installed.
`
Should ITK be downloaded with the script? Any ideas to fix this? I appreciate for your help.

Point the source directory to the SimpleElastix/SuperBuild source directory and not the SimpleElastix/ source directory (it looks like you already figured this out yourself judging from your other issue)

Hi, I have the exact same problem as alexkarargyris above, in cmake I have pointed to the SimpleElastix/SuperBuild source directory. Any advice? Do I need to download ITK?
Any help would be much appreciated.

You should not have to download ITK separately when using the SuperBuild. Can you double check that USE_SYSTEM_ITK is set to OFF? Are you on Linux, Mac or Windows?

I am on windows
On Friday, 25 March 2016, Kasper Marstal<EMAIL_ADDRESS>wrote:

You should not have to download ITK separately when using the SuperBuild.
Can you double check that USE_SYSTEM_ITK is set to OFF? Are you on Linux,
Mac or Windows?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/kaspermarstal/SimpleElastix/issues/26#issuecomment-201524799

OK. Can you post the CMake log?

Closing issue as it seems it is stalled. Feel free to open the issue again if this is not the case.

Hi, I have the same problem.
I appreciate for your help.
My CMakeOutput.log:
The system is: Windows - 10.0.17763 - AMD64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler:
Build flags: /DWIN32;/D_WINDOWS;/W3
Id flags:
The output was:
0
Microsoft (R) Build Engine version 16.1.76+g14b0a930a7 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 2019/6/5 21:38:23.
Project "C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\3.14.5\CompilerIdC\CompilerIdC.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "Debug".
Creating directory "Debug\CompilerIdC.tlog".
InitializeBuildStatus:
Creating "Debug\CompilerIdC.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /Gd /TC /FC /errorReport:queue CMakeCCompilerId.c
CMakeCCompilerId.c
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdC.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdC.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdC.lib" /MACHINE:X64 Debug\CMakeCCompilerId.obj
CompilerIdC.vcxproj -> C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\3.14.5\CompilerIdC.\CompilerIdC.exe
PostBuildEvent:
for %%i in (cl.exe) do @echo CMAKE_C_COMPILER=%%~$PATH:i
:VCEnd
CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\Hostx64\x64\cl.exe
FinalizeBuildStatus:
Deleting file "Debug\CompilerIdC.tlog\unsuccessfulbuild".
Touching "Debug\CompilerIdC.tlog\CompilerIdC.lastbuildstate".
Done Building Project "C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\3.14.5\CompilerIdC\CompilerIdC.vcxproj" (default targets).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:01.30
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe"
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcxproj"
The C compiler identification is MSVC, found in "C:/Workstation/pyenv/package/build/SE_out/CMakeFiles/3.14.5/CompilerIdC/CompilerIdC.exe"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler:
Build flags: /DWIN32;/D_WINDOWS;/W3;/GR;/EHsc
Id flags:
The output was:
0
Microsoft (R) Build Engine version 16.1.76+g14b0a930a7 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 2019/6/5 21:38:25.
Project "C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\3.14.5\CompilerIdCXX\CompilerIdCXX.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "Debug".
Creating directory "Debug\CompilerIdCXX.tlog".
InitializeBuildStatus:
Creating "Debug\CompilerIdCXX.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX64\x64\CL.exe /c /nologo /W0 /WX- /diagnostics:column /Od /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"Debug\" /Fd"Debug\vc142.pdb" /Gd /TP /FC /errorReport:queue CMakeCXXCompilerId.cpp
CMakeCXXCompilerId.cpp
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:".\CompilerIdCXX.exe" /INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:".\CompilerIdCXX.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:".\CompilerIdCXX.lib" /MACHINE:X64 Debug\CMakeCXXCompilerId.obj
CompilerIdCXX.vcxproj -> C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\3.14.5\CompilerIdCXX.\CompilerIdCXX.exe
PostBuildEvent:
for %%i in (cl.exe) do @echo CMAKE_CXX_COMPILER=%%~$PATH:i
:VCEnd
CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\Hostx64\x64\cl.exe
FinalizeBuildStatus:
Deleting file "Debug\CompilerIdCXX.tlog\unsuccessfulbuild".
Touching "Debug\CompilerIdCXX.tlog\CompilerIdCXX.lastbuildstate".
Done Building Project "C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\3.14.5\CompilerIdCXX\CompilerIdCXX.vcxproj" (default targets).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:01.03
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcxproj"
The CXX compiler identification is MSVC, found in "C:/Workstation/pyenv/package/build/SE_out/CMakeFiles/3.14.5/CompilerIdCXX/CompilerIdCXX.exe"
Determining if the C compiler works passed with the following output:
Change Dir: C:/Workstation/pyenv/package/build/SE_out/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_54a7b.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m
Microsoft (R) Build Engine version 16.1.76+g14b0a930a7 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) C/C++ Optimizing Compiler Version 19.21.27702.2 for x64
testCCompiler.c
Copyright (C) Microsoft Corporation.  All rights reserved.
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_54a7b.dir\Debug\" /Fd"cmTC_54a7b.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\CMakeTmp\testCCompiler.c
cmTC_54a7b.vcxproj -> C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\CMakeTmp\Debug\cmTC_54a7b.exe
Detecting C compiler ABI info compiled with the following output:
Change Dir: C:/Workstation/pyenv/package/build/SE_out/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_d29e1.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m
Microsoft (R) Build Engine version 16.1.76+g14b0a930a7 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) C/C++ Optimizing Compiler Version 19.21.27702.2 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.
CMakeCCompilerABI.c
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_d29e1.dir\Debug\" /Fd"cmTC_d29e1.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue "C:\Software\CMake\share\cmake-3.14\Modules\CMakeCCompilerABI.c"
cmTC_d29e1.vcxproj -> C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\CMakeTmp\Debug\cmTC_d29e1.exe
Detecting C [] compiler features compiled with the following output:
Change Dir: C:/Workstation/pyenv/package/build/SE_out/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_92dc3.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m
Microsoft (R) Build Engine version 16.1.76+g14b0a930a7 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) C/C++ Optimizing Compiler Version 19.21.27702.2 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.
feature_tests.c
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_92dc3.dir\Debug\" /Fd"cmTC_92dc3.dir\Debug\vc142.pdb" /Gd /TC /errorReport:queue C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\feature_tests.c
cmTC_92dc3.vcxproj -> C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\CMakeTmp\Debug\cmTC_92dc3.exe
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_variadic_macros

Determining if the CXX compiler works passed with the following output:
Change Dir: C:/Workstation/pyenv/package/build/SE_out/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_09d12.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m
Microsoft (R) Build Engine version 16.1.76+g14b0a930a7 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) C/C++ Optimizing Compiler Version 19.21.27702.2 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.
testCXXCompiler.cxx
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_09d12.dir\Debug\" /Fd"cmTC_09d12.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\CMakeTmp\testCXXCompiler.cxx
cmTC_09d12.vcxproj -> C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\CMakeTmp\Debug\cmTC_09d12.exe
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: C:/Workstation/pyenv/package/build/SE_out/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_24c5f.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m
Microsoft (R) Build Engine version 16.1.76+g14b0a930a7 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) C/C++ Optimizing Compiler Version 19.21.27702.2 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.
CMakeCXXCompilerABI.cpp
cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_24c5f.dir\Debug\" /Fd"cmTC_24c5f.dir\Debug\vc142.pdb" /Gd /TP /errorReport:queue "C:\Software\CMake\share\cmake-3.14\Modules\CMakeCXXCompilerABI.cpp"
cmTC_24c5f.vcxproj -> C:\Workstation\pyenv\package\build\SE_out\CMakeFiles\CMakeTmp\Debug\cmTC_24c5f.exe
Detecting CXX [] compiler features compiled with the following output:
Change Dir: C:/Workstation/pyenv/package/build/SE_out/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_e1b6a.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m
Microsoft (R) Build Engine version 16.1.76+g14b0a930a7 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) C/C++ Optimizing Compiler Version 19.21.27702.2 for x64
Copyright (C) Microsoft Corporation.   Please help.

this worked by downgrading cmake to version 3.16


Add Storybook in a way that works well with Next.js

Hey team! Please add your planning poker estimate with ZenHub @alisonjoseph @francinelucca @andreancardona


Bm16 bliss update

Update for reading BLISS files from ESRF/BM16

@newville this mainly handles the case when some of the Y arrays do not have the same size of the X array. I think it is safe to merge. It would be great if you could have a quick check too.
This said, I get an error with the GUI after loading the data that I do not know how to solve. Here the trace:
Traceback (most recent call last):
  File "/home/opd16/devel/xraylarch/larch/wxlib/specfile_importer.py", line 547, in onOK
    self.read_ok_cb(script, self.path, scanlist,
  File "/home/opd16/devel/xraylarch/larch/wxxas/xasgui.py", line 1246, in onReadSpecfile_OK
    dgroup = self.install_group(gname, displayname, journal=jrnl)
  File "/home/opd16/devel/xraylarch/larch/wxxas/xasgui.py", line 1582, in install_group
    self.ShowFile(groupname=groupname, filename=filename,
  File "/home/opd16/devel/xraylarch/larch/wxxas/xasgui.py", line 459, in ShowFile
    self.process_normalization(dgroup, force=True, use_form=False)
  File "/home/opd16/devel/xraylarch/larch/wxxas/xasgui.py", line 397, in process_normalization
    self.get_nbpage('xasnorm')[1].process(dgroup, force=force, use_form=use_form)
  File "/home/opd16/devel/xraylarch/larch/wxxas/xasnorm_panel.py", line 937, in process
    copts.append(fmt % (attr, form[attr]))
TypeError: %d format: a number is required, not str
Encode Warning: generic object dump for  <larch.io.specfile_reader.DataSourceSpecH5 object at 0x7f630062a820>
Traceback (most recent call last):
  File "/home/opd16/devel/xraylarch/larch/wxxas/xasgui.py", line 459, in ShowFile
    self.process_normalization(dgroup, force=True, use_form=False)
  File "/home/opd16/devel/xraylarch/larch/wxxas/xasgui.py", line 397, in process_normalization
    self.get_nbpage('xasnorm')[1].process(dgroup, force=force, use_form=use_form)
  File "/home/opd16/devel/xraylarch/larch/wxxas/xasnorm_panel.py", line 937, in process
    copts.append(fmt % (attr, form[attr]))
TypeError: %d format: a number is required, not str

If you have an idea, it would be great, otherwise I still propose to merge this for next release, as it works nicely without the GUI.

@maurov this may be fixed in the master branch, though I have not tested with a Bliss file on this branch.

@maurov Happy to merge, and hoping the GUI part is fixed (if not, we can address that)


Copy from macOS iTerm2 > Tmux > Micro

Description of the problem or steps to reproduce
Hi, I searched around Google but couldn't find a working answer.
Going so far as reinstalling an xserver on macOS with brew and exporting display using -Y to forward it trough ssh unsecurely to no avail.
I can't get copy to work from inside Micro inside a Tmux session on my iTerm2 Client.
I have mouse-reporting enabled, and in-fact I can copy just fine from just tmux itself (Text is selected in yellow, and on release it copy just fine and report it back to macOS correctly, even if it's a remote SSH session). So my guess is that it struggle to go one level below (micro) and report it to tmux which has to report it back to iTerm2 client.
Thanks a lot for reading.
Specifications

Commit hash:  b9763856 (2.0.10)
OS: 12.13.1 (Client) - Linux Raspberry 5.4.0-1059-raspi #67-Ubuntu SMP PREEMPT Mon Apr 11 14:16:01 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux (Server)
Terminal: iTerm2

You can try as a workaround on MacOS to keep  key pressed while selecting text with mouse -- not perfect, but still better than nothing.

Which key should I try to keep pressed ?
Thanks

Seems like Github messed-up the original input text ;-))
keep "Opt" (Option) key pressed while selecting text -- it should just work.

Thanks, it seems to work. Great workaround for now.
Would you know if it’s an iTerm2 feature ? If so, is there a way to change the key (instead of Alt/OPT, I would like to use an other key or combination),
Thanks.

Le 10 juin 2022 à 16:19, dimitrik - notifications(a)github.com @.***> a écrit :
Seems like Github messed-up the original input text ;-))
keep "Opt" (Option) key pressed while selecting text -- it should just work.
—
Reply to this email directly, view it on GitHub https://github.com/zyedidia/micro/issues/2428#issuecomment-1152413472, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEEIGXNARQNKGQWENSP32TVONFINANCNFSM5V54XFVA.
You are receiving this because you authored the thread.


Update dsn_levels.py (v.0.2.5)

few more lvls were added (more on this refer to #88 as astray, ribbons, bait, gates)

this went over 3000 lines of code, maybe that txt isn't such a bad idea at all

If you want to, we could hold off on v.0.2.5 until I get the import working for dsn_class. Then we could use text files.

And don't worry about copying and pasting the entire level class, it should still get the relevant info. For now I'll merge it though since it's incomplete.


aligned with official 04.01.2012 english strings

note: what should mean the following? I translated literally, for now, but I'd know what kind of exact function they are.
Move to Collection
Move to Inventory

ok, the translation is correct anyway.
Thanks for the explanation.

In the logbook the logs for "moved to collection" and "moved to inventory" are not parsed correctly.

It is a note, that's why it's not parsed.

For the TB-actions it never offers the move-actions (both of them)

It work's for me. You must have the TB in your inventory and the owner must have set the TB "colletable".


Remove korean documentation

Closes #1166

Just for reference, we will revive these files if there is a maintainer for them.

To me this looks good to merge.

To me as well, I'll merge it then.


Remove type: ignore  across text metrics

Code health
Remove type: ignore statements used on various places across text metrics that are used for mypy compatibility when handling the backward compatibility during the transition to the unified preds, target input naming.
Following issue #716 and PRs #723, #727

I think that this won't be needed in the end... :rabbit:


[4.2] Override ObjC's class_getImageName to handle Swift classes

Explanation: The Objective-C runtime has an API class_getImageName that returns the binary that defines a particular class. This is used to implement a common API in Foundation, Bundle.init(for: AnyClass). However, it does this by looking at the class's address in memory; if the class is dynamically created, it'll return NULL (and the Bundle returned will be the main executable bundle).
Swift's generic classes have long been a problem here, since they are dynamically instantiated by necessity. With Swift 4.2, however, classes with resilient members have also moved to dynamic creation, as have classes that inherit from generics even if they themselves are non-generic. These changes represent a regression in the capabilities of class_getImageName, breaking a number of apps.
The fix is split across libobjc and Swift. On the libobjc side, the implementation of class_getImageName will soon be overridable by loaded code. This change is the Swift side, to override the implementation to look up the address of a static pointer within the class metadata (the "nominal type descriptor") rather than the address of the Class itself. It also checks to make sure it's running on a new enough libobjc before installing the hook.

Scope: Links arclite more often everywhere, installs the new hook whenever possible, but only affects the behavior of class_getImageName.

Issue: SR-1917, rdar://problem/33450609, rdar://problem/40367300

Risk: Medium-low. The change is straightforward, but it is possible someone is depending on the previous behavior that we are deliberately changing.

Testing: Added compiler regression tests, which were tested both with and without the new build of libobjc.

Reviewed by: @mikeash

@swift-ci Please test

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 77136e2bbe26dbd18288e72197d183285b76ff6c

Build failed
Swift Test OS X Platform
Git Sha - 77136e2bbe26dbd18288e72197d183285b76ff6c

Timeout on an LLDB test, almost certainly unrelated.
@swift-ci Please test macOS

I'm pretty sure I implemented this correctly, but I did mess up the tests a little. Both #17943 and #17946 need to be cherry-picked as well.

@swift-ci Please nominate

@swift-ci Please test

preset=buildbot_incremental,tools=RA,stdlib=RDA,test=iOS,type=simulator
@swift-ci Please test with preset

preset=buildbot_incremental,tools=RA,stdlib=RDA,test=iOS,type=simulator
@swift-ci Please test with preset

Build failed
Swift Test OS X Platform
Git Sha - 5ea6e17fbf06313de863554a28a92d13eaf05849

Build failed
Swift Test Linux Platform
Git Sha - 5ea6e17fbf06313de863554a28a92d13eaf05849


directories with "/" instead of "" make script sad [Win10]

Tabbing out a folder name in windows uses this format "./something/or/another"
When using this format, the script fails as it wants the slashes in this format ".\likes\this\better"
If app autopulled/made the foldername from the show name I would have no reason to post ever again...
until next time.

Fixed


Exclude some module in es-dev-server.config.js

I failed to exclude mode module from moduleDirs.
ex: moduleDirs: ["node_modules", "!"node_modules/pdf.js-parser/dist/pdf.js"],

This is not how this option works, the option is to specify module directories.
We use https://github.com/rollup/plugins/tree/master/packages/node-resolve so it's best to check with the documentation there to see what options are available.

thx


[Wave 6: Drafts] Scaffolding of optimistic next step for reports

Part of https://github.com/Expensify/Expensify/issues/308213
Coming from here in the doc, we are going to set up a framework for the next steps to be optimistic so we can already build them offline when user creates a report for example.

This has been deprioritised now

Hello, Im Artem from callstack and would like to help with this issuse!

I do think we can close this one out for now and we can come back to this once we consider this needs to be tackled


Update restore.md

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thanks for your contribution. Unfortunatelly the page you updated is generated automatically from running docker run docker/dtr restore --help. Even if I merged your changes, they would be reverted once a new patch is released.
I'll close this PR, but consider reviewing https://docs.docker.com/ee/dtr/admin/disaster-recovery/restore-from-backup/. If you feel that the article would still benefit from your note, open a new PR to update it.


Ywong/fix crash on read file error

When saving a file in IDEs like Visual Studio, Atom, a dozen operations including read/write/delete/rename are performed on the file, there are nearly 50% chance karma will crash because the file is locked
There werer multiple issues raised because of this
https://github.com/karma-runner/karma/issues/1397
https://github.com/karma-runner/karma/issues/1213
https://github.com/karma-runner/karma/issues/959
The solution is retry reading file if fs.readFile fails and abort after 3 retries

I signed it!

Closing because I used my work email address as committer


Memory allocation goes crazy - results in 'No data received ERR_EMPTY_RESPONSE'

This happened after I did a new clean install.  Using D7, Ubuntu14
    server reports no response - log says

    [Wed Nov 11 15:37:35.412195 2015] [:error] [pid 8423] [client <IP_ADDRESS>:50834] PHP Fatal error:  Allowed memory size of 201326592 bytes exhausted (tried to allocate<PHONE_NUMBER>22352 bytes) in Unknown on line 0

Pages will then reload when refreshed.  Occurs in all browsers.
Also occurs from page 'manual check for updates' with this warning:
    An AJAX HTTP request terminated abnormally. Debugging information follows. Path: /batch?id=6&op=do StatusText: error ResponseText: ReadyState: 0

What do you mean by 'clean' install? Is this a brand new Drupal 7 site, with just Drupal core, or is this a site that's using an existing codebase and/or database? If the latter, it could be that your site requires a large deal of memory when rebuilding caches or loading the first time (thus why it would work after a refresh).
You can tweak the php_memory_limit: "192M" variable inside your config.yml and see if making that 256M or even more (for some exceptionally memory-hungry Drupal sites) helps. Change the value then run vagrant provision to update PHP's configuration.
If things work after increasing that to 256M or 512M, then you're probably just running a hugely memory-hungry Drupal site, and you'll need that extra process memory.
If you're running Drupal core alone, or with just a few contrib modules, and getting this error, then we can keep debugging.

I increased php_memory_limit: "512M" but it still chokes.  I'm attaching the callgraph for the dev site but its my first look at one.  I'm developing a map content type with location and gmap and after enabling those modules, it started choking.  This has happened before so I rebuilt the drupalvm.  It does not happen with just a few modules enabled.  It also does not happen on either my staging or production server which have similar configurations for memory.  Thanks much.

Sorry, I didn't mean to close it.

I switched to Leaflet and its associated modules and it happens less.  Still occurs mainly in making a content type and editing views.

@mixplex - Can you also look at your installed_extras list and consider maybe disabling/removing xdebug and xhprof if enabled? Having those running can also use up a little extra RAM per PHP process. You can remove them from the list then destroy and rebuild the VM to test.
Unfortunately, every environment's RAM usage is different, even depending on whether you're using Apache vs. Nginx + PHP-fpm, so I'm guessing your site is using a large amount of RAM, but on the development/local side it's just hitting the upper limit of php's memory_limit, while it's not hitting that limit on your other servers.
Please let me know if you find any other interesting information about reducing memory usage on your site!

I change php_memory_limit, getting below error:
fatal: [drupalvm]: FAILED! => {"changed": true, "cmd": ["/var/www/drupalvm/drupal/vendor/drush/drush/drush", "site-install", "standard", "-y", "--root=/var/www/drupalvm/drupal/web", "--site-name=Drupal", "--account-name=admin", "--account-pass=admin"<EMAIL_ADDRESS>"delta": "0:00:00.078591", "end": "2017-08-02 03:50:32.533538", "failed": true, "rc": 255, "start": "2017-08-02 03:50:32.454947", "stderr": "PHP:  syntax error, unexpected '=' in /etc/php/7.1/cli/php.ini on line 204\nPHP:  syntax error, unexpected '=' in /etc/php/7.1/cli/php.ini on line 204", "stderr_lines": ["PHP:  syntax error, unexpected '=' in /etc/php/7.1/cli/php.ini on line 204", "PHP:  syntax error, unexpected '=' in /etc/php/7.1/cli/php.ini on line 204"], "stdout": "\nFatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 36864 bytes) in /var/www/drupalvm/drupal/vendor/composer/autoload_static.php on line 4063", "stdout_lines": ["", "Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 36864 bytes) in /var/www/drupalvm/drupal/vendor/composer/autoload_static.php on line 4063"]}


[bug] from_pretrained  error with from_tf

https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/pytorch_pretrained_bert/modeling.py#L721 , the weights_path should be archive_file, and set from_tf to str is better to load finetuned model, like model name is model.ckpt-25000.meta.

Yeah this is solved in the coming release


report user id if available

https://bugsnagerrorreportingapi.docs.apiary.io/#reference/0/notify/send-error-reports

closed by #13


reorganize docs

[x] closes #229
[x] tests added / passed
[x] docs reflect changes
[x] passes flake8 datafs examples tests docs
[x] whatsnew entry

Coverage decreased (-0.07%) to 96.182% when pulling a9f0197261e581eea06cf509a32d3a350b1b35f7 on reorganize-docs into ade095051c07631c6628320fe56794fbade31cca on master.


fix control.matlab.lsim bug for discrete time system

This PR fixes issue #764.  There was a dimension check in forced_response for discrete time systems that occurred before processing of the transpose parameter.  Removing the dimension check (which gets done later, after transpose processing) fixes the bug.  Add a unit test to catch the error and also turned on some tests that were @slycotonly but that didn't rely on slycot.

Coverage decreased (-0.001%) to 94.737% when pulling 6e3113a0b82eec20712211b6ed77f2cc3692fa26 on murrayrm:matlab.lsim-24Aug2022 into d4c1f143a13af9139b42e33398ae3a936993d6b6 on python-control:main.

LGTM, thanks!


Customize prefix in constructor

instead of only as an instance property, example: https://github.com/enquirer/prompt-base/blob/master/examples/ask.prefix.js#L8

It should work when passed to the ctor, if it doesn't that's a bug.

Then we have a bug:
const confirm = new Confirm({
	message: `Delete "${name}" database and "${user}" user?`,
	default: false,
	prefix: ""
});

noted, marking as a bug. thank you

For now, I'm using \ufeff as a value, since '' must be failing a truthy condition.

I believe this was fixed by https://github.com/enquirer/prompt-base/pull/10


Initialise nextFocusRevalidatedAt on mount

Related to https://github.com/vercel/swr/issues/2856
Opened for discussion really - is there any reason we can't do this?

@mgoodfellow
Thank you, this looks good 👍 Could you add a test for this?


Page does work

[Enter feedback here]

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

ID: ebb3961c-ee29-d589-71a4-04ab454472b0
Version Independent ID: 802d2dbe-c716-c901-882c-fe7f08f7eead
Content: Override the user agent string - Microsoft Edge Development
Content Source: microsoft-edge/devtools-guide-chromium/device-mode/override-user-agent.md
Service: microsoft-edge
Sub-service: devtools
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Closing this issue, but feel free to comment here if you're still having an issue.


Issue: Auto Detect settings completely wrong.

Not sure why this is happening, but on a fresh install of 7th Heaven, using the auto detect settings puts the absolute wrong path for FF7 Exe, Textures Path, and Library Path.
My Exe Path: C:\Games\Final Fantasy VII\FF7.exe
Auto Detect Path: C:\Games\Final\ Fantasy\ VII\FF7.exe
Movies Path is correct.
My Textures Path: C:\Games\Final Fantasy VII\mods\Textures
Auto Detect Path: C:\Games\Final \Fantasy \VII\mods\Textures\
My Library Path: C:\Games\Final Fantasy VII\mods\7H
Auto Detect Path: C:\Games\Final\ Fantasy\ VII\mods\7H\
I then redid the Game Converter on the main installation area of FF7 from steam, and the Auto Detect put them in generally the same area except for in the steam folder.
It looks like 7th doesn't like folder names with spaces and adds \ to each one, it also adds an extra \ to the beginning and end of the main folders for some reason. This seems to be only an issue for 1.56 as it works perfectly fine in 1.55

I'm trying to fix that issue was discussed on https://github.com/TurBoss/7h/issues/20
so isn't really fixed :(
I'll take a look
thanks!

Ah, I didn't know that's what that was. Sorry for opening another section about it.

no problem you are welcome