Save Issue when edit a quest

Hi, Im have problem need your help!
When I save a finished editing quests,the console while output this error:
http://pastebin.com/GSsVEyZt
Im Chinese user,and there a lot of Chinese characters in the quests.yml.
Forgive my poor English.

Can you pastebin both your quests.yml and config.yml please?

I have the same issue.

Here is the quests.yml and config.yml
quests.yml http://pastebin.com/ZKtbYMCN
config.yml http://pastebin.com/hAufHS5G
I could editor quests,but I couldn't save the quests.
THX:)

I'm not seeing why it won't let you save.
Try running the command /questsadmin reload and seeing if any errors come up in console, because I'm not seeing that error

You could edit the quests '[职业]格斗的真谛',add a GUI display or other something ,and save it.You wil see it:)
THX:)

It might be because of the special characters from using Chinese text and having the configuration set to English. Like hello would have to be Ni hao spelled out instead of the characters

All right,I will test it without special characters.And I will report it later.Thanks a lot:)

Hi~I just test something about this error.I find that The color code ''&'' caused this problem.quests does not suppot color code.

Is supposed to support color codes with &, which place did the & symbol cause the error?
Removing which one stopped the error?

Oh wait in the quest name? Yeah that will do it colored names are not yet implemented.

quests name

try this § instead of &

Well just a heads up if you color the name you will have to edit the quest in the file. As the system will color the name and not let you edit it properly with
/quests editor namehere
because its expecting /quests editor &7namehere
It will color the name, but you cant edit it with the in game gui anymore, only editing the file, unless you remove the color.

Closing as issue has been resolved.


[Event Request] table 38 - "Purchase Header" - OnBeforeOnInsert

Dear ALAppExtensions team,
with this issue we would like to request a new event publisher 'OnBeforeOnInsert'  in table 38 "Purchase Header" with the following signature:
[IntegrationEvent(false, false)]
local procedure OnBeforeOnInsert(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)
begin
end;

which would be called as follows in the 'OnInsert' trigger:
trigger OnInsert()
// >>>> New >>>>>>>>>>>>>>>>
var
    IsHandled: Boolean;
begin
    OnBeforeOnInsert(Rec, IsHandled);
    if IsHandled then
        exit;
// <<<< New <<<<<<<<<<<<<<<<

    InitInsert();
    if GetFilter("Buy-from Vendor No.") <> '' then
        if GetRangeMin("Buy-from Vendor No.") = GetRangeMax("Buy-from Vendor No.") then
            Validate("Buy-from Vendor No.", GetRangeMin("Buy-from Vendor No."));
    if "Purchaser Code" = '' then
        SetDefaultPurchaser();
    if "Buy-from Vendor No." <> '' then
        StandardCodesMgtGlobal.CheckCreatePurchRecurringLines(Rec);
end;

Thanks in advance!

Availability update: We will publish a fix for this issue in the next update for release 22.
Build ID to track: 56679.


catppuccin: init at unstable-2023-10-09

Description of changes
Consolidate catppuccin themes into a single package. Making it easier to pick and choose catppuccin themes and manage them in one package.
Related PRs:

https://github.com/NixOS/nixpkgs/pull/259511
https://github.com/NixOS/nixpkgs/pull/259831
https://github.com/NixOS/nixpkgs/pull/259665
https://github.com/NixOS/nixpkgs/pull/259664
https://github.com/NixOS/nixpkgs/pull/259661

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@Artturin this is what i got so far. what do you think?

@Artturin looks like checks finished.


Font not with Slides

So the Aldo font in assets (also on S3) is not shipped with the slides, so unless it's installed, Arial is used and it doesn't work very well.

Right. You need Aldo :) It should be in the repo?
On May 28, 2016 at 7:25:49 PM, Benjamin Bengfort<EMAIL_ADDRESS>wrote:
So the Aldo font in assets (also on S3) is not shipped with the slides, so unless it's installed, Arial is used and it doesn't work very well.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ok fixed in repo via https://github.com/DistrictDataLabs/PyCon2016/commit/88e676e67ba2001896f3795ca47bea3cff86a35f and also uploaded to s3


Temporal, out-of-flow context infrastructure

We have talked about this possibility many times, but I don't believe we have it written.
It might be interesting to have the ability to temporarily create a context to interrogate the hardware outside of normal workflow. Example cases for this are:

Device table interrogation (useful for debugging purposes among others)
Hardware version retrieval
Probe connection checks (e.g. #95 )

Some of them might require more configuration steps than others, so it is not trivial to create a general case interface.
The important part is that these mini-context should be:

Temporal: They would exist to perform a specific data retrieval and will close afterwards
Out of workflow: They should not require a working workflow
Blocking: Either they are short-lived (e.g. just a probe checking or a version check) or are tied to modal windows. In any case, these mini-contexts should be isolated and exclusive, so no possibility of two context clashing exisits.

@aacuevas this should already be possible since ContextTask is a class that can be called from any code.
Is this feature targeting users or developers? Is it for some GUI? It might help to write up some concrete use case to help flesh out the proposal.

Mostly for users, there are some quality-of-life operations that could benefit from this.
While ContextClass can be called from any code, we need to think a bit about the use cases and the context of calling the ContextClass ;) For example, while getting hw and fw version requires a simple context, checking NP seating as suggested by #95 requires proper hs configuration. I would like cases like that becoming muddy.
In any case, this is definitely out of the scope of 0.1.0, I would say is a rather low-priority for now, just wanted to have a register of it.

If the use case is for self-contained headstage configuration GUI, and assuming the GUI is launched from the configure headstage node, then a context could be created inside the GUI and passed through that configure node itself to simulate "configuration".
Otherwise, I think these would have to be manually coded.

Related to #19


Secret passed in to Bash task as argument only works with $(MYSECRET) not $MYSECRET

In Azure Pipelines I can pass normal variables to a v3 Bash script (Shell Script task) as an argument using $MYVARIABLE. However, secrets (which can only be passed in as arguments) do not get passed in using the $MYSECRET form but they do get passed in using the $(MYSECRET) form. I've not found this documented anywhere. Is this a bug?

This section contains a table which describes where the azure-pipelines macro syntax $( ) can be used, and describes alternate syntaxes from accessing environment variables within a script (batch, powershell, and bash).
And this section talks about working with secret variables which intentionally must by mapped-in using macro syntax. You are correct it's inconsistent, however we intentionally chose that behavior to help prevent accidental leaking of secrets (crash dumps, etc).
I think the confusion is, the filename + arguments that you specify are written to a temporary script. And bash is used to run that command. So when you are using bash variable-syntax (e.g. $FOO) in the arguments input, those arguments are getting interpreted by bash. Many customers desire this behavior and it makes the task more consistent with what they type on the command line.
If you have any specific feedback for the docs, I'm happy to pass it along.

Not sure if this is specific feedback, but I think the whole scenario of passing secrets to Bash scripts via arguments needs to be explained explicitly and clearly, and be easy to stumble upon.

Thanks, makes sense. Personally I agree, as I've seen it be a very common stumbling point for customers in the past.
I'll relay the feedback and follow up with appropriate folks tomorrow.

