EditorNode: add Save/Discard/Cancel dialog

When closing the scene, a dialog will appear with "Discard", "Cancel", "Save & Close".
This is to clarify and reassure users that the scene will be saved upon closing.
Before

After

Good improvement :) I find the text in the popup a bit strange.. perhaps doesn't fit well considering the text in the buttons.
here's a similar dialog from LibreOffice

Agree with @nunodonato, the libreoffice text is clearer.

Changed to "Save changes to the scene before closing?" "Don't Save" ...
I'm not good at choosing words.

Much better :D

In the latest commit I've added 2 new dialogs that appear when the editor is closing. These won't trigger the Save dialog, but they'll call save_all_scenes in the background. Also it'll fallback to the old dialogs when no changes is detected. I haven't tested this extensively yet, but it should work.
The problem is the scenes that are never saved to the disk won't be saved at all even when "Save & Quit" is chosen, but I don't know how to describe this to the users.
Another problem is that there is already has_unsaved_changes in EditorNode but it works for selected scene only. I have to make another method to check for unsaved changes in all scenes. I can't name it without potentially causing confusion.
Please advice. Thank you.

(PS. I'll squish the commits when it's ready to merge.)

The latest commit adds an editor setting: interface/quit_confirmation (true)
When set to false and there's no change to the project, the editor quits without showing confirmation dialog.
I've also add interface/save_each_scene_on_quit (true) that lets users to choose whether they want to
false: save or not save all scenes (excluding new scenes that are never saved), or

true: choose for each unsaved scenes.

But this new setting introduces regression, so it's disabled and set to true by default. The regression randomly freezes the editor when save_all_scenes is called. (scenes are saved but the editor never quits) I have no idea on what causes it.


RTX Extensions for DX12, Vulkan and OpenGL

I'm not sure what the protocol is for extension support, but with Nvidia's newest GPUs they have also helped to add ray-tracing extensions to DirectX 12, Vulkan and even OpenGL. These three extensions are very similar, so adding them to the HAL would be nice to have.
Quick links:
VK_NV_raytracing
GLSL_NV_raytracing
SPV_NV_raytracing
Additionally, I found that Metal supports some ray-tracing acceleration via the Metal Performance Shaders.

Any progress on this?

Whatever we expose will likely be based on Khronos efforts, and there isn't anything yet to target, see https://github.com/KhronosGroup/Vulkan-Docs/issues/686

Nvidia's newest GPUs they have also helped to add ray-tracing extensions to DirectX 12, Vulkan and even OpenGL

Actually there is no OpenGL support.  The VK/GLSL/SPV are all part of the Vulkan extension (which is now called VK_NV_ray_tracing btw).

Ah, I see. Slightly unfortunate but understandable. I've updated the links as well, which seemed to have rotted due to the name change.

and even OpenGL
Can be opted by OptiX, but may have some problems with shaders compilation. Can be used Vulkan interop (but better use Vulkan itself).
For DirectX 12 can be used DXR. For Vulkan API can be used VK_NV_ray_tracing. For shading language can be used HLSL with DXC.

Let me expand on the previous answer. Surely, there are many targets that support some way of raytracing. However, Vulkan itself doesn't have a vendor-independent API for this, and we are modelling gfx-rs API after Vulkan. So it's not clear how to expose this now. Whatever we implement today would have to be changed (possibly, in a major way) when/if Vulkan comes up with a standard API for raytracing.
Saying that, any ideas and PRs on rolling out the initial implementation here are welcome!

Hi @kvark! I'm interested in learning about ray tracing APIs and would love to take a stab at this. Do you think an API in gfx shaped like VK_NV_ray_tracing (i.e. allocating and filling acceleration structures, compiling shaders, and launching initial rays) would be a reasonable starting point?
This, like you've mentioned, could only be implemented on Vulkan for NVIDIA cards, but I think there'd be a reasonable mapping from DX12's DXR and Metal ray tracing. A polyfill might be possible for other devices/APIs (built on a non-raytracing subset of gfx-hal, based on D3D12RaytracingFallback?). I wonder also if it'd be reasonable to (for now) ask gfx-hal users to query the backend/system/etc for ray tracing support (like the GL backend does with e.g. compute support) and giving them the burden of switching on support while there's no vendor-independent API.

@tangmi thank you for the interest!
We definitely can get something today (compatible with Metal, DX12, and VK NVidia), but we'll potentially have to rewrite this later when https://github.com/KhronosGroup/Vulkan-Docs/issues/686 is done in order to fit the Vulkan API.
So if you want to work on this - great! We'll accept the PRs delivering this function, but beware of the future change please.

Is this gaining any traction, now that ray tracing is officially part of the Vulkan specification?

@BrandonDyer64 it would be great to expose this Vulkan API, but also it's very important to look at how it will map to DX12 and Metal. As far as I know, nobody has started looking at this yet.

The Vulkan extension is out of the provisional status - https://www.khronos.org/blog/vulkan-ray-tracing-final-specification-release


Audio timer should count down not up?

@dannydb Interested to hear your thoughts on this?

Hmmm. I was going to say I’ve never seen a music player interface that displayed time remaining on a song, but then I flipped over to iTunes and sure enough there sat a countdown on the right of the scrubber.
The difference I see is that when Apple uses a timer countdown, they’ve also got the time elapsed displayed as well (as in iTunes and the iOS music app).
Spotify and Rdio only display time elapsed and total track time.
If we are only going to display one of the two, I think it has to be time elapsed, not time remaining, and I believe we can forgo a total track time or time remaining indication because the progress bar communicates that information reasonably well.

Also, if I want to tell somebody about a specific part of a song, I will invariably referenced the elapsed at that point, not time remaining.


Fix typo nagivation -> navigation

@woodmanzee Please review again :bow:

@sotayamashita I think you meant to ping @wooorm...

@woodmanzee Sorry 😢
@wooorm
Please review again 🙇


use private key when creating x509 cert

Pull Request (PR) description
Fixes usage of openssl::certificate::x509 where the private key was not passed into OpenSSL correctly. This could collide with L83 in lib/puppet/provider/x509_cert/openssl.rb but I don't have time to test this use case.

Sorry to get back to this so late.
Why would you want to pass the key parameter when you are already passing the csr parameter? My understanding is that we have 2 cases here:

legacy code; we directly pass a private key and generate a csr on the fly (i kept this in, since removing it would break alot of old installations)
new code; we pass a csr (which should contain a valid path to a private key), then we dont need to pass in a key to generate a certificate

Am i wrong there? Do you sse this differently?

It's been some time since I worked on this at my job but I believe this code change was for the first use case you mentioned. Without the change, puppet happily attempt to create a certificate with OpenSSL but will eventually error because no key was specified.

#186 was merged.


adding firebaseRole doesn't add stripeRole

Describe the bug
Subscribing to a product on Firebase doesn't add a 'striperole' after the payment is processed even though everything else seems to work fine.
To Reproduce
Here's my code to generate the subscription URL
const handlePayment = async () => {         const app = getApp();         const payments = getStripePayments(app, {             productsCollection: "products",             customersCollection: "customers",         });         const session = await createCheckoutSession(payments, {             price: my price id is here,             allow_promotion_codes: true,             success_url: "https://redistricter.com/",             cancel_url: "https://redistricter.com/",         });         window.location.assign(session.url);             };

And here's the code where I check the striperole (after I've done the subscription on the same account):
  async function getCustomClaimRole() {     await firebase.auth().currentUser.getIdToken(true);     const decodedToken = await firebase.auth().currentUser.getIdTokenResult();     console.log("Claims", decodedToken.claims);      console.log("Stripe Role", decodedToken.claims.stripeRole);      return decodedToken.claims.stripeRole;   }
Which returns this:

Expected behavior
Striperole should exist if firebaseRole exists in the metadata of a Stripe product. Maybe I'm missing something or I messed up somewhere.
System information

OS: macOs
Browser: Brave (chromium based I think)

Did you ever fix this?
I am having the same problem

For people that do not call getIdToken(true) with the true as a parameter, please check this issue: https://github.com/stripe/stripe-firebase-extensions/issues/478

