Water irrigation  - _TZ3210_eymunffl / TS0101 - (Tuya cluster)

Woox water irrigation system.
deconz info: dresden-elektronik/deconz-rest-plugin/issues/4325
https://wooxhome.com/products-c10/other-c4/woox-r7060-smart-garden-irrigation-control-p61
  "ids": {
    "modelId": "TS0101",
    "manufacturerName": "_TZ3210_eymunffl"
  },
  "endpoints": {
    "endpointDescriptors": [
      {
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 81,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [
          0,
          4,
          5,
          6,
          61184,
          1
        ],
        "outputClusters": [
          25,
          10
        ]
      }
    ],
    "endpoints": {
      "1": {
        "clusters": {
          "basic": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "zclVersion"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "appVersion"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "name": "stackVersion"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3,
                "name": "hwVersion"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4,
                "name": "manufacturerName"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 5,
                "name": "modelId"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 6,
                "name": "dateCode"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 7,
                "name": "powerSource"
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 65502
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65534,
                "name": "attributeReportingStatus"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65504
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65505
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65506
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65507
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "groups": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "nameSupport",
                "value": {
                  "type": "Buffer",
                  "data": [
                    0
                  ]
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "scenes": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "onOff": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "onOff",
                "value": true
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 16385,
                "name": "onTime",
                "value": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 16386,
                "name": "offWaitTime",
                "value": 0
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "powerConfiguration": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 32,
                "name": "batteryVoltage",
                "value": 9
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 33,
                "name": "batteryPercentageRemaining",
                "value": 198
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          }
        },
        "bindings": {
          "ota": {
            "attributes": [],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "time": {
            "attributes": [],
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          }
        }
      }
    }
  }

Hi,
I purchased two of these devices; both of them were successfully added to the Zigbee Mesh but only one is visilbe in Phoscon (and the REST API) as a light. I've tried many options to add the second one but this keeps failing (reading config in deconz GUI while searching for new lights in Phoscon does not work). Has anybody been able to get two (or more) of these devices recognised by Phoscon (or the REST API).
Thanks.

Added to next release.


Minor grammar/typo fixes

This has been sitting here because I want to take the majority of these changes, but not all - and I'm not sure how to pull down a branch when it's from an unknown repository.

I brought in some of these changes separately, you're still on the commits :)

thanks :)


Android & iOS - Composer - Selected emoji is not shown in the composer after sending message

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.11-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:

Launch New Expensify app
Go to DM
Tap on the emoji picker
Select an emoji and send it
Tap on the emoji picker
Select another emoji

Expected Result:
The selected emoji will be shown in the composer
Actual Result:
The selected emoji is not shown in the composer after sending message
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/fca03310-7f27-426d-b846-a95007f21e86
View all open jobs on GitHub

We think that this bug might be related to #vip-vsp

Removing the Web-E blocker label, since this is on the app composer.

It looks like it is caused by https://github.com/Expensify/App/pull/45613
cc: @hannojg @Ollyws

Might have been caused by my PR, will take a look tmrw, feel free to assign me!
Interesting side note: you can still press send and the emojis will be send to chat, its just that the composer seem to be stuck

We CP'd the revert and it fixed the issue.

Let's close this one since the issue is fixed by the revert.


Migrate to EC2

Is your feature request related to a problem? Please describe.
Limitations of Heroku is problematic for a lot of deployments.
Describe the solution you'd like
Use a AWS EC2 Ubuntu VPS for the deployments.
Related Issue
https://github.com/sef-global/academix-frontend/issues/64

Done :)


Support Real-Time VMs

It would be great to be able to run a real-time VM using bootc, taking into account the availability of rt-pretuned-bootc images.
For that a few configurations would be needed:

Selecting the number of vcpus for the created VM
Pinning vcpu -> physical cpus
A way of adding / editing the libvirt XML for the VM. so other tunning can be done

A way of adding / editing the libvirt XML for the VM. so other tunning can be done

This strongly relates to https://github.com/virt-manager/virt-manager/issues/739

We would like to leverage podman-bootc to spin up pre-tuned RT VMs. This implies that the guest has already some expectations on CPU topology, expecting particular number of isolated vCPUs available and so on. So it is slightly different to the standard situation where a VM starts and then RT being configured. So I was actually thinking if we can leverage LABELs in Containerfile to provide VM expectations to the VMM.


74 toolbar trail tweaks

added visible "add" option to trail in toolbar, show error when added trail already exists, disable trail dropdown when no trails exist.

Failing test. No option available. Video attached. For a user with no domain, the option is available. For a normal user, the option does not appear.
addTrail.mp4.zip

Video shows as corrupted, but I have seen this issue. Working on it

I'm still seeing the behavior brandon describes above.

@bmcdougald @michaelsframe, is this branch OBE?

No, there is still a bug outstanding on it that you wrote. I’m working on it today
From: bwhiteman<EMAIL_ADDRESS>Sent: Wednesday, January 20, 2016 7:34 AM
To: Sotera/DatawakeDepot
Cc: Michael Frame
Subject: Re: [DatawakeDepot] 74 toolbar trail tweaks (#85)
@bmcdougaldhttps://github.com/bmcdougald @michaelsframehttps://github.com/michaelsframe, is this branch OBE?
—
Reply to this email directly or view it on GitHubhttps://github.com/Sotera/DatawakeDepot/pull/85#issuecomment-173204572.

updated to address 'Failing test. No option available. '

Looks like the fixes all work.


helm安装时ApplicationProtocol找不到

Describe the bug
helm进行安装时提示no matches for kind "ApplicationProtocol" in version "metaprotocol.aeraki.io/v1alpha1
Additional context
$ helm install aeraki ./aeraki -n istio-system
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "dubbo" namespace: "" from "": no matches for kind "ApplicationProtocol" in version "metaprotocol.aeraki.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "thrift" namespace: "" from "": no matches for kind "ApplicationProtocol" in version "metaprotocol.aeraki.io/v1alpha1"
ensure CRDs are installed first]

I believe that the Helm template is out of date.


Szenen

Danke für die Beschreibung der API. Das bietet einen echten Mehrwert.
 Ist das geplant?

Gibt es für Szenen allenfalls auch die Möglichkeit, das drücken eines Szenentasters über WebSocket weiter zu verarbeiten?
Ich würde gerne Szenentaster einbauen, diese aber nachher in Homeassistant nutzen.

You can upload or create the script example below on the script website.
You can then link the script to as many SmartButtons as you want by clicking on “Link to SmartButton”.
from sf.lib import alog
import websockets

async def onButtonEvent(*argv):
    await alog('SmartButton_%d %s', argv[2], argv[0])
    await websockets.push_event('/api', {'smb': {'cmd': argv[0], 'type': argv[1], 'id': argv[2]}})

Thanks for your fast reply.
Unfortunately i get the following error message:
Traceback (most recent call last):
File "gateway/api/scripts.py", line 86, in try_function
File "var/www/scripts/websocket.py", line 10, in onStart
AttributeError: 'module' object has no attribute 'push_event'
Do you have any idea what could be wrong?

I tried as well via webhook command to HA. But then i get a error message about the certificate although i try not to verify it...
from sf.lib import aiocurl, alog

webhookid = 'webhook-id'  # Webhook ID out of HA
url = 'https://my-url.ch/api/webhook/' + 'webhookid'
headers = {'Content-Type': 'application/json'}
data = '{"key": value1}'

async def onButtonEvent(*argv):
    await alog('%s %s on smartbutton %s', argv[0], argv[1], argv[2])
    await alog('POST %s %s', url, data)
    await aiocurl(url, method='POST', body=data, headers=headers, verify=False)

# Called from the Web-GUI 'start'-button
async def onStart(*argv):
    await alog(str(argv))

    await aiocurl(url, method='POST', body=data, headers=headers, verify=False)

ups...sorry!
try this for the websocket solution
from sf.lib import alog
import websockets

async def onButtonEvent(*argv):
    await alog('SmartButton_%d %s', argv[2], argv[0])
    try:
        await websockets.Connection.push_event('/api', {'smb': {'cmd': argv[0], 'type': argv[1], 'id': argv[2]}})
    except AttributeError:
        await websockets.push_event('/api', {'smb': {'cmd': argv[0], 'type': argv[1], 'id': argv[2]}})

For https you need a certificate.
It might be easier if you just use http instead of https.

ups...sorry!
try this for the websocket solution

from sf.lib import alog

import websockets

async def onButtonEvent(*argv):

    await alog('SmartButton_%d %s', argv[2], argv[0])

    try:

        await websockets.Connection.push_event('/api', {'smb': {'cmd': argv[0], 'type': argv[1], 'id': argv[2]}})

    except AttributeError:

        await websockets.push_event('/api', {'smb': {'cmd': argv[0], 'type': argv[1], 'id': argv[2]}})

Works like a charm!
Thanks a lot for the fast help!

For https you need a certificate.
It might be easier if you just use http instead of https.

I do have a certificate. But for an unknown it seems it doesn't accept it.
Is there any way to inhibit the certificate-check?
Would be easier than to reconfigure the server...😉

For https you need a certificate.
It might be easier if you just use http instead of https.

I do have a certificate. But for an unknown it seems it doesn't accept it.
Is there any way to inhibit the certificate-check?
Would be easier than to reconfigure the server...😉

Disregard, i reconfiguerd to get the http through which works great now.
For the usage in HA webhooks works great and almost easier than WS.
But would of course be great to have the functionality directly implemented in the upcoming MQTT capability...😉
Btw: Congrats to your new and improved product lineup! 💪