@vtbassmatt fyi

@andyjlewis fyi

To highlight this one I also got confused, to add to the confusion the UI seems to suggest that I can pass my secret as a normal bash variable and gives me an example... following the example fails.

That's an unfortunate bit of UI - thanks for reporting. I'll see if we can disable that "helpful" text when it's a secret.
@wnjenkin I think that's in your area.

I am having issues getting secrets passed into my bash tasks here and here. For some reason, they don't seem to be injected properly. I can use the script task and map the variables right in from YAML successfully, but I read that the more secure approach is mapping them into the shell's environment variables. Anybody spot what I'm doing incorrectly?

 Not sure exactly what solved it. Sorry to hijack this Issue. Maybe it'll help somebody out. It'd be great to have a bash sample alongside the powershell sample here.

@collinbarrett when you use env, we don't do any case-munging or replace . with _. So when you said:
- script: ...
  env:
    GitHubName: $(GitHub.Name)

then we were injecting exactly $GitHubName into your environment. I see that you've fixed it so that you're using uppercase everywhere.


Ensure all code passes Google-style pylint

These are things I would expect to see in a healthy code repository. Let's try to make FontBakery this good:

[x] license badge
[x] licensing info (LICENSE.txt file / license headers)
[x] travis integration
[x] There's a project website
[x] build state badge (Success vs. Failing)
[x] issues are well tagged
[x] issues are milestoned
[x] Pull Requests are being actively merged / reviewed
[x] There some documentation (at least a good README)
[x] Code style passes linter (flake8) ?
[x] ~~Code style passes linter (https://github.com/google/yapf) ? ~~
[x] https://github.com/googlefonts/fontbakery/issues/838 Adopt Google Python Style) (forget it)
[ ] ~~https://github.com/googlefonts/fontbakery/issues/679~~ Ensure all code passes Google-style pylint

Perhaps format in google style with https://github.com/google/yapf ?

https://github.com/googlefonts/fontbakery/issues/679 (Ensure all code passes Google-style pylint)

https://github.com/googlefonts/fontbakery/issues/838 (Adopt Google Python Style)

License badge added in https://github.com/googlefonts/fontbakery/commit/74806bbc3a80e20200e5e1ff44e7381190a4b4cc

thanks, @davelab6 !

There's a project website

the appspot website is good enough for now

Seems all done


Array aggregation not supported on custom domain types

For example an aggregation on a RID will return:
409 Conflict
The request conflicts with the state of the server. could not find array type for data type ermrest_rid

This exposes a real limitation of postgresql in that one cannot form an array of a domain type.  If we want to support array aggregation, we would need to cast the domain value to a type which supports it. There are three main cases to consider:

domains over basic scalar types: we could cast to the underlying type and then array aggregate those values
domains over json/jsonb: these act much like scalar types and can be aggregated if we strip the domain, and the UX may feel like it produces nested arrays
domains over array types: these cannot be array aggregated even if we strip the domain, but in practice they can be round-tripped through JSON or they wouldn't be useful domains with ermrest protocol and Chaise clients

The enhancement with the least surprises might be to:

Handle case 1 and 2 of scalar values by casting the domain value to the base scalar type
Handle case 3 by converting the domain value to a jsonb value

I pushed changes for this in the stateful-model branch, following the technique described above to look through domain types to their underlying types and to convert arrays into jsonb so we can have nested arrays of arrays if needed in an aggregate result.


New article: Maturity Model for Microsoft 365 and Teams Development

Category

[ ] Content fix
[x] New article

Maturity Model for Microsoft 365 and Teams Development | Albert-Jan Schot

Docs Build status updates of commit d1bb25e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CHANGELOG.md
:white_check_mark:Succeeded

Community/maturity-model-microsoft365-teams-development.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[preflight-backend] 🛢 Run preflight checks.

Let's hand-test this against the preflight job that @cdcarter wrote before merging it:

okay, i ONLY report oks for now, but try out this branch https://github.com/SFDO-Tooling/CumulusCI-Test/tree/feature/preflight
https://github.com/SFDO-Tooling/CumulusCI-Test/blob/feature/preflight/cumulusci.yml#L44
the flow is named static_preflight
i'll add one that fails a step too

OK, I have a lot of dissatisfactions with the most recent commit, but it helped the end to end hand-testing.
Part of what I really don't like is that this requires so much IO that I have to mock out, but I definitely don't want the tests touching actual Salesforce orgs, so I don't know that we can eliminate the mocking.
If we can reduce the mocking significantly, I think we can improve this code by removing test-motivated mishegas, while also maybe having tests that would actually catch the broken things that I encountered when hand-testing.

OK, I hand tested it as follows:
Run yarn serve. Freshly log in against a scratch org to have a valid token. Run the following in a Django shell:
from django.contrib.auth import get_user_model
from metadeploy.api.jobs import preflight_job
from metadeploy.api.models import Plan
User = get_user_model()
user = User.objects.all().last()
plan = Plan.objects.filter(title__icontains='prefli').first()  # This is a Plan I made that runs the static_preflight flow from Christian's links above. It uses a Product and Version that use that repo, and that branch.
preflight_job.delay(user, plan)

See job finish successfully.

Merging; further cleanup can happen in preflight-results branch.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target-new/pull/16 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target-new.git

Docs Build status updates of commit 9a2e820:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

archvieSourceFolder/TOC.yml
:white_check_mark:Succeeded

archvieSourceFolder/content/someContent.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


ConsumerGroupStream with autoCommit=false commits offsets on close

In my use case, offsets should be committed only if the messages are handled successfully. In case of error (such as, no connection to database), the application should restart and retry handling the same message which caused the error. Eventually, no messages should be lost.
I tried the following:

Create HighLevelProducer and produce one message
Create ConsumerGroupStream with autoCommit = false and fromOffset = 'none'
When the message is consumed, commit offset manually and close ConsumerGroupStream by close method
Produce second message
Create new ConsumerGroupStream with the same parameters
The first message is skipped as expected. Now, when the second message is consumed, do not commit offset manually and close ConsumerGroupStream by close method
Create new ConsumerGroupStream with the same parameters
Expected behavior: ConsumerGroupStream should re-consume the second message, but instead, it continues from the latest offset

Sorry for not providing code for reproducing the issue (I have plenty of other business logic mixed in the code). Just wanted first to check if the described expected behavior is valid?
kafka-node 2.3.0

Sorry I didn't have time to verify the fix earlier, but seems to be working now indeed. Thanks a lot!


Feature: Using one scene on multiple canvases

Feature request
Link to forum discussion about the feature:

https://forum.babylonjs.com/t/using-one-scene-on-multiple-canvases/2819

Feature Description

I’m trying to use the same scene, but render them on 2 different canvases, and then for each canvas use a different camera angle.
All I can seem to get working now is have 2 instances of Engine, which is fine, but then to get one scene to render on both Engines/Canvases doesn’t seem to be possible, since the Scene wants an ‘engine’ instance.
I also want to avoid having 1 canvas with 2 viewports.
I want to avoid having 2 instances of the same scene, basically doing double the work.
Is it possible to just have one canvas re-use the scene data that was rendered on another canvas (I guess that means there is always one ‘first’ scene with a parent canvas, and then other canvasses can ‘inherit’ the scene without having to recalculate the scene, but only a different camera angle)

https://forum.babylonjs.com/t/new-feature-multi-canvases-rendering/6426


GIve away the details of get_name

Would it be possible to describe in "How it works" how obtaining the name is implemented?
I tried to study the library for a couple of hours, and still cannot understand it. Apparently, you must be creating a pointer-to-member somewhere, no? But how is it done?

You need to pass the field in a template function. Then you use a demangle function inside the current template function.
To demangle, use the special feature from the preprocessor: __PRETTY_FUNCTION__ or __FUNCSIG__. https://github.com/boostorg/pfr/blob/c695aa0b32ea7665d9e76cfa25655ed6302508e5/include/boost/pfr/detail/core_name20_static.hpp#L88-L96
Then you need to extract the template parameter of the current template function. But the output of the demangle function is not standardized, it's compiler dependent. See BOOST_PFR_CORE_NAME_PARSING https://github.com/boostorg/pfr/blob/c695aa0b32ea7665d9e76cfa25655ed6302508e5/include/boost/pfr/config.hpp#L115-L126
You may have a look at https://bitwizeshift.github.io/posts/2021/03/09/getting-an-unmangled-type-name-at-compile-time/
And after writing it, I noticed it returns only the type, not the member.... I hope it will help you a little... I also spend an hour without understand how to name of the field is demangled by PRETTY_FUNCTION.

https://github.com/boostorg/pfr/issues/90
It was borned here in the comments :)

