pre-trained model missing

Hi,
Are you still sharing the pre-trained model? It shows that the model has been moved to "https://mailustceducn-my.sharepoint.com/personal/tzt_mail_ustc_edu_cn/_layouts/15/Authenticate.aspx?Source=%2Fpersonal%2Ftzt_mail_ustc_edu_cn%2F_layouts%2F15%2Fdownload.aspx%3FUniqueId%3Dc540b02a%252D3155%252D4180%252Da820%252Dd47d1e42345c"
Howere, whe I tried to download there, following error showed: "Connecting to mailustceducn-my.sharepoint.com (mailustceducn-my.sharepoint.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2022-02-07 14:27:03 ERROR 403: Forbidden."
Could you please provide the guidance? Thank you

please ignore what I'm saying. I found out the model inside the google drive.


Privacy Policy

The other day I have been taking a glance at the Chrome Web Store to see if we could publish a new version of SAML-tracer anytime soon. I couldn't help but notice that the CWS now enforces the linking of a privacy policy. Without this, it is not possible to publish a new version.
Now one could certainly click through one of the numerous online generators for privacy policies. Sure, sounds easy at first. Nevertheless, it is not unlikely that you will not state things correctly and that the whole structure will become legally vulnerable as a result.
I wonder how you deal with these kind of issues in SimpleSAMLphp? I think that privacy issues and legal matters in general are even more acute with this project than with SAML-tracer.
Is SimpleSAMLphp backed by Sikt/UNINETT in this regard? Or SURF (probably not)?
However, I couldn't find a privacy policy anywhere in the SimpleSAMLphp project or on the website. Either I'm looking too hard, or there isn't one?!
Anyway. I think with the necessary effort one could also create a (hopefully legally bulletproof) privacy policy for SAML-tracer. It would certainly also be in the users' interest if they could find out what happens to their data (namely nothing; since we don't play fast and loose with it).
However, I have concerns about article 13(1a) of the GDPR. This article requires the specific designation of a responsible person ("controller"). Who should be named here in an open source project? If SAML-tracer were the product of some company, it would certainly be a different situation.
Hence the question about Sikt/UNINETT: Would it somehow be conceivable to come under their umbrella in this respect?
What do you think about this, @tvdijen , @thijskh , @jaimeperez ?

Sikt is not involved anymore and I believe the SimpleSAMLphp project to be a legal entity on it's own.
This sounds like a job for our board to figure this stuff out.

Oh, I didn't know that Sikt isn't involved anymore.
What form of legal entity is SimplesSAMLphp likely to be?
How can the board be 'activated' to clarify these questions? 😉

SimpleSAMLphp is established as a non-profit entity under the umbrella of the NLNet Foundation.This means we are free to accept donations without worrying about taxes and all sorts of administrative issues, and use that to take care of the project. Sikt and Cirrus Identity have been the only ones who have donated to the project since the new non-profit was established, but neither of them have any control or ownership capabilities.
Regarding the GDPR & Privacy Policy, as far as I understand it shouldn't affect us in general for two reasons:

We are not a company offering any services, and as such, we cannot be designated as controller of any personal data.
We are not collecting any personal data either. In fact, we are not collecting any data at all.

The only tricky part is this issue tracker and any mailing lists. In theory, people who have written here or in mailing lists that we manage could exercise their right to be forgotten under GDPR, and that would force us to delete their comments. I believe both Google Groups and Github offer an automated way to delete all your comments when you delete your account, so that leaves us with no need to do anything on our side (but we should verify this, of course).
Other than that, the Privacy Policy for SAML-tracer should be as simple as We don't collect any data. All data made available to the SAML-tracer extension, personal or not, is under your control at all times.

Hi again!
Just a quick update on this. We just discussed the topic in our board meeting and we are going to look into the legal requirements, write something that we can use as a privacy policy and find a place where we can publish it when done 😄
@khlr I'll let you know when everything is in place so that you can use it in the CWS!

Thanks for the feedback and for discussing the further details in the board meeting, Jaime.
Thanks also for the info on the NLNet Foundation. However, I can't find SimpleSAMLphp anywhere on the list of supported projects. Is it listed there under a different name?

So it's not NLNet Foundation but The Commons Conservancy. NLNet in turn delivers services to TCC.

That's absolutely true, my bad. TCC is the legal instrument that hosts us, while NLNet provides most services for it. I was thinking strictly on economical terms, so I just thought about the NLNet foundation.

Hi @jaimeperez!
Are there any results on this topic in the meantime? 🙂

I've been checking out some other browser add-ons that perform similar tasks and found this one to have a very simple privacy statement that perhaps we could re-use?
https://chromewebstore.google.com/detail/enlnbonndfjonmelmplbmgnobjffbhoj/privacy

Since the privacy question with SAML Tracer is rather trivial, I've gone ahead and just wrote what it does. That seems the essential part. We do nothing with your data.
Please find the proposed text on simplesamlphp/simplesamlphp.github.io#11. Improvements to the text welcome, but I prefer to keep simple things simple.
We can improve on this at any later time, but I suggest not to dwell too long on theoretical legal aspects of something that is so trivial re privacy risks and go ahead with what is proposed in this one.

I think it makes more sense to add the .md file to this repository, rather than on the SSP-website.
Other than that, 👍🏻

I'd link to the raw file in the master-branch 🤷🏻♂

This might be a matter of taste but I think it looks more reliable and official to random end users if it's part of a proper website and not some file deep in a code repository. YMMV

Right, and I do not disagree on that matter, but right now the website has no relation to (not even a mention of) SAML-tracer and vice versa.
For now, merge it so @khlr can do the release of v1.8

Here's the Privacy Policy: https://simplesamlphp.org/support/samltracer_privacy.html
I could not find out if this needs to be added to the Manifest or otherwise.
@khlr Is this enough for you to proceed?

@khlr ?

I apologize for still not getting back to you...
I've let the topic slide a little. I had hoped that @jaimeperez might have some feedback from the board meeting after all, as I would personally prefer to have a more legally certain result. Is something still in the works there?
Any way, I will (hopefully) continue with the current status next week. 🐌

I wouldn't get your hopes up ...

Sorry guys. I've given this a lot of thought over the last few days. Thanks @thijskh for the generated privacy statement, but I think that's simply not enough. I just don't feel comfortable using a privacy policy that doesn't meet the necessary legal requirements (I refer here again, for example, to Article 13 (1a) of the GDPR).
Sooner or later, some warning lawyer will take notice and we'll have a problem on our hands.
Personally, I really don't have the time, inclination or nerves for this. Since SimpleSAMLphp is fortunate enough to have an umbrella organisation in the form of the Commons Conservancy that takes care of such legal matters, then I am very much in favour of not cobbling something together ourselves, but instead relying on their support.
@jaimeperez, I would really like to hear some feedback from you as a board member.

Sorry so much for the lack of response from my side guys! I never got the notifications and was unaware of the discussion until Tim mentioned it to me right now.
I'm still waiting for feedback myself. Another board member (Niels) was going to involve a GÉANT lawyer to give us some proper legal text we could use, but we haven't had any news yet and we had to postpone our last board meeting.
I'll ping Niels to see if we can get something as soon as possible. I totally understand that you do not want to take any risks with this and prefer to have a lawyer look into it.

By the way, I just had a quick look at the privacy statement that has been already published. I'm no legal expert myself, but I think there's little more that we can say. As described there, the SAML-tracer extension does not collect any data, and as such, there's nothing we can do about what we do with the data... because there's no data to do anything with :-)

One more comment regarding Article 13 of GDPR: the entire article does not apply to us, since it is conditional to the collection of personal data. There is personal data managed by the extension indeed, but the data is not collected, and as such there is no processing and we are not a Processor as per the regulation.
The key for us is Article 2 paragraph 1:

This Regulation applies to the processing of personal data wholly or partly by automated means and to the processing other than by automated means of personal data which form part of a filing system or are intended to form part of a filing system.

From the definitions in Article 4, point (6):

‘filing system’ means any structured set of personal data which are accessible according to specific criteria, whether centralised, decentralised or dispersed on a functional or geographical basis;

There is no set of personal data accessible, because we don't collect any data. Since there is no "filing system", the second condition in Article 2 does not apply to us. The first condition is the only one that applies, about the "processing" of personal data. According to the definitions again:

‘processing’ means any operation or set of operations which is performed on personal data or on sets of personal data, whether or not by automated means, such as collection, recording, organisation, structuring, storage, adaptation or alteration, retrieval, consultation, use, disclosure by transmission, dissemination or otherwise making available, alignment or combination, restriction, erasure or destruction;

This definitely applies to SAML-tracer, as the extension retrieves, consults or uses the data exchanged in the SAML flow (and/or during authentication). However, this processing is done by the legal person (according to GDPR, the controller). We are not processors, as per the definition:

‘processor’ means a natural or legal person, public authority, agency or other body which processes personal data on behalf of the controller;

We (the SSP board, the developers, the community, whoever legal entity behind the software) do not perform any of those activities on behalf of the controller. The controller performs the processing directly (with the help of our software), and as such we aren't even in scope of GDPR.
I'm still waiting for feedback from my board colleagues, but I hope this alleviates your concerns @khlr. I'm pretty sure the Privacy Policy suggested by Thijs is more than enough for our purposes. If it helps, have a look at OpenOffice's privacy note.

The SSP board has commissioned a law firm to make a SAML Tracer privacy policy which is now ready. I will put it online shortly for a final review.

Proposed text is in simplesamlphp/simplesamlphp#15 and has been approved by the board already. If there are no objections raised I'll merge it.

I see the latest 1.8.0 tag is an orphaned tag.. I may have rebased something at some point. Since it's never released I suggest moving the tag to the latest commit in master.

I would just create a new tag 1.8.1 to avoid any confusions, tags do not cost anything

Doesn't it make sense to only create a new tag when the extension has actually been published?

That was my thought as well @khlr !

Here's the link to the current policy https://simplesamlphp.org/support/samltracer_privacy.html


Use a token store with ServiceAccountCredentials

Hi,
I have a questions regarding the use of ServiceAccountCredentials, alas there is no documentation:
Is it possible to use a token store with ServiceAccountCredentials? I don't find any helpful hints in the #make_creds methods https://github.com/google/google-auth-library-ruby/blob/master/lib/googleauth/service_account.rb#L56 nor in the initializer.
Correct me if I'm wrong, but I isn't it a good idea to reuse the access tokens when doing multiple requests, regardless of the underlying auth mechanism? The documentation shows a sample code for WebUserAuthorizer, but not for ServiceAccountCredentials.
Hope somebody can help me,
thx!

closed by #110


No Support for Apple M1?

Is there a plan to support binaries that can run on apple silicon m1?