Same problem here, I am using getIDToken(true) as well
const unregisterAuthObserver = auth.onAuthStateChanged(async (user) => {
			if (user == null) {
				setUser(null);
				return;
			}
			const decodedToken = await user.getIdTokenResult(true);
			const role = getRole(decodedToken.claims);
			const userWithRole = { ...user, role: role };
			setUser(() => userWithRole);
		});
		```

Is this still an issue or am I doing it wrong? This does not work for me! Anyone ?

Is this still an issue or am I doing it wrong? This does not work for me! Anyone ?

I gave up a while ago and just wrote my own code to manage the Stripe API connection.  I imagine you'll probably have to do the same thing or manage subscriptions manually :(

Is this still an issue or am I doing it wrong? This does not work for me! Anyone ?

I gave up a while ago and just wrote my own code to manage the Stripe API connection.  I imagine you'll probably have to do the same thing or manage subscriptions manually

Did this not help? https://github.com/invertase/stripe-firebase-extensions/issues/478

Is this still an issue or am I doing it wrong? This does not work for me! Anyone ?

I gave up a while ago and just wrote my own code to manage the Stripe API connection.  I imagine you'll probably have to do the same thing or manage subscriptions manually

Did this not help? #478

I switched away a few months ago before that patch was made. But I ran into a few other issues with this extension alongside this one I would've switched away anyways. My advice is that this extension might be OK if you don't have many customers (you'll just have to hand-hold it to make sure it works), but with more than a couple hundred customers it makes more sense to just do it yourself.

@colindm thanks. I also tried that fix anyways and still had same problem...so not sure if it was actually fixed.


Make More responsive

Alot of things break once you go down to a phone size in the content, we should make things a lot more responsive

Final fix working on this now!

Fixed via d98051074c13e968295e743e579be8a9984eb4f5


how do I get to update this, I have an older version from 2021, I have the new file but the trusted installer wont allow me to replace it ?

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Sphinx markup shown in search results

Search for something like “release” in the documentation and see Sphinx markup as attached.
This markup should be rendered or perhaps the summary should be removed.

We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-644. You are welcome to file additional issues in GitHub if that's easier for you.


Fix issue with TPC-H Query 7

Would be good to have a link or a screenshot of a successful run or something, when it comes to specific queries


fix bugs

Finally get WER, though it's very bad, not sure if it's because we use too small beam
%WER 97.46% [51238 / 52576, 90 ins, 46270 del, 4878 sub ]

Great!
Blank bias may not be large enough.

I tried [-5,0], the best result I can get is with blank_bias = -3.0
%WER 96.73% [50859 / 52576, 492 ins, 41303 del, 9064 sub ]


nwb missing a method

nwbf has method add_child, but does not have remove_child.
AttributeError                            Traceback (most recent call last)
 in
----> 1 nd.common.SpikeSorting().populate()
~/anaconda3/envs/nwb_datajoint_test/lib/python3.8/site-packages/datajoint/autopopulate.py in populate(self, suppress_errors, return_exception_objects, reserve_jobs, order, limit, max_calls, display_progress, *restrictions)
157                     self.class._allow_insert = True
158                     try:
--> 159                         make(dict(key))
160                     except (KeyboardInterrupt, SystemExit, Exception) as error:
161                         try:
~/Src/nwb_datajoint/nwb_datajoint/common/common_ephys.py in make(self, key)
367
368     def make(self, key):
--> 369         key['analysis_file_name'] = AnalysisNwbfile().create(key['nwb_file_name'])
370         # get the valid times.
371         # NOTE: we will sort independently between each entry in the valid times list
~/Src/nwb_datajoint/nwb_datajoint/common/common_nwbfile.py in create(self, nwb_file_name)
90                     for module in list(nwb_object.keys()):
91                         mod = nwb_object.pop(module)
---> 92                         nwbf._remove_child(mod)
93
94
AttributeError: 'NWBFile' object has no attribute '_remove_child'

This has been fixed in the latest pynwb version.


Do not define internal methods like init directly on the entity prototype

Describe the bug
I didn't know mikro-orm will add a method name init to entity, so in my entity class I also add a method name init, when I create the entity with new Backup() it throw UnhandledPromiseRejectionWarning: ValidationError: Entity Backup is not managed. An entity is managed if its fetched from the database or registered as new through EntityManager.persist()
Stack trace
(node:16010) UnhandledPromiseRejectionWarning: ValidationError: Entity Backup is not managed. An entity is managed if its fetched from the database or registered as new through EntityManager.persist()
    at Function.entityNotManaged (/home/hongduc/Project/backup/backup-service/node_modules/mikro-orm/dist/utils/ValidationError.js:62:16)
    at Function.init (/home/hongduc/Project/backup/backup-service/node_modules/mikro-orm/dist/entity/EntityHelper.js:14:43)
    at Backup.prototype.init (/home/hongduc/Project/backup/backup-service/node_modules/mikro-orm/dist/entity/EntityHelper.js:95:33)
    at new Backup (/home/hongduc/Project/backup/backup-service/dist/domain/model/backup/Backup.js:21:14)
    at BackupService.createBackup (/home/hongduc/Project/backup/backup-service/dist/application/backup.service.js:33:24)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:16010) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:16010) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
...

To Reproduce
Steps to reproduce the behavior:

write a entity class with method init in it
create entity with new

Expected behavior
Not throw any error
Additional context
It easy to solve by just the method name on my side, it just that this method is followed by my team standard and it has used in multiple class now, so I hope that mikro-orm team will consider change method name on your side. Thanks
Versions

Dependency
Version

node
v10.19.0

typescript
^3.6.3

mikro-orm
^3.4.1

mongodb
^3.5.5

We could definitely move the method under Entity.prototype.__internal and map to that via wrap() method. And instead of the WrappedEntity interface we could have a BaseEntity for classic extension. Will think about this in v4, as it might end up being breaking change (which renaming the method would definitely be anyway).

Thinking about this more, and I will probably go for a bit more breaking (but much cleaner) approach:

all the public (not prefixed) methods will be part of a new class (let's say instance of EntityHelper that is aware of the entity, under entity.__helper)
only properties prefixed with __ will be part of the entity prototype
this will have one breaking change for wrap() as it won't return the entity anymore, but rather the helper instance, so no access to entity properties won't be possible on the return value
instead of interface merging with WrappedEntity it will be required to actually extend it (as it will be converted to class)
we might be able to use the same class for the helper instance and for extension

Closing as implemented via #531, which is now merged in v4 (dev branch). Subscribe here for updates #527.


Questions about dependencies in go.mod

Which version of Elastic are you using?
[x] elastic.v7 (for Elasticsearch 7.x)
[ ] elastic.v6 (for Elasticsearch 6.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v2 (for Elasticsearch 1.x)
Please describe the expected behavior
I have two questions about go.mod.

Has go mod tidy been run?
Here's git diff result after running go mod tidy for v7.0.10:

diff --git a/go.mod b/go.mod
index 64b6e55..ddddc8d 100644
--- a/go.mod
+++ b/go.mod
@@ -3,15 +3,24 @@ module github.com/olivere/elastic/v7
 go 1.13

 require (
+       github.com/VividCortex/gohistogram v1.0.0 // indirect
        github.com/aws/aws-sdk-go v1.27.0
+       github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd // indirect
        github.com/fortytw2/leaktest v1.3.0
-       github.com/golang/mock v1.2.0 // indirect
+       github.com/go-kit/kit v0.8.0 // indirect
        github.com/google/go-cmp v0.3.1
+       github.com/google/uuid v1.1.1
+       github.com/kr/pretty v0.2.0 // indirect
        github.com/mailru/easyjson v0.7.0
+       github.com/olivere/env v1.1.0
        github.com/opentracing/opentracing-go v1.1.0
        github.com/pkg/errors v0.8.1
        github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9
+       github.com/smartystreets/gunit v1.1.1 // indirect
+       github.com/uber/jaeger-client-go v2.21.1+incompatible
+       github.com/uber/jaeger-lib v2.2.0+incompatible
        go.opencensus.io v0.22.2
-       google.golang.org/api v0.3.1 // indirect
+       go.uber.org/atomic v1.5.1 // indirect
+       golang.org/x/sync v0.0.0-20190423024810-112230192c58
        gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
 )

Some modules like github.com/olivere/env, github.com/uber/jaeger-client-go/log are only used in recipe. In my opinion, these modules shouldn't be included in dependencies list of Elastic client.
One possible solution is to create an empty go.mod in recipe directory:
https://github.com/golang/go/wiki/Modules#can-an-additional-gomod-exclude-unnecessary-content-do-modules-have-the-equivalent-of-a-gitignore-file.
Another option I can come up with is to move recipe to another repo.
What's your thoughts? Thank you very much in advance. :)

Please describe the actual behavior
Any steps to reproduce the behavior?
n/a

Yes, I should clean that up when I find some time.


Added version dependency to pre-reqs

Part of #113
We introduced breaking changes to plan and service names, along with firewall rule format in the params as part of v0.9.0-alpha. This adds words to the README.mds to specify this as a pre-requisite.

Docs only, no CI needed.


Research NBS-Adjacent Processes

Backlog Task
From the perspective of a nurse, better understand adjacent newborn workflows. The goal is to ensure our solution will work well alongside those processes and to identify new product opportunities.
In Miro, see "CDC TI Story Map" =>  "2023-04-14 NBS Adjacent Processes"
Completion Criteria

[ ] What is the criteria for calling this task complete?

Tasks

[ ] What tasks need to be done to fulfill the completion criteria?

Other Notes

Any other notes to help clarify this task for the team

Closing this in favor of similar research coming up more organically as we start interviews within our PHL/HCO partnerships.


design-and-implement-a-real-boot-animation-instead-of-the-logo-mask

Created a bootanimation for GrapheneOS.
This needs testing as I followed (outdated?) instructions from here https://forum.xda-developers.com/showthread.php?t=1096068. I was unable to get this working - I could push bootanimation to test device but could not verify it on the actual device. Not sure if instructions are for an older version of Android.
I can provide any source file for the animation as well if anyone else wants to give this a try.

closes https://github.com/GrapheneOS/os_issue_tracker/issues/58

Please help me up approve this future I don't know what I'm doing to be honest I just want people to have a social media platform where there email and their phone number or personal information is not being sold for profit to make somebody a billionaire. You could be part of my company if I succeed which I think I will


if I run install script inside ~, it will install nvm at ~/~/.nvm instead of ~/.nvm

~ is a literal ~ instead of the home directory. it installs at ./~.

What OS and shell are you using? Do you have NVM_DIR set prior to running the install script?

Yeah sorry, I got a new mac and I downloaded my dotfiles before I run the install script.
export NVM_DIR="~/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm

You may want to use $HOME instead of ~ in your dot files :-)

Thanks :) sorry about the noise🙉. Setting up a new computer is
frustrating.💻
On 6 Jul 2016 1:30 AM, "Jordan Harband"<EMAIL_ADDRESS>wrote:

You may want to use $HOME instead of ~ in your dot files :-)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/creationix/nvm/issues/1143#issuecomment-230513198,
or mute the thread
https://github.com/notifications/unsubscribe/AGBiLoKyXm5ISeDIlkhfQbCiPjH40qhHks5qSnijgaJpZM4JE4vH
.


Made the code comply to shellcheck.net suggestions as much as possible

.. There are still some suggestions unmatched, but these are mostly not possible. I managed to get from 116 comments to 25, which is pretty good. :)

@dritter - Looks like same thing happened with this one. Can you update this branch to make it a clean merge?

@bhilburn Done.

Looks like the merge of #90 hosed this one again, hah. Can you cleanup a second time?

@bhilburn cleaned up again. ;)


Plunker template doesn't work

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Working plunker template.
What is the current behavior?
Plunker doesn't load prebuilded themes.

What are the steps to reproduce?
https://goo.gl/DlHd6U

Thanks again! We just made a change yesterday to the themes and we didn't update the path.


pythonPackages.lmtpd: upgrade to Python 3

Motivation for this change
Python 2 support was dropped on
https://github.com/moggers87/lmtpd/commit/3546d4660f8229b3d6375aebf9e56ea88a93cbb0
ZHF: #97479
https://hydra.nixos.org/build/127641301
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

We tend to do this through simply adding disabled = !isPy3k;.

Ah, didnt know that. I will update my patch, thanks!

updated

LGTM, tested macos 10.14


How do I load selected options for ModelSelect2MultipleWidget

Hi, I am trying to load selected options when using ModelSelect2MultipleWidget. But it never showed up. What values should I provide when passing the instance to the model form in the views? A list of ids? String?
Code Snippet
In forms.py
class ProfileForm(forms.ModelForm):

    class Meta:
        model = Profile
        fields = ('subjects',)
        widgets = {'subjects': ModelSelect2MultipleWidget(
            queryset=Subject.objects.all(),
            search_fields=['name__icontains'],
        )}

In models.py
class Profile(models.Model):
    user = models.OneToOneField(User, on_delete=models.CASCADE)
    subjects = models.CharField(max_length=100, null=True, blank=True)

    def __str__(self):
        return f'<Profile {self.user.username}>'

@receiver(post_save, sender=User)
def create_or_update_user_profile(sender, instance, created, **kwargs):
    if created:
        Profile.objects.create(user=instance)
    else:
        instance.profile.save()

class Subject(models.Model):

    name = models.CharField(max_length=4)

    class Meta:
        ordering = ('name',)

    def __str__(self):
        return self.name

In views.py
@login_required(login_url='/login')
def account(request):
    curr_user = request.user

    profile = get_object_or_404(Profile, user=request.user)

    if profile.subjects:
        subjects = Subject.objects.filter(
            name__in=profile.subjects.split(','))
        profile.subjects = [str(c.id) for c in subjects]
    else:
        profile.subjects = []
    # print(profile.subjects)

    form = ProfileForm(instance=profile)
    print('-'*50)
    print(form.fields['subjects'].initial)
    form.fields['subjects'].initial = ['1', '2']

    if request.method == 'POST':
        form = ProfileForm(request.POST, instance=profile)
        if form.is_valid():
            profile = form.save(commit=False)

            subjects = Subject.objects.filter(
                pk__in=[int(i) for i in request.POST.getlist('subjects')])

            profile.user_id = request.user.id
            profile.subjects = ','.join([s.name for s in subjects])
            form.save()
            messages.success(request,
                             'You have successfully updated your subjects for scheduling.')
            return redirect('account')

    return render(request, 'home/profile.html', {'form': form})

Thank you.

Hi @zhugejun thanks for reaching out and double thanks for providing so much code. That makes my job usually a lot easier. That being said, I honestly don't see a problem in your code, everything does look fine. Maybe the problem lies in the select2 setup. Have you checked your browser console? Do you see any errors? Did you configure the cache correctly and did you add jQuery to your template as well as the form media?
Best, Joe

I guess I was not clear enough. Let me give you one example.
Assume I have one user and the user has two subjects: MATH and ENGL. As you can see, I save the subjects as String. So it will be 'MATH,ENGL` as below in the database.