Thanks.
Bu actually the hard part that I  struggle with is how you obtain a member, or a pointer to member. PFR so far only returned tuples of references, and I still do not see how you get from there to the "member", or a pointer to one.

There are no pointer-to-member in this method (I tried to get here but constexpr time will not work).
The simplified strategy is the following:

We create a not existing extern object

template<class T>
extern const T non_exists{};

We use the structure binding constexpr time on this object to get the members.

template<class T>
constexpr auto get_members() {
    // this example works only with 3 member
    auto& [m1, m2, m3] = non_exists<T>;
    return std::tuple{&m1, &m2, &m3};
}

We pass these objects to a template argument

template<class T, std::size_t I, auto* member = std::get<I>(get_members<T>())>
auto get_name()

We "generates" the function structure with compiler specific macro

{
    __PRETTY_FUNCTION__ // this contain the template argument "value"
   // -->  member = &non_exists<the_type>.member_name
}

So we "get" the name from the non-existent object's member address.
This is works because the non_exists object is not used runtime and T class is not instanciated anywhere.

We use the structure binding constexpr time on this object to get the members by their pointers (code)
template<class T>
constexpr auto get_members() {
    // this example works only with 3 member
    auto& [m1, m2, m3] = non_exists<T>;
    return std::tuple{&m1, &m2, &m3};
}

I still don't get this part. This code only returns pointers (rather than pointers-to-members). boost::pfr::detail::sequence_tuple::get returns a reference, like int const&.  How can you turn it into a member pointer, or something that you could get a name from?

You right, only references in this code. And it's more than enough to obtain the name.
Looks at this: https://godbolt.org/z/31T817Mef
No pointer to members in the snippet.
That's possible only since C++20, looks at the section "Template non-type arguments" here: https://en.cppreference.com/w/cpp/language/template_parameters

Oh. Thank you. This is brilliant.
I think this explanation is worth putting in the docs. This is very interesting on its own, and would contribute to Boost being not only good libraries but also the source to learn interesting programming techniques.

Sure, article in the docs will be created later

https://godbolt.org/z/Kj9MKosz9
Perhaps line 14 like this is faster at compile time.
constexpr auto first = sv.find_last_of(":.>", last);

than
constexpr auto first = sv.find_last_not_of("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789", last);


Support for indexing Oracle BFILE.

For posterity, you added the bug number to the description instead of the summary.


wrong results in settings search

VSCode Version: 1.43.0-insider
OS Version: Ubuntu 20.04

Steps to Reproduce:

Search for - off in settings.

Expected behavior:
It searches for - off and highlights it.
Actual behavior:
It searches for . and some spaces and highlights them, some occurrences of off are highlighted, some are not.

Does this issue occur when all extensions are disabled?: Yes
Related issue:
https://github.com/microsoft/vscode/issues/27677

This editor is in maintenance mode.
Happy to take PR to fix this.

I would like to take this PR.

@sandy081 Adding you as owner as otherwise the issue shows up in the Team Inbox


Stop built in FF's from throwing warnings

PR Summary:
fixes #363 and fixes #340

Added names and versions to OPLS-AA and TRAPPE-UA
Added a warnings wrapper to the load functions because the remaining warnings are very unhelpful to users:

>>> ff = foyer.forcefields.load_TRAPPE_UA()
/Users/jenny/Projects/foyer/foyer/forcefield.py:526: UserWarning: Non-atomistic element type detected. Creating custom element for _CH4
  warnings.warn('Non-atomistic element type detected. '
/Users/jenny/Projects/foyer/foyer/forcefield.py:526: UserWarning: Non-atomistic element type detected. Creating custom element for _CH3
  warnings.warn('Non-atomistic element type detected. '
/Users/jenny/Projects/foyer/foyer/forcefield.py:526: UserWarning: Non-atomistic element type detected. Creating custom element for _CH2
  warnings.warn('Non-atomistic element type detected. '
/Users/jenny/Projects/foyer/foyer/forcefield.py:526: UserWarning: Non-atomistic element type detected. Creating custom element for _HC
  warnings.warn('Non-atomistic element type detected. '

Yes, it is a united-atom FF 😅
>>> ff = foyer.forcefields.load_OPLSAA()
/Users/jenny/Projects/foyer/foyer/validator.py:132: ValidationWarning: You have empty smart definition(s)
  warn("You have empty smart definition(s)", ValidationWarning)

Although we should finish adding smarts definitions, probably a user is not going to do anything with this warning!
PR Checklist

[ ] Includes appropriate unit test(s)
[ ] Appropriate docstring(s) are added/updated
[ ] Code is (approximately) PEP8 compliant
[x] Issue(s) raised/addressed?

Is there a way to filter and remove just these specific warnings, rather than ignoring all warnings?

@rsdefever Good point! The wrapper now only ignores the specific warning categories.
I also added a changelog file in the xmls directory--I'd like to hear feedback on this, but I thought it might be good to keep track of ff changes in one place. I'm not sure how semantic versioning would work with an xml, but I imagine something like: add a value = bump patch number, change a value = bump minor number, larger change = bump major number?


instagram-py: command not found

when i use the auto mode and put the username and the number for the passwords, the auto.sh file tries to call instagram-py witch didn't exist, pls fix this

@dark-player

when i use the auto mode and put the username and the number for the passwords, the auto.sh file tries to call instagram-py witch didn't exist, pls fix this

My Experience:
💗. Recovering Hacked WordPress Website
💗. Full Vulnerability Scan and WordPress website malware removal
💗. Vulnerability Assessment
💗. Antispam protection
💗. Analysis of database servers
💗. Restore a hacked website
💗. Ethical Hacking(White Hat Hacker)
💗. Hacked account recovery
💗. Password recovery
💗. Decode encrypted files
💗. Vulnerability Testing
💗....my WhatsApp number +8801314956025

Who can hack an IG account for me, plz contact me


New integration from yazi.nvim 👋🏻

Hi! I am working with a neovim plugin for a terminal file manager. I added support for renaming and deleting files using your implementation (love it).
I was wondering if you could skim over my implementation here https://github.com/mikavilpas/yazi.nvim/pull/190

should I do some kind of initialization logic? It seems like currently this plugin integrates with nvim-tree and neo-tree entirely based on their events, which is pretty clever
are you fine with me importing your internal modules (lsp-file-operations.did-rename etc.)? Or should this be done some other way? I am not sure if you consider them a part of your stable, public API.

Also, I asked for your plugin to be packaged into luarocks here https://github.com/nvim-neorocks/nurr/pull/14 so that I can depend on it from my continuous integration test suite.

Hi! Thanks for reaching out and for using the plugin.
I've looked through your pr briefly, One concern that I have is calling both will-delete and did-delete at the same time. I haven't seen any language servers that implement both will-delete and did-delete yet. But I have a feeling that if there are both of these methods only one of them should be called.
will-delete should be called before actually moving the files. You should wait for the workspace edit from language server, apply it, and then move the files.
did-delete should be called after moving the files. You should then apply workspace edit to fix all the imports.
Same applies for renaming files.
Regarding initialization logic, you can set config values that you need. If there is something missing I'm always open for new prs. If the current event-based integration meets your needs without any issues you are good to go.
As for importing internal modules like lsp-file-operations.did-rename, I don't expect them to change much.
Thanks for packaging the plugin into Luarocks!
Feel free to reach out if you have any more questions or need further assistance.

Thanks for the feedback. I'll try to see if I can avoid issues with calling both will-rename and did-rename as it does seem a bit weird to me too.
The use case I have with yazi (the terminal file manager) is currently not fully compliant with the LSP specification, I think. This is because the renaming is done by yazi before I can send that will-rename event.
Currently I don't have a way to improve it, but I might have a way in the future. Right now my idea is to have a "50% solution" that will help in some cases and just accept that some LSPs cannot be supported.
One thing I could ask for help for though is the possibility for adding versioned releases to nvim-lsp-file-operations. It was suggested as a potential solution to me in https://github.com/nvim-neorocks/nvim-busted-action/issues/4#issuecomment-2227314452. Right now the nvim-lsp-file-operations luarocks package is published as an scm version, which I think means it's a development version.
There is an ongoing issue where the unit testing github action that I depend on doesn't seem to be able to fetch development versions of luarocks. In my plugin I am using https://github.com/marketplace/actions/release-please-action, but my guess is the logic for determining the version number looks for git tags in the form of v1.0.0 (example run)


Poor performance in Release mode

Description
Compared to the native Windows File Explorer, Files seems to stutter when scrolling through a list of files (sometimes the list goes invisible as you scroll fast enough and displaying an empty icon, signaling that it's loading something, which never appears to happen in the native file explorer). See video attached
https://github.com/files-community/Files/assets/19608222/10ea628a-52a0-4ac2-9920-7f7ef2db17bd
Steps To Reproduce

Open up the Visual Studio Solution
Set configuration to Release mode
Hit Launch Machine
Then open up the native file explorer

Finally, compare and contrast with the performance of native Windows File Explorer vs Files
Requirements
Silky smooth scrolling experience
Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.2134
Log File
The log file is not really needed, since it's more of a performance/visual bug. But i'll upload it here anyway. Note that what you see in the log file is not related to the performance issue. Since this field was mandatory i need to upload one
debug.log

I have not, let me give that a try though

Unfortunately the stable release version from that download page is not any better, it seems to have the same performance issues as the Release VS dev version. See video attached
https://github.com/files-community/Files/assets/19608222/6a8cbe23-5d6b-41e4-afa9-809dca0730f9

Yes the icon loading will be the same in any version, as I said above this will be improved where possible over time. The window movement however shouldn't be laggy.

Ok cool. Thats good. I am just confused as to why you've marked this issue as closed. Shouldn't we raise this issue up or maybe perhaps reclass this label under a new one called "performance-bugs"

We track them in #4180. but since this is also obvious an issue it doesn't need to be tracked as a separate issue

There are two things going on here

Files loads thumbnails as they are scrolled into the view port whereas File Explorer loads everything at once.
WinUI isn't as performant as the frameworks File Explorer uses, Microsoft is working on improving this but that's another reason why performance is a little worse when quickly scrolling large lists.

I see. Do you guys have some ideas on this will be remedied

Drastic changes don't happen overnight, but you can expect gradual improvements from both our side as well as from Microsoft in future updates to WinAppSdk.

Drastic changes don't happen overnight, but you can expect gradual improvements from both our side as well as from Microsoft in future updates to WinAppSdk.

Cool, looking forward to it :)
The only thing stopping me from replacing file explorer completely after seeing this project just an hour ago is the poor performance. My download folder only has 500 files and stutters quite a bit. I'll be buying this on ms store as soon as this improves to file explorer load times. Thank you!

@WarmWelcome regarding the downloads folder, you can check if turning off the "grouping" mode makes a difference.


[BUG] Email notification does not render custom variables added to ctx.result

What is the bug?
On version 2.9, it is not possible to send via email custom data generated in the trigger script.
I migrated some watchers to Opensearch using the trigger step as a replacement for the transform step.
How can one reproduce the bug?

Add a new variable to ctx.result[0], e.g.

List al = new ArrayList();
for (env in ctx.results[0].aggregations.2.buckets) {
for (origin in env.3.buckets) {
    for (pcode in origin.4.buckets) {
        for (ttype in pcode.5.buckets) {
            Map mp = new HashMap();
            mp.put("env", env.key);
            mp.put("origin", origin.key);
            mp.put("pcode", pcode.key);
            mp.put("ttype", ttype.key);
            mp.put("count", ttype.doc_count);
            mp.put("mint", ttype.8.value_as_string);
            mp.put("maxt", ttype.9.value_as_string);
            al.add(mp);
        }
    }
}
}
ctx.results[0].condition = al;
return al.size() > 0

The Alerting page preview correctly references and shows the new variables

Env,Origin,ProcessingCode,TrxType,Count,MinHostime,MaxHosttime
{{#ctx.results.0.condition}}
{{env}},{{origin}},{{pcode}},{{ttype}},{{count}},{{mint}},{{maxt}}
{{/ctx.results.0.condition}}

The generated email does not contain the aforementioned variable

What is the expected behavior?
I expect the monitor to correctly reference a ctx.results[0].custom object created in the trigger script during the email templating.
What is your host/environment?

Red Hat 8.8
Opensearch 2.9

@uj-ff48 I dont see ctx.results[0].custom being referenced in the message piece.
Can you also specify which which parts of the following are not showing up?
{{#ctx.results.0.condition}}
{{env}},{{origin}},{{pcode}},{{ttype}},{{count}},{{mint}},{{maxt}}
{{/ctx.results.0.condition}}

Also did it show as empty values? If so, can you try replicate that run with a dry run to see the results of the monitor query? It could be empty because there were actually no values there in the monitor query result at that time.

Hello, when I say ctx.results[0].custom I am referring to a generic case: so, in the case of the example code I pasted, I am specifically referring to ctx.results[0].condition, which is a reference to the ArrayList I created in the trigger script.
I have already tested multiple dry runs using the query above: I have positive hits - hence the result is not empty - and the preview correctly renders the message.
When I send a test mail, the email lacks the {{#ctx.results.0.condition}} information, though and I see only a blank space.


Reference documentation should list the binders that are available.

These are listed in the project page, but not in the reference documentation.

@markpollack they are, but until we go to a better look-and-feel i do agree it is not always obvious. Tagging @sabbyanandan . . .

+1. We already have it in the docs, but it just needs to be elevated, and it will once when we have the new UI/UX PR merged upstream in spring-cloud-build.


I cannot reproduce results for an agent. What is going on?

Describe the bug
I have a trained agent which passes a Mario level when I run one script. After that I try to repeat the run on another script but it does not manage to finish the level.
Expected behavior
I expect a deterministic agent getting the same result in a deterministic environment.
Environment

Operating System: Ubuntu
Python version: 3.8

Additional context
It may be that I need to fix some randomness, but it is not clear how env.seed(1) according to help is fixing the level sequence only.

Was an unexpected randomness introduced in the 3d party code that I was using. The emulator is OK.
Sorry.

Was an unexpected randomness introduced in the 3d party code that I was using. The emulator is OK.
Sorry.


[Changelog] Update for Sprint 108

[skip ci]

@miq-bot add_label documentation

@carbonin as time permits, can you review/merge.


Set envvar for hmrc-manuals-api log request body

We need to configure this using an environment variable rather than config from GitHub Enterprise.

No longer needed apparently!


[Fix #6349] MemoizedInstanceVariableName allows underscored method name

We should be allowed to write code like this:
def _foo
  @_foo ||= :foo
end

namely if the method name has a leading _, the memoized variable name should have it too.
Currently it gives  an error, saying the variable should be named @foo.
This should fix #6349

I will address the failing spec after lunch.

Hmm, I thought we have fixed this already. Seems to me that's the 3rd time I see some issue about fixing vars with underscores. 😆

@bbatsov maybe so.
Was still a problem when I did this
(Which was prompted by an earlier issue with the same thing that I worked around)
If it's fixed on master, then fairdos.
Appreciate you taking a look.

The changes look good, but your branch has to be rebased on top of the current master branch due to merge conflicts. And add an entry in the changelog.


Widget get built twice

I came across follow issue when debugging my flutter app. Build method called twice.
import 'dart:math';
import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(
    initialRoute: '/',
    routes: <String, WidgetBuilder>{
      '/': (context) => HomePage()
    },
  ));
}

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final num = Random().nextInt(10000);
    print(num);
    return Scaffold(
      appBar: AppBar(
        title: Text('Home'),
      ),
      body: new Center(
        child: Text('Num: $num'),
      ),
    );
  }
}

Out of curiosity, why do you think this is an issue? The flutter engine can more or less arbitrarily decide when to rebuild and that shouldn't ever affect your UI. The point of widgets is that they contain a state (or a static state in the case of stateless widgets) and simply display that state - if you really want a randomly generated number you should do that outside of the build function.

Even following simple app:
import 'package:flutter/widgets.dart';

void main() {
  runApp(Home());
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    print('home....');
    return Container();
  }
}

Without any state or variables will build twice and produce following output:
Performing hot restart...
Syncing files to device iPhone 11 Pro Max...
Restarted application in 836ms.
flutter: home....
flutter: home....

So out of curiosity, why flutter decides to build it twice.

Hi, can you reopen this issue?
I tried the example from @ph55 and it happens the same with v1.17.1
I have a use case when I need to show a dialog right after a navigation, and this issue causes two overlapped dialogs. In addition to a waste of processing resources of course!
Here is a simplified example that demonstrates the issue with different cases in SecondScreen:
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) => MaterialApp(
        initialRoute: "/",
        title: "Example",
        theme: ThemeData(primarySwatch: Colors.blue),
        routes: {
          "/": (context) => MainScreen(),
          "/second_screen": (context) => SecondScreen()
        },
      );
}

enum MyEnum { VALUE_1, VALUE_2, VALUE_3 }

class MainScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) => Scaffold(
        appBar: AppBar(
          title: Text("Example"),
        ),
        body: Center(
          child: RaisedButton(
            child: Text("Go to second screen"),
            onPressed: () {
              Navigator.pushNamed(
                context,
                "/second_screen",
                arguments: MyEnum.VALUE_2,
              );
            },
          ),
        ),
      );
}

class SecondScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    print("SecondScreen");
    return Scaffold(
      appBar: AppBar(
        title: Text("Example"),
      ),
      body: Center(
        child: Column(
          children: <Widget>[
            WithArgumentAndPopup(),
            WithArgument(),
            WithPopup(),
            WithNothing()
          ],
        ),
      ),
    );
  }
}