You can upload or create the script example below on the script website. You can then link the script to as many SmartButtons as you want by clicking on “Link to SmartButton”.
from sf.lib import alog
import websockets

async def onButtonEvent(*argv):
    await alog('SmartButton_%d %s', argv[2], argv[0])
    await websockets.push_event('/api', {'smb': {'cmd': argv[0], 'type': argv[1], 'id': argv[2]}})

@woodworm
Works indeed very well 😀
Any chance to distinguish between a short button press, a long button press, and/or a double click?
For me it's alway "click", "play", and "button number".

The whole thing depends on the button type.
Scene-buttons only send “click” events for "play and "record".
Ctrl-buttons (+/-. I/0, ^/v) can send click, press and release for up and down buttons

Thanks, woodworm.
I see... Indeed I was using a scene button.
What makes the difference between "play" and "record" events? When would the button send a "record" event?

This depends on the FW version of the device. Older FWs send a “record” event after pressing the button for 5 seconds and newer  FWs after 10 seconds.
Additionally, {“recordable”: true} must be set in the SmartButton object.
curl -X PATCH http://<IP_ADDRESS>/api/smartbuttons/2112 -H 'Content-Type:application/json' -d '{"recordable":true}'

Interesting - will give that a try in the next few days 😀
Many thanks for the explanations!


jupyter causes inconsistent results comparing to the terminal

Environment data

VS Code version: 1.64.0

Jupyter Extension version (available under the Extensions sidebar): v2022.1.1001775990

Python Extension version (available under the Extensions sidebar): v2022.0.1786462952

OS (Windows | Mac | Linux distro) and version: Windows

Python and/or Anaconda version: 4.9.2, and  python 3.9.7

Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv conda

Jupyter server running: Remote

I recently updated my jupyter in vscode and rerun some of my experiments in the vscode jupyter, I notice some results that did not match previous runs and by digging more into the problem I notice that when I use the jupyter for running the scripts it does not run the code correctly and the results is different from the case that I run the code directly from terminal, I am not sure how it happens or why, but this so annoying and can make people confused.
This definitely should not happen.
The expected behavior is when I run the scripts from jupyter notebook and terminal for the same seed it generates exactly same results as they are the same, but for some reason it does not happens and the results are different.
My last version which was 2 months ago was working okay btw

I changed back to version v2021.11.1001550889 for jupyter and python v2022.0.1786462952
and it seems to work okay and normal again

@seyeeet Thanks for filing this issue
Unfortunately without more information its difficult to address the issue.

Please could you let us know what is working and what is not

Please could you provide some sample code?

Please could you provide the output from the Jupyter output panel as well.
What do you mean by inconsistent result?

Do you mean to say the code runs, but the output is different?

Do you mean to say the code runs, but the output is different?
yes
I will, provide more information regarding the questions that you asked later for sure, I switched to an older version for now so I wont have time to do it again :(
I will close this issue to not annoy you with it and later will reopen it when I can go the version that was problematic and provide the answers for your questions :)
thank you for your support


Add Xcode Keymap for Visual Studio Code

Project URL
https://marketplace.visualstudio.com/items?itemName=stevemoser.xcode-keybindings
Category
Other Xcode
Description
Add Xcode Keymap for Visual Studio Code
Why it should be included to awesome-ios (optional)
Apple developers shouldn't discriminate when it comes to IDEs 👍
Checklist

[ x] Only one project/change is in this pull request
[ ] Has unit tests, integration tests or UI tests -NA
[x ] Addition in chronological order (bottom of category)
[ ] Supports iOS 9 / tvOS 10 or later -NA
[ ] Supports Swift 4 or later -NA
[ x] Has a commit from less than 2 years ago
[x ] Has a clear README in English

          1 Warning

:warning:
Found 1 link issue, a project collaborator will take care of these, thanks :)

Link issue by awesome_bot

Line
Status
Link

3066
504
https://littlebitesofcocoa.com/

  Generated by :no_entry_sign: Danger


How to understand the tree_to_pdf and sample_mdense function?

Hi all,
I find there are several important modifications to accelerate the MDense/softmax computation at the commit "d24f49e346b85b5cb2c89c6dadcc913ce004fe83". In the lpcnet.py, the tree_to_pdf function was added. In the nnet.c, the sample_mdense function was added.  Author mentioned that these modifications can reduce the MDense/softmax computation from 256 to 8 values.
I do not understand the theory of the tree_to_pdf and sample_mdense, can anyone give me some suggestions or references?
Best regards.

Sorry for the delay in responding to this, but I thought it was best to answer with our ICASSP 2022 paper which we just put on arxiv: https://arxiv.org/pdf/2202.11169.pdf
You'll find the explanation in section 3.1. The tree_to_pdf function is used in training to convert the hierarchical output into "regular" pdf that can be used in the loss function.


[Exclusivity] Teach separate-stored-property relaxation about TSan instrumentation

The compile-time exclusivity diagnostics explicitly allow conflicting accesses
to a struct when it can prove that the two accesses are used to project addresses
for separate stored properties. Unfortunately, the logic that detects this special
case gets confused by Thread Sanitizer's SIL-level instrumentation. This causes
the exclusivity diagnostics to have false positives when TSan is enabled.
To fix this, teach the AccessSummaryAnalysis to ignore TSan builtins when
determining whether an access has a single projected subpath.
rdar://problem/40455335

@swift-ci please smoke test

@swift-ci please smoke test and merge


Pluralize editorial stream kind

This will make it consistent with how we named it in the API

          1 Warning

:warning:
Please provide a linked tracker story for this PR in the description

  Generated by :no_entry_sign: danger

cc @alanpeabody


[Dropbox] Error connecting app: This app is unable to link additional users because it has been frozen pending review.

Extension
https://www.raycast.com/chyroc/dropbox
Description
Can't sign in to Dropbox due to this error
Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response

same as https://github.com/raycast/extensions/issues/5719

I have the same issue on latest Ventura 13.3.1

Help Needed: Need a new logo to pass dropbox's app review

Here you go.

This is still an issue - can we re-open it?

This is still an ongoing issue. With the latest changes to Mac file indexing, I really need this to start working :(


Cannot get it working with OVH Public Cloud (OpenStack Swift)

Hello,
I'm trying to use this plugin on my ElasticSearch cluster to backup the database into OVH public cloud (which is OpenStack Swift based) sadly without success.
I probably cannot fully understand the documentation, but I'm succesfully using swiftclient in Python to interact with the public cloud thus I guess I should have understood how OpenStack works.
I'm running this query:
PUT _snapshot/name_backup
{
"type": "swift",
"settings": {
"swift_url": "https://auth.cloud.ovh.net/v2.0",
"swift_container": "name-of-my-container",
"swift_username": "my-identity-username",
"swift_password": "my-identity-password",
}
}
nested: RepositoryException[[name_backup] failed to create repository];
nested: CreationException[Guice creation errors:\n\n1) Error injecting constructor, java.lang.NullPointerException\n  at org.wikimedia.elasticsearch.swift.repositories.SwiftRepository.()\n  at org.wikimedia.elasticsearch.swift.repositories.SwiftRepository\n  at Key[type=org.elasticsearch.repositories.Repository, annotation=[none]]\n\n1 error];
nested: NullPointerException; "
What's wrong with my configuration? I tried with these credentials with swiftclient and it's succesfully working, I can write into the container as well as read.
Thanks for your help!

I actually got it working by changing the query like this:
  "swift_url": "https://auth.cloud.ovh.net/v2.0/tokens",
  "swift_container": "name-of-my-container",
  "swift_username": "my-identity-username",
  "swift_password": "my-identity-password",
  "swift_tenantname": "digits-can-be-found-inside-horizon",
  "swift_authmethod": "KEYSTONE"

This is working :+1:


Bump docker/build-push-action to v5

What changed?
Upgrading action to v5 to support platforms setting.

Why?
This is follow up for https://github.com/uber/cadence/pull/5962.
Current action is reporting this warning: Warning: Unexpected input(s) 'platforms', valid inputs are ['entryPoint', 'args', 'username', 'password', 'registry', 'repository', 'tags', 'tag_with_ref', 'tag_with_sha', 'path', 'dockerfile', 'target', 'always_pull', 'build_args', 'cache_froms', 'labels', 'add_git_labels', 'push']

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 019015ce-3cf3-48fd-9167-b093d31005ba
Details

0 of 0   changed or added relevant lines in 0 files are covered.
47 unchanged lines in 8 files lost coverage.
Overall coverage decreased (-0.02%) to 71.433%

Files with Coverage Reduction
New Missed Lines
%

common/task/weighted_round_robin_task_scheduler.go
1
89.05%

service/frontend/api/handler.go
2
75.62%

service/history/task/transfer_active_task_executor.go
2
72.77%

service/history/task/task.go
3
84.81%

common/archiver/filestore/historyArchiver.go
4
80.95%

service/history/execution/cache.go
6
74.61%

service/history/task/transfer_standby_task_executor.go
9
85.92%

service/history/task/task_util.go
20
70.57%

Totals

Change from base Build 01901361-90ee-4e3d-a3a8-878ba8676db2:
-0.02%

Covered Lines:
106512

Relevant Lines:
149108

💛  - Coveralls


fs_snapshot enable test should also check for scheduled task presence

Hello,
Another small oversight I think :)
I deleted the scheduled task folder and ran test. It did not check for scheduled task presence.
Thanks for looking into this.
C:\Windows\system32>fs_snapshot enable test
Current user ([...]\admin) can create snapshots.