user_id
subjects

1
MATH,ENGL

When I view the account or profile page, it doesn't show that these two subjects are selected. That's why I put the code below to debug.
    if profile.subjects:
        subjects = Subject.objects.filter(
            name__in=profile.subjects.split(','))
        profile.subjects = [str(c.id) for c in subjects]
    else:
        profile.subjects = []
    # print(profile.subjects)

    form = ProfileForm(instance=profile)
    print('-'*50)
    print(form.fields['subjects'].initial)
    form.fields['subjects'].initial = ['1', '2']

My question is what I should provide when view the account page so that the widget will load the selected subjects? Do I provide a list like ['MATH', 'ENGL'] or their ids [1, 2] or just just a String? None of them actually worked for me. I hope this helps.  Thank you.

Hi @zhugejun thanks for expanding on your use case a little. Can you check the browser next? What does the HTML that is being rendered look like? I can't see any error in your code thus far.
Best, Joe

Here is the HTML code after being rendered.

<input class="select2-search__field" type="search"
                        tabindex="0" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false"
                        role="searchbox" aria-autocomplete="list" placeholder="" style="width: 0.75em;">

I have one user with 2 subjects as I mentioned before. But it didn't show up here.

Hi @codingjoe I just figured how to load the selected options. I need to use MultipleChoiceField inside the ProfileForm. Thanks for this awesome package.


add an axis attribute to PPoly and friends

This PR supersedes #4210 and #4486.
It is identical to #4486 except for

performance enhancements in _PPolyBase.__call__ (only re-arrange output if axis != 0)
some PEP8

For performance comparisons between this branch and master, see https://github.com/scipy/scipy/pull/4486#issuecomment-97399472.

OK, this PR removes my main objection to gh-4486: performance penalty is small. faf68b9 and 8a6b6de look good to me. Previous commits have been reviewed by @rgommers in gh-4486, and I've addressed his review comments.
Further review would be great. Otherwise I plan to merge this before the release split.

Okay, this all looks good so let's get it in. Time to start decreasing the number of open PRs for 0.16.0

Thanks @ev-br, @andreas-h


Express is included even if omitted during setup

Summary
Choosing N to express or explicitly specifying silent options, still includes it in the repo.
npx create-lwc-app my-app -t standard --yes -o typescript
(Bug 2: I would expect server.js to be server.ts if I chose to use Typescript in a project and would expect that the required @types would have been installed)
Steps To Reproduce:

npx create-lwc-app my-app -t standard --yes -o typescript or choose N to express in the non-silent mode
Look in repo and notice that  scripts/server.js is created and compression express helmet are installed in package.json

Expected result
Server file and express should not have been installed
Actual result
Server file and express were installed

express is for adding the files for running a dedicated "API" server. The dependency will always be there, as it's needed for running the serve script.
For the similar reason it's not a ts file as default. That was previously, and caused more confusion than anything else.


Create multiple variants for framework testing

Variant 1: Marathon instances only
Variant 2: Aurora instances only
Variant 3: Mixed Aurora and Marathon instances on Mesos cluster

Current state is ok for now.


Service fabric upgrade should fail fast for wrong timeouts

https://github.com/Azure/service-fabric-issues/issues/10#issuecomment-376624434

This issue is stale because it has been open for a year with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days


IPython tab-completion populates the Dict with a few unwanted fields

Python 2.7.9 and Python 3.4.2
>>> a = Dict()
>>> a.  #hit tab
>>> a
{'trait_names': {}, '_getAttributeNames': {}}

I think there's similar behaviour in the interactive console in PyCharm.

Thanks @sabhiram, but I hope and think it can be handled in a more elegant way. Perhaps not without a rather large rewrite, but we'll see.

There's a fix that I have in a local branch which is kind of hacky.
When a nonexistent item is requested, instead of creating an empty Dict inside the original Dict, we return an empty Dict, with some (hidden) properties e.g. 'parent' and 'key'. When an item is set in this returned Dict, it attaches itself to its parent with key='key'. This would eliminate the problems we're experiencing in iPython, and also reduce the importance of prune. This does however have memory-implications.
Thought @sabhiram, @burk, @Who8MyLunch?

The problem described by this issue is that addict.Dict is very forgiving when a key or attribute does not exist.  The following code currently raise no exceptions since Dict always creates a new key if one does not already exist:
d = addict.Dict()

val_x = d.X
val_y = d['Y']

bool_z1 = hasattr(d, 'Z1')
bool_z2 = 'Z2' in d

print(d)

print(bool_z1, bool_z2)

The above code produces the following output:
{'X': {}, 'Y': {}, 'Z1': {}}
True False

Is this really the desired behavior?

Hi @Who8MyLunch, sorry for the 1Y+ delay in response.
Point here is that in used __contains__ and hasattr uses __getattr__.  So either we implement __contains__ to create a new key, or we leave it as it.


fix generated parsers not working in strict mode

I had written a PEG that was working in the online demo but not in my app. There were two problems.
The first error I got was generate-bytecode.js:406 Uncaught ReferenceError: failedIndex is not defined.
Took me a while to figure out what was going on, because there's no such symbol failedIndex in either the latest commit to master or the 0.8.0 tagged commit.
I had installed pegjs with npm install --save-dev pegjs, which reports the version as 0.8.0. However, the failedIndex error goes away if I install pegjs with npm install --save-dev pegjs/pegjs, which is also version 0.8.0. No idea where npm got the broken version of 0.8.0, maybe it has something to do with the repository being moved from one namespace to another on github. As you can see here https://www.npmjs.com/package/pegjs npm still lists the package source as github.com/dmajda/pegjs.
Anyway, with pegjs/pegjs the failedIndex error is gone, but then I have the problem fixed in this pull request: parser.js:4838 Uncaught SyntaxError: Unexpected strict mode reserved word
So what's happening here is the javascript generator wraps the parser initializer in { }. This is invalid javascript code; it looks like a bare object but contains a block of code rather than object members.
The generated parsers don't include a 'use strict'; statement, so this normally just works anyway I guess. But I'm using webpack which is bundling a generated parser together with other modules and apparently strict mode is somehow applying to the parser, which causes the browser to bail out instead of executing the contents of the { } block.
My patch just stops wrapping the initializer in { }. It appears to work, but I'm wondering if the initializer and other code blocks should actually be more isolated from the rest of the generated code. I see most of the items defined inside function peg$parse are prefixed with peg$ to prevent collisions, but there are a few names that a user might try to use: input, options, text, offset, line, column, expected, error. In fact, if I make an initializer like { input = null; }, the parser breaks.

Perhaps, then also to add the strictMode parameter to options to generate a parser with the 'use strict' statement in the begin? Then this PR will look finished.

No idea where npm got the broken version of 0.8.0

Not sure how you got the idea that PEG.js 0.8.0 package is broken in any way. I just moved the PEG.js repository since I released 0.8.0 and I didn’t bump the version in Git yet (will do that just before the 0.9.0 release).

Anyway, with pegjs/pegjs the failedIndex error is gone, but then I have the problem fixed in this pull request: parser.js:4838 Uncaught SyntaxError: Unexpected strict mode reserved word
So what's happening here is the javascript generator wraps the parser initializer in { }. This is invalid javascript code; it looks like a bare object but contains a block of code rather than object members.

The initializer block is perfectly valid JavaScript code. Your error message suggests that the problem with your parser was inside its initializer code.
The reason for wrapping the initializer code into { and } is mostly aesthetical — the output matches what was in the grammar exactly and the initializer code is visually separated from the parser code itself.

