xscale?

Just wanted to make sure that people knew of https://github.com/serazing/xscale
Seems like it's superset of xrft's functionality.

Yes yes there are many similar packages out there. We could try to merge efforts with @serazing but there is a cost to that. For now, we use xrft and it works for us.
Sent from my iPhone

On Apr 12, 2019, at 6:21 PM, Deepak Cherian<EMAIL_ADDRESS>wrote:
Just wanted to make sure that people knew of https://github.com/serazing/xscale
Seems like it's superset of xrft's functionality.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I'm not sure if this is an issue so I'm going to close it if there are suggestions otherwise...


[Розширений пошук] Сenters from different cities are displayed in the search result after selecting one city

Environment: Windows 8.1 Pro; Opera 80.0.4170.63.
Reproducible: always.
Build found: last commit
Steps to reproduce

Go to 'https://speak-ukrainian.org.ua/dev/'
Click on the 'Розширений пошук' button near the search field
Choose the 'Центр' radio button
Choose the location (e.g. 'Харків') in the 'Місто' parameter
Verify the location of the centers in the search result

Actual result
The centers that are displayed in the search result belong to diffrent cities after selecting one city.
Expected result
The centers that are displayed in the search result belong to the selected city.
Postconditions
A clear and concise description of actions to be done after bug reproducing. E.g.:
"Delete created item from database using SQL query:
DELETE FROM table1
WHERE id=<item1_id>;"
User story and test case links
E.g.: "User story #274
Labels to be added
"Bug", Priority ("medium"), Severity ("major"), Type ("Functional").

After chosing the 'Київ' city, the centers from different cities are displayed in the search result starting from the 3rd page.


Handle case when read collection is empty

Fixes issue (described in https://github.com/milvus-io/milvus-tools/issues/32) with reading milvus data when read collection is empty.

Hello @shiyu22,
Could you merge this into tags 1.0 too ?
Thank you very much,
Binh


CBVs warning causing very long correction

For certain sectors, getting a warning saying: "Extrapolation of CBVs appears to be necessary. Extrapolated values will be filled with zeros. Recommend setting extrapolate=True
Some interpolated (or extrapolated) CBV values have been set to zero"
Sectors which have this error are taking ~4 hours.

Intriguing - do you have any idea what situations you would need to extrapolate a CBV in? This is after fixing the aperture mask right?

After fixing the aperture mask. But I have literally no idea when this would be needed. It wasn't in the older version of lk I was using.


Counter feedback exclusively to those who have answered?

Optionally? yes or no?

it goest to EVERYBODY


Missing name id for valid SloLogoutrequest

We implemented the complete login and logout flow with a Shibboleth IdP. Now we are working on the last missing step, the IdP-initiated logout. Shibboleth sends a logout request, which is valid according to RubySAML. However, RubySAML does not provide a nameId, so it is unclear which user should be logged out.
The nameId is transmitted by the IdP in encrypted form. The keys needed for decryption are all passed along.
logout_request = OneLogin::RubySaml::SloLogoutrequest.new(
      params[:SAMLRequest], settings: saml_settings
    )
if !logout_request.is_valid?
  return render :inline => logger.error
else
  pp logout_request
  # prints the logout a request containg the config with all necessary keys and the provided saml2p:LogoutRequest containg the name id encrypted in an <saml2:EncryptedID> element
end

logger.info "IdP initiated Logout for #{logout_request.name_id}"
# prints: "IdP initiated Logout for "

# Generate a response to the IdP.
logout_request_id = logout_request.id
logout_response = OneLogin::RubySaml::SloLogoutresponse.new.create(saml_settings, logout_request_id)
redirect_to logout_response

You can extract the name_id using the method available in the response object , then you can store such value in the app session in order to be able to generate LogoutRequests sent to the IdP, including such NameId.
The toolkit sadly does not support currently to decrypt NameIds included in LogoutRequests and currently expects it clear, but the toolkit supported encrypted Nameids on SAMLResponse, so was not hard to add such support.
I have not tested it yet, can you give a try?
Override the slo_logoutrequest.rb file

I tewsted it and worked, I merged it to the main branch
https://github.com/SAML-Toolkits/ruby-saml/pull/671

@pitbulk: Thank you so much, it works perfectly. :)
I've now added the git repo in our Gemfile. Would be great if could given the current state a version tag, so that we can switch back to a normal versioned entry in the file.
Thanks again for the very quick fix!


📎 Remove PATH from rage —sumamry

It's not really useful and can expose potentially sensitive information.

I'd like to propose to remove the user too, if possible

Sure. The only relevant information we need there is if they're running as ROOT, which can be a separate property. Want to make the changes? Client#generateRageSummary should be the only place.

Sure, will do


Create SAML application in Azure AD via PowerShell

Hello Community,
I am able to create an application using PowerShell running the following command:
Connect-AzureAD -TenantId "Tenant ID"
$appName = "SAMLAppTest5"
$samlApp = New-AzureADApplication -DisplayName $appName `
                    -IdentifierUris "http://mynewapp.example5.com" `

                    -SamlMetadataURL "http://mynewapp.example5.com/metadata.xml" `

                    -ReplyUrls "http://mynewapp.example5.com/finishLogin" `

                    -Homepage "https://test5.com"

Get-AzureADApplication -SearchString $appName
New-AzureADServicePrincipal -AccountEnabled $true `
                         -AppId $samlApp.AppId `

                         -AppRoleAssignmentRequired $true `

                         -DisplayName $appName `

                         -Tags {WindowsAzureActiveDirectoryIntegratedApp} ;

{WindowsAzureActiveDirectoryCustomSingleSignOnApplication}
Application is created in Azure. However, when I click on single sign on to check its properties I get the following message:
The single sign-on configuration is not available for this application in the Enterprise applications experience. SAMLAppTest5 was created using the App registrations experience.
Please go to SAMLAppTest5 in the App registrations experience to edit properties such as reply URLs, identifiers, claims, among others. Your account should have the required permissions (Global Administrator, Cloud Application Administrator, Application Administrator, or owner of the app object). Learn more about admin roles in Azure AD.
To learn more about what properties you can modify in Enterprise applications and App registrations, see Application and service principal objects in Azure Active Directory.
Anyone has idea why SSO / SAML config is not accessible ...
Thanks,
NerKO

@nermin-sahmanovic
Thanks for your feedback! We will investigate and update as appropriate.

@nermin-sahmanovic
Thank you for your post! I walked through the same commands you posted and received the same message.

As stated in the message, the app created isn't compatible with SSO because it was created using the App registrations experience (New-AzureADApplication). If you require more detailed information.
As of right now, you can either add an SSO application to your AzureAD within the Azure Portal or via the MS Graph API. Please feel free to leverage our User Voice forums if you'd like this implemented in our Azure PS modules.
Thank you for your time and patience throughout this issue.


Error while generating push notification certificate

Hi,
trying to build IAP for my app but got the following error message.
Credentials are ok for the distribution certificate but not for the push notification one.
My Apple Dev account is ok and I don't have any certificate on it.
Could you help ? Thx
exp build:ios -c
[exp] Making sure project is set up correctly...
[exp] Your project looks good!
[exp] Checking if current build exists...

[exp] No currently active or previous builds for this project.
[exp] Checking for existing Apple credentials...

We need your Apple ID/password to manage certificates and provisioning profiles from your Apple Developer account.
? What's your Apple ID? ********
? Password? **********
? What is your Apple Team ID (you can find that on this page: https://developer.apple.com/account/#/membership)? ********
[exp] Validating Apple credentials...
[exp] Credentials valid.

? Do you already have a distribution certificate you'd like us to use,
or do you want us to manage your certificates for you? true
[exp] Generating distribution certificate...
[exp] Distribution certificate setup complete.
[exp] Validating app id...
?  You may need to clear them (with `-c`) and try again.
[exp] Unable to fetch push certificate: Internal error occurred. Please try again in a few minutes or contact support.

Closing this as we've been talking on slack about the specific issue.

So what exactly is the solution to this issue? Would be helpful if you actually gave us info as to what the problem was instead of just closing the issue.

I'll give the solution here but unfortunately, it's not yet solved.

Send by Adam:
hi, i'm seeing this error in the logs for you:
No teams available on the Developer Portal\nYou must accept an invitation to a team for it to be available
To learn more about teams and how to use them visit https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ManagingYourTeam/ManagingYourTeam.html
Your account is in no teams

But my account is Agent in my team

My account settings

My role in the team is Admin so i don't think it's related to that.

So bundleIdentifier should be unique in exp.json ... and I don't have to copy/paste the example code :)
#SoStupid
Thanks Adam !


Plans for the next release?

The last release was in 2021.
Do you plan to make the next one?

Yes, once the issues in the 0.4 milestone get resolved.


Recursion limit.

Two options. Either add a recursion limit or something to prevent users from spamming the recurse option, OR fix the following bug:
If you recurse too much such that the panel width is too small, the panel text disappear on the edge (lol). I did this once but now I lost all of my progress, but by reducing the window width:

Oh, and it you hit close all nutshells it lags a bit :-)

If you use a tool which allows you to open links without clicking them with a mouse you can actually keep the recursions going beyond the point where nutshells start being hidden behind previous nutshells

WOW... Actually this is so amazing I don't want it fixed lol

Now it's one big black bar huh.


types: refactor native_type macros

I rearranged the pyobject_native_type macros in types/mod.rs to make them slightly easier to work with.
First, I created pyobject_native_type_base, which contains impls all native types should want, including PyAny. I discovered that a few native types such as &PyIterator and &PyException did not implement some of these. This also allowed me to delete a couple of handwritten impls for e.g. PyAny.
Second, pyobject_native_type_fmt doesn't need to be separate any more (used to be split out before the exception fmt was just made consistent in #1275) - I merged these impls into pyobject_native_type_base.
Next, I moved impls which PyAny doesn't want into pyobject_native_type_named.
Third, I made the checkfunction optional, which allowed me to remove some code in exceptions.rs which was basically a copy-paste of the default impl. To get the macros to compile I had to modify the type_param syntax slightly.
Finally, I renamed pyobject_native_type_convert to pyobject_native_type_info, as that's now all it was left with.
Overall this reduced LOC and added quite a few missing fmt and other impls to PyException and PyIterator.
It does require a couple of small code changes to rust-numpy though, so I will push a PR for that shortly...