class WithArgumentAndPopup extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    MyEnum enumValue = ModalRoute.of(context).settings.arguments;
    print("WithArgumentAndPopup (built twice)");
    WidgetsBinding.instance.addPostFrameCallback((_) => showDialog(
        context: context,
        builder: (BuildContext context) => Text("Some Popup")));
    return Text("Value was: $enumValue");
  }
}

class WithArgument extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    MyEnum enumValue = ModalRoute.of(context).settings.arguments;
    print("WithArgument (built twice)");
    return Text("Value was: $enumValue");
  }
}

class WithPopup extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    print("WithPopup (built once)");
    WidgetsBinding.instance.addPostFrameCallback((_) => showDialog(
        context: context,
        builder: (BuildContext context) => Text("Some Popup")));
    return Text("I have just a popup");
  }
}

class WithNothing extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    print("WithNothing (built once)");
    return Text("I only have my text");
  }
}

Console output:
I/flutter (26678): SecondScreen
I/flutter (26678): WithArgumentAndPopup (built twice)
I/flutter (26678): WithArgument (built twice)
I/flutter (26678): WithPopup (built once)
I/flutter (26678): WithNothing (built once)
I/flutter (26678): WithArgumentAndPopup (built twice)
I/flutter (26678): WithArgument (built twice)
Fluter doctor output:
[√] Flutter (Channel stable, v1.17.1, on Microsoft Windows [VersiÃ³n 10.0.18362.778], locale es-AR)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Android Studio (version 3.6)
[√] IntelliJ IDEA Ultimate Edition (version 2019.3)
[√] Connected device (1 available)

Same here
But I found it only one situation while i connect my phone with Android studio

Same here in Jun 2020.

Same here with a simple
Future main() async {
runApp(App());
}
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
debugPrint("Building App");
return Container();
}
}

