Visualization API

Mostly copied from a message in slack, but wanted to preserve it here.
Would it make sense to do the statistics/processing to generate the data for the scores and loadings on the server in R, then actually do the viz in the browser?
Some endpoint on the server will take the CSV (or whatever other data frame) and return a list of points in 2D, and the browser can hit that endpoint when it thinks the chart needs to update?   That seems to me like the easiest way to separate responsibilities.
I guess the alternative is to do the analysis in JS, which might require more up-front effort.
cc @waxlamp -- is that how you would do it?

A list of visualizations that could be generated on the server:

PCA Scores
Loadings
Density estimation for before/after normalization (for both sample and feature view)
Box plots for feature view before/after normalization

Some of these, like the box plot, could certainly be generated on the client.  My concern is less about implementing it and more about sharing concerns with the server and what the inputs should be to produce these graphs.

This is a great question. I generally think that generating input data for different visualizations on the server is a good idea. This lets us leverage the Python ecosystem for data analysis, and allow for us to make "dumb visualizations" on the front end that just take the input data and craft it into interactive components. If a visualization component needs to do some kind of light computation internally, then it's a matter of judgment whether to do it directly in JS or create new endpoints, etc., for it to hit in real time as it needs those results.
This discussion also has an impact on what our visualization platforms should be: I have recently been tending to think about "visualization components" as engines to display some vis or another, but dress those up with API for managing how data flows in and out, how they react to "events" elsewhere in the app, and what "events" they themselves can trigger in the app. Delegating data processing to a different part of the system directly supports that style of platform development.
I also think generating visualizations server side is not a bad idea, but it's useful more when there's some static vis that is expected by the community that R or other well known systems can generate easily. The tradeoff is between fancy interactive goodness on the one hand, and less code to generate those visualizations on the other.

Working on generating some static graphs with numpy and plotly.

I've never tried to use plotly on a server before.  It requires some kind of awful integration with a full electron app called orca.  It's truly unsavory.   Going back to matplotlib.

My intuitive thought is that our stack for this app should be a combination of rendering R plots on the server, and delivering JSON and doing JS plots client side using some plotting library like Vega, plotly, etc.
Matplotlib is fine for now but I don't think it will be part of the final solution. We can discuss at 3.

@jeffbaumes I think Jon, Roni, and I are in agreement about that.  My goal here was just to show something in the short term.


Decrease memory settings for GWT compiler

1g is more than enough for these small showcases.
Tested with mvn clean gwt:run

+1 to merge.

master: 7aa1a13d84c3bf88344b98c962be691c0a1e07a1


[Template] Talk proposal

Talk proposal
Title
Simple and concise title that would fit on your first slide.
Description
Describe in detail the topics that will be covered during your talk:

Will specific technos be discussed / presented? If so, which ones?
Will you present a project? If so, is it yours / are you part of the team leading it or not? Is it an open-source project? A commercial project? At what stage of its realization is it? etc...
To what extent do you intend to explore the topics covered?

You can also provide a plan of the presentation by chapter.
Estimated duration
Mention the estimated duration of the presentation: ~20 min, < 10 min, > 30 min, etc...
Required level
Network: X/5
Blockchain: X/5
Cryptography: X/5
General tech knowledge: X/5
Give an idea of the level required to follow the presentation according to the topics covered and the time allocated to present the different technical concepts.
Languages
Indicate here the language in which you wish to make your presentation. If you are willing to do it in several languages, mention the different choices and the community will be able to vote for the one of its choice.
Video recording
[Yes | Yes if possible | No]
Mention here if you absolutely want the presentation to be recorded, if you would prefer it to be recorded if the location allows it (low ambient noise, projection space, etc...) or if you do not want it to be recorded.
The videos will then be made available with their slides in a dedicated section of the p2p.paris website.
Contact
Mention here the necessary information so that the organization can contact: your email address, Matrix or Discord ParisP2P handle, etc....

See #19


create flow and add flow commands

create and add
Create a new OTG configuration item that can be further passed to stdin of otgen run command.
The add variant of the command first reads an OTG configuration from stdin.
otgen create flow                     # Create OTG flow configuration (default)
  [--name string]                     # Flow name (default f1)
  [--tx portname]                     # Test port name for TX (default p1)
  [--rx portname]                     # Test port name for RX (default p2)
  [--ipv4 ]                           # IP version 4 (default)
  [--ipv6 ]                           # IP version 6
  [--proto icmp | tcp | udp]          # IP transport protocol
  [--smac xx.xx.xx.xx.xx.xx]          # Source MAC address
  [--dmac xx.xx.xx.xx.xx.xx]          # Destination MAC address
  [--src x.x.x.x]                     # Source IP address
  [--dst x.x.x.x]                     # Destination IP address
  [--sport N]                         # Source TCP or UDP port. If not specified, incrementing source port numbers would be used for each new packet
  [--dport N]                         # Destination TCP or UDP port (default 7 - echo protocol)
  [--count N]                         # Number of packets to transmit. Use 0 for continuous mode. (default 1000)
  [--rate N]                          # Packet rate in packets per second. If not specified, default rate decision would be left to the traffic engine
  [--size N]                          # Frame size in bytes. If not specified, default frame size decision would be left to the traffic engine
  [--loss]                            # Enable loss metrics
  [--latency sf | ct]                 # Enable latency metrics: sf for store_forward | ct for cut_through
  [--timestamps]                      # Enable metrics timestamps
  [--nometrics ]                      # Disable flow metrics

Environmental variables
Use env variables to define values of the following OTG attributes:
OTG_LOCATION_P1                       # location for test port "p1"
OTG_LOCATION_P2                       # location for test port "p2"

OTG_FLOW_SMAC_P1                      # Source MAC address to use for flows with Tx on port "p1"
OTG_FLOW_DMAC_P1                      # Destination MAC address to use for flows with Tx on port "p1"
OTG_FLOW_SMAC_P2                      # Source MAC address to use for flows with Tx on port "p2"
OTG_FLOW_DMAC_P2                      # Destination MAC address to use for flows with Tx on port "p2"

OTG_FLOW_SRC_IPV4                     # Source IPv4 address to use for flows
OTG_FLOW_DST_IPV4                     # Destination IPv4 address to use for flows
OTG_FLOW_SRC_IPV6                     # Source IPv6 address to use for flows
OTG_FLOW_DST_IPV6                     # Destination IPv6 address to use for flows

With updates from #21.
create and add:
otgen create flow                     # Create OTG flow configuration
  [--name string]                     # Flow name (default f1)
  [--tx string]                       # Test port name for TX (default p1)
  [--rx string]                       # Test port name for RX (default p2)
  [--txl string]                      # Test port location string for TX (default localhost:5555)
  [--rxl string]                      # Test port location string for RX (default localhost:5556)
  [--ipv4 ]                           # IP version 4 (default)
  [--ipv6 ]                           # IP version 6
  [--proto icmp | tcp | udp]          # IP transport protocol
  [--smac xx.xx.xx.xx.xx.xx]          # Source MAC address
  [--dmac xx.xx.xx.xx.xx.xx]          # Destination MAC address
  [--src x.x.x.x]                     # Source IP address
  [--dst x.x.x.x]                     # Destination IP address
  [--sport N]                         # Source TCP or UDP port. If not specified, incrementing source port numbers would be used for each new packet
  [--dport N]                         # Destination TCP or UDP port (default 7 - echo protocol)
  [--swap]                            # Swap default values of: Tx and Rx names and locations; source and destination MACs, IPs and TCP/UDP ports
  [--count N]                         # Number of packets to transmit. Use 0 for continuous mode. (default 1000)
  [--rate N]                          # Packet rate in packets per second. If not specified, default rate decision would be left to the traffic engine
  [--size N]                          # Frame size in bytes. If not specified, default frame size decision would be left to the traffic engine
  [--loss]                            # Enable loss metrics
  [--latency sf | ct]                 # Enable latency metrics: sf for store_forward | ct for cut_through
  [--timestamps]                      # Enable metrics timestamps
  [--nometrics ]                      # Disable flow metrics

otgen create device                   # Create OTG device configuration
  [--name string]                     # Device name (default otg1)
  [--port string]                     # Test port name (default p1)
  [--location string]                 # Test port location string (default localhost:5555)
  [--mac xx.xx.xx.xx.xx.xx]           # Device MAC address
  [--ip x.x.x.x]                      # Device IP address
  [--gw x.x.x.x]                      # Device default gateway
  [--prefix nn]                       # Device network prefix

ENV vars can be used to change some default values instead of specifying those explicitly as parameters
OTG_LOCATION_%PORT_NAME%              # location for test port with a name PORT_NAME, for example:

OTG_FLOW_SMAC_P1                      # Source MAC address to use for flows with Tx on port "p1"
OTG_FLOW_DMAC_P1                      # Destination MAC address to use for flows with Tx on port "p1"
OTG_FLOW_SMAC_P2                      # Source MAC address to use for flows with Tx on port "p2"
OTG_FLOW_DMAC_P2                      # Destination MAC address to use for flows with Tx on port "p2"

OTG_FLOW_SRC_IPV4                     # Source IPv4 address to use for flows
OTG_FLOW_DST_IPV4                     # Destination IPv4 address to use for flows
OTG_FLOW_SRC_IPV6                     # Source IPv6 address to use for flows
OTG_FLOW_DST_IPV6                     # Destination IPv6 address to use for flows


Broken syntax highlight when pasting markdown code (regression)

Issue Type: Bug
With this insider build, the syntax highlight of pasted markdown code is broken.
I did more test and found these

v1.21.1 stable build is fine (for both markdown and js code)
for this insider build, js is fine, markdown is not.
can reproduce with default theme

stable build

insider build

One more detail is that I'm pasting with Snipaste.
When pasting into browser (e.g. mail app), it seems to work well.
 Can you try tracking down which one may be causing this

I just test on my laptop and everything is ok.
But I can still reproduce on another machine although I think there is no difference between them...
So now I think it might not be an issue of vscode. And if I find more info later I will go back here.
Thanks.


Options

if you try and export swagger from api gateway, in the case where you have path params, swagger will give errors "Declared path parameter "[parametername]" needs to be defined within every operation in the path (missing in "options"), or moved to the path-level parameters object"
how does one define path level object in documentation with this plugin? or for that matter options documentation if you're using lambda proxy??

