Update Italian translations

@NickeManarin What about this procedure to notify translators about new translatable strings?

you opening an issue
translators can subscribe to that issue
when there are new translatable strings, you simply add a "ping" to that issue, so that translators know that there's something new to be translated

@mlocati I'm thinking about this idea...
After some time, the issue entry will be buried by newer entries, isn't that a problem?
Maybe I'll could add a link to that issue on the wiki page.

After some time, the issue entry will be buried by newer entries, isn't that a problem?

I'd simply add new comment to that issue as there are new translatable strings: subscribers will receive a notification, so that they know that there's something new to be translated.
The only problem I see is that translators will need a github account, but I don't think that'd be a big problem...


feat: add Client.logout and context manager

Summary
Add a Client.logout function, which deletes a token obtained by Client.login (if any).
Add a context manager, making the following snippet legal:
with Client(
    client_name="org-1",
    backend_type="remote",
    url="http://substra-backend.org-1.com:8000",
    username="org-1",
    password="p@sswr0d44",
) as client:
    pass

Requires https://github.com/Substra/substra-backend/pull/698
Closes FL-1008
Notes
Please check if the PR fulfills these requirements

[x] If necessary, the changelog has been updated
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
[x] The commit message follows the conventional commit specification
For any breaking changes, companion PRs have been opened on the following repositories:

[ ] substra-tests
[ ] substrafl
[ ] substra-documentation

@ThibaultFy

do you think we need a run of CI on it before merging ? No strong opinion on it on my side.

I ran one yesterday but let's run a new one just to be sure ^^

@ThibaultFy

do you think we need a run of CI on it before merging ? No strong opinion on it on my side.

I ran one yesterday but let's run a new one just to be sure ^^

Ah ok ok :) you're not using the /e2e command ?

you're not using the /e2e command ?

I am, just from the backend PR instead of this one


list existing versions of a secret

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Intentional to remove all -Werror settings?

No, just a workaround for some IntelliJ troubles ... I'll amend and force push


Serde configs are deleted when changes are made in the Wizard

Issue submitter TODO list

[X] I've looked up my issue in FAQ
[X] I've searched for an already existing issues here
[X] I've tried running master-labeled docker image and the issue still persists there
[X] I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)
I have a glue schema registry serde configured for viewing avro messages in the UI. But when any config changes are performed in the UI wizard, the serde configs are deleted (or it at least becomes unavailable). There is also no way to configure a serde in the config wizard, so a redeploy is required to get the serde back.
Expected behavior
Changes made in the config wizard should not delete existing serde configs.
Your installation details

App version: 56fa824
Environment: ECS Fargate
App config:

KAFKA_CLUSTERS_0_NAME: 'my-cluster',
KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: '<my-sasl-iam-endpoints>',
KAFKA_CLUSTERS_0_READONLY: 'false',
KAFKA_CLUSTERS_0_PROPERTIES_SECURITY_PROTOCOL: 'SASL_SSL',
KAFKA_CLUSTERS_0_PROPERTIES_SASL_MECHANISM: 'AWS_MSK_IAM',
KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG: 'software.amazon.msk.auth.iam.IAMLoginModule required;',
KAFKA_CLUSTERS_0_PROPERTIES_SASL_CLIENT_CALLBACK_HANDLER_CLASS: 'software.amazon.msk.auth.iam.IAMClientCallbackHandler',
KAFKA_CLUSTERS_0_SERDE_0_NAME: 'GlueSchemaRegistry',
KAFKA_CLUSTERS_0_SERDE_0_FILEPATH: '/usr/lib/kafkaui-glue-serde-v1.1.0-jar-with-dependencies.jar',
KAFKA_CLUSTERS_0_SERDE_0_CLASSNAME: 'com.provectus.kafka.ui.serdes.glue.GlueSerde',
KAFKA_CLUSTERS_0_SERDE_0_PROPERTIES_REGION: 'us-east-1',
KAFKA_CLUSTERS_0_SERDE_0_PROPERTIES_REGISTRY: 'default-registry',
KAFKA_CLUSTERS_0_SERDE_0_PROPERTIES_KEYSSCHEMANAMETEMPLATE: '%s-key',
KAFKA_CLUSTERS_0_SERDE_0_PROPERTIES_VALUESSCHEMANAMETEMPLATE: '%s-value',
KAFKA_CLUSTERS_0_DEFAULTVALUESERDE: 'GlueSchemaRegistry'

Steps to reproduce

Run app with serde configured
Have an existing topic on the cluster so that we can access the serde dropdowns in the Messages tab
Use the config wizard to change anything on the cluster and save
Go to a topic's Messages tab and the serde will no longer be available.

Screenshots
No response
Logs
No response
Additional context
No response

Hi, thanks for reaching out!
Editing serdes in the wizard is planned within #3501
However, it's not okay for the config parts to disappear.
Please clarify, which config you have serdes specified in. Env vars, probably, or does the dynamic config file contain it?

@Haarolean sorry for the delay. To your question: I am using env vars for my configs. I don't think I have remote exec set up for my fargate tasks, so I'm not able to look at the dynamic config file as it's updated on the container.

@stalbot15 thanks for the clarification. We found the underlying issue and will find a fix.


Exception in thread "main" java.net.ConnectException: Connection refused

I'm trying to run the Demo Flutter App on Android device (Pixel 2 API 24, Android 7.0 (using Android Emulator)), but when I press the button it goes:
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
Exception in thread "main" java.net.ConnectException: Connection refused: connect
	at java.base/java.net.PlainSocketImpl.connect0(Native Method)
	at java.base/java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:101)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.base/java.net.Socket.connect(Socket.java:609)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:289)
	at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
	at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
	at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:203)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:189)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
	at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
	at org.gradle.wrapper.Download.download(Download.java:44)
	at org.gradle.wrapper.Install$1.call(Install.java:61)
	at org.gradle.wrapper.Install$1.call(Install.java:48)
	at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
	at org.gradle.wrapper.Install.createDist(Install.java:48)
	at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
	at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Exception: Gradle task assembleDebug failed with exit code 1

What do I do?

Hi @serdaryalkabov, Thanks for filing the issue. Are you having issue running the counter app ? Can you please share the output of flutter doctor -v?
Thanks

Hello @maheshmnj. Yeah, I'm trying to run the counter app. And here is the output of flutter doctor -v:
[√] Flutter (Channel stable, 3.0.3, on Microsoft Windows [Version 10.0.14393], locale ru-RU)
    • Flutter version 3.0.3 at C:\Users\Admin\Downloads\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 676cefaaff (12 days ago), 2022-06-22 11:34:49 -0700
    • Engine revision ffe7b86a1e
    • Dart version 2.17.5
    • DevTools version 2.12.2
                                                                                C
hecking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at C:\Users\Admin\AppData\Local\Android\sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2021.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] VS Code (version 1.67.2)
    • VS Code at C:\Users\Admin\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.42.0

[√] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.14393]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 103.0.5060.66

[!] HTTP Host Availability
    X HTTP host "https://cocoapods.org/" is not reachable. Reason: An error occurred while checking the HTTP host: Удаленный компьютер отклонил это сетевое подключение.

! Doctor found issues in 2 categories.

Thanks for the info @serdaryalkabov, I am unable to reproduce the issue on the latest stable channel 3.0.4. Could you please try running the below command and share the complete logs in a textfile?
flutter create test
flutter pub get
flutter run -v

flutter doctor -v (windows)
[√] Flutter (Channel stable, 3.0.4, on Microsoft Windows [Version 10.0.19044.1706], locale en-IN)
    • Flutter version 3.0.4 at C:\flutter_sdk\stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (4 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\mahesh\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.31727.386
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] VS Code (version 1.68.1)
    • VS Code at C:\Users\mahesh\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.42.0

[√] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 12 (API 31) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.19044.1706]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 103.0.5060.66
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 100.0.1185.50

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

but still i cant solve it

Give solution for ubuntu

I couldn't find solution for this issue, then I run my flutter app through Chrome)


Received a function for a string attribute is

Hi,
After upgrading to 4.3.2 I always catch the warning "Received a function for a string attribute is"
My code example:
const StyledDiv = Flex.extend`
  ...some extra styles
`.withComponent('div')

Thanks in advance

Thanks for reporting this! You shouldn't need the withComponent method since Flex renders a div by default. If you do want to change the underlying element, can you try using the Flex is prop?

Thanks for the quick response :thumbsup:
It works now, but I couldn't find any info about is prop at the docs.

Awesome! And looks like the is props got missed when I updated the docs a while ago, will need to get that back up there 😬  Here are the docs from styled-system, FWIW https://github.com/jxnblk/styled-system/tree/master/system-components#changing-the-underlying-html-element

Anyway, thank you for your quick help)


This resource is no longer available under v1 APIs