What do you mean by this? I'm on an M1 and can open Platypus just fine. The brew version is outdated though and causes issues. You should manually download it.

Yeah, the latest release build had some issue, but it should be covered now by this

The issues with the last release have been fixed in version 5.4.1.


Don't provide default slot to CruResourceFooter

Summary
This resolves the issue of CruResource rendering duplicate templates by excluding the default slot from being provided to CruResourceFooter.
Fixes #11716
Fixes #11741

Occurred changes and/or fixed issues

don't expose the default slot in CruResourceFooter

Technical notes summary

This behavior is directly related to Vue3 Slot Unification^1 and is only an issue in instances where we iterate over slots.
In Vue2, this template would iterate over scoped slots via v-for="(_, slot) of $scopedSlots". Since $scopedSlots has been merged with $slots in Vue3, we are now inadvertently picking up the default slot along with the rest.
In previous instances of this error, we filtered for scoped slots via v-if="typeof $slots[slot] === 'function'". For the offending instances addressed in this PR, default was also being treated as a scoped slot and we still don't want to render it in our templates.
Areas or cases that should be tested

any form that makes use of CruResource and CruResourceFooter
examples listed in issues

Areas which could experience regressions

any form that makes use of CruResource and CruResourceFooter
examples listed in issues

Checklist

[x] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[x] The PR has a Milestone
[x] The PR template has been filled out
[x] The PR has been self reviewed
[x] The PR has a reviewer assigned
[x] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[x] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

Visual styling mostly, moving to done.


feat(productivity-suite): make news page persist

use search parameters to update and restore the news page so that they can persist across refreshes and the user can also see that not only the first page can get server side rendered

@petebacondarwin regarding your comment:

update-new-page-number and update-news-page-view seem very similar to me and it is difficult to tell which does what. Could we make them less similar?
Could it be simply: news-page and change-news-page?

I've updated the names, I am not sure if in your message you were suggesting that update-news-page-number should be news-page and update-news-page-view should be change-news-page, but I did it the other way around:
update-news-page-number -> change-news-page
update-news-page-view -> news-page
because the standard one being read on the server and on the initial page load is the update-news-page-view whilst the other is only fired from the fragment to update the former, so I hope this makes sense
please have a look 🙂

@petebacondarwin regarding your comment:

update-new-page-number and update-news-page-view seem very similar to me and it is difficult to tell which does what. Could we make them less similar?
Could it be simply: news-page and change-news-page?

I've updated the names, I am not sure if in your message you were suggesting that update-news-page-number should be news-page and update-news-page-view should be change-news-page, but I did it the other way around: update-news-page-number -> change-news-page update-news-page-view -> news-page because the standard one being read on the server and on the initial page load is the update-news-page-view whilst the other is only fired from the fragment to update the former, so I hope this makes sense
please have a look 🙂

LOL! This was exactly my problem. I couldn't tell which was which! Thanks for updating.

Yeah for me -number was to indicate the number of the page and -view the actual page that should be displayed... so basically the number of the page... 😅
yeah sorry, pretty bad naming on my part 😓


Warning messages in logging when starting ProtoData CLI

This is what appears when running CliTest.kt:
May 29, 2023 8:59:55 PM com.google.protobuf.Descriptors$DescriptorPool lookupSymbol
WARNING: The descriptor for message type ".google.protobuf.Timestamp" cannot be found and a placeholder is created for it
May 29, 2023 8:59:55 PM com.google.protobuf.Descriptors$DescriptorPool lookupSymbol
WARNING: The descriptor for message type ".google.protobuf.FieldOptions" cannot be found and a placeholder is created for it
May 29, 2023 8:59:55 PM com.google.protobuf.Descriptors$DescriptorPool lookupSymbol
WARNING: The descriptor for message type ".google.protobuf.FieldOptions" cannot be found and a placeholder is created for it
May 29, 2023 8:59:55 PM com.google.protobuf.Descriptors$DescriptorPool lookupSymbol
WARNING: The descriptor for message type ".google.protobuf.OneofOptions" cannot be found and a placeholder is created for it
May 29, 2023 8:59:55 PM com.google.protobuf.Descriptors$DescriptorPool lookupSymbol
WARNING: The descriptor for message type ".google.protobuf.MessageOptions" cannot be found and a placeholder is created for it
May 29, 2023 8:59:55 PM com.google.protobuf.Descriptors$DescriptorPool lookupSymbol
WARNING: The descriptor for message type ".google.protobuf.FileOptions" cannot be found and a placeholder is created for it
May 29, 2023 8:59:55 PM com.google.protobuf.Descriptors$DescriptorPool lookupSymbol
WARNING: The descriptor for message type ".google.protobuf.ServiceOptions" cannot be found and a placeholder is created for it

We need to investigate it because the types references in the warning messages, especially Timestamp are likely to be used in the user's code.

Right now, there are no such messages on my machine nor on CI.
I can confirm that I've seen those messages some time ago, but not anymore.
We should reopen this in the future, if the issue returns.


[Feature Request]IGW (In-Game Wiki) support

Wiki in game you can press I and view description of block you are looking at also good for explaining on how to use machines or tools such as book press
https://github.com/MineMaarten/IGW-mod

Sounds interesting, but it would involve a lot of copy pasting I'm not really willing to do.


Implement proper support for escaped CSV values

Playlists in which track information contains the separator value are not properly escaped.
Change reading and writing logic to use python's built in csv module for reading and writing values so that we get properly escaped values.

decided to hand code the logic for handling this instead of using the csv module since sinemetu1 had donated some code that got things rolling and the csv module doesn't support unicode well from what I recall.


Changed ui of Events Section

Created new ui of Events section
@RamakrushnaBiswal , pls check
for [ISSUE #98 ]

Summary by CodeRabbit

New Features

Introduced text animations for enhanced visual appeal in the Event component.
Added new images to improve the overall design and user experience.

Improvements

Enhanced layout and responsiveness of the Event component for better usability.
Streamlined JSX structure for improved readability and organization.

Bug Fixes

Adjusted button placements and styling for better interaction.

@samar12-rad hy dude lilterally cool one
LGTM

can you also review #125 @RamakrushnaBiswal


Official Firefox Version Please?

It's as simple as that. A version for the people who don't use chrome.

Duplicate of #78


Upgrades in istio

Hi All,
We are using istio in EKS, we have istio 1.2.2 running in our environment, We want to upgrade istio to newer version 1.2.3, looking if there is any doc or steps that I can get for this.
Our environment is without internet and we have downloaded all the below images and put it in ECR and changed the helm values files. so If we just upgrade the new package with the same values file will it work.
INGRESS GATEWAY:
image: docker.io/istio/node-agent-k8s:1.2.2
image: docker.io/istio/proxyv2:1.2.2
ISTIO-CITADEL:
image: docker.io/istio/citadel:1.2.2
EGRESS GATEWAY:
image: docker.io/istio/proxyv2:1.2.2
ISTIO-GALLEY:
image: docker.io/istio/galley:1.2.2
ISTIO-PILOT:
image: docker.io/istio/pilot:1.2.2
image: docker.io/istio/proxyv2:1.2.2
ISTIO-POLICY:
image: docker.io/istio/mixer:1.2.2
image: docker.io/istio/proxyv2:1.2.2
ISTIO-SIDECAR-INJECTOR:
image: docker.io/istio/sidecar_injector:1.2.2
ISTIO-TELEMETRY:
image: docker.io/istio/mixer:1.2.2
image: docker.io/istio/proxyv2:1.2.2
ISTIO-TRACING:
image: docker.io/jaegertracing/all-in-one:1.9

Please see https://istio.io/docs/setup/kubernetes/upgrade/steps/


⚠ Bofrost.be has degraded performance

In ac9f474, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1361 ms

Resolved: Bofrost.be performance has improved in 28a82cf.


[mpg123] Update to 1.32.9

Fixes #42318.
Usage passed on x64-windows.

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Thanks for the update!


Explode parameter is not correctly converted from OpenAPI 3.0 to 3.1 documents

          The exploded query parameter style is not working in current version (0.3.4). It used to work properly in previous version (0.1.11)

example openapi.yaml
openapi: '3.0.3'
info:
  description:
  version: 2023.8.26
  title: example

servers:
  - url: https://example

paths:
  /example:
    get:
      operationId: example
      parameters:
      - name: LocationId
        required: false
        in: query
        style: form
        explode: false
        schema:
          type: array
          items:
            type: string

It now yields:
https://example/example?LocationId=1&LocationId=2
But it is expected to be:
https://example/example?LocationId=1,2
Originally posted by @luomein in https://github.com/apple/swift-openapi-generator/issues/258#issuecomment-1808507532

Thanks for reporting this @luomein, this indeed looks like a bug.
I've identified that it only happens for documents using OpenAPI 3.0, as we then convert them to 3.1 in memory using OpenAPIKit's to31 method under the hood, however the one for parameter context seems not to be bringing over the explode parameter: https://github.com/mattpolzin/OpenAPIKit/blob/f93e9bd8ec7b9d58f6a86e303fd5f71c7088f9ae/Sources/OpenAPIKitCompat/Compat30To31.swift#L171 @mattpolzin could you take a look?
In the meantime, you can resolve this by using openapi: 3.1.0 at the top of your document, @luomein.

Thanks for the quick response. Confirmed it works after updating openapi: '3.1.0' in my openapi.yaml

@luomein it was also fixed in OpenAPIKit 3.1.0, if you update the dependency, can you check it then also works with a document marked with the OpenAPI version 3.0.x?
https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.1.0

@luomein it was also fixed in OpenAPIKit 3.1.0, if you update the dependency, can you check it then also works with a document marked with the OpenAPI version 3.0.x?
https://github.com/mattpolzin/OpenAPIKit/releases/tag/3.1.0

Yes, confirmed. It works with OpenAPIKit 3.1.0 and openapi: '3.0.3' in openapi.yaml, explode: false


Deleted deploying to pypi is enough

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.15%. Comparing base (aa822c3) to head (55f26c4).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #77   +/-   ##
=======================================
  Coverage   98.15%   98.15%
=======================================
  Files           3        3
  Lines         325      325
=======================================
  Hits          319      319
  Misses          6        6

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Suddenly, chrome only works when I'm looking at it.

I recently installed Chrome 44.0.2403.89 on my Mac (Yosemite). Prior to this, running testem against Chrome and Phantom worked fine, but suddenly in this build, the Chrome tests won't run unless the Chrome window is the active Window. Which is super annoying because they seem to be running much slower with this build too. The one notable fix in this build of Chrome is that triggered Chrome windows open in the foreground (before, with both testem and webdriver, they would open in the background). Is this a side-effect of that? Or something else? And can it be fixed in this lib or is it a Chrome problem? (And also, I suppose it's worth asking, am I the only one who's seen this behavior?)

Could you share a repository to reproduce the issue you are seeing?
Never experience that issue before, but I know that iOS safari is throttling background tabs for some time, so maybe Chrome introduced the technique to safe battery?

I'd have to make a test case - the repo I'm seeing this in now is private.
Seems like it could be related to setTimeout and/or setInterval, which, it appears, get throttled by Chrome when in an inactive tab. http://stackoverflow.com/questions/6032429/chrome-timeouts-interval-suspended-in-background-tabs
Does this lib use one of those? I'm guessing not. My guess is the solution (if this is the problem) will have to be in jasmine (which is what we're using).

