set_targets equivalent for setting the sample distribution

Is there an method equivalent to Rim.set_targets() for setting the sample side distributions? As opposed to having them calculated from the data points in the dataframe.
The issue is that I would like to fill in missing cells with some data, to stop the raking algorithm from failing. I realize I can create some "dummy" users in my dataframe but it would be nice to allow for non-integer data.

@sjgiorgi Heya, I am not completely sure what you are trying to do. Do you want to populate empty cells with values in a way that will keep the overall (pre-imputation) sample distribution stable?

Correct.
For example, if I'm adjusting for age (3 bins) and gender (male / female) and I have no males in the second age bin. I could be in a situation where I know I have a highly biased sample and want this cell to be non-empty. I could:

Add in a dummy person who I set to male and middle aged
Initialize the cell (or even all cells) with some non-zero value

(1) is similar to (2) in that it will initialize the cell to an integer value (the number of "dummy people" I have). But in (2) I want to initialize a cell to a non-integer value, for example, a small non-zero number like .0001 (which seems to be standard in the raking literature).

Ok, I get it now. But unfortunately this is not supported in the engine.

After digging into the code more I realized that this wasn't possible. Would be a nice feature at some point though.


fix(perf): This fix rework the ExcludeTagsFilter to reduce a processi…

…ng time
related-to APIM-1603
Description
This fix help to reduce the processing time of the ExcludeTagsFilter.
Before the fix:

After the fix:

Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

use it directly by updating your project with version: 3.1.0-perf-optim-excludetags-SNAPSHOT
download it from Artifactory here

:tada: This PR is included in version 3.1.0-alpha.10 :tada:
The release is available on:

3.1.0-alpha.10
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update news-sdk-python-quickstart.md

Updated NewsSearchApi to NewsSearchClient and it's correct required kwargs

@TheHunter896 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@TheHunter896 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Feedback proposed here are referenced here: #46058


2.x should test also wc-ce=true only & wc-shadydom=true only

Currently tests are run forcing both ShowDOM & CustomElements polyfills. Permutations of ShadyDOM only and CustomElements only should be supported/tested as well

There is no browser that currently supports viable versions of one but not both of these features. For that reason and because running too many test configurations puts excessive load on managing changes since the tests can take too long to run, we're opting not to do this.

Some users may want to use native custom elements with shimmed Shadow DOM since there is more styling flexibility for legacy apps. For this reason we'll go ahead and add this scenario to the testing matrix.

Running tests in this mode causes 4 failures in dom-if that are unlikely to be easily fixed. ShadyDOM moves elements in dom to distribute them. This distribution is seen by native custom elements as insertions/removals that incorrectly provoke extra connected/disconnected callbacks. This is something that the custom elements polyfill avoids when run with ShadyDOM.
This typically does not result in code failing since typically elements must handle being connected/disconnected, but it does cuz extra churn. The failing tests are validating the # of times elements stamped with dom-if are connected/disconnected when the dom-if moves. While it may be possible to fix these specific test issues with tweaks to ShadyDOM, it's not really feasible to solve the problem in general without the custom elements polyfill.


Use single domain call to remove add domains domains

Codecov Report

Merging #1743 into canary will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           canary    #1743   +/-   ##
=======================================
  Coverage   70.96%   70.96%
=======================================
  Files          12       12
  Lines         341      341
=======================================
  Hits          242      242
  Misses         99       99

Continue to review full report at Codecov.

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

Gonna defer this to @javivelasco – the expert on this topic

Test are failing though @joecohens

Re-started the tests!


Attempting to generate Rust models produces an inscrutable error message

Describe the bug
Attempting to generate Rust models produces an inscrutable error message.
How to Reproduce
Version: @asyncapi/cli/0.40.4 wsl-x64 node-v16.15.1
$ asyncapi generate models rust openapi/render_service/v1/render_service.openapi.yaml
Error: EEXIT: 1

Expected behavior
Either successful generation of models in Rust, or some kind of human-readable explanation of what went wrong.

@coriolinus can you share the file for which you are trying to generate the models ?

That file is still closed-source for now, unfortunately.

@coriolinus oh no problem!
can you try the same command with the file mentioned in the asyncapi docs.
this one

That does appear to work:
$ asyncapi generate models rust asyncapi.yaml
Thu 25 May 2023 09:08:03 AM CEST
Successfully generated the following models:
## Model name: AnonymousSchema1
// AnonymousSchema1 represents a AnonymousSchema1 model.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct AnonymousSchema1 {
    #[serde(rename="id", skip_serializing_if = "Option::is_none")]
    pub id: Option<i32>,
    #[serde(rename="lumens", skip_serializing_if = "Option::is_none")]
    pub lumens: Option<i32>,
    #[serde(rename="sentAt", skip_serializing_if = "Option::is_none")]
    pub sent_at: Option<String>,
    #[serde(rename="additionalProperties", skip_serializing_if = "Option::is_none")]
    pub additional_properties: Option<std::collections::HashMap<String, serde_json::Value>>,
}

Though I note that the model isn't quite proper; the #[serde(skip_serializing_if)] annotation handles serialization, but not deserialization. You'd want #[serde(default)] as well so that the model can symmetrically deserialize its serialization output.
Digression aside, it looks like the problem is related to the input file I gave it. It's not syntactic--the Zally linter passed my input file--but something there caused the Rust generator to abort without error messages.

Here's a moderately well minified example which shows the failure:
openapi: "3.0.3" # Use older openAPI spec version due to a bug in Zally: https://github.com/zalando/zally/issues/1230
info:
  title: "Kudos Service"
  description: Keep track of company-internal gratitude.
  version: "0.1.0"

paths:
  "/kudos":
    post:
      operationId: "postKudos"
      requestBody:
        content:
          "application/json":
            schema:
              "$ref": "#/components/schemas/PostKudo"
        required: true
      responses:
        '201':
          description: "accepted kudo"
        default:
          content:
            "application/problem+json":
              schema:
                "$ref": "https://opensource.zalando.com/restful-api-guidelines/models/problem-1.0.1.yaml#/Problem"
      tags:
        - kudos
      security:
        - oauth:
          - kudos.write

components:
  schemas:
    SlackIdentifier:
      type: object
      properties:
        slack:
          type: string
      required:
        - slack

    PostKudo:
      type: object
      properties:
        kudos:
          "$ref": "#/components/schemas/SlackIdentifier"
        from:
          "$ref": "#/components/schemas/SlackIdentifier"
        reason:
          type: string
      required:
        - kudos

This isn't a real service--it comes from a company-internal presentation on OpenAPI--but it demonstrates the failure.

Solving https://github.com/asyncapi/cli/issues/616 will also solve this issue I think (not the wrong models, but just the interaction)

I think this issue is related to #616. Since there is no output on invalid file input currently. I used this file on my local machine with some changes from this PR #618 and it gave this output .

But the CLI should definitely say what's wrong with the input

Yes, @jonaslagoni the issue has been raised regarding this


Option --copy doesnt copy to clipboard

Hi there!
When writing ie
lorem-ipsum 1 sentence --copy, the clipboard remains with the previous content, not the generated sentence.
I'm on Ubuntu 16.04

@gabrielps Do you have xclip installed? If not, what command do you use to copy to the clipboard from your terminal?

As mentioned in the README, Linux support requires xclip to be installed. On Ubuntu, you can install it with apt-get install xclip. Unfortunately, this doesn't work with headless servers. See: http://stackoverflow.com/questions/18695934/error-cant-open-display-null-when-using-xclip-to-copy-ssh-public-key.
If you still have issues (or you have any ideas about how to get around the limitation with headless servers) I'd appreciate hearing about them. Let me know and we can revisit opening this issue if necessary. Thanks!


Dead-end when batching is enabled and a BadRequest thrown

Hello @offa,
Imagine this scenario:

Batching is enabled with a size of, say, N points.
One of the points data is bad and generates a BadRequest from InfluxDb.

Since the exception is not being captured at the library, the buffer won't be cleared (mPointBatch.clear() won't be reached). The client may capture the exception, but it is unable to clear the buffer from the outside.
Upcoming calls to 'write' add the point to the buffer (it has now N+1 points) which is tried to be sent again but, as the (bad) point is still there, the BadRequest is raised again.
This will repeat from there on, until the batch serializes to a packet which size is bigger than INFLUXDB_HTTP_MAX_BODY_SIZE, generating another type of BadRequest exception. A 413 (Request entity too large).
While I don't think it's the responsibility of the library to recover from such a situation by itself (capturing the BadRequest and dropping the current batch), I miss a way to let the client recover from it. For example:

The library exposes a (copy) of mPointBath in, say, a getBatch method.
The library exposes a dropBatch to clear the batch.
The client captures a BadRequest exception, having the opportunity to:

Get a copy of the problematic batch.
Ask the library to clear the current batch.
Set mBatchSize=0 by calling batchOf.
Write the recovered batch (one by one) discarding the BadRequest that will be thrown when the bad point is sent.
Set back the previous mBatchSize.

This way, we have been able to send all but the bad points. Or, if preferred, discard the batch and go on.
Does this make sense to you?