I am using your library from a Firebase function (firebase linked in sample from github)
After calling the 'me' method
linkedin.people.me(async (error, userResults)
I am getting this object in userResults
{ errorCode: 0,
  message: 'This resource is no longer available under v1 APIs',
  requestId: 'T81DX5FAEW',
  status: 410,
  timestamp:<PHONE_NUMBER>928 }

Expected user ID, name, photo, etc.

yeah it's trying to use v1 of the API which linkedin removed in March 2019 so I think you might need to try to use
 npm install --save https://github.com/captainjackrana/node-linkedin
and adjust accordingly.
im doing it now actually so might make a PR for it


Update 7702 Tests for Devnet-3

Addressing the following spec changes:
https://github.com/ethereum/EIPs/pull/8677
https://github.com/ethereum/EIPs/pull/8679
https://github.com/ethereum/EIPs/pull/8686

Reopening to list some test cases that are pending.


chaos-operator-ce always resulting in crashloop backoff.

What happened:
I tried to create a http 500 fault for the HTTPBIN service (which was deployed using the istio sample here: Http Bin I have the 3.0 version of chaos installed. I have set up the infrastructure and the chaos infra has been configured with "cluster wide access" and not namespace scoped for now.
While running the experiment, it's noticed that the experiment has started, but I am not able to see any status code experiment implementation. On further analysis, it's observed that the chaos-operator-ce is always going through crashloopbackoff as observed in the screenshot.

What you expected to happen:
I would like the http status code experiment to run successfully and obtain the mentioned status code for the duration of the experiment.
How to reproduce it (as minimally and precisely as possible):
Install fresh litmus 3.0.0.
Add infrastructure from UI.
Run any experiment
Observe
Anything else we need to know?:
This is the exact same issue as that of #4180 .

had this same issue on another PC and no amount of uninstall and reinstall fixed the issue at a first glance. It was running minikube for creating its kubernetes cluster.

@ispeakc0de can you PTAL


Cannot make secor work with AWS instance profile

Hi guys,
we are prohibited form using the hardcoded AWS credentials
(that we had been using until now) and trying to make secor work with AWS instance profile or role.
I didn't find any documentation but from the secor.common.properties comment
we infer that we need to leave the credentials blank and set the role name.
`# AWS authentication credentials.
"
Leave empty if using IAM role-based authentication with s3a filesystem.
aws.access.key=
aws.secret.key=
Session token only required if using temporary S3 access keys
aws.session.token=
aws.role=
`
We specified the role name (not sure what to do with aws.session.token) but still get the same error:
2021-02-22 12:55:27,900 [main] (com.pinterest.secor.main.ConsumerMain:87) ERROR Consumer failed java.lang.RuntimeException: Failed to find required configuration option 'aws.access.key'.         at com.pinterest.secor.common.SecorConfig.checkProperty(SecorConfig.java:725)         at com.pinterest.secor.common.SecorConfig.getString(SecorConfig.java:731)         at com.pinterest.secor.common.SecorConfig.getAwsAccessKey(SecorConfig.java:417)         at com.pinterest.secor.util.FileUtil.configure(FileUtil.java:75)         at com.pinterest.secor.main.ConsumerMain.main(ConsumerMain.java:70)
how to make secor use instance profile or role?
thank you for your help!
David

You want to make sure there is nothing set for aws configs.  You might need
to trace the code a little bit for that.  You can also try between
HadoopS3UploadManager.java and S3UploadManager.java
On Mon, Feb 22, 2021 at 5:04 AM David<EMAIL_ADDRESS>wrote:

Hi guys,
we are prohibited form using the hardcoded AWS credentials
(that we had been using until now) and trying to make secor work with AWS
instance profile or role.
I didn't find any documentation but from the secor.common.properties
comment
we infer that we need to leave the credentials blank and set the role name.
`# AWS authentication credentials.
"
Leave empty if using IAM role-based authentication with s3a filesystem.
aws.access.key=
aws.secret.key=
Session token only required if using temporary S3 access keys
aws.session.token=
aws.role=
`
We specified the role name (not sure what to do with aws.session.token)
but still get the same error:
2021-02-22 12:55:27,900 [main] (com.pinterest.secor.main.ConsumerMain:87)
ERROR Consumer failed java.lang.RuntimeException: Failed to find required
configuration option 'aws.access.key'. at
com.pinterest.secor.common.SecorConfig.checkProperty(SecorConfig.java:725)
at com.pinterest.secor.common.SecorConfig.getString(SecorConfig.java:731)
at
com.pinterest.secor.common.SecorConfig.getAwsAccessKey(SecorConfig.java:417)
at com.pinterest.secor.util.FileUtil.configure(FileUtil.java:75) at
com.pinterest.secor.main.ConsumerMain.main(ConsumerMain.java:70)
how to make secor use instance profile or role?
thank you for your help!
David
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pinterest/secor/issues/1873, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYJP77F265ADX7NWVKVFFTTAJI5RANCNFSM4YAPPB7A
.

Henry,
thank you for your advice -
switching to s3a and HadoopS3UploadManager did the trick -
secor started implicitly using instance profile :)

Glad it worked out.  You can also update README on how to setup secor for
AWS IAM roles
On Tue, Feb 23, 2021 at 5:22 AM David<EMAIL_ADDRESS>wrote:

Henry,
thank you for your advice -
switching to s3a and HadoopS3UploadManager did the trick -
secor started implicitly using instance profile :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pinterest/secor/issues/1873#issuecomment-784198805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYJP77QCMK7K6X6RWOK6F3TAOTX7ANCNFSM4YAPPB7A
.

Henry,
I will gladly do update the README file.
How do I do it - via pull request or just attach here?
We put the IAM roles authentication config in production yesterday and since then we see duoble the CPU usage by secor.
We need twice the amount of nodes (had 3 now need 6 or we are falling behind with data being queued up)
The only thing we changed is authentication.
Is it possible the the code checking on re-authentication (AWS token expiration) all the time and causes this CPU drain?
Thank you for your help Henry

You can provide a PR for README file change.
For CPU usage increase, a quick way to verify is usually doing a few thread
dumps while the process is running to see where the CPU is spent most time
on.  Otherwise tools like flame graph or some JVM profiling tool (Yourkit?)
can help too.
On Tue, Mar 2, 2021 at 9:13 AM David<EMAIL_ADDRESS>wrote:

Henry,
I will gladly do update the README file.
How do I do it - via pull request or just attach here?
We put the IAM roles authentication config in production yesterday and
since then we see duoble the CPU usage by secor.
We need twice the amount of nodes (had 3 now need 6 or we are falling
behind with data being queued up)
The only thing we changed is authentication.
Is it possible the the code checking on re-authentication (AWS token
expiration) all the time and causes this CPU drain?
Thank you for your help Henry
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pinterest/secor/issues/1873#issuecomment-789066688,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYJP7ZQ3KHRF7HEW5YJGDDTBUMCLANCNFSM4YAPPB7A
.

Henry,
we run into an issue with secor instance profile in AWS China region.
The S3 code that works in regular AWS breaks in AWS China with this error:
com.amazonaws.services.s3.model.AmazonS3Exception: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: SMY7YNMPSYCKSKNJ
I asked for the clarification from AWS Support, and here is their answer:
"This request is sent to Amazon Global region, not China region;
So let us check the region setting first.
When using resources in China region, we must clearly specify the region information.
I saw you use Amazon Java SDK V1, you could use below code to set the region:
AmazonS3 s3 = AmazonS3ClientBuilder.standard().withRegion(Regions.CN-NORTH-1).build();
"
Would you please check the code,
how easy would it be to patch it up?
Thank you for your help!
David

created pull request https://github.com/pinterest/secor/pull/2095 with instructions on instance profile setup

I merged your PR, looks like you have at least a workaround.
About code code, the place we are creating S3Client is in:
src/main/java/com/pinterest/secor/uploader/S3UploadManager.java
client = new AmazonS3Client(provider, clientConfiguration);

You can take a look to see whether it's possible to pass in the region
information in clientConfiguration or chaining with that withRegion() call
On Wed, Jun 2, 2021 at 3:59 AM David @.***> wrote:

created pull request #2095 https://github.com/pinterest/secor/pull/2095
with instructions on instance profile setup
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pinterest/secor/issues/1873#issuecomment-852930628,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYJP72MJ2HR2W2FEP2A4OLTQYFI7ANCNFSM4YAPPB7A
.


How to return an vector of strings from a function?

Hi Kalx and Thanks for your good work.
I have not succeeded to return vector of strings back to Excel. I enclose a body of my sample code below.
Hope to get hint how to proceed or even better corrected sample.
BR Pauli
AddIn xai_GAS_strings(
Function(XLL_????, "xai_Func_strings", "Func_strings")
.FunctionHelp("Function should return 5 cells in vertical, no input ")
.Category("Test")
);
// typedef typename _FP12 xfp (structure for returning doubles)
xfp* WINAPI xll_Func_strings(){
#pragma XLLEXPORT
static FPX X; // this struct works for doubles not strings
std::string x[5] = { "string1", "string2", "string3", "string4", "string5"};
try{
X.resize(5, 1);
for (xword i = 0; i < 5; ++i){
X(i, 0) = x[i];
}
}
catch (exception& ex) {
XLL_ERROR(ex.what());
return 0;
}
return X.get();
}

The FP data type is only for arrays of numbers. Use the OPER data type for strings.

This was a useful exercise for me, as I am quite new to the library. I do not understand why my example below does not work when the .Arguments call is removed, though.
    using namespace xll;

    xll::OPER WINAPI xll_gh12()
    {
    #pragma XLLEXPORT

        xll::OPER a(2, 1);
        a(0, 0) = "string0";
        a(1, 0) = "string1";

        return a;
    }

    AddIn xai_gh12(
        // Return cells, C++ name of function, Excel name.
        Function(XLL_LPOPER, "xll_gh12", "XLL.GH12")
        // Array of function arguments.
        .Arguments({
	          Arg(XLL_LPOPER, "", "")
	        })
        // Function Wizard help.
        .FunctionHelp("")
        // Function Wizard category.
        .Category("")
        // URL linked to `Help on this function`.
        .HelpTopic("")
        .Documentation(R"xyzyx(
    )xyzyx")
    );

You. Need to make a static and return &a.  An LPOPER is an OPER*

Thank you, @keithalewis !
For completeness:
    using namespace xll;

    xll::OPER* WINAPI xll_gh12()
    {
    #pragma XLLEXPORT

        static xll::OPER a(2, 1);
        a(0, 0) = "Hello,";
        a(1, 0) = "World!";

        return &a;
    }

    AddIn xai_gh12(
        // Return cells, C++ name of function, Excel name.
        Function(XLL_LPOPER, "xll_gh12", "XLL.GH12")
    );


DeviceTelemetry event grid update

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

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-js

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-net
A PR has been created for you:
https://github.com/azure/azure-sdk-for-net/pull/5736
.NET SDK Commits:
https://github.com/adxsdknet/azure-sdk-for-net/pull/5736/commits/862ca433404fc4cfbd5afe8355feae4017fdec1c

Can one of the admins verify this patch?

Couple of open questions-

Can the leaf objects in a swagger document be of object type or have to be primitive type ?
The body can be an object or a string. Does swagger identify string as an object as well ?

@Kishp01 @kalyanaj

Automation for azure-sdk-for-go

Automation for azure-sdk-for-java


EF 7 Wont Save Changes on Entity With Many-to-Many Relationships

I'm not sure if I'm doing something completely wrong (if so, PLEASE let me know!), but I am trying to add to a entity (Devices) which has some relationships using Code First (EF Core).  Here is the model in question:
[Table("Devices")]
public class Device
{
    public int ID { get; set; }

    public string SerialNumber { get; set; }

    public int DeviceModelID { get; set; }

    public virtual DeviceModel DeviceModel { get; set; }

    public ICollection<UnitDevice> UnitDevice { get; set; }

    public ICollection<DeviceTest> DeviceTest { get; set; }
}

It has a 1 to Many relationship from Device to DeviceModel.  DeviceModel is seeded data and that part seems to be OK, no real issues there.  My issue is when I try to add a Device and call SaveChanges I get an error regarding UnitDevice and DeviceTest, duplicate records.  Both UnitDevice and DeviceTest are Many-Many relationships that have 2 composite P-keys.  Here are their models for more context:
DeviceTest:
[Table("DeviceTests")]
public class DeviceTest
{
    public Guid TestID { get; set; }

    public int DeviceID { get; set; }

    public TestResult Test { get; set; }

    public Device Device { get; set; }
}

UnitDevice:
[Table("UnitDevices")]
public class UnitDevice
{
    public Guid SessionZoneID { get; set; }

    public int DeviceID { get; set; }

    public ZonesInSession ZonesInSession { get; set; }

    public Device Device { get; set; }
}

My issue arises when the following code executes:
            foreach(var device in devices)
            {
                if (_deviceRepository.FindBy(x => x.ID == device.ID).FirstOrDefault() == null)
                {
                    _deviceRepository.Add(device);
                    _deviceRepository.Save();
                }
            }

Devices is a in memory List of Device (model can be seen at the top).  In some cases it will throw an error on the save.  One particular example I will provide has the following data in device:
DeviceModel = null
DeviceModelID = 5
DeviceTest = null
ID = 0
SerialNumber = "GIZ0011"
UnitDevice = null
Once this device goes through the .Add(device) the ID is changed to:
ID = -5
The rest of the attributes stay the same, the ID isn't really a concern as I imagine that is just the way EF is 'Adding' and it resolves to the correct ID once it's been saved.  As you can see I am not referencing any UnitDevice objects or DeviceTest objects, they are both null.  Now I am confused as to why when calling SaveChanges on this particular device it throws the following error:
Violation of PRIMARY KEY constraint 'PK_DeviceTest'. Cannot insert duplicate key in object 'dbo.DeviceTests'. The duplicate key value is (69, 480006d2-fc98-4b9f-a561-e84e37ee3df3).
Violation of PRIMARY KEY constraint 'PK_UnitDevice'. Cannot insert duplicate key in object 'dbo.UnitDevices'. The duplicate key value is (f3a0811b-926b-4d8d-8adf-7c3b2c9b3071, 67).
The statement has been terminated.
The statement has been terminated.

I am not adding either of those records to either table and have no idea where these values are even coming from.  The Device with SerialNumber "GIZ0011" does NOT exist in the Devices table, and all I want to do is Insert it there, but it seems there is something preventing that and I'm not sure if it's my fault or a EF 7 bug.
Please help as I'm losing my mind here.  Thanks all!

Just some more context from the Database itself, the Device Table at the time of posting this looks like this:
ID	DeviceModelID	SerialNumber
61	          1	        21
62	          7	        G2H003
63	          9	        0000
64	         10	        0000
65	         14	        TJ003780
67	          2	        21
68	          5	        GIZ0008
69	          6	        GSCS034
70	         14	        TJ002624

Please note that the errors are pointing to 2 different devices, not the device I'm trying to Save... No Idea what the issue is here but I'm having a hard time figuring it out myself.  Any help would be greatly appreciated.

Another thing I'd like to mention here is that if I run through the same data set another time, the device does get saved but nothing at all changes... Confusing, not sure if EF 7 bug, or me.

Hi, thanks for assigning this.  Just want to add some more details I've discovered.  The error is pointing to the previous set of data that was added successfully.  My application iterates through data files and processed them then adds them to the DB.  In this case the DBset for the device repository had items in it from the previous set of data that was processed.  My app will add the device(s) and after that add the UnitDevice.  Once that UnitDevice is added and saved into the db with the unitdevicerepository, the devicerepository DBset items are updated with the new UnitDevice link.  This seems to be the issue, as when I move to the next set of data the errors show up because of that and point to the previous IDs that have already been processed.
Is there a way to clear the DBset?  Any input would help me at this point.  Thanks.

I have discovered the problem and it is with change tracking.
The next block of code that executes is this:
foreach (var unitDevice in unitDevices)
                {
                    if (_unitDeviceRepository.FindBy(x => x.SessionZoneID == unitDevice.SessionZoneID && x.DeviceID == unitDevice.DeviceID || x.Device.ID == unitDevice.Device.ID).FirstOrDefault() == null)
                    {
                        _unitDeviceRepository.Add(unitDevice);
                        _unitDeviceRepository.Save();
                    }
                }

UnitDevice here in memory is similar to device where I don't link objects together, rather I link the ID's.  A exception here is if the Device isn't yet in the DB and since it's auto incremented int it needs to be added before I get an ID.  In this case UnitDevice has a relation in memory to the Device object that was added just before this next block of code executes.  Once the UnitDevices are added to the DB, the devices are updated in the background and EF tracks these changes.  Next time around (on the next set of data) when it hits the devicerepository and tries to save changes it is actually trying to add to the UnitDevice table (also into the DeviceTest table) as the previous device objects have changed.
This may be expected behavior and I am just not used to it.  Because of the way I'm doing this I have decided to turn off change tracking for now.  That has resolved my issue.
My Context class is called TempDBContext and I have added a constructor with the following setting:
        public TempDBContext()
        {
            this.ChangeTracker.AutoDetectChangesEnabled = false;
        }

@ElvisHalil I'm not sure exactly what is going on, but it sounds like you are creating a single context instance and using it over and over. It is usually much better to create a short-lived context instance just for a single unit-of-work. From what you have said, it seems like each call to SaveChanges probably defines a unit-of-work in your case, and so the context should be disposed and thrown away after that--however, I'm making assumptions here without knowing exactly what you need to do. The reason that there are no methods to clear entities out of a context (or DbSet) is that any time you would need to do this it indicates that instead you should dispose your context.

@ajcvickers You are correct!  I was iterating through files within that class where all my units of work are being initialized in the constructor.  I have now moved the iteration piece outside of the class and am disposing my repositories in the constructor (if not null) and re-initializing them.  This now works with track changes turned on.
Thank you!

@ajcvickers You pointed me to the right direction.  It turns out I was using the wrong lifestyle for my DI containers.  They were set to singleton which completely makes sense with my issue.  I have now configured it properly to scoped and there is no longer errors from DB tracking referencing old data.
Thank you!


Topic list not listing subscribed topics

Environment

OS Version: Ubuntu 20.04
Source or binary build?
Source both in Dome and Fortress branches

Description

Expected behavior: ign topic -l to list topics that are being subscribed to
Actual behavior: Does not list topic until it's published then disappears

Steps to reproduce

ign gazebo velocity_control.sdf (this also happens with diff_drive.sdf as well)
Add topic viewer in gui
ign topic -e -t /model/vehicle_blue/cmd_vel
ign topic -t "/model/vehicle_blue/cmd_vel" -m ignition.msgs.Twist -p "linear: {x: 0.5}, angular: {z: 0.05}"

Output

I came across this when I wanted to check the green vehicle's initial cmd_vel and wasn't able to.

This is a known limitation. It hasn't been implemented yet.

Closed #39 as a duplicate. Usually we'd close the newer issue, but I think that one may be a bit too old.

Fixed by https://github.com/gazebosim/gz-transport/pull/379


make is_chained internal only

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-identity


Chore/remove py27

Description of Change
Removing usage of python 2.7 and 3.5 within the library. Removed the compat.py file, mentions of python 2.7/3.5, allowed pyupgrade to make vast majority of changes around formatting that supported python 2.7.
Testing Procedure
PR Checklist
Did you remember to do the below?

[ x] Add unit tests to verify this change
[ x] Add an entry to CHANGELOG.md describing this change
[ x] Add docstrings for any new public parameters / methods / classes

@ryan-haley-code42 sign your life away by posting a comment that says exactly what the bot says in order to have the build pass (you'll only have to do this the very first time you contribute to a code42 github repo).

There are a couple mentions of _compat here that can be removed: https://github.com/code42/py42/blob/04c822254d89f44c7c6fed984143b7bd9091c5da/setup.cfg#L34
and in the CONTRIBUTING file.

I have read the CLA Document and I hereby sign the CLA

In docs/userguids/basics.md, there is line in an example:
print("{0}: {1}".format(employee, notes))

That would be better as
print(f"{employee}: {notes}")

print(f"{employee}: {notes}")

looks like changing this format was missed in quite a few places.
In general is it better to use string interpolation or are there exceptions to use the .format

@unparalleled-js, looks like the .format was left in a few other places as well.
In general is it better to use string interpolation or are there exceptions to use the .format.

I vote for just switching to f-strings everywhere, they're way easier to read.

@unparalleled-js, looks like the .format was left in a few other places as well.
In general is it better to use string interpolation or are there exceptions to use the .format.

I vote for just switching to f-strings everywhere, they're way easier to read.

There are occassionally times when .format() is nicer, but you will see what I mean if that happens!

for removing the .format,
I assume .format is still the best option for when doing string replacement on vars _uri_prefix = "v2/departingemployee/{0}"

for removing the .format,
I assume .format is still the best option for when doing string replacement on vars _uri_prefix = "v2/departingemployee/{0}"

yep, although the 0 isnt necessary -- you can just use {} and the result will be the same.

Alright, I believe I've got all the changes requested.


DatePicker: Fix Min and Max Date Implementations

Description
Fixes #4087.
Fix min and max date to working properly on OpenTo.Month and OpenTo.Year.
How Has This Been Tested?

Types of changes

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

https://user-images.githubusercontent.com/78308169/156442334-5996283b-8f04-4106-aaf5-8315e689ca40.mp4
Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

So here the last news:
@JonBunator i added to show/hide buttons related to min max date, thats a great suggestion.
https://user-images.githubusercontent.com/78308169/159773266-ebdccaa9-f741-40dc-8e9b-a6dff1947fb7.mp4
If its done, i will prepare tests and then merge.

So here is the last news. I think its solid now.
This is the last shape of when we reach MaxDate, next button disappears (same for the month view) and exceed days disabled. We have the reversed version for the MinDate.

In current, DatePicker crashes when we try to go beyond to the max value, its fixed now. (Next button is hidden now, yes, but also fix the code so if there is even a button, it didn't give exception when you click it.)
https://user-images.githubusercontent.com/78308169/159942752-3a8ff8d5-f227-49c7-83bf-d62c839258db.mp4
And what about change date programmatically? Now we disabled that now date changing more than max and less then min have no effect. (This example shows that Min-Max picker value didn't changed although they are all connected by the same value)
https://user-images.githubusercontent.com/78308169/159943209-3945b987-6e6b-49e6-9beb-52c2367bfc03.mp4
So if its good, there are only tests missing.

Hi @mckaragoz Will you complete this or should we close.?

Hi @mckaragoz Will you complete this or should we close.?

This one is nearly ready, i can do the remainings in this week


Add Woodpecker CI support

https://woodpecker-ci.org

@ukd1 :wave: :)

mentioned npm lib already got support: https://github.com/npm/ci-detect/releases/tag/v3.0.0

@6543 all good, merging.


Use app-identifier for payment webhooks

I want to merge this change because it start uses an app.identifier instead of DB's IDs for payment webhooks.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-5891 Payment apps have unpredictable identifiers when listing the available payment methods #9091

FYI: I've tested it locally


Updating the main function

Changes this pull request makes :
Checklist :

[x] I have added the relevant documentation.
[x] My branch is up-to-date with the upstream master branch.
[x] I have fully tested the changes locally.

Development environment
OS: parrot
Python Version: 3

Actually during the change of structure of code in previous PR . The google dork feature was not working becuase it was not there in maiin function . which is fixed now with the PR.

Please look at the changes... Everything is working perfect I am unable to understand where is the issue and what it is ?

@0xPrateek This PR violates the PEP-8 style of keeping two line space between functions. Can you create a fresh PR with the changes that you want to see, and do explain the changes! :)


Will this library update changes, if I write to SQLite from another desktop app ?

I am writing a program in Julia which stores some values in the SQLite database. To listen to those values and see them in realtime, I am considering to write a desktop app. Is there any way that I can listen to every change my Julia program is making in a Flutter desktop app with moor?

The stream mechanism built into moor only works with updates also issued by moor, not with other programs also writing to the database.
However, you could setup some other mechanism like IPC sockets for realtime communication between your Julia program and your desktop app. If your Julia program notifies your app about the tables it changed, you can call markTablesUpdated to update streams listening on those tables.


np.shape incompatible error in style_classifier.py

I'm currently using the following command in command prompt on a PC to train the models using the split numpy arrays in ascending order as instructed in the data section of the README: python3 main.py --dataset_A_dir=jazz --dataset_B_dir=classic --type=classifier --model=base --sigma_c=0 --sigma_d=0 --phase=train --which_direction=AtoB
My data is in the np.shape (1, 64, 84, 1), as specified, but the gaussian noise being added is not of the right dimension in style_classifier.py. Is my data in the wrong format? What needs to be changed? Thanks!

No worries, I understand! I was wondering if you had any spare time to do it now?

Hi @sumuzhao do you still have the pretrained model weights?


global: avoid using "doc_type" for aggregations/bookmarks

Since document types are pending deprecation in upcoming ElasticSearch versions, it would be better to move event aggregation/bookmark document types to their own indices.

This one has been addressed on previous sprint by @ChiaraBi

Addressed in https://github.com/inveniosoftware/invenio-stats/commit/0fe253265663e1461b724bafa0b2c36f56b9f932


update selenium webdriver and include system specs in CI

What

Updated the selenium webdriver to fix the capybara erorr
Included the system specs in CI flow

@apoorv1316 System spec is running now in Github action, please fix the failing tests.
Raw logs ref.

@apoorv1316 Can you please check this and action upon it accordingly.


Suggestion: dropdown with search

For first: wow! contratulations! spectre seem to be a really nice piece of code :)
My suggestion is to add a dropdown with search like here https://semantic-ui.com/modules/dropdown.html scroll to (search selection). Though I'm not sure if it's even possible with CSS, but spectre shows that everything seems possible :+1:

I think your need is https://picturepan2.github.io/spectre/components.html#autocomplete
You'd need to combine that with some JS in order to facilitate the data backing the drop down though. AFAIK there's no way to link up a <select> with a textbox outside of JS.


Update actions-class.js

Fixed javascript error when Action Sheet is not created with buttons parameter
Fixed Issue #2219

Great, thanks! But can i kindly ask you to fix the eslint issue?:

75:25  error  Expected '!==' and instead saw '!='  eqeqeq

Thanks and fixed the !==

Thanks


Doesn't work with yaml aliases and refs properly :(

Example:
definitions:
  example: &an_example
    type: object
    properties:
      id:
        "$ref": "#/attributes/id"
      name:
        "$ref": "#/attributes/name"
  example_list:
    type: array
    items: *an_example

Fails on verify step, because prmd inserts /definitions in all refs, but in case of yaml aliases, they will be the same object in memory, and prmd will mutate same strings twice, effectively making aliases look like:
{
  "$ref": "#/definitions/definitions/definitions/attributes/name"
}

Which is sad.
It is probably pretty easy to fix, so I will try to take a stab on it, when I have some time.

Interesting. I've never used yaml aliases before.


Workaround MESOS-8171 by setting failover_timeout to non-zero in tests

JIRA Issues: MARATHON-7793

This will make our test cleanup cycle slightly slower. Overall, though, considering how frequently we hit the infinite loop issue, we are not that much slower.
We cannot use a value of 0 until MESOS-8171 is resolved.


added missing evaluation of model_base_variable for step files

the truth is in the code ;)