Ok, so it appears that Chrome has been throttling for quite a while. There's some really bizarre behavior, however. This is a good test page for seeing the throttling effect. http://jsfiddle.net/simevidas/gHZSW/. What's supposed to happen is that when a particular tab is not the active tab in that window, timeouts and intervals are triggered at most once per second. You can see that in effect if you open that link in a new tab and then go to another tab and come back. If you open that tab in a new window (or if you tab away from Chrome completely), the background task keeps working normally. It's only when that tab is inactive but it's window is active that it gets throttled. So I would've expected that the window triggered by testem would work in the background since it is the active tab in that window. But it doesn't. Is that possibly related to how Chrome is launched from testem??? I've fiddled with the flags on the launcher, but it doesn't seem to change anything. Anyone, the point is, it seems like it should work even with background throttling because the throttling is per window, not per tab.

Update: this must be based on the version of Chrome installed. I actually see this go away and come back occasionally as I upgrade Chrome. Unfortunate, but probably not anything this library can (or should) address. At the moment, the tests run fine the first time, but when restarting, they freeze until I switch over to look at them. ¯_(ツ)_/¯

Thanks for updating this :-) :+1:


Use rsync to delete old cache directory

1. Why is this change necessary?
rm -Rf is really slow for small directory (my case 50gb in delete). Fastest easy solution is rsync
https://www.slashroot.in/which-is-the-fastest-method-to-delete-files-in-linux
https://www.dynamsoft.com/help/saw/start delta transfer.htm used by rsync
2. What does this change do, exactly?
Use rsync if available.
3. Describe each step to reproduce the issue or behaviour.
Clear a really large cache.
4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

[x] I have squashed any insignificant commits
[x] I have read the contribution requirements and fulfil them.

rsync has also a progress/speed option -maybe interesting to see some interaction. Never tried it on a delete.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-22970
Please use this issue to track the state of your pull request.

Hi @xf-, thank you for your creative contribution! 💙 🎉

@soebbing @shyim  why is this change missing in chnagelog?

@xf- We're really sorry your contribution wasn't mentioned. That was a mistake which we'll fix. The change has already been added to the download page (https://community.shopware.com/Downloads_cat_448.html) and we'll also add it to the UPGRADE.md. Thank you for pointing that out to us!


Details of reproducing InLoc localisation