My patch just stops wrapping the initializer in { }. It appears to work, [...]

Based on what I know and on the information you provided, there should be no difference.

I'm wondering if the initializer and other code blocks should actually be more isolated from the rest of the generated code. I see most of the items defined inside function peg$parse are prefixed with peg$ to prevent collisions, but there are a few names that a user might try to use: input, options, text, offset, line, column, expected, error. In fact, if I make an initializer like { input = null; }, the parser breaks.

The unprefixed identifiers are exactly the ones the parser code should see. The fact that the code can assign to some variables beside just reading them is unfortunate but can’t be easily prevented.
As for the isolation, I’d like to have more of it, but it’s not possible because of JavaScript lexical scoping and for performance reasons.
As for the strict mode, it’s definitely worthwhile to have both PEG.js and the parsers it generates in strict mode, but it’s not a priority for me ATM. I filed #323 and #324 to track this.

Perhaps, then also to add the strictMode parameter to options to generate a parser with the 'use strict' statement in the begin? Then this PR will look finished.

Enabling strict mode as an option doesn’t make much sense, there are almost no situations under which one would want to disable it. (The only one I can think of is when you have an existing parser with a heap of strict-mode-incompatible code inside the initializer and actions. But if you are in such situation, strict mode is probably the last of your problems.)


Merging from V1.4.1 release

This also updates the version information for V1.5.0

Eventually I'd like to not bump the version number like this because in principle master will now be 1.4.1 plus some commits rather than an unreleased 1.5.0 (the next one could be 2.0.0 at some point but we won't know for sure until when we actually start making the next release). I want to do some research on how other project manage this before changing the process though.

The rationale for me to change the version number on master is to allow for people that follow HPX development (by relying on top of the repository) to have a means in their code to identify new features or breaking changes.

The rationale for me to change the version number on master is to allow for people that follow HPX development (by relying on top of the repository) to have a means in their code to identify new features or breaking changes.

That's a good point. I'm not sure if bumping the version number like that is a sufficient signal for that (plus we should have the usual compatibility options in place anyway for breaking changes), but this clearly still needs some thought. Let's stick with what we know works then.

On the other hand one could argue that what you're doing with phylanx isn't really recommended practice, and that you know about breaking changes anyway (plus going from 1.5.0 on master to another breaking commit with 1.5.0 on master tells you nothing).

@msimberg FWFW, other projects solve this by assigning an intermediate version number, something like V1.4.1-9 that will be used between releases on the master branch.


Summary time inaccurate after 2.3.6 upgrade

Describe the bug
After upgrade from 2.3.4 to 2.3.6, the summary time seems to have gone down significantly.
e.g. For "yesterday", it went from 2 hr 7 min to 1 second.
System information
Docker 2.3.6
SQLite

Sorry for that! And thanks for reporting. I think this tiny change should fix the issue.


Cannot convert from 'json' to 'char'

I'm not sure if this is an issue,
but it's not possible to assign a json object to a variable of type char.
With all other integral types it works, only the char type makes error.
Example:
    json j;
    j = 'B'; // ok, store a value as type number_integer
    char b = j; // compiler error: cannot convert from 'json' to 'char'

Thanks for reporting!
I tried the code and got the following error message:
error: no viable conversion from 'json' (aka 'basic_json<>') to 'char'
    char b = j; // compiler error: cannot convert from 'json' to 'char'
         ^   ~
./src/json.hpp:2995:20: note: candidate template ignored: disabled by 'enable_if' [with ValueType = char]
                   not std::is_pointer<ValueType>::value
                   ^
./src/json.hpp:2465:15: note: candidate function
    constexpr operator value_t() const noexcept
              ^

char is the character type for string_t and is excluded from the possible values for operator ValueType() const to avoid ambiguities as these types implicitly convert to std::string. I am not sure whether it would make sense to make a change to support this edge case.

While fixing #144, the following comment has been added to the operator ValueType() function:

The character type of string_t as well as an initializer list of this type is excluded to avoid ambiguities as these types implicitly convert to std::string.

I don't think this issue can be fixed without breaking the #144.

You can still use the get method though

Just for the record, this is linked to #958.

For anyone who lands on this page trying to figure out how to print or use something like jsonObject["my_key"] as a char*, here is a demo that shows how:
printf("name:   %s\n", j1["name"].get_ref<const std::string&>().c_str());

The j1["name"].get_ref<const std::string&>().c_str() part reads the value out of the "name" key from the j1 json object as a const std::string& reference, and then obtains the const char* C-string from that using .c_str().
See:

https://en.cppreference.com/w/cpp/string/basic_string/c_str
https://json.nlohmann.me/api/basic_json/get_ref/

For my full demo of this and more, see json_nlohmann_demo.cpp in my eRCaGuy_hello_world repo.


Remove inline styles and move to external stylesheet.

Checked the code along with the running example, did not find inline styles to remove. All styles are separated in public/css/index.less.


[AutoRelease] t2-cosmosdb-2022-08-11-82446(Do not merge)

https://github.com/Azure/sdk-release-request/issues/3082
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=984
BuildTargetingString
azure-mgmt-cosmosdb
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/3082

/check-enforcer override


introduce region level tombstone sweeper

I send this pull request to collect comments and feedback on both design and coding.
It's not complete yet.
@boglesby @bschuchardt @jhuynh1 @upthewaterspout @agingade @dschneider-pivotal
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

What's the motivation for this PR?

Tombstone cleanup has been a sore point for users who want very predictable latency.  How will this change affect latency of ongoing operations like put/get?

This PR hasn't seen any action for over three months.  I'm going to go ahead and close it.  If there is still active work in progress, don't hesitate to reopen it, assuming the above concerns have been addressed.


types are broken with py3.11.0a6