Thanks for your PR.


Request to host package

This issue was originally filed by<EMAIL_ADDRESS>
https://github.com/prujohn/Buckshot

This issue has been moved to dart-lang/pub#140.


change error class

Ticket:
https://arsenaltech.atlassian.net/browse/EC-32747

here it change styling for the font for the validation message globaly
here i have replace error class from "text-red-500" to "help-text-error"

Merged to develop branch with https://github.com/arsenaltech/nova-fields/pull/23


CSS grammer in endless loop

Refs: #57309

Open repl.css
Below line 6 type
@import
Notice error in console: [1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing

@aeschli This are two minimal cases:
@import

.foo {}

@import u

.foo {}

The grammar for @import hasn't changed, it's that the updated vscode-textmate that's throwing this error.

Reference: https://github.com/Microsoft/vscode-textmate/issues/12
I modified the original grammar so that the begin part of media-query-list captures some whitespace and prevents this warning.

I still get this with the latest insiders following my exact stpes from above -> reopening

Posted my response at https://github.com/Microsoft/vscode-textmate/issues/12#issuecomment-424462782 and moved it to October. I think the problem is vscode-textmate, instead of the grammar:

Let's say you have a grammar with begin and end with \G, which are word boundaries that don't consume space, and an inner rule to consume foo
Given the text foo, I would expect the matches to be <begin-rule><inner-rule><end-rule>
Instead, vscode-textmate matches <end-rule> at the left word boundary again, thus creating an infinite loop and showing the warning
I don't want to change all my grammar rules from \G to \G(?=.), so it has a peek-ahead of 1 char that matches any character, like this commit: https://github.com/Microsoft/vscode/commit/ccd3c1f94e64f7798ddf30d187274bd8905593fd

No longer repros. Closing.


how to reuse write text on image

Hi, i have a drawing canvas & i want text to appear to my canvas. i have did that but after clicking on done, gives me error
Process: smartboard.fyp.com.smartapp, PID: 7731
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup)' on a null object reference
    at com.raed.drawingview.DrawingView.getLayout(DrawingView.java:712)
    at com.raed.drawingview.DrawingView.addText(DrawingView.java:663)
    at com.raed.drawingview.DrawingView.addText(DrawingView.java:650)
    at smartboard.fyp.com.smartapp.MainActivity$20.onDone(MainActivity.java:736)
    at smartboard.fyp.com.smartapp.TextEditorDialogFragment$2.onClick(TextEditorDialogFragment.java:116)
    at android.view.View.performClick(View.java:5210)
    at android.view.View$PerformClick.run(View.java:21328)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5551)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)