Hi, thanks for your great works.
I'm trying to reproduce your results on InLoc localisation. As is suggested in paper, LoFTR is combined with HLoc to perform visual localisation. I integrate LoFTR into the  inloc pipeline and find some performance gap compared with the reported in paper.
Would you mind sharing some experiment details on InLoc reproduction, that should be very helpful!
I understand some settings are elaborated on the leaderboard(https://www.visuallocalization.net/details/19843/), like using pairs-query-netvlad40-temporal.txt as retrieval list and using outdoor model(please correct me if I'm wrong). But some other details like resize and threshold should also matter.
Thanks!

Hi,  I think the major difference is that we used the finetuned version of the outdoor-OT model, the skh-iter is set as 3 and the confidence threshold is set as 0.2.
The augmentation is as follows.
https://github.com/zju3dv/LoFTR/blob/2122156015b61fbb650e28b58a958e4d632b1058/src/utils/augment.py#L4-L19

Thanks for your help!


Feature/darkreader settings

Co Authored with @sampathBlam<EMAIL_ADDRESS>Expose Dark Reader Settings
Description

Allow users of ferdi to access darkreader settings.
Motivation and Context

In the service model, expose an object darkReaderSetting which contains  brightness, contrast and sepia values.
In EditServiceScreen, provide 3 form options for brightness, contrast and Sepia. Additionally onSubmit() form, capture the darkreader settings data onto formdata.darkReaderSettings to update in the service
In EditServiceForm, if darkModeEnabled is checked, show 3 sliders for controlling darkreader settings
Create a new Slider control and customize it according to the application's theme and dark theme.
In Webview Recipe, load the darkReader settings from service settings and pass it to the darkReader library.

This feature addresses #531
How Has This Been Tested?

Tested on Windows 10 Ferdi development environment. Tested using various levels of brightness, contrast and sepia which is passed to darkReader module.

Screenshots (if appropriate):
Dark Mode

Types of changes

[x] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code style of this project (run $ yarn lint).

@kytwb Can you please review this?

Looks good now - thank you for this contribution! Is this PR ready to be merged?

Looks good now - thank you for this contribution! Is this PR ready to be merged?

Yes Please. We don't have any other changes.

Nice work guys, the attention brought to the UI really is 💖
🙏 Thank you!


levant: init at 0.3.0

Motivation for this change
It would be useful to have Levant, a templating tool for Nomad jobs available.
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[X] Fits CONTRIBUTING.md.


[STREAMPIPES-515] Add label to dev docker-compose services

Fixes:  https://issues.apache.org/jira/browse/STREAMPIPES-515

Cool, thanks!


Traffic amount limitation Option

I've cruised through the options and have not found one to set a limit, such as allocating 50GB on a plan. A user gets 50GB and if limit is reach the session is disconnected.
Is there such an option or any insight on a possible solution would be appreciated.
Thank you,

Bandwidth can be configured not possible to configure total amount so far.

There is a problem in creating this feature
By checking, you can see that there are several requests for this feature


Fix regex escape

escape function was missed when code was copied from @rollup/plugin-replace
https://github.com/rollup/plugins/blob/master/packages/replace/src/index.js#L4-L6
Hence this plugin was using javascript escape function:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/escape
Which doesn't work for escaping chars for regex:
new RegExp(escape('()')).test('()') === false

Thanks


I dont know what happening

Made a custom modpack, with this mod, it gives me no errors when starting up, but when i try to find the items in game and in the menus or try crafting the upgrades nothing shows.
Here is my latest log:
latest.log
please help
and love the concept of the mod just waiting to actually play it

I've reviewed the log, and it actually seems like the mod is loading fine and JEI is even reading recipes... Try clicking on the hammer in the smithing table (like you would the arrow to view recipes) and tell me if you see anything.

Yeah that worked I was just being dumb, I thought it wasnt loading because it wouldnt show in the jei menu, but it was there. Thank you for your help,
Cant wait when this mod is fully complete


how to access the value of textfield

I try to use textfield  and want to get the value
some part of the code
          <ColoredTextfield ref="nameText" onChangeText={(re)=>
            ToastAndroid.show("onChangeText:"+re,ToastAndroid.SHORT)
        }/>
...
  _commit(){
var name = this.refs.nameText.value; //undefined
ToastAndroid.show("success"+JSON.stringify(name),ToastAndroid.SHORT);
}

onChangeText works fine.
this.refs.nameText.value  is undefined anyway.

You can use the state of your component :
<ColoredTextfield ref="nameText" onChangeText={(re)=>
            ToastAndroid.show("onChangeText:"+re,ToastAndroid.SHORT)
            this.setState({nameTextValue : re})
        }/>
_commit(){
var name = this.state.nameTextValue;
...
}

Please refer to https://facebook.github.io/react/docs/forms.html#controlled-components
Looks like using onChange is a pattern in React


Adding defaults to all vars

added !default to all vars so that users can easily overwrite

@prehnRA I need some help here to make sure I'm not doing things in a dumb way.
Currently, when we import Possum, the settings, colors and all other vars get loaded before the rest of the styles (which is good) but I also want to allow users to overwrite those settings and colors so that they can quickly update the UI.
This is what I want the app.scss to look like:
@import 'color-palette';
@import 'possum-settings';
@import '~awesome-possum/scss/app';
// awesome-possum also has colors and settings, but written as !default
[other user style imports go here]

My question is: Where should the editable color-palette and possum-settings files live so that users can edit them without fear of them getting overwritten in a Possum update?
OR
Am I overlooking an easier way to accomplish this?

That's a good question. If I'm understanding correctly, we'd have the framework's files with the vars all defaulted. Those would live inside the NPM package.
I believe the question is "how do we give the framework's users templated settings files in their project directory to change to provide overrides?"
The answer is "however we want." SCSS doesn't have opinions about where those files go. NPM doesn't have opinions on where they go.
We could:

Just put example settings / color files in the package that the user can manually copy into their project.
Do something with an NPM-post install hook (but we don't really know where the generated files would go [rails is different from phoenix is different than jekyll is different than])
Give a command line utility for generating the files (i.e. there would be "possum generate path/to/assets" command to copy the templated settings files)
Add a yeoman and/or slush command to do the same

@prehnRA you are correct. Default vars live in the npm package, while editable vars could be imported wherever needed. Currently editable settings files are just hanging out on my desktop.
This seems pretty simple and easy:
"Just put example settings / color files in the package that the user can manually copy into their project."
But could cause confusion if the user is working in an application like Atom which hides the npm_modules folder by default. We could assume that users know what they are doing and could figure this out, but I guess I'm just erring on the side of what's the most friendly/accessible.
I really like this idea:
Give a command line utility for generating the files (i.e. there would be "possum generate path/to/assets" command to copy the templated settings files)
And I also think it would be nice to have a download link available on https://possum.revelry.co/
Another issue I'm thinking about is how to make sure that the editable settings stay up to date with the defaults. (if we add variables in the component stylesheets which live in the npm package, how can we make sure that those variables make it into the editable settings file?) Obvious solution is strict PR reviews for style changes. But I'm wondering if there is a more automatic way of ensuring that this happens.

oohh. Providing a download link in the possum site navigation would be a really easy way to do this. We can go back and do a CLI tool too, but linking to the files is doable immediately.

OK Im gonna go ahead and self-merge these var changes and create a ticket for a CLI tool for being more fancy with the settings files

Sounds good. Go for it.


bluetooth: shell: eliminate ctx_shell usage

This PR aims to eliminate the dependency on ctx_shell in the Bluetooth audio/shell/*, mesh/shell/*, and classic/shell/* directories, making the code more maintainable.
The shell_* functions that depended on ctx_shell have been replaced with the appropriate bt_shell_* functions.

@Thalley Hi, the follow-up PR after https://github.com/zephyrproject-rtos/zephyr/pull/74652 get merged. 🚀

Putting DNM to review mesh changes.


qsctl sync repeatedly uploads existing objects

Reproduce:
run the same qsctl sync command repeatly

Will be fixed in https://github.com/yunify/qsctl/pull/172 with --ignore-existing support.

#172 merged.


Updating to latest version of nativebase

Hello,
I am new to react-native development. I was wondering how you can update the nativebase base to the latest version. Current my version of nativebase in my project is 2.7.0 and i want to update to the latest version which is 2.12.0.
Kindly help me and provide a detailed solution.
Thanking in advance

Please follow issue template. This is more of question to be asked on SO


运行demo的时候报错，这个错不知道怎么解，求助下。

测试代码如下：
~/VALL-E-X# cat test.py
from utils.generation import SAMPLE_RATE, generate_audio, preload_models
from scipy.io.wavfile import write as write_wav
from IPython.display import Audio
preload_models()
text_prompt = """
Hello, my name is Nose. And uh, and I like hamburger. Hahaha... But I also have other interests such as playing tactic toast.
"""
audio_array = generate_audio(text_prompt)
write_wav("vallex_generation.wav", SAMPLE_RATE, audio_array)
Audio(audio_array, rate=SAMPLE_RATE)
报错信息如下：
/VALL-E-X# python3 test.py
Traceback (most recent call last):
File "test.py", line 1, in
from utils.generation import SAMPLE_RATE, generate_audio, preload_models
File "/root/VALL-E-X/utils/generation.py", line 4, in
from vocos import Vocos
File "/root/miniconda3/lib/python3.8/site-packages/vocos/init.py", line 1, in
from vocos.pretrained import Vocos
File "/root/miniconda3/lib/python3.8/site-packages/vocos/pretrained.py", line 7, in
from vocos.feature_extractors import FeatureExtractor, EncodecFeatures
File "/root/miniconda3/lib/python3.8/site-packages/vocos/feature_extractors.py", line 8, in
from vocos.modules import safe_log
File "/root/miniconda3/lib/python3.8/site-packages/vocos/modules.py", line 89, in
class ResBlock1(nn.Module):
File "/root/miniconda3/lib/python3.8/site-packages/vocos/modules.py", line 109, in ResBlock1
dilation: tuple[int] = (1, 3, 5),
TypeError: 'type' object is not subscriptable
通过这个错误提示，我有点懵，不知道咋解，求助下。谢谢。

python必须要大于3.8，我升级到3.10就好了。哎...


[IGNORE] Upgrade tanstack/react-query to v5

Description

Upgrading  tanstack/react-query to v5. Biggest change for us is the removal of callbacks onError. More details: https://tkdodo.eu/blog/breaking-react-querys-api-on-purpose
Screenshots

Checklist

[x] Pull request has a descriptive title and context useful to a reviewer.
[x] Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
[x] All commits have DCO signoffs.

UI Changes

[x] Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
[x] Code follows the UI guidelines.
[x] Visual tests are stable and unlikely to be flaky.
See Storybook
and e2e docs for more details. Common issues
include:

Is the data inconsistent? You need to mock API requests.
Does the time change? You need to use consistent time values or mock time utilities.
Does it have loading states? You need to wait for loading to complete.

Strange, the major broke something somewhere ... I thought it would be an easy upgrade, but it will probably need more time 😞


error copying largish file to keybase folder

Just upgraded keybase on windows.  When I tried to copy a 250MB file to my private folder, it failed with 0x800705AA: Insufficient system resource exist to complete the requested service.

my log id: e7d1e4d22802ba523f2ea31c

Cc: @taruti and/or @strib ?

Hi @kristian-meyer -- sorry for the inconvenience.  It looks like we had trouble uploading data fast enough on your network connection, and some weird stuff happened.  Details below, but we are almost ready with an update that won't depend much on your network speed, so soon you shouldn't have problems like this.
That said, I don't quite understand what happened here.    Maybe Explorer got fed up with it taking so long:
2016-10-28T08:02:51.527011 - [DEBU kbfs file.go:58] 1090 Cleanup {{{1} blindspot.101.hdtv-lol.mp4 0x12453980 0x137a2040 0x124698c0 {}}} [tags:DID=tahDjodRwf9N587LY1CNoA]
2016-10-28T08:02:51.527011 - [DEBU kbfs file.go:63] 1091 Removing (Delete) file in cleanup blindspot.101.hdtv-lol.mp4 [tags:DID=tahDjodRwf9N587LY1CNoA]
2016-10-28T08:02:51.527011 - [DEBU kbfs(FBO 051a5c7a) folder_branch_ops.go:2861] 1092 RemoveEntry 0x12550150 blindspot.101.hdtv-lol.mp4 [tags:DID=tahDjodRwf9N587LY1CNoA]

After that the background sync finishes, but the Write still never completes.  Then, KBFS panics because the file was marked as dirty but could never be synced, presumably because that write was still outstanding.  There must be some issue here with what happens when a file is deleted while a write is blocked -- I will make an internal issue for that.
@taruti: does it make sense that Explorer would delete a file while a write is still outstanding?

@strib Yes, it makes sense.

@strib, I'm getting the same 0x800705AA error as OP after cancelling a 200MB xfer (encrypt to kbfs), then immediately trying to transfer it again.  Now I'm unable to xfer (encrypt) large files (result is always the 0x800705AA error), but small files seem to work OK.  Is this condition eventually self-righting or is there something I must do to resync things?
Keybase GUI Version: 1.0.18-20161116112520+95f8303

Hi @boxlor, it's hard to know exactly what's happening without seeing your logs.  The errors on Windows are pretty generic.  If you'd like me to take a look, please do a keybase log send from the keybase command prompt, and let me know the resulting log ID.

@strib: Ooops, sorry - log id is: 421ee974980b1c1de8e1871c

Thanks @boxlor.  Yeah this does look like the same issue, where Windows is deleting a file after it takes too long to transfer, and that ends up triggering a KBFS bug that causes a restart.  It depends on your network connection and CPU when this will happen, but it's not really self-correcting if you're stuck on a bad connection.  I'll make sure to prioritize the internal issue for the bug.  Sorry for the inconvenience.

Thanks @strib for looking into it.


Dev/notes

Hi Qing, Matt and Meng,
I have close the previous pull request, made a new PR :)
I've deleted the NOTES.md, and re-organised the notes in Q&A format in README.md.
Thank you kindly.

Hi @coletto817 ,
I am closing this PR, and opened a new PR (#32) with just the updates to readme; see the description in #32 for more details :bow:


Support for recursively replacing variables

Please see example in tests.
I am not convinced this is the correct way to go about it though.

What's the usecase for this? I get what it's doing, I just can't think of why I'd want to use this.

I was trying to use the tool on this template using this yml which didn't work as expected. This is an ansible template which uses Jinja2 with support for recursive evaluation.

I'm going to probably pull this in later. Do you have a preference on it being a CLI argument? To be, it seems like we could just allow this behavior all the time. I don't see any real cases where this would cause an issue unexpectedly.

I'd vote to have it available all the time, i.e. directly integrated in the jinja lib. I've had to implement a similar thing in a python script of mine, whereas I could have just added a recursive=True param to the template.render() call if this had been available.

Hi all, any chance we could merge this?

Bump, this would be great


Why doesnt it run when phone is locked or app is not open

Excellent work, but i just had one issue, why doesnt it work when the app is not open. In other words, I get notifications only when the app is open , and I have to practically wait for the alarm. Please give me a suggestion.

same issue couldnt seem to understand why

i have also same question
Excellent work, but i just had one issue, why doesnt it work when the app is not open. In other words, I get notifications only when the app is open , and I have to practically wait for the alarm. Please give me a suggestion.

I had the same problem. I already solved it by Using AlarmReceiver.
public class AlarmReceiver extends BroadcastReceiver {
private static final String TAG = "AlarmReceiver";
@Override
public void onReceive(Context context, Intent intent) {
    // This is where you will handle the alarm event
    Log.d(TAG, "Alarm triggered!");
}

}


docs(Usage): add instructions for semantic-css

Added instruction for include styles from semantic-ui-css

Codecov Report

Merging #1549 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1549   +/-   ##
=======================================
  Coverage   99.74%   99.74%
=======================================
  Files         141      141
  Lines        2381     2381
=======================================
  Hits         2375     2375
  Misses          6        6

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 bf09457...efeb775. Read the comment docs.

Ideally, I think we should also show <link> tag usage as importing CSS is not native functionality but unique to bundlers.
This is a step in the right direction so we'll merge this for now.  Thanks!

Released in<EMAIL_ADDRESS>


Out Of Memory Exception

Hi,
I'm running your docker image on a fresh server and after about 2 hours of gameplay (vanilla, just a little base), the server keeps crashing. Found this in my logs:
2022-02-13 14:50:18.426 - Thread:  27 ->  Exception occurred: Sandbox.MyInitializer+MyOutOfMemoryException: Game is at critically low memory
2022-02-13 14:50:18.427 - Thread:  27 ->  Exception source:
2022-02-13 14:50:18.429 - Thread:  27 ->  U3lzdGVtLk91dE9mTWVtb3J5RXhjZXB0aW9uOiBBcnJheSBkaW1lbnNpb25zIGV4Y2VlZGVkIHN1cHBvcnRlZCByYW5nZS4NCiAgIGF0IFN5c3RlbS5OZXQuU2VjdXJpdHkuU3NsU3RhdGUuQ2hlY2tUaHJvdyhCb29sZWFuIGF1dGhTdWNjZXNzQ2hlY2ssIEJvb2xlYW4gc2h1dGRvd25DaGVjaykNCiAgIGF0IFN5c3RlbS5OZXQuU2VjdXJpdHkuU3NsU3RhdGUuZ2V0X1NlY3VyZVN0cmVhbSgpDQogICBhdCBTeXN0ZW0uTmV0LlRsc1N0cmVhbS5SZXN1bWVJTyhCdWZmZXJBc3luY1Jlc3VsdCBidWZmZXJSZXN1bHQpDQogICBhdCBTeXN0ZW0uTmV0LlRsc1N0cmVhbS5SZXN1bWVJT1dvcmtlcihPYmplY3QgcmVzdWx0KQ0KICAgYXQgU3lzdGVtLk5ldC5UbHNTdHJlYW0uV2FrZXVwUGVuZGluZ0lPKElBc3luY1Jlc3VsdCBhcikNCiAgIGF0IFN5c3RlbS5OZXQuTGF6eUFzeW5jUmVzdWx0LkNvbXBsZXRlKEludFB0ciB1c2VyVG9rZW4pDQogICBhdCBTeXN0ZW0uTmV0LkxhenlBc3luY1Jlc3VsdC5Qcm90ZWN0ZWRJbnZva2VDYWxsYmFjayhPYmplY3QgcmVzdWx0LCBJbnRQdHIgdXNlclRva2VuKQ0KICAgYXQgU3lzdGVtLk5ldC5TZWN1cml0eS5Tc2xTdGF0ZS5GaW5pc2hIYW5kc2hha2UoRXhjZXB0aW9uIGUsIEFzeW5jUHJvdG9jb2xSZXF1ZXN0IGFzeW5jUmVxdWVzdCkNCiAgIGF0IFN5c3RlbS5OZXQuU2VjdXJpdHkuU3NsU3RhdGUuUGFydGlhbEZyYW1lQ2FsbGJhY2soQXN5bmNQcm90b2NvbFJlcXVlc3QgYXN5bmNSZXF1ZXN0KQ0KICAgYXQgU3lzdGVtLk5ldC5Bc3luY1Byb3RvY29sUmVxdWVzdC5Db21wbGV0ZVJlcXVlc3QoSW50MzIgcmVzdWx0KQ0KICAgYXQgU3lzdGVtLk5ldC5GaXhlZFNpemVSZWFkZXIuQ2hlY2tDb21wbGV0aW9uQmVmb3JlTmV4dFJlYWQoSW50MzIgYnl0ZXMpDQogICBhdCBTeXN0ZW0uTmV0LkZpeGVkU2l6ZVJlYWRlci5SZWFkQ2FsbGJhY2soSUFzeW5jUmVzdWx0IHRyYW5zcG9ydFJlc3VsdCkNCiAgIGF0IFN5c3RlbS5OZXQuTGF6eUFzeW5jUmVzdWx0LkNvbXBsZXRlKEludFB0ciB1c2VyVG9rZW4pDQogICBhdCBTeXN0ZW0uVGhyZWFkaW5nLkV4ZWN1dGlvbkNvbnRleHQuUnVuSW50ZXJuYWwoRXhlY3V0aW9uQ29udGV4dCBleGVjdXRpb25Db250ZXh0LCBDb250ZXh0Q2FsbGJhY2sgY2FsbGJhY2ssIE9iamVjdCBzdGF0ZSwgQm9vbGVhbiBwcmVzZXJ2ZVN5bmNDdHgpDQogICBhdCBTeXN0ZW0uVGhyZWFkaW5nLkV4ZWN1dGlvbkNvbnRleHQuUnVuKEV4ZWN1dGlvbkNvbnRleHQgZXhlY3V0aW9uQ29udGV4dCwgQ29udGV4dENhbGxiYWNrIGNhbGxiYWNrLCBPYmplY3Qgc3RhdGUsIEJvb2xlYW4gcHJlc2VydmVTeW5jQ3R4KQ0KICAgYXQgU3lzdGVtLlRocmVhZGluZy5FeGVjdXRpb25Db250ZXh0LlJ1bihFeGVjdXRpb25Db250ZXh0IGV4ZWN1dGlvbkNvbnRleHQsIENvbnRleHRDYWxsYmFjayBjYWxsYmFjaywgT2JqZWN0IHN0YXRlKQ0KICAgYXQgU3lzdGVtLk5ldC5Db250ZXh0QXdhcmVSZXN1bHQuQ29tcGxldGUoSW50UHRyIHVzZXJUb2tlbikNCiAgIGF0IFN5c3RlbS5OZXQuTGF6eUFzeW5jUmVzdWx0LlByb3RlY3RlZEludm9rZUNhbGxiYWNrKE9iamVjdCByZXN1bHQsIEludFB0ciB1c2VyVG9rZW4pDQogICBhdCBTeXN0ZW0uTmV0LlNvY2tldHMuQmFzZU92ZXJsYXBwZWRBc3luY1Jlc3VsdC5Db21wbGV0aW9uUG9ydENhbGxiYWNrKFVJbnQzMiBlcnJvckNvZGUsIFVJbnQzMiBudW1CeXRlcywgTmF0aXZlT3ZlcmxhcHBlZCogbmF0aXZlT3ZlcmxhcHBlZCkNCiAgIGF0IFN5c3RlbS5UaHJlYWRpbmcuX0lPQ29tcGxldGlvbkNhbGxiYWNrLlBlcmZvcm1JT0NvbXBsZXRpb25DYWxsYmFjayhVSW50MzIgZXJyb3JDb2RlLCBVSW50MzIgbnVtQnl0ZXMsIE5hdGl2ZU92ZXJsYXBwZWQqIHBPVkVSTEFQKQ==
2022-02-13 14:50:18.429 - Thread:  27 ->  Showing message
2022-02-13 14:50:20.090 - Thread:   1 ->  GC Memory: 4396.962 / 4396.962 MB
2022-02-13 14:50:27.278 - Thread:  27 ->
================================== CRASH INFO ==================================
AppVersion: 01_200_027
GameName: Space Engineers
IsOutOfMemory: True
IsGPU: False
IsNative: False
IsTask: False
IsExperimental: True
ProcessRunTime: 692
PCUCount: 11676
IsHang: False
GCMemory: 4397
GCMemoryAllocated: 4397
HWAvailableMemory: 0
ProcessPrivateMemory: 6155
AnalyticId: SEDS
How to increase memory allocation? I have 17GB of free memory available when the server crashes.
Had this with vanilla and non-experimental, did not find the errorlog, so I tried to switch to experimental, but same crash. Finally found the error above.
Thank you for your effort on this image!

Never seen this before. Not sure what's up.
That super long string of letters and numbers that ends with a == is base64 encoded data. I ran it through a decoder on a whim and this is the result:
System.OutOfMemoryException: Array dimensions exceeded supported range.
   at System.Net.Security.SslState.CheckThrow(Boolean authSuccessCheck, Boolean shutdownCheck)
   at System.Net.Security.SslState.get_SecureStream()
   at System.Net.TlsStream.ResumeIO(BufferAsyncResult bufferResult)
   at System.Net.TlsStream.ResumeIOWorker(Object result)
   at System.Net.TlsStream.WakeupPendingIO(IAsyncResult ar)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   at System.Net.Security.SslState.FinishHandshake(Exception e, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
   at System.Net.AsyncProtocolRequest.CompleteRequest(Int32 result)
   at System.Net.FixedSizeReader.CheckCompletionBeforeNextRead(Int32 bytes)
   at System.Net.FixedSizeReader.ReadCallback(IAsyncResult transportResult)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.ContextAwareResult.Complete(IntPtr userToken)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)

Interesting, but I still don't have any answers.

Reading the discord, some of the others found out that a keenswh ssl cert is expired. Wonder if this is related? Reading through the decoded error, it does have something to do with network requests not completing and then piling up until it reaches some threshold and then crashes.
If you really wanted to find out what's going on, you could hook up something to capture the http requests, they might give us some insight into what it keeps doing before crashing.
Example here
https://askubuntu.com/questions/252179/how-to-inspect-outgoing-http-requests-of-a-single-application
Or, assuming it's the ssl cert causing the error, just set it to reboot every hour and a half (i know it sucks) until they fix the cert. If this is the case, it could very well stop happening in a few days.

Ah, yes. I changed /etc/hosts and redirected the host:
<IP_ADDRESS> gate195.keenswh.com
since then, the server keeps running.


Added property cleaning to tag relations on pages + posts

refs https://github.com/TryGhost/Ghost/pull/15375

we currently pass all properties for the tags property of a page/post body down further into Ghost, which is causing issues because it's handling properties it doesn't expect
this is showing up because it's triggering save history events for tags when a post is edited
this commit introduces a clean util which has an allowlist of properties allows on tag relations
this list was taken from the schema: https://github.com/TryGhost/SDK/blob/128f8fb006ca0846cad4f3702a538998f834ee2a/packages/admin-api-schema/lib/schemas/posts.json#L214-L227

OK so technically we should pass through all attributes for a tag, as the API effectively supports creating a tag at the same time as adding/editing a post.
However, I'm happy to apply this restriction for now and see if anyone complains that the functionality breaks. If they do, we should expand the list to all fields as a high priority fix, because we have introduced a breaking change. If they don't, we are in a better position in terms of locking down our API.


Add CI/CD pipeline

Implemented in staging 76eea3ef8615adcd73d73dc26b1ed848970b2fac need to merge into master

Implemented in staging 76eea3ef8615adcd73d73dc26b1ed848970b2fac need to merge into master

Currently isnt deploying properly for master branch, as the old cluster cannot handle deploying a staging and production environment without expending all it's resources.

Migrate to GitHub actions?


supported the generate code, reduce the refactor code

Describe the feature

supported the generate code, reduce the refactor code
Motivation
sample
func (d *DO) Updates(value interface{}) (info ResultInfo, err error)

to
func (d *DO) Updates(value *User) (info ResultInfo, err error)

Related Issues

Updates accepts map var as param, so it cannot be refactor


Use gauges not histograms

Is your feature request related to a problem? Please describe.
Prometheus Histograms are confusing. User's don't understand them. A quick google search turns up articles like "Hisograms with Prometheus: A Tale of Woe" and more importantly, we have confused customers that reach out to us in Pollenators about them as well as customers that open up issues based in part on misinterpretations of them.
Additionally, we have failed to understand them in the past which resulted in #115. Trying to fix our very broken Prometheus histograms is non-trivial because Refinery's internal metrics interface doesn't allow different settings per metric and even if it did it's unclear we could find a good value that works across the variety of traffic and host configurations that our customers run Refinery in.
Describe the solution you'd like
Rather than continue to leverage Prometheus histograms which are confusing to our customers and difficult to properly configure we should remove histograms altogether and use gauges instead.
Currently, the Honeycomb metrics reporter reports every 1s which seems granular enough that switching to a gauge wouldn't impact operability. We would want to recommend that Prometheus users scrape between every 1 and 10 seconds to ensure they get the right level of granularity.

Some good conversation about this proposal here - https://honeycombpollinators.slack.com/archives/C01BZ3J7RMJ/p1637596828141500

I've been noodling on this for a while; while I think there are some metrics (like queue lengths) that might be acceptable as gauges, the nice property of histograms is that they capture extreme values. In my ideal world, we'd use different buckets for the different histograms -- but for now, the ones we have are acceptable, and with the impending arrival of exponential histograms to an otel near you (sometime in the next few months, anyway), I would prefer to leave these alone, and convert to exponential histograms someday.


Check for invalid characters in directory/file creation

While creating a folder or a file the user could input the character "/", an emoji, or something else that may not actually create the directory or cause an error.

Emojis are valid


Install phantomjs in Docker container

The phantomjs utility is required by https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/alarm_control_panel/alarmdotcom.py#L19, which is used by the Alarm.com alarm component. This PR adds ./script/install_phantomjs and adds it to script/setup_docker_prereqs.

This is quite a large dependency. Isn't there a better way, like only installing on demand (when the alarm.com component is actually used?)

Is there a reason that that size is a dimension of particular importance? The phantomjs binary added by this PR increases the Docker image by 65 Mb, which is a 5% size increase when considering the total size of the Docker image.
I'd be fully in support of an approach that allows one to opt-in to specific system dependencies, as I don't use openzwave, libcec, or ffmpeg and pay the cost of their installation frequently. How might you imagine this optional system dependency system working? Should we discuss that in another issue, or do you feel that is a requirement for adding this dependency?

This is quite a large dependency. Isn't there a better way

The underlying library is using phantomjs to submit a login form and check for elements on a page - is a fully-featured headless web client really necessary for that?  Couldn't that be done with the requests library and some HTML-parsing?
IMO, Including phantomjs within Docker would be a no-brainer if multiple components needed it and were taking advantage of it.  But if only one component uses it, and that component could easily use something else instead, I wonder if it would be better to refactor that component.

Of course, if phantomjs is truly needed to interface with Alarm.com, then I'd vote to include it in Docker.

I would also suggest for the library to be refactored and use requests. This will make it much smaller (and faster!). It seems strange to start up a complete selenium instance to do some web scraping.

Thanks for the feedback, everyone. Refactoring the alarm.com component to use a more lightweight approach does seem like a nice idea, but I'm not entirely sure if it is possible at the moment. I can't find a reference implementation that clearly sets alarm state without the use of a browser after some searching, and my investigations using the Chrome developer tools indicate show things called "PublicKeyTokens" and  "ViewState" being passed around when making requests. To me, it appears that there was an intentional design decision made to make it hard to interact with Alarm.com using something other than a browser.
As it stands, phantomjs is needed to interface with Alarm.com. Given that, I'd argue in favor of adding this dependency for now and removing it later alongside a refactored module if myself or anyone else is able to make progress there. But I totally understand if ya'll disagree: I'll keep running my Home Assistant install on my divergent branch until I have the time to refactor this component.

The implementation used by https://github.com/bryanbartow/homebridge-alarm.com looks very promising.  If you click the various links under the "WrapAPI Calls" section you can see they reverse-engineered the HTTP calls needed (example).  If the library could use Python requests to make those same types of calls that should work.
In the meantime, I agree with you @jnewland, we could include phantomjs for now and remove it if/when the library switches to a light-weight approach.

aiohttp work like request but run async inside core :)

@colinodell interestingly, I reached a totally different conclusion from looking at the same code! I interpreted the fact that https://github.com/bryanbartow/homebridge-alarm.com passes Alarm.com credentials to a 3rd party (😱) as a signal that it may be hard to implement the same functionality natively 😉.

In the meantime, I agree with you @jnewland, we could include phantomjs for now and remove it if/when the library switches to a light-weight approach.

👍 thanks for your support here.

I'm down to add it to the Docker too as for now we've been adding all the packages needed to run components.
If we want/can do a different approach, that's up for another PR.


Workshop Creation - WMS ID: 11252

Add here your WMS ID
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[ X] All filenames are lower case (including folders, images, files, etc.)
[ X] Filenames are descriptive
[X ] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[X ] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[ X] Image references in markdown contain an alternate text

Please also update this branch, as it is out of date with the base branch.

updated name to live-labs-v3.zip

live-labs-v3.zip

Thanks for removing the .zip. I see that the branch is still out of date though. Please update with base and we can approve the request.

Branch updated.

Sorry, one more file with capitalized letters.

Rename 43-SQL-open.png to 43-sql-open.png


Option to skip build

Even if I add ***NO_CI*** to the commit title or message a build is always triggered. Isn't this supposed to work on Azure Pipelines?

Hi @josesimoes.  Thanks for asking.  Are you trying this with a GitHub repository?  If so, this doesn't yet work for GitHub repositories, but we're adding the capability right now.

Yes that's from a GitHub repo. Please do add this, it's a must have!!

Also I believe the unwritten standard that other ci services honour is [skip ci]
https://docs.travis-ci.com/user/customizing-the-build/#skipping-a-build
https://circleci.com/docs/2.0/skip-build/
https://documentation.codeship.com/general/projects/skipping-builds/#skipping-via-commit-message

This has now been implemented:
https://docs.microsoft.com/en-us/azure/devops/release-notes/2019/sprint-148-update#skip-continuous-integration-ci-for-a-commit

@DavidStaheli has this actually been rolled out?
A commit from a Github repository made yesterday with the message chore(release): update changelog [skip ci] still ran in it's entirety.
The linked change log is dated Feb 25, hence my confusion. If it literally only rolled out 4 hours ago in line with your comment above I'll give it another try.

Hi @brad-jones.  Sorry for the confusion.  There is still 1 of our deployment rings that hasn't received the update yet.  That update is scheduled for tomorrow (Monday).


OSX Terminal stops working

Expected Behavior
Bot should work 24/7
Actual Behavior
Bot turns off action after 1hour - up to 3 hours.
Im running OSX ElCaptn and the dev version works just fine. The Issue i've got: my terminal stop working after certain amount of time. (like its sleeping)
i've alrdy tried the script to restart when crashing but it doesnt crash at all - theres just no action taking place anymore. any fixes
Steps to Reproduce
Other Information
OS: El Captitan
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)

Can you post the terminal output?

i aint got a n output but the last msg was this one:
[19:34:34] Moving towards fort 01bd3441ba454bc6827d2824116a6cac.16, 0.05km left
Then the client "fell kinda asleep"

use caffeine and no sleep together to fix this

my mac didnt turn on any kind of sleep mode.

try does both programs together Iam sure they will fix it to 99%

is there any timer who sets terminal into sleep mode?

its the display or hdd I guess and yes even when you turn off all energy saving settings it will stop, i got the same error and fix it with those both programs

Try updating in project directory.
git pull
Or try changing step distance in config.json

@TheRealJoeSmoe on which value?
thx in adv

Modify the pokecli.py file to be an executable:
chmod 774 pokecli.py
Run nohup
nohup ./pokecli.py &

The output will be put into a file called nohup.out.
If you want to stop the program later, use jobs command to find the correct job number, followed by kill %1 where the correct job number will be in place of the 1

come to slack chat #help and someone can help you
NOT A BUG


fix reading eeglab events if there is only one event in file

Hey there,
I've just had a TypeError with the eeglab event reader with a file that contains only one event. In such case the list comprehension that gathers event types fails because 'mat_struct' object is not iterable.
This small change fixes the problem.
This is my first PR to mne-python so please be merciful :) If I messed something up I'll be happy to clean up, add something etc.
And just BTW - thanks for your efforts with mne-python, really cool package!

I will review once I'm back at a computer.
Do you have a test ready?

I was thinking about a test - should I upload an eeglab file with, for example one timesample and one event? Or is it better to modify (for example - programmatically) one of the files you already have?

Better to modify programmatically to keep data download sizes small

Coverage decreased (-0.1%) to 90.695% when pulling 4d42379a19d14aa62113717032f63d636f3b646d on mmagnuski:eeglab_reader_fix into 80fadbc7d5e586d90a14cc60ae82b602eee04dd5 on mne-tools:master.

Ok, I'll figure out a way to test it, I just now have problem with nose (not my nose though ;)) and I seem not to be able to upload it well because a python thread is running (should finish in a few hours).

Coverage decreased (-0.1%) to 90.712% when pulling 2b66c05eb590d36d149070f62b0eb9becb71ccae on mmagnuski:eeglab_reader_fix into 80fadbc7d5e586d90a14cc60ae82b602eee04dd5 on mne-tools:master.

LGTM
but it's even better with a test

I have a test that I didn't test yet (I have temporary problems with nose and it seems I need to wait for a python thread that is still running to stop) - I'll push it here, so you can say whether it is ok.

Coverage decreased (-10.5%) to 80.291% when pulling e0394d66555f574e2f27c5e943d1ebc38aef68ee on mmagnuski:eeglab_reader_fix into 80fadbc7d5e586d90a14cc60ae82b602eee04dd5 on mne-tools:master.

Coverage decreased (-0.02%) to 90.807% when pulling a043cbee9474d0fd2f87dd112a07a3ad32f32afa on mmagnuski:eeglab_reader_fix into 80fadbc7d5e586d90a14cc60ae82b602eee04dd5 on mne-tools:master.

Coverage decreased (-0.0006%) to 90.823% when pulling a043cbee9474d0fd2f87dd112a07a3ad32f32afa on mmagnuski:eeglab_reader_fix into 80fadbc7d5e586d90a14cc60ae82b602eee04dd5 on mne-tools:master.

LGTM, ready from your end @mmagnuski ?

LGTM as well. Tests are really nice @mmagnuski !

Yes, ready to merge :rocket:
Thanks for your help and guidance!

Thanks @mmagnuski


Duplicate the select entities as sensor entities

When adding state from the select to my dashboard, it pulls it in as a dropdown (which is obviously default behaviour). However, there doesn't seem to be a clear-cut way to have it render state as text in the same manner as a sensor...
...unless I'm missing something blatantly obvious.

Originally posted by @TheKamakaZi in https://github.com/rowysock/home-assistant-HomeWhiz/issues/79#issuecomment-1366866977

@TechHummel what do you think about this?

Good question. I would like to first have a look at ENUM and see how this will fit in!

ENUM entity class from the #37 I think will only display all possible options in the automation, so it's not really related to this issue. I think what @TheKamakaZi wrote about is that most of the time users want to see the info from the washing machine as read-only entities. In the original app, the controls for custom programs are separate from the display of the current state.
The only problem I see is that if we duplicate the sensor and select entities the number of entities for washing machines would be around 40

Would using the template integration be an option here or is this too complicated?

I came up with one additional argument for duplicating entities:
If the user changes the value from A to B with the select entity, but the device was unable to change the value. HA will show value B, while the device will report value A. This can happen very easily, as not every state change is possible every time. There are limitations, that are not implemented in the integration (yet?). E.g To change the temperature, the Remote Control has to be enabled.
When I developed the AC integration and the device is located 500km away, having a duplicate sensor and select entities allowed me to verify easily if the select value change was really applied

Hi @rowysock,
Something just occurred to me in terms of real world usage of washing machines.
This makes me think that starting a wash cycle should be, above all else, a service with parameters that's called instead of individual enums, with sensors then reporting current state.
Does that make sense?

Hi @TheKamakaZi
I like the idea. I thought about it but dismissed it as I thought that HA services are very limited. But now I see that invoking a service from the automation allows specifying all of the parameters with suggestions etc.
Question 1 is: what about devices other than washing machines? AC for example should be controlled by selects and switches.
Question 2: What about the device state? The user should be able to pause the washing machine even when it is running

But there's a problem.
Currently, we create entities dynamically, based on what is present in the config downloaded from the API. Even similar devices can have different configs. For example, my washing machine has different, incompatible options than the @TechHummel washing machine.
Services require static description in the yaml file: https://developers.home-assistant.io/docs/dev_101_services/#service-descriptions. It's not practically possible to create a service with a static description for each and every device that is supported. We don't even know what devices are supported and what are the possible configurations

Hey @rowysock
Thinking about this more and more, I hear you on trying to please everyone. The best possible outcome would have to be based on the lowest common dominator of options between all devices, which would basically nullify what you're trying to accomplish here.
I'm going to do some investigation on how other integrations handle this conundrum, and get back to you. Hopefully, there's a good middle ground to be found.

Interesting thought for sure! But I also believe this is going to be difficult. My washing machine only supports certain combinations of programs - e.g., an eco cycle does not allow features such as steam - so a good error handling would be required too!

having a duplicate sensor and select entities allowed me to verify easily if the select value change was really applied

That's a strong argument! Having ~40 entities is not nice, but I don't think this should be a problem as the sensors and select entities are not changing frequently. I'm sure that my temperature sensor with 0.01 °C resolution does generate more data than a homewhiz device. 😄

I'd vote in favour of bringing back the sensor as duplicates. My machine almost only provides select entities. I was about to create sensor templates but if you decide to bring them back I'd really appreciate it :D

Hi! I just integrated a smart dishwasher into HA. The "select" entity representing the dishwasher's state is a bit strange because it doesn't update on state change. The other select entities need to be duplicated to show the option reported by the machine.  I read this thread earlier and think that at least the state should be a sensor, not a select.

Thanks for your feedback! This is being worked on right now #100 😄

Thanks for your feedback! This is being worked on right now #100 😄

Are there any updates on this issue? I saw that the commit is verified but there is no new update to the integration. Anyway, thanks for the support!

Not yet! I usually leave merging of branches to @rowysock  but he seems to be busy right now. I also don't think I have the permissions to create a new tag! So I think we need some patience and maybe should consider recruiting a 3rd developer too...

@TechHummel You have my full trust, Tell me what kind of permission you need and where to configure it, to avoid a similar problem of me blocking the progress in the future

Thanks for that and welcome back 👋
I can merge pull requests all by myself now, but I am unable to create new tags yet 😢

@TechHummel can you try to create a tag now?

@rowysock Still doesn't offer me to create tags 😢

@rowysock I am also not able to merge pull requests by myself. Pull requests need an approval, and I am not able to approve my own pull requests 😞

@TechHummel I've temporarily added my work account as a collaborator in this repo and I had access to create tags and releases. You should be able to create tags and releases too.
As for the PRs, please just mention me in the comment and I will merge them.
I cannot find how to grant you more permission. I think repositories linked to personal account instead of organizations are very limited in that regard


Transfer repository to Mercury Technologies

Hey @chessai, you should be able to transfer ownership now.

I tried, I get an error saying that MercuryTechnologies already has a repository in the chessai/moat network, and that I don't have permission to create repositories in MercuryTechnologies.

I was hoping just renaming it would work. I'll all of our changes into this repo and ping you when I am done.

Okay, to streamline this. Just transfer it to @chiroptical and I'll transfer it to Mercury when everything is done. No reason to bother you will all this activity.

@chessai just bumping this. I deleted my fork

Repository transfer to chiroptical requested

Perfect. Thanks!


"Teleport canceled because you have moved" message after teleport

I get message "Teleport canceled because you have moved" after I get teleported to spawn (after using /spawn command).
Expected behavior: Getting "Teleport canceled because you have moved" message only when teleport gets canceled because player moved during countdown.
Here is the image of what happens:

@TectHost Any news?


trufflehog: 3.84.1 -> 3.84.2

Diff: https://github.com/trufflesecurity/trufflehog/compare/refs/tags/v3.84.1...v3.84.2
Changelog: https://github.com/trufflesecurity/trufflehog/releases/tag/v3.84.2

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 361777

x86_64-linux

:white_check_mark: 1 package built:

trufflehog


Autofocus filter input when entering skills page

Oh! It was simple! MudTextField supports AutoFocus. If it is true the input will focus automatically.


BUG: fix len for interactive exprs that wrap sql

compute for the sqlbackend would return a select. the len machinery would then try to coerce this into an int and fail with a type error.

@llllllllll Merge when ready

I only needed to resolve the whatsnew but I rebased so I will let this pass before merging.

cool


RecordsQuery reply

Right now I'm not processing the message, but I probs should

Going to go ahead and merge this... because I'm thinking of an entirely different developer experience here.


Error on executing Mongo docker-compose generated by the orchestrator

I am facing problems on executing the docker-compose done by the orchestrator:
debian@debian:/cloudOptingData/csi-MongoC4C$ docker-compose -f docker-compose.yml up
ERROR: Validation failed in file './docker-compose.yml', reason(s):
Service 'MongoC4C_DC' configuration key 'volumes' '0' contains an invalid type, it should be a string
Service 'MongoC4C_DC' configuration key 'ports' value ['27017:27017', '27017:27017'] has non-unique elements

In the docker-compose.yml we can see that the ports are duplicated, and if no volumes are defined it appears with an empty value that makes it fail:
MongoC4C_DC:
  image: cloudopting/csi_mongoc4c_dc

  ports:
   - "27017:27017"
   - "27017:27017"
  log_driver: "fluentd"
  log_opt:
    fluentd-address: "<IP_ADDRESS>:4044"
    labels: eu.cloudopting.log

  volumes:
    -
MongoC4C_DC:
  image: cloudopting/csi_mongoc4c_dc

  ports:
   - "27017:27017"
   - "27017:27017"
  log_driver: "fluentd"
  log_opt:
    fluentd-address: "<IP_ADDRESS>:4044"
    labels: eu.cloudopting.log

  volumes:
    -

For the duplicated ports you need to check the file if you have the info duplicated.
For volumes the thing is tricky:
in the IDE the angularjs-form component create an empty array even if we do not write anything in the array fields.
So for volumes we need to "remove" the array element in the IDE so that the property will be considered null and not empty.
Doing this (and you have to do it each time you save the "docker" node) in the XML and the orchestrator you correctly find no volumes and the checks see that there are no elements..
Let me know on the ports if there is something in your TOSCA duplicated or there could be a real bug in the orchestrator (never occurred to me)

Close it because it is old. I will reopen it if the error persists.


feature: set in event "Title" - "date start - date end" If "Title" is empty (in view Month)

Is your feature request related to a problem? Please describe.
Right now if event "Title" is empty it will look like this:

Describe the solution you'd like
Set in event "Title" - "date start - date end" If Title is empty (in view Month)
Like in the picture bellow:

Additional context
If I will use custom event "Title" (date start - date end) in "Week" or "Day" view it will look like in picture bellow, Time duplicated:

it's a nice idea as improvement

Thanks @rassimjhan for opening this.
I'm thinking of aligning with the Google Calendar behavior for this. There, the start time is displayed unless it's a full day event. And when there is no title, there is a placeholder saying "(No title)". Will mark this as v2, since it will mean a breaking change the UI of month view and the date grid of week views.

Thanks @rassimjhan for opening this.
I'm thinking of aligning with the Google Calendar behavior for this. There, the start time is displayed unless it's a full day event. And when there is no title, there is a placeholder saying "(No title)". Will mark this as v2, since it will mean a breaking change the UI of month view and the date grid of week views.

@tomosterlund could you also add props or something in situations If "title" doesn't need? E.g. :show-title="false"

@rassimjhan You can still reuse all the HTML structures and classes from the default event, but you have to code them into your custom event. Would this solve your problem?
About the suggested show-title config option: The title is optional so it doesn't need to be hidden, you can just skip entering a title. If this is still only a problem in the date-grid or month-grid, then I do get the problem though. There, the title is still optional, but no time is displayed if you leave it out.
Anyhow, let me know if the first suggestion above solves your problem (using similar HTML and the same styles as the default events)

In v2, which will be released soon, the start time of an event will also be displayed in month view.
In case there is no time and no title, there will still not be any content in the default event. However, there is now the _customContent.monthGrid with which one can customize the content of the default month event


network bond on bare metal tectonic

Hello,
We have 10 BareMetal servers for Tectonic Setup, the distribution is:
1 server for Matchbox
3 controllers
6 workers
Each server has 4 NICs which we are trying to bond to a single bonded interface.
Is there a way to setup bonded NICs in Tectonic?
Our approach regarding bonding on Tectonic is:

Install CoreOS without machbox on all 9 machines with a custom Ignition config where all 9 servers are in the same etcd cluster.
Run Tectonic Installer on laptop and download assets.zip file
Upload assets.zip to one of the CoreOS Controllers
Run bootkube to start tectonic on all 9 servers

We have deployed bonded interfaces in CoreOS as below:
https://coreos.com/ignition/docs/latest/network-configuration.html#bonded-nics
{
  "ignition": { "version": "2.0.0" },
  "networkd": {
    "units": [
      {
        "name": "00-eth.network",
        "contents": "[Match]\nName=eth*\n\n[Network]\nBond=bond0"
      },
      {
        "name": "10-bond0.netdev",
        "contents": "[NetDev]\nName=bond0\nKind=bond"
      },
      {
        "name": "20-bond0.network",
        "contents": "[Match]\nName=bond0\n\n[Network]\nDHCP=true"
      }
    ]
  }
}

Thank you,
Alex

One can change the yaml.tmpl files and add:
networkd:
  units:
   - name: 10-int.network
     contents: |
       [Match]
       Name=enp*
       [Network]
       Bond=bond0
       LinkLocalAddressing=no
       IPv6AcceptRA=no
   - name: 20-bond0.netdev
     contents: |
       [NetDev]
       Name=bond0
       Kind=bond
       [Bond]
       Mode=balance-rr
       MIIMonitorSec=1
   - name: 30-bond0.network
     contents: |
       [Match]
       Name=bond0
       [Network]
       DHCP=true

Hey @sorinel, thanks for the question. I've looped in @dghubble here, who can help! He can get back to you in a few days.

For those using matchbox, you could edit the controller and worker Container Linux Configs in /var/lib/matchbox and add networkd units similar to what @dragoschiplink showed.  You can add templating elements if your machines are not homogeneous. Network examples are here and matchbox examples show complete Container Linux Configs for popular clusters.
Writing raw Ignition JSON by hand for each machine isn't recommended, but you could look at the configs created by the Tectonic Installer, edit them and use the ct tool, and provide them to each machine.

Hello @dghubble , @dragoschiplink , @mfburnett !
Thanks for the help 👍  I've got tectonic running on bond interfaces now :)
Below are the modifications manually made to /var/lib/matchbox:

Added to networkd block to the yaml templates below:

   /var/lib/matchbox/tectonic-worker.yaml.tmpl
   /var/lib/matchbox/tectonic-controller.yaml.tmpl

core@matchbox /var/lib/matchbox/ignition $ cat tectonic-worker.yaml.tmpl
---
networkd:
  units:
   - name: 10-int.network
     contents: |
       [Match]
       Name=enp*
       [Network]
       Bond=bond0
       LinkLocalAddressing=no
       IPv6AcceptRA=no
   - name: 20-bond0.netdev
     contents: |
       [NetDev]
       Name=bond0
       Kind=bond
       [Bond]
       Mode=balance-rr
       MIIMonitorSec=1
   - name: 30-bond0.network
     contents: |
       [Match]
       Name=bond0
       [Network]
       DNS=<IP_ADDRESS>
       Address={{.bond0_IP}}/24
       Gateway=<IP_ADDRESS>

systemd:
  units:
    - name: etcd-member.service
...............

core@ceph-node01 /var/lib/matchbox/ignition $ cat tectonic-controller.yaml.tmpl
---
networkd:
  units:
   - name: 10-int.network
     contents: |
       [Match]
       Name=enp*
       [Network]
       Bond=bond0
       LinkLocalAddressing=no
       IPv6AcceptRA=no
   - name: 20-bond0.netdev
     contents: |
       [NetDev]
       Name=bond0
       Kind=bond
       [Bond]
       Mode=balance-rr
       MIIMonitorSec=1
   - name: 30-bond0.network
     contents: |
       [Match]
       Name=bond0
       [Network]
       DNS=<IP_ADDRESS>
       Address={{.bond0_IP}}/24
       Gateway=<IP_ADDRESS>

systemd:

............

Because we wanted static IP set on the bond interfaces, we set for each node in:
/var/lib/matchbox/groups the IP for bond0:

core@ceph-node01 /var/lib/matchbox/groups $ cat tectonic-node-00-11-22-33-44-55.json  | more
{
        "id": "tectonic-node-00-11-22-33-44-55",
        "profile": "tectonic-worker",
        "selector": {
                "mac": "00:11:22:33:44:55",
                "os": "installed"
        },
        "metadata": {
                "domain_name": "tectonic5.example.com",
                "bond0_IP": "<IP_ADDRESS>",
                "etcd_endpoints": "controller1.example.com:2379,controller2.example.com:2379,controller3.example.com:2379",
                "external_etcd": false,
............

Hello @sorinel,
If you use static IPs, you should modify wait-for-dns.service and change 'while ! /usr/bin/grep '^[^#[:space:]]' /etc/resolv.conf > /dev/null; do sleep 1; done' to something like 'while ! /usr/bin/dig +short quay.io; do sleep 1; done' because /etc/resolv.conf will have something in it before network is ready.
Regards.
Dragos


checking for update shows update-available and no update-available

VSCode Version: 1.9.0
OS Version: windows 10

Steps to Reproduce:
1.check for update
2.vs code shows two messages -

There is an available update.
There are no updates currently available.

@joaomoreno when i check for update issue don't persist


Justin chen update rebalancing artifacts

Pull Request Test Coverage Report for Build 1467

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 1464:
0.0%

Covered Lines:
395

Relevant Lines:
395

💛  - Coveralls


Formatting text in positions and in salesdocument must be possible

One solution could be to implement a wysywig editor on position and product description. Later on these elements can be converted to fop block elements using an approach like this:http://catcode.com/cis97yt/xslfo.html

https://www.reddit.com/r/opensource/comments/8yw7wi/high_quality_xml_to_pdf_converter_xslfo_state_of/


Enabled nullables

This PR is to enable basic nullable support in the project.

Enabled nullable support
Surpressed nullable warnings in cases where we know the param/prop won't be null
Resolved warnings surrounding nullables
Threw exceptions in certain cases if the value is nullable

I have merge first PR, but this second one, and also others, have now conflicts, not sure why.
Have you make them one after another ?

@ChristopherVR actually I see now that you have made separate forks/branches for each commit.
That's now practical because of possible conflict as there are now.
You should have done all on one same fork, just make changes and commits one after another.
If you can't easily resolve conflict maybe to copy code changes to main one and make them as sequential commits.

@borisdj ,
Yeah I realised my mistake afterwards. I have resolved the conflicts on the PRs. If any additional conflicts pop up, let me know in order to resolve them.


Different implementation of regularizer

Pull Request Description
This makes all the tests pass and I think will scale better to larger datasets.
This branch

Target branch

Code to generate test case
import pandas as pd
import numpy as np

def get_df(dates):
    reg_X = pd.DataFrame()

    reg_X["dates"] = dates
    reg_X["ints"] = [int(i) for i in range(len(dates))]
    reg_X["doubles"] = [i / 0.25 ** (i / 100) for i in range(len(dates))]
    reg_X["bools"] = [bool(min(1, i % 3)) for i in range(len(dates))]
    reg_X["cats"] = np.random.choice(
        ["here", "there", "somewhere", "everywhere"], len(dates)
    )

    reg_y = pd.Series([i for i in range(len(dates))])

    return reg_X, reg_y

dates_0 = pd.DatetimeIndex(["1/1/21", "1/3/21", "1/3/21", "1/3/21"])
dates_1 = pd.date_range("1/5/21", periods=8, freq="2D")
dates_2 = pd.DatetimeIndex(["1/19/21"])
dates_3 = pd.date_range("1/27/21", periods=7, freq="2D")
dates_4 = pd.date_range("2/12/21", periods=13, freq="2D")
dates_5 = pd.DatetimeIndex(
    [
        "3/09/21",
        "3/10/21",
        "3/12/21",
        "3/14/21",
        None,
        "3/18/21",
        "3/20/21",
        "3/22/21",
        "3/22/21",
    ]
)
dates_6 = pd.date_range("3/22/21", periods=10, freq="2D")
dates_7 = pd.DatetimeIndex(["4/12/21", "4/14/21"])
dates_8 = pd.date_range("4/15/21", periods=5, freq="2D")
dates_9 = pd.DatetimeIndex(["4/24/21"])
dates_10 = pd.date_range("4/25/21", periods=3, freq="2D")
dates_11 = pd.DatetimeIndex([None, None, None])
dates_12 = pd.date_range("5/5/21", periods=3000, freq="2D")

dates = pd.DatetimeIndex([])
for dates_ in [
    dates_0,
    dates_1,
    dates_2,
    dates_3,
    dates_4,
    dates_5,
    dates_6,
    dates_7,
    dates_8,
    dates_9,
    dates_10,
    dates_11,
    dates_12,
]:
    dates = dates.append(dates_)

X , y = get_df(dates)

After creating the pull request: in order to pass the release_notes_updated check you will need to update the "Future Release" section of docs/source/release_notes.rst to include this pull request by adding :pr:123.

Awesome, will merge!


Fix typo in method name

This corrects the name of the method to be hasConfigurationFileInWorkspace
For #7072

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] ~Has a news entry file (remember to thank yourself!)~
[x] ~Appropriate comments and documentation strings in the code~
[x] ~Has sufficient logging.~
[x] ~Has telemetry for enhancements.~
[x] Unit tests & system/integration tests are added/updated
[x] ~Test plan is updated as appropriate~
[x] ~package-lock.json has been regenerated by running npm install (if dependencies have changed)~
[x] ~The wiki is updated with any design decisions/details.~

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: osule sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi @osule 👋 Thank you for submitting this pull request!
Could you pull master in your branch? Since #6879 got merged there are a few more occurrences of hasConfigrationFileInWorkspace in the code.
I created issue #7072 to track this PR, so remember to add a news file to this PR and thank yourself as well 🙂
Thanks!

Sure @kimadeline
Thanks

Codecov Report

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

@@            Coverage Diff             @@
##           master   #6923       +/-   ##
==========================================
- Coverage   58.37%      0%   -58.38%
==========================================
  Files         483      56      -427
  Lines       21371     529    -20842
  Branches     3451      64     -3387
==========================================
- Hits        12476       0    -12476
+ Misses       8121     529     -7592
+ Partials      774       0      -774

Impacted Files
Coverage Δ

src/client/common/installer/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

...lient/datascience/jupyter/jupyterSelfCertsError.ts
0% <0%> (-100%)
:arrow_down:

src/client/debugger/extension/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

src/client/common/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

src/client/interpreter/locators/services/conda.ts
0% <0%> (-100%)
:arrow_down:

src/client/common/utils/regexp.ts
0% <0%> (-100%)
:arrow_down:

src/client/common/utils/icons.ts
0% <0%> (-100%)
:arrow_down:

src/client/debugger/constants.ts
0% <0%> (-100%)
:arrow_down:

src/client/interpreter/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

src/client/linters/serviceRegistry.ts
0% <0%> (-100%)
:arrow_down:

... and 452 more

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 1b7ab99...a5d5857. Read the comment docs.


Non conforming option name: --colors

Please add the option  --color without a trailing s to do what --colors does.
Individuality is great in humans. Not so much with cli-tools.
Most other tools use --color, including:
$ man ack | grep 'color\b' -m1
       --[no]color, --[no]colour

$ man git-diff | grep 'color\b' -m1
       --color[=<when>]

$ man grep  | grep 'color\b' -m1
       --color[=WHEN], --colour[=WHEN]

$ man cal | grep 'color\b'
       --color[=when]

$ man cfdisk | grep 'color\b'
       -L, --color[=when]

$ man diff | grep 'color\b'
       --color[=WHEN]
              specify the colors to use when --color is active  PALETTE  is  a

$ man dir | grep 'color\b'
       --color[=WHEN]

$ man dmesg  | grep 'color\b'
       -L, --color[=when]

$ man ebuild | grep 'color\b'
       --color < y | n >

$ man emerge  | grep 'color\b'
       --color < y | n >

I don't see the real need to change the name of our option (and introduce a BC break) or to introduce a variant of the option name (and add more noise). Those tools may use --color but for example phpunit, which is a closer tool, also uses --colors. My vote is to close this issue. What do you think @ttomdewit @acoulton ?

@carlos-granados agree, the confusion tradeoff of having two options that do the same thing and/or forcing users to change their scripts on the next major doesn't seem worth it to me. I'm sure there are other PHP tools that use --colors too. (Although I'm someone who has to look up these options for any tool because my brain always wants to use --colours :rofl: )

Closing as won't implement

Oh well, how about --pigments? Surely that one is worth it :)
This is a pet peeve of mine. My observation is that different cultures of coders (gnu / bsd / go / rust / nodejs / etc) will have their own sets of similar, but cross-culturally incongruent flags. I'm just hoping for some convergence or adherence to established norms. Thanks for the reply, anyway.