C:\Windows\system32>fs_snapshot enable for current-user
User [...]\admin already has SeBackupPrivilege

User [...]\admin already has SeBatchLogonRight

Creating scheduled task "\fs_snapshot\server start ([...]_admin)"

I think it may be working as expected. The fs_snapshot enable test does not test exactly if the task is created, but if the current console can create the snapshot. So, it first tries to create it directly, then it tries to use the task. If it is run as administrator than the first check should work and the task is not tested. Try to run it as a normal user and it should complain.

You are right :)
Thank you.


Adding values in job_status and job_agent table

Fixed #845

This my first time taking on one of those migration tasks... please review carefully.

This is probably better off in traffic_ops/app/db/seeds.sql.  Also, please use 'insert ignore into' instead of 'insert into'.

The dummy was to create an entry in the database so the Job can be created (mandatory). Although just noticed that id is forced to 1 in the code... What shall we do here?
Traffic Ops fatal error occurred while processing your request.


Execution fails if non-existing OU in manifest

I've found execution fails at the SCP stage, and never continues on to the Stack Set build, if it encounters an OU listed in the manifest.yaml that does not exist. This prevents a use-case we are interested in, where we are planning to build multiple new OU's so add them all to the manifest preemptively. Ideally the stack would continue on to the OU's that do exist at the time instead of failing completely. This would also apply to the Stack Set build pipeline; if it doesn't find the account, log an error but continue on with the accounts that do exist at the time.
`Error
ValueError
Cause
{
"errorMessage": "OU id is not found for NTI",
"errorType": "ValueError",
"stackTrace": [
"  File "/var/task/state_machine_router.py", line 204, in lambda_handler\n    return service_control_policy(event, function_name)\n",
"  File "/var/task/state_machine_router.py", line 69, in service_control_policy\n    response = scp.list_policies_for_ou()\n",
"  File "/var/task/state_machine_handler.py", line 940, in list_policies_for_ou\n    raise ValueError("OU id is not found for {}".format(ou_name))\n"
]
}`

@trevorlatson The creation of the OU is a prerequisite before adding it to the manifest. In version 2.0 we added the capability to add empty OUs in the manifest. In this case, it only creates the stack set and not stack instances.


Swiching language creates long URL

Result of switch between EN and NL:
https://teams.surfconext.nl/teams/?lang=EN&
https://teams.surfconext.nl/teams/?lang=EN&lang=NL&
https://teams.surfconext.nl/teams/?lang=EN&lang=NL&lang=EN&

This causes (some) automated scanners to get stuck in an endless loop.

Fixed on the develop branch and deployed on the the test environment. Candidate release for acceptance

Fixed in 909733dfda54069c18b520cd07200a381faf81c8


SuccessFactors JUnits-Part1

Commits have been squashed. Please merge the PR.
On Wed, Jul 27, 2022 at 7:51 AM Prashant Jaikumar @.***>
wrote:

@.**** approved this pull request.
please squash commits
—
Reply to this email directly, view it on GitHub
https://github.com/data-integrations/successfactors-plugins/pull/6#pullrequestreview-1051809848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVRP6CZX2VP6G7WAU76UM2TVWCMLRANCNFSM537LVB2A
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

--
DISCLAIMER:The entire content of this email message is confidential. This
also applies to any files attached to it. This email is intended for an
individual or entity to whom they are addressed. In case you are not the
addressee of this email, and you have received it in error, immediately
contact the system manager. The information in this email is very
sensitive, and it is intended for the specific addressee. This email should
not be disseminated, distributed or copied. If you have received this email
and it was not for you, make sure to immediately notify the sender by email
and afterwards delete this email from your system. Disclosing, copying,
distributing, or taking any action in reliance to the email content is
strictly prohibited. Consider yourself notified.


feat: new version

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


feature request: use different IDE version for buildPlugin and runIde tasks

I maintain a plugin that works with IJ Ultimate and Community, but I added an optional dependency (in META-INF/plugin.xml) to the Angular plugin, which is available in IJ Ultimate and other payed JetBrains IDE, not IJ Community.

if I set version to IJ Ultimate (e.g. IU-2018.3), I can run both buildPlugin and runIde tasks
if I set version to IJ Community (e.g. IC-2018.3), I can't run buildPlugin nor runIde because it cannot find Angular plugin (error: "Cannot find builtin plugin AngularJS for IDE:...").
I also tried to build and test with different IDE versions:gradlew buildPlugin -PideaVersion=IU-2019.3.3
gradlew runIde -PideaVersion=IC-2019.3.3

(where ideaVersion sets IDE version in build.gradle), but the runIde still fails with the same error.

Question: could you add options to let user choose different IDE versions for each task? This way I could build with IJ Ultimate, then test with IJ Community.
Otherwise, is there a workaround for this issue?

intellij.version is for building
for running you can use runIde with any IDE distribution (https://github.com/JetBrains/gradle-intellij-plugin#running-dsl), but you need to download it manually
for automatic downloading see #360


Java: automate getting version from the tag on CI

Right now for java release artifacts we use hard-coded version number.
That is allright but is prone to errors like #158.
To avoid this, we should have an automation that fetches version number from Git tag on CI, as we do for Go in src-d/ci.
This can be done using com.typesafe.sbt:sbt-git as in https://github.com/src-d/jgit-spark-connector/blob/master/build.sbt#L11

I would like to take this issue. Can you provide some more information like in which files I should make changes?

Closing as #165 was merged and https://github.com/src-d/enry/releases/tag/v1.6.7 released


Custom token isnt working on some sites

Bug description
I have set custom token that place tags in filename and for almost all sites it works, but anime-pictures and e621 seem to ignore it. I'm not counting in doujinshi sites or twitter.
Steps to reproduce

set whatever custom token like: test solo glasses female male
put test in filename
search for image that contain tag from token
try to save
see filename

Expected behavior
to work like on gelbooru or other sites
System information

OS: Windows 10
Grabber version: 7.3

Indeed, it would seem there were two separate issues for Anime-Pictures and E621.
I just pushed two fixes for those 👍


Reject copy-selection requests with future serials

See also commit message.
To test, try programs like termite (which makes multiple selection requests with the same serial value), or modify some simple client to make wl_data_device::set_selection requests with a serial number that is much larger than it should be.

Please rebase this and address merge conflicts

Now that #1742 is merged, this one can probably be closed.


zh-translation: docs/root/intro/arch_overview/operations/runtime.rst

ref: https://github.com/cloudnativeto/envoy/issues/70

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

/LGTM


TCP SYN 之后只返回RST

相同配置在本地两台虚拟机测试成功，在vps上失败了
抓包看到每个SYN包后面都是返回RST
RUST_LOG=debug 服务端无任何报错
客户端报
fake_tcp > Sent SYN to server
fake_tcp > Fake TCP connection to (Fake TCP connection from  xxx to xxx) closed
ERROR client   > Unable to connect to remote xxx
附上服务端抓包

麻烦作者看看

remember ,No Chinese

remember ,No Chinese

okay , i'm listening

Are you using L4 proxy in the middle? Remember only NAT is supported, TCP proxying between server and client is not supported.

I have exactly the same issue. And there is no proxy between my phantun server and phantun client.

These kind of SYN packet are not generated by Phantun, the TCP option list is different from what we use and is probably generated by the Kernel network stack.

@dndx Do you have any suggestions for me on how to debug/fix it?

Some middle box between the server and client must be inferencing (or trying to proxy), I would recommend to investigate first.

@dndx I just tested with udp2raw, and there is no issue with udp2raw. I guess there is something wrong with phantun.

Phantun works differently from udp2raw and requires different setup. If udp2raw already satisfies your needs, then by all means use it instead.

I have setup phantun properly because phantun used to work for me.
I just wonder does this means phantun is now detectable by ISPs?

@hronro Hard to tell the cause unless you could provide the pcap files for both server and client tun interface.

This issue may relate:  #104


Authentication failed and white screen after login

Is there an existing issue for this?

[X] I have searched the existing issues

Version of Corteza
2023.9.1
Current Behavior
Hi everyone,
I’m facing an issue where I get a white screen after logging into Corteza
I’m using the Dockerfile from the Corteza GitHub repository for version 2023.9.1 (corteza/Dockerfile at 2023.9.x · cortezaproject/corteza · GitHub)).
The same setup works perfectly on localhost. However, when I deploy it with the domain, I encounter a white screen after logging in. Sometimes, it also redirects back to the login page.
also try with docker-compose getting same issue when i deploy with domain
I'm deploying Corteza on a custom domain (https://corteza-staging.remedoapp.com/), but I'm unable to log in. Upon further debugging, I found that the /default-client API is being called over HTTP, which causes the browser to block the request as the domain is on HTTPS. Can you help me understand why this is happening and how to resolve it?
Domain: https://corteza-staging.remedoapp.com/
curl of API failing
curl 'http://corteza-staging.remedoapp.com/auth/oauth2/default-client'
-H 'Accept: application/json, text/plain, /'
-H 'Referer;'
-H 'Content-Type: application/x-www-form-urlencoded'
--data-raw 'code=YJGYOWEZZJATNZMXMY0ZNZI5LTLINZGTZTY4ZJE2NTNKMZLM&scope=profile+api&redirect_uri=https%3A%2F%2Fcorteza-staging.remedoapp.com%2Fauth%2Fcallback'
Expected Behavior
No response
Steps To Reproduce
No response
Environment and versions
Here are the environment variables I’ve configured:

VERSION → 2023.9.1
ENV STORAGE_PATH “/data”
ENV CORREDOR_ADDR “corredor:80”
ENV HTTP_ADDR “<IP_ADDRESS>:80”
ENV HTTP_WEBAPP_ENABLED “true”
ENV HTTP_WEBAPP_BASE_DIR “/corteza/webapp”
ENV PATH “/opt/dart-sass:/corteza/bin:${PATH}”
ENV DB_DSN “postgres://cortezxxxxa:Cortezaxxx@si-db-sxxtg.cozyzzzbi2ia9gb.ap-south-1.rds.amazonaws.com:5432/corteza?sslmode=disable”
ENV DOMAIN corteza-staging.remedoapp.com

Anything else?
https://forum.cortezaproject.org/t/white-screen-after-login/2302

It's happening because if you don't set HTTP_SSL_TERMINATED=true, Corteza assumes it should be served over HTTP.
Adding HTTP_SSL_TERMINATED=true to your environment is likely to resolve your issue.


transport-manager: Too many file descriptors crash

Issue
Litep2p crashes after 4/5 hours when tested with a high number of inbound / outbound connections (500 in Kusama).
2024-11-07 21:03:37.155 ERROR tokio-runtime-worker grandpa: GRANDPA voter error:
could not complete a round on disk:
Database error: IO error: While open a file for appending: ../dbs/2024-11-04_07-55-18-9e0cebad9f60d62c72c933340c8a3f9e3af63c76-litep2p/chains/ksmcc3/db/full/591987.log:

Too many open files

Investigation
This may happen because  both TCP and WebSocket transports are polling the listener socket which produces sockets (file descriptors) that await negotiation:
https://github.com/paritytech/litep2p/blob/af0535cff63733c68908ef866d1f6e2e2b701bbe/src/transport/tcp/mod.rs#L526-L530
The transport manager looks like its not consuming the events:
2024-11-07 20:13:39.554  INFO tokio-runtime-worker litep2p::websocket: pending_inbound_connections=0

2024-11-07 20:13:59.556  INFO tokio-runtime-worker litep2p::websocket: pending_inbound_connections=217

In the span of 20 seconds we received roughly 1653 pending inbound and handled 1436.

Possible Solutions

Don't poll the socket listener (TCP and WebSocket) if we get above a number of pending_inbound_connections configurable by TcpConfig and WebSocketConfig
Ensure TCP and WebSocket are robust wrt "too many open files" errors from the listener
investigate further polling of futures (transports / transport-manager): it looks offhand like we were able to sustain this pace in the past

The first graph highlights litep2p supporting many inbound connections when substrate is configured for 500/1k in peers.
The second graph shows a memory leak in our tracking of connections which is included in one of our latest releases.
This does not reproduce anymore. I suspect this was an artifact of having multiple polkadot workspaces opened with vscode and rustanalizer, while running 2 substrates nodes on the same machine.


version 1.4.2 breaks my app

So with version 1.4.1 my app behaves as expected.  With version 1.4.2 I see a problem.
I have the following code in my app:
render_modal = function(modal_template) {
    FlowLayout.render('layout', {
        modal: modal_template
    });
    Meteor.setTimeout(function() {
        Session.set('modal', true);
    });
}

elsewhere (in client/autorun.js) I have this:
toggleModal = function() {
    if (typeof Session.get('modal') !== 'undefined') {
        if (Session.get('modal')) {
            showModal();
        } else {
            hideModal();
        }
    } else {
        Session.set('modal', false);
        toggleModal();
    }
};
Tracker.autorun(toggleModal);

When the user takes certain actions my code will react by calling render_modal and passing the name of the template to render.  The expectation is that FlowLayout will change the template that is rendered in the "modal" section, but will not touch anything else.
Elsewhere in my app (in my flow-router section, actually) I have the following:
FlowLayout.render('layout', {
    left_nav: 'audit_nav',
    main: 'audit',
});

My expectation is that the left_nav and main sections should not be affected if I make the following call:
FlowLayout.render('layout', {
    modal: modal_template
});

With version 1.4.1 this expectation is met.  However, with version 1.4.2 when I make this call I find that left_nav and main sections become blank.
In case you are curious, my layout template is as follows:
<template name='layout'>

         {{> Template.dynamic template=left_nav}}

      {{> Template.dynamic template=main}}

          {{> Template.dynamic template=modal}}

</template>

Actually, you are using a bug of FlowLayout as a feature.
What you describe is a bug. If you not set the data, previous values should gets empty.
But, I've a better solution for your case.
Write a template helper for the above template to get the modal name. Then inside that helper, you FlowRouter apis like, .getQueryParam() or .getParam() to return the right template.

Thanks - I have adopted your improved solution.


Resurrect NewCaseForm

Shruti has begun a spec on a form for inputing a single case manually. This will be the beginning of that.

 Implement "add case" UI flow structure


Mbu/superposition

Superposition/Workbook_Superposition_Part2.ipynb is the relevant change:
Superposition Task12-Hardy State : added math explanation to Workbook

Hi,

I resolved the conflicts, and merged master into this branch. But unfortunately there are still other "changed files" due to the mess I had in my branches.
I think I will close this PR and do a new one, with the right files modified.

Regarding your content proposal.
Yes, the matrices and vectors are redundant somehow to the Dirac notation. I am not a mathematic guy nor a physic guy, I'm a software developer. For me the Dirac notation is not so easy to handle, still, though I'm using it now more often :)
This is one of the Katas from the beginning and I could imagine that other beginners have also problems to handle Dirac notations...
I needed exactly this matrice presentation to understand all the rotations and also the effect of a Zero-Controlled operation on the control qbit.

To pay respect to your proposals I'll try the following.
I will rework my description and try to do everything in Dirac notation, and have hints to expand that show the corresponding matrice operations. What is your opinion on that?
BR Markus

Hi Mariia,
I have another question regarding a different KATA and dont know how to handle that. As I had only contact with you so far, I write that comment here hoping you can reply on my point.
In the MagicSquareGame Kata, Task 2.1 "Create Entangled State" I guess there is an error:
I wanted to ask you if you agree, and how I shall handle that error correctly (shall I open an issue?)
Here are the details (I hope I dont bother you too much). Feel free to suggest me whom else to contact.
// Task 2.1. Entangled state
// Input: An array of 4 qubits in the |0000⟩ state.
// Goal:
//     Create the entangled state
//     |ψ⟩ = ((|+⟩₀ ⊗ |+⟩₂ + |-⟩₀ ⊗ |-⟩₂) / sqrt(2)) ⊗ ((|+⟩₁ ⊗ |+⟩₃ + |-⟩₁ ⊗ |-⟩₃) / sqrt(2)),
//     where |ψ⟩₀ and |ψ⟩₁ are Alice's qubits and |ψ⟩₂ and |ψ⟩₃ are Bob's qubits.
operation CreateEntangledState (qs : Qubit[]) : Unit {
    // Hint: Can you represent this state as a combination of Bell pairs?
    // ...
    fail "Task 2.1 not implemented yet";
}

Reference Implementation
// Task 2.1. Entangled state
operation CreateEntangledState_Reference (qs : Qubit[]) : Unit is Adj {
// The desired state is equivalent to two Bell pairs split between Alice and Bob.
for (i in 0..1) {
H(qs[i]);
CNOT(qs[i], qs[i + 2]);
}
}
The issue:
If I do 2 H gates and 2 CNOT gates on |0000> I get this as a result:
//     |ψ⟩ = ((|0⟩₀ ⊗ |0⟩₂ + |1⟩₀ ⊗ |1⟩₂) / sqrt(2)) ⊗ ((|0⟩₁ ⊗ |0⟩₃ + |1⟩₁ ⊗ |1⟩₃) / sqrt(2)),
which should be equivalent to (if I do the math correctly with Dirac notation)
//     |ψ⟩ = ((|+⟩₀ ⊗ |+⟩₂) / sqrt(2)) ⊗ ((|+⟩₁ ⊗ |+⟩₃) / sqrt(2)),
Would you agree?
If not, could you help me understanding the math?
Thank you
Markus

Looks like the two files that are left are the ones that we decided not to change, so they didn't show up as conflicts and are still in the PR. In principle you can fix that by undoing the changes, but closing this PR and opening a new one might end up being faster.
I like your idea of hidden matrix representation - it combines the best of the both approaches :-)
Give me a moment to write out the math for CreateEntangledState in a separate comment...

Let's look at just qubits 0 and 2 - they are not entangled with 1 and 3, so we can do the math for them and handle 1 and 3 in exactly the same way.
You're right that after H and CNOT they are in state (|0⟩₀ ⊗ |0⟩₂ + |1⟩₀ ⊗ |1⟩₂) / sqrt(2).
However, the state |+⟩₀ ⊗ |+⟩₂ differs from that state: if you replace each |+⟩ with (|0⟩ + |1⟩) / sqrt(2) and open the brackets, you'll get (|0⟩₀ ⊗ |0⟩₂ + |0⟩₀ ⊗ |1⟩₂ + |1⟩₀ ⊗ |0⟩₂ + |1⟩₀ ⊗ |1⟩₂) / 2, which differs from the state you prepared by the two middle terms |0⟩₀ ⊗ |1⟩₂ + |1⟩₀ ⊗ |0⟩₂ (and the sqrt(2) normalizing coefficient). To get rid of them, you need to add (|0⟩₀ ⊗ |0⟩₂ - |0⟩₀ ⊗ |1⟩₂ - |1⟩₀ ⊗ |0⟩₂ + |1⟩₀ ⊗ |1⟩₂) / 2, which is exactly |-⟩₀ ⊗ |-⟩₂.
Alternatively, you can express |0⟩ = (|+⟩ + |-⟩) / sqrt(2) and |1⟩ = (|+⟩ - |-⟩) / sqrt(2) and open the brackets in (|0⟩₀ ⊗ |0⟩₂ + |1⟩₀ ⊗ |1⟩₂) / sqrt(2) to see that it's exactly the state we need to prep.