How did you add text on canvas?

same as you are doing in this sample app, i'm using this lib for drawing on that designView i want this to show text.

It's hard to say anything from this log. Can you post your code how you are doing this?

closing due to inactivity


Print binary path for asset filtering

Sometimes I have to use multiple assets from a release to have that software up and running. For example when using https://github.com/Nukesor/pueue I have to use pueue and pueued.
My issue is, that on update I cannot see whether I have to choose pueued or pueue, often ending up in a state where the server binary is the client binary and vice versa.
Therefore the intention of this PR is to print the binary path to be able to make an informed decision.

My issue is, that on update I cannot see whether I have to choose pueued or pueue,

This is correct, but I think this should be solved better instead of prompting the user what to do. For example, if I do bin update pueue, bin should already know which binary was installed before and shouldn't ask again to pick a new binary.
This is related to this: https://github.com/marcosnils/bin/issues/200


Added support for cordova 3, added png mimetype

Hello, your plugin is nice. But, it doesn't have support for cordova 3, so... I added it.
Greetings.

Hey guys i'm not able to find the FileOpener plugin in build.phonegap.com, can you please help me out how to find the plugin

Have you tried this
http://stackoverflow.com/questions/19873812/phonegap-build-plugins-not-working
?
On Mon, Mar 30, 2015 at 6:37 AM, Akhilesh Patil<EMAIL_ADDRESS>wrote:

Hey guys i'm not able to find the FileOpener plugin in build.phonegap.com,
can you please help me out how to find the plugin
—
Reply to this email directly or view it on GitHub
https://github.com/markeeftb/FileOpener/pull/9#issuecomment-87662223.

--
KISS - Keep It Sort and Simple


Update start page content for state pension

This PR supersedes #2182
Updates content on the start page for the state pension calculator.
Expected changes

Calculate State Pension
Should now start with "Use the calculator to:" followed by three bullet points

Other than my minor comments, this looks good to me. :+1:

Have updated the ordering of the artefact and checksum changes and forced pushed to this PR.


Upgrade to ruby 2.7

These are the necessary changes to upgrade to Ruby 2.7
Since there is an automatic way of handling changing ruby versions across govuk apps, I updated it locally, made the changes, but then changed the version back before creating a PR.
The tests will also fail until the Ruby version has been updated
:warning: This application is Continuously Deployed: :warning:

Merged changes are automatically deployed to staging and production.

Make sure you follow the guidance for deployments before you merge.

Check your branch is being deployed in the Release app, after merging.

:warning: This application is Continuously Deployed: :warning:

Merged changes are automatically deployed to staging and production.

Make sure you follow the guidance for deployments before you merge.

Check your branch is being deployed in the Release app, after merging.


test: add selenium tests on webworker

Which problem is this PR solving?
Add regression testing on web workers for https://github.com/open-telemetry/opentelemetry-js/pull/2465 and https://github.com/open-telemetry/opentelemetry-js-api/pull/126.
Type of change

[x] Testing facilities

Checklist:

[x] Followed the style guidelines of this project
[x] Unit tests have been added
[ ] Documentation has been updated

We need a version release on @opentelemetry/sdk-trace-web to get the experimental instrumentation fetch works in the test.


add docker_host attribute to templates to allow talking to a remote n…

add the attribute to support talking to docker over tcp. molecule.yml looks like;
---
dependency:
  name: galaxy
driver:
  name: docker
lint:
  name: yamllint
platforms:
  - name: instance
    image: centos:7
    docker_host: 'tcp://localhost:12376'
provisioner:
  name: ansible
  lint:
    name: ansible-lint
  env:
    DOCKER_HOST: 'tcp://localhost:12376'
scenario:
  name: default
verifier:
  name: testinfra
  lint:
    name: flake8

@tolland can you update the test plays and update the driver documentation.

ping @tolland

Ok, will do...

ping @tolland


Option to debounce version bumps

First off, thanks for all you do. This tool has been a game-changer for my team!
In my experience, it's fairly common for many dependencies to cut versions rather often.
This means that many times a week I am accepting PRs from dependabot to bump versions for the same project.
Sometimes, like happened with the aws-sdk-s3 gem on June 10/11 2020, versions are (rightfully) yanked. As dependabot is so on top of it we ended up in no man's land as happened for others in https://github.com/dependabot/feedback/issues/961
Though the latest and greatest is a good place to be, it would be nice if I could easily wait a configurable amount of days after a release is cut to have dependabot do its magic.
By "debounce" I mean something like an option for dependabot to "wait 2 days without a new version to file a PR"

Closing as a duplicate of https://github.com/dependabot/dependabot-core/issues/3651.


Different hypothesis key generations between sherpa and sherpa-onnx

For sherpa, the hypothesis key is generated using torch::Join
https://github.com/k2-fsa/sherpa/blob/8e3728bf61f54af6a90cd6f9ab37b288f82b9b15/sherpa/csrc/hypothesis.h#L55
Thus, for [0, 4], the key is 0-4.
However, for sherpa-onnx, the hypothesis key has an extra - at the end:
https://github.com/k2-fsa/sherpa-onnx/blob/a12252a01dd74ef10aaae52f1b8ef4415d33242f/sherpa-onnx/csrc/hypothesis.h#L60-L69
Thus, for [0, 4], the key is 0-4-.
I wonder if we should change sherpa-onnx to match sherpa. Please advice.

https://github.com/k2-fsa/sherpa-onnx/blob/a12252a01dd74ef10aaae52f1b8ef4415d33242f/sherpa-onnx/csrc/hypothesis.h#L63
should be
 std::string sep = "";

I wonder if we should change sherpa-onnx to match sherpa. Please advice.

Yes, please make a pull-request to fix it.

@csukuangfj  thanks! I just created a PR https://github.com/k2-fsa/sherpa-onnx/pull/226 for this change.


Investigate making builds more reproducible as per https://reproducible-builds.org/

Consider using the tools suggested over at https://reproducible-builds.org/tools/.

There is a blog entry that could help with this on the Gradle side: https://purpledevcat.com/2018/02/14/reproducible-builds-in-java.html


Table Maintenance

Improve measures to prevent table sizes from getting too large and impacting availability. Code includes configurable max_age for most but not all tables. Should also have a max_size feature to prevent system failing because of capacity limits. Consider event driven tidy-up too, i.e. port goes down, purge any port related data from tables.

Closing as nmeta now uses MongoDB capped collections instead of Python dictionaries. Capped collections are set to stay within a maximum size which obviates need for reaping of old entries.


[Autonomy] Localization using AruCo Marker

Which section of robot code is this for?
Vision (Markers)
Description of feature
Develop code to calculate the robot pose using a camera and OpenCV AruCo Camera:

Build class for AruCo pose estimation
Quantify the error in the pose estimation
Determine allowed operating conditions for AruCo based pose estimation (max angle, max distance, etc.)
Compute transformation from AruCo Coordinates to Robot Coordinates
Build ROS Node to run calculations

Rong and I got an aruco localization node running. Still needs some improvements such as using ROS parameters to configure various settings but a very good start. After those improvements are done, we'll want to test with a variety of board configurations to see which ones produce the best results. We also need to determine how we're going to build and mount the board on the collection bin


fix upload task

The current code has following problem:

the boundary in the content-type and that in body may be different. See #113 .
the CRLF is escaped that CRLF in packet is \x5c \x72 \x5c \x6e instead of \x0d \x0a .

This PR fixes above problems and makes upload works correctly.

I have remove the !!.

OK looks great. I'll merge this!


HADOOP-17576. ABFS: Disable throttling update for auth failures

Contributed by Sumangala Patki
(cherry picked from commit 6f640abbaf14efa98d6c599e5fff95647730ad42)

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
24m 16s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ branch-3.3 Compile Tests _

+1 :green_heart:
mvninstall
35m 52s

branch-3.3 passed

+1 :green_heart:
compile
0m 29s

branch-3.3 passed

+1 :green_heart:
checkstyle
0m 22s

branch-3.3 passed

+1 :green_heart:
mvnsite
0m 33s

branch-3.3 passed

+1 :green_heart:
javadoc
0m 26s

branch-3.3 passed

+1 :green_heart:
spotbugs
0m 57s

branch-3.3 passed

+1 :green_heart:
shadedclient
18m  3s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 28s

the patch passed

+1 :green_heart:
compile
0m 24s

the patch passed

+1 :green_heart:
javac
0m 24s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 16s

the patch passed

+1 :green_heart:
mvnsite
0m 26s

the patch passed

+1 :green_heart:
javadoc
0m 18s

the patch passed

+1 :green_heart:
spotbugs
1m  1s

the patch passed

+1 :green_heart:
shadedclient
17m 48s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
1m 56s

hadoop-azure in the patch passed.

+1 :green_heart:
asflicense
0m 28s

The patch does not generate ASF License warnings.

104m 47s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2885/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2885

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 7622969a9cac 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / 8f215d397e702e6dc5752d0764003556a34a1449

Default Java
Private Build-1.8.0_282-8u282-b08-0ubuntu1~18.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2885/1/testReport/

Max. process+thread count
513 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-azure U: hadoop-tools/hadoop-azure

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2885/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

TEST RESULTS
HNS Account Location: East US 2
NonHNS Account Location: East US 2, Central US
HNS-OAuth

[INFO] Tests run: 93, Failures: 0, Errors: 0, Skipped: 0
[WARNING] Tests run: 512, Failures: 0, Errors: 0, Skipped: 68
[ERROR]   ITestAbfsFileSystemContractSecureDistCp>AbstractContractDistCpTest.testDistCpWithIterator:631 » TestTimedOut
[ERROR] Tests run: 261, Failures: 0, Errors: 1, Skipped: 50

HNS-SharedKey

[INFO] Tests run: 93, Failures: 0, Errors: 0, Skipped: 0
[ERROR] Tests run: 512, Failures: 0, Errors: 0, Skipped: 24
[ERROR]   ITestAbfsReadWriteAndSeek.testReadAndWriteWithDifferentBufferSizesAndSeek:62->testReadWriteAndSeek:78 » TestTimedOut
[ERROR]   ITestAbfsFileSystemContractDistCp>AbstractContractDistCpTest.testDistCpWithIterator:631 » TestTimedOut
[ERROR]   ITestAbfsFileSystemContractSecureDistCp>AbstractContractDistCpTest.testDistCpWithIterator:631 » TestTimedOut
[ERROR] Tests run: 261, Failures: 0, Errors: 3, Skipped: 40

NonHNS-SharedKey