@shawngrona Can't say I can help, though I am interested how your serverless.yml is defined. i.e. with an example of path pararms.

does serverless documentation support path level parameters? https://swagger.io/docs/specification/describing-parameters/#common-parameters-16

here is example of serverless.yml:
 putPreferredLanguage:
    handler: lambda/language.put
    include:
      - lib/cognito.js
    events:
      - http:
          path: app/{appId}/users/{userId}/preferredLanguage
          method: put
          cors: true
          authorizer:
            arn:  arn:aws:lambda:us-east-1:${self:custom.awsAccountId}:function:authorizer-${self:provider.stage}-appAuthorizer
            identitySource: method.request.header.Authorization
            resultTtlInSeconds: 0
          documentation:
            summary: "Set a users preferred language"
            description: "Sets the current users preferred language."
            requestBody:
              description: "The users preferred language"
            requestHeaders:
              - name: "Authorization"
                description: "JWT for the user represented by the userid"
            parameters:
              - name: "appId"
                description: "app id"
                required: true
              - name: "userId"
                description: "user id or 'my'"
                required: true
            requestModels:
              "application/json": "UsersPreferredLanguageRequest"
            methodResponses:
              - statusCode: "204"
                responseBody:
                  description: "The preferred langauge has been set"
              - statusCode: "400"
                responseBody:
                  description: "The langauge provided is not supported. en and es are the only two valid options"
                responseModels:
                  "application/json": "UsersErrorResponse"
              - statusCode: "500"
                responseBody:
                  description: "An error occured while interfacing with AWS resources"

heres what you get from api gateway swagger export on the same:
  '/app/{appId}/users/{userId}/preferredLanguage':
   put:
      summary: Set a users preferred language
      description: Sets the current users preferred language.
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - name: appId
          in: path
          required: true
          type: string
        - name: userId
          in: path
          required: true
          type: string
        - name: Authorization
          in: header
          description: JWT for the user represented by the userid
          required: false
          type: string
        - in: body
          name: UsersPreferredLanguageRequest
          description: The users preferred language
          required: true
          schema:
            $ref: '#/definitions/UsersPreferredLanguageRequest'
      responses:
        '204':
          description: 204 response
        '400':
          description: 400 response
          schema:
            $ref: '#/definitions/UsersErrorResponse'
        '500':
          description: 500 response
      security:
        - appAuthorizer: []
    options:
      consumes:
        - application/json
      produces:
        - application/json
      responses:
        '200':
          description: 200 response
          headers:
            Access-Control-Allow-Origin:
              type: string
            Access-Control-Allow-Methods:
              type: string
            Access-Control-Allow-Credentials:
              type: string
            Access-Control-Allow-Headers:
              type: string

note how the options are missing the path parameter?  if you put this into a swagger editor then it barks about the path parameters missing in options methods

or is there some way to exclude options when exporting a swagger document?  its really not necessary for us in the scope of providing documentation to our app developers

Be nice to get this one fixed... Meanwhile thank you for the snippet above

Is this being worked on ?

It would be great to have if fixed, however it is fair to mention that the script provided helps a lot!
Thanks!

please fix it

please fix it

When can we expect the fix?

It would be great to be able to not having the OPTION endpoints automatically included when exporting the Swagger doc from API Gateway.
This is probably another issue, but the tags for each path are missing for the exported Swagger. We use Swagger integration to define the API paths and have tags defined for better grouping. But the exported Swagger stripped them off. It's a pain having to write another tool to post-process the exported Swagger file..


Cache not updating.

Hi,
After updating the svg directory(priv/svg/flags) with new svg file, I get the following error message:
no function clause matching in DisplayWeb.PageView.svg_image/3
I get this further error description which I believe is the un-updated cache:
Attempted function clauses (showing 10 out of 11)
def svg_image("pointer_down", "devices", opts)
def svg_image("pointer", "devices", opts)
def svg_image("analog_clock", "devices", opts)
def svg_image("CAD", "flags", opts)
def svg_image("CNY", "flags", opts)
def svg_image("ww", "flags", opts)
def svg_image("ZAR", "flags", opts)
def svg_image("NIG", "flags", opts)
def svg_image("EUR", "flags", opts)
def svg_image("USD", "flags", opts)

From what I can see, the newly added files(JPY.svg, AUS.svg) are not listed. Even after reloading the page, restarting the server, or emptying the svg file directory to start all over, I still get the same error message.

YMMY, but the only solution I've found is to run mix clean after adding a new SVG.

Yea, It's cached, so that makes the way to do it.
Thanks.


Add README.md

I have to add a README.md for this project.

+1

Are these for Bali blinds?  Which brand?