We should avoid to expose to many internal implementation details or state here. Solution 2 sounds good to me, adding a method to clear the batch may become handy in other situations too.

Great. Maybe a hybrid like a std::vector resetBatch() method returning the current state of the buffer wouldn't expose so much of the internals.

Returning a copy of the batch requires a copy and may not be necessary for some use cases. Should the internal batch representation change it needs a transformation into the vector format again.

Branch merged to master.

I close here since the method is available now. Feel free to reopen if there's anything missing. :-)


CI does not check with CuDNN=0

At the moment, our CI does not run any tests with CuDNN disabled. I'd propose to change the CentOS 7 GPU environment to run with CUDA=1 CuDNN=0.

@zheng-da

Definitely a good idea to get at least one build in without cudnn, theres a lot of code paths it would cover.

We should definitely test build. The question is whether we should run the code and how? Some test code can't run without CuDNN as we have experienced in https://github.com/apache/incubator-mxnet/pull/10302

I'd propose to add specific excludes (for these non-runnable tests) to the nosetest call in runtime_functions.sh.
Other options would have been to set an environment variable and check it in the test or catch the CuDNN-not-present-exception and drop it. But I'd not be in favour of those because this would require CI-specific modifications in tests and (in the latter case) could mask valid errors due to CuDNN missing while expecting it to be present.

Seems like we already have such check in the CI pipeline? @marcoabreu

@anirudh2290 already added a stage for it


Unclear Power-Ups Documentation Topics

Things to Document:

"Remove Personal Settings" button only appears when there is private data stored.
Further explain how authorization-status and show-authorization play together and what buttons/UI/UX come with the capabilities.

Fixed: https://github.com/trello/api-docs/pull/74


Thread 1 (Thread 0x7fffec611140 (LWP 99100) "sdl-freerdp"):
#0  __futex_abstimed_wait_common64 (private=128, cancel=true, abstime=0x0, op=265, expected=99106, futex_word=0x7fffddc86910) at ./nptl/futex-internal.c:57
#1  __futex_abstimed_wait_common (cancel=true, private=128, abstime=0x0, clockid=0, expected=99106, futex_word=0x7fffddc86910) at ./nptl/futex-internal.c:87
#2  __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7fffddc86910, expected=99106, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=128) at ./nptl/futex-internal.c:139
#3  0x00007ffff5c96624 in __pthread_clockjoin_ex (threadid=140736914286144, thread_return=0x0, clockid=0, abstime=0x0, block=<optimized out>) at ./nptl/pthread_join_common.c:105
#4  0x00007ffff60e6327 in std::thread::join() () at /lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00005555555893e7 in sdl_client_stop(rdpContext*) (context=<optimized out>) at /FreeRDP/client/SDL/sdl_freerdp.cpp:1412
#6  0x0000555555570eff in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /FreeRDP/client/SDL/sdl_freerdp.cpp:1651
(gdb)

@progxaker the ring buffer stuff is a red herring.
better deactivate that debug option, it is quite useless.
interesting part is that it retries rdstls authentication after accepting the cert.

@progxaker rereading this issue, are you sure the connection did already work?
windows systems starting up sometimes take a very long time before they actually show the login screen (even over RDP, not deterministic most of the time though)

Hi @akallabeth. I think yes, it did, but I'll check again to be sure. Do I understand correctly that it will be enough to just click "Permanent" once the host key window appears and then see if the connection is established, or will FreePRD keep trying to run AVD?