same issue happening here.
`import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class Home extends StatefulWidget {
@override
_HomeState createState() => _HomeState();
}
class _HomeState extends State {
List myList = ['FOOD 1','FOOD 2','FOOD 3'];
List sliverChildList =[];
int counter = 0;
//create card widget
Widget createCard(String text,String imageUrl){
return Card(
margin: EdgeInsets.all(10),
elevation: 50,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.horizontal(
left: Radius.elliptical(20, 20),
right:Radius.elliptical(20, 20),
)
),
child: Container(
padding: EdgeInsets.all(10),
height: 200.0,
width: MediaQuery.of(context).size.width,
child: Row(
//              crossAxisAlignment: CrossAxisAlignment.stretch,
//              mainAxisAlignment: MainAxisAlignment.start,
children: [
CircleAvatar(
backgroundImage: AssetImage('assets/image.png',),
radius: 55,
),
SizedBox(width: 30,),
Expanded(
child: Center(
child: Text(
text,
textAlign: TextAlign.center,
softWrap: true,
overflow: TextOverflow.visible,
style: DefaultTextStyle.of(context).style.apply(fontSizeFactor: 0.55,color: Colors.black,decoration: TextDecoration.none),
),
),
),
],
),
),
  );

}
//  create sliver child list
List createSliverChildList(myList){
myList.forEach((element) => sliverChildList.add(createCard(element, 'assets/image.png') ?? Text('null')));
return sliverChildList;

}
@override
Widget build(BuildContext context) {
setState(() {
counter++;
});
print('$counter build');
return Scaffold(
body:CustomScrollView(
slivers: [
SliverAppBar(
flexibleSpace: FlexibleSpaceBar(
title: Text("Food ingredients"),
centerTitle: true,
),
expandedHeight: 200.0,
leading: Icon(Icons.menu),
),
SliverOpacity(
opacity: 0.4,
sliver: SliverList(
delegate: SliverChildListDelegate(createSliverChildList(myList)),
),
),
//        SliverFixedExtentList(
//          itemExtent: 200.0,
//          delegate: SliverChildListDelegate(createSliverChildList(myList)),
//        ),
],
));
}
}
output
Performing hot restart...
Syncing files to device TA 1021...
Restarted application in 2,113ms.
I/flutter (27175): 1 build
I/flutter (27175): 2 build

`import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class Home extends StatefulWidget {
@override
_HomeState createState() => _HomeState();
}
class _HomeState extends State {
List myList = ['FOOD 1','FOOD 2','FOOD 3'];
List sliverChildList =[];
int counter = 0;
//create card widget
Widget createCard(String text,String imageUrl){
return Card(
margin: EdgeInsets.all(10),
elevation: 50,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.horizontal(
left: Radius.elliptical(20, 20),
right:Radius.elliptical(20, 20),
)
),
child: Container(
padding: EdgeInsets.all(10),
height: 200.0,
width: MediaQuery.of(context).size.width,
child: Row(
//              crossAxisAlignment: CrossAxisAlignment.stretch,
//              mainAxisAlignment: MainAxisAlignment.start,
children: [
CircleAvatar(
backgroundImage: AssetImage('assets/image.png',),
radius: 55,
),
SizedBox(width: 30,),
Expanded(
child: Center(
child: Text(
text,
textAlign: TextAlign.center,
softWrap: true,
overflow: TextOverflow.visible,
style: DefaultTextStyle.of(context).style.apply(fontSizeFactor: 0.55,color: Colors.black,decoration: TextDecoration.none),
),
),
),
],
),
),
  );

}
//  create sliver child list
List createSliverChildList(myList){
myList.forEach((element) => sliverChildList.add(createCard(element, 'assets/image.png') ?? Text('null')));
return sliverChildList;

}
@override
Widget build(BuildContext context) {
setState(() {
counter++;
});
print('$counter build');
return Scaffold(
body:CustomScrollView(
slivers: [
SliverAppBar(
flexibleSpace: FlexibleSpaceBar(
title: Text("Food ingredients"),
centerTitle: true,
),
expandedHeight: 200.0,
leading: Icon(Icons.menu),
),
SliverOpacity(
opacity: 0.4,
sliver: SliverList(
delegate: SliverChildListDelegate(createSliverChildList(myList)),
),
),
//        SliverFixedExtentList(
//          itemExtent: 200.0,
//          delegate: SliverChildListDelegate(createSliverChildList(myList)),
//        ),
],
));
}
}
`

same issue happening here.
import 'package:flutter/material.dart';

class Home extends StatefulWidget {
  @override
  _HomeState createState() => _HomeState();
}

class _HomeState extends State<Home> {
  List<String> myList = ['FOOD 1','FOOD 2','FOOD 3'];
  List<Widget> sliverChildList =[];
  int counter = 0;

  //create card widget
  Widget createCard(String text,String imageUrl){
    return Card(
        margin: EdgeInsets.all(10),
        elevation: 50,
        shape: RoundedRectangleBorder(
            borderRadius: BorderRadius.horizontal(
              left: Radius.elliptical(20, 20),
              right:Radius.elliptical(20, 20),
            )
        ),
        child: Container(
            padding: EdgeInsets.all(10),
            height: 200.0,
            width: MediaQuery.of(context).size.width,
            child: Row(
//              crossAxisAlignment: CrossAxisAlignment.stretch,
//              mainAxisAlignment: MainAxisAlignment.start,
            children: <Widget>[
             CircleAvatar(
               backgroundImage: AssetImage('assets/image.png',),
               radius: 55,
             ),
              SizedBox(width: 30,),
              Expanded(
                child: Center(
                  child: Text(
                    text,
                    textAlign: TextAlign.center,
                    softWrap: true,
                    overflow: TextOverflow.visible,
                    style: DefaultTextStyle.of(context).style.apply(fontSizeFactor: 0.55,color: Colors.black,decoration: TextDecoration.none),
                  ),
                ),
              ),
            ],
          ),
        ),

      );

  }

//  create sliver child list
  List<Widget> createSliverChildList(myList){

    myList.forEach((element) => sliverChildList.add(createCard(element, 'assets/image.png') ?? Text('null')));
    return sliverChildList;
  }

  @override
  Widget build(BuildContext context) {
    setState(() {
      counter++;
    });
    print('$counter build');
    return Scaffold(
        body:CustomScrollView(
      slivers: <Widget>[
        SliverAppBar(
          flexibleSpace: FlexibleSpaceBar(
            title: Text("Food ingredients"),
            centerTitle: true,
          ),
          expandedHeight: 200.0,
          leading: Icon(Icons.menu),
        ),
        SliverOpacity(
          opacity: 0.4,
          sliver: SliverList(
              delegate: SliverChildListDelegate(createSliverChildList(myList)),
          ),
        ),
//        SliverFixedExtentList(
//          itemExtent: 200.0,
//          delegate: SliverChildListDelegate(createSliverChildList(myList)),
//        ),
      ],
    ));
  }
}

output

Performing hot restart...
Syncing files to device TA 1021...
Restarted application in 2,113ms.
I/flutter (27175): 1 build
I/flutter (27175): 2 build

For anybody still struggling with this, this article might help: https://flutterigniter.com/future-async-called-multiple-times/

Same here in November 2020.

Same here in Jan 2021 :D

Same here in Jan 2021 :D

Same here in Jan 2021 :)
I think anybody who might wanna get rid of this feature or bug, Designing a State Machine is considerable. It might be not so viable but will solve the so-called issue for now.

Same here in Jan 2021 :)
I think anybody who might wanna get rid of this feature or bug, Designing a State Machine is considerable. It might be not so viable but will solve the so-called issue for now.

This issue doesn't appear during development with hot-reloading. Only the first time it happens.
void main() {
  debugPrint('main function started...');
  runApp(
    ChangeNotifierProvider<AppStateModel>(
      create: (_) => AppStateModel()..loadInitialState(), // No 'notifyListeners()' in `loadInitialState()`
      child: Consumer<AppStateModel>(builder: (context, _, __) {
        debugPrint('root widget created...');
        return App();
      }),
    ),
  );
}

console result:
Performing hot restart...
Syncing files to device iPhone 8...
Restarted application in 402ms.
flutter: main function started...
flutter: loadInitialState done (notifyListeners not used at all)
flutter: root widget created...
flutter: build CupertinoStoreHomePage (root)
flutter: root widget created...
flutter: build CupertinoStoreHomePage (root)

Same here April 11 2021

Same here in May :(

Still Same here :(
I also asked a question on stackoverflow. But no one has an answer.
https://stackoverflow.com/questions/64834702/why-build-function-gets-called-twice-when-hot-restarting

Same here (end of June 2021). I tried to use the initializer in a stateful widget to make sure and as expected, it was initialized, deactivated, then initialized again

same here in july 6, this is really a issue

Same, everything was working fine just a week ago, until I decided to resume working on the project today and came across this problem.

I tried a workaround and it worked for me.
-I've declared a static boolean variable initialized to false
-In the method that runs before returning the widget in the build method, I check if the static bool is true then return void
-the bool is assigned to true at the end of the method obviously

why this ticket is closed?
rebuilding twice will interrupt my video initializer and firbase init call.

I don't know if this applies to anyone else, but this happened to me as well, but I think I was able to figure out what happened (but not why).
What I figured out is that if I use Visual Studio Code to Run the app (Start Debugging (or pressing F5)) the error occurs, i.e. it seems to re-build the widget two times.
If I use the terminal to run it (flutter run -d chrome), however, it seems that it actually only build it once.
I therefore have a theory that something in the visual studio code editor is making this bug, but that's just a speculative guess.

hello everyone
i hope you are doing fine
this is not flutter bug ! this is vscode bug.
if you try your code in android studio or run your app with flutter run everything wroking fine.
and you will not have this bug in release mode.
finally i updated my vscode and now everything works fine

hello everyone
i hope you are doing fine
this is not flutter bug ! this is vscode bug.
if you try your code in android studio or run your app with flutter run everything wroking fine.
and you will not have this bug in release mode.
finally i updated my vscode and now everything works fine

It's happening to me in Android Studio and VSCode with latest version, but with flutter run  it works like a charm.
The problem on IDEs still in my case, and it's annoying so the issue persist.

hello everyone
i hope you are doing fine
this is not flutter bug ! this is vscode bug.
if you try your code in android studio or run your app with flutter run everything wroking fine.
and you will not have this bug in release mode.
finally i updated my vscode and now everything works fine

It's happening to me in Android Studio and VSCode with latest version, but with flutter run it works like a charm.
The problem on IDEs still in my case, and it's annoying so the issue persist.

hmm try it: update your flutter plugin
i also updated my plugins

With the last stable Flutter Sdk (2.2.3) and the last IntelliJ (2021.2) with flutter plugin (58.0.4) the 'fact' (build called twice) occurs in the following scenario:
(tested on Android 10 and Windows 10 as target platforms)

only after Hot Restart (not after first startup or Hot reload)
only launching the flutter application through the IDE (not launching the app 'manually' from the command line with flutter run).
In a previous post the unnecessary rebuild was also reported for the latest version of VSCode.

The flutter team was clear that the unnecessary 'rebuild' at launch should not be considered a bug*, and that therefore the flow of an app's execution should not rely on a fixed number of build's executions (for example, if an app displays a dialog at the first run of build(), this flow will have to be modified, for example by displaying the dialog using WidgetsBinding.instance.addPostFrameCallback() in initState()).
But on the other hand I think it is normal that during the development of an app, to understand if the behavior is as expected, the build's executions are logged/checked, and that an unexpected execution can confuse the developers and cause waste of time to ascertain the causes.
So I think this issue should be reopened, and this unexpected behavior should be documented or somehow explained.

I agree, this should be reopened.  I wasted a good amount of time this morning trying to figure out what was going on.

Make your widget constructor const like :
runApp(const MarketerApp());
it's not a problem at all but if it's make problem to you , const constructor will fix your problem


audioknigi.club

This site uses CryptoLoot: https://audioknigi.club/templates/skin/aclub/js/bgdad.js
https://pastebin.com/bFgqcc2x

Blacklist has been updated.
Thanks!


Unrecognized type (component dependency?) is present

I'm using api same as dagger. I had such errors.
Please advise. Am I using it incorrectly?
How to inject dependencies to graph?

Well, in your code you extend the Builder interface with the AppComponent interface. That's why the method fun inject(activity: MyActivity) gets into the Builder and confuses the framework, as it makes no sense inside a component builder. In Dagger you'd get similar error message.
To my understanding, there's little sense in extending the builder interface with the component interface it tries to build. If you did that deliberately, please describe what you meant by doing so. Otherwise, just remove the : AppComponent, and you should be all good.

Thank you. This is my fault.


Documentation minor Issue

Describe the bug
In the documentation of Spring Cloud Netflix features, there is an issue
Feature should be

Service Registeration
Service Discovery

Sample

Can I work on this issue?

I put the pull request

I have raised the PR(#4166) for this issue.

@satishppawar  could you assign this to me if it is still open?

@spencergibb  could you assign this to me if it is still open?

@spencergibb can u review PR #4188?


Defined values for columns - empty list

Default value for column values is null. If I create a list and remove all items, I have empty list. This causes creating empty lookup. Then value in this column can't be modified.

Fixed in 2.2.6


[Feature][Connector][Http] Support multi-line text splits

https://github.com/apache/incubator-seatunnel/issues/4649
Purpose of this pull request
[Feature][Connector][Http] Support multi-line text splits

Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[x] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

The code has been submitted and local testing has passed. We hope you can review it

add e2e testcase into this case
https://github.com/apache/incubator-seatunnel/blob/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-http-e2e/src/test/java/org/apache/seatunnel/e2e/connector/http/HttpIT.java#L91

+1

add e2e testcase into this case
https://github.com/apache/incubator-seatunnel/blob/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-http-e2e/src/test/java/org/apache/seatunnel/e2e/connector/http/HttpIT.java#L91

+1

get

check ci error

check ci error

done

I have added e2e testing classes and optimized the code style . @hailin0 @TyrantLucifer

check ci error

Fixed this issue

Fixed this issue

CI-All checks have passed


Changes

I am merging but take note of the following:

Work on a branch other than the main branch and make a pull request from there.
Always pull main before you create a new branch to work from.
 Task/create_directory


Add permission_flags system field

update jsonschema and mappings
cover with tests
closes https://github.com/inveniosoftware/invenio-rdm-records/issues/1289

To be crosschecked with @slint @kpsherva @zzacharo but IIRC the agreement was to not create new versions of mappings if backwards compatible (as it is). But changes should go to v6 not v5 (IMO).

Oh my... I think we have a v6 because of the files indexing (though I thought it was backwards compatible 🤔 ). Well in any case now we're in the mud, so yeah, these have to go to the latest version, i.e. v6...
Adding the test in the service would indeed help to catch this. Though we've had the discussion in the past that some of tests we already have are overlapping between layers, and we should have more smoke tests :)

PR LGTM, but why is it only in v5 of the mappings? The latest is now v6!
To be crosschecked with @slint @kpsherva @zzacharo but IIRC the agreement was to not create new versions of mappings if backwards compatible (as it is). But changes should go to v6 not v5 (IMO).
@anikachurilova can we add 1 test that is from the service level instead of just the sysfield? that would have caught this issue since the default mapping is v6 (would have crashed due to the lack of the new field) 😇

@ppanero Isn't this the test that you mean? The field is not accessible from service layer as it's not present in marshmallow schema


Performance Improvement - Pop vs Shift

Hi!
I was checking your project to build a huge tree, over 50k nodes.
I implemented both tips on the Readme.md to increase performance and noticed a huge boost.
Only then I noticed a big lag when selecting and deselecting leaf nodes, I when profiled the .js I found the culprit:
Using Chrome 67 the code spent a long time on line 806 of the dist file:
      next = queue.shift();
If I used next = queue.pop(); the code went much much faster! The tree was being built exactly the same and everything seems to work fine.
Therefore I suggest replacing the following line with next = queue.pop() :
https://github.com/iVantage/angular-ivh-treeview/blob/589b6b2525b215eeeba77e930b4bbb5e3aa0502d/src/scripts/services/ivh-treeview-bfs.js#L63
If you want I can create a Pull Request.
Best Regards.

Very interesting, That makes a lot of sense - shift is definitely slower than pop.
Changing that shift to a pop would make this a depth first search instead of a breadth first one... a stretch but technically a breaking change since we advertise this service as a doing a breadth first search (and even call it Bfs 🤦♂ ).
I'd be super open to a PR. Though we couldn't keep calling the service Bfs if it's doing DFS and It would be nice to not have to bump the major version if possible.


Delayed transaction display

When first connecting to an explorer, the UI comes up but the transactions do not. They take some time to load but there is no indication what is happening so people tend to reload the page as if something is wrong.
Show an indication of what is happening while we wait.

Are you talking about the transactions "data" itself or the whole page?
Because for the transactions there is now a "Loading..." which I plan later to change to a real loading indicator.

Data
++ Rob
About me https://remote.com/r
On Sun, Feb 11, 2018 at 1:07 AM, Nasicus<EMAIL_ADDRESS>wrote:

Are you talking about the transactions "data" itself or the whole page?
Because for the transactions there is now a "Loading..." which I plan
later to change to a real loading indicator.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ArkEcosystem/ark-explorer/issues/102#issuecomment-364735693,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AClFXSRkj2KjnUdDu33SlQ3Dwrhzu9Hoks5tTq3DgaJpZM4SBNaf
.

https://github.com/ArkEcosystem/ark-explorer/commit/86bd9603077987f1bf8f2a052756001c7eb5837f


Potential fix NPE in ItemGridView::postChange occurring on client.

This appears to happen when the contents of the grid previously
contained items that were also ingredients for an autocrafting recipe,
and the autocrafting recipe has been created.
Based on the null check in the block of code after the one edited, it
seems to be a thing that the map can potentially return a null result;
however, the "update other id" block does not test for null, simply
calling updateOtherId.
This commit adds a test for a potential null result from the map.
While this might just be addressing the side effect of a larger issue
associated with auto-crafting (i.e., the expectation that the IGridStack
wouldn't be a null result), it hopefully reduces the number of annyoing
client-side crashes.
-> After some extensive testing in a situation where I was getting multiple crashes per gaming session, using this modification seems to have reduced them to nothing.

If you look at the issue in a debugger you can see that the actual issue happens when the map is completely empty.
Your solution will also catch this situation. I've just put a catch in for empty and similarly not had any issues since.
We need to investigate if it is at all related to the craftable condition and whether or not the message can be discarded entirely or needs to be added to the map immediately or later.

I didn't have it reproducible (or rather, I didn't go to the lengths needed to be able to reproduce it) in such an environment, so I wasn't sure whether it was the map being empty or whether there were situations where the map had information in it, but not specifically this information; judging by the future null checks, it seemed sensible to also check for null here.
Definitely the issue only ever seems to occur for me (and the other person using my refined storage network) when opening a crafting grid immediately after having performed an autocrafting procedure on another terminal.

This is not the right fix. This NPE check is masking an actual issue.
While I can't reproduce this, I'm assuming this crash is caused by this:

Open a Grid
When the Grid is open, a Crafter is causing an invalidation of the craftables list (for some reason??? Could be a) a new pattern was inserted b) crafter got disconnected and reconnected (energy problems?) or c) the direction of the crafter changed)
This invalidation causes a rebuild of the craftables list, giving new IDs
As soon as a Grid sends a delta packet with an item change, this new ID is sent along as well
The client never knew of any ID changes to the craftables list, they only get that when the grid is initially opened.

So while I'm speculating, I think that's the issue. I'll implement a fix for that scenario next release and if it's not helping, we can resort to null checks.

I don't believe this fixes the actual issue. This might mask an issue. I'll close this PR for now while we investigate the actual cause of this. If we can't find a cause, we can resort to null checks.

Update: we found the cause. Turns out this PR could've still worked.
The problem was that the Grid is sending delta packets when the client is watching the screen.
It stops sending those as soon as the client closes the screen. But as this is serverside, there is some latency till the server knows the client has closen the screen.
This means that the server might still be sending delta packets when the client has closen the screen.
Due to our screen executeLater system, those "rogue" old packets would still be handled as soon as we open the Grid screen again moments later.
Because postChange (delta packet) would be called before setStacks (initial update packet), it would crash with that NPE because the map is still empty.


Added a way to prepend the SHA tags for container registry

So we can run multiple tests

/retest

/retest

S3 / AWS SDK / localstack pain during the in repo e2e; presumably with the pruning job passing this is just an env / constrain flake, but let's see if we can get clean
/test jvm-build-service-in-repo-e2e

/retest

all green ... merging


[FR]: Jetchat is not laid out edge-to-edge in 2 & 3-button navigation mode

Is there an existing issue for this?

[X] I have searched the existing issues

Is this a feature request for one of the samples?

[X] Yes, this is a specific request related to this samples repo.

Sample app
Jetchat
Describe the problem
Jetchat is not laid out edge-to-edge in 2 & 3-button navigation mode (it is not drawn behind the system navigation bar in 2 & 3-button navigation mode).

Describe the solution
Jetchat is laid out edge-to-edge in 2 & 3-button navigation mode (it is drawn behind the system navigation bar in 2 & 3-button navigation mode).

Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Needs  help