I am seeing import errors that look like:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.11/site-packages/zmq/__init__.py", line 108, in <module>
    from zmq import sugar
    ^^^^^^^^^^^^^^^^^^^^^
  File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.11/site-packages/zmq/sugar/__init__.py", line 8, in <module>
    from zmq.sugar import context, frame, poll, socket, tracker, version
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.11/site-packages/zmq/sugar/context.py", line 35, in <module>
    class Context(ContextBase, AttributeSetter, Generic[ST]):
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tcaswell/.pybuild/bleeding/lib/python3.11/typing.py", line 1731, in __init_subclass__
    raise TypeError(f"Some type variables ({s_vars}) are"
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Some type variables (~T) are not listed in Generic[+ST]

which bisects back to 2dc67d544c8fc853c9acca3cef7f89803d92298a
I do not see this issue with py310 and have only begun to see these failures locally recently which makes me think this is actually a CPython change that broke it. However I have not bisected this back in CPython to sort what changed there.

Thanks for testing! I think #1677 may fix it


It would be possible to activate or deactivate a specific container hiding option in the setup.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@albedo112
I wanted to confirm, you are logging a Feature Request to have a Hide Container option when creating a Container instead of navigating to Settings >> Hidden Containers?
Thanks!


Add 'Open w/ Azure Data Studio in Azure Portal

With the upcoming release of SQL DW extension, there may be more SQL DW users trying out SQL Operations Studio. Most DW users use Azure Portal when interacting with DW. @kevinvngo suggested that we investigate how we can open DW instances directly from Azure Portal, similar to what is already done with Visual Studio.

I believe this support has been added.  Please let us know if you're tracking some other work with this issue.


Create a new ACL model for UMS/jwplayer videos

It should ideally be self-contained in the video metadata, as simple as possible, and allow for different options like restrict by institution, cam-only, crsid, lookup group, etc.

moved to: https://github.com/uisautomation/sms2jwplayer/issues/5


pip3 install emitted error

my environment:
Mac M1 , mac Os 11.2.3 (20D91)
python 3.9
Building wheel for crypto-cpp-py (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [102 lines of output]
running bdist_wheel
running build
running build_py
running build_ext
Crosscompiling enabled
Targeting universal2-apple-macos10.9
cmake_minimum_required (VERSION 3.5)
if (NOT DEFINED CMAKE_CXX_COMPILER)
set(CMAKE_CXX_COMPILER /usr/bin/clang++)
endif()
  project(StarkwareCryptoLib VERSION 0.1.0 LANGUAGES CXX)

  set(CMAKE_CXX_STANDARD 17)

  include(FetchContent)
  FetchContent_Declare(
    googletest
    URL https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip
  )
  # For Windows: Prevent overriding the parent project's compiler/linker settings
  set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
  FetchContent_MakeAvailable(googletest)

  include(CTest)
  enable_testing()
  include_directories("${CMAKE_SOURCE_DIR}/src")

  if (NOT DEFINED CMAKE_BUILD_TYPE)
    set(CMAKE_BUILD_TYPE Debug)
  endif()

  set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
  set(CMAKE_CXX_FLAGS "-std=c++17 -Werror -Wall -Wextra -fno-strict-aliasing -fPIC ${CMAKE_CXX_FLAGS} -target universal2-apple-macos10.9")

  set(CC_OPTIMIZE "-O3")

  set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g")
  set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${CC_OPTIMIZE}")

  add_subdirectory(src)
  ./build_extension.sh: line 34: cmake: command not found
  sed: build/Release/_deps/googletest-src/CMakeLists.txt: No such file or directory
  make: *** No targets specified and no makefile found.  Stop.
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/private/tmp/pip-install-d0hmj2lg/crypto-cpp-py_3ab0c761eaac4561af1b22ca8e1c1aac/setup.py", line 48, in <module>
      setup(
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
      return distutils.core.setup(**attrs)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
      self.run_command(cmd)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
      super().run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
      cmd_obj.run()
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
      super().run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
      cmd_obj.run()
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 132, in run
      self.run_command(cmd_name)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
      super().run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
      cmd_obj.run()
    File "/private/tmp/pip-install-d0hmj2lg/crypto-cpp-py_3ab0c761eaac4561af1b22ca8e1c1aac/setup.py", line 16, in run
      self.run_command("build_ext")
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
      super().run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
      cmd_obj.run()
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 84, in run
      _build_ext.run(self)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
      _build_ext.build_ext.run(self)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
      self.build_extensions()
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
      _build_ext.build_ext.build_extensions(self)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 466, in build_extensions
      self._build_extensions_serial()
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 492, in _build_extensions_serial
      self.build_extension(ext)
    File "/private/tmp/pip-install-d0hmj2lg/crypto-cpp-py_3ab0c761eaac4561af1b22ca8e1c1aac/setup.py", line 30, in build_extension
      subprocess.run(
    File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 524, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command './build_extension.sh' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for crypto-cpp-py
Running setup.py clean for crypto-cpp-py
Successfully built starknet.py
Failed to build crypto-cpp-py
Installing collected packages: crypto-cpp-py, starknet.py
Running setup.py install for crypto-cpp-py ... error
error: subprocess-exited-with-error
× Running setup.py install for crypto-cpp-py did not run successfully.
│ exit code: 1
╰─> [106 lines of output]
running install
/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
running build_ext
Crosscompiling enabled
Targeting universal2-apple-macos10.9
cmake_minimum_required (VERSION 3.5)
if (NOT DEFINED CMAKE_CXX_COMPILER)
set(CMAKE_CXX_COMPILER /usr/bin/clang++)
endif()
  project(StarkwareCryptoLib VERSION 0.1.0 LANGUAGES CXX)

  set(CMAKE_CXX_STANDARD 17)

  include(FetchContent)
  FetchContent_Declare(
    googletest
    URL https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip
  )
  # For Windows: Prevent overriding the parent project's compiler/linker settings
  set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
  FetchContent_MakeAvailable(googletest)

  include(CTest)
  enable_testing()
  include_directories("${CMAKE_SOURCE_DIR}/src")

  if (NOT DEFINED CMAKE_BUILD_TYPE)
    set(CMAKE_BUILD_TYPE Debug)
  endif()

  set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
  set(CMAKE_CXX_FLAGS "-std=c++17 -Werror -Wall -Wextra -fno-strict-aliasing -fPIC ${CMAKE_CXX_FLAGS} -target universal2-apple-macos10.9")

  set(CC_OPTIMIZE "-O3")

  set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g")
  set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${CC_OPTIMIZE}")

  add_subdirectory(src)
  ./build_extension.sh: line 34: cmake: command not found
  sed: build/Release/_deps/googletest-src/CMakeLists.txt: No such file or directory
  make: *** No targets specified and no makefile found.  Stop.
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/private/tmp/pip-install-d0hmj2lg/crypto-cpp-py_3ab0c761eaac4561af1b22ca8e1c1aac/setup.py", line 48, in <module>
      setup(
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
      return distutils.core.setup(**attrs)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
      self.run_command(cmd)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
      super().run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
      cmd_obj.run()
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/command/install.py", line 68, in run
      return orig.install.run(self)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/command/install.py", line 698, in run
      self.run_command('build')
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
      super().run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
      cmd_obj.run()
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/command/build.py", line 132, in run
      self.run_command(cmd_name)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
      super().run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
      cmd_obj.run()
    File "/private/tmp/pip-install-d0hmj2lg/crypto-cpp-py_3ab0c761eaac4561af1b22ca8e1c1aac/setup.py", line 16, in run
      self.run_command("build_ext")
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
      self.distribution.run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/dist.py", line 1217, in run_command
      super().run_command(command)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
      cmd_obj.run()
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 84, in run
      _build_ext.run(self)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
      _build_ext.build_ext.run(self)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
      self.build_extensions()
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
      _build_ext.build_ext.build_extensions(self)
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 466, in build_extensions
      self._build_extensions_serial()
    File "/Users/matrix/cairo_venv/lib/python3.9/site-packages/setuptools/_distutils/command/build_ext.py", line 492, in _build_extensions_serial
      self.build_extension(ext)
    File "/private/tmp/pip-install-d0hmj2lg/crypto-cpp-py_3ab0c761eaac4561af1b22ca8e1c1aac/setup.py", line 30, in build_extension
      subprocess.run(
    File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 524, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command './build_extension.sh' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> crypto-cpp-py
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
(cairo_venv) matrix@Judes-MacBook-Pro ~ %

Hi, thanks for reporting! This should close your issue #411. We are going to release a new package version with this fix today


Error parsing lftp job status [v0.8.6]

Running the latest docker on unraid
Extra parameters:  --cpus=2 --memory=3G --restart unless-stopped --user 99:100
The docker stopped before - so I added the : --restart unless-stopped
I can see it connects and start downloading (Great speed by the way!)
But then it stops.
I am using the SSH user and password.
And I have settings:
[General]
debug = True
verbose = False
[Lftp]
remote_address = domain.seedhost
remote_username = username
remote_password = password
remote_port = 22
remote_path = /home/username/downloads
local_path = /downloads
remote_path_to_scan_script = /tmp
use_ssh_key = False
num_max_parallel_downloads = 2
num_max_parallel_files_per_download = 4
num_max_connections_per_root_file = 4
num_max_connections_per_dir_file = 4
num_max_total_connections = 16
use_temp_file = True
[Controller]
interval_ms_remote_scan = 30000
interval_ms_local_scan = 10000
interval_ms_downloading_scan = 1000
extract_path = /tmp
use_local_path_as_extract_path = True
[Web]
port = 8800
[AutoQueue]
enabled = True
patterns_only = True
auto_extract = False
`lftp_statuses = self.__lftp.status()
File "/app/python/lftp/lftp.py", line 322, in status
statuses = self.__job_status_parser.parse(out)
File "/app/python/lftp/job_status_parser.py", line 94, in parse
raise LftpJobStatusParserError("Error parsing lftp job status")
lftp.job_status_parser.LftpJobStatusParserError: Error parsing lftp job status
2021-09-30 11:46:11,459 - INFO - seedsync.Controller (MainProcess/ControllerJob) - Exited controller
2021-09-30 11:46:34,495 - INFO - web_access (MainProcess/worker 1) - <IP_ADDRESS> - - [30/Sep/2021:11:46:34 +0200] "GET /server/config/get HTTP/1.1" 200 801 "http://<IP_ADDRESS>:8800/autoqueue" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
2021-09-30 11:46:34,496 - INFO - web_access (MainProcess/worker 2) - <IP_ADDRESS> - - [30/Sep/2021:11:46:34 +0200] "GET /server/autoqueue/get HTTP/1.1" 200 185 "http://<IP_ADDRESS>:8800/autoqueue" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
2021-09-30 11:46:53,422 - INFO - web_access (MainProcess/worker 3) - <IP_ADDRESS> - - [30/Sep/2021:11:46:53 +0200] "GET /settings HTTP/1.1" 304 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
2021-09-30 11:47:46,404 - INFO - web_access (MainProcess/worker 4) - <IP_ADDRESS> - - [30/Sep/2021:11:47:41 +0200] "GET /server/stream HTTP/1.1" 200 - "http://<IP_ADDRESS>:8800/settings" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
2021-09-30 11:47:46,441 - INFO - web_access (MainProcess/worker 5) - <IP_ADDRESS> - - [30/Sep/2021:11:47:46 +0200] "GET /server/config/get HTTP/1.1" 200 801 "http://<IP_ADDRESS>:8800/dashboard" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
2021-09-30 11:54:39,724 - INFO - seedsync (MainProcess/MainThread) - Caught signal SIGTERM
2021-09-30 11:54:39,724 - INFO - seedsync (MainProcess/MainThread) - Exiting Seedsync
2021-09-30 11:54:50,887 - INFO - seedsync (MainProcess/MainThread) - Debug mode is disabled.
2021-09-30 11:54:50,887 - INFO - seedsync (MainProcess/MainThread) - Starting SeedSync
2021-09-30 11:54:50,890 - INFO - seedsync (MainProcess/MainThread) - Platform: x86_64
2021-09-30 11:54:51,398 - INFO - seedsync.WebApp (MainProcess/MainThread) - Html path set to: /app/html
2021-09-30 11:54:51,835 - INFO - RemoteScanner.RemoteScanner (RemoteScanner/RemoteScanner) - Skipping remote scanfs installation: already installed
2021-09-30 11:54:54,531 - INFO - web_access (MainProcess/worker 0) - <IP_ADDRESS> - - [30/Sep/2021:11:54:54 +0200] "GET /logs HTTP/1.1" 200 764 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
2021-09-30 11:54:54,893 - INFO - web_access (MainProcess/worker 1) - <IP_ADDRESS> - - [30/Sep/2021:11:54:54 +0200] "GET /server/stream HTTP/1.1" 200 - "http://<IP_ADDRESS>:8800/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
2021-09-30 11:54:55,190 - INFO - web_access (MainProcess/worker 2) - <IP_ADDRESS> - - [30/Sep/2021:11:54:55 +0200] "GET /assets/favicon.png HTTP/1.1" 200 1000 "http://<IP_ADDRESS>:8800/logs" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
2021-09-30 11:55:01,943 - INFO - seedsync.AutoQueue (MainProcess/ControllerJob) - Auto queueing '#TVSHOWS-C' for pattern '#TVSHOWS-C'
2021-09-30 11:55:01,944 - INFO - seedsync.AutoQueue (MainProcess/ControllerJob) - Auto queueing '#MUSIC-SABnzbd' for pattern '#MUSIC-SABnzbd'
2021-09-30 11:55:02,444 - INFO - seedsync.Controller (MainProcess/ControllerJob) - Received command Action.QUEUE for file #TVSHOWS-C
2021-09-30 11:55:02,496 - INFO - seedsync.Controller (MainProcess/ControllerJob) - Received command Action.QUEUE for file #MUSIC-SABnzbd
2021-09-30 11:55:05,533 - INFO - web_access (MainProcess/worker 4) - <IP_ADDRESS> - - [30/Sep/2021:11:55:05 +0200] "GET /server/autoqueue/get HTTP/1.1" 200 185 "http://<IP_ADDRESS>:8800/autoqueue" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
2021-09-30 11:55:05,565 - INFO - web_access (MainProcess/worker 5) - <IP_ADDRESS> - - [30/Sep/2021:11:55:05 +0200] "GET /server/config/get HTTP/1.1" 200 801 "http://<IP_ADDRESS>:8800/autoqueue" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36"
2021-09-30 11:55:12,318 - ERROR - seedsync.Controller.Lftp.LftpJobStatusParser (MainProcess/ControllerJob) - LftpJobStateParser error: Unrecognized line 'pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Loose.(Expanded.Edition).(2021).Mp3.320kbps.[PMEDIA].âï¸-xpost/10..Say.It.Right.mp3: Permission denied'
2021-09-30 11:55:12,323 - ERROR - seedsync.Controller.Lftp.LftpJobStatusParser (MainProcess/ControllerJob) - Status:
pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Loose.(Expanded.Edition).(2021).Mp3.320kbps.[PMEDIA].âï¸-xpost/10..Say.It.Right.mp3: Permission denied
2021-09-30 11:55:12,328 - WARNING - seedsync.Controller.Lftp (MainProcess/ControllerJob) - Ignoring status error (count=1)
2021-09-30 11:55:19,193 - ERROR - seedsync.Controller.Lftp.LftpJobStatusParser (MainProcess/ControllerJob) - LftpJobStateParser error: Unrecognized line 'pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Loose.(Expanded.Edition).(2021).Mp3.320kbps.[PMEDIA].âï¸-xpost/16..Te.Busque.(Spanish.Version).mp3: Permission denied'
2021-09-30 11:55:19,193 - ERROR - seedsync.Controller.Lftp.LftpJobStatusParser (MainProcess/ControllerJob) - Status:
pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Loose.(Expanded.Edition).(2021).Mp3.320kbps.[PMEDIA].âï¸-xpost/16..Te.Busque.(Spanish.Version).mp3: Permission denied
2021-09-30 11:55:19,194 - WARNING - seedsync.Controller.Lftp (MainProcess/ControllerJob) - Ignoring status error (count=2)
2021-09-30 11:55:25,173 - ERROR - seedsync.Controller.Lftp.LftpJobStatusParser (MainProcess/ControllerJob) - LftpJobStateParser error: Unrecognized line 'mirror: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Mi.Plan.(2009).Flac-xpost/[PRiVATE]-[WtFnZb]-[about_album]-[13+15] - "" yEnc 851 (1+1): Permission denied'
2021-09-30 11:55:25,173 - ERROR - seedsync.Controller.Lftp.LftpJobStatusParser (MainProcess/ControllerJob) - Status:
mirror: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Mi.Plan.(2009).Flac-xpost/[PRiVATE]-[WtFnZb]-[about_album]-[13+15] - "" yEnc 851 (1+1): Permission denied
2021-09-30 11:55:25,173 - ERROR - seedsync.ControllerJob (MainProcess/ControllerJob) - Caught exception in job ControllerJob
Traceback (most recent call last):
File "/app/python/lftp/job_status_parser.py", line 89, in parse
statuses += self.__parse_queue(lines)
File "/app/python/lftp/job_status_parser.py", line 482, in __parse_queue
raise ValueError("Unrecognized line '{}'".format(lines[0]))
ValueError: Unrecognized line 'mirror: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Mi.Plan.(2009).Flac-xpost/[PRiVATE]-[WtFnZb]-[about_album]-[13+15] - "" yEnc 851 (1+1): Permission denied'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/python/common/job.py", line 44, in run
self.execute()
File "/app/python/controller/controller_job.py", line 29, in execute
self.__controller.process()
File "/app/python/controller/controller.py", line 202, in process
self.__update_model()
File "/app/python/controller/controller.py", line 295, in __update_model
lftp_statuses = self.__lftp.status()
File "/app/python/lftp/lftp.py", line 322, in status
statuses = self.__job_status_parser.parse(out)
File "/app/python/lftp/job_status_parser.py", line 94, in parse
raise LftpJobStatusParserError("Error parsing lftp job status")
lftp.job_status_parser.LftpJobStatusParserError: Error parsing lftp job status
2021-09-30 11:55:25,278 - ERROR - seedsync (MainProcess/MainThread) - Caught exception
Traceback (most recent call last):
File "/app/python/lftp/job_status_parser.py", line 89, in parse
statuses += self.__parse_queue(lines)
File "/app/python/lftp/job_status_parser.py", line 482, in __parse_queue
raise ValueError("Unrecognized line '{}'".format(lines[0]))
ValueError: Unrecognized line 'mirror: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Mi.Plan.(2009).Flac-xpost/[PRiVATE]-[WtFnZb]-[about_album]-[13+15] - "" yEnc 851 (1+1): Permission denied'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/python/seedsync.py", line 164, in run
controller_job.propagate_exception()
File "/app/python/common/job.py", line 77, in propagate_exception
raise exc_info[1].with_traceback(exc_info[2])
File "/app/python/common/job.py", line 44, in run
self.execute()
File "/app/python/controller/controller_job.py", line 29, in execute
self.__controller.process()
File "/app/python/controller/controller.py", line 202, in process
self.__update_model()
File "/app/python/controller/controller.py", line 295, in __update_model
lftp_statuses = self.__lftp.status()
File "/app/python/lftp/lftp.py", line 322, in status
statuses = self.__job_status_parser.parse(out)
File "/app/python/lftp/job_status_parser.py", line 94, in parse
raise LftpJobStatusParserError("Error parsing lftp job status")
lftp.job_status_parser.LftpJobStatusParserError: Error parsing lftp job status
2021-09controller-30 11:55:28,491 - INFO - seedsync.Controller (MainProcess/ControllerJob) - Exited `

Tried running debugger again hard to copy the log output....
Error parsing lftp job status 2021/09/30 12:28:51 - DEBUG - seedsync.ControllerJob - Thread ControllerJob started 2021/09/30 12:28:51 - DEBUG - seedsync.ControllerJob - Calling setup for ControllerJob 2021/09/30 12:28:51 - DEBUG - seedsync.Controller - Starting controller 2021/09/30 12:28:51 - DEBUG - seedsync.WebAppJob - Thread WebAppJob started 2021/09/30 12:28:51 - DEBUG - seedsync.WebAppJob - Calling setup for WebAppJob 2021/09/30 12:28:51 - DEBUG - seedsync.WebAppJob - Finished setup for WebAppJob 2021/09/30 12:28:51 - DEBUG - seedsync.Controller.MPLogger - Started listener thread 2021/09/30 12:28:51 - DEBUG - seedsync.ControllerJob - Finished setup for ControllerJob 2021/09/30 12:28:51 - DEBUG - ActiveScanner - Started process 2021/09/30 12:28:51 - DEBUG - LocalScanner - Started process 2021/09/30 12:28:51 - DEBUG - LocalScanner - Running a scan 2021/09/30 12:28:51 - DEBUG - RemoteScanner - Started process 2021/09/30 12:28:51 - DEBUG - RemoteScanner - Running a scan 2021/09/30 12:28:51 - DEBUG - RemoteScanner.RemoteScanner - Local scanfs md5sum = e9b7600451a779ef32c2dc00f018d204 2021/09/30 12:28:51 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command: ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=error -o PubkeyAuthentication=no<EMAIL_ADDRESS>"md5sum /tmp/scanfs | awk '{print $1}' || echo" 2021/09/30 12:28:51 - DEBUG - ExtractProcess - Started process 2021/09/30 12:28:51 - DEBUG - ExtractDispatch - Started worker thread 2021/09/30 12:28:52 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Return code: 0 2021/09/30 12:28:52 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command took 0.680s 2021/09/30 12:28:52 - INFO - RemoteScanner.RemoteScanner - Skipping remote scanfs installation: already installed 2021/09/30 12:28:52 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command: ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=error -o PubkeyAuthentication=no<EMAIL_ADDRESS>"'/tmp/scanfs' '/home30/prowde/downloads'" 2021/09/30 12:28:53 - DEBUG - LocalScanner - Scan took 1.940s 2021/09/30 12:28:53 - DEBUG - seedsync.Controller.Model - LftpModel: Adding a listener 2021/09/30 12:28:53 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Return code: 0 2021/09/30 12:28:53 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command took 1.710s 2021/09/30 12:28:53 - DEBUG - RemoteScanner - Scan took 2.455s 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'tmp' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'filezilla' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '#MUSIC-C' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'nzbget.log' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '.Recycle.Bin' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'watch' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '#MAGAZINES' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '#MOVIES-C' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '.stfolder' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'queue' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '#AOB' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '.stignore' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '#NEWSPAPERS' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '#MUSIC-SABnzbd' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '#MUSIC' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'torrents' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '.sync' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '#TVSHOWS-C' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'vpn' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file 'nzbget.lock' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '.htaccess' 2021/09/30 12:28:58 - DEBUG - seedsync.Controller.Model - LftpModel: Adding file '#DOWNLOADTEMP' 2021/09/30 12:28:58 - INFO - seedsync.AutoQueue - Auto queueing '#MUSIC-SABnzbd' for pattern '#MUSIC-SABnzbd' 2021/09/30 12:28:58 - INFO - seedsync.AutoQueue - Auto queueing '#TVSHOWS-C' for pattern '#TVSHOWS-C' 2021/09/30 12:28:58 - INFO - seedsync.Controller - Received command Action.QUEUE for file #MUSIC-SABnzbd 2021/09/30 12:28:59 - INFO - seedsync.Controller - Received command Action.QUEUE for file #TVSHOWS-C 2021/09/30 12:29:01 - DEBUG - LocalScanner - Running a scan 2021/09/30 12:29:04 - DEBUG - LocalScanner - Scan took 2.759s 2021/09/30 12:29:06 - DEBUG - seedsync.Controller.Model - LftpModel: Updating file '#TVSHOWS-C' 2021/09/30 12:29:06 - DEBUG - seedsync.Controller.Model - LftpModel: Updating file '#MUSIC-SABnzbd' 2021/09/30 12:29:10 - ERROR - seedsync.Controller.Lftp.LftpJobStatusParser - LftpJobStateParser error: Unrecognized line 'pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Mi.Plan.(2009).Flac-xpost/06..Nelly.Furtado.-.Vacacion.flac: Permission denied' 2021/09/30 12:29:10 - ERROR - seedsync.Controller.Lftp.LftpJobStatusParser - Status: pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Mi.Plan.(2009).Flac-xpost/06..Nelly.Furtado.-.Vacacion.flac: Permission denied 2021/09/30 12:29:10 - WARNING - seedsync.Controller.Lftp - Ignoring status error (count=1) 2021/09/30 12:29:11 - DEBUG - LocalScanner - Running a scan 2021/09/30 12:29:12 - DEBUG - LocalScanner - Scan took 1.332s 2021/09/30 12:29:13 - DEBUG - seedsync.Controller.Model - LftpModel: Updating file '#TVSHOWS-C' 2021/09/30 12:29:13 - DEBUG - seedsync.Controller.Model - LftpModel: Updating file '#MUSIC-SABnzbd' 2021/09/30 12:29:16 - ERROR - seedsync.Controller.Lftp.LftpJobStatusParser - LftpJobStateParser error: Missing queue header line 1: pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Loose.(Expanded.Edition).(2021).Mp3.320kbps.[PMEDIA].âï¸-xpost/14..Wait.For.You.mp3: Permission denied 2021/09/30 12:29:16 - ERROR - seedsync.Controller.Lftp.LftpJobStatusParser - Status: pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Loose.(Expanded.Edition).(2021).Mp3.320kbps.[PMEDIA].âï¸-xpost/14..Wait.For.You.mp3: Permission denied pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Mi.Plan.(2009).Flac-xpost/10..Nelly.Furtado.-.Como.Lluvia.(Con.Juan.Luis.Guerra).flac: Permission denied 2021/09/30 12:29:16 - WARNING - seedsync.Controller.Lftp - Ignoring status error (count=2) 2021/09/30 12:29:21 - DEBUG - RemoteScanner - Running a scan 2021/09/30 12:29:21 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command: ssh -p 22 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=error -o PubkeyAuthentication=no<EMAIL_ADDRESS>"'/tmp/scanfs' '/home30/prowde/downloads'" 2021/09/30 12:29:21 - DEBUG - seedsync.Controller.Model - LftpModel: Updating file '#TVSHOWS-C' 2021/09/30 12:29:21 - DEBUG - seedsync.Controller.Model - LftpModel: Updating file '#MUSIC-SABnzbd' 2021/09/30 12:29:21 - DEBUG - seedsync - Persisting states to file 2021/09/30 12:29:21 - DEBUG - LocalScanner - Running a scan 2021/09/30 12:29:22 - ERROR - seedsync.Controller.Lftp.LftpJobStatusParser - LftpJobStateParser error: Unrecognized line 'pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Loose.(Expanded.Edition).(2021).Mp3.320kbps.[PMEDIA].âï¸-xpost/19..Undercover.mp3: Permission denied' 2021/09/30 12:29:22 - ERROR - seedsync.Controller.Lftp.LftpJobStatusParser - Status: pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Loose.(Expanded.Edition).(2021).Mp3.320kbps.[PMEDIA].âï¸-xpost/19..Undercover.mp3: Permission denied 2021/09/30 12:29:22 - ERROR - seedsync.ControllerJob - Caught exception in job ControllerJob Traceback (most recent call last): File "/app/python/lftp/job_status_parser.py", line 89, in parse statuses += self.__parse_queue(lines) File "/app/python/lftp/job_status_parser.py", line 482, in __parse_queue raise ValueError("Unrecognized line '{}'".format(lines[0])) ValueError: Unrecognized line 'pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Loose.(Expanded.Edition).(2021).Mp3.320kbps.[PMEDIA].âï¸-xpost/19..Undercover.mp3: Permission denied' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/python/common/job.py", line 44, in run self.execute() File "/app/python/controller/controller_job.py", line 29, in execute self.__controller.process() File "/app/python/controller/controller.py", line 202, in process self.__update_model() File "/app/python/controller/controller.py", line 295, in __update_model lftp_statuses = self.__lftp.status() File "/app/python/lftp/lftp.py", line 322, in status statuses = self.__job_status_parser.parse(out) File "/app/python/lftp/job_status_parser.py", line 94, in parse raise LftpJobStatusParserError("Error parsing lftp job status") lftp.job_status_parser.LftpJobStatusParserError: Error parsing lftp job status 2021/09/30 12:29:22 - DEBUG - seedsync.ControllerJob - Calling cleanup for ControllerJob 2021/09/30 12:29:22 - DEBUG - seedsync.Controller - Exiting controller 2021/09/30 12:29:22 - ERROR - seedsync - Caught exception Traceback (most recent call last): File "/app/python/lftp/job_status_parser.py", line 89, in parse statuses += self.__parse_queue(lines) File "/app/python/lftp/job_status_parser.py", line 482, in __parse_queue raise ValueError("Unrecognized line '{}'".format(lines[0])) ValueError: Unrecognized line 'pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Loose.(Expanded.Edition).(2021).Mp3.320kbps.[PMEDIA].âï¸-xpost/19..Undercover.mp3: Permission denied' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/python/seedsync.py", line 164, in run controller_job.propagate_exception() File "/app/python/common/job.py", line 77, in propagate_exception raise exc_info[1].with_traceback(exc_info[2]) File "/app/python/common/job.py", line 44, in run self.execute() File "/app/python/controller/controller_job.py", line 29, in execute self.__controller.process() File "/app/python/controller/controller.py", line 202, in process self.__update_model() File "/app/python/controller/controller.py", line 295, in __update_model lftp_statuses = self.__lftp.status() File "/app/python/lftp/lftp.py", line 322, in status statuses = self.__job_status_parser.parse(out) File "/app/python/lftp/job_status_parser.py", line 94, in parse raise LftpJobStatusParserError("Error parsing lftp job status") lftp.job_status_parser.LftpJobStatusParserError: Error parsing lftp job status 2021/09/30 12:29:22 - DEBUG - ActiveScanner - Process received terminate flag 2021/09/30 12:29:22 - DEBUG - ActiveScanner - Exiting process 2021/09/30 12:29:23 - DEBUG - LocalScanner - Scan took 1.969s 2021/09/30 12:29:23 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Return code: 0 2021/09/30 12:29:23 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command took 2.296s 2021/09/30 12:29:23 - DEBUG - RemoteScanner - Scan took 2.363s 2021/09/30 12:29:25 - DEBUG - ExtractProcess - Process received terminate flag 2021/09/30 12:29:26 - DEBUG - seedsync.Controller.MPLogger - Stopped listener thread 2021/09/30 12:29:26 - INFO - seedsync.Controller - Exited controller 2021/09/30 12:29:26 - DEBUG - seedsync.ControllerJob - Finished cleanup for ControllerJob 2021/09/30 12:29:26 - DEBUG - seedsync.ControllerJob - Thread ControllerJob stopped 2021/09/30 12:29:52 - DEBUG - seedsync - Persisting states to file File "/app/python/lftp/lftp.py", line 322, in status statuses = self.__job_status_parser.parse(out) File "/app/python/lftp/job_status_parser.py", line 94, in parse raise LftpJobStatusParserError("Error parsing lftp job status") lftp.job_status_parser.LftpJobStatusParserError: Error parsing lftp job status 2021/09/30 12:29:22 - DEBUG - seedsync.ControllerJob - Calling cleanup for ControllerJob 2021/09/30 12:29:22 - DEBUG - seedsync.Controller - Exiting controller 2021/09/30 12:29:22 - ERROR - seedsync - Caught exception Traceback (most recent call last): File "/app/python/lftp/job_status_parser.py", line 89, in parse statuses += self.__parse_queue(lines) File "/app/python/lftp/job_status_parser.py", line 482, in __parse_queue raise ValueError("Unrecognized line '{}'".format(lines[0])) ValueError: Unrecognized line 'pget: /downloads/#MUSIC-SABnzbd/Nelly.Furtado.-.Loose.(Expanded.Edition).(2021).Mp3.320kbps.[PMEDIA].âï¸-xpost/19..Undercover.mp3: Permission denied' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/python/seedsync.py", line 164, in run controller_job.propagate_exception() File "/app/python/common/job.py", line 77, in propagate_exception raise exc_info[1].with_traceback(exc_info[2]) File "/app/python/common/job.py", line 44, in run self.execute() File "/app/python/controller/controller_job.py", line 29, in execute self.__controller.process() File "/app/python/controller/controller.py", line 202, in process self.__update_model() File "/app/python/controller/controller.py", line 295, in __update_model lftp_statuses = self.__lftp.status() File "/app/python/lftp/lftp.py", line 322, in status statuses = self.__job_status_parser.parse(out) File "/app/python/lftp/job_status_parser.py", line 94, in parse raise LftpJobStatusParserError("Error parsing lftp job status") lftp.job_status_parser.LftpJobStatusParserError: Error parsing lftp job status 2021/09/30 12:29:22 - DEBUG - ActiveScanner - Process received terminate flag 2021/09/30 12:29:22 - DEBUG - ActiveScanner - Exiting process 2021/09/30 12:29:23 - DEBUG - LocalScanner - Scan took 1.969s 2021/09/30 12:29:23 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Return code: 0 2021/09/30 12:29:23 - DEBUG - RemoteScanner.RemoteScanner.Sshcp - Command took 2.296s 2021/09/30 12:29:23 - DEBUG - RemoteScanner - Scan took 2.363s 2021/09/30 12:29:25 - DEBUG - ExtractProcess - Process received terminate flag 2021/09/30 12:29:26 - DEBUG - seedsync.Controller.MPLogger - Stopped listener thread 2021/09/30 12:29:26 - INFO - seedsync.Controller - Exited controller 2021/09/30 12:29:26 - DEBUG - seedsync.ControllerJob - Finished cleanup for ControllerJob 2021/09/30 12:29:26 - DEBUG - seedsync.ControllerJob - Thread ControllerJob stopped 2021/09/30 12:29:52 - DEBUG - seedsync - Persisting states to file

What are your connection settings? Can you post a pic here (not your server address and password stuff, the thread counts and stuff on the right side)

I posted The configuration file at The top
(All info is There except username and password (-(

I have tested using different configs but I have learned that anything other than 1 file at a time with 10 connections causes LFTP to bug out.
Here are the settings that I've settled with.

Thanks - I just used the "default config" from the docker install (I thought these would be the safe ones)
but I have changed the settings now to match yours!
Its running but the UI is very unresponsive - maybe I have to many files to sync/DL?
If I move away from the UI and go back I have to wait for it to load (Long time) again it seems like its utillizing all power to do the transfers... RAM is just above 2G usage and CPU is really low 15%


ARMv8.2-DotProd instructions are used in arch=arm64-v8a

Output of 'strings libarm_compute.so | grep arm_compute_version':
arm_compute_version=v18.11 Build options: {'embed_kernels': '1', 'opencl': '0', 'pmu': '1', 'arch': 'arm64-v8a', 'standalone': '0', 'neon': '1', 'build_dir': 'linux-arm64-v8a-neon', 'debug': '0', 'validation_tests': '0', 'examples': '1', 'asserts': '0', 'mali': '1', 'benchmark_tests': '0', 'compiler_cache': 'ccache', 'os': 'linux', 'Werror': '1'} Git hash=b9abeae0897bef74553ba9800c4ff5f74131c5b4
Platform:
Linux aarch64
Operating System:
Ubuntu Linux bionic

Problem description:
On hardware that has the ARMv8.2-DotProd, SIMD Dot Product extension, armcl built with arch=arm64-v8a uses the SDOT/UDOT instructions.  This is contrary to the expectation that armcl needs to be built with arch=arm64-v8.2-a to use the instructions.

The issue is that it isn't consistent with previous responses as to what is necessary to enable 8.2 features.  In #569, the response given is that "to enable fp16 you have to compile for arch=arm64-v8.2-a architecture".

Yes, because fp16 relies on the toolchain supporting the instructions for it, whereas for dot product there is no toolchain support needed: the assembly code uses a macro which directly output the op code for the instruction.
This was done because at the time the support for the dot product instruction wasn't present in the toolchains

So now that there is DotProduct and fp16 toolchain support, and ACL decides on its own whether or not to use v8.2-a features regardless of the value of arch, why keep arch=arm64-v8.2-a as a valid target architecture parameter?

Because dot product support is a single instruction which is used in blocks of assembly whereas the fp16 code does rely on a whole range of instructions and makes use of the NEON intrinsics and therefore can't be done without toolchain support which is why fp16 only works for v8.2, and that's why we've got the v8.2 arch.


As a tutor, I can create classes

so that I can separate students into their respective classes

First thing tutor does when running the program

separate json file for each courseCode


RV application plugin updates

Small updates I missed in #565

Codecov Report

Merging #584 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #584      +/-   ##
==========================================
- Coverage    81.6%   81.58%   -0.03%
==========================================
  Files          72       72
  Lines        2729     2726       -3
==========================================
- Hits         2227     2224       -3
  Misses        502      502

Flag
Coverage Δ

#py27
?

#py36
81.58% <ø> (?)

#py37
?

Impacted Files
Coverage Δ

...ntimelineio/opentimelineio-bindings/otio_utils.cpp
87.05% <0%> (-0.16%)
:arrow_down:

...eio/opentimelineio-bindings/otio_anyDictionary.cpp
100% <0%> (ø)
:arrow_up:

...elineio/opentimelineio-bindings/otio_anyVector.cpp
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

How does this look, @JoshBurnell @eric-desruisseaux-adsk?
@JoshBurnell can you rebase your writer plugin onto this once we land this PR?
Thanks!


Avoid local cleanup of vmi until vmi is in a finalized state

Under certain failure conditions, it's possible for the domain to never hit a running state and go directly to shutdown. This occurred while I was performing a PoC of a new feature where container disks can be a backing disk for a qcow2 image on a PVC. The disk on the PVC wasn't writeable, which caused the domain to immediately go to a failed "shutdown" state.
The result of this is that the VMI remained forever as "scheduled". It never moved to Running and was never finalized. Further more the VMI can't be deleted because the finalizer is only removed once the VMI reaches a finalized state. To make matters worse, if the VMI is owned by a VM, the VM can't restart because the VMI will never delete.
This was ultimately caused by logic that assumes that if a domain doesn't exist and the vmi is being deleted, that the vmi must have already reached a Finalized state. This isn't a safe assumption, as my situation proved.
The fix is to never perform local cleanup unless the VMI is finalized. As long as the command sockets and other local data exists, the VMI will definitely timeout and reach a finalized state eventually. Cleaning up before the VMI is finalized negates that though.
Fixes rare situation where vmi may not properly terminate if failure occurs before domain starts.

Also, should we add a functional test for this case?

At this point it's unclear how to reliably reproduce this in a functional test.

/lgtm

/approve
/retest


Flaky Test: Job controller interacting with scheduler when waitForPodsReady enabled when workload evicted due pods ready timeout should requeued after job status ready

/kind flake
What happened:
Flaky Test, Job controller interacting with scheduler when waitForPodsReady enabled when workload evicted due pods ready timeout should requeued after job status ready:
{Timed out after 5.001s.
The function passed to Eventually failed at /home/prow/go/src/sigs.k8s.io/kueue/test/integration/controller/jobs/job/job_controller_test.go:2007 with:
Expected
    <*int32 | 0xc000eb46e8>: 2
to equal
    <*int32 | 0xc000eb46ec>: 1 failed [FAILED] Timed out after 5.001s.
The function passed to Eventually failed at /home/prow/go/src/sigs.k8s.io/kueue/test/integration/controller/jobs/job/job_controller_test.go:2007 with:
Expected
    <*int32 | 0xc000eb46e8>: 2
to equal
    <*int32 | 0xc000eb46ec>: 1
In [It] at: /home/prow/go/src/sigs.k8s.io/kueue/test/integration/controller/jobs/job/job_controller_test.go:2041 @ 05/07/24 12:58:46.121
}

What you expected to happen:
No happen
How to reproduce it (as minimally and precisely as possible):
https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_kueue/2151/pull-kueue-test-integration-main/1787828665795481600
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):
Kueue version (use git describe --tags --dirty --always):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/assign


Min resource limits for containers running in K8S

Description
What:

Add k8s resource limits for NGSA app containers

Why:

Allow kubernetes to evenly distribute the app workloads across the cluster nodes based on the node's available resources

When:

New replicas of containers are being made

Where:

AKS/K8s clusters

Tasks

[ ] Determine the minimum ideal memory/cpu resource limits for the ngsa application #121
[ ] Add minimum resource limits in the app deployment helm configuration #122

Acceptance Criteria

Resource limits are in the helm deployment.yaml files
Kubernetes deploys the app container based on the current node's resource usage

Constraints

N/A

References:

N/A

Closing as duplicate to #169.

Closing as duplicate to #169.


ONEDAL_ASSERT fixes in array_impl

/intelci: run

Implementation before #1560 was fine, but recent fixes are terrible. I suggest to fix it as part of this PR.
It is mixing low-level and high-level concepts. It results in non-readable code, it's difficult to follow the logic if I always need to switch my attention to low-level things. Many resources talk about that:

https://dzone.com/articles/clean-code-dont-mix-different
https://www.c-sharpcorner.com/article/clean-code-single-level-of-abstraction/
http://principles-wiki.net/principles:single_level_of_abstraction

If the goal is to replace std::get function if it's not supported by some OS, then introduce an equivalent:
cshared get_cshared() const {
   if (const auto ptr = std::get_if<cshared>(&data_owned_)) {
      return *ptr;
   }
   else {
      throw internal_error {};
   }
}

shared get_shared() const {
   if (const auto ptr = std::get_if<shared>(&data_owned_)) {
      return *ptr;
   }
   else {
      throw internal_error {};
   }
}

// Or similar template function

Usage:
template <typename Y>
void reset(const array_impl<Y>& ref, T* data, std::int64_t count) {
   if (ref.has_mutable_data()) {
      data_owned_ = shared { ref.get_shared(), data };
   }
   else {
      data_owned_ = cshared { ref.get_cshared(), data };
  }
}

/intelci: run
set daal4py_branch=dev/onedal4py
set daal4py_repo=git@github.com:PetrovKP/daal4py.git
set infra_branch=dev/onedal_tests

/intelci: restart

/intelci: run

/intelci: run

/intelci: run


jstree does not fire open_node event on search

jstree does not fire open_node events when the search() opens nodes. Please trigger the open_node / close_node events when the search does so.

Sorry, this is simply wrong. Here is a demo - the open_node event is triggered:
http://jsfiddle.net/DGAF4/1504/
Best regards,
Ivan


NoDeleteMessages small glitch

Test2 shouldn't show in this color, it should show in the same color than Test

Same without deleting the message

Issue is patched, wait for the update.

Not really fixed, it still behaves as the 2nd and 3rd messages were only modified and not modified and deleted

It was fixed on this PR https://github.com/Mega-Mewthree/BetterDiscordTrustedUnofficialPlugins/pull/18 made by ShiiroSan
You could manually use it manually for now till the maintainer accept the PR
Go to your plugin folder and copy and paste the code in https://github.com/ShiiroSan/BetterDiscordTrustedUnofficialPlugins/blob/master/NoDeleteMessages/NoDeleteMessages.plugin.js to you local plugin file NoDeleteMessages.plugin.js t


Is there an option to maximize app window by default?

Fullscreen is nice, but it's not an option for some cases, when you need to view taskbar and window buttons (minimize, close)

Unfortunately, nothing that I can do will be able to address that.
But, you can use javascript to achieve the same effect. See this stackoverflow answer.


[DOC] Add more info on how to manage large messages

Insert the documentation link:
https://docs.luos.io/pages/low/containers/msg-handling.html#large-data
Describe the issue or the suggestion:
The page needs more information on how Luos manages large messages.
How would you fix the issue / which content would you add or delete?
Add description

I propose something like the following for this doc page:
In first paragraph:
You will sometimes have to deal with large data, that could be larger than the maximum 128-byte data on a Luos message. Fortunately, Luos is able to automatically fragment and de-fragment the data above this side. To do that, instead of using Luos_SendMsg() function, you will have to use the Luos_SendData() function, that will take care of setting the messages' size, and the data fields. In other words, this function is responsible for separating each message with data size larger than 128 bytes, to multiple messages, with the size parameter equal to the full data size, decremented by the size of the data that have already been send.
For instance, if we have a message with data size equal to 256 bytes, it will be divided in 2 separated messages of 128 bytes of data each, with almost the same header, apart from the size field of the header, which for the first message will be equal to 256 and for the second message will be equal to 128.
After the 2 code windows about sending an image:
In the above example the send function used, sent the pixels of the image in multiple messages of 128-byte data and the receive function rejoined the full image after receiving each separated message.

Fixed with https://github.com/Luos-io/Documentation/commit/da6df20479b9b6dac86fc22a45eed5091a411a25