@akallabeth okay, I've tested with an AVD disabled and instantly clicking the "Permanent" button. Everything works as we expect it to.
So, the problem only occurs if a user waits for more than 1 minute (that's what we tested, but a shorter delay is possible) and then clicks the button.
freerdp.log

Hello @akallabeth. Is there any action required of me?

@progxaker well, no.
so can close this as resolved?

@akallabeth yes, you can if you want to close the issue with the wont-fix label.
P.S. The issue is still reproducible.

ok? did sound as resolved from your last statements.

Not really. I stated that if a user clicks the button within a minute, FreeRDP will connect to an AVD instance w/o problem.
But

the problem only occurs if a user waits for more than 1 minute (that's what we tested, but a shorter delay is possible) and then clicks the button.

Screenshots

do you have a log of such a test? (not the successful ones like above)

freerdp-hangs.log

@progxaker thank you.
fyi: better disable the thread debug logs (and be careful which ones to activate) as they might leak sensitive information, make the whole thing unstable and other things.

ok, did improve logging a bit with #10287 to replace magic numbers with readable strings.
anyway, the log includes the following:

OAUTH2 with Browse to: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
trigger VM startup ([arm_handle_bad_request]: Session Host with ID = '[REDACTED]' has been deallocated we are starting the session host for you. Please retry connecting after 5 minutes.) repeated message until reachable
get the new VM certificagte
RDSTLS auth successful
no more data from remote

this is strange as there is no failure indication for authentication in the log so this means it succeeded but then the remote did not initiate the session.
maybe some timeout reached (server side, did you configure something there?) and the connection was already dropped due to being idle?
I guess the connection then terminates after the timeout? (somehow the termination messages are missing from your logs)

maybe some timeout reached (server side, did you configure something there?) and the connection was already dropped due to being idle?

Perhaps, but as far as I understand, at this point (when the certification check failed) we have already initialized the session, all that is left is to wait for Permanent/Temporary signals from a user to continue the connection (at this point, as you could saw in the screenshots in my previous comment, the reconnect window has returned when the websocket viewer window normally appears) or Cancel/Close signals to abort the initialization.
If we don't get any ideas, I might try looking at network traffic.

did you configure something there?

No, I didn't.

I guess the connection then terminates after the timeout? (somehow the termination messages are missing from your logs)

No, I terminated (Ctrl+C) FreeRDP.
Today I clicked "Close" in the reconnect window instead and the latest logs were as follows:

The certificate window appeared.
Click "Permanent".
The certificate window disappeared.
The reconnect window appeared.
Click "Close".

Details
[08:30:59:139] [142009:00022ac0] [WARN][com.freerdp.crypto] - [verify_cb]: Certificate verification failure 'self-signed certificate (18)' at stack position 0
[08:30:59:139] [142009:00022ac0] [WARN][com.freerdp.crypto] - [verify_cb]: CN = [REDACTED]
[08:30:59:140] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [x509_utils_from_pem]: BIO_new failed for certificate
[08:30:59:140] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: The host key for [REDACTED]:3389 has changed
[08:30:59:140] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[08:30:59:140] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
[08:30:59:140] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[08:30:59:141] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
[08:30:59:141] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: Someone could be eavesdropping on you right now (man-in-the-middle attack)!
[08:30:59:141] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: It is also possible that a host key has just been changed.
[08:30:59:141] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: The fingerprint for the host key sent by the remote host is [REDACTED]
[08:30:59:141] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: Please contact your system administrator.
[08:30:59:141] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: Add correct host key in [REDACTED]_3389.pem to get rid of this message.
[08:30:59:141] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: Host key for [REDACTED] has changed and you have requested strict checking.
[08:30:59:141] [142009:00022ac0] [ERROR][com.freerdp.crypto] - [tls_print_new_certificate_warn]: Host key verification failed.
ertificate field type 2, encoding 1 of length 156
[08:30:57:410] [142009:00022ac0] [TRACE][com.freerdp.core.redirection] - [rdp_redirection_read_target_cert]: Unknown TargetCertificate field type 3, encoding 1 of length 20
[08:30:57:413] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_set_negotiation_enabled]: Enabling security layer negotiation: TRUE
[08:30:57:413] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_set_restricted_admin_mode_required]: Enabling restricted admin mode: FALSE
[08:30:57:413] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_enable_rdp]: Enabling RDP security: FALSE
[08:30:57:413] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_enable_tls]: Enabling TLS security: FALSE
[08:30:57:413] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_enable_nla]: Enabling NLA security: FALSE
[08:30:57:413] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_enable_ext]: Enabling NLA extended security: FALSE
[08:30:57:413] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_enable_rdstls]: Enabling RDSTLS security: TRUE
[08:30:57:413] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_enable_aad]: Enabling RDS AAD security: FALSE
[08:30:57:413] [142009:00022ac0] [DEBUG][com.freerdp.core.rdp] - [rdp_client_transition_to_state][0x56a515083280]: CONNECTION_STATE_INITIAL --> CONNECTION_STATE_NEGO
[08:30:58:550] [142009:00022ac0] [DEBUG][com.freerdp.core] - [freerdp_tcp_default_connect]: resetting error state
[08:30:58:550] [142009:00022ac0] [DEBUG][com.freerdp.core] - [freerdp_tcp_default_connect]: connecting to peer [REDACTED]
[08:30:58:580] [142009:00022ac0] [DEBUG][com.freerdp.core.gateway.wst] - [wst_tls_connect]: connecting to [REDACTED] 443
[08:30:58:709] [142009:00022ac0] [DEBUG][com.freerdp.core.gateway.wst] - [wst_handle_ok_or_forbidden]: Got Affinity cookie [REDACTED]
[08:30:58:743] [142009:00022ac0] [DEBUG][com.freerdp.core] - [freerdp_tcp_default_connect]: resetting error state
[08:30:58:743] [142009:00022ac0] [DEBUG][com.freerdp.core] - [freerdp_tcp_default_connect]: connecting to peer [REDACTED]
[08:30:58:772] [142009:00022ac0] [DEBUG][com.freerdp.core.gateway.wst] - [wst_tls_connect]: connecting to [REDACTED]
[08:30:58:897] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_connect]: state: NEGO_STATE_RDSTLS
[08:30:58:897] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_attempt_rdstls]: Attempting RDSTLS security
[08:30:58:897] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_send_negotiation_request]: Adding terminating CRLF to routing token
[08:30:58:897] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_send_negotiation_request]: RequestedProtocols: [SSL|RDSTLS][0x00000005]
[08:30:59:861] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_process_negotiation_response]: RDP_NEG_RSP::flags = { [0x3f] |EXTENDED_CLIENT_DATA_SUPPORTED|DYNVC_GFX_PROTOCOL_SUPPORTED|RDP_NEGRSP_RESERVED|RESTRICTED_ADMIN_MODE_SUPPORTED|REDIRECTED_AUTHENTICATION_MODE_SUPPORTED|UNKNOWN }
[08:30:59:861] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_recv]: selected_protocol: [RDSTLS][0x00000004]
[08:30:59:861] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_attempt_rdstls]: state: NEGO_STATE_FINAL
[08:30:59:861] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_connect]: Negotiated [RDSTLS][0x00000004] security
[08:30:59:861] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_try_connect]: nego_security_connect with PROTOCOL_RDSTLS
[08:30:59:141] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_USEREVENT_RETRY_DIALOG [0x0000800e]
[08:30:59:154] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_USEREVENT_RETRY_DIALOG [0x0000800e]
[08:30:59:154] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_USEREVENT_CERT_DIALOG [0x0000800a]
[08:33:04:923] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:33:04:924] [142009:00022ac0] [DEBUG][com.freerdp.core.rdstls] - [rdstls_set_state]: -- RDSTLS_STATE_INITIAL	--> RDSTLS_STATE_CAPABILITIES
[08:33:04:924] [142009:00022ac0] [DEBUG][com.freerdp.core.rdstls] - [rdstls_set_state]: -- RDSTLS_STATE_CAPABILITIES	--> RDSTLS_STATE_AUTH_REQ
[08:33:04:924] [142009:00022ac0] [DEBUG][com.freerdp.core.rdstls] - [rdstls_set_state]: -- RDSTLS_STATE_AUTH_REQ	--> RDSTLS_STATE_AUTH_RSP
[08:33:04:940] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:33:04:940] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_USEREVENT_RETRY_DIALOG [0x0000800e]
[08:33:04:940] [142009:00022ab9] [DEBUG][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_ERROR] Invalid renderer
[08:33:04:940] [142009:00022ab9] [DEBUG][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_ERROR] Invalid window
[08:33:04:050] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_RENDER] OpenGL shaders: ENABLED
[08:33:04:051] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_RENDER] Created renderer: opengl
[08:33:04:062] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_USEREVENT_RETRY_DIALOG [0x0000800e]
[08:33:04:062] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_KEYMAPCHANGED [0x00000304]
[08:33:04:062] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_KEYMAPCHANGED [0x00000304]
[08:33:04:062] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:33:04:083] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:33:04:094] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:33:04:104] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:33:04:110] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:33:04:127] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:33:04:133] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:04:143] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:33:04:162] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:33:06:601] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:617] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:628] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:642] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:656] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:670] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:684] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:698] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:712] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:726] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:740] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:754] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:767] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:781] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:823] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:836] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:849] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:915] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:928] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:008] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:141] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:154] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:167] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:181] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:193] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:225] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:33:06:231] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:44:32:421] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:44:32:431] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:32:439] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:450] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:460] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:472] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:486] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:500] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:512] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:579] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:592] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:605] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:659] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:672] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:685] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:699] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:33:707] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:44:37:305] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_WINDOWEVENT [0x00000200]
[08:44:37:315] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:37:323] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:37:331] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:37:344] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:37:413] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:37:426] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:38:453] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:38:480] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEMOTION [0x00000400]
[08:44:38:520] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MO
[08:44:38:095] [142009:00022ab9] [ERROR][com.freerdp.core] - [freerdp_abort_connect_context]: ERRCONNECT_CONNECT_CANCELLED [0x0002000B]
[08:44:38:095] [142009:00022ac0] [ERROR][com.freerdp.core.transport] - [transport_connect_rdstls]: RDSTLS authentication failed
USEMOTION [0x00000400]
[08:44:38:980] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_KEYMAPCHANGED [0x00000304]
[08:44:38:980] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEBUTTONDOWN [0x00000401]
[08:44:38:080] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_MOUSEBUTTONUP [0x00000402]
[08:44:38:088] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_KEYMAPCHANGED [0x00000304]
[08:44:38:088] [142009:00022ab9] [INFO][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_APPLICATION] got event SDL_QUIT [0x00000100]
[08:44:38:096] [142009:00022ac0] [DEBUG][com.freerdp.core.nego] - [nego_connect]: Failed to connect with [RDSTLS][0x00000004] security
[08:44:38:097] [142009:00022ab9] [DEBUG][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_ERROR] Invalid renderer
[08:44:38:097] [142009:00022ab9] [DEBUG][com.freerdp.client.SDL] - [winpr_LogOutputFunction]: [SDL_LOG_CATEGORY_ERROR] Invalid window
[08:44:38:098] [142009:00022ac0] [DEBUG][com.freerdp.core.rdp] - [rdp_finalize_reset_flags][0x56a515083280]: [CONNECTION_STATE_NEGO] reset finalize_sc_pdus
[08:44:38:098] [142009:00022ac0] [DEBUG][com.freerdp.core.rdp] - [rdp_client_transition_to_state][0x56a515083280]: CONNECTION_STATE_NEGO --> CONNECTION_STATE_INITIAL
[08:44:38:107] [142009:00022ac0] [TRACE][com.freerdp.api] - [freerdp_channels_process_message]: IFCALL(message->Free) == NULL

maybe some timeout reached (server side, did you configure something there?) and the connection was already dropped due to being idle?

Perhaps, but as far as I understand, at this point (when the certification check failed) we have already initialized the session, all that is left is to wait for Permanent/Temporary signals from a user to continue the connection (at this point, as you could saw in the screenshots in my previous comment, the reconnect window has returned when the websocket viewer window normally appears) or Cancel/Close signals to abort the initialization. If we don't get any ideas, I might try looking at network traffic.

not quite correct.
yes, the target is running at that point in time, but it only initializes a TLS connection (that is the certificate warning you see) and only after that proceeds with RDSTLS authentication on the target.
so now the authentication fails if you proceed after a certain amount of time, so it would be interesting to know the lifetime of these tokens that are exchanged.
since the connection is running from a FreeRDP point of view something server side terminates and does not initialize the real RDP session after the RDSTLS step and does not inform the client about that.
I have to correct my previous statement, I now see where it hangs:

The client sends the auth request in RDSTLS_STATE_AUTH_REQ state
The client never receives a RDSTLS_STATE_AUTH_RSP state message (e.g. success/failure)
the RDSTLS transport tunnel (TLS connection) is not terminating and still valid
the client waits indefinitely for a response

so what we can do here is properly apply connection timeouts in case the server just does not reply and terminate. That would trigger a new connection attempt that might / might not work

Hello @akallabeth. The fix may be working, but now the TLS certification window doesn't appear, and after 15 seconds the connection times out.

@progxaker this looks like you already accepted the certificate?
as for the timeout that is expected if there is no response.

this looks like you already accepted the certificate?

I deleted all certificate before the run.

Just checked to see if the observing behavior is related to the fix.
git revert 66f31e5bb968c3bead7449b86852e14154f479aa
git revert 55258cd9e -m 1

And yes, after reverting, I was able to apply the certificate (the window appeared) and connect to the AVD instance.


[Feature][format] Add avro format for Seatunnel

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
Add avro format for Seatunnel.
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

You can assign it to me

This requirement has been discussed in https://github.com/apache/incubator-seatunnel/issues/3120, please send an e-mail to<EMAIL_ADDRESS>and discuss with community. This issue I will close it, if the result of community it is useful, you can reopen it.


Installation of Menu Builder v2 RC1 fails

During import of solution PPIconMenuBuilderv2_2_0_0_3_managed.zip I'm receiving the following error message:

Please make sure the Upload and Download components are installed into the environment before importing... I was having this issue as the component did not exit in the environment.

All of the 4 solutions were already installed before I tried to import the Menu Builder v2 solution.
Solution PP-Icon Menu Builder <IP_ADDRESS> was already installed in this sandbox environment.
These are the steps I tried next:

Delete the 4 helper solutions

Import all 4 solutions again

Import Menu Builder v2

Deleted PP-Icon Menu Builder <IP_ADDRESS> solution

Import Menu Builder v2

Addendum to the last comment:
I also tried to import the Menu Builder v2 into a completely new and empty trial environment - with the same results.