I'm sorry for the delay and will add a review after playing with macro soon.

👍
I have been looking also at whether it's better to make these macros into proc-macros. But that will make the macros feature non-optional.

The only alternative syntax I came up with  $(, $checkfunction:path)? $(;$generics: ident)* (branch: https://github.com/PyO3/pyo3/tree/refactor-macros-alternative-syntax).
But I'm actually not sure which is better.
For simplifying macro definition, I think ; is better but generics: <> would look clearer when calliing the macros.
Since now the only caller (with generics) is rust-numpy, I'm slightly inclined in taking the merit in simplifying the definition.
BTW, why generics? I think they are actually type parameters in AST, though I think generics is also good.

I picked "generics" as a short name for "generic type parameters" 👍
I think I agree let's go for the simpler macro-rules syntax as the generics are only used by numpy.
Maybe in the future if it turns out more users want this, we should consider making a proc-macro with better ergonomics. But for now this is fine.

I also updated https://github.com/PyO3/rust-numpy/pull/163 - so I think this PR is ready to merge, and then that one when we release 0.13.


[Draft] Application V2 with backwards compatibility

I'll add tests later once we've agreed on the method signatures.
Managed to maintain backwards compatibility for existing apps, but we'll need to change the docs to use the new method signatures, and we'll break backwards compatibility when we do a new major release.

The response is always passed to the callback. If there is a response parser, that just gets applied to the response, before it's being passed to the callback.
doing nexmo.applications.create(params, console.log) should show you `null, {name: "", ...}

That's what I expected, but it doesn't work for me.
const params = {"name": "Test V2",
  "capabilities": {
    "voice": {
      "webhooks": {
        "answer_url": {
          "address": "https://example.com/webhooks/answer",
          "http_method": "POST"
        },
        "event_url": {
          "address": "https://example.com/webhooks/event",
          "http_method": "POST"
        }
      }
    },
    "messages": {
      "webhooks": {
        "inbound_url": {
          "address": "https://example.com/webhooks/inbound",
          "http_method": "POST"
        },
        "status_url": {
          "address": "https://example.com/webhooks/status",
          "http_method": "POST"
        }
      }
    },
    "rtc": {
      "webhooks": {
        "event_url": {
          "address": "https://example.com/webhooks/event",
          "http_method": "POST"
        }
      }
    },
    "vbc": {}
  }
}

nexmo.applications.create(params, console.log)

On Thu, Jun 13, 2019 at 7:06 AM Alex Lakatos<EMAIL_ADDRESS>wrote:

The response is always passed to the callback. If there is a response
parser, that just gets applied to the response, before it's being passed to
the callback.
doing nexmo.applications.create(params, console.log) should show you
`null, {name: "", ...}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Nexmo/nexmo-node/pull/249?email_source=notifications&email_token=AAAON6XB7AE6CATA7YCRDCLP2HPU7A5CNFSM4HGXO42KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXSTTDQ#issuecomment-501561742,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAON6QN4TE6XWOFP4F57TTP2HPU7ANCNFSM4HGXO42A
.

No we don't promisify and if it's only going in the beta channel then all
good i guess
On Thu, 13 Jun 2019 at 10:20, Alex Lakatos<EMAIL_ADDRESS>wrote:

@AlexLakatos commented on this pull request.
In README.md
https://github.com/Nexmo/nexmo-node/pull/249#discussion_r293282804:

Get a single App
-nexmo.applications.get(appId, callback);
+nexmo.applications.get(appId, callback, v2flag);

The future removes the flag entirely, as well as V1 method signatures, so
it will break BC. I just don't want to do two major releases inside a
month. Is this PR breaking onboarding? It's going to land on @beta
<https://github.com/beta> with BC, and then it will break BC when it
lands on @latest <https://github.com/latest> .

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/Nexmo/nexmo-node/pull/249?email_source=notifications&email_token=AAGQPBL72MAQTQOIX7XCXC3P2IGMPA5CNFSM4HGXO42KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3NN2WI#discussion_r293282804>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGQPBMVWA7FEVSDDTH3D2TP2IGMPANCNFSM4HGXO42A>
.

@mheap I've fixed the V2 app create, can you check again, please?

Problem is that you don't want that in the final API. The V2 flag should go
away over time.
On Fri, 21 Jun 2019 at 10:27, Phil Leggetter<EMAIL_ADDRESS>wrote:

@leggetter commented on this pull request.
In README.md
https://github.com/Nexmo/nexmo-node/pull/249#discussion_r296163214:

Get a single App
-nexmo.applications.get(appId, callback);
+nexmo.applications.get(appId, callback, v2flag);

How about making it the 2nd param and checking the number of parameters?
arguments.length?

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/Nexmo/nexmo-node/pull/249?email_source=notifications&email_token=AAGQPBPDGX7GEHOOOHEFU4TP3SNJRA5CNFSM4HGXO42KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4IE6JY#discussion_r296163214>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGQPBMBMB4FRNSULQ47BS3P3SNJRANCNFSM4HGXO42A>
.

--
Richard Chamberlain
Developer Relations
Nexmo, The Vonage API Platform | 15 Bonhill Street, London EC2A 4DN |
United Kingdom
<EMAIL_ADDRESS>

But as Rich mentions this means people can't use a promises library with
this function.
IMO it's not the right approach.
On Fri, 21 Jun 2019, 11:23 Alex Lakatos<EMAIL_ADDRESS>wrote:

@AlexLakatos commented on this pull request.
In README.md
https://github.com/Nexmo/nexmo-node/pull/249#discussion_r296181659:

Get a single App
-nexmo.applications.get(appId, callback);
+nexmo.applications.get(appId, callback, v2flag);

V2 Flag is going away when this hits master, and if it's the second
parameter I'll have to keep around that logic to make it BC, whereas with
it being the last parameter I can just ignore it. We won't be supporting V1
anyway, so adding that bit of logic in the code will just make it a bit
slower, and add on a maintenance cost.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/Nexmo/nexmo-node/pull/249?email_source=notifications&email_token=AACQFL7DXWWUTWOWJ2BWIY3P3STZZA5CNFSM4HGXO42KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4IK2VQ#discussion_r296181659>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACQFL3TNGEGV5X5XYNHLIDP3STZZANCNFSM4HGXO42A>
.

...only while it's in beta.
On Fri, 21 Jun 2019 at 13:28, Phil Leggetter<EMAIL_ADDRESS>wrote:

But as Rich mentions this means people can't use a promises library with
this function.
IMO it's not the right approach.
On Fri, 21 Jun 2019, 11:23 Alex Lakatos<EMAIL_ADDRESS>wrote:

@AlexLakatos commented on this pull request.
In README.md
https://github.com/Nexmo/nexmo-node/pull/249#discussion_r296181659:

Get a single App
-nexmo.applications.get(appId, callback);
+nexmo.applications.get(appId, callback, v2flag);

V2 Flag is going away when this hits master, and if it's the second
parameter I'll have to keep around that logic to make it BC, whereas with
it being the last parameter I can just ignore it. We won't be supporting

V1

anyway, so adding that bit of logic in the code will just make it a bit
slower, and add on a maintenance cost.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/Nexmo/nexmo-node/pull/249?email_source=notifications&email_token=AACQFL7DXWWUTWOWJ2BWIY3P3STZZA5CNFSM4HGXO42KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4IK2VQ#discussion_r296181659
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AACQFL3TNGEGV5X5XYNHLIDP3STZZANCNFSM4HGXO42A
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Nexmo/nexmo-node/pull/249?email_source=notifications&email_token=AAGQPBIV7IGSDSEQDJ5FNVDP3TCQLA5CNFSM4HGXO42KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYIKOKA#issuecomment-504407848,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGQPBNLC2AJV2HLUIGAYRTP3TCQLANCNFSM4HGXO42A
.

--
Richard Chamberlain
Developer Relations
Nexmo, The Vonage API Platform | 15 Bonhill Street, London EC2A 4DN |
United Kingdom
<EMAIL_ADDRESS>

Exactly. I'd rather people couldn't use promises on this one function on this short lived @beta package, than having to drag the flag/callback logic in master and keep it around forever, without an easy way to check how people are calling the function and if it's ok to remove that logic.

The other options were to namespace it to something like nexmo.applications.v2.get or use a different method like nexmo.applications.getV2. Both of those seemed like a worse idea with a bigger disruption when moving out of beta, while keeping this version BC. But if you have a better idea @leggetter, I'd be willing to try that!


NitroNet.Sitecore.RenderingExclusions Setting - not in source code

I wonder why the setting  is used in the nuget package, but is not mentioned in the source here at all. And then - why the features folder is excluded by default.
Does not make any sense for me - but I'm probably missing something here ;)

answered for myself... it's a prerelease feature. And the default value is ../sample and ../system which makes sense.


Implementing Bigtable Table.delete().

In the process, also implementing Table.name property used for sending the delete() request.

LGTM


Use mocha for end-to-end tests

Turned test-breakpoints.js and test-log-throttling.js into mocha tests in a new file test-e2e.js. This involved splitting off the debuggee into a separate file (fib.js).
Changes to the tests themselves are:

Spawned children now each have their own log object in the test, and each log is individually checked (whereas before, there was a single object that contained logs from all children).
The log throttling test now also spawns three children (instead of one), since it uses common initialization logic.

Still fixing tests - since E2E tests fail.

E2E tests pass: https://travis-ci.org/GoogleCloudPlatform/cloud-debug-nodejs/builds/189010678


type 'Image' is not a subtype of type 'ImageProvider'

an trying to upload image to Firestore then return it to the application
this is the code :
Future getImage() async {
      var image = await ImagePicker.pickImage(source: ImageSource.gallery);

      setState(() {
        _image = image;
        print('Image Path $_image');
      });
    }

    Future uploadPic(BuildContext context) async {
      String fileName = basename(_image.path);
      StorageReference firebaseStorageRef =
          FirebaseStorage.instance.ref().child(fileName);
      StorageUploadTask uploadTask = firebaseStorageRef.putFile(_image);
      StorageTaskSnapshot taskSnapshot = await uploadTask.onComplete;
      setState(() {
        print("Profile picture uploaded");
        Scaffold.of(context)
            .showSnackBar(SnackBar(content: Text('Profile picture uploaded')));
      });
    }

this is the run log:
flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following assertion was thrown building Builder(dirty, dependencies: [_InheritedTheme,
flutter: _LocalizationsScope-[GlobalKey#eb048]]):
flutter: type 'Image' is not a subtype of type 'ImageProvider<dynamic>'
flutter:
flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
flutter: more information in this error message to help you determine and fix the underlying cause.
flutter: In either case, please report this assertion by filing a bug on GitHub:
flutter:   https://github.com/flutter/flutter/issues/new?template=BUG.md
flutter:
flutter: Widget creation tracking is currently disabled. Enabling it enables improved error messages. It can
flutter: be enabled by passing `--track-widget-creation` to `flutter run` or `flutter test`.
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0      EditProfileState.build.<anonymous closure> (package:car_app_firebase_03/UI/edit_profile_page.dart:69:29)
flutter: #1      Builder.build (package:flutter/src/widgets/basic.dart:6704:41)
flutter: #2      StatelessElement.build (package:flutter/src/widgets/framework.dart:4002:28)
flutter: #3      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3934:15)
flutter: #4      Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #5      StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5)
flutter: #6      Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #7      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #8      Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #9      StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5)
flutter: #10     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #11     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #12     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #13     ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5)
flutter: #14     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #15     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #16     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #17     ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5)
flutter: #18     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #19     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4845:32)
flutter: #20     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5236:17)
flutter: #21     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #22     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #23     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #24     StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5)
flutter: #25     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #26     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #27     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #28     ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5)
flutter: #29     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #30     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #31     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #32     StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5)
flutter: #33     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #34     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14)
flutter: #35     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #36     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #37     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #38     StatelessElement.update (package:flutter/src/widgets/framework.dart:4009:5)
flutter: #39     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #40     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5127:14)
flutter: #41     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #42     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #43     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #44     StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5)
flutter: #45     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #46     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #47     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #48     StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5)
flutter: #49     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #50     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #51     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #52     ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5)
flutter: #53     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #54     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #55     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #56     ProxyElement.update (package:flutter/src/widgets/framework.dart:4247:5)
flutter: #57     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #58     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #59     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #60     StatefulElement.update (package:flutter/src/widgets/framework.dart:4113:5)
flutter: #61     Element.updateChild (package:flutter/src/widgets/framework.dart:2886:15)
flutter: #62     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3954:16)
flutter: #63     Element.rebuild (package:flutter/src/widgets/framework.dart:3731:5)
flutter: #64     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2341:33)
flutter: #65     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:761:20)
flutter: #66     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:280:5)
flutter: #67     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1031:15)
flutter: #68     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:973:9)
flutter: #69     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:889:5)
flutter: #73     _invoke (dart:ui/hooks.dart:249:10)
flutter: #74     _drawFrame (dart:ui/hooks.dart:207:3)
flutter: (elided 3 frames from package dart:async)
flutter:
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: type 'Image' is not a subtype of type 'ImageProvider<dynamic>'

This is a question better suited for StackOverflow, since there doesn’t seem to be anything wrong with Flutter itself, but related to implementation.

We're closing this issue because it seems to be a question or request for help rather than a clearly reproducible bug, regression or new feature request.
Good places to ask questions or work through problems where you're more likely to get a fast response include:

Stack Overflow
Gitter
Flutter Community Slack

Thanks for using Flutter!

You should go and read the following link
You can solve this problem.


Monitor Refrash rate in full screen

It is possible set refrash rate (hz) for output? If need lock refresh rate to 60 for example (because game not support more) in full screen mode. To prevent frames stratters (75 with 60 fps not smooth). If not, how i can do this?

It depends on the game.  If you are using older DirectDraw/Direct3D games there is an option called DdrawOverrideRefreshRate that can be used for this.  This only works if the game supports Dd7to9 or EnableDdrawWrapper.
However, keep in mind that even if you override the refresh rate if the game was coded for a different refresh rate this may just cause the same screen to appear on multiple frames or it could speed up or slowdown the game play.  It will need to be tested on each game to see how it works.

Closing the issue for now.  If you still have questions about this you can reopen it.


GH-44125: [Python] Add concat_batches function

Rationale for this change
Allows to concatenate recordbatches in Python
What changes are included in this PR?
Adds concat_batches function and tests
Are these changes tested?
yes
Are there any user-facing changes?
A new public function has been added

GitHub Issue: #44125

@jorisvandenbossche the failure is unrelated, I think this might be ready for merge

Merging due to lack of further feedback


sccache?

Scope & Purpose
It looks like SCCache isn't used during (some?) builds, this is an attempt at debugging.

Seems like the Docker container was broken; a new PR that fixes the build commands is forthcoming.


Update since Wordpress V5.2.5 throws errors in plugin.

Ever since i updated to new wordpress versions i get an error on plugin admin page.
I tested it from WP version 5.2.5 and up, there is an error:

Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone () in /web/wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php:120 Stack trace: #0 /web/wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php(120): DateTimeZone->__construct('') #1 /web/wp-includes/class-wp-hook.php(286): WCInvoicePdf\Menu\InvoiceMenu->DisplayInvoices('') #2 /web/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #3 /web/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 /web/wp-admin/admin.php(253): do_action('wc-invoices_pag...') #5 {main} thrown in /web/wp-content/plugins/wc-invoice-pdf/menu/invoice-menu.php on line 120

What language is WordPress configured?

Possible reason for this is that the related locale is unavailable to PHP.
https://stackoverflow.com/a/9325124/2106997
After installing additional locales a restart of PHP (Apache/nginx) may be necessary

I've checked and
Wordpress is on english language en_us
Default locale on server is on en_US.UTF-8 but it have other languages installed too.
I've checked phpinfo and it's using  php v7.1 with locale set on en_US.
I can't access with ssh on this server, i can only manage things through control panel.

I am sorry. You might need to double check the timezone setting in WordPress

Hmm, interesting. When i set timezone to UTC+1 in Wordpress it wont work, but when i set it to city like Europe/Amsterdam it works. I don't understand why it would make an issue like this but it works. Thanks for the help.


Fixed culture dependent transform file writing bug

Hi, depending on the current thread culture setting, there are decimal commas instead of points written to the saved_transform_values file when in configuration mode, which leads to wrong positioning of the questionnaire after restarting. Fixed this by using InvariantCulture for Read/Write.
Cheers

Thank you very much for your contribution.


Enhance responsiveness of index.htm

Kindly assign me this issue !
I will resolve this issue , with it I will also love to add transition on hovering over the elements(wherever required)
Thanks!

Yeah, go ahead.
There will be many new commits while you will be working over it, consider them while you are working.

I would like to work on it. Please assign it to me

I would like to work on it. Please assign it to me

As @RATHORE7421 is working on index.html ..You may create an another issue for other other pages.
Thank You!


JLine version (3.19.0) is outdated

sbt is still on JLine 3.19.0, which is quite old — it's from 2021. The JLine folks have fixed a ton of bugs since then. Current version is 3.24.1.
At minimum, it would be good for sbt 2.x to upgrade. We could also look at whether a backport to 1.x would be feasible.

I fooled with this for an about an hour locally, but to get on 3.24.1, a bunch of changes to sbt.internal.util.JLine3 will be needed

Are they supposed to be backward compatible? In other words, if we injected the latest JLine 3.24.1 to classpath, would Scala 2.x REPL and Scala 3.x REPL continue to work?

Are they supposed to be backward compatible? In other words, if we injected the latest JLine 3.24.1 to classpath, would Scala 2.x REPL and Scala 3.x REPL continue to work?

It doesn't look like this is the case for earlier versions of JLine3 (jline/jline3#189).

I also realized that we've already bumped JLine for sbt 1.10.x, and 1.10.0-M1 has been out for a while - https://repo1.maven.org/maven2/org/scala-sbt/sbt/1.10.0-M1/ and REPL seem to work fine for both Scala 2.13 and 3.

I also realized that we've already bumped JLine for sbt 1.10.x, and 1.10.0-M1 has been out for a while

Oh, right you are. I mistakenly looked at the 1.x branch but did not look at the 1.10.x branch.


add calculator of length of direct common tangent of circle

Proposal
(A clear and concise description of what the proposal is.)

i like to work on it


copying 100MiB file errors with "error reading : Input/output error"

Mountpoint for Amazon S3 version
mount-s3 1.10.0
AWS Region
us-east-1
Describe the running environment
Running in EC2 RedHat 8 Linux
Connected to the EC2 instance via Session Manager
sh-4.4$ whoami
ssm-user
Copying the file with
$ aws s3 cp s3://<bucket>/big_file.zip .

failed with:
An error occurred (SignatureDoesNotMatch) when calling the GetObject operation: The request signature we calculated does not match the signature you provided. Check your key and signing method.

I then issued
$ aws configure set default.s3.multipart_threshold 1000MB

and repeated the aws s3 cp command, which now succeeded.
I am mounting the bucket with
$ mount <bucket_name> ./mnt

I can copy small files with no issues.
When trying to copy a 100MiB file instead the log shows:
mountpoint_s3::fuse: read failed: get request failed: get object request failed: Client error: Forbidden: The request signature we calculated does not match the signature you provided. Check your key and signing method

My hypothesis
Setting the aws cli multipart threshold to a high value means that the whole file was transferred in one go instead of using multi-part. That solved the issue for the aws cli cp.
Mount-s3 instead uses multipart read with apparently no possibility to disable this feature.
note I uploaded the file to S3 from a different machine, using different credentials than those on the EC2 instance where mount-s3 is running.
Mountpoint options
mount-s3 <bucket> mnt

What happened?
$ cp mnt/big_file.zip .

fails with:
cp: error reading 'mnt/big_file.zip': Input/output error

Relevant log output
mount-s3[16724]: [ERROR] mountpoint_s3::prefetch::part_stream: GetObject body part failed key=big_file.zip error=ClientError(Forbidden("The request signature we calculated does not match the signature you provided. Check your key and signing method.", ClientErrorMetadata { http_code: Some(403), error_code: Some("SignatureDoesNotMatch"), error_message: Some("The request signature we calculated does not match the signature you provided. Check your key and signing method.") }))
mount-s3[16724]: [WARN] read{req=24 ino=2 fh=2 offset=0 size=4096 name=big_file.zip}: mountpoint_s3::fuse: read failed: get request failed: get object request failed: Client error: Forbidden: The request signature we calculated does not match the signature you provided. Check your key and signing method.

In true rubber-duck debugging fashion, after submitting this but I searched for some more SignatureDoesNotMatch and realised the issue might be the request going through a proxy.
Lo and behold, http_proxy and https_proxy were set to a proxy server.
The fix was thus:
$ unset http_proxy
$ unset https_proxy

at which point the multipart threshold didn't make any difference (a part from influencing performance as expected).
The whole transfer also got a lot faster (probably the proxy was overwhelmed).


Addressing Session 1 feedback.

Using this PR to generate a draft website for:

updating index text

Addressing #23 Feedback from Tessa

Changes should be minor and mainly aesthetic. Upon merging this branch I would expect the training website is ready to go live.

session_1/index.rst text updated.
Could not get new tabs to open as requested in #23, issue is still open.


Infra: FE: Bump pnpm to 9.15.0

What changes did you make? (Give an overview)
Upgrades pnpm to the latest version(9.15.0)
Besides the expected upstream patches in pnpm , it also unblocks dependabot upgrades
See https://github.com/dependabot/dependabot-core/issues/11124
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[x] Unit checks
[x] Integration checks
[x] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged

A picture of a cute animal (not mandatory but encouraged)

The build failure is due to pull_request_target as it is using the version of the workflow from main where 9.11.0 is still used

@yeikel should we merged given the open discussion in https://github.com/dependabot/dependabot-core/issues/11124 ?

@yeikel should we merged given the open discussion in https://github.com/dependabot/dependabot-core/issues/11124 ?

Yes
But I think that we should remove the enforcement in a follow-up PR
I can update this one, too, if you prefer


TfIcon replace iconName enum with iconNameMap

The goal is to use only one type to manage iconNames. instead of an enum and a map, they can be mixed in the same type, using an interface like the following:
interface TfIconNameMap {
  'arrow-forward-ios': arrowForwardIos;
  'arrow-back-ios': arrowBackIos;
  ... etc
}

Then for each icon SVG, we define a const like this:
const arrowForwardIod = html`<svg>...</svg>`;
const arrowBackIos = html`<svg>...</svg>`;
etc ...

The html in the constructor should be added to the existing innerHTML of the shadowRoot.


Add preference getter for adding Sandblocks to CodeHolders

Just for convenience.

Great idea, thank you for the PR!


Added system-collection build task

Main PR: https://github.com/sulu-io/sulu/pull/1739

changelog missing

@danrot added


Testbench and Tools Modernization

Work on modernizing the testbench and tools scripts by converting over to print_function and argparse.  Also, added a simple test suite that uses pylint to give the scripts a basic sanity check during testing.

Coverage remained the same at 61.923% when pulling f6c9312196ca8f5bc2a9d2845a0d49d4849305f0 on argparse into 232974518fe9bd1a22293c2cc236fb5bc46dd6a2 on master.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #133   +/-   ##
=======================================
  Coverage   58.78%   58.78%
=======================================
  Files          63       63
  Lines        5095     5095
=======================================
  Hits         2995     2995
  Misses       2100     2100

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 2329745...f6c9312. Read the comment docs.

Had a quick (i.e. not comprehensive) look through and think this all looks great. OK to merge IMO

test_scripts.py runs a static analysis of the scripts using pylint to try and find obvious errors.  It is not as good as actually running the script with data and comparing the output but I think that it is better than nothing.

Ah ok, well still LGTM.

Codecov Report

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

@@            Coverage Diff             @@
##           master     #133      +/-   ##
==========================================
- Coverage   58.78%   58.61%   -0.18%
==========================================
  Files          63       64       +1
  Lines        5095     5110      +15
==========================================
  Hits         2995     2995
- Misses       2100     2115      +15

Impacted Files
Coverage Δ

python/bifrost/romein.py
0.00% <0.00%> (ø)

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 72e0315...cfac53d. Read the comment docs.

Let's do this!


Ft --order details view--order contents component

Description
Component: Order Contents
View: Order Details View
Type of change
New Component
Current Functionality ( June 4)

[ ] Hardcoded to GET a single order (for now)
[ ] Delete function hits the API and removes the item from state
[ ] Display all information using a GET (Except variant, blocked)

Link to Trello card
https://trello.com/c/yQ1ojZRC/45-orderdetails-view-order-contents-component

Other than the CSS issue everything looks great! Good work!


The ParamConverter for UUID in Symfony

Sorry, I know what this issue should be created not in this space.
I have many projects when we work with UuidInterface and use UUID as the primary identifier for many entities. In Symfony controller system we should create the UUID instance in each action for the pass to the repository or another component.
In each project, I copy/paste the param converter for Symfony for transform the string (resolved from the request) to UuidInterface.
As solution:

We can create the param converter and stored in another component.
Each developer have access to this param converter after installing the library.
Developer should add the service for this parameter converter and add the tag (request.parameter_converter) to this service.

Problem:
Symfony (Sensio/ExtraBundle) has the difference between version 2 and 3 in ParameterConverter and we should support the Symfony2 and Symfony3.
Example of Param Converter:
<?php

namespace ApplicationBundle\Request\ParamConverter;

use Ramsey\Uuid\Uuid;
use Ramsey\Uuid\UuidInterface;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
use Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

class UuidParamConverter implements ParamConverterInterface
{
    /**
     * {@inheritdoc}
     */
    public function apply(Request $request, ParamConverter $configuration)
    {
        $param = $configuration->getName();

        if (!$request->attributes->has($param)) {
            return;
        }

        $value = $request->attributes->get($param);

        if (!$value) {
            if ($configuration->isOptional()) {
                return null;
            } else {
                throw new NotFoundHttpException('The UUID not found in attributes of request.');
            }
        }

        $uuid = Uuid::fromString($value);

        $request->attributes->set($param, $uuid);
    }

    /**
     * {@inheritdoc}
     */
    public function supports(ParamConverter $configuration)
    {
        return $configuration->getClass() === UuidInterface::class;
    }
}

Thank.

Thanks for your interest. I think this is a good idea. Feel free to create a separate project for the Symfony UuidParamConverter. I don't think it should be part of this project.

@ZhukV  We started using https://github.com/mcfedr/uuid-paramconverter a few days ago and it looks good so far

Good to hear! Best of luck.

I make some changes in your solution because I found a bug when you try to resolve a non-string value then the generator is called two times, first call returns null value and second call throw TypeError exception because you paste non-string value into Uuid::fromString method.
final class UuidValueResolver implements ArgumentValueResolverInterface
{
    public function supports(Request $request, ArgumentMetadata $argument): bool
    {
        return !$argument->isVariadic()
            && \is_string($request->get($argument->getName()))
            && is_a((string) $argument->getType(), UuidInterface::class, true);
    }

    /**
     * @return iterable<UuidInterface>
     */
    public function resolve(Request $request, ArgumentMetadata $argument): iterable
    {
        if (!$this->supports($request, $argument)) {
            throw new \RuntimeException('Unsupported method call');
        }

        yield Uuid::fromString($request->get($argument->getName()));
    }
}

Advantages of this solution

Uuid::fromString is not called with a null or non-string value. Non-string values will be handled by RequestAttributeValueResolver
Excludes variadic arguments that are not supported by resolve method. Will be handled by VariadicValueResolver. If you want you can create VariadicUuidValueResolvers that calls this inner resolver in foreach.
Default values are handled by DefaultValueResolver

Calling supports method inside resolve method is optional.

Symfony 5.4:
    /**
     * @Route("/checkout/order/{orderUuid}", name="store.checkout.order")
     * @ParamConverter("order", options={"mapping": {"orderUuid": "uuid"}})
     */
    public function order(Order $order): Response
    {
        dd($order);
    }


requests/pytz are not marked as dependencies

Requests (and pytz) don't seem to be added to the dependencies when installing through pypi, causing errors if you don't have those packages already installed in your repo.
Exception trying to import pycronofy:
  File "/path/to/user_code.py", line 5, in <module>
    import pycronofy
  File "/Users/......./python3.7/site-packages/pycronofy/__init__.py", line 1, in <module>
    from pycronofy.client import Client  # noqa: F401
  File "/Users/......./python3.7/site-packages/pycronofy/client.py", line 12, in <module>
    from pycronofy.request_handler import RequestHandler
  File "/Users/......./python3.7/site-packages/pycronofy/request_handler.py", line 1, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

Output from pipenv graph:
PyCronofy==1.3.0
  - future [required: Any, installed: 0.17.1]

Not too familiar with Python but my research suggested this was because the core dependencies weren't specified in setup.py's install_requires.
1.4.0 has been released which should resolve this.
Thanks for the report @ChrisBurch - let us know if you have any more problems.

That did the trick, thanks @gshutler for the quick fix!


Update date-time for iPad simulators based on iPad release dates

Ok, #4 got me curious about what the specific date should be for iPad.
After browsing through all the images on the various iPad and iPhone product pages, it turns out that Apple marketing materials appear to always use:

9:41 for iPhone status bar. And they never display the lock screen with a date. (We already knew this.)

9:41 AM is also used for iPads, but their status bars now also display a date since iOS 13 (or 12?). This date is always the release date of the device.

So, what would be cool is to make our script choose the correct date for each iPad simulator. We can simplify by just using the latest devices, so we would only need dates for: [iPad Pro, iPad Air, iPad, iPad Mini].
Implementation notes
I think the only way to determine this precisely is from the simulator name + iOS version? If we can't determine the actual device, then we can fallback to one of: (1) the existing date we are using (first iPhone launch), (2) the date for the very first iPad, or (3) the date of the most recently release iPad. Not sure which is better.
A list of all devices and release dates:
https://en.wikipedia.org/wiki/List_of_iOS_devices

Hey, just stopping by with experience from SimulatorStatusMagic, where we settled on Tuesday, January 9, 2007 as the "canonical date": https://github.com/shinydevelopment/SimulatorStatusMagic/pull/77. In short, the date shown isn't quite as simple as the release date of the device; when Marcom doesn't hide it behind something (which they do far to often for me to not suspect that this isn't coincidental) the date matches the date that the page is supposed to have been released. So that means the iPad will usually have a June date on developer.apple.com, a September date on the iOS pages, and a date matching their release date on the product pages (the apps on the App Store aren't a great example, IMO, because many of them were probably made by the engineering team and have obvious consistency issues). We went with the original iPhone's date as that is what QuickTime will put there, and it makes sense to match the date and time to the event anyways (plus, it's easier!). Just my 2¢.

Thanks for sharing @saagarjha !
I think you make a good point in shinydevelopment/SimulatorStatusMagic#77 -- noting that QuickTime uses Tue Jan 9.
Perhaps it is better to always use this (currently that's what's happening for Nine41).

One of my original reasons for considering this change was because it felt weird to set the date to 2007 -- years before the iPad even existed. 😆 I realized the date is not shown in the status bar, but still.

I'll leave this issue open for a bit longer in case anyone else has thoughts.
But, right now, I'm leaning toward closing this as "won't fix".

Going to close.
We'll keep the date the same for all devices. (Current behavior.)


valid object fails to be parsed when using z.intersection

I tried following the intersection example in your README:
const HasId = z.object({
    id: z.string(),
});

const BaseTeacher = z.object({
    name: z.string(),
});

const Teacher = z.intersection(BaseTeacher, HasId);

type Teacher = z.infer<typeof Teacher>;

const t: Teacher = { // compiles ok
    id: '123',
    name: 'hello'
};

Teacher.parse(t); // => throws
console.log('ok');

prints the following:
2 validation issue(s)

  Issue #0: unrecognized_keys at
  Unrecognized key(s) in object: 'id'

  Issue #1: unrecognized_keys at
  Unrecognized key(s) in object: 'name'

if I replace the Teacher zod definition with:
const Teacher = z.object({
    id: z.string(),
    name: z.string()
});

then the object is validated ok.
Am I doing something wrong ? I'm using the latest 1.11.5 version on TS 4.0.2

Sorry about that, the documentation is wrong there. The behavior of intersections is quite intuitive when it comes to objects. There are other Issues that have more details about this.
For now just use the .merge or .augment methods.

ok here's the workaround for my issue: https://github.com/vriad/zod/issues/82
This is really confusing for users, especially if the example in the documentation is invalid or doesn't work in the general case.
I think the documentation for intersection should definitely outline these limitations (or z.intersection should simply not exist)
Regardless, thanks for the otherwise great library.

I agree intersection shouldn't exist - it'll go away with Zod v2. I took that section out of the docs.


How do I subscribe to a valueChanges of a field that is being hidden via "hideExpression"?

How do I subscribe to a valueChanges of a field that is being hided via "hideExpression"?
{
  key: 'meat',
  hideExpression: '!model.bread',
},

{
  key: 'salad',
  hideExpression: '!model.bread || !model.meat',
  hooks: {
    onInit: (field: FormlyFieldConfig) => {
     // *** Here is the problem, I cannot subscribe to meat valueChanes cause it is outside of the form ***
      field.templateOptions.options = field.form
        .get('meat')
        .valueChanges.pipe(
          switchMap((meatType) => getSaladsBasedOnMeatType(meatType))
        );
    },
  },
},

This code give me the following error:
ERROR Error: Cannot read properties of null (reading 'valueChanges')
Please, check this template example on StackBlitz: https://stackblitz.com/edit/ngx-formly-ui-material-fshqie?file=src%2Fapp%2Fapp.component.ts
The example above is a hamburger bulder with 3 steps where the options of every step is loaded via HTTP depending on the previous selection.
I would like to do this without calling a function in the component like this:
{
  key: 'meat',
  hideExpression: '!model.bread',
      templateOptions: {
        change: () => this.activelyLoadNextField(),
      },
},

I believe this configuration should be stand alone, not depending on componet's methods.

I found a solution.
I can actively load the next field using the templateOptions.change without call a local function.
So the code will be like this:
{
  key: 'meat',
  templateOptions: {
    change: (field) => {
      // Add Next field (Salad)
      const nextField = field.parent.fieldGroup.find((f) => f.key === 'salad');
      nextField.templateOptions.options = getMeatsBasedOnBreadType(field.form.get('meat').value);
    },
  },
  hideExpression: '!model.bread',
}

I put this solution in another StackBlitz project: https://stackblitz.com/edit/ngx-formly-ui-material-ujms2f
Do you guys think this is ok, or there is a better approch?

Do you guys think this is ok, or there is a better approch?

yes but the only limitation I see is change may not be triggered in case of programmatic changes formControl.setValue(value);.
I usually rely on the field itself to get its formControl, in next version you'll be able to find the field using get call:
- field.parent.fieldGroup.find((f) => f.key === 'salad');
+ field.parent.get('salad');

Hey aitboudad, sorry but I don't quite get the second line of your answer.
I understood that the  programmatic changes formControl.setValue(value); does not trigger the change function.
Is there any approach that will work also for  programmatic changes?

Is there any approach that will work also for programmatic changes?

hooks: {
  onInit: (field: FormlyFieldConfig) => {
     const saladField = field.parent.fieldGroup.find((f) => f.key === 'salad');
    return saladField.formControl.valueChanges
      .pipe(
        tap(...),
      );
  },
},

the second line is just a side note of the coming feature, so instead of using find you'll be able to use get:
- field.parent.fieldGroup.find((f) => f.key === 'salad');
+ field.parent.get('salad');

field.parent.get('salad');  giving error field.parent is possibly 'undefined' ??

field.parent.get('salad'); giving error field.parent is possibly 'undefined' ?? @aitboudad

just use null-safe operators


[Unclear] example: Deploying Cassandra with a StatefulSet

When running this command:
grace=$(kubectl get pod cassandra-0 -o=jsonpath='{.spec.terminationGracePeriodSeconds}') \
  && kubectl delete statefulset -l app=cassandra \
  && echo "Sleeping ${grace} seconds" 1>&2 \
  && sleep $grace \
  && kubectl delete persistentvolumeclaim -l app=cassandra

The grace period it was going to sleep was 1800s (30m), so after all resources were deleted (about 5-6s), I hit Ctrl-C, then manually ran the line after the sleep:
kubectl delete persistentvolumeclaim -l app=cassandra
Recommend adding a note to avoid having the student wait 30m for a command to finish that might only take a few seconds.

Related page: https://kubernetes.io/docs/tutorials/stateful-application/cassandra/#cleaning-up
/language en

I think we can improve the advice, or change the grace period to be quite a bit shorter. Not sure which is better.

/triage accepted
either way

/retitle [Unclear] example: Deploying Cassandra with a StatefulSet

change the grace period to be quite a bit shorter

I have tried to reproduce the issue with a grace period of 300 seconds. And I observed that all my related resources were deleted in under 10 seconds.
It will be better if we reduce the terminationGracePeriodSeconds: 1800  to some shorter value like 300 or 500.

I would like to work on this issue.
/assign
/sig apps
/sig storage

/assign


0.4.0-rc.1: listen returns all previous values, not just latest

main() async {
  final sc = new StreamController();
  final p1 = new Property.fromStream(sc.stream);

  sc.add('a');
  sc.add('b');

  await new Future.delayed(const Duration(milliseconds: 20));

  listen(p1, 'p1');

  await new Future.delayed(const Duration(milliseconds: 20));
}
listen(Reactable r, String l) => r.listen((v) => print('$l: $v'));

I expect to only see
p1: b

but I get
p1: a
p1: b

This is expected because of how single subscription controllers buffer their data. The controller won't start delivering its values until it has a listener.

OK fair enough. I just had it in my head that a Property holds on to it's last value, not last several values so this took me by surprise.
Not necessarily a problem, I just need to adjust my thinking


Add scheduled event functions

Featuring Type
Function
So, what is it about?
Add scheduled event functions. For example:
$createEvent[guildID;title;description;location type (stage, voice or other);location (id or text);start;end;returnId] - creating scheduled event on guild
$modifyEvent[eventID;option;new value] -  editing scheduled event with options
$deleteEvent[eventID;reason] - deleting scheduled event
$startEvent[eventID;notify  everyone] - start scheduled event
$endEvent[eventID;reason] - end scheduled event
$eventInfo[eventID;option] - get event info with options
$createEventInvite[eventID;duration] - creating invite for event
$getEventID[event name] - returning event id with name
Discord.js have this functions: https://discord.js.org/#/docs/discord.js/main/class/GuildScheduledEvent
Code of Conduct

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

v5 will no longer be receiving updates, but this can be some functions added onto the next version. (6.0.0)

Has been added in next update.


Your not in a plot area

So when users on my server try to do /plot auto in spawn it says '[P2] Your not in a plot area' it sounds like this is from the user not being in the specific world the plots are in, but I have seen MANY servers that obviously have bypassed that. Help!

CosmicPyrex they need to be in the corresponding PlotWorld to be able do /plot auto
So set a warp named "plots" in your plot world, then they do /warp plots and then /plot auto


aegisub-fork: Add version feature_10

@chawyehsu I moved my PR to this bucket like you asked.

[x] I have read the Contributing Guide.

/verify


Cancelling the flow gets stuck in cancelled state

We are listening for SDK events as described:
    matiSubscription = MatiFlutter.resultCompleter.future.asStream().listen((event) {
      log('KYC $event');
    });

Our code works for completing the flow successfully, however if we cancel the flow (via X -> cancel) all subsequent events will be cancelled events.
We tried different approaches with restarting the flow however it seems to be reliant on an internal state that doesn't get reset.
Tested on iOS 14.6 with
  - Mati-Global-ID-SDK (3.2.3)
  - mati_plugin_flutter (2.0.0):
    - Flutter
    - Mati-Global-ID-SDK

Hello @chjdev sorry for the long wait for the answer, we will investigate it and return to you next week.

@aposnovmati it's been a while now, any updates on this?

Hello @chjdev Is it possible to somehow configure/change the logic of your app with the plugin so that it works? coz i think we can take this issue to research only at end of this month

thank you for your response, we're pretty sure having resultCompleter as a global static final is to blame for the behavior.
only investigating this at the end of the month is frankly disappointing.

Hello @chjdev we have just take your issue to investigation and will return to you later this week

Hello @chjdev could you try, please new 2.3.1 version, we will wait for your feedback

It worked, thank you!
Unfortunately, the resultCompleter is now untyped/dynamic but we can cast it to Future<Result>.


The current Wine version 7.0 won't run min-ed-launcher latest Windows version.

I bought the game from Epic and I'm trying to run it on Linux. So I followed the Epic Setup part. I tried many wine versions, but all of them give me some msg about stack overflow, which, in my experience, is untroubleshootable:
0108:err:virtual:virtual_setup_exception stack overflow 2064 bytes in thread 0108 addr 0x170030fc0 stack 0x207f0 (0x20000-0x21000-0x1a0000)

I don't know if it's my case, but I even tried Linux version:
╭─lucas@archlinux em /mnt/archlinux/Games/EliteDangerous levou 3s
╰─λ WINEPREFIX=~/.wine_elite_dangerous/ ./MinEdLauncher /autoquit /autostart /ED -auth_password=4073c5077e784523a3654eb9ee893e05
[23:45:10 INF] Elite Dangerous: Minimal Launcher - v0.5.4
[23:45:10 INF] Elite Runtime
Platform: Epic
CobraBay Version: 0.4.6709.0
Products Dir: /mnt/archlinux/Games/EliteDangerous/Products
[23:45:11 ERR] Couldn't login: 400: Bad Request

min-ed-launcher.log:
2022-01-22 23:45:12.911 -03:00 [INF] Elite Dangerous: Minimal Launcher - v0.5.4
2022-01-22 23:45:13.107 -03:00 [DBG]
    Args: [|"/autoquit"; "/autostart"; "/ED";
  "-auth_password=407...e05"|]
    OS: Linux64

2022-01-22 23:45:13.142 -03:00 [DBG] Reading settings from '/home/lucas/.config/min-ed-launcher/settings.json'
2022-01-22 23:45:13.557 -03:00 [DBG] Settings: Ok { Platform = Epic { ExchangeCode = "407...e05"
                       Type = ""
                       AppId = "" }
     DisplayMode = Pancake
     AutoRun = false
     AutoQuit = true
     WatchForCrashes = false
     ProductWhitelist = seq ["autostart"; "ed"]
     ForceLocal = false
     Proton = None
     CbLauncherDir = "/mnt/archlinux/Games/EliteDangerous/"
     PreferredLanguage = None
     ApiUri = https://api.zaonce.net/
     Restart = None
     AutoUpdate = true
     MaxConcurrentDownloads = 4
     ForceUpdate = set []
     Processes = []
     FilterOverrides = seq [[FORC-FDEV-DO-1000, edo]] }
2022-01-22 23:45:13.612 -03:00 [INF] Elite Runtime
    Platform: Epic
    CobraBay Version: 0.4.6709.0
    Products Dir: /mnt/archlinux/Games/EliteDangerous/Products
2022-01-22 23:45:15.084 -03:00 [DBG] Requesting epic token
2022-01-22 23:45:15.667 -03:00 [DBG] Requesting epic token failed: {"errorCode":"errors.com.epicgames.account.oauth.exchange_code_not_found","errorMessage":"Sorry the exchange code you supplied was not found. It is possible that it was no longer valid","messageVars":[],"numericErrorCode":18057,"originatingService":"com.epicgames.account.admin","intent":"prod","error_description":"Sorry the exchangecode you supplied was not found. It is possible that it was no longer valid","error":"invalid_grant"}
2022-01-22 23:45:15.693 -03:00 [ERR] Couldn't login: 400: Bad Request

What am I missing here?

I haven't attempted to use the launcher via wine for a long time. I'll see if I can reproduce/fix the issue when I get some time.
The log shows that the Epic API rejected your exchange code. Was that the first time you attempted to use it or was it reused from another attempt? It does expire after a single use which makes it pretty inconvenient to play via Epic on linux.
There may be a way to launch via legendary which might make things easier. I'll try a few things with that too and let you know what I find.

Was that the first time you attempted to use it or was it reused from another attempt?

That rejection happens every time. I made a quick video yesterday showing how I'm getting the code, but I forgot to paste the link here: https://gofile.io/d/tmw0Iw.
I'm actually tried using Legendary a lot, but I end up with that stack overflow Wine issue since legendary use Wine to run the games. It runs the same command under the hood I pasted here.

Today I got a different message. I won't paste it here, because it's big.
Terminal log.
min-ed-launcher.log

It seems the json parse error happens when the Epic exchange code is accepted. Now I'm pressing ESC on my browser, so the code it's not being used anymore. You were right the first time. But now we have this json parse error.

FDev's API is returning an HTML response instead of JSON. Has your FDev account been linked with your Epic account? I have seen this happen occasionally at seemingly random times, but I'm not sure why would it happen all the time.

FDev's API is returning an HTML response instead of JSON. Has your FDev account been linked with your Epic account? I have seen this happen occasionally at seemingly random times, but I'm not sure why would it happen all the time.

You nailed, bro!! That HTML code was the registration page. I just liked the account and it's all good. Thanks you, guys!!!

FYI, I fiddled around with legendary a bit and you can get an auth code much easier than via your browser.
legendary launch --dry-run 9c203b6ed35846e8a4a9ff1e314f6593 2> >(grep AUTH_PASSWORD) | sed -ne 's/^.*-AUTH_PASSWORD=\([a-z0-9]*\).*$/\1/p'
The next step would be to have min-ed-launcher accept input from STDIN and then you could just pipe in legendary's dry run output and not have to deal with manually copy/pasting it each time.

FYI, I fiddled around with legendary a bit and you can get an auth code much easier than via your browser.
legendary launch --dry-run 9c203b6ed35846e8a4a9ff1e314f6593 2> >(grep AUTH_PASSWORD) | sed -ne 's/^.*-AUTH_PASSWORD=\([a-z0-9]*\).*$/\1/p'
The next step would be to have min-ed-launcher accept input from STDIN and then you could just pipe in legendary's dry run output and not have to deal with manually copy/pasting it each time.

Wonderful. Worked like a charm.


dataset cache

Working on a dataset cache...
The initial push simply stores weakrefs to yt datasets in a dictionary... definitely not threadsafe (but was in yt is?) but it might speed up consecutive loads of the same dataset. There also may be memory issues with always adding to the cache -- will want to have an option to enable/disable the cache.
Closes #29 if it all works out...

definitely not threadsafe (but was in yt is?)

Hey!  We do some threaded stuff.  ;-)  https://github.com/yt-project/yt-4.0-paper/pull/113

latest push includes a yt-napari config file setup so that the cacheing can be disabled (and the option is remembered between napari sessions). The gui and json readers also now have a corresponding store_in_cache option (default value from config file).

@matthewturk I think this is ready to go. wanna take a look?
src/yt_napari/_ds_cache.py is the cache implementation. It now uses hard references rather than week references like we talked about.
The  dataset_cache instance (in src/yt_napari/_ds_cache.py) will only be populated when loading data from the napari GUI (either loading from json or the interactive widget: adding data to napari from a jupyter notebook will not add a ds to the cache). I could implement some sort of teardown method tied to the loader widget (it's a QWidget instance, so there are methods you can override to catch destruction), but I don't see a reason to. I think the normal garbage collection during napari shutdown should be totally fine.
The rest of the PR is mostly adding ways to control the cache behavior: I added a configuration file for yt-napari (src/yt_napari/config.py) so one can disable the caching if desired and have that option persist between napari sessions. It might come in handing for future work too... I loosely based it off of how yt handles configuration. Lemme know if you have thoughts on the implementation here.

latest push uses the yt config file directly (at Matt's suggestion)!


Convert comment-based help to PlatyPS external help

This will allow help files to be abstracted from code, and allow more readable and easier-to-update help files without having to issue a new release.

This should be done as of https://github.com/ArtisanByteCrafter/KaceSMA/commit/71a8ee3f26eb4ff42130673ca5e73fd58b662876
It'll resolve using Get-Help cmdlet -Online once merged to master


Unity 5.6.3p1 4.2.1 Phantom UID on fresh install + non auth retrieval breaking things

Unity 5.6.3p1 4.2.1 Phantom UID on fresh install + non auth retrieval breaking things
Probably related to the Unity task.dll screw up, but I'd like to document this to help others:
On occasion this pops up on the editor 💯 :

WebSocket: ws_3 - WebSocketException during handshake
Firebase.Database.Internal.TubeSock.WebSocketException: unknown host:

Reproduction steps, tested on both Android and IOS devices. Reproduction success seems to be correlated with router speed as well, so try use public wifi:
_Many thanks to anyone that could pop in their expertise! 🥇 _

Fresh install of apk / Clear Local App Data / Built on Unity 5.6.3p1, Firebase 4.2.1
Successfully retrieve some data without being authed
^ if you did the above step, steps 8-11 will not result in successful read
Check UID with auth.currentuser != null -> get auth.currentuser.uid
Get Weird Residual Non Valid UID
Detected UID: LqFrMjrmu4RGUXJusIfu9554DXn1 | attempting to fetch data
Read Database in location where ".read":"$key" === "auth.uid"
11-22 22:16:59.101 25507 26669 W Unity   :
11/22/2017 09:16:59 [Warn] SyncTree: Listen at /userspublic/LqFrMjrmu4RGUXJusIfu9554DXn1 failed: DatabaseError: Permission denied
11-22 22:16:59.171 25507 25979 E Unity: Unable to Retrieve data System.AggregateException: Exception of type 'System.AggregateException' was thrown.
Signing out.
Sign In with Valid User
11-22 22:17:00.840 25507 25979 I Unity   : User wNk88wov2rcyRk9WXhFFqD3qxs52 (app __FIRAPP_DEFAULT) changed.
11-22 22:17:00.858 25507 25979 I Unity   : Sign-in completed
Read Database in location where ".read":"$key" === "auth.uid"
Success

11-22 22:16:53.612 25507 25979 I Unity   : Starting checks...
11-22 22:16:54.717 25507 25979 I Unity   : Talking to bubble guards...
11-22 22:16:54.719 25507 25979 I Unity   : Detected UID: LqFrMjrmu4RGUXJusIfu9554DXn1 | attempting to fetch data
11-22 22:16:54.723 25507 25979 I Unity   : Getting Valuables from bubble HQ...
11-22 22:16:54.724 25507 25979 I Unity   : Got request to FetchUserData Request #0 Allowed: True
11-22 22:16:56.443 25507 25979 E Unity   : System.AggregateException: Exception of type 'System.AggregateException' was thrown.
11-22 22:16:56.443 25507 25979 E Unity   : -----------------
11-22 22:16:56.443 25507 25979 E Unity   : Firebase.FirebaseException: An internal error has occurred. [ USER_NOT_FOUND ]
11-22 22:16:57.144 25507 26674 E Unity   : Unable to find libc
11-22 22:16:59.101 25507 26669 W Unity   : 11/22/2017 09:16:59 [Warn] SyncTree: Listen at /userspublic/LqFrMjrmu4RGUXJusIfu9554DXn1 failed: DatabaseError: Permission denied
11-22 22:16:59.171 25507 25979 E Unity   : Unable to Retrieve data System.AggregateException: Exception of type 'System.AggregateException' was thrown.
11-22 22:16:59.171 25507 25979 E Unity   : -----------------
11-22 22:16:59.171 25507 25979 E Unity   : Firebase.Database.DatabaseException: Firebase Database error: Permission denied
11-22 22:16:59.173 25507 25979 E Unity   : System.AggregateException: Exception of type 'System.AggregateException' was thrown.
11-22 22:16:59.173 25507 25979 E Unity   : -----------------
11-22 22:16:59.173 25507 25979 E Unity   : Firebase.Database.DatabaseException: Firebase Database error: Permission denied
11-22 22:16:59.174 25507 25979 E Unity   : Firebase Auth Token Not Accepted
11-22 22:16:59.176 25507 25979 I Unity   : Signing out.
11-22 22:16:59.187 25507 25979 I Unity   : Waiting for Log in...
11-22 22:16:59.187 25507 25507 I Unity   : ID token changed. Notifying 1 listeners.
11-22 22:16:59.188 25507 25507 I Unity   : Auth state changed. Notifying 1 listeners.
11-22 22:16:59.189 25507 25979 I Unity   : Attempting to sign in as<EMAIL_ADDRESS>11-22 22:16:59.257 25507 25979 I Unity   : Stopped token refresh of auth object associated with app __FIRAPP_DEFAULT.
11-22 22:17:00.826 25507 25507 I Unity   : CurrentUser changed from 0 to 2D66
11-22 22:17:00.826 25507 25507 I Unity   : ID token changed. Notifying 1 listeners.
11-22 22:17:00.827 25507 25507 I Unity   : CurrentUser changed from 2D66 to 102D66
11-22 22:17:00.827 25507 25507 I Unity   : Auth state changed. Notifying 1 listeners.
11-22 22:17:00.840 25507 25979 I Unity   : User wNk88wov2rcyRk9WXhFFqD3qxs52 (app __FIRAPP_DEFAULT) changed.
11-22 22:17:00.858 25507 25979 I Unity   : Sign-in completed
11-22 22:17:00.862 25507 25979 I Unity   : Getting Valuables from bubble HQ...
11-22 22:17:00.862 25507 25979 I Unity   : Got request to FetchUserData Request #1 Allowed: True
11-22 22:17:02.920 25507 25979 I Unity   : Database type: MainMenu

@PathToLife did you figure out what was going on here?

Hi Stewart we've been getting inconsistent occurrences of the Phantom UID on fresh install..

I'm hoping someone else can confirm this else, we're still kinda blind, I'll report back next year when we've finished migrating to unity 2017. There's several new UI bugs introduced when we migrate.
Current Plan:
Trial and Error till one change fixes this issue. Then report back.
Most likely fix: Take the hit and Upgrade to Unity 2017


The same node cannot subscribe to messages published by itself

Problem Description
The node publishes data and subscribes to this topic in the same node, which will result in the failure to subscribe to the message and fail to enter the callback function. The test example is as follows:
/* ========================= eCAL LICENSE =================================
 *
 * Copyright (C) 2016 - 2019 Continental Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * ========================= eCAL LICENSE =================================
*/

#include <ecal/ecal.h>
#include <ecal/msg/protobuf/publisher.h>
#include <ecal/msg/protobuf/subscriber.h>

#include <iostream>

#include "person.pb.h"

void OnPerson(const char* topic_name_, const pb::People::Person& person_, const long long time_, const long long clock_)
{
  std::cout << "------------------------------------------" << std::endl;
  std::cout << " HEAD "                                     << std::endl;
  std::cout << "------------------------------------------" << std::endl;
  std::cout << "topic name   : " << topic_name_             << std::endl;
  std::cout << "topic time   : " << time_                   << std::endl;
  std::cout << "topic clock  : " << clock_                  << std::endl;
  std::cout << "------------------------------------------" << std::endl;
  std::cout << " CONTENT "                                  << std::endl;
  std::cout << "------------------------------------------" << std::endl;
  std::cout << "person id    : " << person_.id()            << std::endl;
  std::cout << "person name  : " << person_.name()          << std::endl;
  std::cout << "person stype : " << person_.stype()         << std::endl;
  std::cout << "person email : " << person_.email()         << std::endl;
  std::cout << "dog.name     : " << person_.dog().name()    << std::endl;
  std::cout << "house.rooms  : " << person_.house().rooms() << std::endl;
  std::cout << "------------------------------------------" << std::endl;
  std::cout                                                 << std::endl;
}

int main(int argc, char **argv)
{
  // initialize eCAL API
  eCAL::Initialize(argc, argv, "person publisher");

  // set process state
  eCAL::Process::SetState(proc_sev_healthy, proc_sev_level1, "I feel good !");

  // create a publisher (topic name "person")
  eCAL::protobuf::CPublisher<pb::People::Person> pub("person");

  // generate a class instance of Person
  pb::People::Person person;

  // create a subscriber (topic name "person")
  eCAL::protobuf::CSubscriber<pb::People::Person> sub("person");

  // add receive callback function (_1 = topic_name, _2 = msg, _3 = time, _4 = clock, _5 = id)
  auto callback = std::bind(OnPerson, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4);
  sub.AddReceiveCallback(callback);

  // enter main loop
  auto cnt = 0;
  while(eCAL::Ok())
  {
    // set person object content
    person.set_id(++cnt);
    person.set_name("Max");
    person.set_stype(pb::People::Person_SType_MALE);
    person.set_email("max@mail.net");
    person.mutable_dog()->set_name("Brandy");
    person.mutable_house()->set_rooms(4);

    // send the person object
    pub.Send(person);

    // // print content
    // std::cout << "person id    : " << person.id()            << std::endl;
    // std::cout << "person name  : " << person.name()          << std::endl;
    // std::cout << "person stype : " << person.stype()         << std::endl;
    // std::cout << "person email : " << person.email()         << std::endl;
    // std::cout << "dog.name     : " << person.dog().name()    << std::endl;
    // std::cout << "house.rooms  : " << person.house().rooms() << std::endl;
    // std::cout                                                << std::endl;

    // sleep 500 ms
    eCAL::Process::SleepMS(500);
  }

  // finalize eCAL API
  eCAL::Finalize();

  return(0);
}

How to reproduce

build samples
run it

How did you get eCAL?
Ubuntu PPA (apt-get)
Environment

ecal: 5.11.4
os: ubuntu20.04

eCAL System Information
No response

Hi @jiejieTop,
yes it can subscribe to traffic from the same node, but you have to enable it explicitly (I don't remember why exactly, probably to reduce load..)
  // enable loop back communication in the same thread
  eCAL::Util::EnableLoopback(true);

This function needs to be called after eCAL::Initialize() and you can communicate inside the same process.

Hi @jiejieTop, yes it can subscribe to traffic from the same node, but you have to enable it explicitly (I don't remember why exactly, probably to reduce load..)
  // enable loop back communication in the same thread
  eCAL::Util::EnableLoopback(true);

This function needs to be called after eCAL::Initialize() and you can communicate inside the same process.

Thanks a lot, this works, but why need to explicitly enable？

Yes, it's following the same logic like socket communication. Normally you don't want to read your own content. We had scenarios in the past were user used the same topics for incoming and outgoing interfaces in different nodes and expected to get triggered by external publishers only.
Btw. there is another transport layer called INPROC that is default switched off. That one can be used to just call the subscribers callback by the publishers send method. But that layer has some other drawbacks (hard coupling publishers and subscriber single threaded) that finally often decrease overall performance.


framework core: fixes a case when there are fewer endpoints than backends

Fixes an issue with NEG size and Backend Health waiting logic.
This bug has been in the framework from the very beginning, because we never tested the flow with (a) Regional or multizonal cluster, AND (b) a single server.
The issue: when GKE cluster has nodes in more than one zone, a NEG for the test server/service is created in each zone. If there's fewer endpoints than zones in the cluster, not every NEG will end up having a server endpoint. Therefore:

wait_for_network_endpoint_group will fail because it waits for every NEG to have more than 0 endpoints.
wait_for_backends_healthy_status will fail because NEGs with 0 endpoints will never be marked as healthy.

This PR changes the logic of:

wait_for_network_endpoint_group now waits for the number of endpoints to be >= 0
wait_for_backends_healthy_status now accounts for server replica_count and will succeeded as soon as the number of healthy Backends to be greater or equal the number of server replicas.

Discovered when debugging #86. Splitting to its own PR.

[ ] grpc/core/v1.63.x/branch/linux/grpc_xds_k8s_lb
[ ] grpc/core/v1.63.x/branch/linux/psm-security
[ ] grpc/core/v1.63.x/branch/linux/grpc_xds_url_map
[ ] grpc/core/v1.63.x/branch/linux/psm-csm

[ ] grpc/core/v1.63.x/branch/linux/grpc_xds_k8s_lb
[ ] grpc/core/v1.63.x/branch/linux/psm-security
[ ] grpc/core/v1.63.x/branch/linux/grpc_xds_url_map
[ ] grpc/core/v1.63.x/branch/linux/psm-csm

[ ] grpc/core/v1.63.x/branch/linux/grpc_xds_k8s_lb
[ ] grpc/core/v1.63.x/branch/linux/psm-security
[ ] grpc/core/v1.63.x/branch/linux/grpc_xds_url_map
[ ] grpc/core/v1.63.x/branch/linux/psm-csm


Task - Observation matrices dashboard

The response is slow (in development, could improve somewhat in production).
I would suggest to remove auto-update when the rank is selected, and add Update button.
Keep auto-update on a TaxonName selected.
When a new TaxonName is selected, do not clear previously selected ranks.

How big a result are you talking about?
On Fri, Sep 20, 2019 at 5:38 PM Dmitry Dmitriev<EMAIL_ADDRESS>wrote:

The response is slow (in development, could improve somewhat in
production).
I would suggest to remove auto-update when the rank is selected, and add
Update button.
Keep auto-update on a TaxonName selected.
When a new TaxonName is selected, do not clear previously selected ranks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SpeciesFileGroup/taxonworks/issues/1070?email_source=notifications&email_token=AAAFQSFLMUE6V34OOVE7VZTQKVGGVA5CNFSM4IY33UHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HMZDESA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAFQSCROKZ7RIESYNYWREDQKVGGVANCNFSM4IY33UHA
.

Subfamily Deltocephalinae or Typhlocybinae in 3i database. Each group is 5000-8000 species. Typhlocybinae have about 1000 taxa with scores. Deltocephalinae have about 500 taxa with scores. About 100 characters per species.

I think when you get the feel for what is slow or not this is not an issue.  I want quick responses for most queries, and can wait for slow if I ask for something very large.  Rendering 5k rows is going to take time, and if I ask for 5k species I can wait.  Most often I will ask for something much smaller. Asking for something big will also be rare.
@jlpereira are we showing the spinner on this interface?  Can we make sure that the user can not trigger two concurent searches?

Yah, we´re showing the spinning everytime the user picks a rank. So i think it shouldn't be possible to select another one before the request finished

I do not complain that it is slow. I am saying that I have to wait for initial result. That I have to click on genus, and wait for results for the genus. Than I have to wait for species. That I have to make selection for rows, and wait it again. All I am saying, that I can make all selections, and than submit for a new result. As well as when I select a new taxon, the search should preserve the previous options.


[Feature Request] Support auto import files that excluded in analysis_options

Thank you for taking the time to file an issue!
This tracker is for issues related to:

Analyzer

If you aren't sure, file the issue here and we'll find the right home for it.
In your issue, please include:

Dart SDK Version (dart --version) 2.13.1
Whether you are using Windows, MacOSX, or Linux (if applicable) MacOSX
Whether you are using Chrome, Safari, Firefox, Edge (if applicable)

Feature request
Usually, we exclude generated files from dart analyzer (e.g. protobuf files).
But we need to use those class/method defined in the generated files.
It is very inconvenient without import auto-complete in this use case.
Excluded:

Not excluded:

Usually, we exclude generated files from dart analyzer (e.g. protobuf files).

Can you talk about why that is? If you're excluding a portion of your application from analysis, you will get some inconsistent behavior in the tooling.
You may try not excluding the generated code and trying another technique for working around whatever issues you see in the generated code (the code failing some lint checks?).

@devoncarew

(the code failing some lint checks?).

Yes. For example:

The generated protobuf code failing with:

lines_longer_than_80_chars
always_use_package_imports
constant_identifier_names

The generated json code failing with:

non_constant_identifier_names

Currently, I am using flutter 2.2.0.
I found when I changed to flutter 2.0.6, the import suggestion appears again.
Is this a BUG introduced recently?

I don't think this is a recent change. The analysis results can change if you open an excluded file - in that situation, we will try and analyze the file.

Yes. For example:The generated protobuf code failing with

I'd look to ignore the failing lints in a more targeted way - exclude them via an analysis options file at the root of your project or by some other means. Ignoring those files from analysis completely will leave you with inconsistent analysis results and or incomplete info available to tooling.

I'd look to ignore the failing lints in a more targeted way - exclude them via an analysis options file at the root of your project or by some other means. Ignoring those files from analysis completely will leave you with inconsistent analysis results and or incomplete info available to tooling.

I am not sure how to achieve this.
Our *.pb.dart files and other dart files stay in the same package.
I think it will be great if we can ignore some rules for some specific files in analysis_options.yaml.

I face a similar problem when using mockito.
I'm setting implicit-dynamic: false in analysis_options.yaml.
File generated by mockito generated file may include implicit-dynamic. therefore, I exclude *mocks.dart.
But I am troubled because auto import doesn't work when using generated files.


Many endpoints/parameters are wrong

Hi,
thx for effort, but I always need to figure out the correct endpoints, because almost none of them works, i.e. /timestamp instead of v1/time, and then fails on getbalance. Has kucoin changed these during their new API development?

Are you looking at the new v2.0 branch? https://github.com/mscheetz/KuCoinApi.Net/tree/v2.0


Add cursor parameter to reactions.list API method

This pull request fixes a long-lived bug in reactions.list API support. While an API caller passes count / page, the paging data can be returned, response_metadata.next_cursor can be returned when passing limit parameter instead. This pull request adds response_metadata to the response data class plus add the missing cursor parameter to the request data class.
Category (place an x in each of the [ ])

[ ] bolt (Bolt for Java)
[ ] bolt-{sub modules} (Bolt for Java - optional modules)
[x] slack-api-client (Slack API Clients)
[ ] slack-api-model (Slack API Data Models)
[ ] slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
[ ] slack-app-backend (The primitive layer of Bolt for Java)

Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to the those rules.

Everything looks good on the sdk side of things, the tests I ran earlier are working now :)
My tests did raise a concern about the behavior of the API, it seem like the cursor field in the returned json payload is set to an empty string instead of being not present or null.
Here is an example of a completed paging request:
{
    "ok": true,
    "items": [
        ...
    ],
    "response_metadata": {
        "next_cursor": ""
    }
}

This leads to this project also setting the cursor to an empty String, I don't know if we want to add a special case for this.

@WilliamBergamin

My tests did raise a concern about the behavior of the API, it seem like the cursor field in the returned json payload is set to an empty string instead of being not present or null.

This is an expected behavior if your workspace/user does not have any further responses. When it comes to the robustness of the integration tests (meaning making them to run with any workspaces etc.), we can improve it later once you started actively working on this project.

Thanks for your review 👍 Let me merge this PR now.


Update songbird and serenity dependency

Songbird and Serentiry published a new version with a bunch of changes that are breakting to the API. We need to update these dependencies:

songird 0.4.X
songbird 0.12.x

Related to #132
Related to #131
Changelogs

Serenity: https://github.com/serenity-rs/serenity/releases/tag/v0.12.0
Songbird: https://github.com/serenity-rs/songbird/releases/tag/v0.4.0

The update is on the develop branch and can be tested already with the ghcr.io/jontze/cadency_rs:develop.

Closed with https://github.com/jontze/cadency-rs/pull/138 and will be released with v0.5.0.


Onstartup options should apply to only first instance of the app

Is your feature request related to a problem? Please describe.
The "OnStartup" preferences like opening specific set of pages applies to every instance of the app.
Describe the solution you'd like
The "OnStartup" preferences should only apply to the first instance of the app. This is default behavior from browsers and other multi-window solutions.
Additional question
Also, should the "open where left of" be applied to only first instance??

@soumyamahunt Continue where you left off hasn't been implemented yet.

@soumyamahunt Continue where you left off hasn't been implemented yet.

I know, the question was when it will be implemented whether it should be for one instance or for multiple instance.

@yaichenbaum Can you assign me?

@soumyamahunt Is this still an issue with v0.17?


Clean Up Blueflood Architecture

Resolution overlap fetching is now more complicated (but also more complete!)
ASCII art description:
                   EXAMPLE A
      +--------------------------------+
      |<long ago                 today>|
      +--------------------------------+
30sec |                        [======]| availability of
 5min |                 [===========]  | data for given
20min |           [==========]         | resolution
      +--------------------------------+
      |                 (## request ##)| requested timerange (at 20min or coarser resolution)
      +--------------------------------+
30sec |                              !!|
 5min |                       !!!!!!!  | 3 fetches performed
20min |           !!!!!!!!!!!!         |
      +--------------------------------+

                   EXAMPLE B
      +--------------------------------+
      |<long ago                 today>|
      +--------------------------------+
30sec |                        [======]| availability of
 5min |                 [===========]  | data for given
20min |           [==============]     | resolution
      +--------------------------------+
      |                 (## request ##)| requested timerange (at 20min or coarser resolution)
      +--------------------------------+
30sec |                              !!|
 5min |                           !!!  | 3 fetches performed
20min |           !!!!!!!!!!!!!!!!     |
      +--------------------------------+

                   EXAMPLE C
      +--------------------------------+
      |<long ago                 today>|
      +--------------------------------+
30sec |                     [=========]| availability of
 5min |              [==============]  | data for given
20min |      [===================]     | resolution
      +--------------------------------+
      |          (#### request ####)   | requested timerange (at 20min or coarser resolution)
      +--------------------------------+
30sec |                                |
 5min |                           !!   | 2 fetches performed
20min |          !!!!!!!!!!!!!!!!!     |
      +--------------------------------+

The Blueflood implementation has been greatly simplified (in places) to make this more feasible.
The ChooseResolution method uses the above system to (heuristically) select the appropriate resolution, by choosing the finest resolution such that the above procedure is successful.
Problem? Fetches that extend past viable range will error
A query like
select
cpu | transform.moving_average(1hr)
from -1d to now resolution 30s

will now error, since 1d + 1hr is outside the TTL of 30s.
@drcapulet

LGTM


Provide simple test running

Someone should have the possibility to run the tests without having to set up a lot.
This could be provided with docker-compose, combined with a test runner in a possible manage.py.
The test runner should check whether all the packages have been installed accordingly, since one should be able to run the tests without using docker, anyway, although this may require a manual setup.

Done with 3380cb702fe17919358b833f9c15ecf29d01ecef.


add willCall method for remocking

resolve #5

willCall doesn’t look as a very clear name for me. Do we have any alternatives?
@sheremet-va where did you take this name for your code example in issue? Do they have any explanation why they use it.

willCall doesn’t look as a very clear name for me. Do we have any alternatives?
@sheremet-va where did you take this name for your code example in issue? Do they have any explanation why they use it.

willCall is reimagend callsFake name from sinon. The idea is the same mock.willCall(this implementation) or mock.callsFake(implementation). We implemented it in tinyspy as willCall.

@sheremet-va Thanks. I am worry about future form of will.
@instant1100 what do you think of onCall name? It will explain that we define callback on function call (like onClick) and it will be more clear.

@ai it seems good name.  I have just checked implementation in tinyspy. They reset only callback, not callCount, results etc... I think i should fix it too

They reset only callback, not callCount, results etc... I think i should fix it too

Yeap, let’s change change function body.

We also need to add docs (I think a separated section is better)

I fixed types (re-mock now inherit previous mock’s types) and fix ESLint errors e1dacf4

@instant1100 do you have Twitter to mention you in release tweet?

@ai yes, but i don't use it and don't remember password