[INFO] Tests run: 93, Failures: 0, Errors: 0, Skipped: 0
[WARNING] Tests run: 512, Failures: 0, Errors: 0, Skipped: 247
[ERROR]   ITestAbfsReadWriteAndSeek.testReadAndWriteWithDifferentBufferSizesAndSeek:62->testReadWriteAndSeek:78 » TestTimedOut
[ERROR]   ITestAbfsFileSystemContractDistCp>AbstractContractDistCpTest.testDistCpWithIterator:631 » TestTimedOut
[ERROR]   ITestAbfsFileSystemContractSecureDistCp>AbstractContractDistCpTest.testDistCpWithIterator:631 » TestTimedOut
[ERROR] Tests run: 261, Failures: 0, Errors: 3, Skipped: 40

Note: The timeouts in some of the above tests are commonly observed due to network issues and are not related to this PR.
JIRAs for the timeouts: AbstractContractDistCpTest, ITestAbfsReadWriteAndSeek


chore: making anvil silent again

--silent flag was accidentally lost in this PR. This PR reintroduces it.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

Benchmark results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 43422805 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
223,020
868,112
3,449,336

l1_rollup_execution_gas
842,107
3,595,220
22,204,705

l2_block_processing_time_in_ms
997 (-3%)
3,821 (-3%)
15,046 (-3%)

note_successful_decrypting_time_in_ms
321
972 (-2%)
3,580 (-2%)

note_trial_decrypting_time_in_ms
21.0 (-5%)
:warning: 80.0 (-29%)
138

l2_block_building_time_in_ms
8,803 (-1%)
35,250 (-1%)
147,702 (-1%)

l2_block_rollup_simulation_time_in_ms
6,520 (-1%)
26,150 (-2%)
103,796 (-2%)

l2_block_public_tx_process_time_in_ms
2,244 (-1%)
8,979 (-1%)
43,339

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
:warning: 16,906 (+22%)
30,619 (+1%)

note_history_successful_decrypting_time_in_ms
:warning: 2,658 (+17%)
4,723 (+2%)

note_history_trial_decrypting_time_in_ms
126 (+2%)
147 (-1%)

node_database_size_in_bytes
1,649,337
1,194,486

pxe_database_size_in_bytes
27,188
54,187

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
45.5 (+4%)
56,577
14,745

private-kernel-ordering
22.0 (+3%)
20,137
8,089

base-rollup
868 (+2%)
631,605
811

root-rollup
39.0 (+3%)
4,072
1,097

private-kernel-inner
38.1 (+6%)
72,288
14,745

public-kernel-private-input
49.0 (+5%)
37,359
14,745

public-kernel-non-first-iteration
29.2 (+5%)
37,401
14,745

merge-rollup
0.891 (+2%)
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
8,723
27,094


Page restrictions management

It would be nice to have a way to manage page restrictions, in order to publish a page with viewing and editing permissions restricted to my reviewer, my team and so on.. before to publish to everyone. From Confluence UI i can set permission for a page and its descendents as described into doc official page:

https://confluence.atlassian.com/doc/page-restrictions-139414.html

best regards,
Lorenzo.

Hi
Thanks for feedbacks
This is a interesting feature and I'll evaluate its implementation soon

Hi,
About this feature, I have a doubt on the practical usage. Take the following scenario:

Documentation is Online for users
You update the documentation via the plugin
Documentation is Offline for users
You take 1 day to review the documentation, modify it with your team
You open the documentation for users
Documentation is Online for users

Your user will not have access to the docs from time to time, which is not well.
I suggest the following.

create a homepage that will be for hosting your in development documentation and that is protected and hidden.
create a homepage that will be for hosting your in production documentation and that is accessible.

Test your documentation and only when you are ready, publish it on the production HomePage.


Update project-setup to correct JDK version.

Updated the JDK, as 17 is no longer supported.

I am about to do a PR which also updates the picture above

Just include the picture change in this PR 👍 LGTM otherwise

I am about to do a PR which also updates the picture above

Would it not be handier to add it onto this PR?

Can I even edit this pr here?

Just post the picture here, they can include it 👍

Very well, here you go:

Merci <3

Looks Good 👍

Looks Good² 👍

why does the new screenshot sets the paper-plugin.yml checkbox?
we do not recommend people to use that unless the need it, especially beginners that would use this guide

That is a fair point. That was my bad, as I accidentally had it ticked and forgot about it


spindle group CW and CCW eat RPM digits.

Alpha 11.
Set $30, max spindle speed to 1000, save.
ensure off in spindle group is set.
enter 1000 in the RPM field.
click on CW or CCW. note that RPM has changed to 99.
click Off, note that RPM is still 99.
Clock on CW or CCW, note that RPM has changed to 9

I resarted TSender and was not able to reproduce the behavior.  Not sure what's going on.

It seems like a regression...
How it is supposed to work:
The RPM field has dual functions, when spindle is off it is enabled  and shows the last entered value either from direct input or M3/M4 commands (from the last program run or MDI input). When spindle is running it is disabled and shows the real RPM. If no spindle encoder is attached the real RPM is the programmed speed plus the override value.
I will try to fix this by moving logic from the spindle control to the viewmodel.

New release uploaded, I hope this works as it should.


Last part of the page is one big link

I don't think the last part of the page should be one link. Perhaps you forgot a closing tag.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: aaddaa8d-6e8e-8b12-bcf4-284175238bbe
Version Independent ID: 6e3d847c-badc-904d-0ff5-a66e1fc8bc81
Content: Inspector Installation and Requirements - Xamarin
Content Source: docs/tools/inspector/install.md
Product: xamarin
Technology: xamarin-crossplatform
GitHub Login: @davidortinau
Microsoft Alias: daortin

Hi @wegascee
Thanks for opening this issue. The issue was caused by an updated version of markdig that's used by the docs build system. It handles HTML that's embedded in markdown more strictly. I've updated all the affected pages, and so the issue is now fixed.


Set TMPDIR enviroment variable for dump command

Work-around for cae/zip-library using /tmp directory (which could be inaccesible or to small).
Fixes #1103 and #1878
Ref: https://golang.org/src/os/file_unix.go?s=7617:7638#L255
https://github.com/Unknwon/cae/blob/master/zip/write.go#L169

LGTM

LGTM


Weekly Deliverables for 9/12/16

[ ] Create product backlog

[] Find representative html and Elii
[] Go to Greg Kiar and use happyplotter (but downsampling we should ask Greg)
[] Compute metrics on graph that Greg knows how to compute, where we compute 8
[] Find out the units for the size of the sphere
[] Find out how hard it would be to overlay Atlas
[] Different ways to overlay, consider the centroid, blocks, boundaries (Elii going to want boundaries, or blocks probably).  Boundaries are the eaisiest
[] Computing graph statistics (compute all 8 of the statistics on the top 100,000)
[] Read myCV glocal look at the basic statistics

I don't understand the first bullet?
graph statistics is mentioned twice
regarding "myCV glocal" jovo meant to look at his cv (found at jovo.me), find a paper with 'glocal' in the title, and read it. Make that more clear please

tag me when you've updated it. @toekneesunshine @alee156


Emitters with custom names are not removed from Particles.emitters after destruction

If you create a particle emitter through game.add and set its name property afterwards:
let e = game.add.emitter(0, 0, 500);
e.name = "stars";

When this emitter gets destroyed (for instance when switching states), it is not removed from Particles.emitters.
Particles.add and Particles.remove use the emitter's name as a key in Particles.emitters. Since the emitter was given a default name on creation, and we changed it between invocations of add and remove, Particles.emitters ends up containing a stale emitter.
This is just a minor memory issue; the stale emitters are properly ignored by the update routine since they're not alive anymore.
Here's a jsfiddle demonstrating the issue.

Fix in progress.

Push fixed for review.


Change indention for .Values.env to twelve

In a prior commit the indention for env vars changed by adding an extra indent. Now when setting the following combinations the chart fails to render due to the indention levels of the environment variables being off by one:

.Values.env and .Values.metrics.enabled == true
.Values.sidecar.extraEnv and .Values.sidecar.enabled == true

This changes the indention from 10 to 12 for those two env settings which allows the chart to render
Signed-off-by: Thomas Miller<EMAIL_ADDRESS>Thank you for making node-red ⚙ better
Please reference the issue this PR is fixing.
Also verify you have:

[X] Read the contributions page.
[X] Read the DCO, if you are a first time contributor.
[X] Read the [code of conduct](Code of Conduct).

Hi @tmiller
Thanks for the contribution! Can you do following points before I can merge your PR:

Signed the PR with `git commit --amend --signoff'

Update the version in the chart.yaml to 0.21.3 and add the reason for the change artifacthub.io/changes

Thanks and awesome catch of the indentation! 👍

Hi @tmiller,
Thanks for the contribution. I checked the indents and fixed them in the deployment.yaml as the envs there where off. -> #207


[feature request] add postgres-instance provisioner based on postgres provisioner

In some cases, the workload expects to receive an admin user credentials for a database host and the app will create it's own database within the instance. We usually call this an -instance resource and it has the same outputs except that it provides the root user and password and without the database/name output.
This should be based on the same shared state as the existing postgres provisioner.

Good example with Backstage indeed, thanks for capturing this!

@astromechza , as a side note here, in the score-k8s's default provisioner, the implementation is different. I'm wondering in which direction we should go: like current score-k8s (i.e. allowing the postgres to create databases)? or like recommended in this current issue by adding a new postgres-instance but them have this consistent in score-k8s for consistency?
Also, quid of mysql, mssql, etc. where we should go with this approach too for consistency?


[HUDI-7144] Build storage partition stats index and use it for data skipping

Change Logs
Build storage partition stats index and use it for data skipping. Main changes are as follows:

Index is saved as another partition in the metadata table.
Each index entry is a key-value, where key is the hash(columnName).concat(hash(partitionName)), and value is the stats.
New configs in HoodieMetadataConfig and the writer changes are in HoodieBackedTableMetadataWriter with some util methods in HoodieTableMetadataUtil
On the read path, main changes are in HoodieFileIndex. First, the partition pruning happens as usual, then depending on data filters, data can be skipped further if partition stats index is available.

Impact
Stats aggregated by storage partition. Efficient data skipping. Meta sync need not sync the partition metadata. Queries will use the index while planning in the driver.
Risk level (write none, low medium or high below)
medium
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

I made one skim of the changes. Can you reply on my previous review comments? esp on tests.

I made one skim of the changes. Can you reply on my previous review comments? esp on tests.

@vinothchandar Thanks for the review. I have addressed all your comments. The test was passing two commits ago. I am looking into the failures. But, it's good to review.

creaete a issue to track it https://issues.apache.org/jira/browse/HUDI-7829


EGL init failed

I'm running the preprocessing script on a remote machine with headless rendering, and I get outputs like this:
Unable to read texture 'texture_7'
Unable to read texture 'texture_8'
EGL init failed
EGL init failed

resulting in no .npz files produced in the data folder.
As far as I understand, the textures are not needed for sampling, so we can safely ignore the warning. But I have no idea where the EGL issue comes from. I have the following modules loaded on the machine:
  1) StdEnv      3) libpng/1.6.34   5) mesa/18.3.6    7) nanoflann/1.2.3   9) python/3.8.5  11) glew/2.0.0  13) libtiff/4.0.10  15) lz4/1.9.3
  2) gcc/8.2.0   4) eigen/3.3.9     6) cmake/3.20.3   8) openblas/0.2.20  10) cuda/11.2.2   12) libjpeg/9d  14) ffmpeg/3.2.4    16) zstd/1.3.0

Could pls someone help? Thanks!

Hi, I also encountered this problem. Have you solved it?

Hi, I also encountered the same issue when running the code on the remote server with X11 enabled. I finally manged to solve this by following instructions here.
Further explanation is that your remote server has linked to the incorrect EGL library. Thus, the solution is to:

Find your nvidia EGL/GLX/OpenGL library (*.so files) in /usr/lib.
Pre-load the *.so files.

For my remote machine, I managed to correct the issue by putting all these into a bash file and run it:
export PANGOLIN_WINDOW_URI=headless://
export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libEGL.so"  # pre-load EGL
export MESA_GL_VERSION_OVERRIDE=3.3  # correct GLSL version
python preprocess_data.py ...


Set the right navigation baritem and red point dot does not display

use you demo code,my app display red point.code is
barHub = [[RKNotificationHub alloc] initWithBarButtonItem: self.barButtonItem];
barHub.count = 6;
[barHub showCount];

this is likely to do with how UINavigationBar boxes the buttons. it's very difficult to work with custom views in UINavigationBar, so unfortunately it's out of scope of this project. i'm happy to accept a pull request if a solution is found


Roll a die not working

Jarvis does not reply when messaging "roll a die".

I looked through the code, does it need to specify what kind of die? Or did I miss something? (This is my first time with this kind of thing so sorry if it's wrong)

Hey @bigyankarki, thanks for reporting this issue. It has now been fixed! 😄


[Question]: How many symbols can be requested for StockBarsRequests at once and is it asynchronous?

Question form pre-submit checklist.

[X] I have searched the existing issues to ensure there isn't already an issue about this question.
[ ] My question has to do with the Python SDK and isn't a general question about the API. (If it is please open your issue here)
[X] My question isn't about how to do a specific algorithm or asking for trade advice (answers to these are outside the scope of this repo).

Question
How many symbols can be requested for StockBarsRequests at once?
For example, the following codes request Bars for AAPL and GOOG
request_params = StockBarsRequest(
                        symbol_or_symbols=["AAPL", "GOOG"],
                        timeframe=TimeFrame.Day,
                        start=datetime.strptime("2022-07-01", '%Y-%m-%d')
                 )

And is it asynchronous?

Hi you can learn about any data limits here
https://alpaca.markets/data
and currently the calls are not asynchronous.


Wont open after build.

I'm getting
fatal error!
Y0nCug4wcu9k returned-1

I'm currently very busy with employment, but I will be checking this out in due time. Thank you for reporting the issue!

Your welcome ;)


Add support for null conditionals in implicit expressions.

Added case in ImplicitExpression handling to understand question marks.
text?. is special compared to text. because with text. we currently validate content after text. to determine if it's an expression or if it's a period. Now with ?. we always treat it as an expression because ?. is not a useful sentance of any kind.
Added unit tests to validate new implicit expression handling
Added runtime and design time code generation tests to validate null propagation.

#44
Note: Will need to evaluate the editing experience in the editor once VS bits become available due to the complex nature of implicit expressions.

/cc @Eilon @dougbu

:watch:

Updated.

What keyword should work in this context? E.g. Value?.nameof(...) isn't valid.

How is that not valid? If there's a property which happens to be a delegate named nameof it works fine. Same for class, typeof, for etc.

nameof was a bad example in my comment. You can define a delegate or other property / field named nameof or using most other contextual keywords. However the same is not true of class or typeof unless used with in a C# verbatim (@) identifier.
Unfortunately I now see the Razor list of C# keywords (in CSharpKeywordDetector) mixes contextual keywords in with class and other non-contextual keywords. Carry on :frowning:

:shipit: after minimizing testing of the extreme corner case mentioned above.


integrate the database into the search functionality

As a user, I want the search functionality to give "real" results (not dummy values) to find the information I was looking for.

[x] search bar sends db queries
[x] by searching for "Max" I want to see a list of all users named Max, Maximilian etc
[x] by searching for "C.E 1" I want to find our office
[x] bonus: find our office by entering "C E 1" (no special characters needed) (is this hard?)
[ ] (by searching for "Software Architecture" I want to get Prof Hirschfeld, Jens and some of the chair's offices)
[x] the results are labelled as room/location or people (different colors)

very likely that @hpi-swt2/cmjd21 will fix this issue

very likely that @hpi-swt2/cmjd21 will fix this issue
We are working on it. The current implementation does not include the bonus though.
"by searching for "Software Architecture" I want to get Prof Hirschfeld, Jens and some of the chair's offices" - Does the database include entries that allow this?

search results are labeled  by icons


Renaming test file

Coverage remained the same at 85.551% when pulling ef19ac106c97753320bf08efbcf33d7ebf1476d6 on gabrieldemarmiesse:renaming_test_file into f45586400042cab88ae692116b1d697a174be6e3 on IDSIA:master.


refactor(dbm-services): 模拟执行从制品库下载指定账户密码

关联研发信息
dev_branch: refactor/dbsimulation_curl_with_account/#2657
target_branch: v1.3.0


Add observable API for fetching rows

Hey,
This is a suggestion for a solution to #703.
You don't have to merge this PR, but I'd like to use it as an opportunity to present the kind of API that I'd like to see for #703.
Some notes:

ReadRowsStreamObservableRetryListener is almost a straight up copy of ReadRowsRetryListener. A few things could be shared here.
StreamObservable probably should not live in the scanner package.
Cancellation of an in-flight request is not supported, but could be accomplished by returning a future from void observe() which can be handled, all though it would not be possible to use io.grpc.stub.StreamObserver in that case (all though I believe that you should probably wrap that API regardless).

Why do you want to use ReadRowsResponse as the observed object rather than FlatRow?  ReadRowsResponse is meant as an object for wire-protocol efficiency rather than something that's generally usable for applications.

We can implement a simplified decoding procedure that could also give better performance, because:

We generally filter to a single row and column family.
We know exactly what the upper bound size is for a given cell.
We can do clever things because of our use-case, like speculatively aggregate incoming data (that can be dropped on a reset) to reduce total live memory util at any given time.

But the main reason was that it was the simplest to implement (that would allow for experimenting with the above), and would finally allow us to move forward on #703. I agree that the chunks API is not very ergonomic for general use.

FWIW, #703 was the reason we built ReadRowsRetryListener.  I am actively working on this issue.
FlatRow should perform well (in 0.9.5) for most cases.  We improve the performance of the RowMerger algorithm quite a bit in the up coming release.  I would really rather not expose ReadRowsResponse unless all other options were exhausted; most users wouldn't know what to do with it.  I am mulling over other alternatives other than FlatRow that will allow for a streaming experience within a Row.
For now, I'd still like to build an observable interface on FlatRow for the next release in early January.  We can build a more robust streaming cell experience if needed after that.  Does that sound reasonable?

Hey,
Right now there is no usable tier 1 client unless you want to generate grpc stubs yourself. But then you lose out on some of the behavior implemented in this client (retries, connection pooling). From our perspective we need to at least have immediate access to a stream of ReadRowsResponse for a comparison. If this client doesn't provide it we'll have to build something dedicated specifically to our tests. Exposing a low level interface somehow would be beneficial for us in this regard.
Whatever experience we garner related to this might help inform future interface design?
But, the biggest beef right now is not having asynchronous result scanning. If that would come in the form of StreamObservable<FlatRow> it would be a big leap forward compared with today.
On a side note: how and when would you encounter resets? This is probably something we'd like to instrument since it seems like it would directly effect latency (i.e. plot a comparison between latency over resets/s?). Are there any schema designs/write/read patterns one can employ to avoid this?

+1 on having an async observer.  We're working on it.  The last tricky part is handling the scenario where there could be a mysterious dropped connection, and we need to restart the request.  One way to do it is to require that a deadline is set.  Another is to have a timer that periodically checks that there was a recent streamed response... we'll deal with it.
In terms of resets, those happen within large Rows.  If a row is larger than some size (which is configurable on the server side), it could span multiple ReadRowResponses.  A large cell could also be chopped up into multiple chunks.  If that row changed between ReadRowResponse transmissions, a reset will be issued.
The row has to be large enough to be chunked and the row has to change via a Mutation in order to get a reset.

Why do we need StreamObservable?  Can't we just pass in a StreamObserver in a method in BigtableDataClient?

@sduskis Yeah that should work. Then the method could immediately return a handle that allows for cancellation.

@udoprog, can you please see here to confirm that the changes make sense in your context?

Closing this.  If there's more we need to do, can you please open an issue or another PR, please?

@sduskis Sorry, missed the first poke. It looks good!


console.log usage

I think using console.log to for testing is not a good pattern. I'd love to clean this up a bit if you accept #3 and #2.

See #1. I'm thinking of getting rid of the console logs. They shouldn't be a concern of this module. I'm thinking of just removing the logs and emitting retry. The consumer of the module should log whatever they want using the callback or retry event. Agreed?

Yes, that would be ideal solution I think. Do you have any thoughts on when you want to do this?


Package request: carburetor

Project description
Carburetor isn’t your just average app — it’s a sleek graphical interface carefully crafted for Tractor, using the cutting-edge GTK4 and Libadwaita tech. Initially aimed at simplifying life for GNOME enthusiasts on their mobiles, Carburetor’s magic isn’t limited to small screens. Surprise! Desktop users, you’re in luck too. Carburetor lets you set up a TOR proxy hassle-free, without getting your hands dirty with system files.
Metadata

homepage URL: https://tractor.frama.io/carburetor/
source URL: https://framagit.org/tractor/carburetor
license: gplv3
platforms:  linux

Add a :+1: reaction to issues you find important.

I took a stab at this. It depends on a cli app called tractor that's not in the nixpkgs as well.
It's not complete yet. I'll send a draft PR.
have you used it on another distro?
I get this error while running it:
Traceback (most recent call last):
  File "/nix/store/fs3k5s2f2nryipy4d6vgn7qwlijj8l37-carburetor-4.5.1/bin/.carburetor-wrapped", line 6, in <module>
    from carburetor.carburetor import main
  File "/nix/store/fs3k5s2f2nryipy4d6vgn7qwlijj8l37-carburetor-4.5.1/lib/python3.11/site-packages/carburetor/carburetor.py", line 13, in <module>
    gi.require_versions({"Adw": "1", "Gtk": "4.0"})
  File "/nix/store/40cddha2iiqzbqd6dpal3rlrgvb4p0yc-python3.11-pygobject-3.48.2/lib/python3.11/site-packages/gi/__init__.py", line 145, in require_versions
    require_version(module_name, module_version)
  File "/nix/store/40cddha2iiqzbqd6dpal3rlrgvb4p0yc-python3.11-pygobject-3.48.2/lib/python3.11/site-packages/gi/__init__.py", line 122, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Adw not available

No, sorry. I hope to be able to get a tor web-browser on my nixos phone (arm).

No, sorry. I hope to be able to get a tor web-browser on my nixos phone (arm).

cool 👍
I'll try it again in the weekend to see if I can get it working.
btw, are these the only devices supported by nixos mobile? https://mobile.nixos.org/devices/

I guess but I'm not sure.
I'm trying on the very oldd original Pinephone and works very well. I'm very impressed, it's smoother than mobian.

I get this error while running it:
Traceback (most recent call last):
  File "/nix/store/fs3k5s2f2nryipy4d6vgn7qwlijj8l37-carburetor-4.5.1/bin/.carburetor-wrapped", line 6, in <module>
    from carburetor.carburetor import main
  File "/nix/store/fs3k5s2f2nryipy4d6vgn7qwlijj8l37-carburetor-4.5.1/lib/python3.11/site-packages/carburetor/carburetor.py", line 13, in <module>
    gi.require_versions({"Adw": "1", "Gtk": "4.0"})
  File "/nix/store/40cddha2iiqzbqd6dpal3rlrgvb4p0yc-python3.11-pygobject-3.48.2/lib/python3.11/site-packages/gi/__init__.py", line 145, in require_versions
    require_version(module_name, module_version)
  File "/nix/store/40cddha2iiqzbqd6dpal3rlrgvb4p0yc-python3.11-pygobject-3.48.2/lib/python3.11/site-packages/gi/__init__.py", line 122, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Adw not available

It uses libadwaita, so you need it to be present.


Use the K8s iptables wrapper everywhere

This will allow us to drop the host mount requirement on all pods.
This requires using Fedora; UBI images don’t carry both iptables
variants. We’ll need to resolve this at some point, but for now
dropping the host mount seems more useful.
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

Before we go ahead, Let's talk to @SteveMattar how will we make this work in downstream. In downstream won't we depend on having the ability to install also nft/legacy iptables?

is iptables-nft = nftables ?

Before we go ahead, Let's talk to @SteveMattar how will we make this work in downstream. In downstream won't we depend on having the ability to install also nft/legacy iptables?

is iptables-nft = nftables ?

It’s nftables-backed iptables: it provides a backwards-compatible iptables command, using nftables in the kernel (via libnftnl).

Thanks for the explaination @skitt . Do you think I need it even though we know openshift 4 runs on coreos and rhel8 ?

Thanks for the explaination @skitt . Do you think I need it even though we know openshift 4 runs on coreos and rhel8 ?

If we know it’s all RHEL 8, then no, we don’t need this, we can install RHEL 8 iptables directly.

@skitt does the provided iptables-wrapper-installer.sh script support both packages?

@skitt does the provided iptables-wrapper-installer.sh script support both packages?

It requires both packages. For RHEL 8 we’ll have to only install iptables, without the wrapper script.

@skitt does the provided iptables-wrapper-installer.sh script support both packages?

It requires both packages. For RHEL 8 we’ll have to only install iptables, without the wrapper script.

ok, that makes sense to me, it's the part of the plan that wasn't clear. In that case it would work because the iptables/kernel will always match.
Did I get it right @skitt ? if so, please feel free to merge.

@skitt does the provided iptables-wrapper-installer.sh script support both packages?

It requires both packages. For RHEL 8 we’ll have to only install iptables, without the wrapper script.

ok, that makes sense to me, it's the part of the plan that wasn't clear. In that case it would work because the iptables/kernel will always match.
Did I get it right @skitt ? if so, please feel free to merge.

Yes, for Red Hat supported scenarios we’d only be using nftables now, and installing the iptables package from RHEL 8 in our downstream images, without any wrapper, will do the right thing and work as-is with the existing code.

The timed out E2E (operator, globalnet, libreswan) job actually had a (slow) failure I think?
https://github.com/submariner-io/submariner/pull/1186/checks?check_run_id=2123186424#step:3:2512


fritz-exporter: 2.4.3 -> 2.5.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for fritz-exporter is: Prometheus exporter for Fritz!Box home routers
meta.homepage for fritz-exporter is: https://github.com/pdreker/fritz_exporter
meta.changelog for fritz-exporter is: https://github.com/pdreker/fritz_exporter/blob/refs/tags/fritzexporter-v2.5.0/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.5.0 with grep in /nix/store/ibq7bjysfzwam1frqzmxvy2wparavyvl-fritz-exporter-2.5.0
found 2.5.0 in filename of file in /nix/store/ibq7bjysfzwam1frqzmxvy2wparavyvl-fritz-exporter-2.5.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
fritz-exporter

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ibq7bjysfzwam1frqzmxvy2wparavyvl-fritz-exporter-2.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A fritz-exporter https://github.com/r-ryantm/nixpkgs/archive/1aa4a9eee06c4fc36f55f0d32b7642ac1c2a0d69.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/1aa4a9eee06c4fc36f55f0d32b7642ac1c2a0d69#fritz-exporter

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ibq7bjysfzwam1frqzmxvy2wparavyvl-fritz-exporter-2.5.0
ls -la /nix/store/ibq7bjysfzwam1frqzmxvy2wparavyvl-fritz-exporter-2.5.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

fritz-exporter
fritz-exporter.dist

Maintainer pings
cc @nycodeghg for testing.

there's already an existing PR which includes this update: #295417


Can't access connection in Google Colab

Hello,
I have some problem with the first script and here are the traceback.

I wonder that did I run in google colab is right? Or I have to run local in pycharm or jupyter notebook?

Sorry but I didn't try this project on Google Colab, and I didn't try it with Jupiter notebook either. My suggestion is to run this project directly on a Ubuntu server. Hope it help.

Thank you so much.


Use Bad Request error code instead of server error.

This might be pedantic but since all of these errors come from invalid request data, wouldn't 400 be a better indicator that this is the requester's fault and not repository_sync's?

Nice.


older versions unable to be built

Hi,
I'm unable to build a container with a slightly older version of a product:
docker build --build-arg VERSION=5.1.1 -t pingidentity/pingaccess:5.1.1 .
This resolves the URL https://s3.amazonaws.com/gte-bits-repo/pingaccess-5.1.1.zip which presents:
<Error>
AccessDenied
<Message>Access Denied</Message>
<RequestId>6E15465AC3BFB8A8</RequestId>
<HostId>
ktG8hMr+16SeByBzJocLudePtLBIfUE/ZVxh7Wb7Ttq6+eqIRlLJnhiew1zyobeXDm11xrV3/uA=
</HostId>
</Error>

Are the product distributions available within the S3 bucket?

We're working towards supporting all product versions .2 and up at the moment.
The ability to build multiple versions is only a facility to continue building .2 when a more docker-friendly .3 release is out in June '19.
We patched run.sh to be able to run the products in their current incarnation but we are not looking at back-porting it .1


cloud build: double the timeout, now 1 hour

Builds of external-snapshotter sometimes timed out because it builds
three images and that takes almost half an hour (the previous limit)
and more if the network is slow.
There's no good way to set timeouts per repo and a too high timeout
for shouldn't cause any issue, therefore the timeout gets increased
everywhere.
/cc @xing-yang

Examples:

28min (success): https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/canary-external-snapshotter-push-images/1333532812074029056
30min (timeout): https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/canary-external-snapshotter-push-images/1330996023434153984

/release-note-none

/assign @xing-yang

/lgtm


Update Composer dependencies (2023-03-29-00-11)

Visual regression test passed!
View the visual regression test report