Thats for the info, I am working on repackaging it with all the components included in a solution file, the current issue is being casused by the download control...

The reason is because the solution exceeds the max size of 29MB. Please repackage the solution to a supported limit.
Reference: https://docs.microsoft.com/en-us/power-platform-release-plan/2019wave2/microsoft-powerapps/new-solution-components-get-full-support#feature-details

I was actually down to one of the Code components and the publishers being mismatched.  I have repackaged the components and created a single solution file.  This should import without issue.. Please let me know if you have trouble.


Merge master branch to prTesting1_201904031022 branch

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

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon1.md
:white_check_mark:Succeeded

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


New CMS banner & navigation

This tackles the following goals:

Makes it clearer what you're looking at (ie the publisher and not the live website), hopefully.
Moves the publisher-only navigation into a consistent place (eg Admin, Testing Space, Sign out)

See https://trello.com/c/3wDmDB3R/880-red-banner-content-description-1

This looks nicer. One quibble would be that the sign out link reaches beyond the end of the search button below (i.e. their right edges aren't aligned). Would be grand if they were. It might also lead to the three central links being aligned more centrally with the 'Ethnicity facts and figures' title, which would look a bit cleaner.

@samuelhwilliams the sign out link is right aligned correctly (to the right edge of the page) but the search box isn't. We should fix that as a separate issue.
As to the middle links, they're currently centre-aligned, whereas the title and nav are left-aligned within a 2/3 to 3/3 column. Does look a bit odd when they're close but not quite aligned, although it's not nearly so bad for non-Admin users (who don't see the Admin link). I think it's ok?

@frankieroberto D'oh. Ok, let's fix the search thing separately, yep. Did you make a ticket for that already?
I think the alignment is fine. It's not perfect, but it's really not the end of the world. 😄 (Unless it's easy to align the title to the centre and it doesn't make the nav links look weird).

@samuelhwilliams see https://trello.com/c/yHCN97l3/36-search-box-should-be-right-aligned-with-the-right-edge-of-the-main-column for the search box alignment issue.
The site title and nav would look weird centre-aligned. Could make the CMS nav left-aligned to the 2/3rds column to match the site title, but I think that might look unbalanced. I'm happy to leave this for now.


Upload symbols

How to upload symbols using API?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e3219989-2e3e-06df-828f-61f0ee264131
Version Independent ID: 15acc773-6d2e-79da-1abe-eaf3e23f5023
Content: Using the Diagnostics API - Visual Studio App Center
Content Source: docs/diagnostics/using-the-diagnostics-API.md
Service: vs-appcenter
GitHub Login: @winnieli1208
Microsoft Alias: yuli1

Hi @imjustabearrr - you can upload symbols via API by following the instructions here: https://docs.microsoft.com/en-us/appcenter/diagnostics/ios-symbolication#app-center-api
Let me know if that works for you!


should be the same PR as before...

...but from the same repository this time, hoping that the checks will not fail
this should allow us to close the RC2 branch and go on with RC3

@gernotstarke up to you to accept and merge the PR of RC2 into RC3 in order to update RC3 to the current state of work

1.0.0-RC-3 should now be the most current branch...


Create TEXT1

Adding a language

[ ] The code displays "Hello World" (tio.run may help for testing)
[ ] I have no association with the language
[ ] There are no copyright issues with this code
[ ] The language has not been added prior to this pull request
[ ] I have updated the README

Link to programming language:

Hello, Git this is my first fork


Native contacts optimization and signac project scripts

Description
Native contacts optimization:

Update the optimization algorithm to use scipy differential evolution (gradient methods don't really work)
Added modified native contact fraction function which uses preloaded coordinates, so we don't have to load files at each iteration
Use a distance tolerance for determining native contacts when scanning trajectories, instead of multiplier (native_contact_cutoff_ratio) for the native distances
As in the new process_replica_exchange_data, decorrelation time for set of native contacts vs time data is chosen to be (mean + x standard deviations), where x satisfies condition that the CDF(x) = (2*n_replica-1)/(2*n_replica)

Signac workflows

Added the master signac script for running the replica exchange workflow (used to generate the results in first paper)

Also fixed a bug with the colors on the replica vs state patch plot representing fraction of time each replica spends in each state.
Todos

[ ] Add the free energy operation to signac script
[ ] Add the bootstrap version of heat capacity calculation and native contacts calculation

Status

[ ] Ready to go

Codecov Report

Merging #112 (a639e1d) into master (6492e7b) will increase coverage by 1.95%.
The diff coverage is 85.37%.

Ok so the bootstrapping for heat capacity, native contacts, and free energy of folding are all working nicely for the purposes of the first cg_openmm paper. Merging all of this.
Will revisit the project signac scripts in a later PR.


Gen2 Quick Access

Is your feature request related to a problem? Please describe.
It is difficult to get to attached Blob Containers, since you have to navigate:
Local & Attached => Storage Accounts => (Attached Containers) => Blob Containers => my_attached_container. It's easy to get lost in the clicking and would be better if it was easier to get to.
Describe the solution you'd like
It would be immensely useful to be able to put the attached blob container into the quick access menu or have a pinned items/favorites section to place these in.

You should be able to do that by right-clicking on the individual blob container and select Add to Quick Access.

Did you run into any problems doing so?

There appears to be no option in the right click menu:

I'm on ASE 1.11.1.

Ah, it's ADLS Gen2 at the container level.  This is currently not implemented.  Adding to Quick Access for ADLS gen2 is only supported at the account level right now, not at the individual container level yet.

Do you have an idea as to when it might be implemented?

No, not at the moment.  We will need to prioritize this together with other customer requests.

The work for this feature has been merged.


Unexpected T_STRING error on fresh install

Describe the bug
I am running though the quick start guide and have required the package and installed via artisan. When I run php artisan migrate I get a syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in TenancyServiceProvider.php line 19:
class TenancyServiceProvider extends ServiceProvider
{
    // By default, no namespace is used to support the callable array syntax.
    public static string $controllerNamespace = '';
                  ^^^^^^

I am running PHP 7.3.22 in a docker container. Is that syntax just incompatible with my PHP version?
Steps to reproduce
composer require stancl/tenancy
php artisan tenancy:install
php artisan migrate
Expected behavior
I expect the migrations to run
Your setup

Laravel version: 6.18.5
stancl/tenancy version: ^3.4

Yeah, that code requires PHP 7.4
Either remove the type hint or upgrade (preferable).

In TenancyServiceProvider.php line 19:

  syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)

I have the same error, I'm using Laravel 8 and PHP7.4


Issue starting osu memory reader

Error Message:
Error:
An assembly specified in the application dependencies manifest (GifToTheBeatDataProvider.deps.json) was not found:
package: 'runtimepack.Microsoft.NETCore.App.Runtime.win-x86', version: '3.1.1'
path: 'System.Diagnostics.Tools.dll'
Error running osu! memory reader:
Error: Command failed: C:\Users\username\OneDrive\Desktop\gif-to-the-beat+v1.0.01\GifToTheBeatDataProvider.exe 7270
Error:
An assembly specified in the application dependencies manifest (GifToTheBeatDataProvider.deps.json) was not found:
package: 'runtimepack.Microsoft.NETCore.App.Runtime.win-x86', version: '3.1.1'
path: 'System.Diagnostics.Tools.dll'
Not sure whats goin on plz halp

Hello,
could you please try replacing that executable (C:\Users\username\OneDrive\Desktop\gif-to-the-beat+v1.0.01\GifToTheBeatDataProvider.exe) with the latest .exe file [here] (get GifToTheBeatDataProvider-full.exe and rename it to remove the -full)

Hello,
could you please try replacing that executable (C:\Users\username\OneDrive\Desktop\gif-to-the-beat+v1.0.01\GifToTheBeatDataProvider.exe) with the latest .exe file [here] (get GifToTheBeatDataProvider-full.exe and rename it to remove the -full)


How will GCE users update from 0.9 to 0.10?

Once we have the Camlistore web wizard instance creator launched and 0.9 is out, how will those users later upgrade to 0.10?

via the launch wizard again? with prompts about upgrades?
via some camlistored driven process? (should that be in 0.9?)
via the GCE web UI, setting some metadata key and restarting? how do they restart the server? from the GCE UI, or camlistored UI?
via ssh? lame.
via gsutil? lame.

We should at least come up with a plan before 0.9 ships, in case we need something in 0.9 to make the 0.9->0.10 upgrade easier, or at least to keep our options more open.
/cc @mpl

On a similar design during startup we compare server-config.json with master-config.json for version.
0.9 = 0.9  nothing to do
0.10 = 0.10  nothing to do
When server-config.json is 0.9 and master-config.json is 0.10 this triggers an upgrade process that makes any database client and server metadata and configuration changes. This comparison proved robust.
Only when folks do unexpected things (and they do) such as restore an older master version, so that server-config is 0.10 and master-config is 0.9 (0.10<-0.9) did we end up with a "hangman".  Here we no instantiate art, we have no idea what has transpired. http://en.wikipedia.org/wiki/Hangman_(game)#/media/File:Hangman.svg
It may be too much to expect web access to camlistore.org/config-master.json or github.com/camlistore/config-master.json and instead check locally and compare .config/camlistore/server-config.json
.config/camlistore/master-config.json

I think we can just make the 0.10 setup wizard find their existing instance, look at its metadata and config in GCS, destroy the VM, and create a new VM with the right metadata to do an upgrade.
I don't think we need to do anything for 0.9.

Makes sense. Good plan on closed #588
https://github.com/camlistore/camlistore/issues/588
Currently, I am pretty sure only a couple of GCE 0.8 cloud launcher
versions are out in the wild. Most Camli launcher instances self-terminate
(or go dormant) after the free Google Cloud Platform developer trial
credits expire. Even a small GCE cpu version costs about $15.00 - $20.00 /
month just on hosting tick over with no monthly read write activity.
If would be nice to figure out how to Kubernetes Camlistore launcher
version to reduce $20 to say $2. I think @brendandburns
https://twitter.com/brendandburns said maybe 20 or more IP addresses per
Kubernetes container (he hadn't tested how many beyond 20-ish). I think
there's a lot of thrifty Moms who care about their kids / fam photos).
Thanks
cliveb.github.io/
On Thu, Dec 24, 2015 at 11:00 AM, Brad Fitzpatrick<EMAIL_ADDRESS>
wrote:

I think we can just make the 0.10 setup wizard find their existing
instance, look at its metadata and config in GCS, destroy the VM, and
create a new VM with the right metadata to do an upgrade.
I don't think we need to do anything for 0.9.
—
Reply to this email directly or view it on GitHub
https://github.com/camlistore/camlistore/issues/588#issuecomment-167150216
.

@cliveb fwiw https://www.scaleway.com/imagehub/camlistore/ is probably less expensive than Google Cloud, at least for the base cost. But I should update it.


Error when applying llvm patch

Hello Debjyoti,
When I follow your instructions in the readme, I encounter an issue when applying the llvm patch (see image below). Did you encounter this issue or do you know a solution for this? Cheers!

Hi,
Let me check this issue and get back to you, if I can replicate it.
Regards,
Debjyoti
Sent from mobile device.
On Tue, 23 Apr 2024, 17:04 Austin-I, @.***> wrote:

Hello Debjyoti,
When I follow your instructions in the readme, I encounter an issue when
applying the llvm patch (see image below). Did you encounter this issue or
do you know a solution for this? Cheers!
image.png (view on web)
https://github.com/debjyoti0891/CoVeriS/assets/56549006/80e4ed0b-7077-45f5-98f7-e3ed42afad07
—
Reply to this email directly, view it on GitHub
https://github.com/debjyoti0891/CoVeriS/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGOZDUKD7H3BVKM4YYY443Y6ZZ6ZAVCNFSM6AAAAABGVEECL6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TSMJSGM4TKMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi, I just checked with the repository, the patch seems to be working. Can you kindly check if the error persists if you start from a fresh clone of the repository?

Hi,
For some reason, this worked although I already tried it twice already before. I got a bit further and am now experiencing a new issue when running the "make -j" command. The output is very large so I will only provide a part of it that is relevant in a text file, it complains that resources are temporarily unavailable. Is this something you are also experiencing?
resource_unavailable.txt

Hi, I think your system might be failing new threads. Try something like make -j 2 to limit usage to two threads and retry. In general, llvm builds take quite significant amount of time.

I have fixed the links. I hope the tutorial was useful.

Hi, tutorial is very useful, thank you! I have another question regarding lowering the example and running it on the SPIKE simulator, I'll open a new issue for this. I consider the current issue as solved so I will close it, thanks again!


Support AUTO expansion of declarations

Adds the following Emacs Verilog-Mode features to the language server:

AUTOINPUT
AUTOOUTPUT
AUTOINOUT
AUTOWIRE
AUTOREG

Also refactors existing code in autoexpand.cc:

enums are now in proper case,
got rid of AutoExpander::Span and AutoExpander::FindInSpan to simplify code,
moved AUTO_TEMPLATE handling into AutoExpander::Module,
in general module symbols are now usually wrapped into AutoExpander::Modules instead of being passed to functions directly.

Heads up that I'll have to push a fix to this code (or open a separate pull) as I missed the case of AUTOINST signals being renamed. Currently this results in new declarations being appended instead of replacing the old ones.

Fixed the re-declaration issue. Also simplified the code a bit.

Codecov Report
Base: 92.96% // Head: 92.99% // Increases project coverage by +0.02% :tada:

Coverage data is based on head (0bdaf5c) compared to base (bfbd203).
Patch coverage: 96.94% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1691      +/-   ##
==========================================
+ Coverage   92.96%   92.99%   +0.02%
==========================================
  Files         352      352
  Lines       25241    25493     +252
==========================================
+ Hits        23465    23706     +241
- Misses       1776     1787      +11

Impacted Files
Coverage Δ

verilog/tools/ls/autoexpand.cc
96.24% <96.94%> (-0.61%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thanks.

Have you also considered all kinds of cases where things could break, or wrong input ?

I'm sure there is some input I haven't considered that will cause trouble. The cases that should work fine are:

Incorrect syntax, which AFAIK results in no syntax tree being generated. In that case we don't even try doing any AUTO expansion.
putting /*AUTOARGS*/ outside a module header, and /*AUTOINST*/ outside a module instantiation. These have no effect outside of these contexts.
Anything the user does between /*AUTO<whatever>*/ and // End of automatics. All that is simply discarded and should not affect the current expansion. AUTO expansion is done based on only the current buffer state, so even if the user writes the whole thing by hand, we treat it the same.
Any time the user changes something that we use for AUTO expansion (e.g. a signal that is auto-connected and then a matching signal is generated in the parent module), we regenerate anything dependent on it.

Probably not all of these are tested thoroughly, so it would still be good to expand the test suite.
One thing comes to mind that is somewhat dangerous. Let's say we have:
/*AUTOINPUT*/
// some auto-generated inputs
// End of automatics

... // some stuff written by the user

/*AUTOOUTPUT*/
// some auto-generated outputs
// End of automatics

If the user deletes the first End of automatics, or even part of it, anything up to the second End of automatics would be considered part of /*AUTOINPUT*/, so it would get replaced on AUTO expansion. We should probably protect against it somehow.


Fully optional false_easting/_northings for all coord systems

As first highlighted in #3626, false_easting and false_northing arguments can be supplied as =None if they are absent from the loaded data. To handle =None for these arguments, an Iris coord system needs to have None as the default value, rather than the 0 supplied in most current cases.
It has been confirmed that these arguments are always optional under the CF conventions. Therefore: the modifications and tests already written for the Geostationary coord system in #3628 should be mirrored for all coordinate systems that include false_easting and false_northing arguments.

It has been confirmed that these arguments are always optional under the CF conventions.

Wellll, not quite .. not till it is agreed + merged !

It has been confirmed that these arguments are always optional under the CF conventions.

Wellll, not quite .. not till it is agreed + merged !

I agree, but the community buy in pretty good on this one; hopefully we'll have it merged soon


While loop unrolling should have a limit

The frontend hangs on input like
always_comb begin
while(1) begin end
end

Implement a user-configurable limit to loop unrolling.

We can have both a loop unroll limit and also a check for when the expression is constant and always true

Added in 569799b, unrolling behavior sampled below
Case 1
module top(input logic [7:0] bound);
	always_comb for (int i = 0; i < bound; i++)
		;
endmodule

goes through
Case 2
module top2(input logic [15:0] bound);
	always_comb for (int i = 0; i < bound; i++)
		;
endmodule

Note the different bound signal size. It raises an error:
src/test_bounds.sv:7:14: error: unroll limit of 4000 exhausted [--unroll-limit=]
        always_comb for (int i = 0; i < bound; i++)
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Case 3
The unrolling of nested loops compounds and is counted together towards the unroll limit:
module top3();
	always_comb
		for (int i = 0; i < 100; i++)
		for (int j = 0; j < 100; j++)
		;
endmodule

src/test_bounds.sv:14:3: error: unroll limit of 4000 exhausted [--unroll-limit=]
                for (int j = 0; j < 100; j++)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/test_bounds.sv:13:3: note: loop contributes to unroll tally
                for (int i = 0; i < 100; i++)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Fix the test failure for TestResourceConditionAnnotations (#88)

TestResourceConditionAnnotations failed on clusters with K8s 1.22+ because the v1beta1 API for the RBAC resources are deprecated and the k8s-api-server only returns one copy of the RBAC resource.
b/240334486

This PR needs to be cherrypicked to v1.13 branch to fix a mono-repo test failure. We need to cherry-pick two commits to avoid cherrypick conflicts. To keep the commit history align with the main branch, there'll be two separate PRs for the two commits. This PR has to be rebased the other one is merged.

/hold
Rebase and unhold until #161 is merged.

/unhold

/lgtm
/approve


structorizer: 3.32-11 → 3.32-12

Description of changes

Updated structorizer
Set an updateScript

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 258160 run on x86_64-linux 1

1 package built:

structorizer


Use a normal GOPATH

Signed-off-by: Andres Medina<EMAIL_ADDRESS>

The package needs changing too for this change.


Some questions and suggestions

1.Change mod version to get mod compatible.

2.Are there plans to add more mod compatibility?Like botania and embers.
3.Kinetic Dynamo and Thermoelectric Generator in Immersive Engineering show 0 IF storage even if they are generating and storing electricity normally.

Ok
I might open a discussion page about compatabilities.
Interesting

All bugs are fixed. I will handle mod integrations after i finish cleaning up codebase. It would be cool if you list the mods to add support and addons that should be merged here.


Fetch Grafana Boards after config.

Description
This PR fixes #273
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

This bug was wrapped in cobwebs.

@dhruv0000 Do remember to write formal commit messages or amend the commit before pushing to remote 🙂 .


Use interfaces when testing conditions so we don't need versioned methods

Downstream PRs

[x] knative/serving - https://github.com/knative/serving/pull/6985
[x] knative/eventing - noop (no usage)
[x] knative/eventing-contrib - noop (no usage)
[x] knative/sample-controller - noop (no usage)
[x] knative/sample-source - noop (no usage)

hmm
/test pull-knative-pkg-unit-tests

knative/eventing doesn't use these helpers so that's done

knative/eventing-contrib doesn't use these helpers so that's done

knative/sample-controller doesn't use these helpers so that's done

knative/sample-source doesn't use these helpers so that's done

@n3wscott PTAL again

/assign @n3wscott

/lgtm

/approve


Feature Request: access to sunset/sunrise in function

This works, but it's complicated to write and follow:
@state_trigger('binary_sensor.dark == "on"')
@time_active("range(sunrise - 120min, sunset + 120min)")
def turn_on_dark():
    turn_on()

@state_trigger('binary_sensor.downstairs_occupied == "on" and binary_sensor.dark == "on"')
def turn_on_occupied():
    turn_on()

@state_trigger('binary_sensor.downstairs_occupied == "off"')
@time_active("range(sunset + 120min, sunrise - 120min)")
def turn_off_notoccupied():
    turn_off()

@state_trigger('binary_sensor.dark == "off"')
def turn_off_notdark():
    turn_off()

@time_trigger('startup')
@state_active('binary_sensor.dark == "on"')
@time_active("range(sunrise - 120min, sunset + 120min)")
def turn_on_startup_dark():
    turn_on()

@time_trigger('startup')
@state_active('binary_sensor.downstairs_occupied == "on" and binary_sensor.dark == "on"')
def turn_on_startup_occupied():
    turn_on()

@time_trigger('startup')
@state_active('binary_sensor.downstairs_occupied == "off"')
@time_active("range(sunset + 120min, sunrise - 120min)")
def turn_off_startup_notoccupied():
    turn_off()

@time_trigger('startup')
@state_active('binary_sensor.dark == "off"')
def turn_off_startup_notdark():
    turn_off()

I would prefer this:
import datetime

@time_trigger('startup')
@state_trigger('True or binary_sensor.dark or binary_sensor.downstairs_occupied')
def set_lights():
    today = datetime.datetime.today()
    start_time = today.replace(hour=5, minute=0) # would like sunrise - 120min
    end_time = today.replace(hour=22, minute=0) # would like sunset + 120min

    if binary_sensor.dark == "off":
        turn_off()
        return

    if start_time < datetime.datetime.now() < end_time:
        turn_on()
        return

    if binary_sensor.downstairs_occupied == "on":
        turn_on()
        return

    turn_off()

However, as you can see in the code comments, there's not an easy way to get to sunrise/sunset offsets.

Here's a way to get sunrise and sunset.  This requires the tzlocal package to be installed.  Unfortunately I can't see a better way to get the local timezone; it's in hass.config.time_zone but that's not exposed in pyscript.  It would make sense for the zone.home component to expose it.
import astral
import datetime
from tzlocal import get_localzone

here = astral.Location(("", "", zone.home.latitude, zone.home.longitude, str(get_localzone()), 0))
sunrise = here.sunrise(datetime.datetime.today()).replace(tzinfo=None)
sunset = here.sunset(datetime.datetime.today()).replace(tzinfo=None)
print(f"sunrise was {(datetime.datetime.now() - sunrise).total_seconds() / 3600:.2f} hours ago")

Thanks! This worked perfectly.
It would make sense for zone.home to expose time_zone. However, there are other useful things in hass.config (like preferred units of measurement, elevation, long/lat (also available in zone.home), location_name, installed components, and HASS url). Perhaps pyscript should expose this as pyscript.hass_config?

Yes, that could make sense. I was also wondering whether I should just expose hass?  Maybe that's too risky.
Or perhaps I should expose hass.config as pyscript.hass.config or simply hass.config, which leaves open the possibility of exposing other hass objects as needed later?

I, personally, wouldn't mind if all of hass was exposed somewhere. Even if it was undocumented. Having that kind of access can certainly break an installation, but, it can also provide the tools for some great ideas that end up being pyscript features eventually.
I like the idea of exposing it as hass.config leaving other options open for the future. And either exposing all of hass as hass or, if you'd prefer to hide it and leave it undocumented, under some other name -- hass_raw perhaps.

@dlashua why not just use the attributes of the entity sun.sun and its attributes?
It's active by default, check the docs integrations/sun
To calculate the needed offsets, use datetime.timedelta

@fleXible that's a good idea. I'll give it a shot. Thanks!

I am leaving this here for others, this will give the local timezone.
datetime.datetime.now(datetime.timezone.utc).astimezone().tzinfo

An alternative way to access datetime object via pyscript:
config = hass.config
timezone_str = config.time_zone

import homeassistant.helpers.template as template
now = template.now(hass)
now_utc = template.utcnow(hass)
timestamp = now.timestamp()

via https://github.com/ALERTua/ha_pyscript_modules/blob/main/entities/ha.py


dbt graph-operations is not mentioned in the dbt run command

Contributions

[X] I have read the contribution docs, and understand what's expected of me.

What page(s) or areas on docs.getdbt.com are affected?
https://docs.getdbt.com/reference/commands/run
What changes are you suggesting?
The page https://docs.getdbt.com/reference/commands/run
should link to the page https://docs.getdbt.com/reference/node-selection/graph-operators
It should say something like:

In order to run model's parents and or children models, see graph-operators

Additional information
No response

👋🏻 @chanansh Thank you for your suggestion. It's a good idea. I have it in our queue, but it might be a while before we get a PR open (we're just building out a team to work on docs). You are also welcome to open a PR to address this.  🙇🏻♀

Working on this for hackathon

is this issue still open @runleonarun ....I see one PR from @brad-meru has already been merged!

Great catch @vishalsingh2972! The automation didn't pick that up, so I'll close this issue out.

Hahah I'd totall forgotten I even contributed to this one. Coalesce 2022 memories...


Any metrics for pull/push container image cost time?

Description
Developers would like to know the pull/push time of an image tag, is any idea to share this metrics in distribution?
btw,  kubelet's support for pulling image cost time is a good job, but it is not applicable to other container clients, such as docker cli/podman cli, etc.

Do you mean how long it takes to pull an image, or when an image was pulled/pushed?
An image is made up of multiple layers, some of which the client may or may not already have, so the registry is limited to what information is can provide - it doesn't know what the client is doing.

So could registry know when the last layer of one image was pulled by client? Is it possible?
Since the manifest would be pulled firstly, then the layers, could registry server get the last layer download time by the signed url?

The client could pull the layers in any order, and may already have some layers and not pull them at all. There isn't a way for the registry to know how it happened.

You can configure registry to emit notifications (aka events) for specific actions: https://distribution.github.io/distribution/about/notifications/
Then process that somehow async; another thing is, the latest release has tracing instrumentation so you can get some info from the captured traces

@milosgajdos  This notification seems to mean the image manifest pulled time. Could we know the whole layers of one image pulled events?

Could we know the whole layers of one image pulled events?

No, we can't and never will be as we can't track every single API request. Distribution is a StATELESS content addressable proxy_. We do not maintain any state. You'll have to assemble the events belonging to the same "PUSH/PULL" async by some processing job.


chat: sending a message doesn't scroll to bottom sometimes

Describe the bug, optionally with screenshots
Sending a message with a ?msg=... always scrolls to the focused msg and not the bottom.
To Reproduce
Steps to reproduce the behavior:

Click a reference link
Then try to send a message in the same channel
Notice window stays scrolled on previous focused message from ref link.

Expected behavior
Window should scroll to bottom when sending a message

Able to repro on master. Also able to do the same without a message selected (no msg query param)

This was actually not closed by #1197, working on a fix for this now


Ignore PRs not against release branch

woodpecker's changelog also contain backports

I think this should already be the case. It first gets all commits of the branch without after the last tag and then gets the PRs for it.


fix duplicate profile

Previously the lowerQualityThanSrc condition would match if the heights were equal, which would result in a duplicate profile because we are then adding a profile with height equal to the input lower down in the function
E.g. you'd end up with a set of profiles like:
				{Name: "360p0", Width: 640, Height: 360, Bitrate: 800_000},
				{Name: "720p0", Width: 1280, Height: 720, Bitrate: 3_000_000},
				{Name: "720p0", Width: 1280, Height: 720, Bitrate: 3_000_001},

MediaConvert errors on this because the output paths clash (due to the duplicate profile name).

@thomshutt just want to check the previous behaviour wasn't intentional, we didn't really want to have two renditions with same dimensions but differing bitrates?


Meilisearch Ruby now expects snake_cased attributes instead of camelCase.

Description
Deprecation warning with current Meilisearch Ruby version says that attributes will need to be snake_case in future versions.
Screenshots or Logs
Attributes will be expected to be snake_case in future versions of Meilisearch Ruby.

Non-conforming attributes: filterableAttributes, sortableAttributes

Could you provide the meilisearch configuration block in your model that is causing this warning?

Here it is, and it is all configuration blocks not just one.
  meilisearch do
    attribute :name, :brand_name, :state_name, :created_at, :region_name, :brand_id

    attribute :state_abbr do
      state_abbreviation
    end

    attribute :store_chain do
      store_chain_name || "Independent"
    end

    attribute :region_id do
      region.id
    end

    filterable_attributes [:brand_name, :state_abbr, :region_name, :region_id, :brand_id]
    sortable_attributes [:state_name, :brand_name, :region_name, :store_chain, :name]
  end

It does not happen to me on a brand new rails app and I cannot tell what could be causing the issue. The camel cased filterableAttributes and sortableAttributes do not appear in the source code at all, and this warning does occur in the test suite even though it has many meilisearch blocks.

When precisely does this happen? After a record is created, when a search is run, when the app launches?
Are you manually adding documents to the ms index anywhere?

What do you mean? I only have the meilisearch blocks on my models
It happens when a record is added or updated
Again what exactly do you mean by manual? With the rails console?

2. It happens when a record is added or updated

Thank you

What do you mean?  Again what exactly do you mean by manual? With the rails console?
By manual I meant doing something like Product.index.add_documents(...) directly (judging from your response you are not doing that). I will look into this and try to reproduce it again.

@coder2000, are you still having the issue after @ellnix's help? Can you confirm your gems (meilisearch-ruby and meilisearch-rails are the latest?

I didn't really help in any way. I tried but could not reproduce it, left the issue open to follow up if and when we refactored the gem.

I'm not seeing this anymore with the latest version of the gem so I will close it.


git clone https://github.com/hanxiaotian/scene_graph_benchmark.git

This might be a wrong path.

This might be a wrong path.

Try:
git clone https://github.com/microsoft/scene_graph_benchmark.git

Thanks! I fixed the repo link.


add processing for ivorysql_ora during make clean

#468

Summary by CodeRabbit

Bug Fix: Updated the date format in to_date function from 'yy-MM-dd' to 'yyyy-MM-dd' in SQL queries, ensuring correct parsing of dates.
Bug Fix: Corrected invalid month values in some insert statements in SQL scripts, preventing errors during data insertion.
Refactor: Altered NLS_TIMESTAMP_FORMAT and NLS_DATE_FORMAT session parameters for changing timestamp and date formats.
Chore: Added contrib/ivorysql_ora directory to the clean, check, and installcheck targets in Makefile.

#461 We also modeified some test cases in this Pull Request to fix the failure of ivorysql_ora extension

#468


Api search endpoints

Added:

user language endpoints
search (instant, filter and subscription) endpoints
topic subscription and filter endpoints

The Travis build is not passing as it will build with the master branch of the core, which is not up to date with the search functions yet.

I have changed most of it, will change the get/post issue in an hour approximately, gotta go now.

Everything should be fixed now @mircealungu

Changed both.


Issue 146 Ghostclick on android with dynamic content

Hi there, this is a patch for several issues that involve ghost clicks on android when content is created with dynamic javascript and bound to a different instance of fastclick.
It uses a configurable function that presents a shared variable to track the last click time, and simply stops any clicks too soon after the previous click.
This only accounts for tap timings, an easy change could be to track the coordinates as well.
I have found that you MUST have a FastClick bound to the document.body for this to be effective.

+1
This pull-request resolve my problems.


added traffic app demo

initial version of the traffic app demo shown in the Building great android app UI and UX's session.

@doneill can you take a look?

@willcrick Added license headers and updated license text to point to this repo.  Will merge.


TinyMCE should not encode special chars

Description of the issue:
https://medium.com/@urbanit/tinymce-orchardcms-f63b7271637c
The solution is to let the default setting, 'named', which means the chars are displayed as is, unless for specific known conversion. This patch defines all invisible and space entities.
More info and a patch are available on Drupal's forum: https://www.drupal.org/node/373542

/cc: @urbanit

My experience indicates that "raw" is pretty much needed for non latin character languages. Otherwise code is unreadable.

This should be added as a conditional statement to the TinyMCE module based on the Content Culture.

NOTE: http://stackoverflow.com/questions/6127277/how-to-determine-if-a-cultureinfo-instance-supports-latin-characters

So, you actually all agree with the suggested solution ;) you just need to read the links content in full.

@Jetski5822 I don't think this is related to the current culture. After all you could e.g. add an accented Hungarian quote to an otherwise English content.

Yes I agree.
but @Piedone - this is Europe, no one speaks Hungarian, everyone speaks English!. :)

Second @Piedone - this should not be conditional based on culture.
Makes sense to me to keep the "named" setting and instead redefine the list of conversions to include a smaller set.

Fixed in this changeset: https://github.com/OrchardCMS/Orchard/commit/188fabe233c3c9ebef04ccd29c1a07e8a520e882


organize classifier naming so it's more clear. right now we need to rename files when we want to test a different classifier

combining with #83


Offline test runs

RPM packaging runs the tests in an isolated VM, without internet.
Currently the following tests need to be disabled because they use the internet.
%pytest -k 'not (test_url_package or test_annotate_option or test_allow_unsafe_option or test_pre_option or test_editable_top_level_deps_preserved or test_editable_package or test_editable_package_vcs or test_generate_hashes_with_editable or test_generate_hashes_with_url or test_input_file_without_extension or test_generate_hashes_verbose or test_filter_pip_markers or test_no_candidates or test_no_candidates_pre or test_stdin or test_get_hashes_local_repository_cache_miss or test_generate_hashes_all_platforms or test_realistic_complex_sub_dependencies or test_locally_available_editable_package_is_not_archived_in_cache_dir or test_generate_hashes_without_interfering_with_each_other)'

A few of them are parameterized (I tried to put them at the front of that list), and they look like they mix online and offline test data, but the entire test method needs to be disabled, resulting in fewer tests that can be run on the test machines.
Others like test_stdin are important functional tests that are needlessly requiring online data, so they need to be disabled.
It would be good to split the parameterized, and revise the tests unnecessarily using online data, and mark any real unavoidable online tests with a pytest marker called 'internet' or 'online' so that I (and other   packagers) could use the following
%pytest -k 'not online'

Hi @jayvdb!
Thanks for filing this. I'd suggest a marker pytest.mark.netrowk, the same as pip uses.

@atugushev 	, can you see any other tests listed that are like test_stdin and are critical smoke tests which should not depend on the internet?
Separate issues are needed for those to be rewritten to avoid network access.

@jayvdb
I would say these tests could be refactored out to remove the dependency on the internet:

test_annotate_option
test_pre_option
test_input_file_without_extension
test_filter_pip_markers
test_no_candidates
test_no_candidates_pre
test_stdin

To refactor the others could be a challenge, especially the VCS related ones.

I've split this issue into #895 and #894. I'll close the issue, feel free to reopen this if you have any questions.

Keep it open until these issues are closed.


In leftnav sort working group by alpha ascending

Currently the working groups are listed by their ID (= time of creation), which is not helpful to the user.

They should be sorted by alpha asc, both above and below the line (indicating where a user is member).

@diegoaad small fix?

Left a comment in the PR as to the appropriateness of my fix

@NolanChan works like a charm. Merged and pushed to STG / DEMO. PROD on next scheduled release.
THANKS!


Knowledge transfer meeting

Organise and run a meeting to ensure that the Imperial team has all the information they need to continue development and operation of the system:

Review of the ops documentation and deployment process
Understanding of changes made during this project
Review the workflow and data model documentation
Discuss future developments and approaches to take

Acceptance Criteria
List the criteria which must be met for the issue to be considered complete

A day of face-to-face (in person or via video call) training (may be broken up over the course of the project)

Notes from the project:

Init job that needs to run 4 times to complete

Code changes review
Admin area and management

@richard-jones to prep an agenda for 15th


[api] JWT auth support

[api] Moving urls into its own module
[docs] API authentication refresh

Note: this is WIP, will add basic Scratchpad API mapping to existing one shortly.
Then we can see for adding a new set and massaging the params/simplifying.


H/autocapitalize travis

DO NOT REVIEW OR MERGE!

Current coverage is 80.71% (diff: 100%)

Merging #170 into master will increase coverage by 0.25%

@@             master       #170   diff @@
==========================================
  Files            16         16
  Lines          1750       1773    +23
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1408       1431    +23
  Misses          342        342
  Partials          0          0

Powered by Codecov. Last update 7f82ae7...95c5050


StandardServer response dont support UTF-8

StandardServer response dont support UTF-8.
Where json_encode function calls, need to add UTF8 support.

How is the current behaviour problematic?

How is the current behaviour problematic?

At this moment we are working on Graphql API and using StandardServer.
We have multilanguage response and cyrillic is not supported.
We can make a temporary solution if graphql-php release is delayed, but preferable avoid temporary solutions.


Enable SSL/TLS and Upgrade to Pro

Hi Support,
How to enable SSL/TLS for web application?
If I want to upgrade to Pro, how to do it? because the price table is dead now.

@Prosfinity You don't say how you've deployed DefectDojo so it's somewhat hard to answer your question about TLS. Without knowing how you deployed, you can look at this docker compose override for TLS:
https://github.com/DefectDojo/django-DefectDojo/blob/master/docker-compose.override.https.yml
and there's also a community contributed example of deploying DefectDojo using TLS and an external Postgres DB at:
https://github.com/DefectDojo/Community-Contribs/tree/master/CentOS-7-deploy

If I want to upgrade to Pro, how to do it? because the price table is dead now.

We just re-vamped the DefectDojo Inc website - I'm not sure what was done with the pricing page but you can always use the "Contact Us" form at https://defectdojo.com/contact
HTH

I am deployed with docker compose.


Update select-domain-to-use-for-email-from-microsoft-365-products.md

Made changes to the navigation
Fixes https://github.com/MicrosoftDocs/microsoft-365-docs/issues/12187

@JohanFreelancer9 Please copy review

@efrene Please merge this PR. Thanks

@tiburd Please merge this PR. Thanks


Is devlake can get data source from csv/excel file?

Is devlake can get data source from csv/excel file?

What source of data would you want? DevLake has push APIs to import custom data.
Of course, we can add csv API for you if necesassary.

thanks a lot, I want to try use csv file as data source.


Fix app template: fetch secret_key_base from the new secrets.yml file

As a developer
In order to take benefit from the community best practices
I want the Rails::API app generator to fetch the app secret_key_base from the new config/secrets.yml file

I will leave this up to Rails but we need to do the right thing depending which Rails version is being used. This https://github.com/rails-api/rails-api/pull/188 is a related issue.

I'm closing this, please provide a PR that fixes the issue delegating the decision to Rails and one that works in all Rails supported versions.

@spastorino Ok, received that, thanks for the pointer and the coordination.


UTF8/ASCII-based parser

We add support inside the library for UTF-8 parsing with some accompanying optimizations.
 The idea here is that if we know that we have a little endian system, we can do some neat optimizations. (The same optimizations are possible under big endian systems, but they may require different code paths.) Given that big endian systems are... rare... to say the least... this seems like a very fruitful thing to do.
It is also very likely that my PR leaves performance on the table.

you guys should chime in if you can

Happy to chime in -- need to familiarize with the code a bit first 😃

@gfoidl Great. Keep in mind that it is a draft. It is not something I would ever merge into the main branch. It is to spur discussions.

I have added span-based public functions so that one could reasonably test these functions.

Tests and benchmarks are in.

@CarlVerret @gfoidl @mburbea
This is now sensible and ready for review.
It includes @LordJZ 's UTF-8 benchmark and now we can compare a function that parses UTF-8 inputs with a function that compares UTF8 so it is fair.
Of course, the real benefit of UTF-8 parsing is that you can "parse in place" if your input was UTF-8 to begin with... instead of having to convert it.

Generally speaking and not just for @gfoidl, pull requests on this branch are invited. I am not assuming that this is the cleanest or fastest implementation.

Well, what I've seen this code looks really good 👍 and I couldn't spot anything to improve (for the SWAR there's a separate issue).
Nice.

@gfoidl  Thanks for the review!

Thanks for tagging and adding UTF8 support so fast! 👍
Any chance to support netstandard2.0? I wanted to run Utf8Json bench, but BitOperations class is not present on netstandard2.0. Also intrinsics usage is not #ifdef-ed in Utils.
I used a "polyfill" below.
Also, is it possible to support an API that takes the starting pointer and returns read count? Such as:
Double ParseNumber(byte* first, out int readCount, chars_format expectedFormat = chars_format.is_general, byte decimal_separator = (byte)'.'),

E.g. in Utf8Json, we know where to expect a double, start at first non-whitespace byte, and consume bytes while they could be a part of a double. We do not know the length in advance. Doing the length calculation before double parsing will be quite expensive. Utf8Parser.TryParse also returns bytesConsumed.
The "polyfill":
  <PropertyGroup Condition="'$(TargetFramework)'=='net5.0' OR '$(TargetFramework)'=='netcoreapp3.1'">
    <DefineConstants>$(DefineConstants);HAS_INTRINSICS;</DefineConstants>
  </PropertyGroup>

        [MethodImpl(MethodImplOptions.AggressiveInlining)]
        public static int LeadingZeroCount(long value)
        {
#if HAS_INTRINSICS
            if (X86.Lzcnt.X64.IsSupported)
                return (int) X86.Lzcnt.X64.LeadingZeroCount((ulong) value);

            if (Arm.ArmBase.Arm64.IsSupported)
                return Arm.ArmBase.Arm64.LeadingZeroCount((ulong) value);
#endif
#if NET5_0
            return System.Numerics.BitOperations.LeadingZeroCount((ulong) value);
#else
            unchecked
            {
                if (value == 0L)
                {
                    return 64;
                }

                int n = 1;
                if ((long) ((ulong) value >> 32) == 0)
                {
                    n += 32;
                    value <<= 32;
                }

                if ((long) ((ulong) value >> 48) == 0)
                {
                    n += 16;
                    value <<= 16;
                }

                if ((long) ((ulong) value >> 56) == 0)
                {
                    n += 8;
                    value <<= 8;
                }

                if ((long) ((ulong) value >> 60) == 0)
                {
                    n += 4;
                    value <<= 4;
                }

                if ((long) ((ulong) value >> 62) == 0)
                {
                    n += 2;
                    value <<= 2;
                }

                n -= (int) ((ulong) value >> 63);
                return n;
            }
#endif
        }

Also, is it possible to support an API that takes the starting pointer and returns read count?

^^^^^^^
+1 !!! That would be extremely useful.

@pkese  @buybackoff
I have opened an issue...
https://github.com/CarlVerret/csFastFloat/issues/61
It should actually be quite easy to return a pointer to the end of the pattern.

@buybackoff

Any chance to support netstandard2.0?

Would you be willing to contribute a pull request?

@buybackoff

Any chance to support netstandard2.0?

Would you be willing to contribute a pull request?

Over this weekend, yes

@buybackoff for your "polyfill" some notes you can keep in mind when you setup the PR.

#if HAS_INTRINSICS isn't needed, as BitOperations.LeadingZeroCount does this implicitely and supported .NET 3.0 onwards
.NET has a software fallback based on De Bruijn sequences that you could use as "inspiration" (license-wise it can be used)

@buybackoff for your "polyfill" some notes you can keep in mind when you setup the PR.

#if HAS_INTRINSICS isn't needed, as BitOperations.LeadingZeroCount does this implicitely and supported .NET 3.0 onwards
.NET has a software fallback based on De Bruijn sequences that you could use as "inspiration" (license-wise it can be used)

Yes, that was some old code I had at hands and always wanted to cleanup to use BitOperations internals instead.

I am going to merge this. It can be improved later.


formCollection view helper doesn't translate value and label

when I used :
echo $this->formCollection($form);

with setting like this :
$serviceManager->get('ViewHelperManager')->get('formcollection')
                          ->setTranslatorTextDomain('myform');

It doesn't show the translated form value and label. possible it because of https://github.com/zendframework/zf2/blob/master/library/Zend/Form/View/Helper/FormCollection.php#L131-L148 that should be placed on https://github.com/zendframework/zf2/blob/master/library/Zend/Form/View/Helper/FormCollection.php#L114-L120 which elements are looped instead of calling one by one because :
$label = $element->getLabel();

is always empty.

duplicate of #5826


Editorial comments from Maureen Barry

Tracking issue for Maureen's edits sent outside of Git

All changes have been implemented.


Molmod update

replacement of paths with variable and minor changes including typos and use of weblogo server instead of command-line

provisioning script of the virtual machine will have to be updated to reflect the environment variables. Separate pull request for this following asap


[CARBONDATA-3644] Support Configuration of Complex Delimiters in Carbon…

… Properties
Why is this PR needed?
Modification reason: In the insert carbontable select from a parquet table processing, if the binary column has the content '\001', like 'col1\001col2', the content before '\001' will be truncated as '\001' is the Complex Delimiter. The problem is that Complex Delimiter can't be configured in the insert flow, which needs to improve.
What changes were proposed in this PR?
Modification content: We add the configuration of complex delimiters in the CarbonProperties, which will be loaded in the LoadOption.
Does this PR introduce any user interface change?

No

Is any new testcase added?

Yes

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1376/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1386/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1397/

LGTM