@mbuchberger1967  I have finished editing Superposition workbook part 2 and merged it to master, so you should be unblocked for adding explanation for Hardy state prep task. The new version of the workbook conflicts with this PR again, so it's definitely better to open a new PR with that change off the latest master than to try and unentangle this one :-)


_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m  1s
master passed

+1 :green_heart:
compile
1m  8s
master passed

+1 :green_heart:
checkstyle
0m 31s
master passed

+1 :green_heart:
spotbugs
1m 18s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 41s
the patch passed

+1 :green_heart:
compile
1m 15s
the patch passed

+1 :green_heart:
javac
1m 15s
the patch passed

+1 :green_heart:
checkstyle
0m 35s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
24m 58s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1 3.3.0.

+1 :green_heart:
spotbugs
1m 28s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 13s
The patch does not generate ASF License warnings.

51m 48s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3391/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3391

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux 10b1f64c76df 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 555f8b461f

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
96 (vs. ulimit of 30000)

modules
C: hbase-client U: hbase-client

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3391/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Improve EVM test

This PR:

fixes the EVM test by executing the tx after setting it up
changes the EVM test to receive the program's bytecode via prover input instead of hardcoded
removes degree statements from std machines
changes the riscv compiler to auto detect the degree needed by the program

Actually had to comment out the test again otherwise the tests are gonna fail, because the compiler and witgen need too much RAM to run this test.


Use requestAnimationFrame for time updates in HTML5 vendor

The onTimeUpdate event from the browser is lagging. By using requestAnimationFrame (just like the Youtube player) the time updates are more frequent and smoother to render.
This pull request replaces the current event. For backwards compatibility, maybe an additional option or callback should be better? Another library (react-audio-player) uses the onListen event for a more frequent update.

@eborned sorry it's been forever on this. I'm finishing up a rewrite that should allow you to do this yourself. Thanks for your work on this, but for now I'd like to use the native event.
You should be able to do the same thing by using a reference to the player in the new build and then setting up an interval to check the current time.


[enhancement]: Inpainting node

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
It would be great if there existed a node for inpainting similar to the unified canvas. Also, I would like to do some  processing on the masks. E.g. dilating a version of the mask and apply the original to the base layer and a dilated version to the mask area.
I assume that a big part of the necessary code already exists for the unified canvas.
Thanks!
Alternatives
No response
Additional Content
No response

It may not be apparent, but everything (including the canvas) already runs on nodes!
Inpainting is done by creating a "Gradient Denoise Mask" and passing that into the Denoise Mask field. Then, you use the resulting mask to "Paste back" the new image on top of the base image.
Hope that helps! :)


Update test to prevent panic with missing value

The check_word_count function tries remove elements from the HashMap
which may not be there and then .unwraps() them directly causing a
panic if they are not there. This is changed to unwrap_or(0) to show
that no values were found to improve the failure message in this case.

Looks good. Thanks!


Convert Minutes to Seconds

Before jumping into Pr first comment for assign.All Problem from Edabit. Link is mandatory to add
Problem statement:: Write a function that takes an integer minutes and converts it to seconds.
Problem Link: https://edabit.com/challenge/FQyaaJx7orS7tiwz8

Before submitting a PR please Check some details.Check Edabit for problem task

[ ] fileName formet should be in camelcase
example- returnTheNextNumber.py
[ ]  Add label for Problem
[ ]  In file there should be problem statement and link to probelm
example -

'''
    Probem Task : This program will add two numbers
    Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
'''
*/
def main():
    return a + b

This repository is vaild for HacktoberFest2020
Read before making PR - How to contribute on Github
Good Luck,

I would like to work on this issue. Please assign this to me.

I can work on this, if open

Please assign this to me.

@pbisen Please assign this task to me.
Thanks!

@pbisen assign this task to me

Please assign. I can solve this problem

Please Assign me this. I would love to work on it :)

Question is already assigned and solved


[ENH] specify circuit name for transpiler output

new_circuit = transpile(circuit) will return a new circuit, but with the same name as the original circuit. It is convenient if an option existed for specifying the output circuit's name.
This would be handy for example when:
# experiment transpiling the same circuit to 5 different initial layouts
new_circuits = transpile(
    [circ]*5,
    backend=FakeMelbourne(),
    initial_layout=[[0,1,3], [1,5,6], [5,6,9], [7,4,1], [9,0,8]],
    output_names=['circ_0_1_3', 'circ_1_5_6', 'circ_5_6_9', 'circ_7_4_1', 'circ_9_0_8'])

Currently the output is a list of 5 circuits, all named the same.

Closed by #2789


Nothing happens on option relative or fixed

After open the tooltip and scrolling the page, the element always get fixed on my screen.
I had tried the attributes positions that the jBox allow me use, but nothing seems change.

id: `tt-${$scope.playlist}`,
attach: $(`#tt-${$scope.playlist}`),
content: $(`#ttc-${$scope.playlist}`),
width: 262,
height: 319,
trigger: 'click',
closeOnClick: 'body',
closeOnEsc: true,

Is your Tooltip attached to a fixed element?
If so, try the following options:
http://stephanwagner.me/jBox/options http://stephanwagner.me/jBox/options
fixed	boolean	Sets a fixed position rather than an absolute
reposition	boolean	Recalculates the position when the browser size changes
Cheers,
Stephan