@BirdInTheCity Thanks for your comment.
I don't know the brand and it's also not important for my setup (see #2 for more information on it).

Closed by 712e645bad938cd801c48aec327947978bcd2615


Fixed bug with remote function calls returning enum arguments

And covered with additional valid test

Thanks for this PR!! :purple_heart:


Initial stab at dev event tracking (E2E with mixpanel works)

I've got a lot of the shell NEP live here:
https://github.com/nearprotocol/NEPs/blob/6b6e9ce2ab5f9cb36b69accae3970d8ea997a29b/text/0000-near-shell.md#upgradability
It would be great if this were stored like this, if possible:
in ~/.near-config/settings.js:
{
  "metricsOptIn": true
}

I've got a lot of the shell NEP live here:
https://github.com/nearprotocol/NEPs/blob/6b6e9ce2ab5f9cb36b69accae3970d8ea997a29b/text/0000-near-shell.md#upgradability
It would be great if this were stored like this, if possible:
in ~/.near-config/settings.js:
{
  "metricsOptIn": true
}

There will be other keys in here as well, so we'll want to make sure not to lose any information. (Load file contents as js object, modify that key, write whole thing back to file…)

Yeah that's exactly what's happening

tested: E2E test with making sure event shows up in dashboard for mixpanel. https://mixpanel.com/report/2144016/live#chosen_columns:!('$browser','$city',mp_country_code,distinct_id,'$referring_domain'),column_widths:!(200,100,218,149,217,252,180)

Is this outdated now and we're favoring https://github.com/nearprotocol/near-shell/pull/323?


Invalid value for active, must not be None when trying to list cron workflows

Summary
What happened/what you expected to happen?

When listing Cron Workflows through the latest Argo API (https://pypi.org/project/argo-workflows/) the following error occurs: Invalid value for active, must not be None

I seems to be related to this issue logged previously: https://github.com/argoproj/argo-workflows/issues/4510
That seemed to have been closed because it was stale though, there was no solution in the comments. Seems to be a known issue but I could not find an answer that solved it.
I did comment there as well.
Here is the codeblock in question:
# Get Cron Workflows
cron_worfklow_data = {}
cron_workflows = None
try:
    cron_workflows = cron_workflow_api.list_cron_workflows('argo')
except ApiException as api_err:
    LOGGER.error("The following error was raised when "
                 "attempting to list

And here is the stacktrace:

File "/Users/lloydmckeen/.pyenv/versions/insights-ui/lib/python3.8/site-packages/argo/workflows/client/models/v1alpha1_cron_workflow_status.py", line 83, in active
raise ValueError("Invalid value for active, must not be None")  # noqa: E501
ValueError: Invalid value for active, must not be None

response body: b'{"metadata":{"resourceVersion":"34021376"},"items":[{"metadata":{"name":"ai-windtunnl-connector-template-cron","namespace":"argo","uid":"36882892-a33e-4850-af9b-530226aa1b34","resourceVersion":"33995265","generation":4,"creationTimestamp":"2021-07-21T15:58:56Z","labels":{"workflows.argoproj.io/creator":"system-serviceaccount-argo-argo-server"},"managedFields":[{"manager":"argo","operation":"Update","apiVersion":"argoproj.io/v1alpha1","time":"2021-07-21T15:59:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:workflows.argoproj.io/creator":{}}},"f:spec":{".":{},"f:schedule":{},"f:suspend":{},"f:workflowSpec":{".":{},"f:arguments":{".":{},"f:parameters":{}},"f:workflowTemplateRef":{".":{},"f:name":{}}}},"f:status":{".":{},"f:active":{},"f:conditions":{},"f:lastScheduledTime":{}}}}]},"spec":{"workflowSpec":{"arguments":{"parameters":[{"name":"connector_id","value":"6"}]},"workflowTemplateRef":{"name":"ai-windtunnl-connector-template"}},"schedule":"0 12 * * *","suspend":true},"status":{"active":null,"lastScheduledTime":null,"conditions":null}}]}'
*** ValueError: Invalid value for active, must not be None

Diagnostics
What Kubernetes provider are you using?
K8's on GCP
What version of Argo Workflows are you running?
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
Docker/K8SAPI/
Did this work in a previous version? I.e. is it a regression?
Hasn't worked before
argo-workflows~=5.0.0

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Also I'm using the same API calls for workflows and worflow_templates respectively and they work fine just above this code:
i.e
workflows = workflow_api.list_workflows('argo') ``workflow_templates = workflow_template_api.list_workflow_templates('argo')

Summary
What happened/what you expected to happen?

When listing Cron Workflows through the latest Argo API (https://pypi.org/project/argo-workflows/) the following error occurs: Invalid value for active, must not be None

I seems to be related to this issue logged previously: #4510
That seemed to have been closed because it was stale though, there was no solution in the comments. Seems to be a known issue but I could not find an answer that solved it.
I did comment there as well.
Here is the codeblock in question:
# Get Cron Workflows
cron_worfklow_data = {}
cron_workflows = None
try:
    cron_workflows = cron_workflow_api.list_cron_workflows('argo')
except ApiException as api_err:
    LOGGER.error("The following error was raised when "
                 "attempting to list

And here is the stacktrace:

File "/Users/lloydmckeen/.pyenv/versions/insights-ui/lib/python3.8/site-packages/argo/workflows/client/models/v1alpha1_cron_workflow_status.py", line 83, in active
raise ValueError("Invalid value for active, must not be None")  # noqa: E501
ValueError: Invalid value for active, must not be None

response body: b'{"metadata":{"resourceVersion":"34021376"},"items":[{"metadata":{"name":"ai-windtunnl-connector-template-cron","namespace":"argo","uid":"36882892-a33e-4850-af9b-530226aa1b34","resourceVersion":"33995265","generation":4,"creationTimestamp":"2021-07-21T15:58:56Z","labels":{"workflows.argoproj.io/creator":"system-serviceaccount-argo-argo-server"},"managedFields":[{"manager":"argo","operation":"Update","apiVersion":"argoproj.io/v1alpha1","time":"2021-07-21T15:59:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:workflows.argoproj.io/creator":{}}},"f:spec":{".":{},"f:schedule":{},"f:suspend":{},"f:workflowSpec":{".":{},"f:arguments":{".":{},"f:parameters":{}},"f:workflowTemplateRef":{".":{},"f:name":{}}}},"f:status":{".":{},"f:active":{},"f:conditions":{},"f:lastScheduledTime":{}}}}]},"spec":{"workflowSpec":{"arguments":{"parameters":[{"name":"connector_id","value":"6"}]},"workflowTemplateRef":{"name":"ai-windtunnl-connector-template"}},"schedule":"0 12 * * *","suspend":true},"status":{"active":null,"lastScheduledTime":null,"conditions":null}}]}'
*** ValueError: Invalid value for active, must not be None

Diagnostics
What Kubernetes provider are you using?
K8's on GCP
What version of Argo Workflows are you running?
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
Docker/K8SAPI/
Did this work in a previous version? I.e. is it a regression?
Hasn't worked before
argo-workflows~=5.0.0
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

When creating cron workflow according to the api client, the same exception occurs['ValueError: Invalid value for active, must not be None']
So i want to confirm whether it is solved, or some insight. Big thx~

Summary
What happened/what you expected to happen?

When listing Cron Workflows through the latest Argo API (https://pypi.org/project/argo-workflows/) the following error occurs: Invalid value for active, must not be None

I seems to be related to this issue logged previously: #4510
That seemed to have been closed because it was stale though, there was no solution in the comments. Seems to be a known issue but I could not find an answer that solved it.
I did comment there as well.
Here is the codeblock in question:
# Get Cron Workflows
cron_worfklow_data = {}
cron_workflows = None
try:
    cron_workflows = cron_workflow_api.list_cron_workflows('argo')
except ApiException as api_err:
    LOGGER.error("The following error was raised when "
                 "attempting to list

And here is the stacktrace:

File "/Users/lloydmckeen/.pyenv/versions/insights-ui/lib/python3.8/site-packages/argo/workflows/client/models/v1alpha1_cron_workflow_status.py", line 83, in active
raise ValueError("Invalid value for active, must not be None")  # noqa: E501
ValueError: Invalid value for active, must not be None

response body: b'{"metadata":{"resourceVersion":"34021376"},"items":[{"metadata":{"name":"ai-windtunnl-connector-template-cron","namespace":"argo","uid":"36882892-a33e-4850-af9b-530226aa1b34","resourceVersion":"33995265","generation":4,"creationTimestamp":"2021-07-21T15:58:56Z","labels":{"workflows.argoproj.io/creator":"system-serviceaccount-argo-argo-server"},"managedFields":[{"manager":"argo","operation":"Update","apiVersion":"argoproj.io/v1alpha1","time":"2021-07-21T15:59:49Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:workflows.argoproj.io/creator":{}}},"f:spec":{".":{},"f:schedule":{},"f:suspend":{},"f:workflowSpec":{".":{},"f:arguments":{".":{},"f:parameters":{}},"f:workflowTemplateRef":{".":{},"f:name":{}}}},"f:status":{".":{},"f:active":{},"f:conditions":{},"f:lastScheduledTime":{}}}}]},"spec":{"workflowSpec":{"arguments":{"parameters":[{"name":"connector_id","value":"6"}]},"workflowTemplateRef":{"name":"ai-windtunnl-connector-template"}},"schedule":"0 12 * * *","suspend":true},"status":{"active":null,"lastScheduledTime":null,"conditions":null}}]}'
*** ValueError: Invalid value for active, must not be None

Diagnostics
What Kubernetes provider are you using?
K8's on GCP
What version of Argo Workflows are you running?
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
Docker/K8SAPI/
Did this work in a previous version? I.e. is it a regression?
Hasn't worked before
argo-workflows~=5.0.0
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

When creating cron workflow according to the api client, the same exception occurs['ValueError: Invalid value for active, must not be None']
So i want to confirm whether it is solved, or some insight. Big thx~

Solved luckily, turn to an alternative way using kubernetes python sdk, maybe it is a better way according k8s python sdk more generally .
The example is as follow, hope it helps~
config.kube_config.load_kube_config(config_file=CONF_FILE) with open(yaml_conf) as file:         body = yaml.load(file, Loader=yaml.FullLoader)         resp = client.CustomObjectsApi().create_namespaced_custom_object(namespace='argo', group='argoproj.io',                                                                                version='v1alpha1',                                                                                plural='cronworkflows', body=body) print(resp)

We don't support that SDK. Can you please try with CoulerProj?

I am facing the same issue. does anyone have a solution?

Same issue.  Used to use this simple
    def submit(self):
        """Generates and submits a cron workflow."""
        load_kube_config()
        V1alpha1Api().create_namespaced_workflow(
            "default", self.get_cron_workflow()
        )

I'd use the create_namespaced_custom_object mentioned above, but guess the Argo folks say not too?  Anyway - exposing the Argo Server for me is not possible.  Might have to do something pokey like exec Argo server in a context and then connect to it via argo_workflows.Configuration(host="https://<IP_ADDRESS>:2746")


Updated for new Rooster Teeth site.

NOTE: This removes function of downloading seasons or series at a time.  It was broken anyway.
TODO: Re-add ability to download series and seasons.
PEP 8 compliant (ignoring long lines like the rest of youtube-dl)
Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[ ] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
This pull request rewrites a lot of the roosterteeth extractor to work for their new site, that uses an API instead of webpages.
Authentication fully working.
Playlist downloads are not working.

Are you still working on this? I'd be willing to take over, provided you release your work so far under a compatible license.


pull request for e2e test at 12/12/2016 16:26:03

:white_check_mark: Validation status: passed
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.


Document accessing nested responses on sequential proxy

in a follow up to this issue https://github.com/krakendio/krakend-ce/issues/141
it would be very useful to document how to access nested fields (including via arrays) when using the sequential proxy.
At the moment I have just been using a trial and error approach to no avail even though I am sure the response format is correct.
Environment info:

KrakenD version: krakend-ce docker

Describe what are you trying to do:
Access fields within a nested json array from the response of first backend and use in the path/query string of the next.

any possible update on this

It's documented now.
Notice that is not possible to access values inside arrays, only objects


To reproduce it, use this :
Click on a flash button and move cursor outside of it without releasing a mouse key.
Once cursor is out, relese the mouse key.
Button stays stuck in 'Clicked' state.
I used the downloadify's own demo to reproduce the issue.

+1


Periodically crashes to the desktop

2024-04-04-00-50-24.log
https://pastebin.com/AtXt3unJ

it's not FSMP, which runs every frame and ends up in crash logs for that reason
this crash is lighting/camera related (not a GREAT help, i know)

Not related to FSMP.


ModuleNotFoundError: No module named 'mmseg.models.backbones.pvt_dia'

Hello, after I followed the installation instruction and tried to import init_segmentor, it ran into the following problem.
/usr/local/python-3.6.8/lib/python3.6/site-packages/mmsegmentation-0.11.0-py3.6.egg/mmseg/models/backbones/init.py in
9 from .unet import UNet
10 from .pvt import pvt_small, pvt_small_f4, pvt_tiny
---> 11 from .pvt_dia import pvt_small_dia
12 from .vit import VisionTransformer
13 from .vit_mla import VIT_MLA
ModuleNotFoundError: No module named 'mmseg.models.backbones.pvt_dia'
Would you mind telling me how should I solve the problem. Thanks in advance.

@Hzhang818 Oh it's a variant of PVT model I use in my experiments which is not used finally. You can just delete this line of code. Thx for your issue!


Broken markdown conversion around code blocks

I'm having formatting problems with an indented fenced code block. To repro:

Create a new site
Add the ananke theme to the site
Add the attached file as content/troubleshooting.md
Build the site using Hugo 0.40.2

You'll see that the YAML code block from the markdown file didn't get rendered correctly in the HTML. It simply didn't get interpreted as a code block. You can see the previous code block was converted properly. If you remove the leading dashes (-) on both the first and last line of the code block, then it formats properly. If you outdent the whole code block so that it starts on column 0, then it formats properly. So there's something about being indented and having those dashes present. The resulting HTML has a list in it instead of a code block, so something is getting confused and treating this sequence as a list.
I scoured our site and found many instances of indented code blocks that contain lines which start with - and this is the only block where the bug happens. So something about the specific structure of the code block is getting the parser confused.
troubleshooting.zip

mainly because of the dash that follows, you'd probably have to space it out some more
 ```yaml
    - job_name: 'istio-mesh'
    # Override the global default and scrape targets from this job every 5 seconds.
    scrape_interval: 5s
    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.
    static_configs:
    - targets: 'istio-mixer.istio-system:42422'
 ```

Well, then it gives me extra spaces on the left side of the code block...
For now, I just removed the indent on the block and it renders correctly,
albeit without proper horizontal alignment. I can live with that.
On Sun, May 27, 2018 at 8:13 AM nonumeros<EMAIL_ADDRESS>wrote:

mainly because of the dash that follows, you'd probably have to space it
out some more
   - job_name: 'istio-mesh'
   # Override the global default and scrape targets from this job every 5 seconds.
   scrape_interval: 5s
   # metrics_path defaults to '/metrics'
   # scheme defaults to 'http'.
   static_configs:
   - targets: 'istio-mixer.istio-system:42422'

[image: screenshot_2018-05-27_11-06-03]
https://user-images.githubusercontent.com/11535575/40587570-eda9d54e-619e-11e8-80d6-048754b359ba.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gohugoio/hugo/issues/4785#issuecomment-392338455, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVucHYAMeP4Zrm-wtf-sm1ZieFZVAHV1ks5t2sKqgaJpZM4UPSpz
.

I just realized that this issue is happening in dozens of places on our site. I searched for triple-backticks in our generated HTML and found a lot of them :-(
So I'm going to indent everything by four, and then add some JavaScript to trim those spaces out in the browser so the visuals stay clean.

Another workaround is to indent by four and remove the fenced block annotation. This avoids the bug and doesn't introduce additional spaces in the final generated output. The downside is you lose the ability to annotate the code block with the language, so syntax coloring doesn't work right...

What is your config setting value for pygmentscodefences?

This is using all default settings. As I explained, I just created a blank
site and added the markdown file.
On Mon, May 28, 2018 at 9:18 AM Bjørn Erik Pedersen <
<EMAIL_ADDRESS>wrote:

What is your config setting value for pygmentscodefences?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gohugoio/hugo/issues/4785#issuecomment-392564446, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVucHZuLxy6ih_tpxquTwJCXh-lH5OgAks5t3CNbgaJpZM4UPSpz
.

This is using all default settings. As I explained, I just created a blank

OK. Then it's an issue with the markdown renderer, and it would probably be better to raise an issue here:
https://github.com/russross/blackfriday/issues


Add dependabot for the repo

Hey :wave:
I'd want to suggest to add a dependabot to the repo so the packages updating could be automated.

Thanks a lot! 🤠


Is it possible to have clickable links in showed panel?

I am talking about panel invoked via "show_panel_for". Currently panel shows on push to newly created branch so it will be cool to have clickable link for new PR (I am using bitbucket)

GitSavvy won't do it.
Check out these to projects Open URL Clickable URLs

I'd love to get that as well, but I think that under current SublimeText API this behaviour is not yet possible

I think we could use minihtml popup to render output from git.. Though it requires some coding

I have installed Open URL. I click the link and hit ctrl+u and it opens. I think that should bee good enough.

Checkout Clickable URLs


openHAB server backup option

What if power goes out (like it just had happened a few hours and RPi2 that doesn't have an internal battery etc. turned off)?

Can't find a link for now but I recently ran into an article where someone set up openHAB server on the cloud so that s/he doesn't need local openHAB server.

There's no plan to use openHAB for now at our household.


EOFError: EOF when reading a line in v0.5.0 or v0.5.1

When I convert epub ebook to audiobook using v0.4.3 version, it works fine. In order to use edge tts, I tried to use v0.5.0 or v0.5.1 to convert the same epub e-book, and the error occurred as follows:
/usr/local/lib/python3.11/site-packages/ebooklib/epub.py:1395: UserWarning: In the future version we will turn default option ignore_ncx to True.
warnings.warn('In the future version we will turn default option ignore_ncx to True.')
/usr/local/lib/python3.11/site-packages/bs4/builder/init.py:545: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument features="xml" into the BeautifulSoup constructor.
warnings.warn(
2024-04-08 02:55:06 [INFO] Chapters count: 320.
2024-04-08 02:55:06 [INFO] Converting chapters from 1 to 320.
Estimate book voiceover would cost you roughly: $0.00
Do you want to continue? (y/n)
2024-04-08 02:55:06 [INFO] ✨ Total characters in selected book: 1595407 ✨
Traceback (most recent call last):
File "/app_src/main.py", line 139, in
main()
File "/app_src/main.py", line 135, in main
AudiobookGenerator(config).run()
File "/app_src/audiobook_generator/core/audiobook_generator.py", line 77, in run
confirm_conversion()
File "/app_src/audiobook_generator/core/audiobook_generator.py", line 14, in confirm_conversion
answer = input()
^^^^^^^
EOFError: EOF when reading a line

I'm getting the same in docker :(
warnings.warn('In the future version we will turn default option ignore_ncx to True.')
/usr/local/lib/python3.11/site-packages/bs4/builder/init.py:545: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument features="xml" into the BeautifulSoup constructor.
warnings.warn(
2024-05-27 19:22:22 [INFO] Chapters count: 55.
2024-05-27 19:22:22 [INFO] Converting chapters from 1 to 55.
2024-05-27 19:22:22 [INFO] ✨ Total characters in selected book: 521832 ✨
Traceback (most recent call last):
File "/app_src/main.py", line 139, in
Estimate book voiceover would cost you roughly: $8.35
Do you want to continue? (y/n)
main()
File "/app_src/main.py", line 135, in main
AudiobookGenerator(config).run()
File "/app_src/audiobook_generator/core/audiobook_generator.py", line 77, in run
confirm_conversion()
File "/app_src/audiobook_generator/core/audiobook_generator.py", line 14, in confirm_conversion
answer = input()
^^^^^^^
EOFError: EOF when reading a line

Hi @lostlost3 @michwad. Would you mind update to the latest and try it again?
Besides, what's your command to run and lead to this error message.
Remember if you're using docker, check https://github.com/p0n1/epub_to_audiobook?tab=readme-ov-file#using-with-docker.

The -i and -t options are required to enable interactive mode and allocate a pseudo-TTY.

Alternatively, add --no_prompt  flag to avoid comfirmation.

Thanks, I will try it.
发件人: @.*** @.> 代表 shtingeri
发送时间: 2024年9月22日 1:14
收件人: p0n1/epub_to_audiobook @.>
抄送: lostlost3 @.>; Mention @.>
主题: Re: [p0n1/epub_to_audiobook] EOFError: EOF when reading a line in v0.5.0 or v0.5.1 (Issue #60)
Alternatively, add --no_prompt flag to avoid comfirmation.
—
Reply to this email directly, view it on GitHub https://github.com/p0n1/epub_to_audiobook/issues/60#issuecomment-2365257263 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AZI6H4KT45C3C44LRYWPXPDZXWSLZAVCNFSM6AAAAABF34A64WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRVGI2TOMRWGM .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/AZI6H4KQTGGNU3E6P5R4ZPLZXWSLZA5CNFSM6AAAAABF34A64WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUM7L3C6.gif Message ID: @.*** @.***> >


[core] Fix various potential issues with multiple windows

[X] I have followed (at least) the PR section of the contributing guide.

In order to maintain compatibility with multiple windows, it is optimal to not use the window or document global in most cases.
I have done some cleanup where I believe the usage of these globals was not correct.
I was hoping that since the scope of these changes was fairly minor that i would encapsulate them in one PR.

Thanks @eps1lon, I have hopefully have addressed your feedback.

@scottander Great work, thanks!


vim: 9.0.0057 -> 9.0.0115

includes cross fix
https://github.com/vim/vim/commit/509695c1c3f5c94bf4b1de5dd0fc11202804f638
Description of changes

Things done

Built on platform(s)

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@OfBorg build pkgsCross.riscv64.vim

hmm, maybe should have gone to staging…


Added support for dimming lights and groups

Now you can dim a group without having all lights at the same brightness level.

Added support for custom actions.


Copy Api not working with Graph SDK Java version 2.2.0 and onwards version

[Enter feedback here]
Copy Api not working with Graph SDK Java version 2.2.0 and onwards version.
Api works properly with Graph SDK version 1.8.0.
Api working fine with direct http request but getting fails via Graph java sdk version 2.2.0 and onwards.
API details:
https://graph.microsoft.com/v1.0/sites/"site-id"/drives/"drive-id"/items/"item-id":/active%2F2%2F2eb3e5a3-4faa-454d-83a9-a628690bbeef%2Ffolder3%2Fsample1.txt:/microsoft.graph.copy
Method: POST
Body:
{
"name": "sample1.txt",
"parentReference": {
"driveId": ,
"id":
}
}
Response:
{
"timestamp":<PHONE_NUMBER>.761012000,
"status": 400,
"message": "Bad Request",
"error": [
"Error code: invalidRequest\nError message: The request is malformed or incorrect.\n\nPOST https://graph.microsoft.com/v1.0/sites/tescoo365dev.sharepoint.com,
active%2F2%2F2eb3e5a3-4faa-454d-83a9-a628690bbeef%2Ffolder3%2Fsample1.txt:/microsoft.graph.copy\nAuthorization : [PII_REDACTED]\nSdkVersion : graph-java/v2.8.0\n{"name":"copy-987581000-sample1.txt","parentRefere[...]\n\n400 : Bad Request\n[...]\n\n[Some information was truncated for brevity, enable debug logging for more details]"
]
}
Header details:
client-request-id : 73c9c270-29dc-45cf-b574-974cd42e03c9
request-id : 01cb6d69-e368-49b1-8e84-eaff80e07b10

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

ID: a38d3dcf-49bd-eedc-e4cf-5041af8ed7fe
Version Independent ID: 8a3d3fed-4e6c-0592-5f7c-8105365698d8
Content: Copy a file or folder - OneDrive API - OneDrive dev center
Content Source: docs/rest-api/api/driveitem_copy.md
Product: onedrive
GitHub Login: @rgregg
Microsoft Alias: rgregg

@chackman Graph api for copy working fine. I am facing issue in Java Graph SDK version 2.2.0 and later. The copy api is not working while using SDK and it is giving errors: "Error code: invalidRequest\nError message: The request is malformed or incorrect.\n\nPOST
Note: The same url working when hitting graph api endpoint.


Better multi-page mobile build support?

I have been reading the Ecmascript spec on mobile for some time. And IMO, it kinda works - but overall things felt somewhat retrofitted to work on mobile. I guess what i am saying is things could be much better on mobile.
(is there some existing discussion around this?)
What i like about the workflow on desktop -

Everything loads in one-shot - Being a single page, once it is loaded - the whole spec is ready for reading and cross referencing. It's somewhat slow on desktop, but still understandable.
ecmarkup's built-in highlighting and cross-referencing tools - So, all the things like term highlighting within a section to permalink, pin, references - all of that is super helpful at times and shouldn't be dumbed down. (Maybe pinning could be synced somehow?)
Browser built-in search - Even though the above tools are good, they are not helpful while finding all references for say, a general method like LabelledEvaluation. ( I understand that's because there are multiple Implementations for that same method.)
So, in those cases - i can just search for the word using browser's in-page search. Because it's single page, that works really well.

What i don't like about the experience on mobile -

Huge document - ⬆ Most of these desktop features technically "work" on mobile. But because it's a huge document, everything gets slowed down on mobile - browser search is slow, loading page (network + rendering)  is very slow, general cross-referencing is hard to do.
Unfriendly UI - There are a lot of small but repeating problems with the UI elements.
For example - some monospaced texts (I don't know the type actually) gets cut off on the right, buttons like sidebar toggle are very small on mobile, elements have very odd size discrepancy (some elements look big enough for mobile, some just beside it is small like desktop), references bottom drawer is unusable (scrolling + size issue), sidebar is very small (so pins are also hard to use), etc.

So, in summary - ui could be much much better and inbuilt tools are somewhat less effective because of the huge document size.
And they make the problem even worse together - imagine, if there was separate page for each major section, i could still use a small looking sidebar with less entries without tapping on the wrong entry or losing my position in the document.
Potential solutions
I don't expect these to be implemented in current form, but this is what i could think of. Doing even some of these things can hugely benefit the readers.

Section-wise pages - Each major section gets it's own url and page. The full page will exist separately. All the ecmarkup's tools needs to now support cross page referencing, states need to be maintained across pages (SPA-like) (ex. pins, references drawer need to maintain state).
We should also add a cross-page search then (to replicate browser search within the whole document). Although, this is also doable by going separately to the full page on mobile and searching there.
Fix ui elements - We can just look at the individual ui elements which don't work well on mobile and fix them. Ideally, a mobile-first consideration will be helpful. This can be done independently of Section-wise pages, but they are more effective together.

I understand some of these are very big asks and probably even a deviation from the main focus of the tool, but IMO - this is (from a user's perspective) actually a documentation generation tool. And this documentation is meant to be read by a wide community on varying devices. The reader can really benefit from a cleaner and more usable ui.
For ex, consider how popular and useful https://pep8.org is - it is merely a reformatted and stylised version of the official pep8 proposal (which looks decent anyway).
I can also build a prototype to first demonstrate how useful this can be.

See https://github.com/tc39/ecmarkup/issues/151 re: multipage support. I think we're in agreement that this would be useful (at least, I am), we just haven't yet had the time to work out the design and make it happen. I've been thinking about it a little but haven't started implementing it yet. Pull requests welcome!
Note also that there's a proposal to substantially restructure a lot of the specification (for unrelated reasons), which I'd want to land before making the multipage build so as to minimize broken links.

Multipage builds are available as of https://github.com/tc39/ecmarkup/pull/301. I'm leaving this open to track any other mobile-specific issues.


[WIP] Add tests

Mateus, thanks for the tests!

(( I merged your changes and published the package as 2.0.2 ))


STORM-3516 Kill or Rebalance Topology not processed on Nimbus restart

@dandsager1 Could you please file a PR against 2.1.x branch for this too? I can't cherry-pick the commit because of the conflicts. Thanks!


Hacker's keyboard arrow keys

Since last update (1.6.0), arrow keys are not working anymore. It was working well before the update.

Clear app data to fix it.
On Fri, Jul 22, 2022, 2:50 AM Pierre Cornier @.***>
wrote:

Since last update (1.6.0), arrow keys are not working anymore. It was
working well before the update.
—
Reply to this email directly, view it on GitHub
https://github.com/deadlyjack/Acode/issues/455, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJHIHI2RDIOBTM7R5EKPN5TVVG5LLANCNFSM54JBJIVQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you so much!!


English version

Any chance for the English version of this app?
I can help with the process.

Thanks for the feedback, I still don't support i18n, I am working on it.

@mohsenkhanpour hi，I have already supported the English version.
Preview version: https://github.com/gaoyoubo/hexo-client/releases/tag/v1.2.3
I18n file: https://github.com/gaoyoubo/hexo-client/blob/master/src/main/language.js

Thanks. Great work.
Do you need any help?

@gaoyoubo 	How to switch the language?

@mohsenkhanpour The program automatically reads the language of the current system and automatically selects the language based on the system language.

@mohsenkhanpour
Hi, I upgraded the switch language feature.

@gaoyoubo Thanks, excellent work mate.


Update sponsor logos on website

Add sponsors onto website. Closes #39

@cedric2018 we need the MLH logo larger please


Update concept-authentication-passwordless.md

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

Note that publishing in this repository is suspended until Tuesday, May 25. Merging will resume Tuesday. Authors can still review and sign off on PRs in the interim. Thanks.

#74481

@matthewisbell: I'm sorry - only the author of this article, @justinha, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Using same IMAGE for GIF and other image formats

Hi Thomas,
currently, I am using two IMAGE controls to display a variety of images, including GIFs. One is visible when the image is NOT a gif, using IMAGE.SOURCE in XAML. The other is alternatively visible when a GIF image is to be displayed, with AnimationBehavior.SourceUri being used.
It works, but appears a bit wasteful.
As an alternative, I have created two string properties in the underlying DataContext, one for Non-GIF, one for GIF-Images, providing the URI to the image. The props are set to NULL if the image is GIF/Non-GIF.
That does not work. The animation is shown, but the static image is not...
Am I doing this wrong? Is there a way to alternate between GIF and non-GIF that I am not aware of, or is the two-controls-solution the way to go?
Thanks!
PS. Did you get my donation today?

Hi @jhwheuer,
You don't need two separate images. If you set AnimationBehavior.SourceUri to a non-GIF image, it will just be displayed as a static image.

PS. Did you get my donation today?

I did! Thanks a lot :smile:

Hmm, must be doing something wrong, because that does not happen. I am not using a URL to a web location but a URI with a local path, and that is not displayed at all... Anything I must be doing there? The path is accessible to the UWP app, as I can just set IMAGE.Source to it and it works fine...

Is it an absolute or relative URI?

Absolute: c:....

Again, as Image.Source, that works fine.

That's weird... I can reproduce the issue. I see that the file:///C:... uri is properly assigned to the UriSource of the image, but the image doesn't show up. I don't really know UWP (I didn't design the library for UWP but for WinRT, and I'm pretty sure it was working on Windows 8)... is there anything special about file URIs as image source in UWP?

Wait, Are you trying to assign the Source as a string? Coz that needs to be a Bitmap...

Wait, Are you trying to assign the Source as a string? Coz that needs to be a Bitmap...

No, I'm assigning a Uri to BitmapImage.UriSource, then assigning the BitmapImage to Image.Source
https://github.com/XamlAnimatedGif/XamlAnimatedGif/blob/master/XamlAnimatedGif.Shared/AnimationBehavior.cs#L482-L491

Hmmm, I had to go through SoftwareBitmap to make this work... Let me look into my code after I put my kids to bed.
THANKS

WElcome by the way to the Bat Shit Crazy World called UWP.   UnexpectedWorldProblem...

This is actually working...
`StorageFile file = await StorageFile.GetFileFromPathAsync(src);
bool r = Windows.Storage.AccessCache.StorageApplicationPermissions.FutureAccessList.CheckAccess(file);
if (r)
{
using (IRandomAccessStream fileStream = await file.OpenAsync(Windows.Storage.FileAccessMode.Read))
{
// Set the image source to the selected bitmap
_bitmap = new BitmapImage();
                            await _bitmap.SetSourceAsync(fileStream);

                        }
                    }

`

Indeed, SetSource(Stream) seems to work... I guess I can use that.

Apparently setting Bitmap.UriSource to a file:/// URI raises the BitmapImage.ImageFailed event. The error just says E_NETWORK_ERROR 😡. Can I join the "I hate UWP" club too?
I guess I'll just use a stream then, but it's annoying.

The fix is ready, I'll try to publish a release soon

many thanks

Fixed in 1.1.7


Popover within a modal disables input focus

In Studio, when a user chooses to customize a monochrome color style, we render the color picker in a popover that is the child of a modal. When this happens, the inputs (that are not buttons or type="submit" in the popover are not focusable.
Popover within a modal

Popover not within a modal

Ref https://github.com/mapbox/studio/issues/11636
Looking into this a bit, I'm guessing that focus-trap is what's preventing this construction from working as expected. Would love some input (pun intended) on whether this is likely the case, and if there are any strategies for disabling or white-listing a particular focus-trapped instance.

Yes, this is definitely the case, @dereklieu. I think this is a similar issue to https://github.com/mapbox/mr-ui/issues/46

Tried a few different approaches. Here's what I got.
Bumping the modal version
I bumped react-aria-modal up to v4 in this repo to pull in better handling for nested focus traps. This did not resolve my issue.
Had I been nesting one modal within another, this probably would have worked. However, the Popover component uses it's own copy of the focus-trap library so the local variable-based instance management introduced in newer versions of the focus-trap library doesn't apply.
(Rendering the popover with trapFocus: true alongside the modal crashed my browser in a very cool, spectacular way.)
Potential way forward: bump up focus-trap and react-aria-modal versions in this repo and make focus-trap a peer dependency in react-aria-modal which probably isn't a great idea.
Specifying a render-to option
I hacked up a way to dynamically pass a render-to option to the PopoverPositioner component bundled with the Popover.
Then I added an empty <div /> to the end of the current new style modal. It works but alignment is off.

Rendering the popover in a random place in the DOM and expecting positioning to be right seems far-fetched.
Passing through the ability to pause focus-trap
For this one I bypassed mr-ui/modal altogether in favor of rendering react-aria-modal with focusTrapPaused: true. This works well.

@davidtheclark I think the best way forward would be to pass this prop, perhaps with a prop name that makes it clear that it breaks accessibility. What do you think?

Allow mr-ui/modal to pass a focusTrapPaused value through to react-aria-modal sounds good.
Another option to consider that we touched on yesterday: Create a new SimplePopover (or something like that) that does not use react-displace, so it is nested in whatever DOM subtree you put it in, and positions itself with simple absolute position instead of the Popover's complex algorithm. This should allow the SimplePopover to work within focus traps, I think. The downside of SimplePopover would be that it does not have adaptive positioning, so it should be used in contexts with predictable layout constraints.


An error occurred while trying to install a package dependency - Custom Metadata Issue with 1Gp Dependency

Summary
sfdx-cli/7.155.1 darwin-x64 node-v16.15.1
When attempting to create a 2GP package that has a dependency on a 1GP managed package.
Steps To Reproduce:
sfdx force:package:version:create --installationkeybypass -p 0Ho5Y000000PAvlSAG -c -w 30
Expected result
Package Created
Actual result
SFDX Error
An error occurred while trying to install a package dependency, ID 04t3g000000TqTY: (Security_Key.AES_Key) Data Not Available, Details: The data you were trying to access could not be found. It may be due to another user deleting the data or a system error. If you know the data is not deleted but cannot access it, please look at our support page.
This started yesterday as far as I can tell.
Security_Key is a MDT Object
AES_Key is a Custom Metadata Record
The 1GP dependency in this 2GP package version that I am trying to create has been there for 6 previous versions of the 2GP package and the 04t version has not changed. Just now it is throwing this error
As an aside, the 1GP 04t package installs fine into the 2GP scratch org.

duplicate of #1582


How a bug with the newest code.

Don't know what is going on but this is what I keep getting when I run the script with the "-v" flage.
Traceback (most recent call last):
File "C:\Python27\Scripts\ffmpeg-normalize-script.py", line 9, in
load_entry_point('ffmpeg-normalize==0.2.2', 'console_scripts', 'ffmpeg-normalize')()
File "c:\python27\lib\site-packages\ffmpeg_normalize_main_.py", line 247, in main
target_level = float(args['--level'])
ValueError: could not convert string to float: -v

I guess you ran the command with "-l -v"?
You have to provide a number directly after the -l
If not, can you post your full command that your trying to execute?

I got to work after I uninstalled it  though pip and then cleared the cache
and reinstalled.  Look like it to do with in what order I was calling the
flags and some mods I had to the old installed script.
On Feb 11, 2016 12:00 AM, "auricgoldfinger"<EMAIL_ADDRESS>wrote:

I guess you ran the command with "-l -v"?
You have to provide a number directly after the -l
If not, can you post your full command that your trying to execute?
—
Reply to this email directly or view it on GitHub
https://github.com/slhck/audio-normalize/issues/16#issuecomment-182732203
.

The order is indeed important, as some parameters require extra information. -l -v would be invalid but -l -26 -v should work perfectly.
Glad it's solved.


outputs indifferent to input when applying merge_duplicate_nodes

I think I might have located the root of #8698
It seems that merge_duplicate_nodes is the reason that quantize_nodes malfunctions.
Whatever I do, whenever I apply a merge_duplicate_nodes somewhere during a graph transformation, the output becomes completely indifferent to the input.
(Unfortunately) I don't get any error messages concerning this...

@petewarden , could you please take a look. Thanks so much.

Variants of this problem include zero values at intermediate layers.
So the input won't make it past there, which results in other constant output.

I should probably mention that it makes inference a lot faster ...
Unfortunately, faster doesn't always mean better ...
How could merge_duplicate_nodes possibly eliminate all of these computations?

@Androbin, could you confirm that replacing deduped_graph_def with merged_graph_def in
quantize_nodes.cc line 942 causes the problem to go away?

@andrehentz I will triple-check that and post the results here!

As mentioned, this bug does also step in place when merge_duplicate_nodes is used without quantize_nodes.

And I should probably mention that I am doing the inference on Android.
Unfortunately, I am currently unable to test this on Ubuntu because the original graph, from which the quantized version is derivated, is currently broken due to another issue.

@Androbin
I found an issue with dequantization on Android and I'm wondering if building with
-DTENSORFLOW_DISABLE_META
works for you. I'd appreciate if you would try it out. Thanks in advance!

@andrehentz
Thanks for the hint!
So, is this issue bounded to the transform_graph tool?
Or do I have to recompile the whole library?

Wait, do you want me to build with the -DTENSORFLOW_DISABLE_META flag AND the previous fix or should I revert it?

This was my first attempt to do the Android build myself.
Either I have done something (???) wrong,
or there is an issue with the flag @andrehentz provided.
ERROR: /home/androbin/.cache/bazel/_bazel_androbin/0614ddb178f91f25438b47fee5f001b7/external/protobuf/BUILD:73:1: C++ compilation of rule '@protobuf//:protobuf_lite' failed: false failed: error executing command /bin/false -MD -MF bazel-out/stub_armeabi-v7a-py3-opt/bin/external/protobuf/_objs/protobuf_lite/external/protobuf/src/google/protobuf/io/coded_stream.pic.d ... (remaining 26 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
Target //tensorflow/contrib/android:libtensorflow_inference.so failed to build
Use --verbose_failures to see the command lines of failed build steps.

Target //tensorflow/contrib/android:libtensorflow_inference.so failed to build

I can provide further logs as necessary.

The following should work:
bazel build -c opt --copt="-DTENSORFLOW_DISABLE_META" //tensorflow/contrib/android:libtensorflow_inference.so --config=android_arm
But if you are OK waiting, we should have a fix for quantization in the nightly by the end of next week. I'm not sure it will fix this particular problem you are experiencing, though.
Meanwhile, could you perhaps provide steps for reproducing the failures you are seeing with merge_duplicate_nodes? Did you retrain an inception model?

@andrehentz
Thanks, this should work now.
Happy to hear about a fix in sight.
In my particular case, I didn't use a prepared model but a custom one in the scope of a research project.
I can provide the structure of the graph, if this was helpful.
Anyway, currently any graph transform containing a merge_duplicate_nodes e.g. quantize_nodes causes this issue with my model.

I'd be curious to know which nodes are removed when you run transform_graph with
--transforms='merge_duplicate_nodes'
from reading the code I understand only nodes that have the same op, inputs and attributes (by the way of a hash function) are removed.

@andrehentz
I will inspect this and list anything unusual here!

@andrehentz
Meanwhile, which ABI does --config=android_arm resolve to?

armeabi-v7a (but I think any of the ones you mentioned should be fine)

I tried recompiling and running computing a diff but since the output of transform_graph is binary, I wasn't able to extract, exactly which nodes are removed.

@Androbin Did the new bazel build for libtensorflow_inference.so work for you?

@kwotsin I will recompile, retrain and requantize and comment the results as soon as I have them.

I might need some time though, there are currently some issues with building the inference library.

It has been 14 days with no activity and this issue has an assignee.Please update the label and/or status accordingly.


Showing server/ test results in browser?

I have the following tests in my folder structure:
imports/api/collections/a.test.ts
imports/api/collections/server/b.test.ts
imports/ui/client/c.test.ts
I run the tests with TEST_WATCH=1 meteor test --driver-package meteortesting:mocha.
The results for both server tests a.test.ts and b.test.ts are shown in the console under "RUNNING SERVER TESTS" .
But only the results for server test a and the client test c both show up in the tests at http://localhost:3000/. If I move the b.test.ts file into the collections folder it does show up.
Does anyone know why the subfolder tests aren't showing up or how to fix it? I tried MOCHA_GREP, but I seem to have the syntax wrong, because 'imports/**/*.ts' runs 0 tests?
Thanks!

I am not sure that results from server tests are shown ever in the browser? I think this is not yet implemented. See #70. I think you might be running your "server" tests in the browser, and this is why it is showing there, and your real server tests do not run in the browser, this is why you are not seeing them.

In Meteor guide I can see both client and server tests in a browser. How is that possible?

I have to admit, that I was planning to update the meteor guide with what I now write here (planned to do in https://github.com/meteortesting/meteor-mocha/issues/80):
As of the time writing, this is not possible with this plugin, but was archived by https://github.com/practicalmeteor/meteor-mocha, which doesn't work in Meteor 1.6.0 due to an update of the coffeescript library.
https://github.com/cult-of-coders/meteor-mocha is a fork of the mentioned repository which got an upgrade to coffeescript 2 - maybe more. So - choose your weapon.
In my opinion, the package by cult-of-coders is a better fit for you if you want to see all results in the browser. This package makes it very easy to run your tests in the console (even a headless like travis or docker).
If there are people, willing to take the time needed to implement an option for this plugin which would allow reporting of all tests to the browser, I'm very open for providing the knowledge needed.

Please take a look at the Meteor Guide at the chapter Application Structure (https://guide.meteor.com/structure.html):
Here are some of the important parts:

Meteor will load all files outside of any directory named imports/ in the application using the default file load order rules (also called “eager evaluation or loading”). It is recommended that you create exactly two eagerly loaded files, client/main.js and server/main.js, in order to define explicit entry points for both the client and the server. Meteor ensures that any file in any directory named server/ will only be available on the server, and likewise for files in any directory named client/. This also precludes trying to import a file to be used on the server from any directory named client/ even if it is nested in an imports/ directory and vice versa for importing client files from server/.

Any directory named server/ is not loaded on the client. Similar to wrapping your code in if (Meteor.isServer) { ... }, except the client never even receives the code.

Any directory named client/ is not loaded on the server. Similar to wrapping your code in if (Meteor.isClient) { ... }. All files loaded on the client are automatically concatenated and minified when in production mode.

All JavaScript files outside special directories are loaded on both the client and the server. Meteor provides the variables Meteor.isClient and Meteor.isServer so that your code can alter its behavior depending on whether it’s running on the client or the server.

Another thing new in Meteor 1.7.0 might change this behavior (https://docs.meteor.com/changelog.html#changes-6):

Applications may now specify client and server entry point modules in a newly-supported "meteor" section of package.json:
"meteor": {
 "mainModule": {
   "client": "client/main.js",
   "server": "server/main.js"
 }
}

When specified, these entry points override Meteor's default module loading semantics, rendering imports directories unnecessary. If mainModule is left unspecified for either client or server, the default rules will apply for that architecture, as before. To disable eager loading of modules on a given architecture, simply provide a mainModule value of false[...]

This said, this "bug" really is a feature 😊

try out cultofcoders:mocha it shows both results in the browser


Update Kotlin to 1.3.20

Codecov Report

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

@@            Coverage Diff            @@
##             master    #1438   +/-   ##
=========================================
  Coverage     74.62%   74.62%
  Complexity     1716     1716
=========================================
  Files           326      326
  Lines          5171     5171
  Branches        934      935    +1
=========================================
  Hits           3859     3859
  Misses          788      788
  Partials        524      524

Impacted Files
Coverage Δ
Complexity Δ

...turbosch/detekt/rules/style/UnusedPrivateMember.kt
93.47% <0%> (ø)
5% <0%> (ø)
:arrow_down:

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 8e4bad5...5764189. Read the comment docs.


All devices integration stopped

All devices integration stopped, I checked logs and I see the next information.
LOG:
source file: custom_components/tuya_local/device.py:80
ERROR:
<class 'RuntimeError'>: Caught blocking call to sleep with args (0.1,) inside the event loop by custom integration 'tuya_local' at custom_components/tuya_local/device.py, line 77: self._api = tinytuya.Device(dev_id, address, local_key). (offender: /usr/local/lib/python3.12/site-packages/tinytuya/core.py, line 944: time.sleep(0.1)), please create a bug report at https://github.com/make-all/tuya-local/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#sleep while initialising device bfce5f97ac29f4e6f6frso
I checked the configuration and everything seems good.

Seems to be a duplicate of old issue #1869.  The line numbers from your log do not align with the current source, so I assume you are using an old version with current HA.


db-sync: Completely rejig how db-sync is configured

@erikd Does this PR mean that https://github.com/input-output-hk/cardano-db-sync/blob/master/doc/building-running.md or other docs will have to be updated too ?

@ArturWieczorek Once the Nix infrastructure is fixed, that document is probably correct, but it should be validated.


import name mangling not applied to class constructor in one specific case

Bug report

What is the current behavior?
Consider this program:
import bar_string from './bar';

console.log("outer log", bar_string);

var my_class = class {
    constructor() {
        this.bar = bar_string;
        console.log("inner log", bar_string)
    }
  },  my_instance = (new my_class())

Webpack transforms it to something like this:
(() => {

const bar = ("bar");

console.log("outer log", bar);

var my_class = class {
    constructor() {
        console.log("inner log", bar_string); /// <<< this is wrong
    }
  },  my_instance = (new my_class())

Notice how "bar_string" inside the class constructor is left as-is, while the other references to imported module "bar_string" are replaced with "bar".
Oddly, if I add "new my_class()" at the end of the program, it works fine. The bug appears to be due to the assignment of my_class and my_instance in the same var statement.
When we run the program that Webpack outputs, I get the following error:
ReferenceError: bar_string is not defined

If the current behavior is a bug, please provide the steps to reproduce.
I wrote a test in the Webpack codebase:
https://github.com/jluxenberg/webpack/commit/c249f1231a3fa188db267d19e85210c43d386403

What is the expected behavior?
bar_string in the class's constructor should have been replaced with bar.

Other relevant information:
jared@Jareds-MBP webpack-bug-01 % yarn webpack --version
yarn run v1.22.18
$ /Users/jared/workspace/spikes/webpack-bug-01/node_modules/.bin/webpack --version

  System:
    OS: macOS 12.6
    CPU: (10) arm64 Apple M1 Pro
    Memory: 72.66 MB / 32.00 GB
  Binaries:
    Node: 16.14.0 - /var/folders/ss/7p2kgjfd38z6c8hg6_rx14k40000gn/T/yarn--1688603246245-0.3444098232988235/node
    Yarn: 1.22.18 - /var/folders/ss/7p2kgjfd38z6c8hg6_rx14k40000gn/T/yarn--1688603246245-0.3444098232988235/yarn
    npm: 8.19.2 - ~/.nvm/versions/node/v16.14.0/bin/npm
  Browsers:
    Chrome: 114.0.5735.198
    Edge: 114.0.1823.51
    Safari: 16.0
  Packages:
    webpack: ^5.88.1 => 5.88.1
    webpack-cli: ^5.1.4 => 5.1.4

✨  Done in 0.52s

Note: I was able to write a configCases test for this issue; hopefully this is helpful for whoever fixes this bug:
https://github.com/jluxenberg/webpack/commit/c249f1231a3fa188db267d19e85210c43d386403

Here's a more fully-formed example of the issue:
2023-07-06_webpack-issue-17459.tgz
You can run it on replit here:
https://replit.com/@JaredLuxenberg/webpack-issue-17459
Open the shell and run "yarn build" like this:

Hi @TheLarkInn  I am interested in solving this bug, but I would like to get some help if it is possible.
Currently, I found that when ConcatenatedModule generates code, it would call NormalModule to generate code, and NormalModule would generate code by Template, In this case, HarmonyImportSpecifierDependencyTemplate would be used to replace some variable identifier to WEBPACK_REFERENCE identifier.
https://github.com/webpack/webpack/blob/853bfda35a0080605c09e1bdeb0103bcb9367a10/lib/dependencies/HarmonyImportSpecifierDependency.js#L320
I think there are two solutions that are possible.
The first is to make all variables that referencece to import variable pass this condition below, which would make the template replace it.
https://github.com/webpack/webpack/blob/853bfda35a0080605c09e1bdeb0103bcb9367a10/lib/dependencies/HarmonyImportSpecifierDependency.js#L325
The second is traversal AST to find that identifier reference to import variables and replace it.
I think the first one is more possible. I would like to hear your advice ~ thanks


Allow setting esc script on scene.gd node and run load commands

This replaces #56 as discussed on IRC/#escoria.
It introduces a ready event that can be used when attaching an esc script to a scene.

I think this is a good way to solve this. Any objections, @StraToN ?

It works as advertised, and retains the old behaviour of the :load event, so I see no reason not to merge this.


Update dataTables base code and extras

I started this fork and pull request in order to update dataTables to the latest version.  The version currently included in master has a defect in the responsive extra that makes it impossible to select text within the expander for the rows.  This pull request fixes that issue.

Hi,
I have tried using your version of Datatables but, I am getting an error: "File to import not found or unreadable: dataTables/bootstrap/4/jquery.dataTables.bootstrap."
This happens as on my application scss I have the followingg code:
@import "bootstrap-sprockets";
@import "bootstrap";
@import "dataTables/bootstrap/4/jquery.dataTables.bootstrap";
Is there any advice you could give me to solve this?
Thanks and regards.
Alejandro.

@kinsbrunner did you use the install generator?  you shouldn't have to manually add the imports to your application scss because the install generator, as described on the home page, for bootstrap 3 adds the appropriate requires to your app/assets/stylesheets/application.css file.

You are right, I was doing this manually instead of using the Generate
command.
The reason why I am using your code is as the original code is not working
for me when minimizing screen, it is not showing the expand button to show
the datails of a registry which are not fitting on windows current size but
I am facing the same issue with your code... any idea?
Thanks in advance.
Alejandro.
2017-01-15 17:42 GMT-03:00 Jose Jimenez<EMAIL_ADDRESS>
@kinsbrunner https://github.com/kinsbrunner did you use the install
generator? you shouldn't have to manually add the imports to your
application scss because the install generator, as described on the home
page, for bootstrap 3 adds the appropriate requires to your
app/assets/stylesheets/application.css file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rweng/jquery-datatables-rails/pull/222#issuecomment-272722235,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APfYkPHlijFNB2SvOfE-altm70gcpQmvks5rSoS9gaJpZM4LTA4o
.

@kinsbrunner I'm not sure this pull request is the right place for this conversation.  Please take it to issues or to stack overflow.  I'd be happy to participate in the conversation there.

Unfortunatelly, no one is answering to threads on original gem... that's why I though you may help me.


target general in HPX_LIBRARIES does not exist

Expected Behavior
HPX_LIBRARIES in the exported config contains a list general;hpx_init;... I would have expected these were either a list of valid CMake targets or library locations.
Actual Behavior
Downstream CMake barfs because it's looking for a CMake target named general but can't find it.
Steps to Reproduce the Problem
Default build of HPX on Mac or Linux.
Specifications
All of gcc6, gcc7, and clang8. Mac OS 10.13.

Nevermind. I see what you're doing with general


relations between GeochronologicEra and sub - eras

gts currently used time:intervalContains to relate gts:GeochronologicEras to suberas, e.g.
gts:Period time:intervalContains some gts:Epoch
this is problematic because the definition of time:intervalContains is "If a proper interval T1 is intervalContains another proper interval T2, then the beginning of T1 is before the beginning of T2, and the end of T1 is after the end of T2."
The Cretaceous period has only two Epochs (Lower and Upper); one starts and one finishes, but neither is contained, so the restriction is violated.   It seems that using thors:member would solve the problem-- it has time:intervalContains, time:intervalFinishedBy, and time:intervalStartedBy as sub properties.
so gts:Period thors:member some gts:Epoch would work without problem.

@smrgeoinfo yes, you are correct that the 'existential constraints' involving time:intervalContains are problematic.
I think you can see what I was trying to do, but where there are only two intervals of the next rank down, then there will be none that can be related using the time:intervalContains predicate, since it is disjoint with time:intervalStartedBy and time:intervalFinishedBy.
gts:Period time:intervalContains only gts:Epoch is also incorrect, since a Period may also contain Ages.
gts:Period thors:member some gts:Epoch (etc) (as you suggest) looks OK, but probably should be accompanied by
time:intervalContains rdfs:subPropertyOf thors:member .
time:intervalStartedBy rdfs:subPropertyOf thors:member .
time:intervalFinishedBy rdfs:subPropertyOf thors:member .


Do not support sphinx_rtd_theme theme

It seems does not support the sphinx_rtd_theme theme.

sphinx_rtd_theme theme, no version picker showed up

original theme

Please read: https://holzhaus.github.io/sphinx-multiversion/master/templates.html#readthedocs-theme
It you still have issues, please reopen.

Please read: https://holzhaus.github.io/sphinx-multiversion/master/templates.html#readthedocs-theme
It you still have issues, please reopen.


app.js refers to obsolete 'group' attribute on EdgeGrid

Suggested one-line patch (to get working with latest EdgeGrid):
`$ git diff
diff --git a/app.js b/app.js
index 235eedd..4395ca0 100644
--- a/app.js
+++ b/app.js
@@ -22,7 +22,7 @@ var bodyParser = require('body-parser');
var EdgeGrid =require('edgegrid');
var eg = new EdgeGrid({
path: __dirname + '/.edgerc',

group: 'papi'

section: 'papi'
});
var routes = require('./routes/index');
var getGroups = require('./routes/groups');
warning: LF will be replaced by CRLF in public/js/toArrayFilter.js.
The file will have its original line endings in your working directory.`

on patch above, that should be: "- group: 'papi'  + section: 'papi'"

Hey @damarshall would you ming submitting a PR for this fix? Thanks for catching this!

PR submitted


Non-Unique ID's for "Spaced Used" Entities

Description
If you have multiple devices configured, for Windows, they will all use the "C:" natively. However, the "unique id" for both devices is simply: "unique_id": "C:". This causes two issues. One of which is annoying, and another which actually causes issues:

Annoying: errors are displayed that there is a unique ID overlap. Not a huge deal
Real issue: since the ID's are not unique, they appear to get transposed from one device to another. For example, if you have "Space_USED_X1" entity for device X1...if you add another device called X2, the "Space_USED_X1" entity will now appear in X2, and X2 will not have a "Space_Used_X2" entity. This issue also occurs for all other drives listed (Z:, Y:, D:, etc.)

To be clear; this very well be my setup. However, I have tried it on three different windows machines and they all react the same. I've tried deleting all the integrations, starting from scratch, manually updating the unique_id, and nothing works.
I'm running this on a Rasp 4; no config errors appear at any point.
What Platform / OS are you running?
Linux
Anything in the logs or a references that might be useful?
No response
Additional information
No response

I assume this is for the Home Assistant Integration?
Please open this issue at Home Assistant Core. Thanks

Thanks Aidan. This is for the integration, the system-bridge integration;
and it's the only one I have this issue with at present. With a single
bridge everything works fine, it's brilliant in fact, but if I add a
second computer, the "c: space used" gets moved to the other computer's
device entities and the new one doesn't have an equivalent. To be clear,
this is not a show-stopper, but i have to imagine this is not a unique
experience.
Thanks!
On Sat, Jul 3, 2021 at 9:45 AM Aidan Timson @.***>
wrote:

I assume this is for the Home Assistant Integration?
Please open this issue at Home Assistant Core
https://github.com/home-assistant/core/issues/new. Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/timmo001/system-bridge/issues/449#issuecomment-873435456,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUM7UNKH55SMWB4XRPQARPLTV45A3ANCNFSM47RO4V5A
.


[1.11.x] Update kogito-operator reference

Needed for Grafana versions update
Many thanks for submitting your Pull Request :heart:!
Please make sure your PR meets the following requirements:

[ ] You have read the contributors' guide
[ ] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[ ] Pull Request contains a link to the JIRA issue
[ ] Pull Request contains a description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket
[ ] Your feature/bug fix has a unit test that verifies it
[ ] You've tested the new feature/bug fix in an actual OpenShift cluster
[ ] You've added a RELEASE_NOTES.md entry regarding this change

/jenkins test

can be merged anytime :) (tested in QE)


fix Silero Silence Speech detection

name: pull request
about: submit changes to the project
title: "[pr] "
labels: ''
assignees: ''

description
Silero treats NaN as speech. Display output silence becomes NaN because of division by zero in the normalize function.
related issue: #
type of change

[x] bug fix
[ ] new feature
[ ] breaking change
[ ] documentation update

how to test

turn on screenpipe with output and no audio playing.

nice!
it fixed issue when no speech!
still have issue with my mic, did not test iphone yet also #610
/tip $80 @EzraEllette


Add telemetry to determine if multiple files are used in the interactive window.

See comment here:
https://github.com/microsoft/vscode-python/issues/5882#issuecomment-506653135
Do people use more than one file per session?

forgot which issue but I remember that someone asked for indexing multiple opened files in IntelliSense

Not sure if this is the right telemetry to collect. I for one definitely would be using multiple interactive windows simultaneously if that were possible but I don't feel comfortable mixing the state of different files in a single interactive window (due to increased chance of namespace collisions and unintended side effects). That could well be true for other people as well.
So I don't think measuring how many people use multiple files in an interactive window (probably a fairly small percentage) is indicative of how many people would use multiple windows when each can have a separate state.

The telemetry is not to determine if people would want separate state or not, it's whether or not we're going to mess up people who don't. How many people will be pissed if a run cell on a new file opens a new jupyter kernel.

Of course we could always have a setting to allow a single or multiple to be used.

Ah, I see. Sorry for the confusion.

Of course we could always have a setting to allow a single or multiple to be used.

@rchiodo I like the idea of having a setting. Most of the time, I like multiple files using the same interactive window. As you said, the interactive window serves mostly as history. It feels all right to have separate windows to make history more clear.
But I have another question, separate interactive windows mean separate jupyter kernels, right? If so, being able to choose whether or not using a separate interactive window is definitely necessary.
Off-topic, since the interactive window serves mostly as history, can I suggest that this window be more tighter? Now it seems that every element has a large margin, and is very far away from others.
It would be better to show more information on the screen. For example, I need to show some names to type in, note the big gaps between the code and the result.


Using SAML SSO (Shibboleth) to create users

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
I asked a colleague who has been using Shibboleth/SAML2 for login and account creation. As far as we could tell, I have my .env file set up correctly so I think it's something in my system setup. He is using a pre-configured Docker Container, which my department avoids because of security concerns and we would like to avoid that extra layer of abstraction.
I am able to put the bookstack website behind our campus's SSO, but I am sent to a login error page if I set AUTH_METHOD=saml2. Has anyone worked with Shibboleth SSO? I have set SAML2_EMAIL_ATTRIBUTE, SAML2_EXTERNAL_ID_ATTRIBUTE, and SAML2_DISPLAY_NAME_ATTRIBUTES to their respective urn strings, and even uncommented those in the attribute-map.xml file.
I've tried setting the apache shib.conf to both the DocumentRoot, "/", and the login page, "/login". If I set shibboleth directory to /login, I get an interesting error: The POST method is not supported for route Shibboleth.sso/SAML2/POST. Supported methods: GET, HEAD.
Does anybody have experience setting up a Linux apache2/shibboleth server to work with BookStack?
Thanks,
Chris
Exact BookStack Version
v23.05.1
Log Content
No response
PHP Version
8.1.2
Hosting Environment
Ubuntu 22.04
Apache/2.4.52 (Ubuntu)
shibboleth 3.3.0

I have tried to set the SAML2_IDP_ENTITYID to the bookstack server,

The SAML2_IDP_ENTITYID bookstack option should not point to the BookStack server, is should point to your IDP system's entityID endpoint (Which I assume is NetID/Shibboleth).

I just displays an xml file with this message: "This XML file does not appear to have any style information associated with it. The document tree is shown below."

That is a common browser warning when viewing XML files. It should not really arise or interfere in the server-to-server communication paths of SAML2. If you're trying to view the plain XML to download/copy for IDP usage, you can right-lick the page then "View Source".

@ssddanbrown, I did get this to work, eventually. I am using apache2 and shibboleth SAML on Ubuntu 22.04. I do need both apache2 and shibd running. However, I had to disable apache's shib module and shib.conf, and run SAML directly through BookStack.
I also had to work with the IdP to make sure that everything was in the metadata that needed to be there. For instance the SAML2_EMAIL_ATTRIBUTE and SAML2_DISPLAY_NAME_ATTRIBUTES urns where not there by default.
Thanks,
Chris

Good to hear you got things working!


Legacy Update failed to start in Windows 7 SP1

After installing Legacy Update 1.3 from official site in Windows 7 SP1, this program isn't open WU V6 site.
OS: Windows 7 Ultimate SP1, Ru
IE: 9

Not sure why you’re having trouble loading the site, but be aware that IE9+ aren’t supported at the moment, see #19 for more info. You can use the built-in Windows Update control panel on Vista/7 instead, that will work the same as the website.

Try use IE7 compatibility mode (can be enabled via F12 tools).

I fixed this in two ways:

For some reason when I first tried to set the update site to use IE8 compatibility mode, it wasn't working. I tried again a few weeks ago and it did. (It may have had something to do with me not setting the Vary: header for correct caching.)  So it should work in IE9-11 now.
If that fix happens to not work, I've added an IE version check that will make the site suggest that you use the Windows Update Control Panel instead.


[HALON-267] Allow hctl cluster to work out of the box on sat-only nodes

Created by: Fuuzetsu
Tested on rekvm. Makes the assumption that HALOND_LISTEN is set properly (i.e. actually identifies running halond).

Closing as an obsolete


Displaying subcommand usage information programmatically

Sorry if this is has been asked and answered (I did search), but I am new to Rust and Clap, and can't figure it out from the source..
I know I can programmatically print the usage information for a whole app with app.print_help(). How can I do the same thing for a subcommand. I would like to get the same result as entering the following command:
 my_app foo help

where foo is a subcommand that itself has subcommands.
I did discover ArgMatches::usage(), but that doesn't provide FLAGS and SUBCOMMANDS sections.
The reason I am looking for this is to print out the usage info when no subcommands are provided to a level that does have subcommands.
Thanks

You can't currently do exactly that, however there is something that may be what you're asking for.
Try AppSettings::ArgRequiredElseHelp](https://docs.rs/clap/2.31.1/clap/enum.AppSettings.html#variant.ArgRequiredElseHelp) (which displays the help message if no arg or subcommand was used).
Also, if that doesn't solve it for you, could you give me some usage examples of what you're envisioning and I may be able to make a better suggestion.

That's exactly what I want. Thank you.


Create a table module for all of our table related code.

From @KlapTrap on January 29, 2018 15:11
We have a lot of components in the shared module, breaking these up will make the app more manageable - let's start with the table components.
Copied from original issue: SUSE/stratos#195

Refactor of location an declare/export/entryComponents done as part of list refactor.


Add the missing quotes in the code in the section Configuration for the StimulusBundle

Q
A

Bug fix?
no

New feature?
no

Tickets
Fix #981

License
MIT

I added a missing quotes in the code in the section Configuration for the StimulusBundle.

Good catch, thanks @makraz.


Draft: Yaml.stringify bug

This is a draft of a unittest
Fixes #1230

Thanks @yfried - closing this in favor of https://github.com/cdk8s-team/cdk8s-core/pull/1231


New fonts and Ace Editor Theme

Added some Ace Editor Themes

One Dark Pro(by legengary sabbir)
GitHub Dark(||)
Fixed Dracula theme

Added some New fonts for Acode that are listed below:

Cascadia Code
Proggy Clean
JetBrains Mono Bold
JetBrains Mono Regular

Sorry for mistake but i had missed to add new theme to src/lib/themelist.js
Please check it.

No worries I've added it.