On 11 May 2016, at 13:39, Pablo<EMAIL_ADDRESS>wrote:
After open the tooltip and scrolling the page, the element always get fixed on my screen.
I had tried the attributes positions that the jBox allow me use, but nothing seems change.
https://cloud.githubusercontent.com/assets/5365304/15195605/ea969758-179e-11e6-9f16-951c884d498e.PNG
https://cloud.githubusercontent.com/assets/5365304/15195618/f15cafc8-179e-11e6-9a9b-aac05ac3bac4.PNG
id: tt-${$scope.playlist},
attach: $(#tt-${$scope.playlist}),
content: $(#ttc-${$scope.playlist}),
width: 262,
height: 319,
trigger: 'click',
closeOnClick: 'body',
closeOnEsc: true,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub https://github.com/StephanWagner/jBox/issues/64

I've just did
fixed: true/false,
reposition: true/false,

... but it seems that nothing changes.

Could you make a fiddle which reproduces this behavior? https://jsfiddle.net/9nheaa8z/
Then I'll figure out a way to make it work.

I'm working on it, just give some time and I'll share the link.

Unfortunately I tried to reproduce the behavior, but it worked.
Well I guess that I will have to check piece by piece until fix that.
Anyway, thank you for your time.

Sorry, but know I was able to reproduce the problem.
Well I guess that because my content contains the scroll (not the body) that's why the jBox is fixed.

I see. Actually, I think I came across this problem before. I noted it on my TODO list. For now, what you can try is to manually trigger jBoxes .position() method in the scroll event. Check out this fiddle which might help you out how to manually position a jBox: http://jsfiddle.net/StephanWagner/ftofeo4e/3/

Thank you man!
I'm living here what I did. Just in case.
onOpen: function() {
	$('#md-scroll').scroll(function() {
		jjbox.position();
	});
	$scope.items = [
		{ name: 'One' },
		{ name: 'Four' }
	];
}

Where $('#md-scroll') is the div that has the tscroll-bar.
Thank you again.


Bond failed to build due to the Cmake error

I build Bond with VS2017 Update 5  on Windows Server 2016, but it failed with Cmake error. This issue is caused by master revision b8e40d8. Could you please help have a look about this issue? Thanks in advance!
Repro steps:

Open VS2017 x64 Native tools command tool
git clone --recursive https://github.com/Microsoft/bond.git D:\Bond\src
cd D:\Bond
mkdir build_x64 && pushd build_x64
cmake -G "Visual Studio 15 Win64 2017" -DCMAKE_SYSTEM_VERSION=10.0.15063.0 ..\src
msbuild bond.sln /p:Configuration=Release;Platform=x64 /t:Rebuild

Failures:
CustomBuild:
CMake Error at stack_build.cmake:30 (message):
build failed - scroll up for its output
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1. [D:\Bond\build_x64\compiler\gbc.vcxproj]

Can you verify that you are using Haskell Stack 1.5.1+?

Thanks for looking into this issue,@ara-ayvazyan. When I tried using  Haskell Stack 1.5.1 but it still hit this issue.

Can you include more of the error details? We'll need to know why stack is failing. If you cannot get these details from a CMake-based build, try the following:
pushd d:\bond\src\compiler
stack build
REM or use whatever path is needed to execute stack, if it isn't on %PATH%

Hi @chwarr, The whole log file please see attachment.
log_x64_build.log

Invalid option `--executable-stripping'

Can you verify which version of stack you are actually running ($ stack --version)?

It looks like --strip-executable was added in stack 1.4. It may be useful to look in the CMakeCache.txt to see where CMake has found stack.exe to ensure its using the 1.5.1+ version you expect.
If CMake has found an old version, you may need to delete and recreate the build tree to fix this, as some paths can be very sticky.

Hi @chwarr and @ara-ayvazyan, Thanks all for your help. Yeah, because Cmake has found an old version, I delete it and use the 1.5.1 version. After that, It works well.
Thank you very much!

Excellent. Glad we got this working.


Diff swallows black color in added areas

In a diff with two unequal images, added pixels in black are not distinguishable. They are swallowed by the otherwise black background, the result of the diff of same pixels.
Test case: http://jsfiddle.net/cburgmer/79pr2/4/

I had another case where the diff image's pixels are not distinguishable, the difference is there and correctly detected (a subtle one), but the resulting image is all black, probably the same issue.

I can confirm the issue. Here is the example:

As you can see the lines are off by few pixels, I was able to highlight the imagediff pixels in gimp with the pixel color selection in gimp.

I've fixed the problem with a options.lightness for imagediff.diff, I should post a pull request this week end.

Here are some screenshots illustrating the fix, all taken with Succss (CSS regression testing tool).

With the default value 25 it is now visible but still subtle.

The above uses options.lightness manually set to 100.

And with the maximum boost 255 everywhere, area of differences are now obvious.
I also factorised the rgb color diffing code and tested it for diffUnequal (with option.align set to 'top') as well:
.
Please review my pull request #51.


Pin kubernetes/go-client version

Pinned with: go get -u -u=patch k8s.io/client-go@07e69aceacd69bbe0ccc878cc5f040d79c9265cb. Thanks to @manno
Fixes #23

Superseded by #31


issue with user_alloc_destruct with allocator defined ?

Hi,
I'm using a custom allocator for lua and I still get from time to time a standard C delete called.
I have overridden those in order to catch issue like that.
It mostly work as I don't get any malloc or new.
Callstack below
The culprit seems to be
std::allocator_traits<std::allocator>::destroy(alloc, data);
in
user_alloc_destruct
Does this ring a bell ?
Thanks !
 Test.exe!common_assert_to_message_box<wchar_t>(const wchar_t * const expression, const wchar_t * const file_name, const unsigned int line_number, void * const return_address) Line 388  C++
    Test.exe!common_assert<wchar_t>(const wchar_t * const expression, const wchar_t * const file_name, const unsigned int line_number, void * const return_address) Line 424 C++
    Test.exe!_wassert(const wchar_t * expression, const wchar_t * file_name, unsigned int line_number) Line 444  C++
    Test.exe!operator delete(void * p) Line 678  C++
    [External Code]
    Test.exe!sol::usertype_metatable<dataflow::ControlOutPort<bool>,std::integer_sequence<unsigned __int64,0,1,2>,char const (&)[5],void (__cdecl dataflow::ControlOutPort<bool>::*)(bool),char const (&)[4],sol::constructor_list<sol::types<> > &,char const (&)[5],sol::destructor_wrapper<void> const &>::~usertype_metatable<dataflow::ControlOutPort<bool>,std::integer_sequence<unsigned __int64,0,1,2>,char const (&)[5],void (__cdecl dataflow::ControlOutPort<bool>::*)(bool),char const (&)[4],sol::constructor_list<sol::types<> > &,char const (&)[5],sol::destructor_wrapper<void> const &>() Line 18434   C++
    [External Code]
>   Test.exe!sol::detail::user_alloc_destruct<sol::usertype_metatable<dataflow::ControlOutPort<bool>,std::integer_sequence<unsigned __int64,0,1,2>,char const (&)[5],void (__cdecl dataflow::ControlOutPort<bool>::*)(bool),char const (&)[4],sol::constructor_list<sol::types<> > &,char const (&)[5],sol::destructor_wrapper<void> const &> >(lua_State * L) Line 7324 C++
    Test.exe!luaD_precall(lua_State * L, lua_TValue * func, int nresults) Line 434   C++
    Test.exe!luaD_call(lua_State * L, lua_TValue * func, int nResults) Line 498  C++
    Test.exe!luaD_callnoyield(lua_State * L, lua_TValue * func, int nResults) Line 510   C++
    Test.exe!dothecall(lua_State * L, void * ud) Line 803    C++
    Test.exe!luaD_rawrunprotected(lua_State * L, void(*)(lua_State *, void *) f, void * ud) Line 142 C++
    Test.exe!luaD_pcall(lua_State * L, void(*)(lua_State *, void *) func, void * u, __int64 old_top, __int64 ef) Line 729    C++
    Test.exe!GCTM(lua_State * L, int propagateerrors) Line 822   C++
    Test.exe!runafewfinalizers(lua_State * L) Line 848   C++
    Test.exe!singlestep(lua_State * L) Line 1086 C++
    Test.exe!luaC_step(lua_State * L) Line 1136  C++
    Test.exe!luaV_execute(lua_State * L) Line 874    C++
    Test.exe!luaD_call(lua_State * L, lua_TValue * func, int nResults) Line 500  C++
    Test.exe!luaD_callnoyield(lua_State * L, lua_TValue * func, int nResults) Line 510   C++
    Test.exe!lua_callk(lua_State * L, int nargs, int nresults, __int64 ctx, int(*)(lua_State *, int, __int64) k) Line 925    C++
    Test.exe!sol::basic_function<sol::basic_reference<0>,0>::luacall(__int64 argcount, __int64 resultcount) Line 14429   C++
    Test.exe!sol::basic_function<sol::basic_reference<0>,0>::invoke(sol::types<> __formal, std::integer_sequence<unsigned __int64> __formal, __int64 n) Line 14452   C++
    Test.exe!sol::basic_function<sol::basic_reference<0>,0>::call<,dataflow::MidiEvent const &>(const dataflow::MidiEvent & <args_0>) Line 14526 C++
    Test.exe!sol::basic_function<sol::basic_reference<0>,0>::operator()<dataflow::MidiEvent const &>(const dataflow::MidiEvent & <args_0>) Line 14512    C++

Looks like to be related to a usertype that has been registered and an associated free function attached to the lua state but that is never used in the script itself and hence is collected at some point.
It's registered like that:
 template<typename PortType>
      void register_output_port(sol::state& lua, const std::string &name)
      {
        lua.new_usertype<PortType>(name,
                                   "send", &PortType::send);
        lua[name] = [this](const std::string &name) -> PortType* {
          return addOutput<PortType>(name);
        };
      }

Is there some kind of optimization like that ?
Thanks !

So returning a T* means sol2/Lua won't garbage collect the PortType, so that's a leak. See: https://sol2.readthedocs.io/en/latest/tutorial/ownership.html
Asides from that, what you're doing is overwriting the usertype you just created. That means there's no more references to the usertype you just created.

Indeed :)
Thanks !

wait.
returning T* was intended as the ownership is done with addOutput. So Lua only need to keep a reference on it.
If I understand correctly your sentence "what you're doing is overwriting the usertype you just created"
This should do the trick ?
 template<typename PortType>
      void register_output_port(sol::state& lua, const std::string &name)
      {
        lua.new_usertype<PortType>(name + "Class",
                                   "send", &PortType::send);
        lua[name] = [this](const std::string &name) -> PortType* {
          return addOutput<PortType>(name);
        };
      }

but it doesn't so I am confused

For cleaner ownership stating, the code is now the following:
 template<typename PortType>
      void register_output_port(sol::state& lua, const std::string &name)
      {
        lua.new_usertype<PortType>(name + "Class",
                                   "send", &PortType::send);
        lua[name] = [this](const std::string &name) -> PortType& {
          return addOutput<PortType>(name);
        };
      }

lua[name] = {anything here} overwrites whatever name is the global table. new_usertype<...>( name, ... ) creates a usertype in the same spot in the global table.
You can't have 2 things with the same name in the same spot. So that's one separate issue.
Your initial issue report was "somewhere, operator delete() is being called". And that's correct: as I stated earlier, we have maps, vectors, and other things stored in the usertype_metatable that keeps track of all the methods you bind to a class name. It will likely have to call new/delete for you in places. It is absolutely unavoidable if you want the class syntax.

To be absolutely transparently clear: sol2's maps and vectors do not -- and cannot -- use the Lua Allocator to create such maps and vectors. It will use the default allocators for that. The cost should only appear once when you register the class, and once when either the state is torn down or when there's absolutely no references to the class out in any capacity whatsoever.

(not the one who wrote the original code)
I've restructured the code to be more sol compliant and  addOuput returns a shared_ptr.
But still have the same issue.
      template <typename PortType>
      void register_output_port(sol::state& lua, const std::string& name)
      {
        lua.new_usertype<PortType>(
            name,
            sol::call_constructor,
            [this](const std::string& name) { return addOutput<PortType>(name); },
            "send",
            &PortType::send);
      }

Still what I don't get is why at some point this usertype is discarded when it is not used at runtime.

....
There was a code registering the same type twice....
....
Sorry about that.

My only comment is you should probably revert to returning a T& or T* again, since you did state that addOutput internally manages its pointer, and std::shared_ptr -- while nice -- might be overhead you don't want.
Best of luck.

Right.
Thanks !


NR-56439- Logo of upcoming Snowflake quickstart

Summary
JIRA Ticket: https://issues.newrelic.com/browse/NR-56439
We are adding the Snowflake logo so that we can use that logo on the upcoming Snowflake dashboard.
A concise description of the changes being introduced. Please review the pre-merge checklist section to validate this pull request is ready for review and merge. If it is not ready, please mark the pull request as a draft.

Pre merge checklist

[ ] Did you check you NRQL syntax? - Does it work?
[ ] Did you include an InstallPlan and Documentation reference?
[ ] Are all documentation links publically accessible?
[ ] Did you check your descriptive content for voice and tone?
[ ] Did you check your descriptive content for spelling and grammar errors?

Dashboards

[ ] Does the PR contain a screenshot for each of your dashboards?
[ ] Do your screenshots show data?
[ ] Has the sanitization script been run on each dashboard?

Alerts

[ ] Did you check that your alerts actually work?

@pkudikyala - I'm not sure what value may be added with merging in a logo for an upcoming quickstart, when there is no current quickstart associated with it.
More importantly, this also would add some false positive errors when we perform our automated checks through PRs after we merge.
I would recommend adding the quickstart to this PR, along with this logo so they can both be merged in together and not break any of the system in place. Once the quickstart is merged in, we can follow up with the dashboards. Quickstarts and dashboards do not need to be submitted at the same time. However, the quickstart must be submitted with/before the dashboard.
Let me know if there is any more clarification needed for this :)

Hi @josephgregoryii, Raised another PR for the Snowflake with logo, alerts and installation button except dasboards.

@pkudikyala - I'm not sure what value may be added with merging in a logo for an upcoming quickstart, when there is no current quickstart associated with it.
More importantly, this also would add some false positive errors when we perform our automated checks through PRs after we merge.
I would recommend adding the quickstart to this PR, along with this logo so they can both be merged in together and not break any of the system in place. Once the quickstart is merged in, we can follow up with the dashboards. Quickstarts and dashboards do not need to be submitted at the same time. However, the quickstart must be submitted with/before the dashboard.
Let me know if there is any more clarification needed for this :)

Hi @josephgregoryii, Thank you for your suggestion. I have raised a PR related to Snowflake quickstart. Hence I am closing this PR.
Thank you


bugfix: update workflows and fix failing tests

This PR updates the workflow files to prevent them from deploying on PR. It also fixes the failing tests
Description
1. Combine the build and test workflows to ensure that the app builds the binary and runs the tests with the built binary
2. Revert the migrate field to false in the app-sample.env
Related Issue (Link to Github issue)

How Has This Been Tested?

Screenshots (if appropriate - Postman, etc):

Types of changes

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

Checklist:

[ ] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

it's all good for me


Research on initial CRM database

At the request of Praj we are looking at the first attempt to consolidate information about nominees and applicants.
The specific effort I'm working on is to look into automating outlined steps to process nominees and making contact with them through timestamps and email notifications and updates.

Shifting towards piloting of a smaller MVP. Next steps: Creating user stories (Praj/Devina to own this).


I Cannot generate remote IP's with the script -- Any Suggestions

I Cannot generate remote IP's with the script -- Any Suggestions

PR is welcome.


Update index.html

In this HTML structure, start by creating a clean navigation bar using the  tag with links to home, about, and contact sections. The main section will include a file upload form, using the  tag, and an  for users to upload images. Below this, add a brief paragraph explaining the encryption and decryption functionality of the project. Additionally, place a footer that contains social media links, a copyright note, and contact information for easy accessibility.

okey @yashmane108


<genomediff.records.Record at 0x**********>

The code seems to be reading in the file fine: metadata and mutations[0].parent_ids  output correctly. However, the output for
document.mutations[0]
is
<genomediff.records.Record at 0x1fe87dfa550>
Am I missing something trivial?
Slightly related: can I get the Records data as a table?

Is this a coding question or a question about using a gdtools command?
If you are printing from the C++ code and want it to output the contents of the entry versus the address of the pointer, use this syntax:
cout << document.mutations[0].as_string() << endl;

In a terminal, wou can output the contents of a GD file as a table using a gdtools ANNOTATE command like this:
gdtools ANNOTATE -f CSV -r reference.gb -o output.csv input.csv

Let me know if this doesn't address your goal!


what about PIM

please provide information about how the name change affects priviliged identity management
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 4c1e4aed-6ad2-33fa-52a6-a2ce8412bea1
Version Independent ID: 5a20dd96-2fb0-5178-454b-ffa08619fae5
Content: New name for Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/fundamentals/new-name.md
Service: active-directory
Sub-service: fundamentals
GitHub Login: @CelesteDG
Microsoft Alias: celested

@DeanGross
Thanks for your feedback! We will investigate and update as appropriate.

@DeanGross
Thanks for raising your concern.
Currently there is no update regarding "how the name change affects priviliged identity management" in the official document. It might be possible that " if the user is assigned to a role in PIM, the name change will be reflected in the PIM portal."
Renaming will be done in phases so more information will be provided regarding the same in upcoming months.
@CelesteDG  Kindly take a look at this and correct me if I am wrong.

to clarify, what is the new name of the PIM service? it is not mentioned in the article

sorry, if i was not clear, will PIM still be Azure AD PIM, or will it become Entra PIM, or something else? please include this in the documentation to eliminate any ambiguity

@DeanGross
Thanks for your feedback! We have assigned the issue to content author who will provide further updates.

Hello @DeanGross - Thank you for your question and my sincerest apologies for just now replying (I wasn’t getting the notifications about new issues). A thorough update to the article was published today. To your question, PIM is now Microsoft Entra Privileged Identity Management. With the exception of the Azure AD product name itself, which is now Microsoft Entra ID, all other features/capabilities/objects that were previously named Azure AD <feature/capability> are now Microsoft Entra <feature/capability>. Thank you.

Replied to customer question and updates to the article published today also provides more info.
#please-close


Add LSUN Dataset support

Downloads LSUN dataset using aria2c and uses the LSUN dataset class in torchvision

Currently works for LSUN scenes but downloading and LSUN objects aren't supported


Fix usage of deprecated sysconfig variable with mingw

This fixes the following error with mingw python 3.11.

nuitka/PythonFlavors.py", line 144, in isMSYS2MingwPython
    return "-mingw_" in sysconfig.get_config_var("SO")
TypeError: argument of type 'NoneType' is not iterable

SO config variable in sysconfig was removed in python 3.11. It was
deprecated in Python 3.4 and was suggested for removal in Python 3.5.
See this cpython commit
https://github.com/python/cpython/commit/0860b26a4f7abeb61aad9f4b96de8e78eed8c12a

Going to merge that for factory and do add it for the 1.7.7 hotfix, that I intend to do shortly. I will most likely also make it check the python version for what variable to check, because I don't want to break old setups and am not inclined to really test that now.


EKEventEditViewController cells are tiny whenever the 'Layout' pod is included in my project

See the attached Xcode project for a repro, which consists of a plain view controller which presents an EKEventEditViewController modally.
Here's what it looks without the Layout pod (simply comment out the pod Layout line in the podfile, or run the project before doing pod install):

Here's what it looks like with the Layout pod installed. Note that I am not importing nor using Layout in this project, I am just including the framework.

@bourquep fixed in Layout 0.6.31. Thanks for reporting it!


Fixed Ports, added Values Controller to api (auth test), enhanced console sample, added multi-project startup

Yes, I have signed the CLA.
Fixed issues with incorrect ports in the code, added a values controller to the api to see the difference between authenticated and unauthenticated, improved the console sample to show the difference between tokened connection and untokened connection. Also setup multi-project start with the correct order for the pieces to work together.

Hi @DataWingSoftware, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;

@DataWingSoftware, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

thanks!


posix: implement readdir_r & stubs

@cfriedt  going through all of those PRs individually is not going to be optimal. Please create an issue or point to an existing one with the reasoning for this and justification for accepting this and other PRs into LTS and why this was not done before the feature freeze. We can then review one single issue and decide on it instead of going through the details of all PRs.


feat: Add metadataKey and metadataValues query params

@aacgn Hey! I'm currently fiddling around with this uikit and I've noticed that some query params aren't set properly for the GroupChannelList component as well. Maybe that should be included in this PR too?
This feels like a strange way of reporting a bug, but since the issues tab is disabled for this repo I'm doing it here 😄


Display Conflicts With Popular Tool Animate.css

Animate.css is a popular tool for animations, found here: http://daneden.github.io/animate.css/
Pickadate shows within a scrollable box when I include this file for some reason. I'm also using Foundation, if that helps at all.

This is how you can get around it. For me, the parent container had the .animated class, removing and adding the class back when the calendar appears and disappears worked for me.
  $(function(){
    $("#document_due_date_date").pickadate({
      onStart: function() {
        $("fieldset#due_date").removeClass('animated');
      },
      onSet: function() {
        $("fieldset#due_date").addClass('animated');
      }
    });
  });


Remove gif usage, modernize

Questions
Answers

Description?
Unifies the look of module to the same as statsbestsuppliers and removes the logo.gif usage in the html. It was the last module to look this way.

Type?
refacto

BC breaks?
no

Deprecations?
no

Fixed ticket?

How to test?
Check that if you go to Stats > Best brands, it looks the same as Best suppliers. Or just check the screens below and trust me. :-)

This module

Suppliers

Export works fine

Ping @PrestaShop/qa-team - do you want to do a QA on this or it's enough like this?

@Hlavtox
Yes, we'll do QA on it ^^


fix: upgrade to Edge Runtime 1.6.6

What kind of change does this PR introduce?
This PR upgrades Edge Runtime to version 1.6.6
Notable changes:

CPU time restriction is enforced locally, so users can simulate them locally and tweak their functions (currently set to 500ms for a function with wall clock time of 5mins)
All function invocations will show the CPU time it used.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 61.301%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
7
7.94%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
4657

Relevant Lines:
7597

💛  - Coveralls

Ok to merge this after the stable release today?


ffmpeg: some more improvements

Description of changes

set pkgconfig modules depending on library
enable opengl and rtmp
add a comment about tensorflow being disabled
~point changelog to the src.rev~ tested this wrongly
make implicit dependency on nvcodec explicit
give cuvid its own option
~clean up the darwin libraries~ moving this into separated pr

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Moved the darwin stuff out of this pr will create a separated pr for that

Did you test the newly enabled features?

Some basic testing

opengpl

The crossover I never knew I wanted :p

:p


Feature request: folder operations in object storage interface

Is your feature request related to a problem? Please describe.
In both the posix-compatible file system and Amazon AWS S3 support folder operations.
The object storage interface of ChubaoFS is designed for S3 compatible and should also have ability for folder operation.
ChubaoFS is a distributed storage that provides both a posix-compatible file system interface and an s3-compatible object storage interface. The folder operation under both interfaces can make the file system and object storage more closely integrated on ChubaoFS.
Following folder operations need be supported:

Folder creation.
Folder deletion.

Describe the solution you'd like
Supports folder operations in the same way as Amazon AWS S3.

Create folder when content length is 0 on PutObject interface.
Delete folder and files under it through DeleteObject interface.
Differentiate folders and files on the ListObject interface through the CommonPrefix property (already supported).

Reference:

Creating a Folder - Amazon Simple Storage Service
How Do I Delete Folder from S3 Bucket - Amazon Simple Storage Service
AWS Developer Forums: create folder with Java

Describe alternatives you've considered
NONE.
Additional context
NONE.

Jingdong Group's big data department is trying to use ChubaoFS as the RSS storage backend for their Spark cluster by using both a posix compatible file system interface and an s3 compatible object storage interface.
It was found in the test that Spark has a directory operation behavior. Currently ChubaoFS's object storage interface is not compatible with directory operations (creation and deletion).
The priority of this feature has been adjusted to high, and development work has been assigned to @mervinkid .


Container build fails (jammy): switch to focal?

Trying to build the kpa container, I get deb signing key errors for the base image:
docker build .
Sending build context to Docker daemon  9.453MB
Step 1/18 : FROM docker.io/ubuntu:22.04
22.04: Pulling from library/ubuntu
Digest: sha256:dfd64a3b4296d8c9b62aa3309984f8620b98d87e47492599ee20739e8eb54fbf
Status: Downloaded newer image for ubuntu:22.04
 ---> 3b418d7b466a
Step 2/18 : WORKDIR /kpa
 ---> Running in 025f27556ecd
Removing intermediate container 025f27556ecd
 ---> e52e87f3244a
Step 3/18 : RUN apt update
 ---> Running in 0d7cf5ffa18d

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Err:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Err:2 http://archive.ubuntu.com/ubuntu jammy InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB]
Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
Reading package lists...
W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: http://security.ubuntu.com/ubuntu jammy-security InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://security.ubuntu.com/ubuntu jammy-security InRelease' is not signed.
W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: http://archive.ubuntu.com/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://archive.ubuntu.com/ubuntu jammy InRelease' is not signed.
W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: http://archive.ubuntu.com/ubuntu jammy-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://archive.ubuntu.com/ubuntu jammy-updates InRelease' is not signed.
W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: GPG error: http://archive.ubuntu.com/ubuntu jammy-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C
E: The repository 'http://archive.ubuntu.com/ubuntu jammy-backports InRelease' is not signed.
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code
The command '/bin/sh -c apt update' returned a non-zero code: 100

I experienced this with the ubuntu:jammy image in another context, I propose a switch to focal.

I don't see this as a great idea. Jammy is LTS and I would not swith to a previous version.
The problem you are mentioning is not reproducible on my side locally and neither on quay, see https://quay.io/repository/mmul/kpa/build/a7e5dd4b-209d-442c-af84-862d8894fb1a for example.

This issue was not reproducible, so let's close the issue and focus on the other ones.


fix(package): update redux-saga to version 0.15.1

Closes #153
https://greenkeeper.io/

ok to test


Project graph distinctions

I'm noticing three types:
1. Value - timeline is indefinite, drives all projects and actions

GTD has Horizons 2, 4 & 5 for this (Horizon 3, Goals, are just projects with a longer timeline i.e. several years):

Horizon 2: Areas of focus and Accountabilities
Horizon 4: Vision
Horizon 5: Purpose and principles

Seems to map to Tiago Forte's "Area of Responsibility... "a sphere of activity with a standard to be maintained over time" [1], which he distinguishes from Resources i.e. "things you're merely interested in... themes and assets", which fits nicely with GTD's Reference File. A side benefit of Resources being general information is that he can freely share without redacting [2]. Interestingly, he has an additional distinction of Archives for "inactive items from the other three categories... [e.g.] projects that have been completed or become inactive; areas that you are no longer committed to maintaining; resources that you are no longer interested in" [1]. This is interesting and is a hedge between cluttering the system and throwing something away you realize you need later.

2. Project w clear inherent value
Something like "sales meeting". There is going to be a sales meeting, so we better be prepared.
3. Component
Something like "prepare presentation" (for sales meeting). Has no meaning outside of its context
1.https://fortelabs.co/blog/para/
2. https://fortelabs.co/blog/p-a-r-a-ii-operations-manual/

This is one way Roam Research brings in additional context to links:


add metadata-migration for new version 2.6.3

There is a new MWAA version 2.6.3 available as [announced on Aug 10th, see also [MWAA versions]
It would be helpful to have adapted migration DAGs, updated with the newer version of airflow 2.6.3.

@skpune MWAA now supports in-place upgrade. Please check out the blog here for more details.

+1 to this, for some of us, migrating in place is not an option since we need to test the dags on a newer version, and the airflow mwaa has the version as part of the name (and that is immutable).

The metadata migration scripts are handled through the mwaa-dr project going forward.


[PE-D] Suggestion - commands are too long

It was rather inconvenient to have to type both commands like add recipe and add ingredients. Perhaps would be better to have shorter commands.

Labels: type.FeatureFlaw severity.Low
original: driip-ddrop/ped#7

Thank you for the feedback! Unfortunately, we are not allowed to add any more features. If there are any more iterations, we can do this for sure!


fix: ignore triggers from the past when voting

Issue being fixed or feature implemented
we should not vote on triggers from the past
What was done?
How Has This Been Tested?
n/a
Breaking Changes
n/a
Checklist:

[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation
[x] I have assigned this pull request to a milestone (for repository code-owners and collaborators only)

there any ideas on how we can create a test for this?

Functional tests have a feature "check a string in logs". So, we can make some triggers to expire; after that assert that logs doesn't have this substring: CGovernanceManager::%s Voting NO-FUNDING - it appears in logs only if trigger is not expired with current implementation.
This feature assert_debug_log is used here and here for example

p.s. assert_debug_log can works in 2 modes: expected logs and unexpected logs; both arguments are arrays.
Here's a signature:
    def assert_debug_log(self, expected_msgs, unexpected_msgs=None, timeout=2):

there any ideas on how we can create a test for this?

Functional tests have a feature "check a string in logs". So, we can make some triggers to expire; after that assert that logs doesn't have this substring: CGovernanceManager::%s Voting NO-FUNDING - it appears in logs only if trigger is not expired with current implementation.
This feature assert_debug_log is used here and here for example

Good idea! 👍


MSC1802: Remove the '200' value from some federation responses

Rendered
Resolves #1418

ftr this propsal is ready for review (I hadn't added the in-review label for it as I'd expect someone from the specs core team to do it)

#2102 plans to make a change so that federation endpoints expect canonical JSON rather than JSON be sent along the wire, in the interest of keeping things light for the recipient. I don't want to bring the bikeshed to this proposal, but if we are going to add a new endpoint version then it might be worth merging that rule with this proposal.

Thanks for the heads up @Half-Shot, I'll keep an eye on #2102 to see how it evolves (because it's not clear right now if it's going to end up in the spec).

Myself and @anoadragon453 came across the delight of /send* endpoints again today /s. Can we get a few more eyes on this?

Yes please.
@mscbot fcp merge

I am assuming my past self isn't an idiot, so:
@mscbot reviewed

It appears that synapse doesn't return [200, {...}] for /send, so I think that may be more a spec bug.

yup let's drop /send here and fix it in the spec instead.
Also: can we change the title, which makes the MSC sound much scarier than it is. Just "drop spurious '200' value from federation responses"?
Otherwise lgtm and:
@mscbot reviewed

Have filed https://github.com/matrix-org/matrix-doc/issues/2236

It appears that synapse doesn't return [200, {...}] for /send, so I think that may be more a spec bug.

@erikjohnston are we sure that other servers (e.g. Construct) don't implement this? If so, I think it mandates a v2 endpoint, otherwise I'm fine with treating it as a spec bug. The latter is more likely (since they possibly wouldn't be able to federate with Synapse in this case?), but we should make sure of that.

It appears that synapse doesn't return [200, {...}] for /send, so I think that may be more a spec bug.

@erikjohnston are we sure that other servers (e.g. Construct) don't implement this? If so, I think it mandates a v2 endpoint, otherwise I'm fine with treating it as a spec bug. The latter is more likely (since they possibly wouldn't be able to federate with Synapse in this case?), but we should make sure of that.

I very much doubt there would be servers in production that implemented federation without testing it against synapse, so I think it should be classified as a spec bug.

Looking at Construct's code (which I think is the only HS implementation that I've seen used in rooms apart from Synapse), I can't see the [200, {...}] being used anywhere near /send so sgtm.

This was implemented by synapse in https://github.com/matrix-org/synapse/pull/6349, so I think this is just pending a spec PR?

Spec PR: https://github.com/matrix-org/matrix-doc/pull/2547

Merged 🎉